query
stringlengths 7
33.1k
| document
stringlengths 7
335k
| metadata
dict | negatives
listlengths 3
101
| negative_scores
listlengths 3
101
| document_score
stringlengths 3
10
| document_rank
stringclasses 102
values |
---|---|---|---|---|---|---|
Created by lewis on 5/5/2016.
|
public interface SliderDao {
void addSlider(Slider slider);
void editSlider(Slider slider);
List<Slider> getAllSlider();
Slider getSliderById(int sliderId);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public void gored() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"private void poetries() {\n\n\t}",
"public void mo38117a() {\n }",
"@Override\n protected void initialize() {\n\n \n }",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"private void m50366E() {\n }",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"public void mo4359a() {\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n public void init() {\n }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n protected void getExras() {\n }",
"private static void cajas() {\n\t\t\n\t}",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n void init() {\n }",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n public void init() {}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n public void init() {\n\n }",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"private void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void init() {\n }",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"@Override\r\n\tpublic void init() {}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\n public void initialize() { \n }",
"@Override\n public int describeContents() { return 0; }",
"private void kk12() {\n\n\t}",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tpublic void init() {\n\t}",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"public void mo6081a() {\n }",
"@Override\n\tpublic void init()\n\t{\n\n\t}",
"@Override\n\tprotected void initialize() {\n\t}",
"@Override\n\tprotected void initialize() {\n\t}",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n public void initialize() {\n \n }",
"Constructor() {\r\n\t\t \r\n\t }"
] |
[
"0.62733036",
"0.60557616",
"0.60174507",
"0.5992758",
"0.5932493",
"0.5912796",
"0.5912796",
"0.5888389",
"0.5844914",
"0.5799106",
"0.57971424",
"0.57779825",
"0.57775533",
"0.57748586",
"0.5767646",
"0.5760456",
"0.57349",
"0.5702062",
"0.56891805",
"0.56772155",
"0.5667453",
"0.56627285",
"0.564872",
"0.56402475",
"0.5633367",
"0.5633367",
"0.5633367",
"0.5633367",
"0.5633367",
"0.56182766",
"0.561196",
"0.5604812",
"0.5601188",
"0.5601188",
"0.55967546",
"0.55967546",
"0.55967546",
"0.55967546",
"0.55967546",
"0.55967546",
"0.55911297",
"0.55911297",
"0.5589574",
"0.55895466",
"0.55861557",
"0.558342",
"0.55741525",
"0.5570692",
"0.5556731",
"0.55557054",
"0.5552293",
"0.5549614",
"0.5537235",
"0.55302465",
"0.551668",
"0.55148923",
"0.5501256",
"0.5499624",
"0.54992753",
"0.54992753",
"0.54966164",
"0.549476",
"0.5492943",
"0.5492943",
"0.5492943",
"0.54884005",
"0.5483981",
"0.5474448",
"0.5474448",
"0.5474448",
"0.547378",
"0.54659307",
"0.54620445",
"0.54620445",
"0.54620445",
"0.5460193",
"0.5460193",
"0.5460193",
"0.5460193",
"0.5460193",
"0.5460193",
"0.5460193",
"0.54571307",
"0.5454965",
"0.54548407",
"0.54412454",
"0.5436409",
"0.54289395",
"0.5421599",
"0.54215294",
"0.5420641",
"0.54200244",
"0.5408221",
"0.539641",
"0.539641",
"0.5396275",
"0.5394254",
"0.53878707",
"0.5384297",
"0.5361152",
"0.5357811"
] |
0.0
|
-1
|
this is not sent in the RegistrySendsNodeManifest
|
public NodeInfo() {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private NodeRestartRequest() {\n\t\t}",
"@Override\n\tpublic String getNodeName() {\n\t\treturn null;\n\t}",
"@Override\r\n\t\tpublic String getNodeName()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}",
"abstract protected boolean shouldRegister(NodeDescriptor node) throws NodeException;",
"@Override\n public boolean isMissingNode() { return false; }",
"public void userNodeCommand(String[] command)\n\t{\n\t\t\n\t\tif(command[0].equals(\"print-shortest-path\"))\n\t\t{\n\t\t\tlinkWeights.sort(sortByWeight()); // have the linkWeights get sorted by their weights.\n\t\t\tCollections.reverse(linkWeights); // simply reverse this list since the list was being sorted in terms of smallest to highest.\n\t\t\t\n\t\t\t// loop through the link weights and print them according to size.\n\t\t\tfor(int i = 0; i < linkWeights.size(); i++)\n\t\t\t{\n\t\t\t\tSystem.out.print(linkWeights.get(i).getSecond().getFirst() + \":\" + linkWeights.get(i).getSecond().getSecond()\n\t\t\t\t\t\t+ \"--\" + linkWeights.get(i).getThird() + \"--\"); // print this to console to get the list of the linkWeights in order by the nodes.\n\t\t\t}\n\t\t\t\n\t\t}\n\t\telse if(command[0].equals(\"exit-overlay\"))\n\t\t{\n\t\t\ttry \n\t\t\t{\n\t\t\t\tTCPSender deregisterMe = new TCPSender(registrySocket);\n\t\t\t\tNodeDeregistrationRequestMessage ndrm = new NodeDeregistrationRequestMessage();\n\t\t\t\tbyte[] msgToSend = ndrm.getDeregistrationBytes(portNum, registrySocket);\n\t\t\t\tderegisterMe.sendData(msgToSend); // send this command to the registry to begin the deregistration process.\n\t\t\t} \n\t\t\tcatch (IOException e) {\n\t\t\t\tSystem.err.println(\"Messaging node caught exception while trying to deregister: \" + e.getMessage());\n\t\t\t}\n\t\t}\n\t}",
"@Override\r\n public void nodeActivity() {\n }",
"public void readRegisterRequest() {\n\t\tMessagingNodesList mNodeList = node.getCurrentMessagingNodesList();\n\t\tiStream = new ByteArrayInputStream(marshalledBytes);\t\n\t\tdin = new DataInputStream(new BufferedInputStream(iStream));\n\t\ttry {\n\t\t\t//Reading IP Address\n\t\t\tint ipAddressLength = din.readInt();\n\t\t\tbyte[] ipAddrBytes = new byte[ipAddressLength];\n\t\t\tdin.readFully(ipAddrBytes);\n\t\t\tString ipAddress = new String(ipAddrBytes);\n\t\t\tint portNumber = din.readInt();\n\t\t\tdin.readLong();\n\t\t\tiStream.close(); din.close();\n\t\t\t\n\t\t\tString additionalInfo=\"\", statusCode=\"FAILURE\";\n\t\t\tif(!ipAddress.contentEquals( originSocket.getInetAddress().getHostName())) {\n\t\t\t\tadditionalInfo =\"Registration request failed. The registration request has an IP which does not match the IP of the machine it came from.\";\n\t\t\t}\n\t\t\tif(mNodeList==null) {\t//handles null list issue if list has not been created yet\n\t\t\t\tMessagingNodesList mnl = new MessagingNodesList();\n\t\t\t\tmnl.addNode(ipAddress, portNumber,originSocket);\n\t\t\t\tadditionalInfo =\"Registration request successful. The number of messaging nodes currently constituting the overlay is (\" + mnl.getSize() +\").\";\n\t\t\t\tstatusCode = \"SUCCESS\";\n\t\t\t\tnode.setMessagingNodesList(mnl);\n\t\t\t}\n\t\t\telse if (mNodeList.searchFor(ipAddress,portNumber)){\t\t//Checks if the node was already registered\n\t\t\t\tadditionalInfo =\"Registration request failed for \"+ipAddress+\". The node being added was already registered in the registry.\";\n\t\t\t}\n\t\t\telse { // Else add the Node \n\t\t\t\tmNodeList.addNode(ipAddress, portNumber,originSocket);\n\t\t\t\tadditionalInfo =\"Registration request successful. The number of messaging nodes currently constituting the overlay is (\" + mNodeList.getSize() +\").\";\n\t\t\t\tstatusCode = \"SUCCESS\";\n\t\t\t}\n\t\t\tif(statusCode.contentEquals(\"FAILURE\")) System.out.println(additionalInfo);\n\n\t\t\tnode.decreaseNeededConnects();\n\t\t\tif(node.getNumberNeededPeers() == 0) {\n\t\t\t\tSystem.out.println(\"All connections are established. Number of connections: \"+(node.getCurrentMessagingNodesList().getSize()));\n\t\t\t}\n\t\t\t//Now sending a RegisterResponse\n\t\t\tMessage response = new RegisterResponse(statusCode, additionalInfo);\n\t\t\tSocket senderSocket = new Socket(ipAddress, portNumber);\n\t\t\tnode.getConnections().addConnection(ipAddress, senderSocket);\n\t\t\tnew TCPSender(senderSocket, response);\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Failed to read message. \"); \n\t\t}\n\t}",
"private void registToWX() {\n }",
"@Override\r\n\tpublic byte getType() {\n\t\treturn Protocol.OVERLAY_NODE_SENDS_DEREGISTRATION;\r\n\t}",
"public void reDistributeMyKeys() {\n toDistribute = readNodeEntries();\n }",
"public boolean registerNode(Node node, String remoteHost, String remoteAddress, OutputStream out, boolean isRequestedRegistration) throws IOException;",
"private void AddMetaRegistrationInformation(Registration reg) {\n }",
"public boolean registerNode(Node node, OutputStream out, boolean isRequestedRegistration) throws IOException;",
"private void deRegister() {\n\t\ttry {\n\t\t\tOverlayNodeSendsDeregistration deregister = new OverlayNodeSendsDeregistration(\n\t\t\t\t\tmyIPAddress, myServerThreadPortNum, this.myAssignedID);\n\t\t\tthis.registry.getSender().sendData(deregister.getBytes());\n\t\t} catch (UnknownHostException e1) {\n\t\t\tSystem.out.println(e1.getMessage()\n\t\t\t\t\t+ \" Trouble sending DEregistration event.\");\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e.getMessage()\n\t\t\t\t\t+ \" Trouble sending DEregistration event.\");\n\t\t}\n\t}",
"private void register() {\n\t\tInetAddress iNA;\n\t\ttry {\n\t\t\tiNA = InetAddress.getLocalHost();\n\t\t\tmyIPAddress = iNA.getAddress();\n\t\t\tOverlayNodeSendsRegistration register = new OverlayNodeSendsRegistration(\n\t\t\t\t\tmyIPAddress, myServerThreadPortNum);\n\t\t\tthis.registry.getSender().sendData(register.getBytes());\n\t\t} catch (UnknownHostException e1) {\n\t\t\tSystem.out.println(e1.getMessage()\n\t\t\t\t\t+ \" Trouble sending registration event.\");\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e.getMessage()\n\t\t\t\t\t+ \" Trouble sending registration event.\");\n\t\t}\n\t}",
"public static int offsetBits_senderNodeID() {\n return 8;\n }",
"@Override\n\tpublic void setNodeName(String name) {\n\n\t}",
"default String getLocalNodeName() {\n return \"local\";\n }",
"@Override\npublic NodeConfig<NodeIDType> getNodeConfig() {\n\treturn null;\n}",
"public void readMessagingNodesList() {\n\t\tiStream = new ByteArrayInputStream(marshalledBytes);\t\n\t\tdin = new DataInputStream(new BufferedInputStream(iStream));\n\t\ttry {\n\t\t\tint totalCr = din.readInt();\n\t\t\tint nNeededConnections = din.readInt();\n\t\t\tint listByteLength = din.readInt();\n\t\t\tbyte[] listBytes = new byte[listByteLength];\n\t\t\tdin.readFully(listBytes);\n\n\t\t\tMessagingNodesList newList = new MessagingNodesList();\n\t\t\t//Unmarshall object of Messaging Nodes in list\n\t\t\tByteArrayInputStream bis = new ByteArrayInputStream(listBytes);\n\t\t\tDataInputStream dis = new DataInputStream(bis);\n\n\t\t\tint nLength, nLPort; byte[] nodeLinkBytes; String nIP;\n\t\t\tfor (int i=0; i< nNeededConnections; i++ ) {\n\t\t\t\tnLength = dis.readInt();\n\t\t\t\tnodeLinkBytes = new byte[nLength];\n\t\t\t\tdis.readFully(nodeLinkBytes);\n\t\t\t\tnIP= new String(nodeLinkBytes);\n\t\t\t\tnLPort = dis.readInt();\n\t\t\t\tnewList.addNode(nIP, nLPort);\n\t\t\t}\n\t\t\tiStream.close(); din.close();\n\t\t\t\n\t\t\tnode.setMessagingNodesList(newList,totalCr);\n\t\t\tnode.setPeerNumber(totalCr+node.getNumberNeededPeers());\n\t\t\tif(node.getNumberNeededPeers() ==0 ) System.out.println(\"All connections are established. Number of connections: \"+(node.getCurrentMessagingNodesList().getSize()));\n\n\t\t\t// Creating a registration message for each node in the messagingNodesList\n\t\t\tfor(int i=0; i<node.getFutureMessagingNodesList().getSize(); i++) {\n\t\t\t\tMessage message = new RegisterMessage(node.ipAddr, node.portNum);\n\t\t\t\tString friendIP = node.getFutureMessagingNodesList().getNodeAtIndex(i).ipAddress;\n\t\t\t\tint friendPort = node.getFutureMessagingNodesList().getNodeAtIndex(i).port;\n\n\t\t\t\t// Creating a socket that connects directly to the registry.\n\t\t\t\tSocket senderSocket = new Socket(friendIP, friendPort );\n\t\t\t\tnode.getConnections().addConnection(friendIP, senderSocket);\n\t\t\t\tnew TCPSender(senderSocket, message);\n\t\t\t}\n\t\t} catch (IOException e) {System.out.println(\"Failed to read message. \"); }\n\t}",
"public static int sizeBits_senderNodeID() {\n return 8;\n }",
"public static int offsetBits_receiverNodeID() {\n return 16;\n }",
"public void registryChange() {\n registryEvent(1);\n }",
"@Override\n\tpublic ContentNodeMetadata getNodeMetadata() {\n\t\treturn null;\n\t}",
"@Override\r\n public boolean includeManifest() {\r\n return true;\r\n }",
"abstract protected void notifyModuleNode(T node);",
"@Override\n public void defaultOut(Node node) {\n //mPrintWriter.println(\"This node is not implemented\");\n }",
"@Override\n\tpublic GraphName getDefaultNodeName() {\n\t\treturn GraphName.of(\"rosjava/chatter\");\t}",
"@Override\npublic int sendToID(NodeIDType id, byte[] msg) throws IOException {\n\treturn 0;\n}",
"public void TCPNodeMessage(String message) throws IOException\n\t{\n\t\t//System.out.println(\"MessagingNode got message: \" + message + \" ~from Registry.\");\n\t\t\n\t\tString[] splitMessage = message.split(\"\\n\"); // split each line up.\n\t\t\n\t\tif(splitMessage[0].equals(\"MESSAGING_NODES_LIST\"))\n\t\t{\n\t\t\tString[] splitLine = splitMessage[1].split(\" \"); // split the line containing the number of messaging nodes.\n\t\t\tint numConnections = Integer.parseInt(splitLine[splitLine.length-1]); // holds the number of connections the messaging node should make.\n\t\t\totherNodes = parseNodeInfo(splitMessage); // get that info.\n\t\t\tsetNodeConnectionList(otherNodes); // set this list of node connections to be used by the registry.\n\t\t\t// System.out.println(\"first node has IP address: \" + otherNodes.get(0).getFirst() + \" and has portnum: \" + otherNodes.get(0).getSecond()); // for testing.\n\t\t\tmakeConnections(otherNodes, numConnections); // start making connections with the other nodes.\n\t\t}\n\t\telse if(splitMessage[0].equals(\"Link_Weights\"))\n\t\t{\n\t\t\tString[] splitLine = splitMessage[1].split(\" \"); // split the line containing the number of messaging nodes.\n\t\t\tint numLinks = Integer.parseInt(splitLine[splitLine.length - 1]); // get the number of links sent from the Registry.\n\t\t\t\n\t\t\tprocessLinkWeights(splitMessage); // have the link weights get processed.\n\t\t}\n\t\telse if(splitMessage[0].equals(\"TASK_INITIATE\")) // registry is telling the nodes to begin sending data and payload.\n\t\t{\n\t\t\tString[] splitLine = splitMessage[1].split(\" \");\n\t\t\tint numOfRounds = Integer.parseInt(splitLine[1]); // get the number of rounds that the messaging nodes must go for.\n\t\t\tstartSendingMessages(numOfRounds); // start sending messages for the number of rounds.\n\t\t}\n\t\telse if(splitMessage[0].equals(\"SHORTEST_PATH_LIST\"))\n\t\t{\n\t\t\t// make a method that may or may not need to be synchronized, then go through it storing all the portnumbers.\n\t\t\tprocessShortestPath(splitMessage); // takes in the string[] and constructs the shortest path that will be sent to the other nodes.\n\t\t}\n\t}",
"public static void registerISTERs() {\n\n\t}",
"@Override\n protected void onUnregistered() throws RemoteException {\n\n }",
"protected void sendRegistrationEvent(OidcClientConfiguration deployment) {\n final String registrationUri = deployment.getRegisterNodeUrl();\n if (! needRefreshRegistration(registrationUri, deployment)) {\n return;\n }\n if (Thread.currentThread().isInterrupted()) {\n return;\n }\n\n log.debug(\"Sending registration event right now\");\n\n String host = getHostName();\n try {\n ServerRequest.invokeRegisterNodeForKeycloak(deployment, host);\n NodeRegistrationContext regContext = new NodeRegistrationContext(getCurrentTimeInSeconds(), deployment);\n nodeRegistrations.put(deployment.getRegisterNodeUrl(), regContext);\n log.debugf(\"Node '%s' successfully registered in Keycloak\", host);\n } catch (ServerRequest.HttpFailure failure) {\n log.error(\"failed to register node to keycloak\");\n log.error(\"status from server: \" + failure.getStatus());\n if (failure.getError() != null) {\n log.error(\" \" + failure.getError());\n }\n } catch (IOException e) {\n log.error(\"failed to register node to keycloak\", e);\n }\n }",
"private void notifyReplicaNode(SystemMetadata cnSystemMetadata, NodeReference nodeId)\n throws InvalidToken, NotAuthorized, NotImplemented, ServiceFailure, NotFound, InvalidRequest {\n\n // Characterize the replica MemberNode\n Node replicaNode = nodeCommunications.getNodeRegistryService().getNode(nodeId);\n if (!replicaNode.getType().equals(NodeType.MN)) \n return; //quietly\n \n \n boolean isV1Tier3 = false;\n boolean isV2Tier3 = false;\n boolean hasTier3 = false;\n // Find out if a tier 3 node, if not then do not callback since it is not implemented\n for (Service service : replicaNode.getServices().getServiceList()) {\n if (service.getName() != null && service.getName().equals(\"MNStorage\") && service.getAvailable()) {\n if (service.getVersion().equalsIgnoreCase(\"V1\")) {\n isV1Tier3 = true;\n hasTier3 = true;\n } else if (service.getVersion().equalsIgnoreCase(\"V2\")) {\n isV2Tier3 = true;\n hasTier3 = true;\n }\n }\n }\n if (!hasTier3)\n return; //quietly\n \n // If this far, notify the replicaNode\n \n // removed the sanity checks on notification - there isn't a clear reason for them, \n // and more likely to fail for trivial reasons (NPEs, IOExceptions) and cause some trouble. \n // (was added 11/11/2011, part of #1979, today is 10/22/2015)\n // (the code used to retrieve the systemMetadata from the replica node\n // and make sure the modified time was different)\n \n \n NodeComm nodeComm = null;\n try {\n // get a nodeComm to occupy one of the communication slots in the pool\n // but it's going to be simpler logic to ignore existing MnRead from\n // the NodeComm, and get an MNode from a D1Client instead\n // TODO: this should be refactored to allow use of mock objects for\n // unit testing (we shouldn't be going outside of the NodeComm bundle)\n nodeComm = NodeCommSyncObjectFactory.getInstance().getNodeComm(nodeId);\n \n if (isV2Tier3) {\n org.dataone.client.v2.itk.D1Client.getMN(replicaNode.getBaseURL())\n .systemMetadataChanged(session, \n cnSystemMetadata.getIdentifier(),\n cnSystemMetadata.getSerialVersion().longValue(), \n cnSystemMetadata.getDateSysMetadataModified());\n logger.info(buildStandardLogMessage(null,\" Notified (v2) \" + nodeId.getValue()));\n } \n else if (isV1Tier3) {\n org.dataone.client.v1.itk.D1Client.getMN(replicaNode.getBaseURL())\n .systemMetadataChanged(session, \n cnSystemMetadata.getIdentifier(),\n cnSystemMetadata.getSerialVersion().longValue(), \n cnSystemMetadata.getDateSysMetadataModified());\n logger.info(buildStandardLogMessage(null,\" Notified (v1) \" + nodeId.getValue()));\n }\n } catch (NodeCommUnavailable e) {\n throw new ServiceFailure(\"0000\", \"In notifyReplicaNode: \" + e.getMessage());\n } finally {\n if (nodeComm != null)\n nodeComm.setState(NodeCommState.AVAILABLE);\n }\n }",
"public static int offset_receiverNodeID() {\n return (16 / 8);\n }",
"public static int sizeBits_receiverNodeID() {\n return 8;\n }",
"public static void registerNode(Socket registrySocket, int portNum, String hostname)\n\t{\n\t\ttry \n\t\t{\n\t\t\tTCPSender registerMe = new TCPSender(registrySocket); // send registry socket to be used to send data to the Registry.\n\t\t\tRegistrationRequestMessage registerMsg = new RegistrationRequestMessage();\n\t\t\tbyte[] msgBytes = registerMsg.getRegistrationBytes(portNum, registrySocket); // get the marshalled registration msg.\n\t\t\tregisterMe.sendData(msgBytes); // send this registration msg to the registry.\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"registerNode got error \" + e.getMessage());\n\t\t} \n\t}",
"public void set_receiverNodeID(short value) {\n setUIntBEElement(offsetBits_receiverNodeID(), 8, value);\n }",
"public void unDistributeMyKeys() {\n unDistributeKeys(readNodeEntries());\n }",
"String getNodeName() {\n return nodeName;\n }",
"@SuppressWarnings({\"unchecked\"})//class casting to string array\n @Test\n public void testMetatypeInformationInstalledBundleXML() throws IOException, InterruptedException\n {\n MessageListener listener = new MessageListener(socket);\n\n //find the test bundle\n long testBundleId = BundleNamespaceUtils.getBundleBySymbolicName(\"mil.dod.th.ose.integration.example.metatype\", \n socket);\n\n //verify that the test bundle was found\n assertThat(testBundleId, greaterThan(0L));\n\n int regId = RemoteEventRegistration.regRemoteEventMessages(socket, \n RemoteMetatypeConstants.TOPIC_METATYPE_INFORMATION_AVAILABLE);\n\n //jar to update\n File jarFile = new File(ResourceUtils.getBaseIntegrationPath(), \n \"generated/mil.dod.th.ose.integration.example.metatype.jar\");\n byte[] buf = FileUtils.readFileToByteArray(jarFile);\n //construct request to start bundle\n UpdateRequestData requestStart = UpdateRequestData.newBuilder().setBundleFile(ByteString.copyFrom(buf)).\n setBundleId(testBundleId).build();\n TerraHarvestMessage message = \n BundleNamespaceUtils.createBundleMessage(requestStart, BundleMessageType.UpdateRequest);\n\n //send message\n message.writeDelimitedTo(socket.getOutputStream());\n\n //listen for response from the configuration listener, extraneous wait\n //because the bundle needs time to start, framework needs to post bundle event and then\n //then the metatype listener will post its event.\n List<MessageDetails> responses = listener.waitForRemoteEvents(\n RemoteMetatypeConstants.TOPIC_METATYPE_INFORMATION_AVAILABLE, TIME_OUT, MatchCount.atLeast(2));\n\n //unreg listener\n MessageListener.unregisterEvent(regId, socket);\n\n //parse Response\n EventAdminNamespace namespace = (EventAdminNamespace)responses.get(0).getNamespaceMessage();\n SendEventData event = SendEventData.parseFrom(namespace.getData());\n\n Map<String, Object> propertyMap = \n SharedRemoteInterfaceUtils.getSimpleMapFromComplexTypesMap(event.getPropertyList());\n\n //check other response\n namespace = (EventAdminNamespace)responses.get(1).getNamespaceMessage();\n event = SendEventData.parseFrom(namespace.getData());\n\n Map<String, Object> propertyMap2 = \n SharedRemoteInterfaceUtils.getSimpleMapFromComplexTypesMap(event.getPropertyList());\n //verify events\n if (((List<String>)propertyMap.get(RemoteMetatypeConstants.EVENT_PROP_PIDS)).\n contains(\"example.metatype.XML.ExampleClass\"))\n {\n assertThat((Long)propertyMap.get(RemoteMetatypeConstants.EVENT_PROP_BUNDLE_ID), is(testBundleId));\n }\n else\n {\n //verify\n assertThat((Long)propertyMap.get(RemoteMetatypeConstants.EVENT_PROP_BUNDLE_ID), is(testBundleId));\n assertThat((List<String>)propertyMap.get(RemoteMetatypeConstants.EVENT_PROP_PIDS), \n hasItem(\"example.metatype.configadmin.ExampleInMemConfigClass\"));\n }\n //verify events\n if (((List<String>)propertyMap2.get(RemoteMetatypeConstants.EVENT_PROP_PIDS)).\n contains(\"example.metatype.XML.ExampleClass\"))\n {\n assertThat((Long)propertyMap2.get(RemoteMetatypeConstants.EVENT_PROP_BUNDLE_ID), is(testBundleId));\n }\n else\n {\n //verify\n assertThat((Long)propertyMap2.get(RemoteMetatypeConstants.EVENT_PROP_BUNDLE_ID), is(testBundleId));\n assertThat((List<String>)propertyMap2.get(RemoteMetatypeConstants.EVENT_PROP_PIDS), \n hasItem(\"example.metatype.configadmin.ExampleInMemConfigClass\"));\n }\n }",
"@Override\n\t\t\tpublic void onStatusRemoteNode(String url, String message) {\n\t\t\t\t\n\t\t\t}",
"public static boolean isSigned_receiverNodeID() {\n return true;\n }",
"protected void notifyChildRemoval(FONode node) {\n //nop\n }",
"public static int size_senderNodeID() {\n return (8 / 8);\n }",
"String getNodeName();",
"public void set_senderNodeID(short value) {\n setUIntBEElement(offsetBits_senderNodeID(), 8, value);\n }",
"private void registerRayoNode(PresenceMessage message) throws Exception {\n\n\t\tElement nodeInfoElement = message.getElement(\n\t\t\t\t\"node-info\", \"urn:xmpp:rayo:cluster:1\");\n\t\t\t\t\n\t\tList<String> platforms = new ArrayList<String>();\n\t\tint weight = RayoNode.DEFAULT_WEIGHT;\n\t\tint priority = RayoNode.DEFAULT_PRIORITY;\n\t\tif (nodeInfoElement != null) {\n\t\t\tNodeList platformElements = nodeInfoElement\n\t\t\t\t\t.getElementsByTagName(\"platform\");\n\t\t\tfor (int i=0;i<platformElements.getLength();i++) {\n\t\t\t\tplatforms.add(platformElements.item(i).getTextContent());\n\t\t\t}\n\t\t\tNodeList weightList = nodeInfoElement.getElementsByTagName(\"weight\");\n\t\t\tif (weightList.getLength() > 0) {\n\t\t\t\ttry {\n\t\t\t\t\tweight = Integer.parseInt(weightList.item(0).getTextContent());\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tlog.error(\"Unable to parse weight on message [%s]\", message);\n\t\t\t\t}\n\t\t\t}\n\t\t\tNodeList priorityList = nodeInfoElement.getElementsByTagName(\"priority\");\n\t\t\tif (priorityList.getLength() > 0) {\n\t\t\t\ttry {\n\t\t\t\t\tpriority = Integer.parseInt(priorityList.item(0).getTextContent());\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tlog.error(\"Unable to parse priority on message [%s]\", message);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tRayoNode node = new RayoNode(message.getFrom().toString(), null, new HashSet<String>(platforms));\n\t\tnode.setPriority(priority);\n\t\tnode.setWeight(weight);\n\t\t// if a rayo node sends a chat presence, then lets give it a chance if blacklisted\n\t\tnode.setBlackListed(false); \n\t\tnode.setConsecutiveErrors(0);\n\t\t\n\t\tgatewayStorageService.registerRayoNode(node);\t\t\n\t}",
"public String\n getNodeName() \n {\n return pNodeName;\n }",
"public static int size_receiverNodeID() {\n return (8 / 8);\n }",
"public static int offset_senderNodeID() {\n return (8 / 8);\n }",
"@Override\r\n\tpublic int getNumberOfNodes() {\n\t\treturn 0;\r\n\t}",
"public void reOpenRegistration(String nodeId);",
"public Manifest() {}",
"public FederateNodeIntoDmgrTest() {\r\n\t\tsuper(IWasValidatorID.WAS_FEDERATE_NODE_TEST_001, new UnitSignature(new EClass[] {\r\n\t\t\t\tWasPackage.Literals.WAS_NODE_UNIT, WasPackage.Literals.WAS_NODE_UNIT }));\r\n\t}",
"@Override\n public void handleNodeMuted() {\n setLocalFlowUnit(SymptomFlowUnit.generic());\n }",
"private void m57235e() {\n if (this.f41223d != null) {\n this.f41223d.sendEmptyMessage(1);\n }\n }",
"@Override\r\n\tpublic void setNode(Node node) {\n\t\tthis.node = (MessagingNode) node;\r\n\t}",
"String getNodeName() {\n return this.nodeName;\n }",
"private void processRayoNodePresence(PresenceMessage message) throws Exception {\n\n\t\tif (null == message.getType() || message.getType().isEmpty()) {\n\t\t\tswitch(message.getShow()) {\n\t\t\t\tcase CHAT: \n\t\t\t\t\tregisterRayoNode(message);\n\t\t\t\t\tbreak;\n\t\t\t\tcase AWAY:\n\t\t\t\tcase DND:\n\t\t\t\tcase XA:\n\t\t\t\t\tgatewayStorageService.unregisterRayoNode(\n\t\t\t\t\t\t\tJIDUtils.getDomain(message.getFrom().toString()));\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} else if (message.getType().equals(\"unavailable\")) {\t\t\t\n\t\t\tbroadcastEndEvent(message);\t\t\t\n\t\t} else {\n\t\t\tsendPresenceError(message.getTo(), message.getFrom(), Condition.BAD_REQUEST, Type.CANCEL, \"Could not map request.\");\n\t\t}\t\n\t}",
"com.bingo.server.msg.REQ.RegistryRequest getRegistry();",
"@Override\n public void disableUpgrade(NodeType type) {\n }",
"private void reregisterNodes()\n {\n for(Protos.SchedulerNodeInfo nodeInfo : this.app.getSchedulerAppInfo().getNodesList())\n {\n this.app.reregisterNode(this, nodeInfo);\n }\n\n //tell scheduler to do a reconcile\n //FIXME: wait until all apps reregistered then do this?\n LOGGER.debug(\"kicking task reconciler...\");\n this.scheduler.kickReconciler();\n }",
"public String getNodeInformationToExclude()\n\t{\n\t\treturn this.nodeInformationToExclude;\n\t}",
"public void register() throws JSONException, IOException {\n\t\tJSONObject obj = new JSONObject();\n\t\tobj.put(\"register\",keyPublic);\n\t\tidentifiant = keyPublic.substring(keyPublic.length()-6, keyPublic.length());\n\t\toutchan.writeLong(obj.toString().length());\n\t\toutchan.write(obj.toString().getBytes(StandardCharsets.UTF_8));\n\t}",
"private void sendRegisterMessage() {\n Message initMessage = new Message(\"register\");\n initMessage.name = name;\n sendMessage(initMessage);\n\n log(\"sent init. message:\" + initMessage);\n }",
"public Node() {\n name = null;\n missionDescription = null;\n roles = null;\n stateValueBindings = null;\n nodeRuntime = null;\n isNetworkSingleton = false;\n }",
"@Override\n\t\t\tpublic void onConnectRemoteNode(String url) {\t \t\t\t\n\t\t\t}",
"public void removeBootStrapNode() throws RemoteException{\n\t\tnodeIp=null;\n\t\thasNeighbours = false;\n\t\n\t}",
"public String getNamenode() {\n //return namenode.toString();\n return \"<namenode>\";\n }",
"@Test\n public void testNodeDefault() throws Exception, JSONException {\n WebResource r = resource();\n ClientResponse response = r.path(\"ws\").path(\"v1\").path(\"node\").get(ClientResponse.class);\n Assert.assertEquals((((MediaType.APPLICATION_JSON) + \"; \") + (JettyUtils.UTF_8)), response.getType().toString());\n JSONObject json = response.getEntity(JSONObject.class);\n verifyNodeInfo(json);\n }",
"entities.Torrent.RegistrationRequest getRegistrationRequest();",
"private void write(SidRegisterAddress reg) {\n\t\to.reg(reg).write(UnsignedByte.x01);\n\t}",
"public String getNodeName()\n {\n return Constants.ELEMNAME_NUMBER_STRING;\n }",
"public String getNodeARN() {\n return this.nodeARN;\n }",
"void nodeFailedToStart(Exception e);",
"private void registerNetworServiceComponent(final PlatformComponentProfile platformComponentProfileToRegister, final FermatPacket receiveFermatPacket, final WebSocket clientConnection, final ECCKeyPair serverIdentity){\n\n System.out.println(\"ComponentRegistrationRequestPacketProcessor - registerNetworkServiceComponent\");\n\n Map<NetworkServiceType, List<PlatformComponentProfile>> networkServiceRegistered = getWsCommunicationCloudServer().getRegisteredNetworkServicesCache();\n\n /*\n * Validate if contain a list for the NetworkServiceType\n */\n if (networkServiceRegistered.containsKey(platformComponentProfileToRegister.getNetworkServiceType())){\n\n /*\n * Add to the list\n */\n networkServiceRegistered.get(platformComponentProfileToRegister.getNetworkServiceType()).add(platformComponentProfileToRegister);\n\n }else {\n\n /*\n * Create new list by the NetworkServiceType and add the profile\n */\n List<PlatformComponentProfile> newListPCP = new ArrayList<>();\n newListPCP.add(platformComponentProfileToRegister);\n\n networkServiceRegistered.put(platformComponentProfileToRegister.getNetworkServiceType(), newListPCP);\n\n }\n\n\n /*\n * Construct a fermat packet whit the same platform component profile and different FermatPacketType\n */\n FermatPacket fermatPacketRespond = FermatPacketCommunicationFactory.constructFermatPacketEncryptedAndSinged(receiveFermatPacket.getSender(), //Destination\n serverIdentity.getPublicKey(), //Sender\n platformComponentProfileToRegister.toJson(), //Message Content\n FermatPacketType.COMPLETE_COMPONENT_REGISTRATION, //Packet type\n serverIdentity.getPrivateKey()); //Sender private key\n\n /*\n * Send the encode packet to the server\n */\n clientConnection.send(FermatPacketEncoder.encode(fermatPacketRespond));\n\n System.out.println(\"ComponentRegistrationRequestPacketProcessor - Total Network Service Component Registered (\"+platformComponentProfileToRegister.getNetworkServiceType()+\") = \" + networkServiceRegistered.get(platformComponentProfileToRegister.getNetworkServiceType()).size());\n\n }",
"@Override\n\tpublic void onEvent(Event event, TCPConnection associatedConnection) {\n\t\tswitch (event.getType()) {\n\t\t//Extract our assigned ID\n\t\tcase Protocol.RegistryReportsRegistrationStatus:\n\t\t\tthis.myAssignedID = ((RegistryReportsRegistrationStatus) event)\n\t\t\t\t\t.getID();\n\t\t\tbreak;\n\t\t//Ack from Registry that this node has deregistered, ID==-1 if error\n\t\tcase Protocol.RegistryReportsDeregistrationStatus:\n\t\t\tSystem.out.println(\"This node with the ID:\"\n\t\t\t\t\t+ ((RegistryReportsDeregistrationStatus) event).getID()\n\t\t\t\t\t+ \" has deregistered and is now exiting.\");\n\t\t\tSystem.exit(0);\n\t\t\tbreak;\n\t\t//Registry sent routing tables. Setup routing tables\n\t\tcase Protocol.RegistrySendsNodeManifest:\n\t\t\ttry {\n\t\t\t\tif (initiateConnections((RegistrySendsNodeManifest) event)) {\n\t\t\t\t\tString msg = \"Successfully connected to routing nodes\";\n\t\t\t\t\tregistry.getSender().sendData(\n\t\t\t\t\t\t\tnew NodeReportsOverlaySetupStatus(myAssignedID, msg\n\t\t\t\t\t\t\t\t\t.getBytes(Charset.forName(\"UTF-8\")))\n\t\t\t\t\t\t\t\t\t.getBytes());\n\t\t\t\t} else {\n\t\t\t\t\tString msg = \"!Could not connect to routing nodes! Or couldn't send status on connecting\";\n\t\t\t\t\tregistry.getSender().sendData(\n\t\t\t\t\t\t\tnew NodeReportsOverlaySetupStatus(-1, msg\n\t\t\t\t\t\t\t\t\t.getBytes(Charset.forName(\"UTF-8\")))\n\t\t\t\t\t\t\t\t\t.getBytes());\n\t\t\t\t}\n\t\t\t} catch (UnknownHostException e) {\n\t\t\t\tSystem.out.println(e.getMessage()\n\t\t\t\t\t\t+ \"trouble connecting to routing nodes\");\n\t\t\t\tString msg = \"!Could not connect to routing nodes! Or couldn't send status on connecting\";\n\t\t\t\ttry {\n\t\t\t\t\tregistry.getSender().sendData(\n\t\t\t\t\t\t\tnew NodeReportsOverlaySetupStatus(-1, msg\n\t\t\t\t\t\t\t\t\t.getBytes(Charset.forName(\"UTF-8\")))\n\t\t\t\t\t\t\t\t\t.getBytes());\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\tSystem.out.println(e1.getMessage());\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t\tString msg = \"!Could not connect to routing nodes!\";\n\t\t\t\ttry {\n\t\t\t\t\tregistry.getSender().sendData(\n\t\t\t\t\t\t\tnew NodeReportsOverlaySetupStatus(-1, msg\n\t\t\t\t\t\t\t\t\t.getBytes(Charset.forName(\"UTF-8\")))\n\t\t\t\t\t\t\t\t\t.getBytes());\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\tSystem.out.println(e1.getMessage());\n\t\t\t\t}\n\t\t\t}\n\t\t\tbreak;\n\t\t//Registry instructs node to begin communications with peers\n\t\tcase Protocol.RegistryRequestsTaskInitiate:\n\t\t\tsendPayloads(((RegistryRequestsTaskInitiate) event).getNumPackets());\n\t\t\tbreak;\n\t\t//Peer data packet received\n\t\tcase Protocol.OverlayNodeSendsData:\n\t\t\t//Determine if this node is final destination of packet\n\t\t\tif (finalDestination((OverlayNodeSendsData) event)) {\n\t\t\t\tthis.incrementReceiveTracker();\n\t\t\t\tthis.incrementReceiveSummation(((OverlayNodeSendsData) event)\n\t\t\t\t\t\t.getPayload());\n\t\t\t}\n\t\t\t//if the message should be relayed\n\t\t\telse {\n\t\t\t\tsynchronized (relayQueue) {\n\t\t\t\t\tOverlayNodeSendsData eventUpdated = new OverlayNodeSendsData(\n\t\t\t\t\t\t\t(OverlayNodeSendsData) event, myAssignedID);\n\t\t\t\t\trelayQueue.add(eventUpdated);\n\t\t\t\t\tthis.incrementRelayTracker();\n\t\t\t\t}\n\t\t\t}\n\t\t\tbreak;\n\t\t//Registry requests update on traffic, respond accordingly\n\t\tcase Protocol.RegistryRequestsTrafficSummary:\n\t\t\tsendTrafficSummary();\n\t\t\tbreak;\n\t\t//Should not be triggered, output error msg\n\t\tdefault:\n\t\t\tSystem.out.println(\"MsgNode received improper Event type\");\n\t\t\tbreak;\n\t\t}\n\t}",
"public static boolean isSigned_senderNodeID() {\n return true;\n }",
"public static KubevirtNode buildKubevirtNode(Node node) {\n String hostname = node.getMetadata().getName();\n IpAddress managementIp = null;\n IpAddress dataIp = null;\n\n for (NodeAddress nodeAddress:node.getStatus().getAddresses()) {\n if (nodeAddress.getType().equals(INTERNAL_IP)) {\n managementIp = IpAddress.valueOf(nodeAddress.getAddress());\n dataIp = IpAddress.valueOf(nodeAddress.getAddress());\n }\n }\n\n Set<String> rolesFull = node.getMetadata().getLabels().keySet().stream()\n .filter(l -> l.contains(K8S_ROLE))\n .collect(Collectors.toSet());\n\n KubevirtNode.Type nodeType = WORKER;\n\n for (String roleStr : rolesFull) {\n String role = roleStr.split(\"/\")[1];\n if (MASTER.name().equalsIgnoreCase(role)) {\n nodeType = MASTER;\n break;\n }\n }\n\n // start to parse kubernetes annotation\n Map<String, String> annots = node.getMetadata().getAnnotations();\n String physnetConfig = annots.get(PHYSNET_CONFIG_KEY);\n String gatewayConfig = annots.get(GATEWAY_CONFIG_KEY);\n String dataIpStr = annots.get(DATA_IP_KEY);\n Set<KubevirtPhyInterface> phys = new HashSet<>();\n String gatewayBridgeName = null;\n try {\n if (physnetConfig != null) {\n JsonArray configJson = JsonArray.readFrom(physnetConfig);\n\n for (int i = 0; i < configJson.size(); i++) {\n JsonObject object = configJson.get(i).asObject();\n String network = object.get(NETWORK_KEY).asString();\n String intf = object.get(INTERFACE_KEY).asString();\n\n if (network != null && intf != null) {\n String physBridgeId;\n if (object.get(PHYS_BRIDGE_ID) != null) {\n physBridgeId = object.get(PHYS_BRIDGE_ID).asString();\n } else {\n physBridgeId = genDpidFromName(network + intf + hostname);\n log.trace(\"host {} physnet dpid for network {} intf {} is null so generate dpid {}\",\n hostname, network, intf, physBridgeId);\n }\n\n phys.add(DefaultKubevirtPhyInterface.builder()\n .network(network)\n .intf(intf)\n .physBridge(DeviceId.deviceId(physBridgeId))\n .build());\n }\n }\n }\n\n if (dataIpStr != null) {\n dataIp = IpAddress.valueOf(dataIpStr);\n }\n\n if (gatewayConfig != null) {\n JsonNode jsonNode = new ObjectMapper().readTree(gatewayConfig);\n\n nodeType = GATEWAY;\n gatewayBridgeName = jsonNode.get(GATEWAY_BRIDGE_NAME).asText();\n }\n } catch (JsonProcessingException e) {\n log.error(\"Failed to parse physnet config or gateway config object\", e);\n }\n\n // if the node is taint with kubevirt.io key configured,\n // we mark this node as OTHER type, and do not add it into the cluster\n NodeSpec spec = node.getSpec();\n if (spec.getTaints() != null) {\n for (Taint taint : spec.getTaints()) {\n String effect = taint.getEffect();\n String key = taint.getKey();\n String value = taint.getValue();\n\n if (StringUtils.equals(effect, NO_SCHEDULE_EFFECT) &&\n StringUtils.equals(key, KUBEVIRT_IO_KEY) &&\n StringUtils.equals(value, DRAINING_VALUE)) {\n nodeType = OTHER;\n }\n }\n }\n\n return DefaultKubevirtNode.builder()\n .hostname(hostname)\n .managementIp(managementIp)\n .dataIp(dataIp)\n .type(nodeType)\n .state(KubevirtNodeState.ON_BOARDED)\n .phyIntfs(phys)\n .gatewayBridgeName(gatewayBridgeName)\n .build();\n }",
"void sendEntry(Entry e) {\n // System.out.println(\"Mapper.sendEntry()\");\n RemoteMapper dest = findMapper(e.getHash());\n try {\n if (predKey != 0) {\n removeKey(e.getHash());\n }\n dest.addEntry(e);\n } catch (RemoteException ex) {\n ex.printStackTrace();\n }\n\n }",
"private ClusterMonitor sendDummyMessage() {\n\t\tClusterMonitor.Builder cm = ClusterMonitor.newBuilder();\n\t\t//your cluster ID\n\t\tcm.setClusterId(0);\n\t\n\t\tcm.setTick(i++);\n\n\t\t\n\t\t//No of nodes in your cluster\n\t\tcm.setNumNodes(5);\n\t\t\n\t\t//Node Id = Process Id\n\t//\tcm.addProcessId(50);\n\t\t//cm.addProcessId(51);\n\t\t//cm.addProcessId(53);\n\t\t//cm.addProcessId(54);\n\t\t//cm.addProcessId(52);\n\t\t\n//\t\t/cm.set\n\t\t\n\t\t//Set processId,No of EnquedTask for that processId\n\t\t\n\t//\tcm.addEnqueued(19);\n\t\t\n\t//\tcm.addEnqueued(5);\n\t\t//Set processId,No of ProcessedTask for that processId\n\t//\tcm.addProcessed(3);\n\t\t//cm.addProcessed(3);\n\t\t//Set processId,No of StolenTask for that processId\n\t\t//cm.addStolen(2);\n\t\tcm.addStolen(2);\n\t\t\n\t\t//Increment tick every time you send the message, or else it would be ignored\n\t\t// Tick starts from 0\n\t\n\t\t\n\t\treturn cm.build();\n\t}",
"@Override\n protected void prepareHandshakeMessageContents() {\n }",
"@Override\r\n\t\tpublic short getNodeType()\r\n\t\t\t{\n\t\t\t\treturn 0;\r\n\t\t\t}",
"private void gatherNodeConfigurations(InstanceNodeConfigurationListDto result, InstanceManifest im) {\n // Build a map of configurations indexed by the node name\n Map<String, InstanceNodeConfigurationDto> node2Config = new TreeMap<>();\n result.nodeConfigDtos.forEach(dto -> node2Config.put(dto.nodeName, dto));\n\n // Update the node configuration. Create entries for nodes that are configured\n // but missing\n for (Map.Entry<String, Manifest.Key> entry : im.getInstanceNodeManifests().entrySet()) {\n String nodeName = entry.getKey();\n Manifest.Key manifestKey = entry.getValue();\n\n InstanceNodeManifest manifest = InstanceNodeManifest.of(hive, manifestKey);\n InstanceNodeConfiguration configuration = manifest.getConfiguration();\n InstanceNodeConfigurationDto nodeConfig = node2Config.computeIfAbsent(nodeName, k -> {\n // Node is not known any more but has configured applications\n InstanceNodeConfigurationDto inc = new InstanceNodeConfigurationDto(k);\n result.nodeConfigDtos.add(inc);\n return inc;\n });\n\n nodeConfig.nodeConfiguration = configuration;\n }\n }",
"private void registerUiNode() {\n }",
"private void init() throws UnknownHostException, RemoteException {\n\n FileApp.setMapper(this);\n predKey = 0;\n toDistribute = readNodeEntries();\n //System.out.println(\"Mapper.init() :: toDistribute=\"+toDistribute);\n }",
"private void updateReadyNodeLivenessEvents() {\n try (Mutex lock = nodeRepository().nodes().lockUnallocated()) {\n for (Node node : nodeRepository().nodes().list(Node.State.ready)) {\n Optional<Instant> lastLocalRequest = hostLivenessTracker.lastRequestFrom(node.hostname());\n if (lastLocalRequest.isEmpty()) continue;\n\n if (!node.history().hasEventAfter(History.Event.Type.requested, lastLocalRequest.get())) {\n History updatedHistory = node.history()\n .with(new History.Event(History.Event.Type.requested, Agent.NodeHealthTracker, lastLocalRequest.get()));\n nodeRepository().nodes().write(node.with(updatedHistory), lock);\n }\n }\n }\n }",
"public abstract OMElement serialize();",
"void removeNode(Entity entity) {\n\t\tProcessing.nodeSet.remove(entity);\n\t\tProcessing.friendMap.remove(entity);\n\n\t\tSystem.out.println(\"the person was successfully removed from the network.\");\n\t}",
"@Override\n protected void prot() {\n }",
"private String getUniqueNodeName() {\n return String.format(\"N%d\", uniqueNode++);\n }",
"@Override\n\tpublic void initNode() {\n\t\tEFMonitorUtil.cleanAllInstance(false);\t\t\t\n\t}",
"public boolean populateManifestMap( Node iNode )\n {\n // looks exactly like prunetree as we walk down the tree\n LOGGER.entering( \"ManifestMap\", \"populateManifestMap\" ); \n\n boolean result = true;\n\n // is there anything to do?\n if ( iNode == null )\n {\n result = false;\n return result;\n }\n\n int type = iNode.getNodeType();\n\n switch ( type )\n {\n case Node.PROCESSING_INSTRUCTION_NODE:\n {\n break;\n }\n case Node.DOCUMENT_NODE:\n {\n Node rootNode = ((Document)iNode).getDocumentElement();\n\n result = populateManifestMap( rootNode ) && result;\n\n break;\n }\n case Node.ELEMENT_NODE:\n {\n String parentNodeName = iNode.getLocalName();\n\n if ( parentNodeName.equalsIgnoreCase(\"manifest\") ) \n {\n // We are dealing with an IMS <manifest> element, get the IMS\n // CP identifier for the <manifest> elememnt\n mManifestId =\n DOMTreeUtility.getAttributeValue( iNode,\n \"identifier\" ); \n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored a Manifest Id value of \" + \n mManifestId );\n\n // Recurse to populate mItemIdrefs and mItemIds\n\n // Find the <organization> elements\n\n Node orgsNode = DOMTreeUtility.getNode( iNode, \"organizations\" ); \n\n if( orgsNode != null )\n {\n Vector orgElems = DOMTreeUtility.getNodes( orgsNode, \"organization\" ); \n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Number of <organization> elements: \" + \n orgElems.size() );\n\n if ( !orgElems.isEmpty() )\n {\n int orgElemsSize = orgElems.size();\n for (int i = 0; i < orgElemsSize; i++ )\n {\n Vector itemElems = DOMTreeUtility.getNodes(\n (Node)orgElems.elementAt(i), \"item\" ); \n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Number of <item> elements: \" + \n itemElems.size() );\n\n if ( !itemElems.isEmpty() )\n {\n int itemElemsSize = itemElems.size();\n for (int j = 0; j < itemElemsSize; j++ )\n {\n result = populateManifestMap(\n (Node)(itemElems.elementAt(j)) ) && result;\n }\n }\n }\n }\n }\n\n //recurse to populate mResourceIds\n\n Node resourcesNode = DOMTreeUtility.getNode( iNode, \"resources\" ); \n\n if( resourcesNode != null )\n {\n Vector resourceElems = DOMTreeUtility.getNodes(\n resourcesNode, \"resource\" ); \n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Number of <resource> elements: \" + \n resourceElems.size() );\n\n int resourceElemsSize = resourceElems.size();\n for (int k = 0; k < resourceElemsSize; k++ )\n {\n result = populateManifestMap(\n (Node)(resourceElems.elementAt(k)) ) && result;\n }\n }\n }\n else if ( parentNodeName.equalsIgnoreCase(\"item\") ) \n {\n //store item identifier value\n String itemId =\n DOMTreeUtility.getAttributeValue( iNode, \"identifier\" );\n \n mItemIds.add( itemId );\n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored an Item Id value of \" + \n itemId );\n\n //store item identifier reference value\n String itemIdref =\n DOMTreeUtility.getAttributeValue( iNode, \"identifierref\" );\n \n mItemIdrefs.add( itemIdref );\n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored an Item Idref value of \" + \n itemIdref );\n\n //recurse to populate all child item elements\n Vector items = DOMTreeUtility.getNodes( iNode, \"item\" ); \n if ( !items.isEmpty() )\n {\n int itemsSize = items.size();\n for ( int z = 0; z < itemsSize; z++ )\n {\n result = populateManifestMap(\n (Node)items.elementAt(z) ) && result;\n }\n }\n }\n else if ( parentNodeName.equalsIgnoreCase(\"resource\") ) \n {\n //store resource identifier value\n String resourceId =\n DOMTreeUtility.getAttributeValue( iNode, \"identifier\" ); \n // convert to lower so case sensativity does not play a role\n \n mResourceIds.add( resourceId );\n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored a Resource Id value of \" + \n resourceId );\n\n // populate <dependency> element\n\n Vector dependencyElems = DOMTreeUtility.getNodes( iNode,\n \"dependency\" ); \n\n int dependencyElemsSize= dependencyElems.size();\n\n for(int w=0; w < dependencyElemsSize; w++ )\n {\n Node dependencyElem = (Node)dependencyElems.elementAt(w);\n\n //store resource identifier value\n String dependencyIdref =\n DOMTreeUtility.getAttributeValue( dependencyElem,\n \"identifierref\" ); \n \n mDependencyIdrefs.add( dependencyIdref );\n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored a Dependency Idref value of \" + \n mDependencyIdrefs );\n }\n }\n\n break;\n }\n // handle entity reference nodes\n case Node.ENTITY_REFERENCE_NODE:\n {\n break;\n }\n\n // text\n case Node.COMMENT_NODE:\n {\n break;\n }\n\n case Node.CDATA_SECTION_NODE:\n {\n break;\n }\n\n case Node.TEXT_NODE:\n {\n break;\n }\n \n default:\n {\n break;\n }\n }\n\n LOGGER.exiting( \"ManifestMap\", \"populateManifestMap\" ); \n\n return result;\n }",
"@Override\n public void channelActive(ChannelHandlerContext ctx) throws Exception {\n super.channelActive(ctx);\n \n }",
"public int getNodeID() {\r\n \t\treturn nodeID;\r\n \t}",
"private boolean checkPermissionExists(CommandSender sender, String newPerm, PermissionCheckResult oldPerm, String type) {\n\t\t\n\t\t\n\t\tif (newPerm.startsWith(\"+\"))\n\t\t{\n\t\t\tif (oldPerm.resultType.equals(PermissionCheckResult.Type.EXCEPTION))\n\t\t\t{\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"The \" + type + \" already has direct access to that permission.\");\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"Node: \" + oldPerm.accessLevel);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\telse if (newPerm.startsWith(\"-\"))\n\t\t{\n\t\t\tif (oldPerm.resultType.equals(PermissionCheckResult.Type.EXCEPTION))\n\t\t\t{\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"The \" + type + \" already has an exception for this node.\");\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"Node: \" + oldPerm.accessLevel);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse if (oldPerm.resultType.equals(PermissionCheckResult.Type.NEGATION))\n\t\t\t{\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"The \" + type + \" already has a matching negated node.\");\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"Node: \" + oldPerm.accessLevel);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (oldPerm.resultType.equals(PermissionCheckResult.Type.EXCEPTION))\n\t\t\t{\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"The \" + type + \" already has an exception for this node.\");\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"Node: \" + oldPerm.accessLevel);\n\t\t\t}\n\t\t\telse if (oldPerm.resultType.equals(PermissionCheckResult.Type.NEGATION))\n\t\t\t{\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"The \" + type + \" already has a matching negated node.\");\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"Node: \" + oldPerm.accessLevel);\n\t\t\t}\n\t\t\telse if (oldPerm.resultType.equals(PermissionCheckResult.Type.FOUND))\n\t\t\t{\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"The \" + type + \" already has direct access to that permission.\");\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"Node: \" + oldPerm.accessLevel);\n\t\t\t\t\n\t\t\t\t// Since not all plugins define wildcard permissions, allow setting the permission anyway if the permissions dont match exactly.\n\t\t\t\treturn (oldPerm.accessLevel.equalsIgnoreCase(newPerm));\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"void onIssuerWithoutDefaultInstallment();",
"@Test\n public void testNamespaceInfoWithUnavailableNameNodeRegistration()\n throws IOException {\n List<MembershipState> registrationList = new ArrayList<>();\n String router = ROUTERS[0];\n String ns = NAMESERVICES[0];\n String rpcAddress = \"testrpcaddress\";\n String serviceAddress = \"testserviceaddress\";\n String lifelineAddress = \"testlifelineaddress\";\n String blockPoolId = \"testblockpool\";\n String clusterId = \"testcluster\";\n String webScheme = \"http\";\n String webAddress = \"testwebaddress\";\n boolean safemode = false;\n\n MembershipState record = MembershipState.newInstance(\n router, ns, NAMENODES[0], clusterId, blockPoolId,\n rpcAddress, serviceAddress, lifelineAddress, webScheme,\n webAddress, FederationNamenodeServiceState.ACTIVE, safemode);\n registrationList.add(record);\n\n // Set empty clusterId and blockPoolId for UNAVAILABLE NameNode\n record = MembershipState.newInstance(\n router, ns, NAMENODES[1], \"\", \"\",\n rpcAddress, serviceAddress, lifelineAddress, webScheme,\n webAddress, FederationNamenodeServiceState.UNAVAILABLE, safemode);\n registrationList.add(record);\n\n registerAndLoadRegistrations(registrationList);\n\n GetNamespaceInfoRequest request = GetNamespaceInfoRequest.newInstance();\n GetNamespaceInfoResponse response\n = membershipStore.getNamespaceInfo(request);\n Set<FederationNamespaceInfo> namespaces = response.getNamespaceInfo();\n\n // Verify only one namespace is registered\n assertEquals(1, namespaces.size());\n\n // Verify the registered namespace has a valid pair of clusterId\n // and blockPoolId derived from ACTIVE NameNode\n FederationNamespaceInfo namespace = namespaces.iterator().next();\n assertEquals(ns, namespace.getNameserviceId());\n assertEquals(clusterId, namespace.getClusterId());\n assertEquals(blockPoolId, namespace.getBlockPoolId());\n }",
"public void setNode_4(String node_4);"
] |
[
"0.5613914",
"0.5443059",
"0.5411562",
"0.53480417",
"0.53160965",
"0.52717525",
"0.5267884",
"0.52438235",
"0.5240501",
"0.5213795",
"0.51799417",
"0.5133043",
"0.51215374",
"0.5062749",
"0.49926102",
"0.4983441",
"0.49687096",
"0.49664",
"0.49641523",
"0.49504858",
"0.49328262",
"0.49273202",
"0.49159318",
"0.48791716",
"0.48653096",
"0.48525375",
"0.4852144",
"0.48186114",
"0.480547",
"0.47959048",
"0.47832394",
"0.47821343",
"0.47653443",
"0.47553006",
"0.4752122",
"0.47513798",
"0.47483215",
"0.47472185",
"0.47467616",
"0.47455096",
"0.47426897",
"0.47396734",
"0.47396043",
"0.47278595",
"0.4725293",
"0.47201076",
"0.47180653",
"0.4714683",
"0.47005457",
"0.46980366",
"0.4693441",
"0.46899515",
"0.4688544",
"0.46697927",
"0.46667755",
"0.46654612",
"0.46612394",
"0.4653082",
"0.46487585",
"0.46467146",
"0.46462092",
"0.46417806",
"0.46378738",
"0.46377632",
"0.4636908",
"0.46293038",
"0.46266928",
"0.4612488",
"0.46111736",
"0.4610984",
"0.4603959",
"0.45983756",
"0.45964187",
"0.4596328",
"0.45881113",
"0.45876604",
"0.45837453",
"0.45813212",
"0.4578464",
"0.457355",
"0.45632917",
"0.45623127",
"0.45622143",
"0.4559098",
"0.45577112",
"0.4551159",
"0.45500705",
"0.45463175",
"0.45459506",
"0.4545238",
"0.4544318",
"0.45418048",
"0.45411387",
"0.45330343",
"0.45291272",
"0.45279828",
"0.452688",
"0.45232216",
"0.4520383",
"0.45203727",
"0.45148632"
] |
0.0
|
-1
|
Justin2 justin2 = new Justin2(); Justin3 justin3 = new Justin3();
|
public void paint(Graphics g) {
cloud.paint(g);
g1.paint(g);
teacher.paint(g);
justin.paint(g);
butt.paint(g);
//justin2.paint(g);
//justin3.paint(g);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public static void main(String args[]){\n SingleTonClass myobject= SingleTonClass.objectCreationMethod();\r\n SingleTonClass myobject1= SingleTonClass.objectCreationMethod();\r\n myobject.display();\r\n myobject.b = 600;\r\n myobject1.display();\r\n myobject1.b = 800;\r\n SingleTonClass myobject2 = new SingleTonClass();\r\n myobject2.display();\r\n }",
"public static void createArmy() {\n Unit unitOne = new Unit(\"Unit One\");\n Unit unitTwo = new Unit(\"Unit Two\");\n Unit unitThree = new Unit(\"Unit Three\");\n Unit unitFour = new Unit(\"Unit Four\");\n Unit unitFive = new Unit(\"Unit Five\");\n\n Knight knightOne = new Knight(\"Knight One\");\n Knight knightTwo = new Knight(\"Knight Two\");\n Knight knightThree = new Knight(\"Knight Three\");\n\n General general = new General(\"General\");\n Doctor doctor = new Doctor(\"Doctor\");\n }",
"private static void test3() {\n new Son();\n\n }",
"public Program7()\n { \n _tc = new TravelingCreature( 200, 200 );\n }",
"NewClass1 createNewClass1();",
"public Sad() {\n }",
"private static void Demo4() {\n\t\tClass<?> class1 = null;\r\n\t\tPerson person1 = null;\r\n\t\tPerson person2 = null;\r\n\t\ttry {\r\n\t\t\tclass1 = Class.forName(\"CH16.Person\");\r\n\t\t\tConstructor<?>[] con = class1.getConstructors();\r\n\t\t\ttry {\r\n\t\t\t\tperson1 = (Person) con[0].newInstance(20, \"Hongten\");\r\n\t\t\t\tSystem.out.println(person1.getAge() + \";\" + person1.getName());\r\n\t\t\t\tperson2 = (Person) con[1].newInstance();\r\n\t\t\t\tperson2.setAge(100);\r\n\t\t\t\tperson2.setName(\"haha\");\r\n\t\t\t\tSystem.out.println(person2.getAge() + \";\" + person2.getName());\r\n\r\n\t\t\t} catch (InstantiationException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t} catch (IllegalAccessException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t} catch (IllegalArgumentException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t} catch (InvocationTargetException 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} 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\r\n\t}",
"private TypicalPersons() {}",
"private TypicalPersons() {}",
"private static void Demo3() {\n\t\tClass<?> class1 = null;\r\n\t\ttry {\r\n\t\t\tclass1 = Class.forName(\"CH16.Person\");\r\n\t\t\ttry {\r\n\t\t\t\tPerson person = (Person) class1.newInstance();\r\n\t\t\t\tperson.setAge(20);\r\n\t\t\t\tperson.setName(\"mark\");\r\n\t\t\t\tSystem.out.println(person.getName() + \" : \" + person.getAge());\r\n\t\t\t} catch (InstantiationException | IllegalAccessException 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} 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\r\n\t}",
"private static void LessonClassObjects() {\n Person person1 = new Person();\n Person person2 = new Person();\n\n //Set title, firstname and lastname\n person1.setTitle(\"Mr.\");\n person1.setFirstName(\"Jordan\");\n person1.setLastName(\"Walker\");\n\n person2.setTitle(\"Mrs.\");\n person2.setFirstName(\"Kelsey\");\n person2.setLastName(\"Walker\");\n\n //Print out\n System.out.println(person1.getTitle()+ \" \" + person1.getFirstName() + \" \" + person1.getLastName());\n System.out.println(person2.getTitle()+ \" \" + person2.getFirstName() + \" \" + person2.getLastName());\n\n // Set super BaseBO class\n person1.setId(7);\n System.out.println(person1.getFirstName() + \" Id is: \" + person1.getId());\n }",
"public static void main(String[] args) {\n\n Car c = new BasicCar();\n Car c1 = new SpyCar();\n Car c2 = new CarWithSunRoof();\n Car c3 = new SpyCarWhitSunRoof();\n }",
"public static void main(String[] args) {\n\r\n ContaEspecial contaEspecial1 = new ContaEspecial(\"\", \"\");\r\n // ContaEspecial contaEspecial2 = new ContaEspecial();\r\n }",
"public static void main(String[] args) \n {\n p3 obj1 = new p3(); \n obj1.display(); \n p3 obj2 = new p3(); \n obj2.display(); \n p3 obj3 = new p3(); \n obj3.display(); \n }",
"private SingleTon() {\n\t}",
"private static void Demo1() {\n\t\tPerson person = new Person();\r\n\t\tSystem.out.println(\"类名:\" + person.getClass().getName());\r\n\t\tSystem.out.println(\"包名:\" + person.getClass().getPackage().getName());\r\n\r\n\t}",
"public Demo3() {}",
"public Lotto2(){\n\t\t\n\t}",
"public static void main(String[] args) {\n Hero hero1 = new Hero(500,30,\"Bob\");\n hero1.getInfo();\n\n\n\n\n\n\n Boss boss = new Boss(700,50,null);\n\n\n\n\n\n\n }",
"public Application() {\r\n monster1 = new Monster();\r\n treasure1 = new Treasure();\r\n in = new Scanner(System.in);\r\n }",
"public static void main(String args[]){\n\tOuter.createInner();\r\n\t//new Outer.Inner();\r\n\t//new Outer.new Inner();\r\n}",
"public static void main(String [] args){\r\n get a= new get();\r\n get2 b= new get2();\r\n get3 c= new get3();\r\n a.eat();\r\n b.eat();\r\n c.eat();\r\n }",
"public static void main(String[] args) {\n\nCeo c=new Manager();\nc.manage();\nc.invest();\nManager n=new Manager();\nn.employee();\n//ManagingDirector md=new Manager();\n\n\n//Manager m=new Manager();\n//m.manage();\n//m.employee();\n \n }",
"public Login() {\n socio = new Socio();\n empleado = new Personal();\n }",
"public static void main(String[] args) {\n Animal myAnimal = new Animal();\n myAnimal.animalSound();\n\n myAnimal = new Dog();\n myAnimal.animalSound();\n\n myAnimal = new Cat();\n myAnimal.animalSound();\n\n }",
"public static void main(String[]arg){\n Person person1 = new Person();\n person1.setName(\"Bright Kingsley\");\n person1.setPhone(\"08133193153\");\n person1.setAddress(\"Umudike\");\n System.out.println(\"The name is :\"+person1.getName());\n System.out.println(\"The Address is :\"+person1.getAddress());\n System.out.println(\"The Phone Number is :\"+person1.getPhone());\n \n Pearson ps1= new Pearson();\n Pearson ps= new Pearson(\"Chris\", \"070412937854\",\"Aba\");\n System.out.println(\"The name is :\"+ps.getName());\n System.out.println(\"The Address is :\"+ps.getAddress());\n System.out.println(\"The Phone Number is :\"+ps.getPhone());\n \n }",
"private void __sep__Constructors__() {}",
"private SingleObject(){\n }",
"public static void main(String[] args) {\n\t\tPerson firstPerson = new Person();//instansiasi by reference variable\n\t\tPerson secondPerson = new Person(\"Rizalddi\", \"Rnensia\", \"Male\", \"Music, Food\", 21);//instansiasi by konstruktor\n\t\tPerson thirdPerson = new Person(\"Arul\", \"Aral\", \"Male\", \"soccer\", 30);//instansiasi by konstruktor\n\t\t\n\t\t\n\t\tfirstPerson.firstName\t= \"Rizaldi\";// instansiasi by reference variable\n\t\tfirstPerson.lastName\t= \"Rnensia\";\n\t\tfirstPerson.age\t\t\t= 29;\n\t\tfirstPerson.gender\t\t= \"Male\";\n\t\tfirstPerson.interest\t= \"Music, food, travel\";\n\t\t\n\t\tSystem.out.println(\"Orang ke 1 : \");\n\t\tfirstPerson.biodata();// instansiasi by method\n\t\tfirstPerson.greeting();\n\t\tSystem.out.println(\"Orang ke 2 : \");\n\t\tsecondPerson.biodata();// instansiasi by method\n\t\tsecondPerson.greeting();\n\t\tSystem.out.println(\"Orang ke 3 : \");\n\t\tthirdPerson.biodata();// instansiasi by method\n\t\tthirdPerson.greeting();\n\t\tthirdPerson.sayThanks();\n\t\t\n\t\tTeacher firstTeacher = new Teacher();\n\t\tfirstTeacher.firstName\t= \"asep\";\n\t\tfirstTeacher.lastName\t= \"Sutiawan\";\n\t\tfirstTeacher.age\t\t= 29;\n\t\tfirstTeacher.gender\t\t= \"Male\";\n\t\tfirstTeacher.interest\t= \"noodles\";\n\t\tfirstTeacher.subject\t= \"Math\";\n\t\t\n\t\tSystem.out.println(\"\\nGuru ke 1 : \");\n\t\tfirstTeacher.biodata();\n\t\tfirstTeacher.greeting();\n\n\t\tStudent firstStudent = new Student(\"Richa\", \"Fitria\", \"Female\", \"Makan\", 20);\n\t\t\n\t\tSystem.out.println(\"\\nMurid ke 1 : \");\n\t\tfirstStudent.biodata();\n\t\tfirstStudent.greeting();\n\t}",
"public static void main(String[] args) {\r\n\r\n // create new Lab3 objects\r\n Lab3 lab = new Lab3();\r\n\r\n Lab3 lab2 = new Lab3(24);\r\n\r\n Lab3 lab3 = new Lab3(\"James\");\r\n\r\n\r\n // Display lab 3 objects\r\n System.out.println(lab);\r\n\r\n System.out.println(lab2);\r\n\r\n System.out.println(lab3);\r\n }",
"public Watermelon saySomething() {\n return new Watermelon(\"Japanese\" , \"Square\");//it return an object of watermelon\n }",
"public static void main(String[] args) {\n Beverage beverageOne = new DarkRoast();\n beverageOne = new SoyMilk(beverageOne);\n beverageOne = new Mocha(beverageOne);\n beverageOne = new Mocha(beverageOne);\n System.out.println(\"Order: \" + beverageOne.getDescription() + \"\\nCost: \" + beverageOne.cost());\n\n System.out.println();\n\n // Creating HouseBlend with Mocha\n Beverage beverageTwo = new HouseBlend();\n beverageTwo = new Mocha(beverageTwo);\n System.out.println(\"Order: \" + beverageTwo.getDescription() + \"\\nCost: \" + beverageTwo.cost());\n }",
"public static void main(String[] args) \r\n\t{\n one obj = new one();\r\n\t}",
"public static void main(String[] args) {\nconstructorDemo obj=new constructorDemo();\nconstructorDemo obj1=new constructorDemo(\"My Parameter\");\nconstructorDemo obj2=new constructorDemo(123);\nconstructorDemo obj3=new constructorDemo(123,6);\nSystem.out.println(\"code after creating object\");\nobj.hello();\nobj.hello(\"hi\");\n\t}",
"public CyanSus() {\n\n }",
"public static void main(String args[]) {\n Human obj = new Boy();\n /* Reference is of HUman type and object is\n * of Human type.\n */\n Human obj2 = new Human();\n obj.walk();\n obj2.walk();\n }",
"private UsineJoueur() {}",
"public static void main(String []args){\n\t\tOuter o1 = new Outer();\n\t\to1.Method1Out();\n\n\t\t//Creating object of inner class: \n\t\t//Object creation method 1: (For using this method first we have to create the object of outer class)\n\t\tOuter.Inner i1 = o1.new Inner();\n\t\ti1.MethodIn();\n\n\t\t//Object creation method 2:\n\t\tOuter.Inner i2 = new Outer().new Inner();\n\t\ti2.MethodIn();\n\t}",
"public static void main(String[] args) {\nmanager xx=new manager(\"sarath\",34,\"9895639874\",\"eloor\",30000,\"BPO\");\r\nemployee xx1=new employee(\"jomon\",24,\"9899999999\",\"eloor\",50000,\"testing\");\r\n\r\n\t}",
"public static void main(String[] args) {\n Chess x = new Chess();\n //Ad 7\n classC c = new classC();\n //Ad 8\n Cat kot1 = new Cat();\n Cat kot2 = new Cat(\"Kotelel\");\n //Ad 9\n Stem stem1 = new Stem();\n //Ad 10\n StemMod stem1Mod = new StemMod(6);\n\n }",
"public static void main(String[] args) {\n Animal A1 = new Animal(5,\"Animal\",1,\"Carnivores\",1);\n Dog d1 = new Dog(2,\"Miller\",4,\"Herbivores\",1);\n\n d1.eat();\n A1.eat();\n\n }",
"public static void main (String [] args){\n \n Box b1 = new Box(); //instantiates the first box object\n b1.setHeight(4); //sets height\n b1.setWidth(4); // sets width\n b1.setLength(6); //sets length\n \n System.out.println(b1.toString()); //displays mesurements\n \n Box b2 = new Box(3, 4, 5); // instantiates a box using the constructor method\n System.out.println(b2.toString()); // displays mesurements\n \n Box b3 = new Box(5); // instatiates a cube using the single parameter constructor\n System.out.println(b3); // displays mesurements\n \n }",
"public static void main(String[] args) {\n\t\tPerson person = new Person();\r\n\t\tperson.setName(\"Jon Snow\");\r\n\t\tperson.setAddress(\"Castle Black, 82\");\r\n\t\tperson.setEmail(\"[email protected]\");\r\n\t\tperson.setPhone(061666666);\r\n\t\tSystem.out.println(person);\r\n\r\n\t\t// creating a instance of Staff\r\n\t\tStaff staff = new Staff();\r\n\t\tSystem.out.println();\r\n\t\tstaff.setName(\"Ned Stark\");\r\n\t\tstaff.setTitle(\"King of North\");\r\n\t\tSystem.out.println(staff);\r\n\r\n\t\t// creating a instance of Faculty\r\n\t\tFaculty faculty = new Faculty();\r\n\t\tSystem.out.println();\r\n\t\tfaculty.setName(\"Zdravko\");\r\n\t\tfaculty.setOfficeHours(40);\r\n\t\tfaculty.setRank(\"Profesor\");\r\n\t\tSystem.out.println(faculty);\r\n\r\n\t\t// creating a instance og Employee\r\n\t\tEmployee employee = new Employee();\r\n\t\tSystem.out.println();\r\n\t\temployee.setName(\"Nedim\");\r\n\t\temployee.setOffice(\"Post Office\");\r\n\t\temployee.setSalary(2000);\r\n\t\tSystem.out.println(employee);\r\n\r\n\t\t// creating a instance of Student\r\n\t\tStudent student = new Student();\r\n\t\tSystem.out.println();\r\n\t\tstudent.setName(\"Ljubisa\");\r\n\t\tstudent.setStatus(2);\r\n\t\tSystem.out.println(student);\r\n\t}",
"public static void main(String arg[]) {\n Shape s ;\n s= new Shape() ;\n s.draw();\n s= new Rectange();\n s.draw();\n}",
"public static void main(String[] args) {\n\t\t\r\n\t\tInstitude i1=new Institude(10,\"Pune\",new Branch(11,\"Bas\",new Subject(20,\"Java\",new Topic\r\n\t\t\t\t(30,\"Method Overloading\",new SubTopic(40,\"Method Overriding\",new Question(50,\"What is class\"))))));\r\n\t\t\r\n\t\tSystem.out.println(i1);\r\n\t\t\r\n\t\t\r\n//\t\tInstitude i1=new Institude();\r\n//\t\ti1.setId(10);\r\n//\t\ti1.setName(\"Pune\");\r\n//\t\t\r\n//\t\tBranch b1=new Branch();\r\n//\t\tb1.setId(11);\r\n//\t\tb1.setName(\"Bsc\");\r\n//\t\t\r\n//\t\tSubject s1=new Subject();\r\n//\t\ts1.setId(20);\r\n//\t\ts1.setName(\"Java\");\r\n//\t\t\r\n//\t\tTopic t1=new Topic();\r\n//\t\tt1.setId(30);\r\n//\t\tt1.setName(\"Method Overloading\");\r\n//\t\t\r\n//\t\tSubTopic s2=new SubTopic();\r\n//\t\ts2.setId(40);\r\n//\t\ts2.setName(\"Method overriding\");\r\n//\t\t\r\n//\t\tQuestion q1=new Question();\r\n//\t\tq1.setId(50);\r\n//\t\tq1.setName(\"What is Class ?\");\r\n//\t\t\r\n//\t\t\r\n//\t\ti1.setB1(b1);\r\n//\t\tb1.setS1(s1);\r\n//\t\ts1.setT1(t1);\r\n//\t\tt1.setSt(s2);\r\n//\t\ts2.setQ1(q1);\r\n//\t\t\r\n//\t\tSystem.out.println(i1);\r\n\t\r\n\t\t}",
"public static void main(String[] args) {\n\t\tStudent2 s2 = new Student2(123, \"Hans\", \"UP\", 'I');\r\n\t\tSystem.out.println(s2.id + \" \" + s2.name + \" \" + s2.address);\r\n\t\t// creating multiple object of same type.\r\n\t\tStudent2 s3 = new Student2(123, \"mohan\", \"Naini\", 'N'), s4 = new Student2(123, \"rani\", \"nainital\", 'u');\r\n\t}",
"Petunia() {\r\n\t\t}",
"static Football getFootBall(){\n return new Football();\n }",
"public static void main (String [] args) {\n BabyName b1 = new BabyName (\"Krystal\", true, 12321452, 1995);\n System.out.println(b1);\n BabyName b2 = new BabyName (\"Max\", false, 12425234, 1989);\n System.out.println(b2);\n }",
"public static void main(String[] args){ Rectangle box1 = new Rectangle(5,4);\n// System.out.println(box1.getArea());\n// System.out.println(box1.getPerimeter());\n//// Rectangle box2 = new Square(5);\n// System.out.println(box2.getArea());\n// System.out.println(box2.getPerimeter());\n//\n Measurable box1 = new Square(5);\n System.out.println(\"Square \" + box1.getPerimeter());\n System.out.println(\"Square \" + box1.getArea());\n box1 = new Rectangle(4,5);\n System.out.println(\"Rectangle \" + box1.getPerimeter());\n System.out.println(\"Rectangle \" + box1.getArea());\n }",
"public Individual()\r\n\t{\r\n\t}",
"public static void main(String[] args) {\n Animal zebra=new Animal(\"Pol\", \"Male\", 11, \"Zebra\");\n zebra.sleep();\n zebra.walk();\n zebra.eat();\n \n Animal giraffe=new Animal(\"Necky\",\"Female\",23,\"Giraffe\");\n giraffe.sleep();\n giraffe.walk();\n giraffe.eat();\n \n \n}",
"public static void main(String args[]){\n\n\t\tDog myDog = new Dog();\n\t\t//DomasticAnimal yourDog = new Dog();//valid\n\t\t//Animal herDog = new Dog();//valid\n\t\tmyDog.pet();\n\t\tmyDog.makeNoice();\n\t\tmyDog.sleep();\n\t\tmyDog.eat();\n\t\t\n\t\tLion girLion1 = new Lion();\n\t\t//WildAnimal girLion2 = new Lion();//valid\n\t\t//Animal girLion3 = new Lion();//valid\n\t\tgirLion1.hunt();\n\t\tgirLion1.makeNoice();\n\t\tgirLion1.sleep();\n\t\tgirLion1.eat();\n\t\t\n\t}",
"public static void main(String[] args) {\n\n\n\n Scanner sc = new Scanner(System.in);\n Thing thing = new Thing();\n\n MyObject object = new MyObject();\n\n object.name = \"Lancelot\";\n object.number = 1;\n\n System.out.println(\"My name is \" + object.name + \" I'm number \" + 1);\n object.test();\n\n thing.num = 5;\n thing.word = \"hello\";\n\n Thing thing2 = new Thing();\n\n thing2.word = \"whatever\";\n thing2.num = 21;\n\n// System.out.println(thing.num + thing2.num);\n\n thing.foo();\n\n thing2.foo();\n\n ///// Data structures ///////\n\n Employee emp = new Employee();\n Employee emp2 = new Employee();\n Employee emp3 = new Employee();\n\n emp.name = \"Jeff\";\n emp.age = 32;\n emp.jobTitle =\"Construction Worker\";\n\n emp2.name = \"Sara\";\n emp2.age = 28;\n emp2.jobTitle = \"School Teacher\";\n\n emp3.name = \"Lancelot\";\n emp3.age = 41;\n emp3.jobTitle = \"The most interesting man in world\";\n\nbar(emp3);\nbar(emp);\nbar(emp2);\n}",
"Classroom() {}",
"private SingleObject()\r\n {\r\n }",
"public static void main(String[] args) {\n llama coolAnimal = new llama();\n llama.giveName();\n llama.giveGender();\n llama.name = \"joe the llama papa\";\n llama.gender = \"male\";\n llama.giveName();\n llama.giveGender();\n unicorn.giveName();\n unicorn.giveGender();\n\n }",
"public SnakesAndLadders()\n {\n this(2);\n }",
"public static void main (String[] args) \n\t {\n\t Animal an1 = new Animal(\"Bobby\", \"ocean\",120,\"medium\", 12);\n\t System.out.println(an1.getName());\n\t \t an1.setName(\"Tom\");\n\t System.out.println(\" changed to: \"+ an1.getName());\n\t System.out.println(\" Energy level after sleep changed to: \" + an1.sleep());\n\t \n\t Animal an2 = new Animal(\"Bobby\", \"ocean\",120,\"medium\", 12);\n\n\t \t \n}",
"public ThreeDiceApp()\n {\n t1 = new Thrower();\n\n m1 = new Betting();\n m1.setLocation( 350, 300 );\n\n }",
"stu m2(){\n\t\tstu s = new stu();\r\n\t\tSystem.out.println(\"method m2\");\r\n\t\treturn s;\r\n\t}",
"public static void main(String[] args) {\n\t\tObject o1=new Object();\r\n\t\tObject o2=new RbiBank();\r\n\t\tObject o3=new HdfcBank();\r\n\t\tObject o4=new IciciBank();\r\n\t\tObject o5=\"RBG Technologies\";\r\n\t\tObject o6=10;\r\n\t\tObject o7=true;\r\n\t\r\n\t\t\r\n\r\n\t}",
"public static void main(String[] args) {\n\n Shape circle = new Circle(5);\n System.out.println(circle.getArea());\n System.out.println(circle.getCircuit());\n Shape triangle = new Triangle(3,5,4,3);\n System.out.println(triangle.getCircuit());\n System.out.println(triangle.getArea());\n Shape square = new Square(5);\n System.out.println(square.getArea());\n System.out.println(square.getCircuit());\n\n Person person = new Person(\"Grzegorz\",40,new Medical(1111,\"Kierowanie Karetką\"));\n System.out.println(person.getResponsibilities());\n\n }",
"public static void main(String[] args) {\n\t\tHeros h1 = new Heros(\"timi\", 123.5, 0.8, 100, 95);\r\n\t\tSupports s1 = new Supports(\"daqiao\", 200.2, 0.3, 50, 80, 30);\r\n\t\ts1.healself();\r\n\t\ts1.heal(h1);\r\n\t\tSystem.out.println(h1.life);\r\n\t\tSystem.out.println(s1.life);\r\n\t\ts1.run();\r\n\t\tHeros ssx = new Heros();\r\n\t\tADheros ad1 = new ADheros();\r\n\t\tAPheros ap1 = new APheros();\r\n\t\tssx.kill(ad1);\r\n\t\tssx.kill(ap1);\r\n\t\tItems it1 = new Items(\"Paul\");\r\n\t\tItems it2 = new Items(\"Kobe\", 180);\r\n\t\tSystem.out.println(it1.toString());\r\n\t\tSystem.out.println(it1.equals(s1));\r\n\t\tSystem.out.println(it1.equals(it2));\r\n\t\t\r\n\t\tOuterClass oc1 = new OuterClass(10);\r\n\t\tOuterClass.InnerClass in1 = oc1.new InnerClass(); //内部类实例化的固定格式!\r\n\t\tSystem.out.println(in1.getOa());\r\n\t\toc1.creatClass();\r\n\r\n\t}",
"private DarthSidious(){\n }",
"public static void main(String[] args) {\n\t\t\n\t/* MyFirstÇlass my1 = new MyFirstClass(); //my -> reference variable \n\t\tMyFirstÇlass my2 = new MyFirstClass();\n\t\tMyFirstÇlass my3 = new MyFirstClass();\n\t\tMyFirstÇlass my4 = new MyFirstClass();\n\t*/\n\t\n\t\tSystem.out.println(my1.myint);\n\t\tmy1.info();\n\t\tint assign=my1.mySum();\n\t\t\n\t\tSystem.out.println(my1.mySum());\n\t\t\n\t\n\t}",
"private static void Demo2() {\n\t\tClass<?> class1 = null;\r\n\t\tClass<?> class2 = null;\r\n\t\ttry {\r\n\t\t\tclass1 = Class.forName(\"CH16.Person\");\r\n\t\t\tSystem.out.println(\"包名:\" + class1.getPackage().getName());\r\n\t\t\tSystem.out.println(\"类名:\" + class1.getName());\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\r\n\t\tclass2 = Person.class;\r\n\t\tSystem.out.println(\"包名:\" + class2.getPackage().getName());\r\n\t\tSystem.out.println(\"类名:\" + class2.getName());\r\n\r\n\t}",
"public static void main(String[] args) {\n\n\t\t\n\t\t\n\t\tAnimal animal=new Animal();\n\t\tanimal.makeNoice();\n\t\t\n\t\tHorse horse= new Horse();\n\t\thorse.makeNoice();\n\t\t\n\t\tDog dog= new Dog();\n\t\tdog.makeNoice();\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"public static void main(String[] args) {\n SingleTon ton1 = SingleTon.getInstance();\n SingleTon ton2 = SingleTon.getInstance();\n }",
"public static void main(String[] args) {\n\t\tHuman obj1 = new Man();\r\n\t\tExtendsExample obj2 = new ExtendsExample();\r\n\t\tobj2.show();\r\n\t\tobj1.eat();\r\n\t}",
"public bcm a(World paramaqu, int paramInt)\r\n/* 41: */ {\r\n/* 42:56 */ return new bdj();\r\n/* 43: */ }",
"public static void main(String[] args) {\n Student st = new Student(\"Vinod\" , 31);\n Student st1 = new Student(\"Vaghella\", 31);\n System.out.println(st.getName());\n System.out.println(st.getAge());\n System.out.println(st1.getName());\n System.out.println(st1.getAge());\n }",
"public TutorIndustrial() {}",
"Third()\n\t{\n\t\tsuper();\n\t\tSystem.out.println(\"Third level Constructor\");\n\t}",
"private static void createSingletonObject() {\n\t\tSingleton s1 = Singleton.getInstance();\n\t\tSingleton s2 = Singleton.getInstance();\n\n\t\tprint(\"S1\", s1);\n\t\tprint(\"S2\", s2);\n\t}",
"SomePlus createSomePlus();",
"public Game()//Method was given\n {\n parser = new Parser();\n player = new Player();\n }",
"public Pantry(Jam jar1, Jam jar2, Jam jar3){\r\n jam1 = jar1;\r\n jam2 = jar2;\r\n jam3 = jar3;\r\n }",
"public void firstClass(){\n }",
"public ClientOfCompanyTrips() {\n companyController = new CompanyController();\n selected = new Company();\n tripBusiness = new TripBusiness();\n trip = new Trip();\n placeBusiness = new PlaceBusiness();\n place= new Place();\n clientBusiness = new ClientBusiness();\n client = new Client();\n }",
"public static void main(String[] args) {\n for(int i=0; i<10; i++){\n Constructor c=new Constructor (i);\n c.Constructor(\"Who\");\n \n } \n }",
"public b3(){\n super();\n }",
"private TopM() {}",
"public static void main(String... args) {\n Singletone singletone = Singletone.getInstance();\n try {\n // create obj for Singletone by Accessing private Constructor of\n Class clazz = Class.forName(\"com.krushidj.singletone.Singletone\");\n // get All consturctors of the class\n Constructor[] cons = clazz.getDeclaredConstructors();\n // provide access to private constructor\n cons[0].setAccessible(true);\n Field f = (Singletone.class).getDeclaredField(\"isInstantiated\");\n f.setAccessible(true);\n f.set(true, false);\n // creating obj using the Accessed constructor\n Singletone singletone1 = (Singletone) cons[0].newInstance(null);\n System.out.println(\"singletone hashCode:::\" + singletone.hashCode());\n System.out.println(\"singletone1 hashCode:::\" + singletone1.hashCode());\n } // try\n catch (Exception e) {\n e.printStackTrace();\n }\n\n }",
"public static void main(String[] args) {\n\t\t new Jogo(); // 2nd way\n\t}",
"public abstract Member mo23408O();",
"public static void main(String[] asd){\nHuman bob = new Human(\"steve\");\nHuman b = new Human(\"chris\");\nHuman bb = new Human(\"nick\");\n\t\t\t//2. create a new Robot army of good and evil robots.\nRobot a = new Robot(\"dog\",true);\nRobot d = new Robot(\"og\",false);\nRobot c = new Robot(\"g\",false);\n\t\t\t\n\t\t\t//3. command your robot to destroy a huma\na.destroy(bb);\n\t\t}",
"public static void main(String[] args) {\n\t\tHuman a = new Human();\r\n\t\tHuman b = new Human();\r\n\t\ta.attack(b);\r\n\t\ta.showHealth();\r\n\t\tb.showHealth();\r\n\t\t\r\n\t\tWizard wizard1 = new Wizard();\r\n\t\twizard1.fireBall(a);\r\n\t\twizard1.heal(wizard1);\r\n\t\twizard1.showHealth();\r\n\t\t\r\n\t\tSamurai s1 = new Samurai();\r\n\t\ts1.howMany();\r\n\t\tSamurai s2 = new Samurai();\r\n\t\ts1.howMany();\r\n\t\ts2.howMany();\r\n\t}",
"public static void main(String[] args) {\n Toy ironMan = ToyFactory.createToy(\"Hero\", \"Iron Man\", \" I am Iron man!\", 75, null);\n Toy thanos = ToyFactory.createToy(\"Villian\", \"Thanos\", \"I am inevitable!\" , 85, \"Infinity Gaunlet\");\n // Toy redHulk = ToyFactory.createToy(\"Villian\", \"Red Hulk\", \"It culmnber time\", 50, \"cars\");\n // Toy joker = ToyFactory.createToy(\"Villian\", \"Put a smile on that face!\", \"Joker\", 75, \"Knife\");\n // System.out.println(thanos.getWeapon());\n // redHulk.another();\n\n System.out.println(ironMan.getWeapon());\n\n // ironMan.sayCatchPhrase();\n }",
"private EagerlySinleton()\n\t{\n\t}",
"public Justicar() {\n\t\tcurrentStrategy = MAGIC;\n\t\tcurrentStrategy = MELEE;\n\t}",
"public static void main(String[] args) {\n\t\tInstanceVariable h1=new InstanceVariable();\n\t\th1.name=\"zeynep\";\n\t\th1.lastName=\"celik\";\n\t\tSystem.out.println(InstanceVariable.brain);//first way\n\t\tSystem.out.println(h1.brain);//second way\n\t\tSystem.out.println(brain);//third way\n\t\tSystem.out.println(h1.eyes+\" \"+nose+\" \"+brain);\n\t\t\n\t\t\n\t\tInstanceVariable h2=new InstanceVariable();\n\t\th2.name=\"hasan\";\n\t\th2.lastName=\"celik\";\n\t\tSystem.out.println(h2.eyes+\" \"+nose+\" \"+brain);\n\t\tInstanceVariable h3=new InstanceVariable();\n\t\th3.name=\"nili\";\n\t\th3.lastName=\"celik\";\n\t\tSystem.out.println(h3.name+h3.lastName);\n\t\tSystem.out.println(h3.eyes+\" \"+nose+\" \"+brain);\n\t\t\n\t}",
"public static void main(String[] args) {Dog dog1 = new Dog();\n//\t\tdog1.name=\"Bubbly\";\n//\t\tdog1.age=5;\n//\t\tdog1.breed=\"Poodle\";\n//\t\tdog1.color=\"White\";\n//\t\t\n//\t\tSystem.out.println(dog1.name + \":\" + dog1.age + \":\" + dog1.breed + \":\" + dog1.color);\n//\t\t\n//\t\tdog1.bark();\n//\t\tdog1.eat();\n//\t\tdog1.wagTail();\n//\t\t\n//\t\tSystem.out.println(\"--------------\");\n\t\t\n\t\t\n//\t\tDog2 dog = new Dog2();\n//\t\tSystem.out.println(dog.name + \":\" + dog.age + \":\" + dog.breed + \":\" + dog.color);\n//\t\t\n\t\tDog2 dog2=new Dog2();\n\t\tSystem.out.println(dog2.name + \":\" + dog2.age + \":\" + dog2.breed + \":\" + dog2.color);\n\t\t\n//\t\tDog2 dog3=new Dog2(\"Rusty\",20,\"Bulldog\",\"Black\");\n//\t\tSystem.out.println(dog3.name + \":\" + dog3.age + \":\" + dog3.breed + \":\" + dog3.color);\n\n\t\t\n\t\t\n\t}",
"public static void main(String[] args) {\n\n House house=new House.HouseBuilder().build();\n\n House house1=new House.HouseBuilder()\n .addGarage(true)\n .addGarden(new Garden())\n .addRooms(5)\n .addWindows(10)\n .build();\n\n\n\n\n House houseWithoutGarden=new House.HouseBuilder().addGarage(true).addRooms(5).addWindows(10).build();\n\n }",
"public static void main(String[] args) {\nSystem.out.println(\"Hello World.....!!!!\");\r\nHello_World e3=new Hello_World(1,2,3);\r\nHello_World e6=new Hello_World(1,2,3);\r\nHello_World e7=new Hello_World(1,2,3);\r\nHello_World e4=new Hello_World();\r\nHello_World e5=new Hello_World();\r\nHello_World e1=new Hello_World(\"ABC\",\"1\"); \r\nHello_World e2=new Hello_World(\"ABC\",\"1\"); \r\nSystem.out.println(\"Number of Hello_World objects created =\"+ objectcount);\r\n}",
"public static void main(String[] args) {\n person p1;\n person p2;\n \n p1 = new person(); //using the constructor\n p2 = new person(\"Arianna\", 16, false);\n \n p1.birthday();\n p2.funeral();\n }",
"public Climber(){\n\t\tinst = this;\n\t}",
"public Person(){\n count++;\n System.out.println(\"Creating an object\");\n }",
"private TweetRiver() { }",
"@Test\n public void rentCatTest2(){\n Cat cat = new Cat(1, \"Cat\", 20, false);\n cat.rentCat(\"Steve\");\n assertEquals(cat.getRenter(), \"Steve\");\n assertTrue(cat.getRented());\n\n cat.rentCat(\"Terry\");\n assertEquals(cat.getRenter(), \"Terry\");\n assertTrue(cat.getRented());\n }",
"ClassType outer();"
] |
[
"0.60705197",
"0.6019863",
"0.5933533",
"0.58267945",
"0.57430744",
"0.5731387",
"0.57097036",
"0.56878483",
"0.56878483",
"0.5647084",
"0.56129134",
"0.55798924",
"0.5575958",
"0.55658305",
"0.55500937",
"0.5542211",
"0.5526273",
"0.5522114",
"0.5506702",
"0.5487817",
"0.547597",
"0.54410654",
"0.54263806",
"0.5423914",
"0.54191947",
"0.5387522",
"0.53826624",
"0.5372053",
"0.5361788",
"0.5353425",
"0.5342815",
"0.53312373",
"0.53270346",
"0.5326931",
"0.5323537",
"0.5313167",
"0.5311531",
"0.5294435",
"0.5282531",
"0.5279367",
"0.5270611",
"0.5266135",
"0.52653176",
"0.52642107",
"0.52624327",
"0.52467513",
"0.523897",
"0.52236927",
"0.5223377",
"0.5222468",
"0.5220013",
"0.5212916",
"0.52128786",
"0.5211372",
"0.5210364",
"0.5207941",
"0.52021325",
"0.51992774",
"0.5197573",
"0.51954263",
"0.51929456",
"0.5189089",
"0.51703566",
"0.5168828",
"0.5168759",
"0.51676315",
"0.5165676",
"0.51647246",
"0.51628697",
"0.51624244",
"0.51617575",
"0.5160614",
"0.515879",
"0.51533085",
"0.51521707",
"0.51517963",
"0.5150334",
"0.5149351",
"0.5131298",
"0.5128367",
"0.5123859",
"0.5109466",
"0.5105153",
"0.51046365",
"0.5103273",
"0.51030225",
"0.5098472",
"0.5094173",
"0.509402",
"0.5091919",
"0.5089329",
"0.5087229",
"0.5079146",
"0.5077451",
"0.5073992",
"0.5067638",
"0.5061578",
"0.50604856",
"0.5059427",
"0.5055017",
"0.50533074"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void mouseClicked(MouseEvent arg0) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void mouseEntered(MouseEvent arg0) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
"0.6076905",
"0.6041205",
"0.6024897",
"0.60200036",
"0.59985113",
"0.5967729",
"0.5967729",
"0.5965808",
"0.5949083",
"0.5941002",
"0.59236866",
"0.5909713",
"0.59030116",
"0.589475",
"0.58857024",
"0.58837134",
"0.586915",
"0.58575684",
"0.5850424",
"0.5847001",
"0.5824116",
"0.5810248",
"0.5809659",
"0.58069366",
"0.58069366",
"0.5800507",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.57900196",
"0.5790005",
"0.578691",
"0.578416",
"0.578416",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5761079",
"0.57592577",
"0.57592577",
"0.5749888",
"0.5749888",
"0.5749888",
"0.5748457",
"0.5733414",
"0.5733414",
"0.5733414",
"0.57209575",
"0.57154554",
"0.57149583",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.571194",
"0.57043016",
"0.56993437",
"0.5696782",
"0.5687825",
"0.5677794",
"0.5673577",
"0.5672046",
"0.5669512",
"0.5661156",
"0.56579345",
"0.5655569",
"0.5655569",
"0.5655569",
"0.56546396",
"0.56543446",
"0.5653163",
"0.56502634"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void mouseExited(MouseEvent arg0) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void mousePressed(MouseEvent arg0) {
int x = arg0.getX();
int y = arg0.getY();
//send mouse x and y to the justin object's collision mode
justin.collided(x, y);
//justin2.collided(x, y);
//justin3.collided(x, y);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void mouseReleased(MouseEvent arg0) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void actionPerformed(ActionEvent arg0) {
repaint();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
"0.6076905",
"0.6041205",
"0.6024897",
"0.60200036",
"0.59985113",
"0.5967729",
"0.5967729",
"0.5965808",
"0.5949083",
"0.5941002",
"0.59236866",
"0.5909713",
"0.59030116",
"0.589475",
"0.58857024",
"0.58837134",
"0.586915",
"0.58575684",
"0.5850424",
"0.5847001",
"0.5824116",
"0.5810248",
"0.5809659",
"0.58069366",
"0.58069366",
"0.5800507",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.57900196",
"0.5790005",
"0.578691",
"0.578416",
"0.578416",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5761079",
"0.57592577",
"0.57592577",
"0.5749888",
"0.5749888",
"0.5749888",
"0.5748457",
"0.5733414",
"0.5733414",
"0.5733414",
"0.57209575",
"0.57154554",
"0.57149583",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.571194",
"0.57043016",
"0.56993437",
"0.5696782",
"0.5687825",
"0.5677794",
"0.5673577",
"0.5672046",
"0.5669512",
"0.5661156",
"0.56579345",
"0.5655569",
"0.5655569",
"0.5655569",
"0.56546396",
"0.56543446",
"0.5653163",
"0.56502634"
] |
0.0
|
-1
|
delete active recordset ElecDevices
|
public void deleteElecDevices(ElecDevices activeED){
EntityManager em = getEntityManager();
EntityTransaction tx = null;
try{
tx = em.getTransaction();
tx.begin();
em.remove(activeED);;
tx.commit();
}catch(Exception re)
{
if(tx!=null)
System.out.println("Erreur : annulation des changements");
tx.rollback();
}finally{
closeEntityManager();
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void deleteDevices(){\n SQLiteDatabase db = getWritableDatabase();\n db.execSQL(\"delete from \"+devicesContract.deviceEntry.tableName);\n db.close();\n }",
"int deleteByPrimaryKey(Integer deviceId);",
"int deleteAllComponents(RecordSet inputRecords);",
"int deleteByPrimaryKey(String deviceNo);",
"int deleteByExample(DeviceExample example);",
"public void deleteTableRecords()\n {\n coronaRepository.deleteAll();\n }",
"void deleteAllCopiedComponent(RecordSet compRs);",
"int deleteByExample(TVmManufacturerExample example);",
"@Override\n public void onDeleteButtonClick(int position) {\n UserDevicesDB selected_aube = userDevicesDBList.get(position);\n\n // TO DO --> action to delete this device by device address\n Toast.makeText(getContext(), R.string.coming_soon, Toast.LENGTH_SHORT ).show();\n }",
"protected void deleteRecord() throws DAOException {\r\n\t\t// Elimina relaciones\r\n\t\tfor (Sedrelco relco : object.getRelcos()) {\r\n\t\t\tsedrelcoDao.delete(relco);\r\n\t\t}\r\n\t\t// Elimina objeto\r\n\t\tobjectDao.delete(object);\r\n\t}",
"public void removeFromStorage() throws Exception {\n String baseUrl = REST_URL + \"/core/device\";\n\n Treespace t = dbService.getControllerTreespace();\n String qStr =\n String.format(\"/core/device[id=\\\"%s\\\"]/security-ip-address\",\n eKey);\n Query q = Query.parse(qStr);\n t.deleteData(q, AuthContext.SYSTEM);\n }",
"public int removeCustomDevice(String id);",
"@Test\n public void deleteDeviceTest() throws ApiException {\n String deviceId = null;\n // DeviceEnvelope response = api.deleteDevice(deviceId);\n\n // TODO: test validations\n }",
"int deleteByExample(CmstTransfdeviceExample example);",
"public void deleteAllArtisti() throws RecordCorrelatoException;",
"public com.google.protobuf.Empty deleteDevice(org.thethingsnetwork.management.proto.HandlerOuterClass.DeviceIdentifier request);",
"@Override\n\tpublic int deleteAll() {\n\t\treturn SApplicationcategorydao.executeHql(\"delete from \"+tablename);\n\t}",
"int deleteByPrimaryKey(String EQP_MODEL_ID);",
"public int deleteDevice(String id){\n SQLiteDatabase db = getReadableDatabase();\n int delete_count = db.delete(TABLE_NAME, COLUMN_ID + \"=?\", new String[]{id});\n close();\n return delete_count;\n }",
"@Override\n\tpublic void delRec() {\n\t\t\n\t}",
"private void deleteRecord(){\n if (mCurrentSymptomUri != null) {\n // pull out the string value we are trying to delete\n mEditSymptomText = findViewById(R.id.edit_symptoms);\n String deleteTry = mEditSymptomText.getText().toString();\n\n // set up the ContentProvider query\n String[] projection = {_IDST, SymTraxContract.SymTraxTableSchema.C_SYMPTOM};\n String selectionClause = SymTraxContract.SymTraxTableSchema.C_SYMPTOM + \" = ? \";\n String[] selectionArgs = {deleteTry};\n\n Cursor c = getContentResolver().query(\n SYM_TRAX_URI,\n projection,\n selectionClause,\n selectionArgs,\n null );\n\n // if there are no instances of the deleteTry string in the Machines DB\n // Go ahead and try to delete. If deleteTry value is in CMachineType column do not delete (no cascade delete)\n if (!c.moveToFirst()){\n int rowsDeleted = getContentResolver().delete(mCurrentSymptomUri, null, null);\n if (rowsDeleted == 0) {\n Toast.makeText(this, getString(R.string.delete_record_failure),\n Toast.LENGTH_SHORT).show();\n } else {\n Toast.makeText(this, getString(R.string.delete_record_success),\n Toast.LENGTH_SHORT).show();\n }\n c.close();\n finish(); // after deleting field value\n } else {\n c.close();\n showNoCascadeDeleteDialog();\n }\n }\n }",
"public static void deleteAll() {\n String sql = \"DELETE FROM articulo\";\n try(Connection conn = connect();\n PreparedStatement pstmt = conn.prepareStatement(sql)){\n pstmt.executeUpdate();\n }\n catch(SQLException e) {\n System.out.println(\"Error al eliminar en la base de datos.\");\n //Descomentar la siguiente linea para mostrar el mensaje de error.\n //System.out.println(e.getMessage());\n }\n }",
"@Override\n\tpublic boolean deleteDevice(int deviceId) {\n\t\t\n\t\treturn dao.deleteDevice(deviceId);\n\t}",
"@Override\r\n public boolean deleteAll(String strTable)\r\n { try\r\n { String strSQL = \"DELETE * FROM \" + strTable;\r\n status(strSQL);\r\n dbCmdText.executeUpdate(strSQL);\r\n\r\n // dbRecordset.close();\r\n } catch (SQLException e)\r\n {\r\n e.printStackTrace();\r\n }\r\n return false;\r\n }",
"public abstract void removeDevice(Context context, NADevice device);",
"@Override\n\tpublic String deleteByPrimaryKey(Familynames record, Model m) throws Exception {\n\t\treturn null;\n\t}",
"int deleteSellMediaByExample(SellMediaExample example) throws SQLException;",
"public String delete() {\r\n\t\tVendorMasterModel model = new VendorMasterModel();\r\n\t\tmodel.initiate(context, session);\r\n\t\tboolean result = model.delete(vendorMaster);\r\n\t\tif (result) {\r\n\t\t\taddActionMessage(\"Record Deleted Successfully.\");\r\n\t\t\treset();\r\n\t\t}// end of if\r\n\t\telse {\r\n\t\t\taddActionMessage(\"This record is referenced in other resources.So can't delete.\");\r\n\t\t\treset();\r\n\t\t}// end of else\r\n\t\tmodel.Data(vendorMaster, request);\r\n\t\tmodel.terminate();\r\n\t\tgetNavigationPanel(1); \r\n\t\treturn \"success\";\r\n\t}",
"@Override\n\tpublic void delete(CelPhone celphone) {\n\t\t\n\t}",
"public void deleteAll();",
"private void deleteTestDataSet() {\n LOG.info(\"deleting test data set...\");\n try {\n Statement stmt = _conn.createStatement();\n stmt.executeUpdate(\"DELETE FROM tc8x_pks_person\");\n stmt.executeUpdate(\"DELETE FROM tc8x_pks_employee\");\n stmt.executeUpdate(\"DELETE FROM tc8x_pks_payroll\");\n stmt.executeUpdate(\"DELETE FROM tc8x_pks_address\");\n stmt.executeUpdate(\"DELETE FROM tc8x_pks_contract\");\n stmt.executeUpdate(\"DELETE FROM tc8x_pks_category\");\n stmt.executeUpdate(\"DELETE FROM tc8x_pks_project\");\n } catch (Exception e) {\n LOG.error(\"deleteTestDataSet: exception caught\", e);\n }\n }",
"int deleteByPrimaryKey(PersonRegisterDo record);",
"int deleteByExample(TbProductAttributesExample example);",
"public NodeSet deleteTerminalDevice() throws JNCException {\n this.terminalDevice = null;\n String path = \"terminal-device\";\n return delete(path);\n }",
"public void deleteRecord() {\n// foods.clear();\n// try {\n// FoodRecordDao dao = new FoodRecordDao();\n// dao.saveFoodRecords(foods);\n// } catch (DaoException ex) {\n// Logger.getLogger(FoodLogViewController.class.getName()).log(Level.SEVERE, null, ex);\n// }\n }",
"public void DeleteAllRecordsInTable() {\n\n final List<Address> gndPlan = GetAllRecordsFromTable();\n for (int i = 0; i < gndPlan.size(); i++) {\n\n gndPlan.get(i).delete();\n //delete all item in table House\n }\n\n }",
"public void delete() {\n\t\ttry {\n\t\t\tStatement stmt = m_db.m_conn.createStatement();\n\t\t\tString sqlString;\n\t\t\tString ret;\n\n\t\t\tsqlString = \"DELETE from country WHERE countryid=\" + m_country_id;\n\t\t\tm_db.runSQL(sqlString, stmt);\n\t\t\tstmt.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\">>>>>>>> EXCEPTION <<<<<<<<\");\n\t\t\tSystem.out.println(\"An Exception occured in delete().\");\n\t\t\tSystem.out.println(\"MESSAGE: \" + e.getMessage());\n\t\t\tSystem.out.println(\"LOCALIZED MESSAGE: \" + e.getLocalizedMessage());\n\t\t\tSystem.out.println(\"CLASS.TOSTRING: \" + e.toString());\n\t\t\tSystem.out.println(\">>>>>>>>>>>>>-<<<<<<<<<<<<<\");\n\t\t}\n\t}",
"@Override\r\n public void removeAll() {\r\n EntityManager em = PersistenceUtil.getEntityManager();\r\n em.getTransaction().begin();\r\n Query query = em.createQuery(\"DELETE FROM Assunto \");\r\n query.executeUpdate();\r\n em.getTransaction().commit();\r\n }",
"int deleteByExample(TbComEqpModelExample example);",
"public void delete(ControlAcceso entity) {\n\n\t}",
"@Override\r\n\tpublic boolean deleteAll_de() throws Exception {\n\t\treturn tableDao.deleteAll_de();\r\n\t}",
"int deleteByExample(NjProductTaticsRelationExample example);",
"@Override\n\tpublic int deleteByPrimaryKey(String modelid) {\n\t\treturn equipmentSetvalMapper.deleteByPrimaryKey(modelid);\n\t}",
"public de.epages.ws.product.model.TDelete_Return[] delete(java.lang.String[] products) throws java.rmi.RemoteException;",
"public void deleteAllState() {\n\r\n SQLiteDatabase db2 = this.getWritableDatabase();\r\n db2.delete(TABLE_SOS2, null, null);\r\n /*\r\n Cursor cursor = db.rawQuery(selectQuery, null);\r\n\r\n // looping through all rows and adding to list\r\n if (cursor.moveToFirst()) {\r\n do {\r\n String id = cursor.getString(0);\r\n String name = cursor.getString(1);\r\n String phone = cursor.getString(2);\r\n //Log.e(\"DEBUG\", \"ID= \" + id+\" NAME= \"+name+\" PHONE= \"+phone);\r\n if (id == null || name == null || phone == null){\r\n return;\r\n }\r\n deleteData(Integer.parseInt(id));\r\n\r\n } while (cursor.moveToNext());\r\n }*/\r\n }",
"public void deleteRecord() throws LRException\n\t{\n\t\tDataHRecordData myData=(DataHRecordData)getData();\n\t\tgetBackground();\n\t\ttry\n\t\t{\n\t\t\tmyData.record.delete(background.getClient());\n\t\t}\n\t\tcatch (LDBException e) { setStatus(e); }\n\t}",
"public void delete() {\n \t\t try(Connection con = DB.sql2o.open()) {\n \t\t\t String sql = \"DELETE FROM sightings where id=:id\";\n\t\t\t con.createQuery(sql)\n\t\t\t.addParameter(\"id\", this.id)\n\t\t\t.executeUpdate();\n\n \t\t }\n \t }",
"public void deleteInst() {\n\t\tlogger.debug(\"DeviceNameTableTester has been stopped\");\n\t}",
"int deleteByPrimaryKey(String vendorid);",
"int deleteByPrimaryKey(Integer productAttributesId);",
"@Override\r\n\tpublic void delete(TQssql sql) {\n\r\n\t}",
"public boolean del() {\n return db.delete (TABLE, createWhere());\n }",
"int deleteByExample(PaasCustomAutomationRecordExample example);",
"public void removeOldRecords();",
"int deleteByExample(Assist_tableExample example);",
"public void deleteAll();",
"public void deleteAll();",
"public void deleteAll();",
"@Test\n public void deleteTest() throws SQLException {\n manager = new TableServizioManager(mockDb);\n manager.delete(1);\n Servizio servizio= manager.retriveById(1);\n assertNull(servizio,\"Should return true if delete Servizio\");\n }",
"@FXML\r\n public void deleteTreatmentButton(){\r\n int sIndex = treatmentTabletv.getSelectionModel().getSelectedIndex();\r\n String sID = treatmentData.get(sIndex).getIdProperty();\r\n\r\n String deleteTreatment = \"delete from treatment where treatmentID = ?\";\r\n try{\r\n ps = mysql.prepareStatement(deleteTreatment);\r\n ps.setString(1,sID);\r\n ps.executeUpdate();\r\n ps.close();\r\n ps = null;\r\n\r\n } catch (SQLException e) {\r\n e.printStackTrace();\r\n //maybe more in this exception\r\n }\r\n\r\n treatmentData.remove(sIndex);\r\n }",
"IDeviceState deleteDeviceState(UUID id) throws SiteWhereException;",
"private void clearData() {\n em.createQuery(\"delete from ViajeroEntity\").executeUpdate();\n }",
"public void clearProteges(){\n ActiveAndroid.execSQL(\"delete from proteges\");\n }",
"@Override\n\tpublic void delete(Iphone iphone) {\n\t\t\n\t}",
"@Test\r\n\tpublic void testExecuteCommandsDeleteAdl() throws Exception {\r\n\t\t\r\n\t\tadvertising.executeCommand(advertising, \"adl delete --Name L1-r-medical\");\r\n\t\tassertTrue(\"adc all\", true);\r\n\t\t\r\n\t}",
"private void clearData() {\r\n em.createQuery(\"delete from MonitoriaEntity\").executeUpdate();\r\n }",
"public void del(Connection con) \n throws qdbException\n {\n try {\n PreparedStatement stmt = con.prepareStatement(\n \" DELETE From DisplayOption WHERE \" \n + \" dpo_res_id = ? AND \" \n + \" dpo_view = ? \" );\n \n stmt.setLong(1,dpo_res_id);\n stmt.setString(2,dpo_view); \n \n stmt.executeUpdate(); \n stmt.close();\n \n } catch(SQLException e) {\n throw new qdbException(\"SQL Error: \" + e.getMessage()); \n }\n }",
"@Override\n\t\tpublic void delete() {\n\n\t\t}",
"public void deleteRecords(LVValue expression) throws LRException\n\t{\n\t\tDataHRecordData myData=(DataHRecordData)getData();\n\t\tgetBackground();\n\t\tmyData.record=createRecord(myData.spec,null);\n\t\ttry\n\t\t{\n\t\t\tmyData.record.deleteRecords(background.getClient(),expression.getStringValue());\n\t\t}\n\t\tcatch (LDBException e) { setStatus(e); }\n\t}",
"public void removeDeviceServiceLink();",
"public synchronized void delete() {\n if (this.swigCPtr != 0) {\n if (this.swigCMemOwn) {\n this.swigCMemOwn = false;\n libVisioMoveJNI.delete_VgIDatabaseDatasetDescriptor(this.swigCPtr);\n }\n this.swigCPtr = 0;\n }\n }",
"public String delete1() throws Exception {\r\n\t\tString code[] = request.getParameterValues(\"hdeleteCode\");\r\n\t\tVendorMasterModel model = new VendorMasterModel();\r\n\t\tmodel.initiate(context, session);\r\n\t\tboolean result = model.deletecheckedRecords(vendorMaster, code);\r\n\t\tif (result) {\r\n\t\t\taddActionMessage(getText(\"delMessage\", \"\"));\r\n\t\t}// end of if\r\n\t\telse {\r\n\t\t\taddActionMessage(\"One or more records can't be deleted \\n as they are associated with some other records. \");\r\n\t\t}// end of else\r\n\r\n\t\tmodel.Data(vendorMaster, request);\r\n\t\tmodel.terminate();\r\n\t\treset();\r\n\t\tgetNavigationPanel(1);\r\n\t\treturn \"success\";\r\n\r\n\t}",
"public void delete() {\n\n\t}",
"@Override\n\tpublic int deleteByExample(EquipmentSetvalExample example) {\n\t\treturn equipmentSetvalMapper.deleteByExample(example);\n\t}",
"public boolean delete(Object[] obj) {\n\t\tString sql=\"delete from services where ServiceID=?\";\n\t\tDbManager db=new DbManager();\n\n\t\treturn db.execute(sql, obj);\n\t}",
"@Test\n final void testDeleteDevice() {\n when(deviceDao.deleteDevice(user, DeviceFixture.SERIAL_NUMBER)).thenReturn(Long.valueOf(1));\n ResponseEntity<String> response = deviceController.deleteDevice(DeviceFixture.SERIAL_NUMBER);\n assertEquals(200, response.getStatusCodeValue());\n assertEquals(\"Device with serial number 1 deleted\", response.getBody());\n }",
"@Override\n\tpublic String deleteBatch() throws Exception {\n\t\treturn null;\n\t}",
"public void deleteResultSet(BackendDeleteDTO del_req) {\n log.debug(\"JZKitBackend::deleteResultSet\");\n del_req.assoc.notifyDeleteResult(del_req);\n }",
"private void delete() {\n\n\t}",
"public void deleteAll() {\n\n\t}",
"@Delete({\n \"delete from spec_value\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int deleteByPrimaryKey(Integer id);",
"@Override\n\tpublic boolean DeleteElement(SubjectClassRegistrationEntity objT) throws SQLException {\n\t\treturn false;\n\t}",
"public void delRelations();",
"private void deleteAllPets() {\n// int rowsDeleted = getContentResolver().delete(ArtistsContracts.GenderEntry.CONTENT_URI, null, null);\n// Log.v(\"CatalogActivity\", rowsDeleted + \" rows deleted from pet database\");\n }",
"@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}",
"@Override\n\tpublic void doDelete(String product) throws SQLException {\n\t\t\n\t}",
"private void delete() {\n AltDatabase.getInstance().getAlts().remove(getCurrentAsEditable());\n if (selectedAccountIndex > 0)\n selectedAccountIndex--;\n updateQueried();\n updateButtons();\n }",
"public void adm1() {\n\t\ttry { // Delete all table contents\n\t\t\tstatement = connection.createStatement();\n\t\t\tstatement.executeQuery(\"delete from PLANE\");\n\t\t\tstatement.executeQuery(\"delete from FLIGHT\");\n\t\t\tstatement.executeQuery(\"delete from PRICE\");\n\t\t\tstatement.executeQuery(\"delete from CUSTOMER\");\n\t\t\tstatement.executeQuery(\"delete from RESERVATION\");\n\t\t\tstatement.executeQuery(\"delete from DETAIL\");\n\t\t\tstatement.executeQuery(\"delete from OUR_DATE\");\n\t\t\tstatement.executeQuery(\"delete from AIRLINE\");\n\t\t} catch(SQLException Ex) {System.out.println(\"Error running the sample queries. Machine Error: \" + Ex.toString());}\n\t\tSystem.out.println(\"DATABASE ERASED\");\n\t}",
"public void deleteResult(int scanId, String technology, String address){\n if(technology.equals(\"Bluetooth\"))\n db.delete(DATABASE_TABLE_BTRESULTS,\"_id=\"+scanId+\" AND DeviceAddress='\"+address+\"'\" ,null);\n if(technology.equals(\"Wifi\"))\n db.delete(DATABASE_TABLE_WIFIRESULTS,\"_id=\"+scanId+\" AND BSSID='\"+address+\"'\" ,null);\n }",
"@Override\n\tpublic void delete() {\n\t\tSystem.out.println(\"Mobile Customer delete()\");\n\t}",
"public void removeAll(){\n SQLiteDatabase db = this.getWritableDatabase();\n db.delete(TABLE_GAS_SENSOR, null, null);\n // db.delete(DatabaseHelper.TAB_USERS_GROUP, null, null);\n }",
"int deleteByPrimaryKey(String taxregcode);",
"@Override\n\tpublic void delete() {\n\t\tSystem.out.println(\"Mysql DB 서버에 접속해서 삭제를 하다.\");\n\t}",
"void deleteAll();",
"void deleteAll();",
"void deleteAll();",
"public void removeContact() {\r\n int selection = getContactSelection().getMinSelectionIndex();\r\n Statement stmt = null;\r\n try {\r\n rowSet.absolute(selection+1);\r\n Connection con = rowSet.getConnection();\r\n stmt = con.createStatement();\r\n String sql = \"delete from \" + CONTACTS_TABLE + \" where \" + CONTACTS_KEY + \" = \" + rowSet.getObject(CONTACTS_KEY);\r\n stmt.executeUpdate(sql);\r\n rowSet.execute();\r\n } catch (SQLException sqlex) {\r\n sqlex.printStackTrace();\r\n } finally {\r\n if (stmt != null) {\r\n try {\r\n stmt.close();\r\n } catch (SQLException sqlex) {\r\n sqlex.printStackTrace();\r\n }\r\n }\r\n }\r\n }"
] |
[
"0.73003477",
"0.6431612",
"0.6426504",
"0.6424282",
"0.6311436",
"0.6181604",
"0.60884196",
"0.6025627",
"0.6007307",
"0.5908887",
"0.5900853",
"0.58934164",
"0.58908606",
"0.5890814",
"0.5858275",
"0.58574426",
"0.58518857",
"0.5848847",
"0.5769962",
"0.57677907",
"0.5754958",
"0.5751304",
"0.57466155",
"0.57331735",
"0.57300496",
"0.5729427",
"0.5724752",
"0.5714623",
"0.5713912",
"0.57113904",
"0.57098234",
"0.5702848",
"0.56934977",
"0.5687746",
"0.56875104",
"0.5675482",
"0.56590927",
"0.56469715",
"0.5641255",
"0.5637859",
"0.56174254",
"0.5616873",
"0.56091857",
"0.5606902",
"0.56009597",
"0.5599695",
"0.5592045",
"0.5577506",
"0.55771405",
"0.55769366",
"0.5575697",
"0.55754596",
"0.55724394",
"0.55668724",
"0.5566289",
"0.55635387",
"0.55635387",
"0.55635387",
"0.5560754",
"0.55586123",
"0.55531615",
"0.5530488",
"0.5527939",
"0.55218786",
"0.55186003",
"0.5514166",
"0.55133486",
"0.55132604",
"0.55124706",
"0.55108047",
"0.5510334",
"0.5507563",
"0.55031097",
"0.55030334",
"0.5497044",
"0.54950136",
"0.5493533",
"0.54930377",
"0.5491385",
"0.547022",
"0.5463024",
"0.5460668",
"0.546017",
"0.5456576",
"0.54564476",
"0.54564476",
"0.54564476",
"0.54564476",
"0.54546434",
"0.5453229",
"0.54504794",
"0.54502904",
"0.54474807",
"0.54468274",
"0.54446685",
"0.5441703",
"0.54399484",
"0.54399484",
"0.54399484",
"0.5436258"
] |
0.73700935
|
0
|
Creates new form Categoria
|
public Categoria() {
initComponents();
desabilitarComponentes();
carregarTabela();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Categorie addCategorie(Categorie c);",
"public VentanaCreaCategoria(VentanaPrincipal v, Categoria c) {\r\n\t\tthis.vp = v;\r\n\t\tthis.setResizable(false);\r\n\t\tthis.setLocationRelativeTo(null);\r\n\t\tsetTitle(\"Crear categor\\u00EDa\");\r\n\t\tsetBounds(100, 100, 441, 237);\r\n\t\tgetContentPane().setLayout(new BorderLayout());\r\n\t\tcontentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));\r\n\t\tgetContentPane().add(contentPanel, BorderLayout.CENTER);\r\n\t\tcontentPanel.setLayout(null);\r\n\t\tcontentPanel.add(getBtnCrear());\r\n\t\tcontentPanel.add(getBtnCancelar());\r\n\t\tcontentPanel.add(getLblNombre());\r\n\t\tcontentPanel.add(getTfNombre());\r\n\t\tcontentPanel.add(getLblSexo());\r\n\t\tcontentPanel.add(getComboSexo());\r\n\t\tcontentPanel.add(getLblEdadDesde());\r\n\t\tcontentPanel.add(getTfedadMinima());\r\n\t\tcontentPanel.add(getLblHasta());\r\n\t\tcontentPanel.add(getTfEdadMaxima());\r\n\r\n\t\t// Cargamos los datos en las tf\r\n\t\tcargarDatosCategoria(c);\r\n\t}",
"public void crearCategoria(Categoria categoria){\n categoriaRepo.save(categoria); \n }",
"@GetMapping(\"/form\")\n public String form(@RequestParam(name = \"id\", required = false, defaultValue = \"0\") int id, Model model) {\n Categoria categoria = new Categoria();\n if (id != 0) {\n categoria = categoriaService.findById(id);\n }\n model.addAttribute(\"categoria\", categoria);\n return FORM_VIEW;\n }",
"public Categorias() {\n this.id = 0;\n this.categoria = \"\";\n }",
"public View_Categoria() {\n c = new Categoria();\n daoCategoria = new Dao_CadastroCategoria();\n categorias = new ArrayList<>();\n initComponents();\n TextCodigo.setDocument(new LimitaDigitosNum(11));\n TextNome.setDocument(new LimitaDigitos(30));\n TextNomeCons.setDocument(new LimitaDigitos(30));\n atualizarTabela();\n inicio();\n }",
"public Cgg_veh_categoria(){}",
"CreateCategoryResponse createCategory(CreateCategoryRequest request);",
"public CadastrarCategoria() {\n initComponents();\n }",
"public controladorCategorias() {\r\n }",
"@Test\n public void postCadastrarCategoriaTest() throws ApiException {\n Integer productCategoryCode = null;\n String product = null;\n api.postCadastrarCategoria(productCategoryCode, product);\n\n // TODO: test validations\n }",
"public es.davinciti.liferay.model.LineaGastoCategoria create(\n\t\tlong categoriaId);",
"public AlterarCategoria() {\n initComponents();\n }",
"public void create(int id, DVD dvd, Categorie categorie);",
"private void gestionarCategoria(OperacionForm opForm, Operacion op){\r\n\t\r\n\t\t//MODIFICACION DE OPERACION\r\n\t\tif (opForm.getId()!=null){\r\n\t\t\t//Obtengo el usuario logado\r\n\t\t\tUser userLogado = userService.getUserById(((User) SecurityContextHolder.getContext().getAuthentication().getPrincipal()).getIdUser());\r\n\r\n\t\t\t//Obtengo la operacion a modificar con todas las categorizaciones\r\n\t\t\tOperacion opAntAllCat=operacionDao.findById(opForm.getId());\r\n\t\t\t\r\n\t\t\t//Obtengo la categorizacion anterior del usuario\r\n\t\t\tCategoria catAntUser=categoriaDao.findCategorizacionUsuarioByIdOperacion(opForm.getId(), userLogado.getIdUser());\r\n\r\n\t\t\t\r\n\t\t\t//Si antes no tenia y ahora si tiene\r\n\t\t\tif (catAntUser==null){\r\n\t\t\t\tif (opForm.getIdCategoria()!=null)\r\n\t\t\t\t\tcrearCategorizacion(opForm.getIdCategoria(), op);\r\n\t\t\t}\r\n\t\t\t//Si antes tenia categoria\r\n\t\t\telse{\r\n\t\t\t\t//Si ahora no tiene categoria\r\n\t\t\t\tif (opForm.getIdCategoria()==null)\r\n\t\t\t\t\tborrarCategorizacionAnterior(catAntUser, opAntAllCat);\t\t\t\t\r\n\t\t\t\t//Si ahora tiene una categoria diferente que antes\r\n\t\t\t\telse if(opForm.getIdCategoria().compareTo(catAntUser.getIdCategoria())!=0){\r\n\t\t\t\t\tborrarCategorizacionAnterior(catAntUser, opAntAllCat);\r\n\t\t\t\t\tcrearCategorizacion(opForm.getIdCategoria(), op);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t//CREAR NUEVA OPERACION\r\n\t\telse{\r\n\t\t\t//Si el usuario ha seleccionado una categoria para la operacion \r\n\t\t\tif (opForm.getIdCategoria()!=null)\r\n\t\t\t\tcrearCategorizacion(opForm.getIdCategoria(), op);\r\n\t\t}\r\n\t}",
"Category addNewCategory(Category category);",
"private void saveNewCategory() {\n String name = newCategory_name.getText()\n .toString();\n int defaultSizeType = categoryDefaultSize.getSelectedItemPosition() - 1;\n String color = String.format(\"%06X\", (0xFFFFFF & categoryColor.getExactColor()));\n int parentCategoryId = -1;\n if (parentCategory != null) {\n parentCategoryId = parentCategory.getId();\n }\n String icon = categoryIcon.getSelectedItem();\n categoryDataSource.editCategory(categoryId, name, name, parentCategoryId, defaultSizeType,\n icon, color);\n\n setResult(Activity.RESULT_OK);\n this.finish();\n }",
"public void newCategory() {\n btNewCategory().push();\n }",
"@Override\n\tpublic Categoria crearCategoria(String nombreCategoria, String descripcionCategoria) {\n\t\treturn null;\n\t}",
"public Categoria(String pNombre){\n this.nombre = pNombre;\n }",
"@RequestMapping(value = \"addCategory\", method = RequestMethod.POST)\r\n\tpublic ModelAndView addCategory(@ModelAttribute AdminFormBean formBean) {\r\n\t\tCategory category = formBean.getCategory();\r\n\t\tcategoryService.addCategory(category);\r\n\t\treturn new ModelAndView(\"redirect:/admin\");\r\n\t}",
"public void createCategory(String categoryName) {\n wait.until(ExpectedConditions.visibilityOf(driver.findElement(By.className(\"page-title\"))));\n Actions builder = new Actions(driver);\n builder.moveToElement(driver.findElement(By.id(\"subtab-AdminCatalog\")));\n builder.moveToElement(driver.findElement(By.id(\"subtab-AdminProducts\")));\n builder.moveToElement(driver.findElement(By.id(\"subtab-AdminCategories\")));\n builder.click(driver.findElement(By.id(\"subtab-AdminCategories\"))).perform();\n\n waitForContentLoad(\"Women\");\n WebElement creatNew = driver.findElement(By.id(\"page-header-desc-category-new_category\"));\n creatNew.click();\n WebElement newName = driver.findElement(By.id(\"name_1\"));\n newName.sendKeys(categoryName);\n WebElement saveBtn = driver.findElement(By.id(\"category_form_submit_btn\"));\n saveBtn.click();\n // TODO implement logic for new category creation\n if (categoryName == null) {\n throw new UnsupportedOperationException();\n }\n }",
"public String createCategory()\n {\n logger.info(\"**** In createCategory in Controller ****\");\n if (category != null && StringUtils.isNotEmpty(category.getCategoryName()))\n {\n String creationMessage = categoryService.createCategory(category);\n if (creationMessage.equalsIgnoreCase(Constants.CATEGORY_CREATION_SUCCESS))\n {\n FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_INFO, Constants.CATEGORY_CREATION_SUCCESS, Constants.CATEGORY_CREATION_SUCCESS);\n FacesContext.getCurrentInstance().getExternalContext().getFlash().setKeepMessages(true);\n FacesContext.getCurrentInstance().addMessage(null, facesMsg);\n }\n else if (creationMessage.equalsIgnoreCase(Constants.CATEGORY_ALREADY_EXISTS))\n {\n FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_ERROR, Constants.CATEGORY_ALREADY_EXISTS, Constants.CATEGORY_ALREADY_EXISTS);\n FacesContext.getCurrentInstance().getExternalContext().getFlash().setKeepMessages(true);\n FacesContext.getCurrentInstance().addMessage(null, facesMsg);\n }\n else if (creationMessage.equalsIgnoreCase(Constants.CATEGORY_CREATION_EXCEPTION))\n {\n FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_ERROR, Constants.CATEGORY_CREATION_EXCEPTION, Constants.CATEGORY_CREATION_EXCEPTION);\n FacesContext.getCurrentInstance().getExternalContext().getFlash().setKeepMessages(true);\n FacesContext.getCurrentInstance().addMessage(null, facesMsg);\n }\n else if (creationMessage.equalsIgnoreCase(Constants.FAILURE))\n {\n FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_ERROR, Constants.CATEGORY_CREATION_FAILURE, Constants.CATEGORY_CREATION_FAILURE);\n FacesContext.getCurrentInstance().getExternalContext().getFlash().setKeepMessages(true);\n FacesContext.getCurrentInstance().addMessage(null, facesMsg);\n }\n }\n\n return Constants.CREATE_CATEGORY_VIEW;\n }",
"public void ajouterCategorie(View v) {\n Intent intent = new Intent(this, AjouterCategorie.class);\n startActivity(intent);\n }",
"public AltaCategoria() {\n initComponents();\n }",
"@Override\n\tpublic Categories create(Categories cate) {\n\t\treturn categoriesDAO.create(cate);\n\t}",
"@Override\n\t@Transactional\n\n\tpublic void initCategorie() {\n\t\tStream.of(\"Action\",\"Drame\",\"Guerre\",\"Fantastique\",\"Science-fiction\",\"Thriller\").forEach(cat->{\n\t\t\tCategorie categorie=new Categorie();\n\t\t\tcategorie.setName(cat);\n\t\t\tcategorieRepository.save(categorie);\n\t\t});\n\t}",
"@GetMapping(\"/showFormForAdd\")\n public String showFormForAdd(Model theModel) {\n Categories theCategories = new Categories();\n theModel.addAttribute(\"categories\", theCategories);\n //theModel.addAttribute(\"update\", false);\n return \"loaisanpham-form\"; }",
"CategoriaDTO insertarCategoria(CategoriaDTO categoria);",
"private void insererCategorie(final JSONObject categorie) {\n //preparation du JSON pour le passer dans le corps de la requete HTTP\n StringEntity entityJson = null;\n try {\n entityJson = new StringEntity(categorie.toString());\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n\n //preparation de l'URL\n String url = WebService.buildUrlForRequest(Metier.DOMAIN, Metier.NOM_MODELE_CATEGORIES, WebService.ACTION_INSERT, null);\n\n //requete pour inserer la nouvelle categorie (asynchrone)\n asyncHttpClient.post(getActivity(), url, entityJson, DATA_TYPE, new AsyncHttpResponseHandler() {\n\n @Override\n public void onSuccess(int statusCode, Header[] headers, byte[] responseBody) {\n dialogCreationCategorieBuilder\n .setMessage(getString(R.string.dialog_ajout_categorie_succes))\n .setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n FormulaireCategorieFragment.this.listener.OnValidCategorie();\n }\n }).show();\n }\n\n @Override\n public void onFailure(int statusCode, Header[] headers, byte[] responseBody, Throwable error) {\n dialogCreationCategorieBuilder\n .setMessage(getString(R.string.dialog_ajout_categorie_echec))\n .setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n }\n }).show();\n }\n });\n }",
"public void create(CategoriaDTO dto) throws SQLException{\n getConnection();\n CallableStatement callableStatement = null;\n \n try {\n callableStatement = (CallableStatement) connection.prepareCall(SQL_INSERT);\n callableStatement.setString(1, dto.getEntidad().getNombreCategoria());\n callableStatement.setString(2, dto.getEntidad().getDescripcionCategoria());\n callableStatement.executeUpdate(); // review\n } finally {\n if(callableStatement != null){\n callableStatement.close();\n }\n if(connection != null){\n connection.close();\n }\n }\n }",
"@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 btnSalvar = new javax.swing.JButton();\n btnCancelar = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n lblCodigo = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n\n setClosable(true);\n setIconifiable(true);\n setMaximizable(true);\n setResizable(true);\n setTitle(\"Cadastrar Categoria\\n\");\n setPreferredSize(new java.awt.Dimension(800, 600));\n\n lblNome.setFont(new java.awt.Font(\"Arial\", 0, 24)); // NOI18N\n lblNome.setText(\"Nome :\");\n\n btnSalvar.setFont(new java.awt.Font(\"Arial\", 0, 24)); // NOI18N\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\n btnCancelar.setFont(new java.awt.Font(\"Arial\", 0, 24)); // NOI18N\n btnCancelar.setText(\"Cancelar\");\n\n jLabel1.setFont(new java.awt.Font(\"Arial\", 0, 24)); // NOI18N\n jLabel1.setText(\"Código : \");\n\n lblCodigo.setFont(new java.awt.Font(\"Arial\", 0, 24)); // NOI18N\n lblCodigo.setText(\"0000\");\n\n jLabel2.setFont(new java.awt.Font(\"Arial\", 1, 24)); // NOI18N\n jLabel2.setText(\"Cadastrar Categoria \");\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(56, 56, 56)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addComponent(lblCodigo))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addComponent(lblNome)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(txtNome, javax.swing.GroupLayout.PREFERRED_SIZE, 244, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addGap(84, 84, 84)\n .addComponent(btnCancelar)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnSalvar)))\n .addGap(125, 125, 125))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(256, Short.MAX_VALUE)\n .addComponent(jLabel2)\n .addGap(294, 294, 294))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(30, 30, 30)\n .addComponent(jLabel2)\n .addGap(74, 74, 74)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(lblCodigo))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(lblNome)\n .addComponent(txtNome, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 272, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnSalvar)\n .addComponent(btnCancelar))\n .addGap(60, 60, 60))\n );\n\n pack();\n }",
"@PostMapping(\"/categorie/save\")\n CategorieProduitDTO saveCategorie(@RequestBody CategorieProduitDTO categorieProduitDTO) {\n return categorieProduitMetier.saveCategorie(categorieProduitDTO);\n }",
"@RequestMapping(value=\"/formcategory\",method=RequestMethod.GET)\r\n\tpublic String newForm(@RequestParam(value=\"bcat\")String baseCategory,@ModelAttribute(\"category\")Category category,Model model)\r\n\t{\r\n\t\tList<?> jewlType=jeweltypeDao.listgoldOrnaments();\r\n\t\tList<?> categoryList=categoryDao.listCategoryName();\r\n\t\tList<?>bCat=jeweltypeDao.searchJewel(baseCategory);\r\n\t\tmodel.addAttribute(\"bCat\",bCat);\r\n\t\tmodel.addAttribute(\"categoryList\", categoryList);\r\n\t\tmodel.addAttribute(\"JewelName\",jewlType);\r\n\t\treturn \"formcategory\";\r\n\t}",
"public JButtonOperator btNewCategory() {\n if (_btNewCategory==null) {\n _btNewCategory = new JButtonOperator(this, \"New Category...\"); // NOI18N\n }\n return _btNewCategory;\n }",
"CategoriesType createCategoriesType();",
"CategoriesType createCategoriesType();",
"@Override\r\n\tpublic void addCategory() {\n\t\tCategory cat=new Category();\r\n\t\tcat.setNameCategory(\"Computing Tools\");\r\n\t\tem.persist(cat);\r\n\t\t\r\n\t}",
"@PostMapping(path=\"/category/add\")\n\tpublic @ResponseBody String addNewCategory(@RequestBody Category n) {\n\t\tcategoryRepository.save(n);\n\t\treturn \"Saved\";\n\t}",
"public FrameNuevaCategoria() {\n initComponents();\n limpiar();\n }",
"public void seleccionarCategoria(String name);",
"public void mostrarCategoria(JComboBox<Categoria>jComboBoxCategoria){\n \n try{\n con = ConexionBD.getConexion();\n String sql=\"SELECT * FROM categorias WHERE id_estado = 1 ORDER BY id_categoria\";\n sent = con.createStatement();\n ResultSet rs = sent.executeQuery(sql);\n \n \n while (rs.next()){\n jComboBoxCategoria.addItem(\n new Categoria (\n rs.getString(\"id_categoria\"), \n rs.getString(\"nombre_categoria\")\n )\n );\n }\n \n }catch(SQLException e){\n JOptionPane.showMessageDialog(null,\"error\");\n \n \n \n }\n \n }",
"@RequestMapping(value = \"/add\", method = GET)\n public String addCategory(Model model) {\n model.addAttribute(\"action\", ADD_ACTION);\n model.addAttribute(\"category\", new Category());\n return FORM_VIEW;\n }",
"public void createProductCategory(HttpServletRequest request){\n \n HttpSession session = request.getSession();\n \n DAOFactory mySqlFactory = DAOFactory.getDAOFactory();\n ProductCategoryDAO riverProductCategoryDAO = mySqlFactory.getProductCategoryDAO();\n ProductCategoryDAO productCategoryDAO = new MySQLProductCategoryDAOImpl();\n \n List productCategories = productCategoryDAO.getAllProductCategories();\n \n //productCategories\n ProductCategory tmp3 = null;\n String[][] productCategoriesMatrix = new String[productCategories.size()][2];\n\n for(int i=0; i<productCategories.size(); i++){\n\n tmp3 = (ProductCategory)productCategories.get(i);\n\n productCategoriesMatrix[i][0] = Integer.toString(tmp3.getPCID());\n productCategoriesMatrix[i][1] = tmp3.getName();\n \n }\n \n session.setAttribute(\"productCategories\", productCategoriesMatrix);\n \n }",
"@RequestMapping(value=\"/formcategory\",method=RequestMethod.POST,params=\"insert\")\r\n\tpublic ModelAndView addnewCategory(@RequestParam(value=\"bcat\")String baseCategory,@ModelAttribute(\"category\")Category category,BindingResult result,SessionStatus status,Model model)\r\n\t{\r\n\t\tList<?> jewlType=jeweltypeDao.listgoldOrnaments();\r\n\t\tmodel.addAttribute(\"JewelName\",jewlType);\r\n\t\tList<?> categoryList=categoryDao.listCategoryName();\r\n\t\tmodel.addAttribute(\"categoryList\", categoryList);\r\n\t\tcategoryValidator.validate(category, result);//validation of the category entity fields\r\n\t\tif(result.hasErrors())\r\n\t\t{\r\n\t\t\tModelMap map = new ModelMap();\r\n\t\t\tmap.put(\"command\",category);\r\n\t\t\tmap.addAttribute(\"errorType\",\"insertError\");\r\n\t\t\treturn new ModelAndView(\"formcategory\",map);\r\n\t\t}\r\n\t\t\t\t\r\n\t\tcategory.setCategoryName(utilDao.capitalizeFirstLetter(category.getCategoryName()));\t\t\r\n\t\tcategoryDao.insertCategory(category);\r\n\t\treturn new ModelAndView(new RedirectView(\"categoryList.htm?bcat=\"+baseCategory));\r\n\t}",
"public @NotNull Category newCategory();",
"private void triggerValiderCategorie() {\n JSONObject categorie = new JSONObject();\n String categorie_nom = this.editTextCategorie.getText().toString();\n try {\n categorie.put(Metier.CLE_CATEGORIE_NOM, categorie_nom);\n categorie.put(Metier.CLE_PRODUIT_NOM, \"\");\n for (int i = 0; i < this.listViewChampAdapter.getCount(); i++) {\n JSONObject champ = this.listViewChampAdapter.getItem(i);\n categorie.put(champ.optString(Metier.CLE_CHAMP_NOM), \"\");\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n insererCategorie(categorie);\n }",
"CategoryType createCategoryType();",
"public com.alain.puntocoma.model.Catalogo create(long catalogoId);",
"public SubcategoriaController() {\n emf = EntityProvider.provider();\n System.out.println(\"creado\");\n FacesContext.getCurrentInstance().getViewRoot().setLocale(\n new Locale(\"es-Mx\"));\n this.subcategoria = new Subcategorias();\n this.categoria = new Categoria();\n //descripcion = \"nada\";\n nombresubcategoria = \"\";\n nombrecategoria = \"\";\n }",
"public final void readCategoria() {\n cmbCategoria.removeAllItems();\n cmbCategoria.addItem(\"\");\n categoryMapCategoria.clear();\n AtividadePreparoDAO atvprepDAO = new AtividadePreparoDAO();\n for (AtividadePreparo atvprep : atvprepDAO.readMotivoRetrabalho(\"Categoria\")) {\n Integer id = atvprep.getMotivo_retrabalho_id();\n String name = atvprep.getMotivo_retrabalho();\n cmbCategoria.addItem(name);\n categoryMapCategoria.put(id, name);\n }\n }",
"private void addNewCategory() {\n Utils.replaceFragment(getActivity(),new AddCategoriesFragment());\n }",
"public void showInputCategoryCreateDialog() {\r\n FXMLLoader loader = fxmlLoaderService.getLoader(getClass().getResource(FXML_INPUT_CATEGORY_CREATE_DIALOG));\r\n\r\n Parent page;\r\n\r\n try {\r\n page = loader.load();\r\n } catch (IOException ex) {\r\n logger.warn(\"Failed to load: \" + FXML_INPUT_CATEGORY_CREATE_DIALOG, ex);\r\n\r\n return;\r\n }\r\n\r\n // set the stage\r\n Stage stage = new Stage();\r\n stage.setTitle(\"Create Input Category\");\r\n stage.initModality(Modality.APPLICATION_MODAL);\r\n stage.centerOnScreen();\r\n stage.initOwner(mainStage);\r\n\r\n Scene scene = new Scene(page);\r\n scene.getStylesheets().add(getClass().getResource(STYLESHEET_DEFAULT).toExternalForm());\r\n\r\n stage.setScene(scene);\r\n\r\n // Set the item into the controller.\r\n InputCategoryCreateDialogController controller = loader.getController();\r\n controller.setStage(stage);\r\n\r\n stage.showAndWait();\r\n }",
"@PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n @RequestMapping(method=RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)\n public ResponseEntity<CategoryDTO> createCategory(@RequestBody CategoryDTO categoryDTO){\n Category cat;\n try {\n cat = catService.create(catMapper.toEntity(categoryDTO));\n } catch (Exception e) {\n return new ResponseEntity<>(HttpStatus.BAD_REQUEST);\n }\n\n return new ResponseEntity<>(catMapper.toDto(cat), HttpStatus.CREATED);\n }",
"@PostMapping(path = \"menus/{id}/categories\")\n ResponseEntity<?> post(@RequestBody Category body, @PathVariable String id) {\n Menu findMenu = menuRepository.findById(id)\n .orElseThrow(() -> new CategoryNotFound(\"Category with id: \" + id + \" Not Found\"));\n Category newCategory = repository.save(body);\n findMenu.getCategories().add(newCategory);\n Menu SavedMenu = menuRepository.save(findMenu);\n // must be created\n return ResponseEntity.ok(SavedMenu);\n }",
"public Optional<Produto> cadastroCat(Long idCategoria, @Valid Produto newProduto) {\n\t\treturn null;\n\t}",
"@GetMapping(value = \"/create\") // https://localhost:8080/etiquetasTipoDisenio/create\n\tpublic String create(Model model) {\n\t\tetiquetasTipoDisenio etiquetasTipoDisenio = new etiquetasTipoDisenio();\n\t\tmodel.addAttribute(\"title\", \"Registro de una nuev entrega\");\n\t\tmodel.addAttribute(\"etiquetasTipoDisenio\", etiquetasTipoDisenio); // similar al ViewBag\n\t\treturn \"etiquetasTipoDisenio/form\"; // la ubicacion de la vista\n\t}",
"@RequestMapping(value = \"/newrecipe\", method = RequestMethod.GET)\n\tpublic String newRecipeForm(Model model) {\n\t\tmodel.addAttribute(\"recipe\", new Recipe()); //empty recipe object\n\t\tmodel.addAttribute(\"categories\", CatRepo.findAll());\n\t\treturn \"newrecipe\";\n\t}",
"@PostMapping(\"/reasoncategory\")\r\n\tpublic ResponseEntity<CodeAndLanguageCodeID> createReasonCategories(@Valid@RequestBody RequestDto<PostReasonCategoryDto> requestDto) {\r\n \r\n\t\treturn new ResponseEntity<>(reasonService.createReasonCategories(requestDto),HttpStatus.CREATED);\r\n\t}",
"public WebDriver add_category(String category_name)\n {\n driver.findElement(By.xpath(\"//*[@id=\\\"go_add_category\\\"]\")).click();\n\n driver.findElement(By.xpath(\"//*[@id=\\\"name\\\"]\")).sendKeys(category_name);\n\n driver.findElement(By.xpath(\"//*[@id=\\\"submit\\\"]\")).click();\n\n return driver;\n }",
"@RequestMapping(path = \"/create_category\", method = { RequestMethod.GET })\n public Category createCategoryGet(@RequestParam(name = \"name\", required = true) String name) {\n\n Category category = new Category(name);\n categoryRepository.save(category);\n return category;\n }",
"public String redirectCrearCategoria() {\n\t\treturn \"crear-categoria.xhtml\";\n\t}",
"private void populaObjetivoCat()\n {\n objetivoCatDAO.insert(new ObjetivoCat(\"Hipertrofia\", \"weight\"));\n objetivoCatDAO.insert(new ObjetivoCat(\"Saude\", \"apple\"));\n objetivoCatDAO.insert(new ObjetivoCat(\"Emagrecer\", \"gloves\"));\n }",
"public void setCategoria(String categoria) {\n\t\tthis.categoria = categoria;\n\t}",
"private void populaNoticiaCat()\n {\n NoticiaCat n1 = new NoticiaCat(\"Avisos\", \"Help\");\n noticiaCatDAO.insert(n1);\n NoticiaCat n2 = new NoticiaCat(\"Noticias\", \"Document Notes\");\n noticiaCatDAO.insert(n2);\n NoticiaCat n3 = new NoticiaCat(\"Dicas\", \"Tag\");\n noticiaCatDAO.insert(n3);\n }",
"public Categorie updateCategorie(Categorie c);",
"public category() {\r\n }",
"@PostMapping(\"/categoriesfu\")\n\t@Secured({ AuthoritiesConstants.ADMIN, AuthoritiesConstants.BOSS, AuthoritiesConstants.MANAGER })\n public synchronized ResponseEntity<Category> createCategory(@Valid @RequestBody Category category) throws URISyntaxException {\n log.debug(\"REST request to save Category : {}\", category);\n \n //fu\n final String user =SecurityUtils.getCurrentUserLogin().get();\n final UserToRestaurant userToRestaurant=userToRestaurantRepository.findOneByUserLogin(user);\n final Restaurant restaurant=userToRestaurant.getRestaurant();\n category.setRestaurant(restaurant);\n \n if (category.getId() != null) {\n throw new BadRequestAlertException(\"A new category cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n Category result = categoryRepository.save(category);\n return ResponseEntity.created(new URI(\"/api/categoriesfu/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(applicationName, true, ENTITY_NAME, result.getId().toString()))\n .body(result);\n }",
"public Category() {}",
"public void clearForm()\n {\n this.category = new Category();\n }",
"public Category() {\n }",
"public Category(String n) {\n this.name = n;\n }",
"public void LlenarC(){\n for(int i=0;i< new GestionCategorias().getListCategoria().size();i++){\n catBox.addItem(new GestionCategorias().getListCategoria().get(i).getCat_nombre());\n \n }\n }",
"private static void adicionarCategoria() throws Exception {\r\n String nomeCategoria;\r\n boolean erro;\r\n boolean outro;\r\n int id;\r\n System.out.println(\"\\t** Adicionar categoria **\\n\");\r\n do {\r\n outro = false;\r\n System.out.print(\"Digite o nome da categoria: \");\r\n nomeCategoria = read.nextLine();\r\n nomeCategoria = read.nextLine();\r\n do {\r\n erro = false;\r\n System.out.println(\"\\nAdicionar nova categoria '\" + nomeCategoria + \"' ?\");\r\n System.out.print(\"1 - SIM\\n2 - NÂO\\nR: \");\r\n switch (read.nextByte()) {\r\n case 1:\r\n id = arqCategorias.inserir(new Categoria(nomeCategoria));\r\n System.out.println(\"\\nCategoria criada com o ID: \" + id);\r\n System.out.println(\"Operacao concluida com sucesso!\");\r\n Thread.sleep(1000);\r\n System.out.println(\"\\nDeseja criar outra categoria ?\");\r\n System.out.print(\"1 - SIM\\n2 - NÂO\\nR: \");\r\n if (read.nextByte() == 1) {\r\n outro = true;\r\n }\r\n break;\r\n case 2:\r\n System.out.println(\"\\nNova categoria não foi criada!\");\r\n break;\r\n default:\r\n System.out.println(\"\\nOpção Inválida!\\n\");\r\n erro = true;\r\n break;\r\n }\r\n } while (erro);\r\n } while (outro);\r\n }",
"@PostMapping(\"/saveCategories\")\n public String saveCategories(@ModelAttribute(\"categories\") Categories theCategories) {\n List<Product> products =null;\n if(theCategories.getId()!= 0)\n {\n products= categoriesService.getProducts(theCategories.getId());\n }\n theCategories.setProducts(products);\n categoriesService.saveCategories(theCategories);\t\n return \"redirect:/admin/loaisanpham/list\";\n }",
"public void newCustomer () {\r\n\t\t//input category id.\r\n\t\t//TODO\r\n boolean ok = false;\r\n do { \r\n my.printCategoies();\r\n try {\r\n System.out.println(\"Category:\");\r\n Scanner scan = new Scanner(System.in);\r\n String cat = scan.next();\r\n \r\n Category c = my.getCategory(cat);\r\n //\r\n if (c!=null ) {\r\n // add the new customer to a category\r\n //input new customer.\r\n Customer theNewCustomer = readCustomer(cat);\r\n if ( theNewCustomer != null ) {\r\n my.add(c, theNewCustomer);\r\n ok = true;\r\n }\r\n \r\n }else{\r\n System.out.println(\"Category not exist\");\r\n }\r\n \r\n } catch (Exception e) {\r\n System.out.println(\"Sorry, try again\");\r\n }\r\n } while (ok == false);\r\n \r\n\t\t\r\n\t}",
"private void listadoCategorias() {\r\n sessionProyecto.getCategorias().clear();\r\n sessionProyecto.setCategorias(itemService.buscarPorCatalogo(CatalogoEnum.CATALOGOPROYECTO.getTipo()));\r\n }",
"public void setCategoriaId(Long id);",
"void addCategory(Category category);",
"public void createCategory(String name, String passw)\n throws InvalidActionException, IncorrectPasswordException, NullPointerException{\n\n if(name == null || passw == null) throw new NullPointerException();\n if(!this.MasterPassw.equals(passw)) throw new IncorrectPasswordException(\"Password Errata\");\n if(categories.containsKey(name)) throw new InvalidActionException(\"Categoria gia' presente\");\n\n categories.put(name, new Category<>());\n numCategories++;\n }",
"private void createCategory() {\n Uri uri = TimeSeriesData.TimeSeries.CONTENT_URI;\n Intent i = new Intent(Intent.ACTION_INSERT, uri);\n startActivityForResult(i, ARC_CATEGORY_CREATE);\n }",
"@GetMapping(\"/restaurante/new\")\n\tpublic String newRestaurante(Model model) {\n\t\tmodel.addAttribute(\"restaurante\", new Restaurante());\n\t\tControllerHelper.setEditMode(model, false);\n\t\tControllerHelper.addCategoriasToRequest(categoriaRestauranteRepository, model);\n\t\t\n\t\treturn \"restaurante-cadastro\";\n\t\t\n\t}",
"public JIFrameAtividadesInserir() {\n initComponents();\n this.selecionaDadosCategoria(conn);\n }",
"public Category() {\n super();\n }",
"public void setCategoriaDescripcion(String descripcion);",
"public void actionPerformed(ActionEvent e) {\n\t\t\t\tcp.mostraGestioCategories();\n\t\t\t}",
"@Override\n\tpublic void insert(Categoria cat) throws SQLException {\n\t\t\n\t}",
"Category saveCategory(Category category);",
"public CatProveedores() {\n initComponents();\n cargartabla();\n }",
"public void llenarComboCategoria() {\n comboCategoria.removeAllItems();\n getIDCategoria();\n comboCategoria.setVisible(true);\n labelCategoria.setVisible(true);\n if (IDCategoria < 0) {\n comboCategoria.setVisible(false);\n comboCategoria.setEditable(false);\n labelCategoria.setVisible(false);\n this.repaint();\n } else {\n try {\n ResultSet resultado = buscador.getResultSet(\"select ID, valor from INSTANCIACATEGORIA where IDTIpoCategoria = \" + IDCategoria + \";\");\n while (resultado.next()) {\n String ID = resultado.getObject(\"ID\").toString();\n String valor = resultado.getObject(\"valor\").toString();\n comboCategoria.addItem(makeObj(valor, Integer.parseInt(ID)));\n }\n } catch (SQLException e) {\n System.out.println(\"*SQL Exception: *\" + e.toString());\n }\n }\n }",
"public JFrameCadastroCategoria() {\n initComponents();\n }",
"void add(ProductCategory category);",
"private void populaSexoCat()\n {\n sexoCatDAO.insert(new SexoCat(\"Masculino\"));\n sexoCatDAO.insert(new SexoCat(\"Feminino\"));\n sexoCatDAO.insert(new SexoCat(\"Todos\"));\n }",
"@GetMapping(\"/kategori\")\n public String createIndex(Model model, @RequestParam(defaultValue = \"0\", name = \"page\") int page) {\n model.addAttribute(\"kategoris\", kategoriRepository.findAll(PageRequest.of(page, 8)));\n model.addAttribute(\"buatPageKategori\", page);\n model.addAttribute ( \"buatKategori\", new Kategori());\n return \"/kategori/kategori.html\";\n }",
"public void selectCategory() {\n\t\t\r\n\t}",
"public void setIdTipoCategoria( Integer idTipoCategoria ) {\n this.idTipoCategoria = idTipoCategoria ;\n }",
"@RequestMapping(value=\"addCat/{projectId}\", method = RequestMethod.POST)\n public String addCat(Model model, @RequestParam int projectId,\n @ModelAttribute @Valid Category newCat,\n Errors errors ) {\n\n if(errors.hasErrors()) {\n model.addAttribute(\"title\", \"Add Item to Shop For!\");\n model.addAttribute(\"category\", newCat);\n return \"category/addCat\";\n }\n\n Optional<Project> proj = projectDao.findById(projectId);\n if(proj.isPresent()) {\n newCat.setProject(proj.get());\n categoryDao.save(newCat);\n }\n return \"redirect:/category/summary/\" + projectId;\n }",
"public Carta() {\n initComponents();\n \n \n \n items[0] = \"Entradas\";\n items[1] = \"Fuertes\";\n items[2] = \"Postres\";\n comboCategorias.setModel(new javax.swing.DefaultComboBoxModel(items));\n comboCategoriasM.setModel(new javax.swing.DefaultComboBoxModel(items));\n\n }",
"Category selectCategory(String name);",
"public void createCategory(String name, int fatherId) throws SQLException {\n \t\tString query = \"INSERT INTO category (name, `index`, father_id) VALUES (?, ?, ?)\";\n\n \t\ttry {\n \t \t\tint index = getNextIndex(fatherId);\n \t\t\tPreparedStatement pstatement = connection.prepareStatement(query);\n \t\t\tpstatement.setString(1, name);\n \t\t\tpstatement.setInt(2, index);\n \t\t\tpstatement.setObject(3, fatherId);\n \t\t\tpstatement.executeUpdate();\n \t\t} catch (SQLException e) {\n \t\t\tthrow new SQLException(\"Failed to create the category.\");\n \t\t}\n \t}"
] |
[
"0.70870334",
"0.68157345",
"0.6808088",
"0.67270195",
"0.66709054",
"0.6645591",
"0.6586346",
"0.6579576",
"0.6484866",
"0.64634156",
"0.6455865",
"0.6424667",
"0.63679266",
"0.63657624",
"0.6326268",
"0.6296901",
"0.6278225",
"0.62641346",
"0.6252661",
"0.6211283",
"0.6208483",
"0.62063265",
"0.6204312",
"0.6185437",
"0.6178233",
"0.6170259",
"0.6146878",
"0.6127425",
"0.61147255",
"0.6110009",
"0.61067426",
"0.6098453",
"0.60542876",
"0.60532296",
"0.6050022",
"0.6035641",
"0.6035641",
"0.60352266",
"0.6030664",
"0.6023578",
"0.6022241",
"0.60121137",
"0.6009427",
"0.5998105",
"0.5995325",
"0.5990573",
"0.59662324",
"0.59634054",
"0.5942629",
"0.5922086",
"0.59183",
"0.5916365",
"0.5915877",
"0.5879069",
"0.58674705",
"0.5867437",
"0.58417124",
"0.58412355",
"0.5827488",
"0.5796579",
"0.5796575",
"0.5793973",
"0.57649994",
"0.576214",
"0.5752309",
"0.5741894",
"0.57240826",
"0.5719644",
"0.57189703",
"0.57082886",
"0.5702686",
"0.5702341",
"0.56812173",
"0.5678277",
"0.56724346",
"0.56573",
"0.56381047",
"0.5626253",
"0.56145155",
"0.560763",
"0.5601488",
"0.56002337",
"0.5599842",
"0.5597915",
"0.55968",
"0.55907",
"0.5577695",
"0.5575098",
"0.55744606",
"0.55725807",
"0.5567721",
"0.55629843",
"0.55548984",
"0.5547823",
"0.5543388",
"0.5534185",
"0.5528795",
"0.5522781",
"0.5501957",
"0.5495477"
] |
0.6483905
|
9
|
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
|
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
labelCodigo = new javax.swing.JLabel();
textCodigo = new javax.swing.JTextField();
labelDescricao = new javax.swing.JLabel();
textDescricao = new javax.swing.JTextField();
jScrollPane1 = new javax.swing.JScrollPane();
tableCategorias = new javax.swing.JTable();
buttonNovo = new javax.swing.JButton();
buttonEditar = new javax.swing.JButton();
buttonExcluir = new javax.swing.JButton();
buttonSalvar = new javax.swing.JButton();
buttonCancelar = new javax.swing.JButton();
jPanel1 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
labelCodigo.setText("Código");
textCodigo.setEnabled(false);
textCodigo.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
textCodigoActionPerformed(evt);
}
});
labelDescricao.setText("Descrição");
tableCategorias.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{null, null},
{null, null},
{null, null},
{null, null}
},
new String [] {
"Código", "Descrição"
}
) {
Class[] types = new Class [] {
java.lang.String.class, java.lang.String.class
};
boolean[] canEdit = new boolean [] {
false, false
};
public Class getColumnClass(int columnIndex) {
return types [columnIndex];
}
public boolean isCellEditable(int rowIndex, int columnIndex) {
return canEdit [columnIndex];
}
});
tableCategorias.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
tableCategoriasMouseClicked(evt);
}
});
jScrollPane1.setViewportView(tableCategorias);
if (tableCategorias.getColumnModel().getColumnCount() > 0) {
tableCategorias.getColumnModel().getColumn(0).setMaxWidth(100);
}
buttonNovo.setText("Novo");
buttonNovo.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
buttonNovoActionPerformed(evt);
}
});
buttonEditar.setText("Editar");
buttonEditar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
buttonEditarActionPerformed(evt);
}
});
buttonExcluir.setText("Excluir");
buttonExcluir.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
buttonExcluirActionPerformed(evt);
}
});
buttonSalvar.setText("Salvar");
buttonSalvar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
buttonSalvarActionPerformed(evt);
}
});
buttonCancelar.setText("Cancelar");
buttonCancelar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
buttonCancelarActionPerformed(evt);
}
});
jPanel1.setBackground(new java.awt.Color(0, 153, 51));
jLabel1.setFont(new java.awt.Font("Tahoma", 0, 16)); // NOI18N
jLabel1.setForeground(new java.awt.Color(255, 255, 255));
jLabel1.setText("Categorias");
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(161, 161, 161)
.addComponent(jLabel1)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel1)
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(buttonNovo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(buttonEditar)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(buttonExcluir)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(buttonSalvar)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(buttonCancelar)
.addContainerGap(25, Short.MAX_VALUE))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addGroup(layout.createSequentialGroup()
.addComponent(labelCodigo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(labelDescricao)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(textDescricao)))
.addContainerGap())))
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 10, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(labelCodigo)
.addComponent(textCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(labelDescricao)
.addComponent(textDescricao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 198, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(buttonNovo)
.addComponent(buttonEditar)
.addComponent(buttonExcluir)
.addComponent(buttonSalvar)
.addComponent(buttonCancelar))
.addContainerGap())
);
pack();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public PatientUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public Oddeven() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public Magasin() {\n initComponents();\n }",
"public intrebarea() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public kunde() {\n initComponents();\n }",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public MusteriEkle() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public frmVenda() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public Botonera() {\n initComponents();\n }",
"public FrmMenu() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\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, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\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.createParallelGroup(\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\tAlignment.LEADING)\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.addComponent(label22,\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\tGroupLayout.PREFERRED_SIZE,\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\tGroupLayout.DEFAULT_SIZE,\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\tGroupLayout.PREFERRED_SIZE)\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.addGroup(\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\tlayout.createSequentialGroup()\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\t.addGap(3)\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\t.addComponent(\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\t\t\tlabel23,\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\t\t\tGroupLayout.PREFERRED_SIZE,\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\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public CovidGUI(){\n initComponents();\n }"
] |
[
"0.73206544",
"0.7291311",
"0.7291311",
"0.7291311",
"0.7286492",
"0.7249181",
"0.7213362",
"0.72085494",
"0.71965617",
"0.7190475",
"0.7184897",
"0.7159234",
"0.71483016",
"0.7094075",
"0.7081491",
"0.70579433",
"0.6987627",
"0.69776064",
"0.69552463",
"0.69549114",
"0.69453007",
"0.69439274",
"0.69369227",
"0.6932056",
"0.6927733",
"0.6925948",
"0.69254535",
"0.69121534",
"0.6911907",
"0.6894101",
"0.6892413",
"0.68919593",
"0.6891924",
"0.6889863",
"0.6884052",
"0.6883223",
"0.688166",
"0.68787736",
"0.68764126",
"0.68745583",
"0.68721986",
"0.68595314",
"0.685675",
"0.68565613",
"0.6855288",
"0.6854687",
"0.6854457",
"0.685303",
"0.685303",
"0.68448347",
"0.6837389",
"0.6837193",
"0.6829965",
"0.6829964",
"0.68275386",
"0.68249714",
"0.6823691",
"0.6818224",
"0.68173605",
"0.6811417",
"0.6809674",
"0.680964",
"0.6809329",
"0.68085754",
"0.6802194",
"0.67955625",
"0.67938477",
"0.6793322",
"0.679176",
"0.67900634",
"0.6789749",
"0.67888486",
"0.6781942",
"0.6767308",
"0.6766431",
"0.6765252",
"0.67573947",
"0.6756327",
"0.6753509",
"0.67520833",
"0.6741834",
"0.6740361",
"0.6737793",
"0.67370224",
"0.6734898",
"0.6727867",
"0.6727453",
"0.67214817",
"0.6716735",
"0.67162156",
"0.6715855",
"0.6709997",
"0.6707508",
"0.67042965",
"0.6702483",
"0.67014945",
"0.67007315",
"0.6699097",
"0.669545",
"0.6692102",
"0.6690473"
] |
0.0
|
-1
|
End of variables declaration//GENEND:variables
|
private void limparComponentes() {
textCodigo.setText("0");
textDescricao.setText("");
tableCategorias.clearSelection();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"public void mo38117a() {\n }",
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"private void assignment() {\n\n\t\t\t}",
"private void kk12() {\n\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public void mo21779D() {\n }",
"public final void mo51373a() {\n }",
"protected boolean func_70041_e_() { return false; }",
"public void mo4359a() {\n }",
"public void mo21782G() {\n }",
"private void m50366E() {\n }",
"public void mo12930a() {\n }",
"public void mo115190b() {\n }",
"public void method_4270() {}",
"public void mo1403c() {\n }",
"public void mo3376r() {\n }",
"public void mo3749d() {\n }",
"public void mo21793R() {\n }",
"protected boolean func_70814_o() { return true; }",
"public void mo21787L() {\n }",
"public void mo21780E() {\n }",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo21792Q() {\n }",
"public void mo21791P() {\n }",
"public void mo12628c() {\n }",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"public void mo97908d() {\n }",
"public void mo21878t() {\n }",
"public void mo9848a() {\n }",
"public void mo21825b() {\n }",
"public void mo23813b() {\n }",
"public void mo3370l() {\n }",
"public void mo21879u() {\n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"public void mo21785J() {\n }",
"public void mo21795T() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void m23075a() {\n }",
"public void mo21789N() {\n }",
"@Override\n\tpublic void einkaufen() {\n\t}",
"public void mo21794S() {\n }",
"public final void mo12688e_() {\n }",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"public void mo6944a() {\n }",
"public static void listing5_14() {\n }",
"public void mo1405e() {\n }",
"public final void mo91715d() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"public void mo9137b() {\n }",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"public void func_70295_k_() {}",
"void mo57277b();",
"public void mo21877s() {\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"public void Tyre() {\n\t\t\r\n\t}",
"void berechneFlaeche() {\n\t}",
"public void mo115188a() {\n }",
"public void mo21880v() {\n }",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"public void mo21784I() {\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"public void mo56167c() {\n }",
"public void mo44053a() {\n }",
"public void mo21781F() {\n }",
"public void mo2740a() {\n }",
"public void mo21783H() {\n }",
"public void mo1531a() {\n }",
"double defendre();",
"private zzfl$zzg$zzc() {\n void var3_1;\n void var2_-1;\n void var1_-1;\n this.value = var3_1;\n }",
"public void stg() {\n\n\t}",
"void m1864a() {\r\n }",
"private void poetries() {\n\n\t}",
"public void skystonePos4() {\n }",
"public void mo2471e() {\n }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@AnyLogicInternalCodegenAPI\n private void setupPlainVariables_Main_xjal() {\n }",
"private void yy() {\n\n\t}",
"@Override\n\tpublic void verkaufen() {\n\t}",
"static void feladat4() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public void init() { \r\n\t\t// TODO Auto-generated method\r\n\t }",
"public void furyo ()\t{\n }",
"public void verliesLeven() {\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"protected void mo6255a() {\n }"
] |
[
"0.6359672",
"0.62805766",
"0.6188898",
"0.6094004",
"0.60918343",
"0.6070505",
"0.6051442",
"0.6051194",
"0.60025513",
"0.59884185",
"0.59703076",
"0.5967403",
"0.59663707",
"0.5965261",
"0.5961392",
"0.5940802",
"0.59082854",
"0.5895613",
"0.58904797",
"0.5881886",
"0.5880823",
"0.58534294",
"0.58502686",
"0.58496666",
"0.5840965",
"0.58385414",
"0.583449",
"0.58218235",
"0.58079493",
"0.58018047",
"0.57935876",
"0.578543",
"0.5783205",
"0.5783174",
"0.5781325",
"0.5775662",
"0.5761857",
"0.57585585",
"0.57443714",
"0.57420063",
"0.5732892",
"0.5732892",
"0.5732892",
"0.5732892",
"0.5732892",
"0.5732892",
"0.5732892",
"0.5731803",
"0.57291883",
"0.572534",
"0.5722311",
"0.571708",
"0.5703955",
"0.569821",
"0.5696928",
"0.5689797",
"0.5687844",
"0.5685648",
"0.56735766",
"0.56602216",
"0.5650933",
"0.56443083",
"0.56430477",
"0.56423676",
"0.56423056",
"0.5639591",
"0.5629768",
"0.5628625",
"0.56270933",
"0.56214654",
"0.5617528",
"0.56125104",
"0.56110257",
"0.56107056",
"0.5605189",
"0.5603459",
"0.5601501",
"0.5599838",
"0.5590909",
"0.5585222",
"0.5575921",
"0.55701774",
"0.55679137",
"0.55561125",
"0.5552967",
"0.55501926",
"0.555003",
"0.554813",
"0.5546087",
"0.55459976",
"0.5545057",
"0.55448854",
"0.55425835",
"0.554148",
"0.5539141",
"0.5536231",
"0.5527287",
"0.55222327",
"0.55167496",
"0.5502402",
"0.5502082"
] |
0.0
|
-1
|
Often repeated helper methods that need Thread.sleep()
|
public void clickHome(){
try{
Thread.sleep(500);
new WebDriverWait(this.driver, 15)
.until(ExpectedConditions.elementToBeClickable(this.home)).click();
} catch (Exception e){
System.out.println(e.getMessage());
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n\tpublic void sleep() {\n\t\t\n\t}",
"@Override\n\tpublic void sleeps() {\n\t\t\n\t}",
"void sleep()\r\n\t{\r\n\t\t\r\n\t}",
"void sleep();",
"void sleep();",
"private void sleep()\n {\n try {\n Thread.sleep(Driver.sleepTimeMs);\n }\n catch (InterruptedException ex)\n {\n\n }\n }",
"private void sleep() {\n try {\n Thread.sleep(500);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"private void schedulerSleep() {\n\n\t\ttry {\n\n\t\t\tThread.sleep(timeSlice);\n\n\t\t} catch (InterruptedException e) {\n\t\t}\n\t\t;\n\n\t}",
"private void sleep() {\n\t\tSystem.out.println(\"Ape sleeping\");\n\t}",
"protected void sleep() {\n\t\tSystem.out.println(\"human sleep\");\n\t}",
"@Override\n protected void sleep(int milliseconds) {\n super.sleep(milliseconds);\n }",
"void sleep ();",
"private void sleep(int mul)\n {\n try {\n Thread.sleep(Driver.sleepTimeMs * mul);\n }\n catch (InterruptedException ex)\n {\n\n }\n }",
"private void sleep() {\n try {\n Thread.sleep(3000L);\n }\n catch (Exception ignored) {\n Log.trace(\"Sleep got interrupted.\");\n }\n }",
"public static void sleep() {\n\t\ttry {\n\t\t\tThread.sleep(10 * 1000);\n\t\t} catch (InterruptedException e) {\n\t\t}\n\t}",
"public static void sleep1 () throws InterruptedException {\n\n // throws is cheaper way to get rid of exception\n Thread.sleep(2000);\n\n }",
"private void sleep() {\n try {\n for(long count = 0L; this.DATA_STORE.isButtonPressed() && count < this.sleepTime; count += 20L) {\n Thread.sleep(20L);\n }\n } catch (InterruptedException iEx) {\n // For now, InterruptedException may be ignored if thrown.\n }\n\n if (this.sleepTime > 20L) {\n this.sleepTime = (long)((double)this.sleepTime / 1.3D);\n }\n }",
"private void Perform_SLEEP()\n {\n if (Utils.bit5(get_ioreg(MCUCR)))\n mSleeping = true;\n return;\n }",
"public static void shortWait(){\r\n\t\ttry {\r\n\t\t\tTimeUnit.SECONDS.sleep(5);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\tSystem.out.println(\"Interruption happened due to sleep() method\");\r\n\t\t}\r\n\t}",
"public static void delay() {\n\n long ONE_SECOND = 1_000;\n\n try {\n Thread.sleep(ONE_SECOND);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"private void dofakework() {\n\t\ttry {\n\t\t\tThread.sleep(1000);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void testSleep() {\n System.out.println(\"sleep\");\n long thinkTime = 0L;\n IOUtil.sleep(thinkTime);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"private static void delay() throws InterruptedException {\n\t\tTimeUnit.MILLISECONDS.sleep((long) (minDelay + (long)(Math.random() * ((maxDelay - minDelay) + 1))));\n\t}",
"private void emulateDelay() {\n try {\n Thread.sleep(700);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"private void delay() {\n\ttry {\n\t\tThread.sleep(500);\n\t} catch (InterruptedException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\t\n\t}",
"private void thinking(){\n int sleepTime = (int)(Math.random()*2000);\n try{\n Thread.sleep(sleepTime);\n }catch (InterruptedException e){\n e.printStackTrace();\n }\n }",
"private void Sleep() {\n\t\ttry {\n\t\t\tThread.sleep(10 * 1000);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void sleep()\n\t{\n\t\ttry\n\t\t{\n\t\t\tThread.sleep(getMilliseconds());\n\t\t}\n\t\tcatch (InterruptedException e)\n\t\t{\n\t\t\t// ignore but return\n\t\t}\n\t}",
"private void DisplaySleep(){\n\n try {\n TimeUnit.SECONDS.sleep(1);\n }\n catch(InterruptedException e){}\n }",
"public void waitSleep(int pTime)\n{\n\n try {Thread.sleep(pTime);} catch (InterruptedException e) { }\n\n}",
"@Override\n\tpublic void sleep() {\n\t\t((Application) application()).unlockEC();\n\t\tsuper.sleep();\n\t}",
"public abstract int delay();",
"private void sleepFor(long t) {\n\t\ttry {\n\t\t\tThread.sleep(t);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private static void addDelay() {\n try {\n Thread.sleep(4000);\n } catch (InterruptedException ignored) {\n }\n }",
"public void sleep(){\n\n System.out.println(\"ZZZZZZZZZ bubble bubble bubble\");\n }",
"@Override\n\tpublic void msgGoToSleep() {\n\t\t\n\t}",
"private void sleep(long ms) throws InterruptedException {\n Thread.sleep(ms);\n }",
"@Override\n public void sleep() {\n System.out.println(\"Zzz...\");\n }",
"public void sleep(){\n System.out.println(\"Human Sleeps\");\n }",
"private void sleep(int number) {\n\t\ttry {\n\t\t\tThread.sleep(number);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}}",
"private void timeSync() throws InterruptedException {\n long realTimeDateMs = currentTimeMs - System.currentTimeMillis();\n long sleepTime = periodMs + realTimeDateMs + randomJitter();\n\n if (slowdownFactor != 1) {\n sleepTime = periodMs * slowdownFactor;\n }\n\n if (sleepTime > 0) {\n Thread.sleep(sleepTime);\n }\n }",
"private void ai_think() {\n try {\n Thread.sleep(SLEEP_TIME);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"private static void sleep(int n) {\n try {\n TimeUnit.MILLISECONDS.sleep(n);\n } catch (InterruptedException e) {\n System.out.print(\"\\ndelay failed\");\n }\n }",
"public static void longWait(){\r\n\t\ttry {\r\n\t\t\tTimeUnit.SECONDS.sleep(15);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\tSystem.out.println(\"Interruption happened due to sleep() method\");\r\n\t\t}\r\n\t}",
"protected static void sleepBetweenTwoVersions() {\n try {\n Thread.sleep(2); // NOSONAR\n } catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n throw new RuntimeException(e);\n }\n }",
"public void sleep() {\n \t\thealth = maxHealthModifier;\n \t\ttoxicity = 0;\n \t}",
"private void sleepMilliseconds(int time) {\n int multipliedParam = (int) (Math.random() * time + 1);\n\n try {\n TimeUnit.MILLISECONDS.sleep(multipliedParam);\n Log.v(\"DLASync.sleep\", \" sleep \" + multipliedParam + \" milliseconds...\");\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"@Override\n\tpublic Boolean call() throws Exception {\n\t\tRandom rand = new Random();\n\t\tint seconds = rand.nextInt(6);\n\t\tif (seconds == 0) {\n\t\t\t// pretend there was an error\n\t\t\tthrow new RuntimeException(\"I love the new thread stuff!!! :)\");\n\t\t}\n\t\ttry {\n\t\t\tThread.sleep(seconds * 100);\n\t\t} catch (InterruptedException e) {\n\t\t}\n\t\t// even = true, odd = false\n\t\treturn seconds % 2 == 0;\n\t}",
"private void customWait() throws InterruptedException {\n while (!finished) {\n Thread.sleep(1);\n }\n finished = false;\n }",
"@Override\n\tpublic boolean isSleeping() {\n\t\treturn false;\n\t}",
"public final void sleepBetweenActions()\n {\n long numOfMillis = Long\n .parseLong(getProperty(\"wait.between.user.actions.in.millis\"));\n if (numOfMillis > 10000)\n {\n numOfMillis = 10000;\n } else if (numOfMillis < 0)\n {\n numOfMillis = 0;\n }\n try\n {\n Thread.sleep(numOfMillis);\n } catch (InterruptedException e)\n {\n e.printStackTrace();\n }\n }",
"private void doSintStuff() {\r\n\t\ttry {\r\n\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}",
"private void delay() {\n\t\tDelay.msDelay(1000);\n\t}",
"public void delay(long waitAmount){\r\n long time = System.currentTimeMillis();\r\n while ((time+waitAmount)>=System.currentTimeMillis()){ \r\n //nothing\r\n }\r\n }",
"protected void pause() {\n sleep(300);\n }",
"public static void sleep(double a){\n\n try {\n Thread.sleep((long)a*1000);\n } catch (InterruptedException e) {\n\n }\n\n }",
"private void _wait() {\n\t\tfor (int i = 1000; i > 0; i--)\n\t\t\t;\n\t}",
"public void delay(){\n try {\n Thread.sleep((long) ((samplingTime * simulationSpeed.factor)* 1000));\n } catch (InterruptedException e) {\n started = false;\n }\n }",
"void threadDelay() {\n saveState();\n if (pauseSimulator) {\n halt();\n }\n try {\n Thread.sleep(Algorithm_Simulator.timeGap);\n\n } catch (InterruptedException ex) {\n Logger.getLogger(RunBFS.class.getName()).log(Level.SEVERE, null, ex);\n }\n if (pauseSimulator) {\n halt();\n }\n }",
"public interface Sleepable\n{\n\tvoid sleep();\n}",
"private static void attendre (int tms) {\n try {Thread.currentThread().sleep(tms);} \r\n catch(InterruptedException e){ }\r\n }",
"private static void attendre (int tms) {\n try {Thread.currentThread().sleep(tms);} \r\n catch(InterruptedException e){ }\r\n }",
"private void eating(){\n int sleepTime = (int)(Math.random()*2000);\n try{\n Thread.sleep(sleepTime);\n }catch (InterruptedException e){\n e.printStackTrace();\n }\n }",
"public void sleep()\r\n\t{\r\n\t\tif (regulate)\r\n\t\t{\r\n\t\t\tDisplay.sync(fps);\r\n\t\t}\r\n\t}",
"public static void m2703A() {\n Thread.sleep(100);\n }",
"private void esperarPorFatherThread() {\n\t\ttry {\n\t\t\tThread.sleep(50000);\n\t\t} catch (InterruptedException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t}",
"public Integer threadDelay();",
"private static void snooze(int milliseconds) {\n\t\ttry {\n\t\t\tThread.sleep(milliseconds);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private long sleepForRandomAmountOfTime() throws InterruptedException {\n final long backOffMillis = zeroTo(MAX_BACK_OFF_MILLIS);\n if (LOGGER.isTraceEnabled()) {\n LOGGER.trace(\"Backing off for \" + backOffMillis + \"ms\");\n }\n Thread.sleep(backOffMillis);\n return backOffMillis;\n }",
"public void moveDelay ( )\r\n\t{\r\n\t\ttry {\r\n\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}",
"private void waitOnFabric(int additional) {\n try {\n out(\"Wait %d milliseconds for peers to sync with each other\", gossipWaitTime + additional);\n TimeUnit.MILLISECONDS.sleep(gossipWaitTime + additional);\n } catch (InterruptedException e) {\n fail(\"should not have jumped out of sleep mode. No other threads should be running\");\n }\n }",
"static void onSpinWait() {\n }",
"private void await() {\n try {\n Thread.sleep(10 * 1000L);\n } catch (InterruptedException e) {\n // ignore\n }\n }",
"private void sleep(long millis){\n\t\ttry {\n\t\t\tThread.sleep(millis);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void sleep() throws InterruptedException, IllegalArgumentException, Time.Ex_TimeNotAvailable, Time.Ex_TooLate\n {\n // The current time.\n AbsTime now;\n // The duration to wait.\n RelTime duration;\n\n // Make error if NEVER.\n if (isNEVER()) {\n throw new IllegalArgumentException(\"this == NEVER\");\n }\n\n // Don't do anything if ASAP.\n if (!isASAP()) {\n\n // Calculate the time now.\n now = new AbsTime();\n\n // Figure out how long to wait for.\n duration = Time.diff(this, now);\n\n // If duration is negative, throw the Ex_TooLate exception.\n if (duration.getValue() < 0L) {\n throw new Time.Ex_TooLate();\n }\n\n // Do the wait.\n duration.sleep();\n }\n }",
"public static void randomDelay() {\n\n Random random = new Random();\n int delay = 500 + random.nextInt(2000);\n try {\n sleep(delay);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"private Sleep(Duration duration) {\n this.duration = duration;\n }",
"private void backoff() {\n nextSleep *= 2;\n if (nextSleep > MAX_SLEEP) nextSleep = MAX_SLEEP;\n try {\n Thread.sleep(nextSleep);\n } catch (InterruptedException e) {\n }\n }",
"private static void testDelayOverhead() throws InterruptedException {\n Object m = \"\";\n int iters = 1000;\n long delay = 50;\n\n long before = System.currentTimeMillis();\n\n for (int i = 0; i < iters; i++) {\n\n synchronized (m) {\n m.wait(delay);\n }\n }\n\n long after = System.currentTimeMillis();\n\n long tottime = after - before;\n System.out.println(\"total time: \" + tottime + \"ms\");\n long ovhd = tottime - iters * delay;\n System.out.println(\"overhead: \" + ovhd + \"ms (\" + (100 * (ovhd / ((double) tottime))) + \"%)\");\n }",
"private void sleep(long millis) {\n\t\ttry {\n\t\t\tThread.sleep(millis);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private synchronized void sleepUntilFirstStudent() throws InterruptedException {\n System.out.println(\"TA: TA taking a nap. ZzZz...\");\n isSleeping = true;\n\n while(isSleeping){\n wait();\n }\n\n }",
"public static void sleepFor(long duration) {\n try {\n Thread.sleep(duration);\n } catch (InterruptedException e) {\n // There is nothing to be done here\n }\n }",
"void doDaSleep(int milli)\n {\n try {\n Thread.sleep(milli);\n } catch (InterruptedException ex) {\n\n }\n }",
"public static void sleep(int delay) {\n try {\n \t// int delay = (int)(Math.random()*maxDelay);\n Thread.sleep(delay);\n } catch (InterruptedException e) {}\n\t}",
"protected void runEachSecond() {\n \n }",
"private void sleep(int seconds) {\n\n\t\ttry {\n\t\t\tTimeUnit.SECONDS.sleep(seconds);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public static void delay() throws InterruptedException {\n // This is the sleep thread method that makes the program sleep\n // for a program amount of milliseconds to slow down the program\n Thread.sleep(1500);\n }",
"@Override\n public void doTask() throws InterruptedException {\n Thread.sleep(5000);\n }",
"public static void wait(int ms){\n try\n {\n Thread.sleep(ms);\n }\n catch(InterruptedException ex)\n {\n Thread.currentThread().interrupt();\n }\n}",
"public static void sleep(double seconds) {\n for (int i = 0; i < seconds * 10; i++) {\n try {\n while (Display.getCurrent().readAndDispatch())\n ;\n Thread.sleep(100);\n } catch (Exception e) {\n } catch (Error e) {\n }\n }\n }",
"protected final void sleep(int inMilliseconds) {\r\n\r\n\t\ttry {\r\n\t\t\tThread.sleep(inMilliseconds);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t} // catch\r\n\t}",
"private void sleepMilliseconds(long milliseconds) {\n try {\n Thread.sleep(milliseconds);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"void delayForDesiredFPS(){\n delayMs=(int)Math.round(desiredPeriodMs-(float)getLastDtNs()/1000000);\n if(delayMs<0) delayMs=1;\n try {Thread.currentThread().sleep(delayMs);} catch (java.lang.InterruptedException e) {}\n }",
"private void doCommand() {\n try {\n TimeUnit.SECONDS.sleep(2L);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"private static void waiting(int time) {\r\n\t\ttry {\r\n\t\t\tThread.sleep(time);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"public void sleepUntilNextRetry() throws InterruptedException {\n\t\tint attempts = getAttemptTimes();\n\t\tlong sleepTime = (long) (retryIntervalMillis * Math.pow(2, attempts));\n\t\tLOG.info(\"Sleeping \" + sleepTime + \"ms before retry #\" + attempts\n\t\t\t\t+ \"...\");\n\t\ttimeUnit.sleep(sleepTime);\n\t}",
"private long goToSleep(long lastSleepTime)\n\t{\n\t\tlong diff, sleepTime;\n\t\t\n\t\tdiff = System.currentTimeMillis() - lastSleepTime;\n sleepTime = PERIOD - lastSleepTime;\n if(sleepTime <= 0)\n sleepTime = 5;\n\n try \n {\n Thread.sleep(sleepTime);\n }\n catch(InterruptedException e){}\n\n return System.currentTimeMillis();\n\t}",
"public static void sleep(int seconds){\n seconds*=1000;\n try {\n Thread.sleep(seconds);\n }catch (InterruptedException e){\n e.getStackTrace();\n }\n }",
"@Override\n\tpublic void run() {\n\n\t\tdouble d = Math.random() * 299;\n\t\tlong val = (long) d;\n\n\t\ttry {\n\t\t\tThread.sleep(val);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tif (Thread.currentThread().getName().equals(\"one\")) {\n\t\t\tSystem.out.println(Thread.currentThread().getName()\n\t\t\t\t\t+ \" sleep time: \" + val);\n\n\t\t} else {\n\t\t\tSystem.out.println(Thread.currentThread().getName()\n\t\t\t\t\t+ \" sleep time: \" + val);\n\t\t}\n\n\t}",
"private static void pause( int milliseconds )\n\t{\n\t\ttry\n\t\t{\n\t\t\tThread.sleep( milliseconds );\n\t\t}\n\t\tcatch( InterruptedException e )\n\t\t{\n\t\t}\n\t}",
"private void sleepByScheduleTime() throws InterruptedException\n\t{\n\t\tjava.util.Calendar calendar = java.util.Calendar.getInstance();\n\t\tcalendar.setTime(new java.util.Date(System.currentTimeMillis()));\n\t\tint currHour = calendar.get(calendar.HOUR_OF_DAY);\n\t\tif ((24 - currHour) * 60 < 2 * FtpData.SCHEDULE_TIME)\n\t\t{\n\t\t\tsleep((FtpData.SCHEDULE_TIME + 1) * 60000); // 00h:01\n\t\t}\n\t\telse\n\t\t{\n\t\t\tsleep(FtpData.SCHEDULE_TIME * 60000); // n * minutes;\n\t\t}\n\t}"
] |
[
"0.76628745",
"0.76564276",
"0.7494593",
"0.7341722",
"0.7341722",
"0.7338492",
"0.72763944",
"0.7115189",
"0.7058012",
"0.7020912",
"0.70137423",
"0.6970008",
"0.695958",
"0.6957285",
"0.6956018",
"0.6906892",
"0.6892628",
"0.68917423",
"0.68665457",
"0.6864665",
"0.6817863",
"0.68167883",
"0.68064505",
"0.6780019",
"0.67733973",
"0.6750296",
"0.67436814",
"0.6721595",
"0.67176354",
"0.6704079",
"0.66839296",
"0.666478",
"0.6647887",
"0.66475564",
"0.6635012",
"0.66319793",
"0.6617812",
"0.6611865",
"0.65494704",
"0.65201813",
"0.65002805",
"0.63931316",
"0.6348048",
"0.63442516",
"0.63358945",
"0.6332921",
"0.63197625",
"0.6302816",
"0.6301969",
"0.62991595",
"0.6297716",
"0.62828475",
"0.6281065",
"0.62685835",
"0.6262658",
"0.6247791",
"0.62477326",
"0.62469804",
"0.6244041",
"0.62369275",
"0.62338495",
"0.62338495",
"0.62297124",
"0.6223439",
"0.62202793",
"0.6217206",
"0.6214543",
"0.6212016",
"0.62119174",
"0.6208746",
"0.6202503",
"0.6200066",
"0.6193576",
"0.6181581",
"0.61788064",
"0.6175369",
"0.614507",
"0.6141726",
"0.6139351",
"0.6133881",
"0.6123231",
"0.6120999",
"0.611464",
"0.6108183",
"0.6102899",
"0.6102166",
"0.6101756",
"0.6099788",
"0.60884476",
"0.60874224",
"0.6084594",
"0.60836935",
"0.60799575",
"0.6077827",
"0.6064672",
"0.6062952",
"0.6057672",
"0.60560817",
"0.6042293",
"0.6041469",
"0.60392267"
] |
0.0
|
-1
|
This method checks if the input is valid.
|
public static boolean isValid(String fullCommand) {
String strWeek = fullCommand.replaceFirst(DukeConstants.SHOW_WEEK_HEADER, DukeConstants.NO_FIELD);
if (!strWeek.isEmpty()) {
char checkSpace = strWeek.charAt(0);
if (checkSpace != ' ') {
return false;
}
}
strWeek = strWeek.trim();
if (strWeek.isEmpty()) {
return false;
} else if (strWeek.equals(DukeConstants.WEEK_FORMAT_KEYWORD_RECESS)
|| strWeek.equals(DukeConstants.WEEK_FORMAT_KEYWORD_READING)
|| strWeek.equals(DukeConstants.WEEK_FORMAT_KEYWORD_EXAM)) {
return true;
} else {
try {
Integer week = Integer.parseInt(strWeek);
if (week >= 1 && week <= 13) {
return true;
} else {
return false;
}
} catch (NumberFormatException e) {
return false;
}
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private boolean isInputValid() {\n return true;\n }",
"private boolean isValidInput() {\n\t\treturn true;\n\t}",
"protected abstract boolean isInputValid();",
"@Override\n\tpublic boolean checkInput() {\n\t\treturn true;\n\t}",
"protected abstract boolean checkInput();",
"private void validateInputParameters(){\n\n }",
"protected abstract int isValidInput();",
"private void checkUserInput() {\n }",
"@Override\n\tprotected void isValid(String input) throws DataInputException\n\t{\n\t}",
"public boolean checkInput();",
"public boolean isInputValid()\n {\n String[] values = getFieldValues();\n if(values[0].length() > 0 || values[1].length() > 0 || values[2].length() > 0)\n return true;\n else\n return false;\n }",
"protected abstract boolean isInputValid(@NotNull ConversationContext context, @NotNull String input);",
"public abstract boolean verifyInput();",
"private boolean isValidInput() {\n if (null == mUsername || mUsername.length() <= 0) {\n return false;\n } else if (null == mPassword || mPassword.length() <= 0) {\n return false;\n }\n return true;\n }",
"void checkValid();",
"private boolean isInputValid() {\r\n String errorMessage = \"\";\r\n\r\n if (nameField.getText() == null || nameField.getText().length() == 0) {\r\n errorMessage += \"请输入直播名!\\n\";\r\n }\r\n if (urlField.getText() == null || urlField.getText().length() == 0) {\r\n errorMessage += \"请输入直播流!\\n\";\r\n }\r\n\r\n if (errorMessage.length() == 0) {\r\n return true;\r\n } else {\r\n Alert alert = new Alert(Alert.AlertType.ERROR);\r\n alert.setTitle(\"输入错误\");\r\n alert.setContentText(errorMessage);\r\n return false;\r\n }\r\n }",
"private void validateData() {\n }",
"public boolean inputIsValid() {\n return nameIsValid() &&\n descriptionIsValid() &&\n priceIsValid() &&\n streetIsValid() &&\n zipcodeIsValid() &&\n cityIsValid() &&\n imageIsSelected();\n }",
"private boolean validateInput() {\n\tboolean valid = false;\n\ttry {\n\t if (paymentText == null | paymentText.getValue() == \"\") {\n\t\tpaymentText.focus();\n\t\tthrow new NullPointerException(\"paymentText fehlt\");\n\t }\n\t if (paymentBetrag == null | paymentBetrag.getValue() == \"\") {\n\t\tpaymentBetrag.focus();\n\t\tthrow new NullPointerException(\"paymentBetrag fehlt\");\n\t }\n\t if (!paymentBetrag.isEmpty()) {\n\t\t@SuppressWarnings(\"unused\")\n\t\tdouble d = Double.parseDouble(paymentBetrag.getValue());\n\t }\n\t // seems that everything was OK\n\t valid = true;\n\t} catch (NullPointerException e) {\n\t System.out.println(\"PaymentWindow - \" + e);\n\t} catch (NumberFormatException e) {\n\t // entered value is no number\n\t paymentBetrag.focus();\n\t}\n\treturn valid;\n }",
"private boolean isInputValid() {\r\n String errorMessage = \"\";\r\n\r\n if (errorMessage.length() == 0) {\r\n return true;\r\n } else {\r\n// Show the error message.\r\n Dialogs.create()\r\n .title(\"Invalid Fields\")\r\n .masthead(\"Please correct invalid fields\")\r\n .message(errorMessage)\r\n .showError();\r\n return false;\r\n }\r\n }",
"@Override\r\n\tpublic boolean checkValidity() {\n\t\treturn false;\r\n\t}",
"private boolean validateInput(EditText titleInput, EditText descriptionInput, EditText priceInput) {\n String title = titleInput.getText().toString();\n String description = descriptionInput.getText().toString();\n int price = (TextUtils.isEmpty(priceInput.getText().toString()))? -1 : Integer.parseInt(priceInput.getText().toString());\n if (TextUtils.isEmpty(title) || TextUtils.isEmpty(description) || price < 0) {\n Toast.makeText(this.getActivity(),\n \"Please, fill in all fields.\",\n Toast.LENGTH_LONG).show();\n return false;\n }\n if (photoURI == null) {\n Toast.makeText(this.getActivity(),\n \"Please, add a picture to this item before submitting it.\",\n Toast.LENGTH_LONG).show();\n return false;\n }\n return true;\n }",
"protected void validateInput()\r\n\t{\r\n\t\tString errorMessage = null;\r\n\t\tif ( validator != null ) {\r\n\t\t\terrorMessage = validator.isValid(text.getText());\r\n\t\t}\r\n\t\t// Bug 16256: important not to treat \"\" (blank error) the same as null\r\n\t\t// (no error)\r\n\t\tsetErrorMessage(errorMessage);\r\n\t}",
"private boolean checkUserInputValidity() {\n // Extract Student information from the edit text views\n String studentName = mStudentNameEditText.getText().toString().trim();\n String studentGradeString = mStudentGradeEditText.getText().toString();\n\n // Check for valid student name\n if (TextUtils.isEmpty(studentName)) {\n Toast.makeText(this, R.string.please_enter_valid_name, Toast.LENGTH_SHORT).show();\n mStudentNameEditText.requestFocus();\n return false;\n }\n\n // Check for valid student birthdate\n if (mStudentBirthdate == 0) {\n Toast.makeText(this, R.string.please_enter_valid_birthdate,\n Toast.LENGTH_SHORT).show();\n return false;\n }\n if (DateUtils.isChosenDateAfterToday(mStudentBirthdate)) {\n Toast.makeText(this, R.string.please_enter_valid_birthdate,\n Toast.LENGTH_SHORT).show();\n return false;\n }\n\n // Check for valid student grade\n if (TextUtils.isEmpty(studentGradeString)) {\n Toast.makeText(this, R.string.please_enter_valid_grade, Toast.LENGTH_SHORT).show();\n mStudentGradeEditText.requestFocus();\n return false;\n } else {\n int studentGrade = Integer.parseInt(studentGradeString);\n if (studentGrade <= 0) {\n Toast.makeText(this, R.string.please_enter_valid_grade, Toast.LENGTH_SHORT).show();\n mStudentGradeEditText.requestFocus();\n return false;\n }\n }\n\n return true;\n }",
"public void invalid() {\r\n\t\tSystem.out.println(\"Please enter a valid input\");\r\n\t}",
"private boolean checkInputValidity() {\n // if any of the input field is empty, return false directly\n if (name.getText().equals(\"\") || id.getText().equals(\"\") || fiber.getText().equals(\"\")\n || protein.getText().equals(\"\") || fat.getText().equals(\"\") || calories.getText().equals(\"\")\n || carbohydrate.getText().equals(\"\")) {\n String message = \"Make sure enter the value of all nutrient components, please try again!\";\n // display the warning windows with the assigned warning message\n Alert alert = new Alert(AlertType.INFORMATION, message);\n alert.getDialogPane().setMinHeight(Region.USE_PREF_SIZE);\n this.close();// close the add food stage\n alert.showAndWait().filter(response -> response == ButtonType.OK);\n return false;\n }\n // if any nutrition info input is not a number value or is negative, return false directly\n try {\n Double fibervalue = null;\n Double proteinvalue = null;\n Double fatvalue = null;\n Double caloriesvalue = null;\n Double carbohydratevalue = null;\n // trim the input to exact numeric value\n fibervalue = Double.valueOf(fiber.getText().trim());\n proteinvalue = Double.valueOf(protein.getText().trim());\n fatvalue = Double.valueOf(fat.getText().trim());\n caloriesvalue = Double.valueOf(calories.getText().trim());\n carbohydratevalue = Double.valueOf(carbohydrate.getText().trim());\n // nutrition input is suppose to be positive numbers\n // if any of the numbers is negative, return false diretcly\n if (fibervalue < 0.0 || proteinvalue < 0.0 || fatvalue < 0.0 || caloriesvalue < 0.0\n || carbohydratevalue < 0.0) {\n String message = \"The input of the nutrient can not be negative, please try again!\";\n Alert alert = new Alert(AlertType.INFORMATION, message);\n alert.getDialogPane().setMinHeight(Region.USE_PREF_SIZE);\n this.close();\n alert.showAndWait().filter(response -> response == ButtonType.OK);\n return false;\n }\n // if any input of the nutrition info is not a double value, catch the exception and return\n // false\n } catch (Exception e) {\n String message =\n \"At least one nutrition value input is invalid, please type a number in nutrient textbox!\";\n // display the warning windows with the assigned warning message\n Alert alert = new Alert(AlertType.INFORMATION, message);\n alert.getDialogPane().setMinHeight(Region.USE_PREF_SIZE);\n this.close(); // close the addfood stage\n // wait for response from ok button\n alert.showAndWait().filter(response -> response == ButtonType.OK);\n return false;\n }\n return true;\n }",
"private boolean isInputValid() {\n String errorMessage = \"\";\n\n if (gemNameField.getText() == null || gemNameField.getText().length() == 0) {\n errorMessage += \"No valid gem name!\\n\";\n }\n if (gemValueField.getText() == null || gemValueField.getText().length() == 0) {\n errorMessage += \"No valid gem value!\\n\";\n } else {\n // try to parse the gem value into an int.\n try {\n Integer.parseInt(gemValueField.getText());\n } catch (NumberFormatException e) {\n errorMessage += \"No valid gem value (must be an integer)!\\n\";\n }\n }\n if (gemDescripField.getText() == null || gemDescripField.getText().length() == 0) {\n errorMessage += \"No valid gem description!\\n\";\n }\n\n if (errorMessage.length() == 0) {\n return true;\n } else {\n // Show the error message.\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.initOwner(dialogStage);\n alert.setTitle(\"Invalid Fields\");\n alert.setHeaderText(\"Please correct invalid fields\");\n alert.setContentText(errorMessage);\n\n alert.showAndWait();\n\n return false;\n }\n }",
"private boolean validateInput() {\n boolean isValid = true;\n Alert errMsg = Util.getAlert(Alert.AlertType.ERROR);\n if (connectionsCB.getEditor().getText() == null || !Util.isValidAddress(connectionsCB.getEditor().getText())) {\n errMsg.setContentText(\"Invalid TRex Host Name or IP address\");\n isValid = false;\n } else if (!Util.isValidPort(rpcPort.getText())) {\n errMsg.setContentText(\"Invalid TRex Sync Port Number(\" + rpcPort.getText() + \")\");\n isValid = false;\n } else if (!Util.isValidPort(asyncPort.getText())) {\n errMsg.setContentText(\"Invalid Async Port Number(\" + asyncPort.getText() + \")\");\n isValid = false;\n } else if (Util.isNullOrEmpty(nameTF.getText())) {\n errMsg.setContentText(\"Name should not be empty\");\n isValid = false;\n }\n\n if (!isValid) {\n errMsg.show();\n }\n return isValid;\n }",
"private boolean validFormInputs() {\n String email = etEmail.getText().toString();\n String password = etPassword.getText().toString();\n String institutionName = etInstitutionName.getText().toString();\n String addressFirst = etInstitutionAddressFirst.getText().toString();\n String addressSecond = etInstitutionAddressSecond.getText().toString();\n String CIF = etCIF.getText().toString();\n\n String[] allInputs = {email, password, institutionName, addressFirst, addressSecond, CIF};\n for (String currentInput : allInputs) {\n if (currentInput.matches(\"/s+\")) // Regex pt cazul cand stringul e gol sau contine doar spatii\n return false; // formular invalid - toate inputurile trebuie sa fie completate\n }\n String[] stringsAddressFirst = addressFirst.split(\",\");\n String[] stringsAddressSecond = addressSecond.split(\",\");\n if (stringsAddressFirst.length != 4 ||\n stringsAddressSecond.length != 3)\n return false;\n\n //<editor-fold desc=\"Checking if NUMBER and APARTMENT are numbers\">\n try {\n Integer.parseInt(stringsAddressSecond[0]);\n Integer.parseInt(stringsAddressSecond[2]);\n return true; // parsed successfully without throwing any parsing exception from string to int\n }catch (Exception e) {\n Log.v(LOG_TAG, \"Error on converting input to number : \" + e);\n return false; // parsed unsuccessfully - given strings can not be converted to int\n }\n //</editor-fold>\n }",
"private boolean isInputValid() {\n\t\tString errorMessage = \"\";\n\t\t\n\t\tif (dateField.getText() == null || dateField.getText().length() == 0) {\n\t\t\terrorMessage += \"Kein gültiges Datum!\\n\";\n\t\t} else {\n\t\t\tif (!DateUtil.validDate(dateField.getText())) {\n\t\t\t\terrorMessage += \"Kein gültiges Datum. Benutze das dd.mm.yyy Format!\\n\";\n\t\t\t}\n\t\t}\n\t\tString categoryFieldSelection = categoryField.getSelectionModel().getSelectedItem();\n\t\tif (categoryFieldSelection.isEmpty() || categoryFieldSelection.length() == 0) {\n\t\t\terrorMessage += \"Keine gültige Kategorie!\\n\";\n\t\t}\n\t\tif (useField.getText() == null || useField.getText().length() == 0) {\n\t\t\terrorMessage += \"Kein gültiger Verwendungszweck!\\n\";\n\t\t}\n\t\tif (amountField.getText() == null || amountField.getText().length() == 0) {\n\t\t\terrorMessage += \"Kein gültiger Betrag!\\n\";\n\t\t} \n\t\t/**else {\n\t\t\t// try to parse the amount into a double\n\t\t\ttry {\n\t\t\t\tDouble.parseDouble(amountField.getText());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\terrorMessage += \"Kein zulässiger Betrag! (Nur Dezimalzahlen erlaubt)\\n\";\n\t\t\t}\n\t\t}**/\n\t\tif (distributionKindField.getText() == null || distributionKindField.getText().length() == 0) {\n\t\t\terrorMessage += \"Keine gültige Ausgabeart!\\n\";\n\t\t}\n\n\t\tif (errorMessage.length() == 0) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\t// Show the error message.\n\t\t\tAlert alert = new Alert(AlertType.ERROR);\n\t\t\talert.initOwner(dialogStage);\n\t\t\talert.setTitle(\"Ungültige Eingaben\");\n\t\t\talert.setHeaderText(\"Bitte korrigieren Sie die Fehler in den Feldern.\");\n\t\t\talert.setContentText(errorMessage);\n\t\t\talert.showAndWait();\n\t\t\treturn false;\n\t\t}\n\t}",
"private boolean isInputValid() {\n String errorMessage = \"\";\n\n if (ID.getText() == null || ID.getText().length() == 0) {\n errorMessage += \"No valid id!\\n\";\n System.out.println(\"fl\");\n }\n if (password.getText() == null || password.getText().length() == 0) {\n errorMessage += \"No valid password!\\n\"; \n }\n if (errorMessage.length() == 0) {\n return true;\n } else {\n // Show the error message.\n Dialogs.create()\n .title(\"Invalid Fields\")\n .masthead(\"Please correct invalid fields\")\n .message(errorMessage)\n .showError();\n return false;\n }\n }",
"private boolean isInputValid() {\n String errorMessage = \"\";\n\n if (commentField.getText() == null || commentField.getText().length() == 0) {\n errorMessage += \"Не введен комментарий!\\n\";\n }\n if (timeField.getText() == null || timeField.getText().length() == 0) {\n errorMessage += \"Не введено время выполнения задачи!\\n\";\n }\n if (errorMessage.length() == 0) {\n return true;\n } if (errorMessage.length() == 0) {\n return true;\n } else {\n // Show the error message.\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\n alert.setTitle(\"Не введены все данные!\");\n alert.setHeaderText(null);\n alert.setContentText(\"Пожалуйста, введите все данные!\");\n alert.showAndWait();\n return false;\n }\n }",
"protected boolean isValidData() {\n return true;\n }",
"private void checkInput(String input)throws Exception{\n\n if (input.getBytes(\"UTF-8\").length > 255){\n throw new IOException(\"Message too long\");\n\n }\n try {\n if (Integer.parseInt(input) < 0 || Integer.parseInt(input) > 65535) {\n throw new IOException(\"Port not valid\");\n }\n }catch (NumberFormatException e){\n //nothing should happen\n }\n }",
"public boolean checkInput(){\n if(spelerIDField.getText().equals(\"\") || typeField.getText().equals(\"\") || codeField.getText().equals(\"\") || heeftBetaaldField.getText().equals(\"\")){\n return true;\n } else { return false; }\n }",
"private boolean isInputValid(){\n\t\tString errorMessage = \"\";\n\t\tif((nameField.getText() == null) || (nameField.getText().length() == 0)){\n\t\t\terrorMessage += \"No valid product name!\\n\";\n\t\t}\n\t\tif((amountAvailableField.getText() == null) || (amountAvailableField.getText().length() == 0)){\n\t\t\terrorMessage += \"No valid amount available value!\\n\";\n\t\t}\n\t\tif((amountSoldField.getText() == null) || (amountSoldField.getText().length() == 0)){\n\t\t\terrorMessage += \"No valid amount sold value!\\n\";\n\t\t}\n\t\tif((priceEachField.getText() == null) || (priceEachField.getText().length() == 0)){\n\t\t\terrorMessage += \"No valid price for each!\\n\";\n\t\t}\n\t\tif((priceMakeField.getText() == null) || (priceMakeField.getText().length() == 0)){\n\t\t\terrorMessage += \"No valid price to make the product!\\n\";\n\t\t}\n\t\tif(errorMessage.length() == 0){\n\t\t\treturn true;\n\t\t}\n\t\telse{\n\t\t\treturn false;\n\t\t}\n\t}",
"public boolean checkInput(String input){\n\t\t//make sure only input 0-9\n\t\tif(input.length() != 1){\n\t\t\treturn false;\n\t\t}\n\t\tchar c = input.charAt(0);\n\t\tif(!Character.isDigit(c)){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"private boolean checkForWrongInput(){\n if(this.studentCode.getText().isEmpty())\n return true;\n //Check for length\n if(this.studentCode.getText().length() != 3)\n return true;\n //Check for invalid characters\n for(char c: this.studentCode.getText().toCharArray())\n if(!Character.isDigit(c))\n return true;\n\n return false;\n }",
"private boolean validateInput(){\n boolean operationOK = true;\n //perform input validation on the double values in the form\n String integrationTime = this.integrationTimeText.getText();\n String integrationFrequency = this.integrationFrequencyText.getText();\n \n if(!integrationTime.equals(\"\")){\n try {\n Double itime = Double.parseDouble(integrationTime);\n integrationTimeText.setBackground(Color.WHITE);\n integrationTimeText.setToolTipText(\"Time in seconds (s)\");\n } catch (NumberFormatException ex) {\n integrationTimeText.setBackground(Color.RED);\n operationOK=false;\n integrationTimeText.setToolTipText(\"This field has to be a valid double (eg. 1.5)\");\n }\n }\n if(!integrationFrequency.equals(\"\")){\n try {\n Double itime = Double.parseDouble(integrationFrequency);\n integrationFrequencyText.setBackground(Color.WHITE);\n integrationFrequencyText.setToolTipText(\"Frequency in Hertz (Hz)\");\n \n } catch (NumberFormatException ex) {\n operationOK=false;\n integrationFrequencyText.setBackground(Color.RED);\n integrationFrequencyText.setToolTipText(\"This field has to be a valid double (eg. 1.5)\");\n }\n }\n if(currentStepOperationsPanel!=null){\n operationOK = this.currentStepOperationsPanel.validateInput();\n \n }\n return operationOK;\n }",
"public boolean checkValidity() {\n String sep = DECIMAL_FORMAT.getDecimalFormatSymbols().getDecimalSeparator() + \"\";\n String name = nameField.getText().trim();\n String priceText = valueField.getText().trim();\n if (name.equals(\"\") || priceText.equals(\"\")) {\n Utils.showWarningMessage(getRootPane(), \"The fields can not be empty!\");\n return false;\n }\n String price = priceText.replace(sep, \"\");\n if (!price.matches(\"^[0-9]+$\")) {\n Utils.showWarningMessage(getRootPane(), \"Please enter a valid price!\");\n return false;\n }\n int priceInt = Integer.parseInt(price);\n if (priceInt == 0) {\n Utils.showWarningMessage(getRootPane(), \"The price can not be 0.\");\n return false;\n }\n return true;\n }",
"private boolean validInput()\n {\n boolean completeForm = true; //all textfields have been filled in\n boolean noExceptions = true; //all textfields (except name) have int\n boolean selectionMade = true; //user has selected a ship type\n\n if (shipNameInput.getText()==\"Ship name\" ||\n xcoordInput.getText()==\"Starting x coordinate\" ||\n ycoordInput.getText()==\"Starting y coordinate\")\n {\n System.out.println(\"ERROR: Please fill in all text fields before \"+\n \"adding your ship.\");\n completeForm = false;\n }\n try\n {\n xcoord = Integer.parseInt(xcoordInput.getText());\n ycoord = Integer.parseInt(ycoordInput.getText());\n }\n catch (NumberFormatException except)\n {\n System.out.println(\"ERROR: Ship coordinates and speed need to be \"+\n \"entered as integers.\");\n noExceptions = false;\n }\n if (directionInput.getResponse() == \"none\")\n {\n System.out.println(\"ERROR: Please choose a direction.\");\n selectionMade = false;\n }\n else\n {\n String d = directionInput.getResponse();\n if (d == \"N\") direction = 0;\n else if (d == \"NE\") direction = Ship.NE;\n else if (d == \"E\") direction = Ship.E;\n else if (d == \"SE\") direction = Ship.SE;\n else if (d == \"S\") direction = Ship.S;\n else if (d == \"SW\") direction = Ship.SW;\n else if (d == \"W\") direction = Ship.W;\n else if (d == \"NW\") direction = Ship.NW;\n }\n shipName = shipNameInput.getText();\n speed = speedSlider.getValue();\n\n return (completeForm && noExceptions && selectionMade);\n }",
"public boolean valid()\r\n\t{\r\n\t\treturn valid(getInputStream());\r\n\t}",
"private boolean isInValidInput(String input) {\n\n\t\tif (input == null || input.isEmpty())\n\t\t\treturn true;\n\n\t\tint firstPipeIndex = input.indexOf(PARAM_DELIMITER);\n\t\tint secondPipeIndex = input.indexOf(PARAM_DELIMITER, firstPipeIndex + 1);\n\n\t\t/*\n\t\t * if there are no PARAM_DELIMITERs or starts with a PARAM_DELIMITER\n\t\t * (Meaning command is missing) or only single PARAM_DELIMITER input is\n\t\t * not valid\n\t\t */\n\t\tif (firstPipeIndex == -1 || firstPipeIndex == 0 || secondPipeIndex == -1)\n\t\t\treturn true;\n\n\t\t// Means package name is empty\n\t\tif (secondPipeIndex - firstPipeIndex < 2)\n\t\t\treturn true;\n\n\t\treturn false;\n\t}",
"private boolean isInputValid() {\r\n String errorMessage = \"\";\r\n\r\n if (idLabel.getText() == null || idLabel.getText().length() == 0) {\r\n errorMessage += \"No valid ID number!\\n\"; \r\n } else {\r\n // try to parse the postal code into an int.\r\n try {\r\n Integer.parseInt(idLabel.getText());\r\n } catch (NumberFormatException e) {\r\n errorMessage += \"No valid ID number (must be an integer)!\\n\"; \r\n }\r\n }\r\n \r\n if (firstNameField.getText() == null || firstNameField.getText().length() == 0) {\r\n errorMessage += \"No valid first name!\\n\"; \r\n }\r\n if (lastNameField.getText() == null || lastNameField.getText().length() == 0) {\r\n errorMessage += \"No valid last name!\\n\"; \r\n }\r\n if (industryField.getText() == null || industryField.getText().length() == 0) {\r\n errorMessage += \"No valid industry!\\n\"; \r\n }\r\n\r\n if (workTypeField.getText() == null || workTypeField.getText().length() == 0) {\r\n errorMessage += \"No valid work type!\\n\"; \r\n }\r\n\r\n if (addressField.getText() == null || addressField.getText().length() == 0) {\r\n errorMessage += \"No valid address!\\n\";\r\n }\r\n\r\n if (errorMessage.length() == 0) {\r\n return true;\r\n } else {\r\n // Show the error message.\r\n Alert alert = new Alert(AlertType.ERROR);\r\n alert.initOwner(dialogStage);\r\n alert.setTitle(\"Invalid Fields\");\r\n alert.setHeaderText(\"Please correct invalid fields\");\r\n alert.setContentText(errorMessage);\r\n\r\n alert.showAndWait();\r\n\r\n return false;\r\n }\r\n }",
"public boolean checkEntryInputs() {\n\t\tboolean isValid = true;\n\t\tif(sampleNumberTF.getText().equals(\"\")) {\n\t\t\tisValid = false;\n\t\t}\n\t\t\n\t\tif(materialDescriptionTF.getText().equals(\"\")) {\n\t\t\tisValid = false;\n\t\t}\n\t\t\n\t\tif(Double.valueOf(bacteroidesConcentrationTF.getText())==null) {\n\t\t\tisValid = false;\n\t\t}\n\t\treturn isValid;\n\t}",
"private static boolean isBadInput(String s) {\n\t\tString[] split = s.split(\"\\\\s+\");\n\t\tif (split.length != 3) {\n\t\t\tSystem.err.printf(\"Unknow length: %d\\n\", split.length);\n\t\t\treturn true;\n\t\t}\n\t\ttry {\n\t\t\tInteger.parseInt(split[0]);\n\t\t\tInteger.parseInt(split[2]);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.err.printf(\"Input numbers only.\\n\");\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (split[1].length() != 1) {\n\t\t\tSystem.err.printf(\"Operator should be one character.\\n\");\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"private boolean validateInputInfo(){\n\n //Get user input\n String firstName = newContactFirstName.getText().toString();\n String lastName = newContactLastName.getText().toString();\n String email = newContactEmailAddress.getText().toString();\n String phone = newContactPhoneNumber.getText().toString();\n\n //Check to make sure no boxes were left empty\n if(firstName.isEmpty() || lastName.isEmpty() || email.isEmpty() || phone.isEmpty()){\n Toast.makeText(this, \"You must fill all fields before continuing!\", Toast.LENGTH_LONG).show();\n return false;\n }\n //Check to see if phone number is valid\n else if(!(phone.length() >= 10)){\n Toast.makeText(this, \"Make sure to input a valid 10 digit phone number!\", Toast.LENGTH_LONG).show();\n return false;\n }\n\n return true;\n }",
"public static boolean checkInput(String saInput) {\r\n\t\treturn checkGenericPattern(saInput) && checkGenericPattern(unalter(saInput));\r\n\t}",
"protected void validate() {\n // no op\n }",
"public void validate() {}",
"@Override\n public boolean validate(final String param) {\n return false;\n }",
"private void verifyInput(){\n String firstName = mFirstNameField.getText().toString();\n String lastName = mLastNameField.getText().toString();\n\n mNameFieldsFilled = !TextUtils.isEmpty(firstName) && !TextUtils.isEmpty(lastName);\n\n }",
"private void validate() throws BaseException\n {\n boolean okay = true;\n\n //TODO: check the bases in seq for validity\n // If the type is RNA, the base T is not allowed\n // If the type is DNA, the base U is not allowed\n // If a disallowed type is present, set okay to false.\n \n if (!okay)\n {\n throw new BaseException();\n }\n }",
"private boolean validateInput() {\n String username = editUsername.getText().toString().trim();\n String email = editEmail.getText().toString().trim();\n String password = editPassword.getText().toString().trim();\n String repeatPassword = editRepeatPassword.getText().toString().trim();\n if (!password.equals(repeatPassword)) {\n ShowMessageUtil.tosatSlow(\"Enter passwords differ\", EmailRegisterActivity.this);\n return false;\n } else if (username.equals(\"\") || email.equals(\"\") || password.equals(\"\")) {\n ShowMessageUtil.tosatSlow(\"every item can not be empty!\", EmailRegisterActivity.this);\n return false;\n }\n if (username.length()>10){\n ShowMessageUtil.tosatSlow(\"the character length of the username can't be over than 10\", EmailRegisterActivity.this);\n return false;\n }\n return true;\n }",
"private boolean isInputValid() {\n String errorMessage = \"\";\n\n if (ServiceName.getText() == null || ServiceName.getText().length() == 0) {\n errorMessage += \"No valid name!\\n\";\n }\n if (Serviceemail.getText() == null || Serviceemail.getText().length() == 0) {\n Pattern p = Pattern.compile(\"[_A-Za-z0-9][A-Za-z0-9._]*?@[_A-Za-z0-9]+([.][_A-Za-z]+)+\");\n Matcher m = p.matcher(Serviceemail.getText());\n if (m.find() && m.group().equals(Serviceemail.getText())) {\n errorMessage += \"No valid Mail Forment!\\n\";\n }\n }\n if (servicedescrip.getText() == null || servicedescrip.getText().length() == 0) {\n errorMessage += \"No valid description !\\n\";\n }\n if (f == null && s.getImage() == null) {\n errorMessage += \"No valid photo ( please upload a photo !)\\n\";\n }\n if (Serviceprice.getText() == null || Serviceprice.getText().length() == 0) {\n errorMessage += \"No valid prix !\\n\";\n } else {\n // try to parse the postal code into an int.\n try {\n Float.parseFloat(Serviceprice.getText());\n } catch (NumberFormatException e) {\n errorMessage += \"No valid prix (must be a Float)!\\n\";\n }\n }\n if ( !Weekly.isSelected() && !Daily.isSelected() && !Monthly.isSelected()) {\n errorMessage += \"No valid Etat ( select an item !)\\n\";\n }\n if (Servicesatet.getSelectionModel().getSelectedIndex() == -1) {\n errorMessage += \"No valid etat ( select an item !)\\n\";\n }\n if (ServiceCity.getSelectionModel().getSelectedIndex() == -1) {\n errorMessage += \"No valid City ( select an item !)\\n\";\n }\n if (servicetype.getSelectionModel().getSelectedIndex() == -1) {\n errorMessage += \"No valid Type ( select an item !)\\n\";\n }\n if (errorMessage.length() == 0) {\n return true;\n } else {\n // Show the error message.\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.setTitle(\"Invalid Fields\");\n alert.setHeaderText(\"Please correct invalid fields\");\n alert.setContentText(errorMessage);\n alert.showAndWait();\n return false;\n }\n }",
"private boolean validEditInput() throws SQLException {\n // Checks if any of the fields is empty\n if(teamNameEditField.getText().equals(\"\") || abbrevationEditField.getText().equals(\"\")\n || chooseCityBox.getValue() == null || chooseLeagueBox.getValue() == null\n || chooseLeagueTeamBox.getValue() == null) {\n displayMessage(messagePane,\"Please fill all the fields\",true);\n return false;\n }\n // Checks the abbrevation length\n else if(abbrevationEditField.getText().length() > 3)\n {\n displayMessage(messagePane,\"Abbrevations must be at most 3 characters\",true);\n return false;\n }\n // Checks team name length\n else if (teamNameEditField.getText().length() > 30){\n displayMessage(messagePane,\"Team Names must be smaller than 30 characters\",true);\n return false;\n }\n return true;\n }",
"protected void validate()\r\n\t{\r\n\t\tif( this.mapper==null )\r\n\t\t\tthrow new IllegalStateException(\"Please specify the Mapper of this dataset.\");\r\n\t\tif( this.input_format==null )\r\n\t\t\tthrow new IllegalStateException(\"Please specify the InputFormat of this dataset.\");\r\n\t\tif( this.inputs==null || this.inputs.size()==0 )\r\n\t\t\tthrow new IllegalStateException(\"Please specify the input path(s) of this dataset\");\r\n\t\tif ( this.getSchema()==null || this.getSchema().size()==0 )\r\n\t\t\tthrow new IllegalStateException(\"Please specify the schema of this dataset first\");\r\n\t}",
"public boolean validateForm() {\r\n\t\tint validNum;\r\n\t\tdouble validDouble;\r\n\t\tString lengthVal = lengthInput.getText();\r\n\t\tString widthVal = widthInput.getText();\r\n\t\tString minDurationVal = minDurationInput.getText();\r\n\t\tString maxDurationVal = maxDurationInput.getText();\r\n\t\tString evPercentVal = evPercentInput.getText();\r\n\t\tString disabilityPercentVal = disabilityPercentInput.getText();\r\n\t\t\r\n\t\t/**\r\n\t\t * Step.1 - Ensure all inputs are numbers\r\n\t\t */\r\n\t\t\r\n\t\t// Try to parse length as int\r\n\t\ttry {\r\n\t\t\tvalidNum = Integer.parseInt(lengthVal);\r\n\t } catch (NumberFormatException e) {\r\n\t \tsetErrorMessage(\"Length must be an integer\");\r\n\t return false;\r\n\t }\r\n\t\t\r\n\t\t// Try to parse width as int\r\n\t\ttry {\r\n\t\t\tvalidNum = Integer.parseInt(widthVal);\r\n\t } catch (NumberFormatException e) {\r\n\t \tsetErrorMessage(\"Width must be an integer\");\r\n\t return false;\r\n\t }\r\n\t\t\r\n\t\t// Try to parse width as int\r\n\t\ttry {\r\n\t\t\tvalidNum = Integer.parseInt(minDurationVal);\r\n\t } catch (NumberFormatException e) {\r\n\t \tsetErrorMessage(\"Min Duration must be an integer\");\r\n\t return false;\r\n\t }\r\n\t\t\r\n\t\t// Try to parse width as int\r\n\t\ttry {\r\n\t\t\tvalidNum = Integer.parseInt(maxDurationVal);\r\n\t } catch (NumberFormatException e) {\r\n\t \tsetErrorMessage(\"Max Duration must be an integer\");\r\n\t return false;\r\n\t }\r\n\t\t\r\n\t\t// Try to parse width as int\r\n\t\ttry {\r\n\t\t\tvalidDouble = Double.parseDouble(evPercentVal);\r\n\t } catch (NumberFormatException e) {\r\n\t \tsetErrorMessage(\"EV % must be a number\");\r\n\t return false;\r\n\t }\r\n\t\t\r\n\t\t// Try to parse width as int\r\n\t\ttry {\r\n\t\t\tvalidDouble = Double.parseDouble(disabilityPercentVal);\r\n\t } catch (NumberFormatException e) {\r\n\t \tsetErrorMessage(\"Disability % must be a number\");\r\n\t return false;\r\n\t }\r\n\t\t\r\n\t\t/**\r\n\t\t * Step.2 - Ensure all needed inputs are non-zero\r\n\t\t */\r\n\t\t\r\n\t\tvalidNum = Integer.parseInt(lengthVal);\r\n\t\tif (validNum <= 0) {\r\n\t\t\tsetErrorMessage(\"Length must be greater than 0\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tvalidNum = Integer.parseInt(widthVal);\r\n\t\tif (validNum <= 0) {\r\n\t\t\tsetErrorMessage(\"Width must be greater than 0\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tvalidNum = Integer.parseInt(minDurationVal);\r\n\t\tif (validNum < 10) {\r\n\t\t\tsetErrorMessage(\"Min Duration must be at least 10\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tvalidNum = Integer.parseInt(maxDurationVal);\r\n\t\tif (validNum < 10) {\r\n\t\t\tsetErrorMessage(\"Max Duration must be at least 10\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tvalidDouble = Double.parseDouble(evPercentVal);\r\n\t\tif (validDouble < 0) {\r\n\t\t\tsetErrorMessage(\"EV % can't be less than 0\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tvalidDouble = Double.parseDouble(disabilityPercentVal);\r\n\t\tif (validDouble < 0) {\r\n\t\t\tsetErrorMessage(\"Disability % can't be less than 0\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Step.3 - Ensure Max Duration can't be smaller than Min Duration\r\n\t\t */\r\n\t\t\r\n\t\tif (Integer.parseInt(minDurationVal) > Integer.parseInt(maxDurationVal)) {\r\n\t\t\tsetErrorMessage(\"Max Duration can't be less than Min Duration\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Step.4 - Ensure values aren't too large for the system to handle\r\n\t\t */\r\n\t\t\r\n\t\tif (Integer.parseInt(lengthVal) > 15) {\r\n\t\t\tsetErrorMessage(\"Carpark length can't be greater than 15 spaces\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tif (Integer.parseInt(widthVal) > 25) {\r\n\t\t\tsetErrorMessage(\"Carpark width can't be greater than 25 spaces\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (Integer.parseInt(minDurationVal) > 150) {\r\n\t\t\tsetErrorMessage(\"Min Duration can't be greater than 150\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tif (Integer.parseInt(maxDurationVal) > 300) {\r\n\t\t\tsetErrorMessage(\"Max Duration can't be greater than 300\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tif (Double.parseDouble(evPercentVal) > 100) {\r\n\t\t\tsetErrorMessage(\"EV % can't be greater than 100\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tif (Double.parseDouble(disabilityPercentVal) > 100) {\r\n\t\t\tsetErrorMessage(\"Disability % can't be greater than 100\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tif (Integer.parseInt(minDurationVal) > 150) {\r\n\t\t\tsetErrorMessage(\"Min Duration can't be greater than 150\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\treturn true;\r\n\t}",
"private boolean validInput() throws SQLException {\n if (userNameField.getText().length() == 0) {\n displayMessage(messagePane, \"Name cannot be empty\", true);\n return false;\n }\n else if (userNameField.getText().length() == 1) {\n displayMessage(messagePane, \"Name cannot be empty\", true);\n return false;\n }\n else if (!isAllLetters(userNameField.getText())) {\n displayMessage(messagePane, \"Names must be all letters\", true);\n return false;\n }\n else if (!(userNameField.getText().contains(\" \")) || userNameField.getText().charAt(0) == ' ') {\n displayMessage(messagePane, \"Name must consist of two words\", true);\n return false;\n }\n else if (!(emailField.getText().contains(\"@\"))) {\n displayMessage(messagePane, \"Invalid email\", true);\n return false;\n }\n else if (DatabaseManager.isEmailTaken(user.getDatabaseConnection(), emailField.getText()) && !(emailField.getText().equals(user.getUser().getEmail()))){\n displayMessage(messagePane, \"Email is used before\", true);\n return false;\n }\n else {\n displayMessage(messagePane,\"Changes are saved\", false);\n return true;\n }\n }",
"private boolean isValid(String input){\n return input.length() == 10 && input.matches(\"-?\\\\d+(\\\\.\\\\d+)?\");\n //check its digits\n }",
"@Override\n\tprotected void checkNumberOfInputs(int length) {\n\n\t}",
"public boolean checkInput(String str)\n {\n try\n {\n Integer.parseInt(str);\n } \n catch(NumberFormatException ex)\n {\n return false;\n } \n return true;\n }",
"void validate();",
"void validate();",
"@Override\r\n\tpublic boolean isValid() {\n\t\treturn false;\r\n\t}",
"private void validarCampos() {\n }",
"private boolean checkInputFields(){\r\n\t\tString allertMsg = \"Invalid input: \" + System.getProperty(\"line.separator\");\r\n\t\t\r\n\t\t//Check input for MCS text field\r\n\t\ttry{\r\n\t\t\tFloat testValue = Float.parseFloat(m_MCSTf.getText());\r\n\t\t\tif(testValue < 0 || testValue > 1)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t}catch (NumberFormatException e){\r\n\t\t\tallertMsg += \"Please enter a number between 0 and 1 as a MCS score.\" + System.getProperty(\"line.separator\");\r\n\t\t}\r\n\t\t//Check input for relevance score weight and coherence score weight text fields\r\n\t\ttry{\r\n\t\t\tFloat relScoreW = Float.parseFloat(m_RelScoreTf.getText());\r\n\t\t\tFloat cohScoreW = Float.parseFloat(m_CohScoreTf.getText());\r\n\t\t\tif(relScoreW < 0 || relScoreW > 1)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t\tif(cohScoreW < 0 || cohScoreW > 1)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t\tif((relScoreW + cohScoreW) != 1)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t}catch (NumberFormatException e){\r\n\t\t\tallertMsg += \"Please enter a number between 0 and 1 as a weight for relevance and coherence score.\" + System.getProperty(\"line.separator\");\r\n\t\t\tallertMsg += \"Sum of the weights for relevance and coherence score must be 1.\" + System.getProperty(\"line.separator\");\r\n\t\t}\r\n\t\t//Check input for MCS text field\r\n\t\ttry{\r\n\t\t\tFloat testValue = Float.parseFloat(m_KeyTf.getText());\r\n\t\t\tif(testValue < 0)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t}catch (NumberFormatException e){\r\n\t\t\tallertMsg += \"Please enter a positive number as multiplier for keyword concepts.\" + System.getProperty(\"line.separator\");\r\n\t\t}\r\n\t\t//Check input for category confidence weight\r\n\t\ttry{\r\n\t\t\tFloat testValue = Float.parseFloat(m_CatConfTf.getText());\r\n\t\t\tif(testValue < 0)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t}catch (NumberFormatException e){\r\n\t\t\tallertMsg += \"Please enter a positive number as a weight for the weight of the category confidence of concepts.\" + System.getProperty(\"line.separator\");\r\n\t\t}\r\n\t\t//Check input for weight of repeated concepts\r\n\t\ttry{\r\n\t\t\tFloat testValue = Float.parseFloat(m_RepeatTf.getText());\r\n\t\t\tif(testValue < 0)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t}catch (NumberFormatException e){\r\n\t\t\tallertMsg += \"Please enter a positive number as a weight for repeated concepts.\" + System.getProperty(\"line.separator\");\r\n\t\t}\r\n\t\t//Check input for number of output categories\r\n\t\ttry{\r\n\t\t\tInteger testValue = Integer.parseInt(m_MaxCatsTf.getText());\r\n\t\t\tif(testValue < 1)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t}catch (NumberFormatException e){\r\n\t\t\tallertMsg += \"Please enter a positive number for the maximum number of output categories.\" + System.getProperty(\"line.separator\");\r\n\t\t}\r\n\t\ttry{\r\n\t\t\tInteger testValue = Integer.parseInt(m_MinCatsTf.getText());\r\n\t\t\tif(testValue < 1)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t}catch (NumberFormatException e){\r\n\t\t\tallertMsg += \"Please enter a positive number for the minimum number of output categories.\" + System.getProperty(\"line.separator\");\r\n\t\t}\r\n\t\ttry{\r\n\t\t\tFloat testValue = Float.parseFloat(m_MinCatScoreTf.getText());\r\n\t\t\tif(testValue < 0.0f || testValue > 1.0f)\r\n\t\t\t\tthrow new NumberFormatException();\r\n\t\t}catch (NumberFormatException e){\r\n\t\t\tallertMsg += \"Please enter a positive number between 0 and 1 as minimum category score.\" + System.getProperty(\"line.separator\");\r\n\t\t}\r\n\t\tif(allertMsg.length() > 18){\r\n\t\t\tAlert alert = new Alert(AlertType.ERROR);\r\n\t\t\talert.setContentText(allertMsg);\r\n\t\t\talert.showAndWait();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"protected boolean isValid()\r\n {\r\n \treturn true;\r\n }",
"@Override\n public boolean inputIsValid(ParserInput<?> input) {\n return input instanceof TokensParserInput;\n }",
"@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}",
"private boolean validateInputs() {\n if (Constants.NULL.equals(review)) {\n reviewET.setError(\"Must type a review!\");\n reviewET.requestFocus();\n return false;\n }\n if (Constants.NULL.equals(heading)) {\n headingET.setError(\"Heading cannot be empty\");\n headingET.requestFocus();\n return false;\n }\n return true;\n }",
"@Override\n\t\tpublic boolean isValid() {\n\t\t\treturn false;\n\t\t}",
"protected void check() throws IOException, ServletException {\n if(value.length()==0)\n error(\"please specify at least one component\");\n else {\n \t\t//TODO add more checks\n \t\tok();\n }\n }",
"default Boolean validateInput(String input){\n if (input.contains(\"(\") || input.contains(\")\") || input.contains(\"[\") || input.contains(\"}\") || input.contains(\"{\") || input.contains(\"}\") )\n {\n return true;\n }else{\n return false;\n }\n }",
"boolean valid() {\n return true;\n }",
"boolean valid() {\n return true;\n }",
"boolean valid() {\n return true;\n }",
"private static void checkValidity(boolean valid) throws InvalidExpression\r\n {\r\n if(!valid)\r\n {\r\n throw new InvalidExpression(\"The expression entered is not valid\");\r\n }\r\n }",
"private boolean validateInputs() {\n return !proID.getText().isEmpty() || \n !proName.getText().isEmpty() ||\n !proPrice.getText().isEmpty();\n }",
"boolean checkValidity();",
"private boolean isInputValid() {\n\t\tString errorMessage = \"\";\n\t\t\n\t\tif(userNameField.getText() == null || userNameField.getText().length() == 0) {\n\t\t\terrorMessage += \"Üres a felhasználó név mező!\\n\";\n\t\t}\n\t\tif(passwordField.getText() == null || passwordField.getText().length() == 0) {\n\t\t\terrorMessage += \"Üres a jelszó mező!\";\n\t\t}\n\t\t\n\t\tif(errorMessage.length() == 0) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\t// show the error message\n\t\t\tAlert alert = new Alert(AlertType.ERROR);\n\t\t\talert.initOwner(dialogStage);\n\t\t\talert.setTitle(\"Érvénytelen mezők\");\n\t\t\talert.setHeaderText(\"Kérlek töltsd ki az összes mezőt!\");\n\t\t\talert.setContentText(errorMessage);\n\t\t\t\n\t\t\talert.showAndWait();\n\t\t\t\n\t\t\treturn false;\n\t\t}\n\t}",
"private boolean validateInput() {\n String departmentInput = mDepartmentField.getText().toString();\n String emailInput = mEmailField.getText().toString();\n String passwordInput = mPasswordField.getText().toString();\n\n if (departmentInput.isEmpty()) {\n mDepartmentField.setError(\"Please enter your department number\");\n mDepartmentField.requestFocus();\n return false;\n } else {\n mPasswordField.setError(null);\n }\n\n\n if (emailInput.isEmpty() || !Patterns.EMAIL_ADDRESS.matcher(emailInput).matches()) {\n mEmailField.setError(\"Please enter a valid email address\");\n mEmailField.requestFocus();\n return false;\n } else {\n mEmailField.setError(null);\n }\n\n if (passwordInput.isEmpty()) {\n mPasswordField.setError(\"Please enter your password\");\n mPasswordField.requestFocus();\n return false;\n } else {\n mPasswordField.setError(null);\n }\n\n return true;\n }",
"private boolean isInputValid() {\n boolean isValidInput = true;\n\n if (TextUtils.isEmpty(studentID)) {\n Validator.setEmptyError(studentIDLayout);\n isValidInput = false;\n } else {\n studentIDLayout.setError(null);\n studentIDLayout.setErrorEnabled(false);\n }\n\n if (TextUtils.isEmpty(studentName)) {\n Validator.setEmptyError(studentNameLayout);\n isValidInput = false;\n } else {\n studentNameLayout.setError(null);\n studentNameLayout.setErrorEnabled(false);\n }\n\n if (TextUtils.isEmpty(fatherName)) {\n Validator.setEmptyError(fatherNameLayout);\n isValidInput = false;\n } else {\n fatherNameLayout.setError(null);\n fatherNameLayout.setErrorEnabled(false);\n }\n\n if (TextUtils.isEmpty(gender)) {\n genderErrorText.setVisibility(View.VISIBLE);\n isValidInput = false;\n } else {\n genderErrorText.setVisibility(View.GONE);\n }\n\n if (TextUtils.isEmpty(phone)) {\n Validator.setEmptyError(phoneLayout);\n isValidInput = false;\n } else if (!Validator.isValidMobile(phone)) {\n isValidInput = false;\n phoneLayout.setError(\"This phone is not valid\");\n } else {\n phoneLayout.setError(null);\n phoneLayout.setErrorEnabled(false);\n }\n\n if (TextUtils.isEmpty(email)) {\n Validator.setEmptyError(emailLayout);\n isValidInput = false;\n } else if (!Validator.isValidEmail(email)) {\n isValidInput = false;\n emailLayout.setError(\"This email is not valid\");\n } else {\n emailLayout.setError(null);\n emailLayout.setErrorEnabled(false);\n }\n\n return isValidInput;\n }",
"public boolean validateInput() {\n/* 158 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public void validateInput(Information information) {\n information.validateFirstName();\n information.validateLastName();\n information.validateZipcode();\n information.validateEmployeeID();\n }",
"private void validate() {\n\n if (this.clsname == null)\n throw new IllegalArgumentException();\n if (this.dimension < 0)\n throw new IllegalArgumentException();\n if (this.generics == null)\n throw new IllegalArgumentException();\n }",
"@Override\r\n public boolean validate() {\n return true;\r\n }",
"public abstract boolean isValidValue(String input);",
"private boolean validateInput(){\n boolean result = false;\n\n if(!us.setUsername(userField.getText())){\n errorLabel.setText(\"Nombre de usuario invalido\");\n } else if(!us.setPassword(passField.getText())){ //Valido 1 por uno los campos que ingreso el usuario\n errorLabel.setText(\"Contraseña invalida\");\n } else if(!us.setName(nameField.getText())){\n errorLabel.setText(\"Nombre Invalido\");\n } else if(!us.setSurname(surnameField.getText())){\n errorLabel.setText(\"Apellido Invalido\");\n } else if(!us.setDni(dniField.getText())){\n errorLabel.setText(\"Dni invalido\");\n } else if(!ageField.getText().matches(\"\\\\d{2}\")){\n errorLabel.setText(\"Edad invalida\");\n }\n else{\n us.setAge(Integer.parseInt(ageField.getText()));\n result = true;\n }\n return result;\n }",
"public static boolean checkForValidInput(String input) {\n try {\n int inputValue = Integer.parseInt(input);\n return inputValue >= 0 && inputValue <= 8;\n } catch (NumberFormatException e) {\n return false;\n }\n }",
"public boolean isValid() {\r\n/* */ try {\r\n/* 326 */ validate();\r\n/* 327 */ } catch (ValidationException vex) {\r\n/* 328 */ return false;\r\n/* */ } \r\n/* 330 */ return true;\r\n/* */ }",
"public void checkInput(TextField number) {\r\n\t\ttry {\r\n\t\t\tlong num = Long.parseLong(number.getText());\r\n\t\t\tif (num < 0) \t\t\t\t\t// ako je negativan broj, pretvorit cemo ga u pozitivan\r\n\t\t\t\tnum = Math.abs(num);\r\n\t\t\tif (isValid(num)) \r\n\t\t\t\tscene2();\r\n\t\t}\r\n\t\tcatch (Exception e) {\t\t\t\t// hvatanje greske\r\n\t\t\talert(\"Wrong input, try again!\");\r\n\t\t}\r\n\t}",
"boolean inputValid(String s) {\n\n if (s.length() == 0) {\n return false;\n }\n\n //check whether there are wrong commas\n for (int ii = 1; ii < s.length() - 1; ii++) {\n if (s.charAt(ii) == ',') {\n if(!s.contains(\"log\")) {\n resS = \"There are wrong commas\";\n return false;\n }\n }\n }\n\n //check whether there are multiple points\n if(s.charAt(0)=='.' || s.charAt(s.length()-1)=='.') return false;\n for (int ii = 1; ii < s.length() - 1; ii++) {\n if (s.charAt(ii) == '.') {\n if (!Character.isDigit(s.charAt(ii - 1))) {\n resS=\"These are wrong points.\";\n return false;\n } else if (!Character.isDigit(s.charAt(ii + 1))) {\n resS=\"These are wrong points.\";\n return false;\n } else {\n for (int jj = ii + 2; jj < s.length(); jj++) {\n if (s.charAt(jj) == '.') {\n String ss = s.substring(ii + 2, jj);\n if (!(ss.contains(\"+\") || ss.contains(\"-\") || ss.contains(\"*\") || ss.contains(\"/\") || ss.contains(\"%\")\n || ss.contains(\"^\") || ss.contains(\")\"))) {\n resS=\"These are wrong points.\";\n return false;\n }\n }\n }\n }\n }\n }\n ArrayList<Token> operation = tokenize(s);\n return isNumberOrOpe(operation) && isOpePosRight(operation) && isValidparentheses(operation) && isValidTan(operation) && isLogWrong(operation);\n }",
"public boolean validate() {\n return true;\n }",
"public boolean validate() {\n return true;\n }",
"public boolean validate(String input)//true if valid\n\t{\n\t\t//loop through string verifying for numbers\n\t\tfor(int i = 0;i<input.length(); i++)\n\t\t{\n\t\t\tchar c = input.charAt(i);\n\t\t\tif(!Character.isDigit(c))\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\t\n\t\t}\n\t\treturn true;\n\t}",
"private void validate() {\n\t\t// just in case;\n\t\tfor (int i=0;i<NR_OF_FIELDS; i++) {\n\t\t\tvalid[i] = \"0\";\n\t\t}\n\t\t//\n\t\t// Validate name and surname:\n\t\t//\n\t\tif ( ! this.isUpperAlpha(nume)) {\n\t\t\tfields[0] = \"1\";\n\t\t}\n\t\t\n\t\tif ( ! this.isUpperAlphaWithSpace(nume)) {\n\t\t\tfields[1] = \"1\";\n\t\t}\n\t\t//\n\t\t// validate seria\n\t\t//\n\t\tvalid[2] = \"1\";\t\t\t\t\t\t\t// presupun ca seria este invalida, si incerc sa o validez\n\t\tfor (int i=0; i<seriiBuletin.length; i++) {\n\t\t\tif (seriiBuletin[i].equals(seria)) {\n\t\t\t\tvalid[2] = \"0\";\n\t\t\t}\n\t\t}\n\t\t//\n\t\t// validate numarul\n\t\t//\n\t\ttry {\n\t\t\tvalid[3] = \"1\";\n\t\t\tint nr = Integer.valueOf(numarul);\n\t\t\tif ( nr >= 100000 && nr <= 999999 ) {\n\t\t\t\tvalid[3] = \"0\";\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tLog.d(TAG, \"Error validating seria.\");\n\t\t}\n\n\t\t//\n\t\t// validate sex\n\t\t//\n\t\tif ( ! (sex == 'M' || sex == 'F')) {\n\t\t\tvalid[6] = \"1\";\n\t\t}\n\t\t//\n\t\t// Validate valabilitate\n\t\t//\n\t\tif ( ! isNumber(this.valabilitate)) {\n\t\t\tvalid[7] = \"1\";\n\t\t}\n\t\t//\n\t\t// validate CNP\n\t\t//\n\t\tif ( ! (isNumber(CNP) && isValidCNP(CNP))) {\n\t\t\tvalid[8] = \"1\";\n\t\t}\n\t\t\n\t}",
"private boolean isInputValid() {\n String errorMessage = \"\";\n\n //for now just check they actually typed something\n if ((userField.getText() == null) || userField.getText().isEmpty()) {\n errorMessage += \"No username entered\\n\";\n }\n if ((pwField.getText() == null) || pwField.getText().isEmpty()) {\n errorMessage += \"No password entered\\n\";\n }\n\n //no error message means success / good input\n if (errorMessage.isEmpty()) {\n return true;\n } else {\n // Show the error message if bad data\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.initOwner(_dialogStage);\n alert.setTitle(\"Invalid Fields\");\n alert.setHeaderText(\"Please correct invalid fields\");\n alert.setContentText(errorMessage);\n\n alert.showAndWait();\n\n return false;\n }\n }",
"private void checkValid() {\n getSimType();\n getInitialConfig();\n getIsOutlined();\n getEdgePolicy();\n getNeighborPolicy();\n getCellShape();\n }"
] |
[
"0.86311847",
"0.8621043",
"0.8205435",
"0.80104893",
"0.7659533",
"0.75889695",
"0.7528009",
"0.73813134",
"0.73791265",
"0.7298029",
"0.72287863",
"0.7214566",
"0.7143308",
"0.7142205",
"0.7039204",
"0.70074975",
"0.6977608",
"0.6959642",
"0.69593763",
"0.6911742",
"0.68479216",
"0.68432695",
"0.6839441",
"0.68353873",
"0.68318015",
"0.6826739",
"0.6807268",
"0.6784391",
"0.6736157",
"0.67349726",
"0.6733647",
"0.6729781",
"0.67213804",
"0.67149913",
"0.6714805",
"0.6710706",
"0.6706104",
"0.6696005",
"0.6655946",
"0.66537005",
"0.66518897",
"0.66413105",
"0.66391796",
"0.6622149",
"0.66195935",
"0.66073024",
"0.66024256",
"0.6601553",
"0.6589804",
"0.6584944",
"0.65807843",
"0.6579886",
"0.657918",
"0.65610486",
"0.6556556",
"0.6552424",
"0.6547053",
"0.65436184",
"0.6533543",
"0.6518559",
"0.65153575",
"0.6515055",
"0.6505303",
"0.6505303",
"0.65046144",
"0.6503678",
"0.6502771",
"0.6500228",
"0.64929146",
"0.6492448",
"0.6492448",
"0.6492448",
"0.64892155",
"0.64841866",
"0.6480376",
"0.64754933",
"0.64718986",
"0.64718986",
"0.64718986",
"0.6469295",
"0.646912",
"0.64685196",
"0.6463722",
"0.64548755",
"0.6447132",
"0.6443634",
"0.6440081",
"0.64388525",
"0.6438303",
"0.643508",
"0.64313346",
"0.64298636",
"0.6427571",
"0.642502",
"0.64248365",
"0.64205325",
"0.64205325",
"0.64203125",
"0.6416872",
"0.6416326",
"0.64114594"
] |
0.0
|
-1
|
This method converts the given week format to the format in the lookup table.
|
public static String getWeek(String fullCommand) {
String week = fullCommand.replaceFirst(DukeConstants.SHOW_WEEK_HEADER, DukeConstants.NO_FIELD);
week = week.trim();
if ((week.equals(DukeConstants.WEEK_FORMAT_KEYWORD_RECESS)
|| week.equals(DukeConstants.WEEK_FORMAT_KEYWORD_READING)
|| week.equals(DukeConstants.WEEK_FORMAT_KEYWORD_EXAM))) {
week = capitalizeWord(week);
week = week + DukeConstants.BLANK_SPACE + DukeConstants.WEEK_FORMAT_KEYWORD;
} else {
week = DukeConstants.WEEK_FORMAT_KEYWORD + DukeConstants.BLANK_SPACE + week;
}
return week;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"com.czht.face.recognition.Czhtdev.Week getWeekday();",
"public void setWeek(String week) {\r\n this.week = week;\r\n }",
"public static String getWeekCommandFormat(String selectedWeek) {\n String week;\n if ((selectedWeek.toLowerCase().startsWith(DukeConstants.WEEK_FORMAT_KEYWORD_RECESS)\n || selectedWeek.toLowerCase().startsWith(DukeConstants.WEEK_FORMAT_KEYWORD_READING)\n || selectedWeek.toLowerCase().startsWith(DukeConstants.WEEK_FORMAT_KEYWORD_EXAM))\n && selectedWeek.contains(DukeConstants.WEEK_FORMAT_KEYWORD)) {\n selectedWeek = selectedWeek.replace(DukeConstants.WEEK_FORMAT_KEYWORD, DukeConstants.NO_FIELD);\n selectedWeek = selectedWeek.trim();\n week = DukeConstants.SHOW_WEEK_HEADER\n + DukeConstants.BLANK_SPACE\n + selectedWeek.toLowerCase();\n } else {\n week = DukeConstants.SHOW_WEEK_HEADER + selectedWeek.replaceFirst(DukeConstants.WEEK_FORMAT_KEYWORD,\n DukeConstants.NO_FIELD);\n }\n return week;\n }",
"public void normalizeWeek(int weekDay) {\r\n\t\tvalidateInput(weekDay, 0);\r\n\t\tfor(int i = MIN_WEEKDAY; i <= MAX_WEEKDAY; i++)\r\n\t\t\tif(i != weekDay) {\r\n\t\t\t\tfor(int j = MIN_SEGMENT; j <= MAX_SEGMENT; j++) {\r\n\t\t\t\t\tschedule[i][j] = schedule[weekDay][j];\r\n\t\t\t\t\tnotifyListeners(i, j);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t}",
"private DayOfWeek convertDayOfWeek(Time.Day studentDay) {\n switch (studentDay) {\n case Sunday:\n return DayOfWeek.SUNDAY;\n\n case Monday:\n return DayOfWeek.MONDAY;\n\n case Tuesday:\n return DayOfWeek.TUESDAY;\n\n case Wednesday:\n return DayOfWeek.WEDNESDAY;\n\n case Thursday:\n return DayOfWeek.THURSDAY;\n\n case Friday:\n return DayOfWeek.FRIDAY;\n\n default:\n return DayOfWeek.SATURDAY;\n }\n }",
"int getWeek();",
"private String getWeekDay(int i) {\n String day = \"\";\n switch (i) {\n case 0:\n day = \"Sunday\";\n break;\n case 1:\n day = \"Monday\";\n break;\n case 2:\n day = \"Tuesday\";\n break;\n case 3:\n day = \"Wednesday\";\n break;\n case 4:\n day = \"Thursday\";\n break;\n case 5:\n day = \"Friday\";\n break;\n case 6:\n day = \"Saturday\";\n break;\n\n }\n return day;\n }",
"public void normalizeWeekDays(int weekDay) {\r\n\t\tvalidateInput(weekDay, 0);\r\n\t\tfor(int i = 1; i <= 5; i++)\r\n\t\t\tif(i != weekDay) {\r\n\t\t\t\tfor(int j = MIN_SEGMENT; j <= MAX_SEGMENT; j++) {\r\n\t\t\t\t\tschedule[i][j] = schedule[weekDay][j];\r\n\t\t\t\t\tnotifyListeners(i, j);\r\n\t\t\t\t}\t\t\r\n\t\t\t}\r\n\t}",
"DayOfWeek getUserVoteSalaryWeeklyDayOfWeek();",
"public String periodFormatWeek(int weeknumber, String periodName)\n {\n return format(\"period.format.week\", weeknumber, periodName);\n }",
"public String calendarweek(Date startDate) {\n String format = getString(\"calendarweek.abbreviation\");\n int week = DateTools.getWeekInYear(startDate, getLocale());\n String result = format.replace(\"{0}\", \"\" + week);\n // old format also works\n result = result.replace(\"{0,date,w}\", \"\" + week);\n return result;\n }",
"boolean getWeek7();",
"public String getWeek() {\r\n return week;\r\n }",
"public String convertDayOfWeekAsNumToFullName(int dayOfWeek) {\n\t\t\t\treturn new DateFormatSymbols().getWeekdays()[dayOfWeek];\n\t\t\t}",
"public WeekPattern() {}",
"public int turnWeekdayToNumber(String str){\n int number=0;\n switch (str){\n case \"Sunday\":\n number=7;\n break;\n case\"Saturday\":\n number=6;\n break;\n case\"Friday\":\n number=5;\n break;\n case\"Thursday\":\n number=4;\n break;\n case\"Wednesday\":\n number=3;\n break;\n case\"Tuesday\":\n number=2;\n break;\n case\"Monday\":\n number=1;\n break;\n default:\n break;\n }\n return number;\n }",
"public int convertWeekDay() {\r\n\t\treturn convertWeekDay(this);\r\n\t}",
"boolean getWeek6();",
"public Schedule4Week() {\n\n\t\tm_WeekSchedule = new HashMap<String, Schedule>();\n\t\t\t\n\t\tm_WeekSchedule.put(ms_Mon, new Schedule());\n\t\tm_WeekSchedule.put(ms_Tue, new Schedule());\n\t\tm_WeekSchedule.put(ms_Wed, new Schedule());\n\t\tm_WeekSchedule.put(ms_Thu, new Schedule());\n\t\tm_WeekSchedule.put(ms_Fri, new Schedule());\n\t\tm_WeekSchedule.put(ms_Sat, new Schedule());\n\t\tm_WeekSchedule.put(ms_Sun, new Schedule());\n\t\t\n\t}",
"private static Map<Integer,List<LocalDateTime>> workingHoursForFacilityPerWeek(Facility facility, LocalDateTime now) {\n Map<Integer,List<LocalDateTime>> workingHoursForWeek=new HashMap<>();\n DateTimeFormatter formatter = DateTimeFormatter.ofPattern(Constants.WORKING_HOURS_FORMAT);\n LocalTime startTime = LocalTime.parse(facility.getWorkingHours().split(Constants.HOUR_SEPARATOR)[0], formatter);\n LocalTime endTime = LocalTime.parse(facility.getWorkingHours().split(Constants.HOUR_SEPARATOR)[1], formatter);\n int emptySpot= facility.getEmptySpot();\n IntStream.range(0,Constants.WEEK_COUNT).forEach(weekIndex -> {\n now.plusWeeks(1);\n workingHoursForWeek.put(weekIndex, TimeUtil.getWorkingHoursForWeek(startTime, endTime, now).subList(0,emptySpot));\n\n });\n return workingHoursForWeek;\n\n }",
"@Override\r\n public String toString() {\r\n return this.weekName;\r\n }",
"public static String substKeysCheckFormat(String format) throws HISDateException {\r\n String formatStr = format;\r\n // Trimmen und in Großschrift konvertieren:\r\n formatStr = formatStr.trim().toUpperCase();\r\n // Schlüsselworte für Format checken und ersetzen:\r\n if (formatStr.equals(\"GERMAN\")) {\r\n formatStr = \"DMY.\";\r\n } else if (formatStr.equals(\"ISO\")) {\r\n formatStr = \"YMD-\";\r\n } else if (formatStr.equals(\"ENGLISH\")) {\r\n formatStr = \"DMY/\";\r\n } else if (formatStr.equals(\"US\")) {\r\n formatStr = \"MDY/\";\r\n // TODO: Sind die letzten beiden richtig ??\r\n // Gibts noch andere ?? Mit guessFormat() abgleichen !!!\r\n } else {\r\n // Nicht als Schlüsselwort gegebene Formatangabe prüfen...\r\n HISDate.checkFormat(formatStr);\r\n }\r\n return formatStr;\r\n }",
"boolean getWeek3();",
"boolean getWeek1();",
"@Override\n protected String serializeWeeksBetween(ImmutableList<? extends ImmutableTerm> terms,\n Function<ImmutableTerm, String> termConverter, TermFactory termFactory) {\n return String.format(\"DATEDIFF(WEEK, %s, %s)\",\n termConverter.apply(terms.get(1)),\n termConverter.apply(terms.get(0)));\n }",
"@Override\n public void onWeekChange(List<Calendar> weekCalendars) {\n String firstDateString = weekCalendars.get(0).toString();\n try {\n firstDateOfWeek = sdfLibraryDate.parse(firstDateString);\n } catch (ParseException e) {\n e.printStackTrace();\n }\n assert firstDateOfWeek != null;\n firstDateString = sdfMyDate.format(firstDateOfWeek);\n try {\n firstDateOfWeek = sdfMyDate.parse(firstDateString);\n } catch (ParseException e) {\n e.printStackTrace();\n }\n Log.e(\"HDT0309\", \"firstDateOfWeek \" + firstDateOfWeek); //Oke\n ///\n for (Calendar calendar : weekCalendars) {\n //Log.e(\"HDT0309\", \"(3)onWeekChange:\" + calendar.toString());\n }\n }",
"public void updateWeekday(){\n Date curDate=new Date(System.currentTimeMillis());\n SimpleDateFormat format=new SimpleDateFormat(\"EEEE\");\n String weekday1=format.format(curDate);\n int numberWeekday1=turnWeekdayToNumber(weekday1);\n updateSpecificDay(numberWeekday1);\n TextView TextWeekday=(TextView)this.findViewById(R.id.tv_weekday);\n TextWeekday.setText(weekday1);\n }",
"com.czht.face.recognition.Czhtdev.WeekOrBuilder getWeekdayOrBuilder();",
"public String convertDayOfWeekAsNumToName(int dayOfWeek) {\n\t\t\t\tString[] DayOfWeekAsShortName = { \"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\" };\n\t\t\t\treturn DayOfWeekAsShortName[dayOfWeek - 1];\n\t\t\t}",
"public String getDayOfTheWeek(){\r\n Calendar calendar = Calendar.getInstance();\r\n int day = calendar.get(Calendar.DAY_OF_WEEK);\r\n String calendar_Id = null;\r\n switch (day) {\r\n case Calendar.SUNDAY:\r\n calendar_Id =\"(90300)\";\r\n break;\r\n case Calendar.MONDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.TUESDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.WEDNESDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.THURSDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.FRIDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.SATURDAY:\r\n calendar_Id =\"(90200,90238)\";\r\n break;\r\n }\r\n\r\n return calendar_Id;\r\n }",
"boolean getWeek2();",
"private void dayOfWeek(HplsqlParser.Expr_func_paramsContext ctx) {\n Integer v = getPartOfDate(ctx, Calendar.DAY_OF_WEEK);\n if (v != null) {\n evalInt(v);\n }\n else {\n evalNull();\n }\n }",
"boolean getWeek4();",
"public static referential.store.v2.WeekPattern.Builder newBuilder(referential.store.v2.WeekPattern other) {\n return new referential.store.v2.WeekPattern.Builder(other);\n }",
"public void normalizeWeekends(int weekDay) {\r\n\t\tvalidateInput(weekDay, 0);\r\n\t\tint[] weekends = {0, 6};\r\n\t\tfor(int i : weekends)\r\n\t\t\tif( i != weekDay) {\r\n\t\t\t\tfor(int j = MIN_SEGMENT; j <= MAX_SEGMENT; j++) {\r\n\t\t\t\t\tschedule[i][j] = schedule[weekDay][j];\r\n\t\t\t\t\tnotifyListeners(i, j);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t}",
"public static int convertWeekDay(WeekDay day) {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\tif (day == SUNDAY)\r\n\t\t\treturn (int)Math.pow(2,1);\r\n\t\telse\r\n\t\t\treturn (int)Math.pow(2,values().length - day.ordinal() + 1);\r\n\t}",
"@RequestMapping(value = \"/week/weeknumber/{weeknumber}\", \n\t\t\tmethod = RequestMethod.GET, \n\t\t\tproduces = MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<List<Week>> getWeekByWeekNumber(@PathVariable(\"weeknumber\") int weeknumber) {\n\t\tResponseEntity<List<Week>> returnEntity;\n\n\t\ttry {\n\t\t\tList<Week> result = businessDelegate.getWeekByWeekNumber(weeknumber);\n\n\t\t\tif (result == null) {\n\t\t\t\treturnEntity = new ResponseEntity<List<Week>>(result, HttpStatus.NOT_FOUND);\n\t\t\t} else {\n\t\t\t\treturnEntity = new ResponseEntity<List<Week>>(result, HttpStatus.OK);\n\t\t\t}\n\t\t} catch (RuntimeException e) {\n\t\t\treturnEntity = new ResponseEntity<List<Week>>(HttpStatus.BAD_REQUEST);\n\t\t}\n\t\treturn returnEntity;\n\t}",
"public static referential.store.v2.WeekPattern.Builder newBuilder() {\n return new referential.store.v2.WeekPattern.Builder();\n }",
"@Test\n public void DayOfWeek() {\n System.out.printf(\"%s%n\\n\", DayOfWeek.MONDAY.plus(3));\n\n DayOfWeek dow = DayOfWeek.MONDAY;\n Locale locale = Locale.getDefault();\n System.out.println(dow.getDisplayName(TextStyle.FULL, locale));\n System.out.println(dow.getDisplayName(TextStyle.NARROW, locale));\n System.out.println(dow.getDisplayName(TextStyle.SHORT, locale));\n }",
"boolean hasWeek7();",
"public void setName(String n) {\r\n this.weekName = n;\r\n }",
"private void weekDateUpdate(GregorianCalendar reference) {\n\t\treference = (GregorianCalendar) reference.clone();\n\t\tthis.weekdates.removeAll();\n\t\treference = DateCalc.startOf(reference, Calendar.WEEK_OF_YEAR);\n\t\tint day = 1;\n\t\tJLabel current;\n\t\twhile (day <= 7) {\n\t\t\tStringBuilder date = new StringBuilder();\n\t\t\tdate.append(reference.getDisplayName(Calendar.DAY_OF_WEEK,\n\t\t\t\t\tCalendar.SHORT, DEFAULT_LOCALE)\n\t\t\t\t\t+ \" \");\n\t\t\tdate.append(reference.get(Calendar.DAY_OF_MONTH));\n\t\t\tdate.append('.');\n\t\t\tdate.append((reference.get(Calendar.MONTH) + 1));\n\n\t\t\tcurrent = new JLabel(date.toString());\n\t\t\tthis.weekdates.add(current);\n\t\t\tthis.weekdates.addSeparator();\n\t\t\treference.add(Calendar.DAY_OF_WEEK, 1);\n\t\t\tday++;\n\t\t}\n\t}",
"public static String getWeekDay(int weekDay) {\n String day = null;\n switch (weekDay) {\n case Calendar.SUNDAY:\n day = new String(\"Sunday\");\n break;\n case Calendar.MONDAY:\n day = new String(\"Monday\");\n break;\n case Calendar.TUESDAY:\n day = new String(\"Tuesday\");\n break;\n case Calendar.WEDNESDAY:\n day = new String(\"Wednesday\");\n break;\n case Calendar.THURSDAY:\n day = new String(\"Thursday\");\n break;\n case Calendar.FRIDAY:\n day = new String(\"Friday\");\n break;\n case Calendar.SATURDAY:\n day = new String(\"Saturday\");\n break;\n }\n return day;\n }",
"public static void viewWeekSchedule() {\n\t\tWeek w = new Week();\n\t\t\n\t\tprintWeekTitles();\n\t\tint weekID = Utility.askInt(\"\\nSelect week to view: \");\n\t\tw = aweek.get(weekID);\n\t\t\n\t\tviewWeek(w);\n\t\t\n\t}",
"public void AllWeekLessonReport(int weeks)\r\n {\r\n for (int i = 0; i < weeks; i++)\r\n {\r\n for (int j = 0; j < daysPerWeek; j++)\r\n {\r\n for (int k = 0; k < totalSlots; k++)\r\n {\r\n LessonClass l = weekArray[(i)].dayArray[j].dayMap.get(roomNtime[k]);\r\n \r\n // if lesson exists, and isnt a parent appointment\r\n if (l != null && l.subject != subjects.PARENT)\r\n {\r\n System.out.println(\"\\n| WEEK: \" + (i+1) + \" | \" + \"DAY: \" + days[j] \r\n + \" | \" + \"TIME: \" + l.time + \"pm | \" + l.room + \" |\");\r\n System.out.println(l.toReport());\r\n }\r\n }\r\n }\r\n }\r\n }",
"public Week getWeek(int weekNumber) {\n return weekList.get(weekNumber);\n }",
"private static Map<String, Integer> mapDaysOfWeek(final String[] weekdays) {\n final Map<String, Integer> mapping = new LinkedHashMap<String, Integer>();\n mapping.put(weekdays[Calendar.MONDAY], 1);\n mapping.put(weekdays[Calendar.TUESDAY], 2);\n mapping.put(weekdays[Calendar.WEDNESDAY], 3);\n mapping.put(weekdays[Calendar.THURSDAY], 4);\n mapping.put(weekdays[Calendar.FRIDAY], 5);\n mapping.put(weekdays[Calendar.SATURDAY], 6);\n mapping.put(weekdays[Calendar.SUNDAY], 7);\n return mapping;\n }",
"public void refreshWeek() {\n\t\tthis.showWeek(this.currentMonday);\n\t}",
"public int convertDayOfWeekAsNameToNum(String dayOfWeekName) {\n\t\t\t\tint dayOfWeek = 0;\n\t\t\t\tfor (int i = 1; i <= 7; i++) {\n\t\t\t\t\tif ((new DateFormatSymbols().getWeekdays()[i]).toLowerCase().contains(dayOfWeekName.toLowerCase())){\n\t\t\t\t\t\tdayOfWeek = i;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn dayOfWeek;\n\t\t\t}",
"public static gpsWeekType fromPerAligned(byte[] encodedBytes) {\n gpsWeekType result = new gpsWeekType();\n result.decodePerAligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"public String getHintInvalidDaysOfWeek()\n {\n Object obj = _facesBean.getProperty(_HINT_WEEK_KEY);\n return ComponentUtils.resolveString(obj);\n }",
"protected final String getWeekDay(Calendar day) {\n switch (day.get(Calendar.DAY_OF_WEEK)) {\n case Calendar.SUNDAY:\n return \"SUNDAY\";\n case Calendar.MONDAY:\n return \"MONDAY\";\n case Calendar.TUESDAY:\n return \"TUESDAY\";\n case Calendar.WEDNESDAY:\n return \"WEDNESDAY\";\n case Calendar.THURSDAY:\n return \"THURSDAY\";\n case Calendar.FRIDAY:\n return \"FRIDAY\";\n case Calendar.SATURDAY:\n return \"SATURDAY\";\n default:\n return \"MONDAY\";\n }\n }",
"private LocalDate parseWeekLevel(String token) {\n\t\tString[] tokens = token.split(\"\\\\s+\");\n\t\tboolean next = false;\n\t\tLocalDate rtnDate = LocalDate.now();\n\t\tif (tokens[0].equals(\"next\")) {\n\t\t\tnext = true;\n\t\t}\n\t\tif (tokens.length == 0 || tokens.length > 2) {\n\t\t\treturn null;\n\t\t}\n\t\tString weekday = next ? tokens[1] : tokens[0];\n\t\tCalendar cal = new GregorianCalendar();\n\t\tswitch (weekday) {\n\t\t\t\n\t\t\tcase \"tmr\" :\n\t\t\tcase \"tomorrow\" :\n\t\t\t\treturn rtnDate.plusDays(1);\n\t\t\t\t\n\t\t\tcase \"week\" :\n\t\t\t\treturn next ? rtnDate.plusWeeks(1) : null;\n\t\t\t\t\n\t\t\tcase \"sun\" :\n\t\t\tcase \"sunday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, SUNDAY);\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase \"mon\" :\n\t\t\tcase \"monday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, MONDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"tue\" :\n\t\t\tcase \"tues\" :\n\t\t\tcase \"tuesday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, TUESDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"wed\" :\n\t\t\tcase \"wednesday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, WEDNESDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"thu\" :\n\t\t\tcase \"thur\" :\n\t\t\tcase \"thurs\" :\n\t\t\tcase \"thursday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, THURSDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"fri\" :\n\t\t\tcase \"friday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, FRIDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"sat\" :\n\t\t\tcase \"saturday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, SATURDAY);\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tdefault:\n\t\t\t\treturn null;\n\t\t}\n\t\tif (next) {\n\t\t\tcal.add(WEEK_OF_YEAR, 1);\n\t\t}\n\t\treturn AbsoluteDateParser.toLocalDate(cal.getTime());\n\t}",
"private static String normalizeWWN(String unpaddedWWN) {\n String wwn = StringUtils.leftPad(unpaddedWWN, 16, '0');\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < wwn.length(); i += 2) {\n String slice = StringUtils.substring(wwn, i, i + 2);\n if (sb.length() > 0) {\n sb.append(':');\n }\n sb.append(slice);\n }\n return sb.toString();\n }",
"public DateTimeFormatterBuilder appendWeekOfWeekyear(int minDigits) {\r\n return appendDecimal(DateTimeFieldType.weekOfWeekyear(), minDigits, 2);\r\n }",
"public static gpsWeekType fromPerUnaligned(byte[] encodedBytes) {\n gpsWeekType result = new gpsWeekType();\n result.decodePerUnaligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"boolean hasWeek6();",
"public String convertCalendarMillisecondsAsLongToDayOfWeekAsShortName(long fingerprint) {\n\t\t\t\tDateFormat format = new SimpleDateFormat(\"EEE\");\n\t\t\t\tDate date = new Date(fingerprint);\n\t\t\t\tString dayOfWeek = format.format(date);\n\t\t\t\treturn dayOfWeek;\n\t\t\t}",
"public static referential.store.v2.WeekPattern.Builder newBuilder(referential.store.v2.WeekPattern.Builder other) {\n return new referential.store.v2.WeekPattern.Builder(other);\n }",
"public String dayOfWeek()\n {\n\n int m;\n int y;\n\n if (month == 1)\n {\n m = 13;\n y = year - 1;\n }\n else if (month == 2)\n {\n m = 14;\n y = year - 1;\n }\n else\n {\n m = month;\n y = year;\n }\n int k = y % 100;\n int j = y / 100;\n int a = 13 * (m + 1);\n\n if ((day + a / 5 + k + k / 4 + j / 4 + 5 * j) % 7 == 0)\n return \"Saturday\";\n else if ((day + a / 5 + k + k / 4 + j / 4 + 5 * j) % 7 == 1)\n return \"Sunday\";\n else if ((day + a / 5 + k + k / 4 + j / 4 + 5 * j) % 7 == 2)\n return \"Monday\";\n else if ((day + a / 5 + k + k / 4 + j / 4 + 5 * j) % 7 == 3)\n return \"Tuesday\";\n else if ((day + a / 5 + k + k / 4 + j / 4 + 5 * j) % 7 == 4)\n return \"Wednesday\";\n else if ((day + a / 5 + k + k / 4 + j / 4 + 5 * j) % 7 == 5)\n return \"Thursday\";\n else if ((day + a / 5 + k + k / 4 + j / 4 + 5 * j) % 7 == 6)\n return \"Friday\";\n else\n return \"ERROR\";\n }",
"public Builder setWeekday(com.czht.face.recognition.Czhtdev.Week value) {\n if (weekdayBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n weekday_ = value;\n onChanged();\n } else {\n weekdayBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000010;\n return this;\n }",
"public EventsCalendarWeek getEventCalendarWeekByNumber(Integer weekNumber) {\n if (weekNumber < 0 || weekNumber > 52)\n throw new IllegalArgumentException(\"weekNumber have to be in range [0-52], current \" + weekNumber);\n else return listOfWeeks.get(weekNumber);\n }",
"boolean hasWeek1();",
"public Builder mergeWeekday(com.czht.face.recognition.Czhtdev.Week value) {\n if (weekdayBuilder_ == null) {\n if (((bitField0_ & 0x00000010) == 0x00000010) &&\n weekday_ != null &&\n weekday_ != com.czht.face.recognition.Czhtdev.Week.getDefaultInstance()) {\n weekday_ =\n com.czht.face.recognition.Czhtdev.Week.newBuilder(weekday_).mergeFrom(value).buildPartial();\n } else {\n weekday_ = value;\n }\n onChanged();\n } else {\n weekdayBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000010;\n return this;\n }",
"private Builder() {\n super(referential.store.v2.WeekPattern.SCHEMA$);\n }",
"boolean hasWeek3();",
"public Builder byWeekNo(Integer... weekNumbers) {\n\t\t\treturn byWeekNo(Arrays.asList(weekNumbers));\n\t\t}",
"private static void determineDayOfTheWeek() {\n System.out.println(\"Enter a number:\");\r\n Scanner s = new Scanner(System.in);\r\n int d = Integer.parseInt(s.nextLine());\r\n switch (d) {\r\n case 1:\r\n System.out.println(\"It is Monday\");\r\n break;\r\n case 2:\r\n System.out.println(\"It is Tuesday\");\r\n break;\r\n case 3:\r\n System.out.println(\"It is Wednesday\");\r\n break;\r\n case 4:\r\n System.out.println(\"It is Thursday\");\r\n break;\r\n case 5:\r\n System.out.println(\"It is Friday\");\r\n break;\r\n case 6:\r\n System.out.println(\"It is Saturday\");\r\n break;\r\n case 7:\r\n System.out.println(\"It is Sunday\");\r\n break;\r\n default:\r\n System.out.println(\"Wrong input\");\r\n }\r\n }",
"public com.czht.face.recognition.Czhtdev.Week getWeekday() {\n if (weekdayBuilder_ == null) {\n return weekday_ == null ? com.czht.face.recognition.Czhtdev.Week.getDefaultInstance() : weekday_;\n } else {\n return weekdayBuilder_.getMessage();\n }\n }",
"public static String getDayOfWeek(String dateStr){\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"yyyy-MM-dd\");\n Date date = null;\n try {\n date = simpleDateFormat.parse(dateStr);\n DateFormat dateFormat = new SimpleDateFormat(\"EEEE\");\n String dayOfWeek = dateFormat.format(date);\n return dayOfWeek;\n } catch (ParseException e) {\n throw new RuntimeException(e);\n }\n }",
"public void createWeeklyList(){\n\t\tArrayList<T> days=new ArrayList<T>();\n\t\tArrayList<ArrayList<T>> weeks=new ArrayList<ArrayList<T>> ();\n\t\tList<ArrayList<ArrayList<T>>> years=new ArrayList<ArrayList<ArrayList<T>>> ();\n\t\tif(models.size()!=0) days.add(models.get(models.size()-1));\n\t\telse return;\n\t\tfor(int i=modelNames.size()-2;i>=0;i--){\n\t\t\t//check the new entry\n\t\t\tCalendar pre=DateManager.getCalendar(DateManager.convert2DisplayDate(modelNames.get(i+1)));\n\t\t\tCalendar cur=DateManager.getCalendar(DateManager.convert2DisplayDate(modelNames.get(i)));\n\t\t\tif (pre.get(Calendar.YEAR)==cur.get(Calendar.YEAR)){\n\t\t\t\tif(pre.get(Calendar.WEEK_OF_YEAR)==cur.get(Calendar.WEEK_OF_YEAR)){\n\t\t\t\t\tdays.add(models.get(i));\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tweeks.add(days);\n\t\t\t\t\tdays=new ArrayList<T>();\n\t\t\t\t\tdays.add(models.get(i));\n\t\t\t\t}\n\t\t\t}\n\t\t\telse{\n\t\t\t\tweeks.add(days);\n\t\t\t\tyears.add(weeks);\n\t\t\t\tdays=new ArrayList<T>();\n\t\t\t\tdays.add(models.get(i));\n\t\t\t\tweeks=new ArrayList<ArrayList<T>> ();\n\t\t\t}\n\t\t}\n\t\tweeks.add(days);\n\t\tyears.add(weeks);\n\t\tweeklyModels=years;\n\n\t}",
"private void showWeek(GregorianCalendar reference) {\n\t\tComponent[] days = this.weekPanel.getComponents();\n\n\t\tthis.flushWeek();\n\n\t\tthis.weekDateUpdate(reference);\n\t\treference = (GregorianCalendar) reference.clone();\n\t\treference = DateCalc.startOf(reference, Calendar.WEEK_OF_YEAR);\n\n\t\tthis.currentYear.setText(\"\"+ reference.get(Calendar.YEAR));\n\n\t\tfor (Component day : days) {\n\t\t\tthis.updateDay(reference, (JPanel) day);\n\t\t\treference.add(Calendar.DAY_OF_MONTH, 1);\n\t\t}\n\t\tthis.topFrame.validate();\n\t}",
"public List<Week> getAllWeeks() { return weekService.getAllWeeks(); }",
"public static void main(String[] args) {\n\t double d=123456.789;\r\n\t\tNumberFormat nf=NumberFormat.getInstance(Locale.ITALY);\r\n\t\tNumberFormat nf1=NumberFormat.getInstance(Locale.US);\r\n\t\tNumberFormat nf2=NumberFormat.getInstance(Locale.ENGLISH);\r\n\t\tSystem.out.println(\"Italy representation of \" + d + \" : \"+nf.format(d));\r\n\t\tSystem.out.println(\"US representation of \" + d + \" : \" +nf1.format(d));\r\n\t\tSystem.out.println(\"Japan representation of \" + d + \" : \" +nf2.format(d));\r\n\t\t\r\n\t //DateTimeFormat in short,long and medium with getDateTimeInstance\r\n\t\tDateFormat df=DateFormat.getDateTimeInstance(DateFormat.SHORT,DateFormat.SHORT);\r\n\t System.out.println(\"Short format of date: \"+df.format(new Date()));\r\n\t DateFormat df1=DateFormat.getDateTimeInstance(DateFormat.LONG,DateFormat.LONG);\r\n\t System.out.println(\"Long format of date: \"+df1.format(new Date()));\r\n\t DateFormat df2=DateFormat.getDateTimeInstance(DateFormat.MEDIUM,DateFormat.MEDIUM);\r\n\t System.out.println(\"Medium format of date: \"+df2.format(new Date()));\r\n\t \r\n\t //Locale date format giving countries starting letters to get time but using only getDateInstance(de-denmark)\r\n\t DateFormat df3=DateFormat.getDateInstance(DateFormat.SHORT,new Locale(\"de\",\"DE\"));\r\n\t System.out.println(\"Short format of date: \"+df3.format(new Date()));\r\n\t DateFormat df4=DateFormat.getDateInstance(DateFormat.LONG,new Locale(\"de\",\"DE\"));\r\n\t System.out.println(\"Long format of date: \"+df4.format(new Date()));\r\n\t DateFormat df5=DateFormat.getDateInstance(DateFormat.MEDIUM,new Locale(\"de\",\"DE\"));\r\n\t System.out.println(\"Medium format of date: \"+df5.format(new Date()));\r\n\t \r\n\r\n}",
"boolean hasWeek4();",
"public static int calWeekdayToIndex(int weekday) {\n \t\treturn CollectionUtils.indexOf(weekday, Constants.WEEK_DAYS);\n \t}",
"public static void main(String[] args) {\n\t\n\t\tint day=6 ;\n\t\t\n\t\t\t\tString weekDay;\n\t\t\n\t\t\t\tif ( day==1) {\n\t\t\t\t\tweekDay=\"Monday\";\n\t\t\t\t}else if(day==2) {\n\t\t\t\t\tweekDay=\"Tuesday\";\n\t\t\t\t}else if(day==3) {\n\t\t\t\t\tweekDay=\"Wednesday\";\n\t\t\t\t}else if(day==4) {\n\t\t\t\t\tweekDay=\"Thursday\";\n\t\t\t\t}else if(day==5) {\n\t\t\t\t\tweekDay=\"Friday\";\n\t\t\t\t}else if(day==6) {\n\t\t\t\t\tweekDay=\"Saturday\";\n\t\t\t\t}else if(day==7) {\n\t\t\t\t\tweekDay=\"Sunday\";\n\t\t\t\t}else {\n\t\t\t\t\t\tweekDay=\"invaid\";\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tSystem.out.println(\"weekDay\");\n\t\t\t\t\t}\n\t\t\t\t// switch statement execute one statment from mutiple \n\t\t\t\t//condition a switch works\n\t\t\t\t//with byte, short,char, and string \n\t\t\n\t\t\t\tswitch(day){\n\t\t\t\tcase 1://day==1\n\t\t\t\t\tweekDay=\"Monday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tweekDay=\"Tuesday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tweekDay=\"Wedensday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tweekDay=\"Thursday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5:\n\t\t\t\t\tweekDay=\"Friday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6:\n\t\t\t\t\tweekDay=\"Saturday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 7: \n\t\t\t\t\tweekDay=\"Sunday\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tweekDay=\"invlid\";\n\t\t\t\t\t\n\t\t\tSystem\n\t\t\t.out.println(weekDay);\n\t\t\t\t\t\t\t\n\t\t\t\t\n\t}\n\n}",
"boolean hasWeek2();",
"public String getCurrentDayOfWeekAsShortName() {\n\t\t\t\tDateFormat format = new SimpleDateFormat(\"EEE\");\n\t\t\t\tDate date = new Date(System.currentTimeMillis());\n\t\t\t\tString dayOfWeek = format.format(date);\n\t\t\t\treturn dayOfWeek;\n\t\t\t}",
"public final int getISODayOfWeek()\n {\n return isoDayOfWeek(ordinal);\n }",
"boolean getWeek5();",
"public static void main(String[] args) throws ParseException {\n\n List<String> weeks = getWeeks(dateFormat.parse(\"2019-01-01\"),dateFormat.parse(\"2019-02-01\"));\n for (String s:weeks) {\n System.out.println(s);\n }\n\n System.out.println(getStartDayOfWeekNo(2019,1));\n System.out.println(getEndDayOfWeekNo(2019,1));\n }",
"private int[] parseDaysOfWeek(String str) {\n try {\n return enumerate(str.replaceAll(\"7\", \"0\"), 0, 6);\n } catch (IllegalArgumentException e) {\n throw new IllegalArgumentException(\"Error parsing days of week: \" + e.getMessage());\n }\n }",
"public com.czht.face.recognition.Czhtdev.WeekOrBuilder getWeekdayOrBuilder() {\n if (weekdayBuilder_ != null) {\n return weekdayBuilder_.getMessageOrBuilder();\n } else {\n return weekday_ == null ?\n com.czht.face.recognition.Czhtdev.Week.getDefaultInstance() : weekday_;\n }\n }",
"public void setDaysOfWeek(String daysOfWeek) {\n this.daysOfWeek = parseDaysOfWeek(daysOfWeek);\n }",
"public String localDateToDayOfWeek(LocalDate localDate) {\n Calendar calendar = Calendar.getInstance();\n calendar.clear();\n calendar.set(localDate.getYear(), localDate.getMonthValue()-1, localDate.getDayOfMonth());\n dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK);\n if(dayOfWeek == 2){\n day = \"monday\";\n } else if(dayOfWeek == 3){\n day = \"Tuesday\";\n } else if(dayOfWeek == 4){\n day = \"wednesday\";\n } else if(dayOfWeek == 5){\n day = \"thursday\";\n } else if(dayOfWeek == 6){\n day = \"friday\";\n }\n return day;\n }",
"public com.czht.face.recognition.Czhtdev.Week.Builder getWeekdayBuilder() {\n bitField0_ |= 0x00000010;\n onChanged();\n return getWeekdayFieldBuilder().getBuilder();\n }",
"public void setHintInvalidDaysOfWeek(String hintWeek)\n {\n _facesBean.setProperty(_HINT_WEEK_KEY, hintWeek);\n }",
"private void parseWorkDetailsForWeek(WBData wbData, ParametersResolved pars) throws Exception {\n\n \tDate dateToCheck = new Date(pars.firstDayOfWeek.getTime());\n \tMap eligibleDollarsMap = new HashMap();\n \tpars.otEarned = 0;\n\n \t// For each Date, parse the work details and premiums to get the\n \t// flsaEligibleDollars, and otEarned.\n \twhile (dateToCheck.getTime() <= wbData.getWrksWorkDate().getTime()) {\n if (StringHelper.equalsIgnoreCase(PARAM_VAL_WD_WORK_PREMIUMS, pars.detailsCalculated)){\n // only parse work premiums\n parseWorkDetailsForDay(wbData.getWorkPremiumsForDate(dateToCheck),\n eligibleDollarsMap, wbData.getCodeMapper()\n , pars);\n }\n else{\n // calculate both in other cases\n parseWorkDetailsForDay(wbData.getWorkDetailsForDate(dateToCheck),\n eligibleDollarsMap, wbData.getCodeMapper(), pars);\n parseWorkDetailsForDay(wbData.getWorkPremiumsForDate(dateToCheck),\n eligibleDollarsMap, wbData.getCodeMapper()\n , pars);\n }\n\n \t\tdateToCheck = DateHelper.addDays(dateToCheck, 1);\n \t}\n\n \t// Calculate the flsaEligibleDollars from the Map.\n \t// The Map key is tcode_htype, and value is a double of total dollars for the\n \t// combination.\n \tIterator i = eligibleDollarsMap.values().iterator();\n \tDouble tcodeHtypeDollars = null;\n \tpars.flsaEligibleDollars = 0;\n \twhile (i.hasNext()) {\n \t\ttcodeHtypeDollars = (Double) i.next();\n \t\tpars.flsaEligibleDollars += tcodeHtypeDollars.doubleValue();\n \t}\n\n \t// Output the values for debugging.\n \tif (logger.isDebugEnabled()) {\n\n \t\ti = eligibleDollarsMap.keySet().iterator();\n \t\tString tcodeHtype = null;\n \t\ttcodeHtypeDollars = null;\n\n \t\tlogger.debug(\"--- Begin Dollars per Tcode/Htype -----\");\n \t\twhile (i.hasNext()) {\n\t \t\ttcodeHtype = (String) i.next();\n\t \t\ttcodeHtypeDollars = (Double) eligibleDollarsMap.get(tcodeHtype);\n\t \t\tlogger.debug(\"tcodeHtype: \" + tcodeHtype + \", dollars: \" + tcodeHtypeDollars);\n\t \t}\n \t\tlogger.debug(\"--- End Dollars per Tcode/Htype -----\");\n \t}\n }",
"private void setProgramsForWeekTable()\r\n {\n long day = System.currentTimeMillis();\r\n long day2 = day + 1000 * 60 * 60 * 24; //seconds in day\r\n long day3 = day2 + 1000 * 60 * 60 * 24; //seconds in day\r\n long day4 = day3 + 1000 * 60 * 60 * 24; //seconds in day\r\n long day5 = day4 + 1000 * 60 * 60 * 24; //seconds in day\r\n long day6 = day5 + 1000 * 60 * 60 * 24; //seconds in day\r\n long day7 = day6 + 1000 * 60 * 60 * 24; //seconds in day\r\n\r\n String urlday = DownloadsManager.PROGRAMM_URL + day;\r\n String urlday2 = DownloadsManager.PROGRAMM_URL + day2;\r\n String urlday3 = DownloadsManager.PROGRAMM_URL + day3;\r\n String urlday4 = DownloadsManager.PROGRAMM_URL + day4;\r\n String urlday5 = DownloadsManager.PROGRAMM_URL + day5;\r\n String urlday6 = DownloadsManager.PROGRAMM_URL + day6;\r\n String urlday7 = DownloadsManager.PROGRAMM_URL + day7;\r\n\r\n String[] urls = {urlday, urlday2, urlday3, urlday4, urlday5, urlday6, urlday7};\r\n\r\n for (int i=0; i<urls.length; i++)\r\n {\r\n if(dataBase.getProgramsCount() == 0)\r\n setProgramsTable(urls[i]);\r\n else\r\n updateProgramsTable(urls[i]);\r\n }\r\n\r\n }",
"private int weekOk(int userGroupID, String week) {\n\t\ttry {\n\t\t\tStatement stmt1 = conn.createStatement();\n\t\t\tResultSet rs = stmt1.executeQuery(\"select * from reports where user_group_id = \"+userGroupID+\" and week = \"+week);\n\t\t\tif (rs.first()) {\n\t\t\t\treturn rs.getInt(\"id\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.out.println(\"SQLException: \" + e.getMessage());\n\t\t\tSystem.out.println(\"SQLState: \" + e.getSQLState());\n\t\t\tSystem.out.println(\"VendorError: \" + e.getErrorCode());\n\t\t}\n\t\treturn -1;\n\n\t}",
"public static XSSFCellStyle weekNumStyle(XSSFWorkbook wb) {\n\t\tXSSFCellStyle cellStyle = baseStyle(wb);\n\t\tcellStyle.setAlignment(HorizontalAlignment.CENTER);\n\t\tcellStyle.setFillForegroundColor(weekNumBg);\n\t\tcellStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND);\n\n\t\treturn cellStyle;\n\t}",
"public int getDayOfWeek();",
"public static byte getWeek(byte[] edid) {\n // Byte 16 is manufacture week\n return edid[Normal._16];\n }",
"void onWeekNumberClick ( @NonNull MaterialCalendarView widget, @NonNull CalendarDay date );",
"public void updateSpecificDay(int i){\n String[] weekArray = {\"MON\",\"TUE\",\"WED\",\"THU\",\"FRI\",\"SAT\",\"SUN\"};\n int weekday2=i;\n weekday2=weekday2%7;\n String weekday2string=weekArray[weekday2];\n TextView TVweekday2=(TextView)this.findViewById(R.id.weekday2);\n TVweekday2.setText(weekday2string);\n\n int weekday3=i+1;\n weekday3=weekday3%7;\n String weekday3string=weekArray[weekday3];\n TextView TVweekday3=(TextView)this.findViewById(R.id.weekday3);\n TVweekday3.setText(weekday3string);\n\n int weekday4=i+2;\n weekday4=weekday4%7;\n String weekday4string=weekArray[weekday4];\n TextView TVweekday4=(TextView)this.findViewById(R.id.weekday4);\n TVweekday4.setText(weekday4string);\n\n int weekday5=i+3;\n weekday5=weekday5%7;\n String weekday5string=weekArray[weekday5];\n TextView TVweekday5=(TextView)this.findViewById(R.id.weekday5);\n TVweekday5.setText(weekday5string);\n }",
"private void setWeeksCell(int row, int col, String text, boolean isCurrentWeek) {\n\t\tweeksTable.setText(row, col, text);\n\t\tweeksTable.getCellFormatter().setAlignment(row, col, HasHorizontalAlignment.ALIGN_RIGHT, HasVerticalAlignment.ALIGN_MIDDLE);\n\t\tif (isCurrentWeek) {\n\t\t\tweeksTable.getCellFormatter().addStyleName(row, col, style.currentWeek());\n\t\t\tweeksTable.getCellFormatter().removeStyleName(row, col, style.defaultWeek());\n\t\t}\n\t\telse {\n\t\t\tweeksTable.getCellFormatter().addStyleName(row, col, style.defaultWeek());\n\t\t\tweeksTable.getCellFormatter().removeStyleName(row, col, style.currentWeek());\t\n\t\t}\n\t}",
"private com.google.protobuf.SingleFieldBuilderV3<\n com.czht.face.recognition.Czhtdev.Week, com.czht.face.recognition.Czhtdev.Week.Builder, com.czht.face.recognition.Czhtdev.WeekOrBuilder> \n getWeekdayFieldBuilder() {\n if (weekdayBuilder_ == null) {\n weekdayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.czht.face.recognition.Czhtdev.Week, com.czht.face.recognition.Czhtdev.Week.Builder, com.czht.face.recognition.Czhtdev.WeekOrBuilder>(\n getWeekday(),\n getParentForChildren(),\n isClean());\n weekday_ = null;\n }\n return weekdayBuilder_;\n }",
"public static Date getStartDateOfWeek(String year, String week) {\n \n \n int y;\n int w;\n if (year != null && year.length() == 4 && year.matches(\"^-?\\\\d+$\") && week != null && week.matches(\"^-?\\\\d+$\")) {\n y = Integer.parseInt(year);\n w = Integer.parseInt(week);\n } else {\n Calendar calendar = Calendar.getInstance(); \n calendar.setFirstDayOfWeek(1);\n calendar.setMinimalDaysInFirstWeek(1);\n\n y = calendar.get(Calendar.YEAR);\n w = calendar.get(Calendar.WEEK_OF_YEAR);\n }\n return getStartDateOfWeek(y, w);\n }",
"public Builder byWeekNo(Collection<Integer> weekNumbers) {\n\t\t\tbyWeekNo.addAll(weekNumbers);\n\t\t\treturn this;\n\t\t}"
] |
[
"0.58978814",
"0.5850066",
"0.58476514",
"0.5729341",
"0.5710333",
"0.5487794",
"0.5469987",
"0.54393643",
"0.5407124",
"0.5376118",
"0.53610086",
"0.53382725",
"0.5334008",
"0.53173304",
"0.53155446",
"0.5293977",
"0.5253256",
"0.51860154",
"0.5153705",
"0.51428443",
"0.51299083",
"0.51242167",
"0.51204056",
"0.5113723",
"0.51024026",
"0.507351",
"0.5045641",
"0.50317216",
"0.50240153",
"0.5022737",
"0.50198144",
"0.501578",
"0.4974963",
"0.4974016",
"0.49546933",
"0.49447376",
"0.4925121",
"0.49124965",
"0.49107227",
"0.49076182",
"0.49013042",
"0.4892628",
"0.4889483",
"0.48727643",
"0.48580056",
"0.4857265",
"0.48458487",
"0.4840335",
"0.4839253",
"0.48385048",
"0.48315045",
"0.48309842",
"0.48170322",
"0.48148644",
"0.47981066",
"0.4782189",
"0.4767736",
"0.47552028",
"0.4754168",
"0.47350508",
"0.47233",
"0.47229",
"0.47168714",
"0.47055507",
"0.4693388",
"0.46794924",
"0.46739668",
"0.46575138",
"0.46522543",
"0.46451026",
"0.4634841",
"0.46216938",
"0.4611847",
"0.46057564",
"0.46055007",
"0.4602253",
"0.45976922",
"0.4590711",
"0.4581882",
"0.45817325",
"0.45717722",
"0.45710695",
"0.45419478",
"0.45308715",
"0.4525974",
"0.45116597",
"0.4510782",
"0.45042965",
"0.45025378",
"0.4497807",
"0.449729",
"0.44924256",
"0.4488067",
"0.4484482",
"0.44838244",
"0.44760463",
"0.44736442",
"0.44697103",
"0.4466269",
"0.4461178"
] |
0.52642125
|
16
|
This method converts the given week format to the WeekCommand format.
|
public static String getWeekCommandFormat(String selectedWeek) {
String week;
if ((selectedWeek.toLowerCase().startsWith(DukeConstants.WEEK_FORMAT_KEYWORD_RECESS)
|| selectedWeek.toLowerCase().startsWith(DukeConstants.WEEK_FORMAT_KEYWORD_READING)
|| selectedWeek.toLowerCase().startsWith(DukeConstants.WEEK_FORMAT_KEYWORD_EXAM))
&& selectedWeek.contains(DukeConstants.WEEK_FORMAT_KEYWORD)) {
selectedWeek = selectedWeek.replace(DukeConstants.WEEK_FORMAT_KEYWORD, DukeConstants.NO_FIELD);
selectedWeek = selectedWeek.trim();
week = DukeConstants.SHOW_WEEK_HEADER
+ DukeConstants.BLANK_SPACE
+ selectedWeek.toLowerCase();
} else {
week = DukeConstants.SHOW_WEEK_HEADER + selectedWeek.replaceFirst(DukeConstants.WEEK_FORMAT_KEYWORD,
DukeConstants.NO_FIELD);
}
return week;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setWeek(String week) {\r\n this.week = week;\r\n }",
"public static String getWeek(String fullCommand) {\n String week = fullCommand.replaceFirst(DukeConstants.SHOW_WEEK_HEADER, DukeConstants.NO_FIELD);\n week = week.trim();\n if ((week.equals(DukeConstants.WEEK_FORMAT_KEYWORD_RECESS)\n || week.equals(DukeConstants.WEEK_FORMAT_KEYWORD_READING)\n || week.equals(DukeConstants.WEEK_FORMAT_KEYWORD_EXAM))) {\n week = capitalizeWord(week);\n week = week + DukeConstants.BLANK_SPACE + DukeConstants.WEEK_FORMAT_KEYWORD;\n } else {\n week = DukeConstants.WEEK_FORMAT_KEYWORD + DukeConstants.BLANK_SPACE + week;\n }\n return week;\n }",
"public ScViewWeekCommand(int weekNumber) {\n this.weekNumber = weekNumber;\n }",
"public WeekPattern() {}",
"public String getWeek() {\r\n return week;\r\n }",
"public static referential.store.v2.WeekPattern.Builder newBuilder(referential.store.v2.WeekPattern other) {\n return new referential.store.v2.WeekPattern.Builder(other);\n }",
"public String periodFormatWeek(int weeknumber, String periodName)\n {\n return format(\"period.format.week\", weeknumber, periodName);\n }",
"public static referential.store.v2.WeekPattern.Builder newBuilder(referential.store.v2.WeekPattern.Builder other) {\n return new referential.store.v2.WeekPattern.Builder(other);\n }",
"com.czht.face.recognition.Czhtdev.Week getWeekday();",
"public void normalizeWeek(int weekDay) {\r\n\t\tvalidateInput(weekDay, 0);\r\n\t\tfor(int i = MIN_WEEKDAY; i <= MAX_WEEKDAY; i++)\r\n\t\t\tif(i != weekDay) {\r\n\t\t\t\tfor(int j = MIN_SEGMENT; j <= MAX_SEGMENT; j++) {\r\n\t\t\t\t\tschedule[i][j] = schedule[weekDay][j];\r\n\t\t\t\t\tnotifyListeners(i, j);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t}",
"public static referential.store.v2.WeekPattern.Builder newBuilder() {\n return new referential.store.v2.WeekPattern.Builder();\n }",
"int getWeek();",
"com.czht.face.recognition.Czhtdev.WeekOrBuilder getWeekdayOrBuilder();",
"boolean getWeek6();",
"boolean getWeek3();",
"public Builder setWeekday(com.czht.face.recognition.Czhtdev.Week value) {\n if (weekdayBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n weekday_ = value;\n onChanged();\n } else {\n weekdayBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000010;\n return this;\n }",
"boolean getWeek7();",
"private Builder() {\n super(referential.store.v2.WeekPattern.SCHEMA$);\n }",
"boolean getWeek1();",
"public int convertWeekDay() {\r\n\t\treturn convertWeekDay(this);\r\n\t}",
"default WorkdayEndpointBuilder format(String format) {\n doSetProperty(\"format\", format);\n return this;\n }",
"public PayPeriodCursor updateWeek(PayPeriod period) {\n\t\tString[] periodInfo = {period.getPayPeriod(), String.valueOf(period.getId())};\n\t\tCursor cursor = getWritableDatabase().rawQuery(UPDATE_WEEK, periodInfo);\n\t\treturn new PayPeriodCursor(cursor);\n\t}",
"public String calendarweek(Date startDate) {\n String format = getString(\"calendarweek.abbreviation\");\n int week = DateTools.getWeekInYear(startDate, getLocale());\n String result = format.replace(\"{0}\", \"\" + week);\n // old format also works\n result = result.replace(\"{0,date,w}\", \"\" + week);\n return result;\n }",
"default WorkdayEndpointProducerBuilder format(String format) {\n doSetProperty(\"format\", format);\n return this;\n }",
"private Week(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"default WorkdayEndpointConsumerBuilder format(String format) {\n doSetProperty(\"format\", format);\n return this;\n }",
"@Override\n protected String serializeWeeksBetween(ImmutableList<? extends ImmutableTerm> terms,\n Function<ImmutableTerm, String> termConverter, TermFactory termFactory) {\n return String.format(\"DATEDIFF(WEEK, %s, %s)\",\n termConverter.apply(terms.get(1)),\n termConverter.apply(terms.get(0)));\n }",
"private DayOfWeek convertDayOfWeek(Time.Day studentDay) {\n switch (studentDay) {\n case Sunday:\n return DayOfWeek.SUNDAY;\n\n case Monday:\n return DayOfWeek.MONDAY;\n\n case Tuesday:\n return DayOfWeek.TUESDAY;\n\n case Wednesday:\n return DayOfWeek.WEDNESDAY;\n\n case Thursday:\n return DayOfWeek.THURSDAY;\n\n case Friday:\n return DayOfWeek.FRIDAY;\n\n default:\n return DayOfWeek.SATURDAY;\n }\n }",
"private byte[] wwcwCommand(byte ww, byte cw) {\n byte[] command = new byte[8];\n command[0] = (byte) 0x31;\n command[1] = 0;\n command[2] = 0;\n command[3] = 0;\n command[4] = ww;\n command[5] = cw;\n command[6] = (byte) 0x0f;\n command[7] = (byte) 0x0f;\n return Utils.withCheckSum(command);\n }",
"@RequestMapping(value = \"/week/new\",\n method = RequestMethod.POST,\n consumes = MediaType.APPLICATION_JSON_VALUE)\n public ResponseEntity<Long> createWeek( @RequestBody @Valid Week week ) {\n ResponseEntity<Long> returnEntity;\n try {\n returnEntity = new ResponseEntity<>(businessDelegate.createWeek(week), HttpStatus.CREATED);\n }\n catch (RuntimeException e) {\n returnEntity = new ResponseEntity<>(HttpStatus.BAD_REQUEST);\n }\n return returnEntity;\n }",
"public static void viewWeekSchedule() {\n\t\tWeek w = new Week();\n\t\t\n\t\tprintWeekTitles();\n\t\tint weekID = Utility.askInt(\"\\nSelect week to view: \");\n\t\tw = aweek.get(weekID);\n\t\t\n\t\tviewWeek(w);\n\t\t\n\t}",
"@Override\r\n\tpublic int selectMessageWeek() {\n\t\treturn messageMapper.selectMessageWeek();\r\n\t}",
"public static gpsWeekType fromPerAligned(byte[] encodedBytes) {\n gpsWeekType result = new gpsWeekType();\n result.decodePerAligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"@Override\r\n public String toString() {\r\n return this.weekName;\r\n }",
"public void refreshWeek() {\n\t\tthis.showWeek(this.currentMonday);\n\t}",
"public static gpsWeekType fromPerUnaligned(byte[] encodedBytes) {\n gpsWeekType result = new gpsWeekType();\n result.decodePerUnaligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"public Builder byWeekNo(Integer... weekNumbers) {\n\t\t\treturn byWeekNo(Arrays.asList(weekNumbers));\n\t\t}",
"public Builder mergeWeekday(com.czht.face.recognition.Czhtdev.Week value) {\n if (weekdayBuilder_ == null) {\n if (((bitField0_ & 0x00000010) == 0x00000010) &&\n weekday_ != null &&\n weekday_ != com.czht.face.recognition.Czhtdev.Week.getDefaultInstance()) {\n weekday_ =\n com.czht.face.recognition.Czhtdev.Week.newBuilder(weekday_).mergeFrom(value).buildPartial();\n } else {\n weekday_ = value;\n }\n onChanged();\n } else {\n weekdayBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000010;\n return this;\n }",
"public DateTimeFormatterBuilder appendDayOfWeekShortText() {\r\n return appendShortText(DateTimeFieldType.dayOfWeek());\r\n }",
"public void normalizeWeekDays(int weekDay) {\r\n\t\tvalidateInput(weekDay, 0);\r\n\t\tfor(int i = 1; i <= 5; i++)\r\n\t\t\tif(i != weekDay) {\r\n\t\t\t\tfor(int j = MIN_SEGMENT; j <= MAX_SEGMENT; j++) {\r\n\t\t\t\t\tschedule[i][j] = schedule[weekDay][j];\r\n\t\t\t\t\tnotifyListeners(i, j);\r\n\t\t\t\t}\t\t\r\n\t\t\t}\r\n\t}",
"private com.google.protobuf.SingleFieldBuilderV3<\n com.czht.face.recognition.Czhtdev.Week, com.czht.face.recognition.Czhtdev.Week.Builder, com.czht.face.recognition.Czhtdev.WeekOrBuilder> \n getWeekdayFieldBuilder() {\n if (weekdayBuilder_ == null) {\n weekdayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.czht.face.recognition.Czhtdev.Week, com.czht.face.recognition.Czhtdev.Week.Builder, com.czht.face.recognition.Czhtdev.WeekOrBuilder>(\n getWeekday(),\n getParentForChildren(),\n isClean());\n weekday_ = null;\n }\n return weekdayBuilder_;\n }",
"public final void mT__88() throws RecognitionException {\n try {\n int _type = T__88;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:86:7: ( 'weekly' )\n // InternalMyDsl.g:86:9: 'weekly'\n {\n match(\"weekly\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }",
"public com.czht.face.recognition.Czhtdev.Week.Builder getWeekdayBuilder() {\n bitField0_ |= 0x00000010;\n onChanged();\n return getWeekdayFieldBuilder().getBuilder();\n }",
"void onWeekNumberClick ( @NonNull MaterialCalendarView widget, @NonNull CalendarDay date );",
"boolean getWeek4();",
"public static void main(String[] args) {\n\t\tWeekDay wd = new WeekDay();\n\t\t// 2\n\t\t\n\t\t// 4 확인\n\t\twd.input();\n\t\t// 4 확인\n\t\t\n\t\t// 6 확인\n\t\tString result = wd.week();\n\t\t\n\t\t// System.out.println(a);\n\t\t// 6 확인\n\t\t\n\t\twd.write(result);\n\t\t\n\n\t}",
"boolean getWeek2();",
"@Override\n public void onWeekChange(List<Calendar> weekCalendars) {\n String firstDateString = weekCalendars.get(0).toString();\n try {\n firstDateOfWeek = sdfLibraryDate.parse(firstDateString);\n } catch (ParseException e) {\n e.printStackTrace();\n }\n assert firstDateOfWeek != null;\n firstDateString = sdfMyDate.format(firstDateOfWeek);\n try {\n firstDateOfWeek = sdfMyDate.parse(firstDateString);\n } catch (ParseException e) {\n e.printStackTrace();\n }\n Log.e(\"HDT0309\", \"firstDateOfWeek \" + firstDateOfWeek); //Oke\n ///\n for (Calendar calendar : weekCalendars) {\n //Log.e(\"HDT0309\", \"(3)onWeekChange:\" + calendar.toString());\n }\n }",
"private String getWeekDay(int i) {\n String day = \"\";\n switch (i) {\n case 0:\n day = \"Sunday\";\n break;\n case 1:\n day = \"Monday\";\n break;\n case 2:\n day = \"Tuesday\";\n break;\n case 3:\n day = \"Wednesday\";\n break;\n case 4:\n day = \"Thursday\";\n break;\n case 5:\n day = \"Friday\";\n break;\n case 6:\n day = \"Saturday\";\n break;\n\n }\n return day;\n }",
"DayOfWeek getUserVoteSalaryWeeklyDayOfWeek();",
"public void AllWeekLessonReport(int weeks)\r\n {\r\n for (int i = 0; i < weeks; i++)\r\n {\r\n for (int j = 0; j < daysPerWeek; j++)\r\n {\r\n for (int k = 0; k < totalSlots; k++)\r\n {\r\n LessonClass l = weekArray[(i)].dayArray[j].dayMap.get(roomNtime[k]);\r\n \r\n // if lesson exists, and isnt a parent appointment\r\n if (l != null && l.subject != subjects.PARENT)\r\n {\r\n System.out.println(\"\\n| WEEK: \" + (i+1) + \" | \" + \"DAY: \" + days[j] \r\n + \" | \" + \"TIME: \" + l.time + \"pm | \" + l.room + \" |\");\r\n System.out.println(l.toReport());\r\n }\r\n }\r\n }\r\n }\r\n }",
"public DateTimeFormatterBuilder appendDayOfWeekText() {\r\n return appendText(DateTimeFieldType.dayOfWeek());\r\n }",
"public com.czht.face.recognition.Czhtdev.WeekOrBuilder getWeekdayOrBuilder() {\n if (weekdayBuilder_ != null) {\n return weekdayBuilder_.getMessageOrBuilder();\n } else {\n return weekday_ == null ?\n com.czht.face.recognition.Czhtdev.Week.getDefaultInstance() : weekday_;\n }\n }",
"public Builder setWeekday(\n com.czht.face.recognition.Czhtdev.Week.Builder builderForValue) {\n if (weekdayBuilder_ == null) {\n weekday_ = builderForValue.build();\n onChanged();\n } else {\n weekdayBuilder_.setMessage(builderForValue.build());\n }\n bitField0_ |= 0x00000010;\n return this;\n }",
"private Builder(referential.store.v2.WeekPattern other) {\n super(referential.store.v2.WeekPattern.SCHEMA$);\n if (isValidValue(fields()[0], other.patternId)) {\n this.patternId = data().deepCopy(fields()[0].schema(), other.patternId);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.begDate)) {\n this.begDate = data().deepCopy(fields()[1].schema(), other.begDate);\n fieldSetFlags()[1] = true;\n }\n if (isValidValue(fields()[2], other.endDate)) {\n this.endDate = data().deepCopy(fields()[2].schema(), other.endDate);\n fieldSetFlags()[2] = true;\n }\n if (isValidValue(fields()[3], other.mondayTimeRanges)) {\n this.mondayTimeRanges = data().deepCopy(fields()[3].schema(), other.mondayTimeRanges);\n fieldSetFlags()[3] = true;\n }\n if (isValidValue(fields()[4], other.tuesdayTimeRanges)) {\n this.tuesdayTimeRanges = data().deepCopy(fields()[4].schema(), other.tuesdayTimeRanges);\n fieldSetFlags()[4] = true;\n }\n if (isValidValue(fields()[5], other.wednesdayTimeRanges)) {\n this.wednesdayTimeRanges = data().deepCopy(fields()[5].schema(), other.wednesdayTimeRanges);\n fieldSetFlags()[5] = true;\n }\n if (isValidValue(fields()[6], other.thursdayTimeRanges)) {\n this.thursdayTimeRanges = data().deepCopy(fields()[6].schema(), other.thursdayTimeRanges);\n fieldSetFlags()[6] = true;\n }\n if (isValidValue(fields()[7], other.fridayTimeRanges)) {\n this.fridayTimeRanges = data().deepCopy(fields()[7].schema(), other.fridayTimeRanges);\n fieldSetFlags()[7] = true;\n }\n if (isValidValue(fields()[8], other.saturdayTimeRanges)) {\n this.saturdayTimeRanges = data().deepCopy(fields()[8].schema(), other.saturdayTimeRanges);\n fieldSetFlags()[8] = true;\n }\n if (isValidValue(fields()[9], other.sundayTimeRanges)) {\n this.sundayTimeRanges = data().deepCopy(fields()[9].schema(), other.sundayTimeRanges);\n fieldSetFlags()[9] = true;\n }\n }",
"public void setName(String n) {\r\n this.weekName = n;\r\n }",
"public static void activateFixedTaskScheduling(Week week, FixedTask taskToPut){\n Putter.putTask(week, taskToPut);\n }",
"public Builder setWeek6(boolean value) {\n bitField0_ |= 0x00000020;\n week6_ = value;\n onChanged();\n return this;\n }",
"public static boolean isValid(String fullCommand) {\n String strWeek = fullCommand.replaceFirst(DukeConstants.SHOW_WEEK_HEADER, DukeConstants.NO_FIELD);\n if (!strWeek.isEmpty()) {\n char checkSpace = strWeek.charAt(0);\n if (checkSpace != ' ') {\n return false;\n }\n }\n strWeek = strWeek.trim();\n if (strWeek.isEmpty()) {\n return false;\n } else if (strWeek.equals(DukeConstants.WEEK_FORMAT_KEYWORD_RECESS)\n || strWeek.equals(DukeConstants.WEEK_FORMAT_KEYWORD_READING)\n || strWeek.equals(DukeConstants.WEEK_FORMAT_KEYWORD_EXAM)) {\n return true;\n } else {\n try {\n Integer week = Integer.parseInt(strWeek);\n if (week >= 1 && week <= 13) {\n return true;\n } else {\n return false;\n }\n } catch (NumberFormatException e) {\n return false;\n }\n }\n }",
"public Builder clearWeek6() {\n bitField0_ = (bitField0_ & ~0x00000020);\n week6_ = false;\n onChanged();\n return this;\n }",
"public Builder setWeek7(boolean value) {\n bitField0_ |= 0x00000040;\n week7_ = value;\n onChanged();\n return this;\n }",
"public Builder clearWeek7() {\n bitField0_ = (bitField0_ & ~0x00000040);\n week7_ = false;\n onChanged();\n return this;\n }",
"public static void activateProjectScheduling(Week week, NonFixedTask[] projectTasksToSchedule){\n//\n NonFixedTask[] projectTasksToPut = Scheduler.ScheduleProject(week, projectTasksToSchedule);\n Putter.putProject(projectTasksToPut[0].getName(), week, projectTasksToPut);\n }",
"public void updateWeekday(){\n Date curDate=new Date(System.currentTimeMillis());\n SimpleDateFormat format=new SimpleDateFormat(\"EEEE\");\n String weekday1=format.format(curDate);\n int numberWeekday1=turnWeekdayToNumber(weekday1);\n updateSpecificDay(numberWeekday1);\n TextView TextWeekday=(TextView)this.findViewById(R.id.tv_weekday);\n TextWeekday.setText(weekday1);\n }",
"private void dayOfWeek(HplsqlParser.Expr_func_paramsContext ctx) {\n Integer v = getPartOfDate(ctx, Calendar.DAY_OF_WEEK);\n if (v != null) {\n evalInt(v);\n }\n else {\n evalNull();\n }\n }",
"public static void main(String[] args) {\n\t\n\t\tint day=6 ;\n\t\t\n\t\t\t\tString weekDay;\n\t\t\n\t\t\t\tif ( day==1) {\n\t\t\t\t\tweekDay=\"Monday\";\n\t\t\t\t}else if(day==2) {\n\t\t\t\t\tweekDay=\"Tuesday\";\n\t\t\t\t}else if(day==3) {\n\t\t\t\t\tweekDay=\"Wednesday\";\n\t\t\t\t}else if(day==4) {\n\t\t\t\t\tweekDay=\"Thursday\";\n\t\t\t\t}else if(day==5) {\n\t\t\t\t\tweekDay=\"Friday\";\n\t\t\t\t}else if(day==6) {\n\t\t\t\t\tweekDay=\"Saturday\";\n\t\t\t\t}else if(day==7) {\n\t\t\t\t\tweekDay=\"Sunday\";\n\t\t\t\t}else {\n\t\t\t\t\t\tweekDay=\"invaid\";\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tSystem.out.println(\"weekDay\");\n\t\t\t\t\t}\n\t\t\t\t// switch statement execute one statment from mutiple \n\t\t\t\t//condition a switch works\n\t\t\t\t//with byte, short,char, and string \n\t\t\n\t\t\t\tswitch(day){\n\t\t\t\tcase 1://day==1\n\t\t\t\t\tweekDay=\"Monday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tweekDay=\"Tuesday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tweekDay=\"Wedensday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tweekDay=\"Thursday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5:\n\t\t\t\t\tweekDay=\"Friday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6:\n\t\t\t\t\tweekDay=\"Saturday\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase 7: \n\t\t\t\t\tweekDay=\"Sunday\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tweekDay=\"invlid\";\n\t\t\t\t\t\n\t\t\tSystem\n\t\t\t.out.println(weekDay);\n\t\t\t\t\t\t\t\n\t\t\t\t\n\t}\n\n}",
"boolean hasWeek6();",
"public Builder clearWeek3() {\n bitField0_ = (bitField0_ & ~0x00000004);\n week3_ = false;\n onChanged();\n return this;\n }",
"public com.czht.face.recognition.Czhtdev.Week getWeekday() {\n if (weekdayBuilder_ == null) {\n return weekday_ == null ? com.czht.face.recognition.Czhtdev.Week.getDefaultInstance() : weekday_;\n } else {\n return weekdayBuilder_.getMessage();\n }\n }",
"boolean hasWeek3();",
"public static void main(String[] args) throws ParseException {\n\n List<String> weeks = getWeeks(dateFormat.parse(\"2019-01-01\"),dateFormat.parse(\"2019-02-01\"));\n for (String s:weeks) {\n System.out.println(s);\n }\n\n System.out.println(getStartDayOfWeekNo(2019,1));\n System.out.println(getEndDayOfWeekNo(2019,1));\n }",
"public void createWeekScenarioBug10265_UpgradeAndParChange()\n throws Exception {\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-22 23:00:00\"));\n\n VOServiceDetails serviceDetails = serviceSetup\n .createPublishAndActivateMarketableService(\n basicSetup.getSupplierAdminKey(),\n \"BUG10265_UPG_PARCHG\", TestService.EXAMPLE_ASYNC,\n TestPriceModel.EXAMPLE_PERUNIT_WEEK_ROLES_PARS2, 3,\n technicalServiceAsync, supplierMarketplace);\n\n setCutOffDay(basicSetup.getSupplierAdminKey(), 1);\n\n VOSubscriptionDetails subDetails = subscrSetup.subscribeToService(\n basicSetup.getCustomerAdminKey(), \"BUG10265_UPG_PARCHG\",\n serviceDetails, basicSetup.getCustomerUser1(),\n VOServiceFactory.getRole(serviceDetails, \"ADMIN\"));\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-23 00:00:00\"));\n subDetails = subscrSetup.completeAsyncSubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), subDetails);\n\n subDetails = subscrSetup.modifyParameterForSubscription(subDetails,\n DateTimeHandling.calculateMillis(\"2013-02-24 23:00:00\"),\n \"MAX_FOLDER_NUMBER\", \"3\");\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-25 00:00:00\"));\n subDetails = subscrSetup.completeAsyncModifySubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), subDetails);\n\n // Upgrade the subscription\n VOServiceDetails perUnitService = serviceSetup\n .createPublishAndActivateMarketableService(\n basicSetup.getSupplierAdminKey(),\n \"BUG10265_UPG_PARCHG_SERVICE2\",\n TestService.EXAMPLE_ASYNC,\n TestPriceModel.EXAMPLE_PERUNIT_WEEK_ROLES_PARS3, 2,\n technicalServiceAsync, supplierMarketplace);\n\n serviceSetup.registerCompatibleServices(\n basicSetup.getSupplierAdminKey(), serviceDetails,\n perUnitService);\n\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-27 23:00:00\"));\n VOSubscriptionDetails upgradedSubDetails = subscrSetup\n .copyParametersAndUpgradeSubscription(\n basicSetup.getCustomerAdminKey(), subDetails,\n perUnitService);\n // ASYNC - check this (upgrade hidden in method above)\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-28 00:00:00\"));\n upgradedSubDetails = subscrSetup.completeAsyncUpgradeSubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), upgradedSubDetails);\n\n upgradedSubDetails = subscrSetup.modifyParameterForSubscription(\n upgradedSubDetails,\n DateTimeHandling.calculateMillis(\"2013-02-28 23:00:00\"),\n \"MAX_FOLDER_NUMBER\", \"5\");\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-03-01 00:00:00\"));\n upgradedSubDetails = subscrSetup.completeAsyncModifySubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), upgradedSubDetails);\n\n upgradedSubDetails = subscrSetup.modifyParameterForSubscription(\n upgradedSubDetails,\n DateTimeHandling.calculateMillis(\"2013-03-01 06:00:00\"),\n \"MAX_FOLDER_NUMBER\", \"7\");\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-03-01 07:00:00\"));\n upgradedSubDetails = subscrSetup.completeAsyncModifySubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), upgradedSubDetails);\n\n upgradedSubDetails = subscrSetup.modifyParameterForSubscription(\n upgradedSubDetails,\n DateTimeHandling.calculateMillis(\"2013-03-02 11:00:00\"),\n \"MAX_FOLDER_NUMBER\", \"4\");\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-03-02 12:00:00\"));\n upgradedSubDetails = subscrSetup.completeAsyncModifySubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), upgradedSubDetails);\n\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-03-03 07:00:00\"));\n subscrSetup\n .unsubscribeToService(upgradedSubDetails.getSubscriptionId());\n\n resetCutOffDay(basicSetup.getSupplierAdminKey());\n\n BillingIntegrationTestBase.updateSubscriptionListForTests(\n \"BUG10265_UPG_PARCHG\", subDetails);\n BillingIntegrationTestBase.updateSubscriptionListForTests(\n \"BUG10265_UPG_PARCHG\", upgradedSubDetails);\n }",
"public Builder setWeek1(boolean value) {\n bitField0_ |= 0x00000001;\n week1_ = value;\n onChanged();\n return this;\n }",
"public ViewShiftCommand(DayOfWeek dayOfWeek, int slotNum, LocalTime time, Period period) {\n this.dayOfWeek = dayOfWeek;\n this.slotNum = slotNum;\n this.time = time;\n this.periodToLookAt = period;\n this.isWorkingPredicate = new PersonIsWorkingPredicate(dayOfWeek, slotNum, time, period);\n }",
"private List<Object[]> executeWeekQuery(String week, String year) {\n try {\n //Clear all tables\n //################# Declared Harness Data #################### \n Helper.startSession();\n\n String query_str_1 = \"(SELECT \"\n + year + \" as year, \" + week + \" as week, 'Matin' as SHIFT, segment, workplace, harness_part, harness_index, supplier_part_number, harness_type, SUM(qty_read) as total_qty \"\n + \"FROM base_container bc \"\n + \"WHERE EXTRACT(HOUR FROM bc.closed_time) in (6,7,8,9,10,11,12,13) \"\n + \"AND EXTRACT(WEEK FROM bc.closed_time) = \" + week\n + \"AND EXTRACT(YEAR FROM bc.closed_time) = \" + year\n + \"GROUP BY segment, workplace, harness_part, harness_index, supplier_part_number, harness_type)\";\n\n String query_str_2 = \"(SELECT \"\n + year + \" as year, \" + week + \" as week, 'Soir' as SHIFT, segment, workplace, harness_part, harness_index, supplier_part_number, harness_type, SUM(qty_read) as total_qty \"\n + \"FROM base_container bc \"\n + \"WHERE EXTRACT(HOUR FROM bc.closed_time) in (14,15,16,17,18,19,20,21) \"\n + \"AND EXTRACT(WEEK FROM bc.closed_time) = \" + week\n + \"AND EXTRACT(YEAR FROM bc.closed_time) = \" + year\n + \"GROUP BY segment, workplace, harness_part, harness_index, supplier_part_number, harness_type)\";\n\n String query_str_3 = \"(SELECT \"\n + year + \" as year, \" + week + \" as week, 'Nuit' as SHIFT, segment, workplace, harness_part, harness_index, supplier_part_number, harness_type, SUM(qty_read) as total_qty \"\n + \"FROM base_container bc \"\n + \"WHERE EXTRACT(HOUR FROM bc.closed_time) in (22,23,0,1,2,3,4,5) \"\n + \"AND EXTRACT(WEEK FROM bc.closed_time) = \" + week\n + \"AND EXTRACT(YEAR FROM bc.closed_time) = \" + year\n + \"GROUP BY segment, workplace, harness_part, harness_index, supplier_part_number, harness_type)\";\n\n String query_str = \"SELECT * FROM (\"\n + query_str_1 + \" UNION \"\n + query_str_2 + \" UNION \"\n + query_str_3\n + \") results ORDER BY shift, segment, workplace;\";\n\n SQLQuery query = Helper.sess.createSQLQuery(query_str);\n\n this.dataResultList = query.list();\n\n Helper.sess.getTransaction().commit();\n\n return this.dataResultList;\n\n } catch (HibernateException e) {\n if (Helper.sess.getTransaction() != null) {\n Helper.sess.getTransaction().rollback();\n }\n }\n\n return this.dataResultList;\n }",
"private void flushWeek() {\n\t\tComponent[] days = this.weekPanel.getComponents();\n\t\tComponent[] blocks;\n\t\tint i;\n\t\tfor (Component day : days) {\n\t\t\tblocks = ((Container) day).getComponents();\n\t\t\ti = 1;\n\t\t\tfor (Component unit : blocks) {\n\t\t\t\t((JTimeBlock) unit).flush();\n\t\t\t\tif (((JTimeBlock) unit).getComponentCount() != 0) {\n\t\t\t\t\t((JTimeBlock) unit).removeAll();\n\t\t\t\t}\n\t\t\t\tif (i % BLOCKS_IN_HOUR == 0) {\n\t\t\t\t\t((JTimeBlock) unit).setBorder(BorderFactory\n\t\t\t\t\t\t\t.createMatteBorder(0, 1, 1, 1, Color.LIGHT_GRAY));\n\t\t\t\t} else {\n\t\t\t\t\t((JTimeBlock) unit).setBorder(BorderFactory\n\t\t\t\t\t\t\t.createMatteBorder(0, 1, 0, 1, Color.LIGHT_GRAY));\n\t\t\t\t}\n\t\t\t\ti++;\n\n\t\t\t}\n\t\t}\n\t}",
"boolean hasWeek1();",
"public static void activateNonFixedTaskScheduling(Week week, NonFixedTask taskToSchedule){\n NonFixedTask NonFixedTaskToPut = Scheduler.ScheduleTaskInWeek(week, taskToSchedule);\n Putter.putTask(week, NonFixedTaskToPut);\n }",
"private void setWeeksCell(int row, int col, String text, boolean isCurrentWeek) {\n\t\tweeksTable.setText(row, col, text);\n\t\tweeksTable.getCellFormatter().setAlignment(row, col, HasHorizontalAlignment.ALIGN_RIGHT, HasVerticalAlignment.ALIGN_MIDDLE);\n\t\tif (isCurrentWeek) {\n\t\t\tweeksTable.getCellFormatter().addStyleName(row, col, style.currentWeek());\n\t\t\tweeksTable.getCellFormatter().removeStyleName(row, col, style.defaultWeek());\n\t\t}\n\t\telse {\n\t\t\tweeksTable.getCellFormatter().addStyleName(row, col, style.defaultWeek());\n\t\t\tweeksTable.getCellFormatter().removeStyleName(row, col, style.currentWeek());\t\n\t\t}\n\t}",
"public Builder clearWeek1() {\n bitField0_ = (bitField0_ & ~0x00000001);\n week1_ = false;\n onChanged();\n return this;\n }",
"boolean hasWeek7();",
"public com.czht.face.recognition.Czhtdev.WeekOrBuilder getWeekdayOrBuilder() {\n return weekday_ == null ? com.czht.face.recognition.Czhtdev.Week.getDefaultInstance() : weekday_;\n }",
"@Test\n public void DayOfWeek() {\n System.out.printf(\"%s%n\\n\", DayOfWeek.MONDAY.plus(3));\n\n DayOfWeek dow = DayOfWeek.MONDAY;\n Locale locale = Locale.getDefault();\n System.out.println(dow.getDisplayName(TextStyle.FULL, locale));\n System.out.println(dow.getDisplayName(TextStyle.NARROW, locale));\n System.out.println(dow.getDisplayName(TextStyle.SHORT, locale));\n }",
"private LocalDate parseWeekLevel(String token) {\n\t\tString[] tokens = token.split(\"\\\\s+\");\n\t\tboolean next = false;\n\t\tLocalDate rtnDate = LocalDate.now();\n\t\tif (tokens[0].equals(\"next\")) {\n\t\t\tnext = true;\n\t\t}\n\t\tif (tokens.length == 0 || tokens.length > 2) {\n\t\t\treturn null;\n\t\t}\n\t\tString weekday = next ? tokens[1] : tokens[0];\n\t\tCalendar cal = new GregorianCalendar();\n\t\tswitch (weekday) {\n\t\t\t\n\t\t\tcase \"tmr\" :\n\t\t\tcase \"tomorrow\" :\n\t\t\t\treturn rtnDate.plusDays(1);\n\t\t\t\t\n\t\t\tcase \"week\" :\n\t\t\t\treturn next ? rtnDate.plusWeeks(1) : null;\n\t\t\t\t\n\t\t\tcase \"sun\" :\n\t\t\tcase \"sunday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, SUNDAY);\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase \"mon\" :\n\t\t\tcase \"monday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, MONDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"tue\" :\n\t\t\tcase \"tues\" :\n\t\t\tcase \"tuesday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, TUESDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"wed\" :\n\t\t\tcase \"wednesday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, WEDNESDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"thu\" :\n\t\t\tcase \"thur\" :\n\t\t\tcase \"thurs\" :\n\t\t\tcase \"thursday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, THURSDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"fri\" :\n\t\t\tcase \"friday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, FRIDAY);\n\t\t\t\tbreak;\n\t\t\tcase \"sat\" :\n\t\t\tcase \"saturday\" :\n\t\t\t\tcal.set(DAY_OF_WEEK, SATURDAY);\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tdefault:\n\t\t\t\treturn null;\n\t\t}\n\t\tif (next) {\n\t\t\tcal.add(WEEK_OF_YEAR, 1);\n\t\t}\n\t\treturn AbsoluteDateParser.toLocalDate(cal.getTime());\n\t}",
"public Builder setWeek3(boolean value) {\n bitField0_ |= 0x00000004;\n week3_ = value;\n onChanged();\n return this;\n }",
"public void drawEventsForWeek(){\n WeekController.getController().drawEvents(PersonInfo.getPersonInfo().getEventsForWeek(weekNumber));\n }",
"public void setClassWeek(int weekday) {\n class_week.setText(ClassUtil.getWeekDay(weekday));\n }",
"public Builder byWeekNo(Collection<Integer> weekNumbers) {\n\t\t\tbyWeekNo.addAll(weekNumbers);\n\t\t\treturn this;\n\t\t}",
"public Week getWeek(int weekNumber) {\n return weekList.get(weekNumber);\n }",
"public void createWeekScenarioBug10265_UpgradeAndParChange2()\n throws Exception {\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-22 23:00:00\"));\n\n VOServiceDetails serviceDetails = serviceSetup\n .createPublishAndActivateMarketableService(\n basicSetup.getSupplierAdminKey(),\n \"BUG10265_UPG_PARCHG2\", TestService.EXAMPLE_ASYNC,\n TestPriceModel.EXAMPLE_PERUNIT_WEEK_ROLES_PARS2, 3,\n technicalServiceAsync, supplierMarketplace);\n\n setCutOffDay(basicSetup.getSupplierAdminKey(), 1);\n\n VOSubscriptionDetails subDetails = subscrSetup.subscribeToService(\n basicSetup.getCustomerAdminKey(), \"BUG10265_UPG_PARCHG2\",\n serviceDetails, basicSetup.getCustomerUser1(),\n VOServiceFactory.getRole(serviceDetails, \"ADMIN\"));\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-23 00:00:00\"));\n subDetails = subscrSetup.completeAsyncSubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), subDetails);\n\n subDetails = subscrSetup.modifyParameterForSubscription(subDetails,\n DateTimeHandling.calculateMillis(\"2013-02-24 23:00:00\"),\n \"MAX_FOLDER_NUMBER\", \"3\");\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-25 00:00:00\"));\n subDetails = subscrSetup.completeAsyncModifySubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), subDetails);\n\n // Upgrade the subscription\n VOServiceDetails perUnitService = serviceSetup\n .createPublishAndActivateMarketableService(\n basicSetup.getSupplierAdminKey(),\n \"BUG10265_UPG_PARCHG2_SERVICE2\",\n TestService.EXAMPLE_ASYNC,\n TestPriceModel.EXAMPLE_PERUNIT_WEEK_ROLES_PARS3, 0,\n technicalServiceAsync, supplierMarketplace);\n\n serviceSetup.registerCompatibleServices(\n basicSetup.getSupplierAdminKey(), serviceDetails,\n perUnitService);\n\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-27 23:00:00\"));\n VOSubscriptionDetails upgradedSubDetails = subscrSetup\n .copyParametersAndUpgradeSubscription(\n basicSetup.getCustomerAdminKey(), subDetails,\n perUnitService);\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-02-28 00:00:00\"));\n upgradedSubDetails = subscrSetup.completeAsyncUpgradeSubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), upgradedSubDetails);\n\n upgradedSubDetails = subscrSetup.modifyParameterForSubscription(\n upgradedSubDetails,\n DateTimeHandling.calculateMillis(\"2013-02-28 23:00:00\"),\n \"MAX_FOLDER_NUMBER\", \"5\");\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-03-01 00:00:00\"));\n upgradedSubDetails = subscrSetup.completeAsyncModifySubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), upgradedSubDetails);\n\n upgradedSubDetails = subscrSetup.modifyParameterForSubscription(\n upgradedSubDetails,\n DateTimeHandling.calculateMillis(\"2013-03-01 06:00:00\"),\n \"MAX_FOLDER_NUMBER\", \"7\");\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-03-01 07:00:00\"));\n upgradedSubDetails = subscrSetup.completeAsyncModifySubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), upgradedSubDetails);\n\n upgradedSubDetails = subscrSetup.modifyParameterForSubscription(\n upgradedSubDetails,\n DateTimeHandling.calculateMillis(\"2013-03-02 11:00:00\"),\n \"MAX_FOLDER_NUMBER\", \"4\");\n // ASYNC\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-03-02 12:00:00\"));\n upgradedSubDetails = subscrSetup.completeAsyncModifySubscription(\n basicSetup.getSupplierAdminKey(),\n basicSetup.getCustomerAdmin(), upgradedSubDetails);\n\n BillingIntegrationTestBase.setDateFactoryInstance(DateTimeHandling\n .calculateMillis(\"2013-03-03 07:00:00\"));\n subscrSetup\n .unsubscribeToService(upgradedSubDetails.getSubscriptionId());\n\n resetCutOffDay(basicSetup.getSupplierAdminKey());\n\n BillingIntegrationTestBase.updateSubscriptionListForTests(\n \"BUG10265_UPG_PARCHG2\", subDetails);\n BillingIntegrationTestBase.updateSubscriptionListForTests(\n \"BUG10265_UPG_PARCHG2\", upgradedSubDetails);\n }",
"private Builder(referential.store.v2.WeekPattern.Builder other) {\n super(other);\n if (isValidValue(fields()[0], other.patternId)) {\n this.patternId = data().deepCopy(fields()[0].schema(), other.patternId);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.begDate)) {\n this.begDate = data().deepCopy(fields()[1].schema(), other.begDate);\n fieldSetFlags()[1] = true;\n }\n if (isValidValue(fields()[2], other.endDate)) {\n this.endDate = data().deepCopy(fields()[2].schema(), other.endDate);\n fieldSetFlags()[2] = true;\n }\n if (isValidValue(fields()[3], other.mondayTimeRanges)) {\n this.mondayTimeRanges = data().deepCopy(fields()[3].schema(), other.mondayTimeRanges);\n fieldSetFlags()[3] = true;\n }\n if (isValidValue(fields()[4], other.tuesdayTimeRanges)) {\n this.tuesdayTimeRanges = data().deepCopy(fields()[4].schema(), other.tuesdayTimeRanges);\n fieldSetFlags()[4] = true;\n }\n if (isValidValue(fields()[5], other.wednesdayTimeRanges)) {\n this.wednesdayTimeRanges = data().deepCopy(fields()[5].schema(), other.wednesdayTimeRanges);\n fieldSetFlags()[5] = true;\n }\n if (isValidValue(fields()[6], other.thursdayTimeRanges)) {\n this.thursdayTimeRanges = data().deepCopy(fields()[6].schema(), other.thursdayTimeRanges);\n fieldSetFlags()[6] = true;\n }\n if (isValidValue(fields()[7], other.fridayTimeRanges)) {\n this.fridayTimeRanges = data().deepCopy(fields()[7].schema(), other.fridayTimeRanges);\n fieldSetFlags()[7] = true;\n }\n if (isValidValue(fields()[8], other.saturdayTimeRanges)) {\n this.saturdayTimeRanges = data().deepCopy(fields()[8].schema(), other.saturdayTimeRanges);\n fieldSetFlags()[8] = true;\n }\n if (isValidValue(fields()[9], other.sundayTimeRanges)) {\n this.sundayTimeRanges = data().deepCopy(fields()[9].schema(), other.sundayTimeRanges);\n fieldSetFlags()[9] = true;\n }\n }",
"@RequestMapping(value = \"/week/weeknumber/{weeknumber}\", \n\t\t\tmethod = RequestMethod.GET, \n\t\t\tproduces = MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<List<Week>> getWeekByWeekNumber(@PathVariable(\"weeknumber\") int weeknumber) {\n\t\tResponseEntity<List<Week>> returnEntity;\n\n\t\ttry {\n\t\t\tList<Week> result = businessDelegate.getWeekByWeekNumber(weeknumber);\n\n\t\t\tif (result == null) {\n\t\t\t\treturnEntity = new ResponseEntity<List<Week>>(result, HttpStatus.NOT_FOUND);\n\t\t\t} else {\n\t\t\t\treturnEntity = new ResponseEntity<List<Week>>(result, HttpStatus.OK);\n\t\t\t}\n\t\t} catch (RuntimeException e) {\n\t\t\treturnEntity = new ResponseEntity<List<Week>>(HttpStatus.BAD_REQUEST);\n\t\t}\n\t\treturn returnEntity;\n\t}",
"public Weeks(BigDecimal numUnits) { super(numUnits); }",
"public void generateWeeklySchedule(){\r\n for (int i = 0; i < numDayWorkWeek; i++)\r\n weeklySchedule.get(i).clear();\r\n\r\n int day = 0;\r\n int workHrs = 0;\r\n\r\n for (Task unfinishedTask: unfinished){\r\n if (day > numDayWorkWeek - 1) break;\r\n\r\n //if there is room for this task --> add it. Else, move to the next day\r\n if (workHrs + unfinishedTask.getHrsLeft() <= dailyWorkload){\r\n weeklySchedule.get(day).add(unfinishedTask);\r\n workHrs += unfinishedTask.getHrsLeft();\r\n }\r\n else{\r\n day++;\r\n weeklySchedule.get(day).add(unfinishedTask);\r\n workHrs = unfinishedTask.getHrsLeft();\r\n }\r\n }\r\n }",
"public DateTimeFormatterBuilder appendWeekOfWeekyear(int minDigits) {\r\n return appendDecimal(DateTimeFieldType.weekOfWeekyear(), minDigits, 2);\r\n }",
"public static String substKeysCheckFormat(String format) throws HISDateException {\r\n String formatStr = format;\r\n // Trimmen und in Großschrift konvertieren:\r\n formatStr = formatStr.trim().toUpperCase();\r\n // Schlüsselworte für Format checken und ersetzen:\r\n if (formatStr.equals(\"GERMAN\")) {\r\n formatStr = \"DMY.\";\r\n } else if (formatStr.equals(\"ISO\")) {\r\n formatStr = \"YMD-\";\r\n } else if (formatStr.equals(\"ENGLISH\")) {\r\n formatStr = \"DMY/\";\r\n } else if (formatStr.equals(\"US\")) {\r\n formatStr = \"MDY/\";\r\n // TODO: Sind die letzten beiden richtig ??\r\n // Gibts noch andere ?? Mit guessFormat() abgleichen !!!\r\n } else {\r\n // Nicht als Schlüsselwort gegebene Formatangabe prüfen...\r\n HISDate.checkFormat(formatStr);\r\n }\r\n return formatStr;\r\n }",
"public List<Week> getAllWeeks() { return weekService.getAllWeeks(); }",
"boolean getWeek5();",
"private void showWeek(GregorianCalendar reference) {\n\t\tComponent[] days = this.weekPanel.getComponents();\n\n\t\tthis.flushWeek();\n\n\t\tthis.weekDateUpdate(reference);\n\t\treference = (GregorianCalendar) reference.clone();\n\t\treference = DateCalc.startOf(reference, Calendar.WEEK_OF_YEAR);\n\n\t\tthis.currentYear.setText(\"\"+ reference.get(Calendar.YEAR));\n\n\t\tfor (Component day : days) {\n\t\t\tthis.updateDay(reference, (JPanel) day);\n\t\t\treference.add(Calendar.DAY_OF_MONTH, 1);\n\t\t}\n\t\tthis.topFrame.validate();\n\t}",
"public String getDayOfTheWeek(){\r\n Calendar calendar = Calendar.getInstance();\r\n int day = calendar.get(Calendar.DAY_OF_WEEK);\r\n String calendar_Id = null;\r\n switch (day) {\r\n case Calendar.SUNDAY:\r\n calendar_Id =\"(90300)\";\r\n break;\r\n case Calendar.MONDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.TUESDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.WEDNESDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.THURSDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.FRIDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.SATURDAY:\r\n calendar_Id =\"(90200,90238)\";\r\n break;\r\n }\r\n\r\n return calendar_Id;\r\n }"
] |
[
"0.5943389",
"0.58986765",
"0.55039877",
"0.54471105",
"0.5269529",
"0.51886183",
"0.5058589",
"0.5038172",
"0.5029171",
"0.5004754",
"0.49799708",
"0.49733692",
"0.4952225",
"0.4927971",
"0.492177",
"0.49185687",
"0.4878001",
"0.4831168",
"0.48240837",
"0.48208904",
"0.48052165",
"0.48021838",
"0.47730497",
"0.47679052",
"0.47550464",
"0.4724012",
"0.4721093",
"0.47185925",
"0.46897522",
"0.46705174",
"0.46666235",
"0.46656394",
"0.4661916",
"0.46298417",
"0.46218243",
"0.46192464",
"0.4619185",
"0.46156135",
"0.46067277",
"0.46026465",
"0.46022567",
"0.45893893",
"0.4575938",
"0.45724836",
"0.45662862",
"0.45654666",
"0.45647073",
"0.45615348",
"0.45604116",
"0.4556081",
"0.4536098",
"0.45325238",
"0.45159075",
"0.44922796",
"0.4487677",
"0.44857082",
"0.4473141",
"0.44689697",
"0.44641238",
"0.44442555",
"0.4437289",
"0.4402482",
"0.44000447",
"0.43894884",
"0.43845955",
"0.43657723",
"0.43587938",
"0.43301925",
"0.4322563",
"0.43158066",
"0.4313368",
"0.429649",
"0.4288045",
"0.42844337",
"0.4283977",
"0.42829525",
"0.42776433",
"0.42775545",
"0.42724967",
"0.42718074",
"0.4271174",
"0.42472094",
"0.42358777",
"0.42286858",
"0.42250472",
"0.4224684",
"0.42232317",
"0.421665",
"0.42161462",
"0.42117777",
"0.42097554",
"0.42065564",
"0.42030773",
"0.4174918",
"0.41705048",
"0.41678226",
"0.41629416",
"0.41521463",
"0.4149235",
"0.4145021"
] |
0.6958288
|
0
|
i will go on the assumption that a bus cannot be considered "handicapped" and/or a huge work truck cannot be handicapped, neither can a motorcycle constructor
|
public Handicap(String model, String make, String year, String platenum, Color color, int spotnum) {
super(model, make, year, platenum, color, spotnum, spaceType, MONEY_MULT);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Bus() {\n\t}",
"public Pwm(int bus){\n instanceBus = bus;\n if(bus == unusedBus){\n \n }\n else{\n pwmInstance = new Jaguar(bus);\n Debug.output(\"Pwm constructor: created PWM on bus\", new Integer(bus), ConstantManager.deviceDebug);\n }\n }",
"private TbusRoadGraph() {}",
"public OrdinaryTruck() {\n\t\tsuper();\n\t\tmaxCapacity = 1000;\n\t}",
"public BicycleStation() {\n super();\n }",
"protected abstract void construct();",
"VehicleClass() {}",
"public Vehicle() {}",
"public AbstractVehicle() {\n // Dispatcher is a singleton\n this.dispatcher = StoreDispatcher.getInstance();\n this.distanceFromEachStore = this.dispatcher.registerVehicle(this);\n this.availableForDelivery = true;\n VIN = UUID.randomUUID();\n }",
"public Vehicle(){}",
"public Truck(){\n }",
"private Bus constructBus(String line, Point point) {\n\t\t// parse the information\n\t\tStringTokenizer tokenizer = new StringTokenizer(line,\",\");\n \tint id = Integer.parseInt(tokenizer.nextToken().trim());\n \tString name = tokenizer.nextToken();\n \tif (name.startsWith(\"\\\"\")) {\n \t\twhile (!name.endsWith(\"\\\"\")) {\n \t\t\tname = name + \",\" + tokenizer.nextToken();\n \t\t}\n \t}\n \t/*int area = */Integer.parseInt(tokenizer.nextToken().trim());\n \t/*int zone = */Integer.parseInt(tokenizer.nextToken().trim());\n \tdouble voltageMagnitude = Double.parseDouble(tokenizer.nextToken().trim());\n \tdouble voltageAngle = Double.parseDouble(tokenizer.nextToken().trim());\n \tdouble baseVoltageKiloVolts = Double.parseDouble(tokenizer.nextToken().trim());\n \tdouble remoteVoltage = Double.parseDouble(tokenizer.nextToken().trim());\n \tint status = Integer.parseInt(tokenizer.nextToken().trim());\n\t\t\n \tBus bus = registerBus(id);\n bus.setAttribute(Bus.NAME_KEY,name);\n bus.setVoltagePU(voltageMagnitude);\n bus.setPhaseAngle(voltageAngle);\n bus.setSystemVoltageKV(baseVoltageKiloVolts);\n bus.setRemoteVoltagePU(remoteVoltage);\n bus.setStatus(status == 1 ? true : false);\n \tbus.setCoordinate(point == null ? new PointImpl(0,0) : point); \t\n \treturn bus;\t\t\n\t}",
"private void initBus() {\n\n sbus = new Bus(16);\n dbus = new Bus(16);\n\n sbus.addPoint(new Point(51, 101));\n sbus.addPoint(new Point(563, 101));\n sbus.addPoint(new Point(74, 101));\n sbus.addPoint(new Point(74, 290));\n sbus.addPoint(new Point(74, 290));\n sbus.addPoint(new Point(92, 290));\n sbus.addPoint(new Point(206, 101));\n sbus.addPoint(new Point(206, 262));\n sbus.addPoint(new Point(206, 262));\n sbus.addPoint(new Point(226, 262));\n\n dbus.addPoint(new Point(52, 73));\n dbus.addPoint(new Point(563, 73));\n dbus.addPoint(new Point(478, 73));\n dbus.addPoint(new Point(478, 154));\n\n dbus.addTextPoint(new Point(80, 70));\n sbus.addTextPoint(new Point(80, 95));\n\n\n }",
"public Vehicle() {\n\n\t}",
"public BusSystem(){\n\t\tmar = new MAR((short)0, this);\n\t\tmdr = new MDR((short)0, this);\n\t\tpc = new PC((short)0);\n\t\tA = new Register((short)0);\n\t\tB = new Register((short)0);\n\t\tstack = new MemStack();\n\t\tprogramMemory = new Memory();\n\t\tMemory.setMemSize((short)1024);\n\t}",
"public RailRoad() {}",
"public T caseBus(Bus object) {\r\n\t\treturn null;\r\n\t}",
"Vehicle() \n {\n System.out.println(\"Constructor of the Super class called\");\n noOfTyres = 5;\n accessories = true;\n brand = \"X\";\n counter++;\n }",
"public Vehicle() {\n }",
"public DriveTrain (int motorChannelL1,int motorChannelL2,int motorChannelR1,int motorChannelR2 ){\n leftMotor1 = new Victor(motorChannelL1);\n leftMotor2 = new Victor(motorChannelL2);\n rightMotor1 = new Victor(motorChannelR1);\n rightMotor2 = new Victor(motorChannelR2);\n highDrive = new RobotDrive(motorChannelL1, motorChannelR1);\n lowDrive = new RobotDrive(motorChannelL2, motorChannelR2);\n \n }",
"public Pleasure() {\r\n\t\t}",
"protected Betaling()\r\n\t{\r\n\t\t\r\n\t}",
"@Test\n public void constructor(){\n /**Positive tests*/\n Road road = new Road(cityA, cityB, 4);\n assertEquals(road.getFrom(), cityA);\n assertEquals(road.getTo(), cityB);\n assertEquals(road.getLength(), 4);\n }",
"public de.uni_koblenz.jgralabtest.schemas.gretl.pddsl.Chassis createChassis();",
"public Vehicle()\n {\n name = \"none\";\n cost = 0;\n }",
"private Road()\n\t{\n\t\t\n\t}",
"public Vehicle2D() {\n }",
"public RegisterBus(short a)\n {\n super(a);\n setDirection(Location.NORTH);\n }",
"public Potencial() {\r\n }",
"public Bus(int busNo, int lastStop, int nextStop, double lastStopArrivalTime) {\r\n\t\tsuper();\r\n\t\tthis.busNo = busNo;\r\n\t\tthis.lastStop = lastStop;\r\n\t\tthis.nextStop = nextStop;\r\n\t\tthis.lastStopArrivalTime = lastStopArrivalTime;\r\n\t\tthis.busAtStop = 'N';\r\n\t\tthis.allBusesSync='Y';\r\n\t}",
"public Motor() {\n reInitialize();\n }",
"public MonHoc() {\n }",
"public EmoticonBO()\n {}",
"@Override\r\n\tpublic ObjectList<CarControl> drive(State<CarRpmState, CarControl> state) {\n\t\tdouble steer = state.state.getAngleToTrackAxis()/SimpleDriver.steerLock;\r\n//\t\tdouble speed = state.state.getSpeed();\t\t\r\n\t\tObjectList<CarControl> ol = new ObjectArrayList<CarControl>();\t\t\r\n\r\n\t\t/*if (state.state.getSpeed()>=296.8 || state.state.gear==6){\r\n\t\t\tfor (int i =0;i<1;++i){\r\n\t\t\t\tCarControl cc = new CarControl(1.0d,0,6,steer,0);\r\n\t\t\t\tol.add(cc);\r\n\t\t\t}\r\n\t\t} else if (state.state.getSpeed()>=225 || state.state.gear==5){\r\n\t\t\tfor (int i =0;i<1;++i){\r\n\t\t\t\tCarControl cc = new CarControl(1.0d,0,5,steer,0);\r\n\t\t\t\tol.add(cc);\r\n\t\t\t}\r\n\t\t} else if (state.state.getSpeed()>=176 || state.state.gear==4){\r\n\t\t\tfor (int i =0;i<1;++i){\r\n\t\t\t\tCarControl cc = new CarControl(1.0d,0,4,steer,0);\r\n\t\t\t\tol.add(cc);\r\n\t\t\t}\r\n\t\t} else if (state.state.getSpeed()>=126 || state.state.gear==3){\r\n\t\t\tfor (int i =0;i<1;++i){\r\n\t\t\t\tCarControl cc = new CarControl(1.0d,0,3,steer,0);\r\n\t\t\t\tol.add(cc);\r\n\t\t\t}\r\n\t\t} else if (state.state.getSpeed()>=83){\r\n\t\t\tfor (int i =0;i<1;++i){\r\n\t\t\t\tCarControl cc = new CarControl(1.0d,0,2,steer,0);\r\n\t\t\t\tol.add(cc);\r\n\t\t\t}\r\n\t\t} else \t{\r\n\t\t\tCarControl cc = new CarControl(1.0d,0,1,steer,0);\r\n\t\t\tol.add(cc);\r\n\t\t}//*/\r\n//\t\tif (speed>225){\r\n//\t\t\tCarControl cc = new CarControl(0,1,4,steer,0);\r\n//\t\t\tol.add(cc);\r\n//\t\t} else if (speed>126){\r\n//\t\t\tCarControl cc = new CarControl(0,0.569,3,steer,0);\r\n//\t\t\tol.add(cc);\r\n//\t\t} else if (speed>83){\r\n//\t\t\tCarControl cc = new CarControl(0,0.363,2,steer,0);\r\n//\t\t\tol.add(cc);\r\n//\t\t} else {\r\n//\t\t\tCarControl cc = new CarControl(0,0.36,1,steer,0);\r\n//\t\t\tol.add(cc);\r\n//\t\t}\r\n//\t\tif (speed<226.541 && speed>200){\r\n//\t\t\tol.clear();\r\n//\t\t\tCarControl cc = new CarControl(0,0.6,4,steer,0);\r\n//\t\t\tol.add(cc);\r\n//\t\t}\r\n\t\t//}//*/ \r\n\t\t/*if (speed<3*3.6){\r\n\t\t\tCarControl cc = new CarControl(0,1.0d,0,steer,0);\r\n\t\t\tol.add(cc);\r\n\t\t\tbrake = 1;\r\n\t\t\treturn ol;\r\n\t\t}\r\n\t\tdouble[] wheelVel = state.state.getWheelSpinVel();\r\n\t\t// convert speed to m/s\r\n\t\t\t\t\r\n\t\t// when spedd lower than min speed for abs do nothing\t\t\r\n\r\n\t\t// compute the speed of wheels in m/s\r\n\t\tdouble slip = 0.0d;\t \r\n\t\tfor (int i = 0; i < 4; i++)\t{\r\n\t\t\tslip += wheelVel[i] * SimpleDriver.wheelRadius[i]/speed;\t\t\t\r\n\t\t}\r\n\t\tslip/=4;\t\t\t\r\n\t\tif (slip==0){\r\n\t\t\tbrake = 0.25;\r\n\t\t} if (slip < 0.1) \r\n\t\t\tbrake = 0.4+slip;\r\n\t\telse brake=1;\r\n\t\tif (brake<=0.09) brake=1;\r\n\t\tbrake = Math.min(1.0, brake);\r\n\t\tSystem.out.println(slip+\" \"+brake);\r\n\t\tCarControl cc = new CarControl(0,brake,0,steer,0);\r\n\t\tol.add(cc);//*/\r\n\t\tCarControl cc = new CarControl(0,1.0d,0,steer,0);\r\n\t\tol.add(cc);\r\n\t\treturn ol;\r\n\t}",
"public void init(HardwareMap ahwMap) {\n // Save reference to Hardware map\n hwMap = ahwMap;\n // left frond drive motor\n try\n {\n\n left_front_drv_Motor = hwMap.dcMotor.get(\"l_f_drv\");\n }\n catch (Exception p_exeception)\n {\n\n\n left_front_drv_Motor = null;\n }\n //left back drive motor\n\n try\n {\n\n left_back_drv_Motor = hwMap.dcMotor.get(\"l_b_drv\");\n }\n catch (Exception p_exeception)\n {\n\n\n left_back_drv_Motor = null;\n }\n // right front drive motor\n try\n {\n\n right_front_drv_Motor = hwMap.dcMotor.get(\"r_f_drv\");\n }\n catch (Exception p_exeception)\n {\n\n right_front_drv_Motor = null;\n }\n //right back drive motor\n try\n {\n\n right_back_drv_Motor = hwMap.dcMotor.get(\"r_b_drv\");\n }\n catch (Exception p_exeception)\n {\n\n\n right_back_drv_Motor = null;\n }\n\n //hinge motor for arm\n\n try\n {\n\n hinge = hwMap.dcMotor.get(\"hinge\");\n }\n catch (Exception p_exeception)\n {\n\n\n hinge = null;\n }\n //hang motor to land\n try\n {\n\n hang_motor = hwMap.dcMotor.get(\"hang\");\n }\n catch (Exception p_exeception)\n {\n\n\n hang_motor= null;\n }\n //intake motor\n try\n {\n\n fly_wheel = hwMap.dcMotor.get(\"intake\");\n }\n catch (Exception p_exeception)\n {\n\n\n hang_motor= null;\n }\n\n // Servos :\n\n\n try\n {\n //v_motor_left_drive = hardwareMap.dcMotor.get (\"l_drv\");\n //v_motor_left_drive.setDirection (DcMotor.Direction.REVERSE);\n marker = hwMap.servo.get(\"marker\");\n if (marker != null) {\n marker.setPosition(SERVO_LEFT_MIN);\n }\n\n\n }\n\n catch (Exception p_exeception)\n {\n //m_warning_message (\"l_drv\");\n // DbgLog.msg (p_exeception.getLocalizedMessage ());\n\n marker = null;\n }\n\n\n //set dc motors to run without an encoder and set intial power to 0\n //l_f_drv\n if (left_front_drv_Motor != null)\n {\n //l_return = left_drv_Motor.getPower ();\n left_front_drv_Motor.setDirection(DcMotor.Direction.FORWARD); // FORWARD was moving it backwards\n left_front_drv_Motor.setPower(0);\n left_front_drv_Motor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n }\n //l_b_drv\n if (left_back_drv_Motor != null)\n {\n //l_return = left_drv_Motor.getPower ();\n left_back_drv_Motor.setDirection(DcMotor.Direction.FORWARD); // FORWARD was moving it backwards\n left_back_drv_Motor.setPower(0);\n left_back_drv_Motor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n }\n\n //r_f_drv\n if (right_front_drv_Motor != null)\n {\n //l_return = left_drv_Motor.getPower ();\n right_front_drv_Motor.setDirection(DcMotor.Direction.FORWARD);// REVERSE was moving it backwards\n right_front_drv_Motor.setPower(0);\n right_front_drv_Motor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n }\n //r_b_drv\n if (right_back_drv_Motor != null)\n {\n //l_return = left_drv_Motor.getPower ();\n right_back_drv_Motor.setDirection(DcMotor.Direction.FORWARD);// REVERSE was moving it backwards\n right_back_drv_Motor.setPower(0);\n right_back_drv_Motor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n }\n //hinge\n if (hinge != null)\n {\n //l_return = left_drv_Motor.getPower ();\n hinge.setPower(0);\n hinge.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n }\n //hang\n if(hang_motor != null)\n\n {\n hang_motor.setPower(0);\n hang_motor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n }\n //intake\n if(fly_wheel != null)\n\n {\n fly_wheel.setPower(0);\n fly_wheel.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n }\n\n/*\ninitalize the colorSensor and colorSensor\n*/\n try {\n colorSensor = hwMap.colorSensor.get(\"color\");\n }\n catch (Exception p_exeception)\n {\n //m_warning_message (\"colr_f\");\n // DbgLog.msg (p_exeception.getLocalizedMessage ());\n colorSensor = null;\n }\n\n\n try {\n LightSensorBottom = hwMap.lightSensor.get(\"ods\");\n }\n catch (Exception p_exeception)\n {\n //m_warning_message (\"ods\");\n // DbgLog.msg (p_exeception.getLocalizedMessage ());\n LightSensorBottom = null;\n }\n\n\n if (colorSensor != null) {\n //ColorFront reads beacon light and is in passive mode\n colorSensor.setI2cAddress(i2CAddressColorFront);\n colorSensor.enableLed(false);\n }\n\n if (LightSensorBottom != null) {\n //OpticalDistance sensor measures dist from the beacon\n LightSensorBottom.enableLed(false);\n }\n\n }",
"Classroom() {}",
"public BrokerAlgo() {}",
"public AssignBus() {\n initComponents();\n source();\n destination();\n }",
"Bicycle(){\n\t\tthis.wheels=2;\n\t}",
"public ElectricBike() {\n\t\tsuper();\n\t}",
"public BusShared(String n, double l, double v, double h, double a, double num){\r\n\t\t\tsuper(n, l, v, h);\r\n\t\t\tthis.additional = a;\r\n\t\t\tthis.Stops = num;\r\n\t }",
"public Car()\n {\n \tsuper();\n bodyType = null;\n noOfDoors = 0;\n noOfSeats = 0;\n }",
"public CarWashSimulation ()\n {\n bay = new Bay(CarWashApplication.BAY_TIME);\n waitingLine = new LLQueue<Car>();\n randGen = new Random();\n reset();\n }",
"public Vehicle(){\n System.out.println(\"Parking a unknown model Vehicle\");\n numberOfVehicle++;\n }",
"public BizFallDevice() {\n super();\n }",
"public RegisterBus(short a, byte b)\n {\n super(a,b);\n setDirection(Location.NORTH);\n }",
"public Carrier() {\n }",
"@Test\n public void testNomalClassSeating() {\n \n busClassRes = new BusinessClassReservation(\"Passenger, One\", plane, true); \n busClassRes.findSeat();\n \n assertEquals(\"2A\", busClassRes.getSeat());\n \n assertEquals(\"Business 2A Passenger, One\", busClassRes.stringForPrint());\n \n busClassRes = new BusinessClassReservation(\"Passenger, Two\", plane, false); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Three\", plane, false); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Four\", plane, true); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Five\", plane, false); \n busClassRes.findSeat();\n \n \n busClassRes = new BusinessClassReservation(\"Passenger, Six\", plane, true); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Seven\", plane, true); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Eight\", plane, true); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Nine\", plane, true); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Ten\", plane, true); \n busClassRes.findSeat();\n \n // should be null - Bus Class full\n \n busClassRes = new BusinessClassReservation(\"Passenger, Eleven\", plane, true); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Twelve\", plane, true); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Thirteen\", plane, true); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Fourteen\", plane, true); \n busClassRes.findSeat();\n \n busClassRes = new BusinessClassReservation(\"Passenger, Fithteen\", plane, true); \n busClassRes.findSeat();\n \n // Business Class Full - null\n busClassRes = new BusinessClassReservation(\"Passenger, sixteen\", plane, true); \n busClassRes.findSeat();\n \n boolean[][] currentSeat = plane.getSeatOccupationMap();\n \n assertFalse(currentSeat[0][0]);\n assertFalse(currentSeat[0][1]);\n assertFalse(currentSeat[0][3]);\n assertFalse(currentSeat[0][4]);\n assertFalse(currentSeat[0][5]);\n \n assertTrue(currentSeat[1][0]);\n assertTrue(currentSeat[1][1]);\n assertTrue(currentSeat[1][3]);\n assertTrue(currentSeat[1][4]);\n assertTrue(currentSeat[1][5]);\n \n assertTrue(currentSeat[2][0]);\n assertTrue(currentSeat[2][1]);\n assertTrue(currentSeat[2][3]);\n assertTrue(currentSeat[2][4]);\n assertTrue(currentSeat[2][5]);\n \n assertTrue(currentSeat[3][5]);\n }",
"public ElectricCar(String mfr, String color, Model model, Vehicle.PowerSource power, \n\t\t double safety, int range, boolean awd, int price, int rch,String batteryType, int VIN)\n{\n\t super(mfr, color, model, Vehicle.PowerSource.ELECTRIC_MOTOR, safety, range, awd, price, VIN);\n\t rechargeTime = rch;\n\t batteryType = \"Lithium\";\n}",
"private DiscretePotentialOperations() {\r\n\t}",
"public Barrier() {\n }",
"public Bicycle(int gear, int speed)\r\n {\r\n this.gear = gear;\r\n this.speed = speed;\r\n }",
"private HardwareDeviceRental(){\r\n\r\n this.initializeComponent();\r\n hardwares= new ArrayList<HardwareDevice>();\r\n\r\n }",
"public Supercar() {\r\n\t\t\r\n\t}",
"public AirAndPollen() {\n\n\t}",
"public SystematicAcension_by_LiftingTechnology() {\n\n\t}",
"public Boop() {\n\t\tsuper();\n\t}",
"protected RouterObject(String m_address) {\n connectedDevices = new ArrayList<String>();\n rwThreads = new HashSet<ReadWriteThread>();\n messageIDs = new ArrayList<byte[]>();\n messages = new ArrayList<byte[]>();\n address = new byte[Constants.TARGET_ID_LEN];\n byte[] temp = m_address.getBytes();\n for(int i=0; i<Constants.TARGET_ID_LEN; i++){\n \taddress[i] = temp[i];\n }\n }",
"public EvolutionaryVehicleRouter() {\n super();\n initializeShippingPoints();\n individual_count = 0;\n generation_count = 0;\n }",
"public Scania() {\n\n super(2, 600, Color.white, \"Scania\", 13000);\n truckBed = new Ramp();\n }",
"@Override\n\tpublic void buscar() {\n\t\t\n\t}",
"public Bike(){\n\t}",
"public TruckManager() {\r\n super(Truck.TRUCKS);\r\n }",
"public Machine() {\n\t\tsuper();\n\t}",
"@Test\n public void constructorInitializesAllItemsInUnknownState() {\n FirstAidItem firstAidItem = Tests.buildFirstAidItem(Point.pt(2.5, 3.5));\n WeaponItem weaponItem = Tests.buildWeaponItem(Point.pt(1.5, 0.5), Weapon.WeaponType.HANDGUN);\n\n Bot bot = Tests.mockBot();\n ItemMemory itemMemory = new ItemMemory(bot, asList(firstAidItem, weaponItem));\n\n assertThat(itemMemory.get(firstAidItem).getState(), is(ItemMemoryRecord.State.UNKNOWN));\n assertThat(itemMemory.get(weaponItem).getState(), is(ItemMemoryRecord.State.UNKNOWN));\n }",
"public TutorIndustrial() {}",
"public ProtoVehicle() {\n super();\n }",
"public BFUnit(){\n \n }",
"public Car(){\n\t\t\n\t}",
"public ParkingSpace() {}",
"Flight() {}",
"public CampLease( ) {}",
"public Climber (int motorIDInput) {\n // speed = Robot.m_oi.getSpeed();\n speed = 0.0;\n climbState = 0;\n\n talonMotor = new WPI_TalonSRX(motorIDInput);\n talonMotor.setInverted(false);\n\n if (printDebug) {\n System.out.println(\"Climb: initialized constructor\");\n }\n }",
"@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}",
"public Bicycle() {\n // You can also call another constructor:\n // this(1, 50, 5, \"Bontrager\");\n System.out.println(\"Bicycle.Bicycle- no arguments\");\n gear = 1;\n cadence = 50;\n speed = 5;\n name = \"Bontrager\";\n }",
"public static void main(String[] args) {\n\t\tVehicle vehicle=new Bus();//구현객체,자동형변환 업캐스팅\r\n\t\tvehicle.run();\r\n\t\t//vehicle.checkFare();//참조형 축소\r\n\t\tBus bus=(Bus) vehicle;\r\n\t\tbus.run();\r\n\t\tbus.checkFare();\r\n\t}",
"Vehicle createVehicle();",
"Vehicle createVehicle();",
"public Car(String licensePlate, double fuelEconomy){\n this.licensePlate = licensePlate;\n this.fuelEconomy = fuelEconomy;\n}",
"protected abstract IStoreFastLane make_express();",
"public MountainBike() {\n super();\n }",
"public VehicleType() { }",
"public Cbuilding() { }",
"protected UnbalanceDetailWithBusPlatformExample(UnbalanceDetailWithBusPlatformExample example) {\r\n this.orderByClause = example.orderByClause;\r\n this.oredCriteria = example.oredCriteria;\r\n }",
"public VehicleTypeTO()\r\n {\r\n }",
"public Ov_Chipkaart() {\n\t\t\n\t}",
"public AbstractBinaryInteraction() {\n\n\t}",
"public BusHandler(Looper looper) {\n super(looper);\n }",
"public boolean isBus() {\n return journeyLegType().equals(ItineraryLegType.BUS);\n }",
"public HanoiTower(){\n\n }",
"public Building() {\n\t}",
"@Test\n\tvoid testConstructor() {\n\t\tassertDoesNotThrow(() -> {UdpCommunicator communicator = this.getCommunicatorImplementation(64324);});\n\t\tassertThrows(IllegalArgumentException.class, () -> {UdpCommunicator communicator = this.getCommunicatorImplementation(-54);});\n\t\tassertThrows(IllegalArgumentException.class, () -> {UdpCommunicator communicator = this.getCommunicatorImplementation(70000);});\n\t}",
"private UniqueChromosomeReconstructor() { }",
"@Override\n\tpublic Task constructInstance(Robot robot) {\n\t\treturn null;\n\t}",
"protected abstract void fixChassis();",
"public DriveTrain() {\n for(int i = 0; i < 2; i++) {\n leftMotors[i] = new CANSparkMax(Constants.LEFT_DRIVE_CANS[i], MotorType.kBrushless);\n rightMotors[i] = new CANSparkMax(Constants.RIGHT_DRIVE_CANS[i], MotorType.kBrushless);\n rightMotors[i].setInverted(true);\n }\n }",
"public USBAmp() {\r\n super();\r\n }",
"private Vehicle createNewVehicle() {\n\t\tString make = generateMake();\n\t\tString model = generateModel();\n\t\tdouble weight = generateWeight(model);\n\t\tdouble engineSize = generateEngineSize(model);\n\t\tint numberOfDoors = generateNumberOfDoors(model);\n\t\tboolean isImport = generateIsImport(make);\n\t\t\n\t\tVehicle vehicle = new Vehicle(make, model, weight, engineSize, numberOfDoors, isImport);\n\t\treturn vehicle;\t\t\n\t}",
"private Grabber() {\n\t\tmotor = new CANTalon(Constants.grabberTalonMotorChannel);\n\t}",
"protected AsymmetricProcessor() {\n\t}",
"PhysicalThing createPhysicalThing();"
] |
[
"0.65989375",
"0.6267305",
"0.602956",
"0.6017493",
"0.5986665",
"0.59611714",
"0.5910458",
"0.58989334",
"0.5890187",
"0.5871715",
"0.5819528",
"0.58186907",
"0.5777843",
"0.5756253",
"0.5742486",
"0.5696585",
"0.5681841",
"0.5675616",
"0.5662082",
"0.5659919",
"0.5629914",
"0.5627423",
"0.56271434",
"0.562285",
"0.5619368",
"0.56161314",
"0.56147546",
"0.5607434",
"0.5598556",
"0.55970335",
"0.5585891",
"0.55570847",
"0.5540893",
"0.5537056",
"0.5531957",
"0.5529655",
"0.5522528",
"0.5515931",
"0.5503116",
"0.54899204",
"0.54863715",
"0.5477712",
"0.54741293",
"0.54609925",
"0.5459231",
"0.54551584",
"0.54483765",
"0.5442654",
"0.5434919",
"0.5426025",
"0.5425334",
"0.5423",
"0.5418493",
"0.54184306",
"0.5404281",
"0.54032594",
"0.5401766",
"0.54002196",
"0.5392525",
"0.53891784",
"0.5387304",
"0.5382499",
"0.53772074",
"0.5363469",
"0.5353315",
"0.5350737",
"0.5349968",
"0.53482664",
"0.5345027",
"0.53439146",
"0.53363115",
"0.5333247",
"0.5328379",
"0.5321809",
"0.531526",
"0.53094524",
"0.53066695",
"0.53066695",
"0.5306591",
"0.53047705",
"0.5301231",
"0.5294995",
"0.5294058",
"0.52913857",
"0.5290609",
"0.52873546",
"0.5286356",
"0.5286055",
"0.52843565",
"0.52817315",
"0.52814716",
"0.527216",
"0.52500784",
"0.524942",
"0.5246737",
"0.52427495",
"0.52413684",
"0.52382815",
"0.5237507",
"0.5236405",
"0.523537"
] |
0.0
|
-1
|
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
@Override
public void removeFilterValue(String value) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private void habilitar() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}",
"public void remove()\n/* */ {\n/* 99 */ throw new UnsupportedOperationException();\n/* */ }",
"public void remove()\n/* */ {\n/* 110 */ throw new UnsupportedOperationException();\n/* */ }",
"@Override\n public boolean isSupported() {\n return true;\n }",
"@Override\n public String toString() {\n throw new UnsupportedOperationException(\"implement me!\");\n }",
"private void cargartabla() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"private void HargaKamera() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"@Override\n public void remove() {\n throw new UnsupportedOperationException(); \n }",
"@Override\r\npublic int method() {\n\treturn 0;\r\n}",
"@Override\n\tpublic void remove() {\n\t\tthrow new UnsupportedOperationException();\t\t\n\t}",
"@Override\n\tpublic void remove() {\n\t\tthrow new UnsupportedOperationException();\t\t\n\t}",
"@Override\n public boolean isSupported() {\n return true;\n }",
"private static UnsupportedOperationException getModificationUnsupportedException()\n {\n throw new UnsupportedOperationException(\"Illegal operation. Specified list is unmodifiable.\");\n }",
"@Override\r\n public void remove() throws UnsupportedOperationException {\r\n throw new UnsupportedOperationException(\"Me ei poisteta\");\r\n }",
"Boolean mo1305n() {\n throw new UnsupportedOperationException(getClass().getSimpleName());\n }",
"@Override\n public void actionPerformed(ActionEvent e) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"public boolean isEnabled() {\n/* 945 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"@Override\r\n\t\t\tpublic void remove() {\r\n\t\t\t\tthrow new UnsupportedOperationException();\r\n\t\t\t}",
"@Override\r\n\t\tpublic void remove() {\r\n\t\t\tthrow new UnsupportedOperationException();\r\n\t\t}",
"void Salvar(String nome) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"protected void input_back(){\n throw new UnsupportedOperationException();\n }",
"@Override\n\tpublic void remove() {\n\t\tthrow new UnsupportedOperationException();\n\t}",
"public UnsupportedCycOperationException() {\n super();\n }",
"public int getListSelection() {\n/* 515 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public void remove(){\r\n\t\t\tthrow new UnsupportedOperationException();\r\n\t\t}",
"@SuppressWarnings(\"static-method\")\n\tpublic void open() {\n\t\tthrow new UnsupportedOperationException();\n\t}",
"@Override\n\t\t\tpublic void remove() {\n\t\t\t\tthrow new UnsupportedOperationException();\n\t\t\t}",
"@Override\n public void remove() {\n throw new UnsupportedOperationException();\n }",
"@Override\n public void remove() {\n throw new UnsupportedOperationException();\n }",
"@Override\n public void remove() {\n throw new UnsupportedOperationException();\n }",
"private void atualizar_tbl_pro_profs() {\n throw new UnsupportedOperationException(\"Not supported yet.\");\n//To change body of generated methods, choose Tools | Templates.\n }",
"@Override\n\t/**\n\t * feature is not supported\n\t */\n\tpublic void remove() {\n\t}",
"@Override\n public void remove() {\n throw new UnsupportedOperationException();\n }",
"@Override\n public void remove() {\n throw new UnsupportedOperationException();\n }",
"public void remove() throws UnsupportedOperationException {\n\t\t\tthrow new UnsupportedOperationException(\"Myö ei poisteta\");\n\t\t}",
"private String printStackTrace() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"@Override\n public void makeVisible() {\n throw new UnsupportedOperationException(\"operation not supported\");\n }",
"public void _reportUnsupportedOperation() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"Operation not supported by parser of type \");\n sb.append(getClass().getName());\n throw new UnsupportedOperationException(sb.toString());\n }",
"@Override\r\n public void actionPerformed(ActionEvent e) {\r\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\r\n }",
"public void remove() {\r\n \r\n throw new UnsupportedOperationException();\r\n }",
"public void showDropDown() {\n/* 592 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public void remove() {\n\t\tthrow new UnsupportedOperationException();\n\t}",
"public void remove() {\n\t\tthrow new UnsupportedOperationException();\n\t}",
"public int zzef() {\n throw new UnsupportedOperationException();\n }",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n public String toString() {\n throw new UnsupportedOperationException();\n //TODO: Complete this method!\n }",
"@Override\n public void refresh() {\n throw new UnsupportedOperationException(\"operation not supported\");\n }",
"@Override\npublic boolean isEnabled() {\n\treturn false;\n}",
"@Override\n public String writeToString() {\n throw new UnsupportedOperationException();\n }",
"public boolean isImportantForAccessibility() {\n/* 1302 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"private String getText() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"@Deprecated\n/* */ public int getActions() {\n/* 289 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"@Override\n\tprotected Object clone() {\n\t\tthrow new UnsupportedOperationException();\n\t}",
"public String getDisplayVariant() {\n/* 656 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"@Override\n public boolean getObsolete()\n {\n return false;\n }",
"@Override\n public void close() {\n throw new UnsupportedOperationException(\"Not supported yet.\");\n }",
"public String getName() {\n/* 341 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"@Override\npublic boolean isEnabled() {\n\treturn true;\n}",
"public int mo1265e() {\n throw new UnsupportedOperationException(getClass().getSimpleName());\n }",
"public MissingMethodArgumentException() {\n }",
"public ListAdapter getAdapter() {\n/* 431 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public CollectionItemInfo getCollectionItemInfo() {\n/* 1114 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public CharSequence getContentDescription() {\n/* 1531 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"@Override\n public void cancel() {\n throw new UnsupportedOperationException();\n }",
"public void remove() {\n throw new UnsupportedOperationException();\r\n }",
"@Override\n public final void remove() {\n throw new UnsupportedOperationException();\n }",
"public void remove() {\n throw new UnsupportedOperationException();\n }",
"public void remove() {\n throw new UnsupportedOperationException();\n }",
"public void remove() {\r\n throw new UnsupportedOperationException();\r\n }",
"private ExampleVersion() {\n throw new UnsupportedOperationException(\"Illegal constructor call.\");\n }",
"public void remove() throws UnsupportedOperationException {\n\t\t\tthrow new UnsupportedOperationException( \"remove() Not implemented.\" );\n\t\t}",
"public boolean isSelected() {\n/* 3021 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"private void chk() {\n if (clist != null)\n throw new UnsupportedOperationException();\n }",
"public void remove() {\n\t\t\tthrow new UnsupportedOperationException();\n\t\t}",
"@Override\n\tpublic void e() {\n\n\t}",
"public boolean isEditable() {\n/* 1014 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}",
"private void m50366E() {\n }",
"@Deprecated\n\tprivate void oldCode()\n\t{\n\t}",
"public boolean mo1266f() {\n throw new UnsupportedOperationException(getClass().getSimpleName());\n }",
"public void remove() {\n throw new UnsupportedOperationException();\n }",
"@Override\n public void actionPerformed(ActionEvent ae) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"private void someUtilityMethod() {\n }",
"private void someUtilityMethod() {\n }",
"public void remove() {\n throw new UnsupportedOperationException();\n }",
"public void remove() {\n throw new UnsupportedOperationException();\n }",
"private CollectionUtils() {\n\t\tthrow new UnsupportedOperationException();\n\t}",
"default boolean isDeprecated() {\n return false;\n }",
"public String formNotImplemented()\r\n {\r\n return formError(\"501 Method not implemented\",\"Service not implemented, programer was lazy\");\r\n }",
"@Override\n\tpublic String getMoreInformation() {\n\t\tthrow new UnsupportedOperationException();\n\t}",
"public void m23075a() {\n }",
"private void setText() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"@Override\n\tpublic void dosomething() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"public int getObjectPropCode() {\n/* 108 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public void toggle() {\n/* 135 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public String getSuggestSelection() {\n/* 113 */ throw new RuntimeException(\"Stub!\");\n/* */ }"
] |
[
"0.77442753",
"0.73745763",
"0.6965507",
"0.6908429",
"0.6797187",
"0.67738247",
"0.6770793",
"0.6653347",
"0.66378933",
"0.66238236",
"0.6608154",
"0.6608154",
"0.65922153",
"0.6585848",
"0.6554524",
"0.64987206",
"0.6461772",
"0.64494187",
"0.6428624",
"0.64187545",
"0.6382625",
"0.63818306",
"0.6378436",
"0.63760686",
"0.6363862",
"0.6359368",
"0.6358748",
"0.63529646",
"0.63335854",
"0.63335854",
"0.63335854",
"0.6331548",
"0.6324637",
"0.63223016",
"0.63223016",
"0.6313098",
"0.62910104",
"0.6278451",
"0.6277943",
"0.6273101",
"0.6263474",
"0.62461776",
"0.62246966",
"0.62246966",
"0.62209004",
"0.6202992",
"0.620283",
"0.61993957",
"0.61990935",
"0.6192765",
"0.6191409",
"0.61794096",
"0.61794096",
"0.6163539",
"0.6163035",
"0.6159816",
"0.61455685",
"0.61266595",
"0.6124387",
"0.61233777",
"0.61219746",
"0.61146545",
"0.611324",
"0.61075956",
"0.61014634",
"0.609056",
"0.6089885",
"0.6087785",
"0.60857874",
"0.608487",
"0.608487",
"0.6079172",
"0.6059358",
"0.6056012",
"0.60486186",
"0.6045742",
"0.60416967",
"0.602463",
"0.6021055",
"0.60157436",
"0.6015653",
"0.60154283",
"0.60085464",
"0.6006141",
"0.59972876",
"0.5994861",
"0.59860784",
"0.59860784",
"0.5984869",
"0.5984869",
"0.59825116",
"0.59815866",
"0.59788644",
"0.5969931",
"0.59671116",
"0.5965354",
"0.5963944",
"0.5963186",
"0.5956418",
"0.59511787",
"0.59503233"
] |
0.0
|
-1
|
Set the author and title fields when this object is constructed.
|
public Book(String bookAuthor, String bookTitle, int bookPages, String getDetails)
{
author = bookAuthor;
title = bookTitle;
pages = bookPages;
details = author,title,pages;
Number = "";
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void setAuthor(String author) {\n\t\tsuper.setAuthor(author);\r\n\t}",
"public void setAuthor(String author) {\r\n this.author = author;\r\n }",
"public void setAuthor(String author)\r\n {\r\n m_author = author;\r\n }",
"public void setAuthor(String author) {\n\tthis.author = author;\n}",
"public void setAuthor(String author) {\n this.author = author;\n }",
"public void setAuthor(String author) {\n this.author = author;\n }",
"public void setAuthor(String author) {\n this.author = author;\n }",
"public void setAuthor(String author) {\n this.author = author;\n }",
"public void setAuthor(String author) {\n this.author = author;\n }",
"public Book () {\n\t\tsuper ();\n\t\t_title = \"\";\n\t\t_text = \"\";\n\t\t_publisher = null;\n\t\t_oid = 0;\n\t\t_author = null;\n\t\t_Isbn = \"\";\n\t}",
"public Author() {\n }",
"public void setAuthor(Player author){\n this.playerAuthor = author;\n }",
"public void setAuthor(Author author) {\r\n if (author != null) {\r\n this.author = author;\r\n }\r\n }",
"public void setAuthor(String author) {\r\n\t\tthis.author = author;\r\n\t}",
"public AuthorRecord() {\n super(Author.AUTHOR);\n }",
"@Override\n public void author_()\n {\n }",
"public void setAuthor(Person author)\n {\n this.author = author;\n }",
"public BookAuthor(){}",
"protected void init() {\n setUUIDString();\n setNoteCreatedAt();\n setNoteUpdatedAt();\n setCreator(ParseUser.getCurrentUser());\n addAuthor(ParseUser.getCurrentUser());\n setACL(new ParseACL(ParseUser.getCurrentUser()));\n }",
"public void setAuthor(String value) {\n setAttributeInternal(AUTHOR, value);\n }",
"public String getAuthor() { return author_; }",
"public com.babbler.ws.io.avro.model.BabbleValue.Builder setAuthor(java.lang.String value) {\n validate(fields()[0], value);\n this.author = value;\n fieldSetFlags()[0] = true;\n return this;\n }",
"public Book() {\n\t\ttitle = null;\n\t\tauthor = null;\n\t}",
"public StoryMakerStory(String title, String author) {\n\t\tif (title == null) {\n\t\t\tthrow new IllegalArgumentException(ExceptionMessages.NULL_TITLE);\n\t\t}\n\t\tif (title.isEmpty()) {\n\t\t\tthrow new IllegalArgumentException(ExceptionMessages.EMPTY_TITLE);\n\t\t}\n\t\tif (author == null) {\n\t\t\tthrow new IllegalArgumentException(ExceptionMessages.NULL_AUTHOR);\n\t\t}\n\t\tif (author.isEmpty()) {\n\t\t\tthrow new IllegalArgumentException(ExceptionMessages.EMPTY_AUTHOR);\n\t\t}\n\n\t\tthis.title = title;\n\t\tthis.author = author;\n\t\tthis.pages = new ArrayList<Page>();\n\t\tthis.setting = new DisplaySetting();\n\t}",
"public Book()\n {\n title = null;\n author = null;\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public String getAuthor() {\r\n return author;\r\n }",
"@Override\n public void author()\n {\n }",
"public Publication(String title, int year)\n {\n // this is the constructor that iniates the variables \n name = title;\n yr = year;\n }",
"public Authors() {\n mAuthors = new TreeMap<>();\n }",
"@Override\n \tpublic void setAuthorString(String authorString) {\n \t\tthis.authorString = authorString;\n \t}",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public void setAuthor(String author) {\r\n String old = this.author;\r\n this.author = author;\r\n this.changeSupport.firePropertyChange(\"author\", old, this.author );\r\n }",
"public Post(String title, String createdAt, int authorID, String body){\n this.title = title;\n this.createdAt = createdAt;\n this.authorID = authorID;\n this.body = body;\n }",
"public String getAuthor(){\n return author;\n \n }",
"public String getAuthor() {\r\n\t\treturn author;\r\n\t}",
"public void setAuthor(String author) {\n this.author = author == null ? null : author.trim();\n }",
"public void setAuthor(String author) {\n this.author = author == null ? null : author.trim();\n }",
"public void setAuthor(String author) {\n this.author = author == null ? null : author.trim();\n }",
"public void setAuthor(String author) {\n this.author = author == null ? null : author.trim();\n }",
"@Override\n\tpublic String author() {\n\t\treturn author;\n\t}",
"public void setAuthor(final Author author) {\n\t\tthis.author = author;\n\t}",
"public BookAuthor(int i, String n, String s, String e)\r\n {\r\n name = n;\r\n idAuthor = i;\r\n surname = s;\r\n email = e;\r\n }",
"public PCreateAuthor() {\n\t\tsuper(org.jooq.SQLDialect.SYBASE, \"p_create_author\", org.jooq.test.sybase.generatedclasses.Dba.DBA);\n\t}",
"public Book(String t, String a) {\n\t\ttitle = t;\n\t\tauthor = a;\n\t}",
"public Quote(String quoteBody, String author){\n this.quoteBody = quoteBody;\n this.author = author;\n }",
"protected Book() {\n this.title = \"Init\";\n this.author = \"Init\";\n this.bookCategories = new HashSet<>(10);\n }",
"@Override\n \tpublic void setAuthors(String authors) {\n \t\t// TODO Auto-generated method stub\n \n \t}",
"@Override\n\tpublic void setAuthor(java.lang.String author) {\n\t\t_news_Blogs.setAuthor(author);\n\t}",
"public final native void setAuthor(String author) /*-{\n this.setAuthor(author);\n }-*/;",
"public adminAuthor() {\n initComponents();\n List();\n\n }",
"public void setAuthors(String _authors) { authors = _authors; }",
"public DefaultAuthor() {\n\t\ttopic = null;\n\t}",
"private Author(final String fname, final String lname) {\r\n writer = new Reader(fname, lname);\r\n this.fname = fname;\r\n this.lname = lname;\r\n publishedBooks = new ArrayList<Book>();\r\n }",
"public Book(final String title) {\n this.title = title;\n }",
"public Book(Author[] authors, int copyrightYear, double edition, Genre genre, String title) {\n super(title);\n this.authors = authors;\n this.copyrightYear = copyrightYear;\n this.edition = edition;\n this.genre = genre;\n this.bookID = generateUniqueID();\n this.rackNo = generateRackID();\n }",
"public void setAuthorInfo(int i, String n, String s, String e)\r\n {\r\n name = n;\r\n idAuthor = i;\r\n surname = s;\r\n email = e;\r\n }",
"public AuthorInfoExtractor() {\n\t\tthis.authors = new HashMap<String, AuthorInfo>();\n\t}",
"@Override\n\tpublic String getAuthor() {\n\t\treturn \"\";\n\t}",
"public String getAuthor(){return author;}",
"public Book(String title, List<String> authors) {\n this.title = title;\n this.authors = authors;\n // TODO write more code if necessary\n this.setParentCollection(null);\n }",
"public Book(Author[] authors, int copyrightYear, double edition, Genre genre, String title) {\n super(title);\n this.authors = authors;\n this.copyrightYear = copyrightYear;\n this.edition = edition;\n this.genre = genre;\n bookID = generateUniqueID();\n rackNo = generateRackID();\n }",
"public String getAuthor() {\n return mAuthor;\n }",
"public String getAuthor() {\r\n\t\treturn oAuthor;\r\n\t}",
"public Chapter(){\r\n title = \"\";\r\n body = \"\";\r\n }",
"@Override\r\n\tpublic String getAuthor() {\n\t\treturn super.getAuthor();\r\n\t}",
"public String getAuthor() {\n\treturn author;\n}",
"public Book() {\n this.bookName = \"Five Point Someone\";\n this.bookAuthorName = \"Chetan Bhagat\";\n this.bookIsbnNumber = \"9788129104595\";\n\n }",
"public String getCreateAuthor() {\n return createAuthor;\n }",
"void create(int id, int authorId, String title);",
"public Author getAuthor() {\r\n return author;\r\n }",
"public BookT(String bookTitle, String bookAuthor, String bookISBN){\r\n\t\tthis.title = bookTitle;\r\n\t\tthis.author = bookAuthor;\r\n\t\tthis.ISBN = bookISBN;\r\n\t}",
"public java.lang.String getAuthor() {\n return author;\n }",
"public Paper(int _id, String _title, String _uri, int _year,\r\n\t\tString _biblio_info, String _authors, String _url, User _user)\r\n\t{\r\n\t\tsuper(_id, _title, _uri, _user);\r\n\t\tyear = _year;\r\n\t\tbiblio_info = (_biblio_info==null)?\"\":_biblio_info;\r\n\t\tauthors = (_authors==null)?\"\":_authors;\r\n\t\turl = (_url==null)?\"\":_url;\r\n\t\tsummaries = new Item2Vector<Summary>();\r\n\t\tauthorss = new OrderedWeightedItem2Vector<Author>(); \r\n\t}",
"public void setAuthorParameters(AuthorParameters authorParameters) {\n\t\tthis.authorParameters = authorParameters;\n\t}",
"public java.lang.String getAuthor() {\n return author;\n }",
"public Books(int booknum, String title, String author) {\n\t\t// super();\n\n\t\tthis.booknum = booknum;\n\t\tthis.setAuthor(author);\n\t\tthis.title = title;\n\t}",
"public AuthorRecord(Integer id, String name, Timestamp created, Timestamp updated) {\n super(Author.AUTHOR);\n\n set(0, id);\n set(1, name);\n set(2, created);\n set(3, updated);\n }",
"public void setAuthorName(String authorName) {\n this.authorName = authorName;\n }",
"public void setAuthorName(String authorName) {\n this.authorName = authorName;\n }",
"public void prepareTitle()\n {\n DuelTitle title = new DuelTitle();\n addObject(title, 539, 186);\n }",
"public VAuthorDao() {\n\t\tsuper(org.jooq.test.h2.generatedclasses.tables.VAuthor.V_AUTHOR, org.jooq.test.h2.generatedclasses.tables.pojos.VAuthor.class);\n\t}",
"public String getAuthor() {\n\t\treturn null;\r\n\t}",
"public Chapter(String title, String body){\r\n this.title = title;\r\n this.body = body;\r\n }",
"public AssignedAuthor() {\n \tthis.classCode = \"ASSIGNED\";\n }",
"public void setAuthorLocal(String author) {\r\n\t\toAuthor = author;\r\n\t}",
"@Override\n\tpublic String getDescription() {\n\t\treturn author;\n\t}",
"Builder addAuthor(String value);",
"public CmsAuthorCopyrightTEOImpl() {\n }",
"public String getAuthorName() {\n return authorName;\n }"
] |
[
"0.70109046",
"0.6943203",
"0.68946505",
"0.6874416",
"0.6849712",
"0.6849712",
"0.6849712",
"0.6849712",
"0.6849712",
"0.68214935",
"0.67768276",
"0.6775204",
"0.676499",
"0.6731825",
"0.6713397",
"0.67121416",
"0.6660803",
"0.65891975",
"0.65761524",
"0.651972",
"0.6504792",
"0.6499311",
"0.6490526",
"0.6465696",
"0.64499736",
"0.641764",
"0.6389439",
"0.63853025",
"0.63608825",
"0.63349587",
"0.63320655",
"0.63023174",
"0.63023174",
"0.63023174",
"0.63023174",
"0.63023174",
"0.63023174",
"0.63023174",
"0.63023174",
"0.63023174",
"0.63023174",
"0.63023174",
"0.63023174",
"0.6293177",
"0.62753594",
"0.6273711",
"0.62714344",
"0.6269862",
"0.6269862",
"0.6269862",
"0.6269862",
"0.6268763",
"0.626639",
"0.6253804",
"0.6192299",
"0.61762536",
"0.6166928",
"0.6163379",
"0.6140104",
"0.61388874",
"0.6133556",
"0.6131671",
"0.6124337",
"0.61040217",
"0.6103449",
"0.6094512",
"0.60738015",
"0.60729164",
"0.6070881",
"0.60705227",
"0.6066416",
"0.60451204",
"0.60417354",
"0.60399264",
"0.6037187",
"0.60367525",
"0.60328084",
"0.60270345",
"0.6019813",
"0.6007772",
"0.6000347",
"0.59741235",
"0.59728134",
"0.5968239",
"0.5967759",
"0.5967005",
"0.596696",
"0.5915499",
"0.59148",
"0.59090847",
"0.59090847",
"0.590585",
"0.59005165",
"0.58895946",
"0.5863768",
"0.5843201",
"0.58226985",
"0.581227",
"0.58015585",
"0.57988137",
"0.577297"
] |
0.0
|
-1
|
Add the methods here... First we return the Author and Title.
|
public String getAuthor(){
return author;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public abstract String getAuthor();",
"public String getAuthor();",
"String getAuthor();",
"String getAuthor();",
"String getAuthorName();",
"@Override\n public String toString() {\n return this.title + \" (\" + this.author.getName() + \"), \" + this.year;\n }",
"public String getAuthor() { return author_; }",
"public String getAuthor()\r\n {\r\n return(\"Judy O'Brien\");\r\n }",
"@Override\n public String toString() {\n return getAuthor().getName();\n }",
"default String getAuthor() {\r\n\t\treturn \"unknown\";\r\n\t}",
"public String getAuthor() {\r\n return author;\r\n }",
"public String getAuthor(){return author;}",
"@Override\r\n\tpublic String getAuthor() {\n\t\treturn super.getAuthor();\r\n\t}",
"public Author getAuthor() {\r\n return author;\r\n }",
"@Override\n\tpublic String toString() {\n\t\tStringBuilder sb;\n\t\t\n\t\tsb = new StringBuilder();\n\t\t\n\t\t// start with the title\n\t\tsb.append('\"');\n\t\tsb.append(title);\n\t\tsb.append('\"');\n\t\t\n\t\t// then add the authors\n\t\tsb.append(\" by \");\n\t\tObject[] authors = this.authors.toArray();\n\t\tfor(Object author : authors) {\n\t\t\tsb.append(author);\n\t\t\tsb.append(\", \");\n\t\t}\n\t\tsb.delete(sb.length() - 2, sb.length());\n\t\t\n\t\t// finally, add the editor (if they exist)\n\t\tif(editor != null) {\n\t\t\tsb.append(\" and edited by \");\n\t\t\tsb.append(editor);\n\t\t}\n\t\n\t\t// and return this string\n\t\treturn sb.toString();\n\t}",
"public IAuthor getAuthor();",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n return author;\n }",
"@Override\n\tpublic String author() {\n\t\treturn author;\n\t}",
"public String getAuthor() {\n\t\treturn \"Prasoon, Vikas, Shantanu\";\n\t}",
"public java.lang.String getAuthor() {\n return author;\n }",
"public String getAuthor() {\n\treturn author;\n}",
"@Override\n\tpublic String getAuthor() {\n\t\treturn \"\";\n\t}",
"@Override\n\tpublic String getDescription() {\n\t\treturn author;\n\t}",
"public String getAuthor()\r\n {\r\n return (m_author);\r\n }",
"public String getAuthor() {\n return mAuthor;\n }",
"public java.lang.String getAuthor() {\n return author;\n }",
"public String getAuthor() {\r\n\t\treturn author;\r\n\t}",
"String[] getAuthor();",
"public String getAuthor() {\r\n\t\treturn oAuthor;\r\n\t}",
"public abstract String getAuthor(int lineNumber);",
"public String printAuthor(){\n System.out.println();\n return author;\n }",
"private static String authorLine()\n {\n return String.format(STR_FORMAT_1 + STR_FORMAT_2, NAME_STR, NAME);\n }",
"@Override\r\n public String toString() {\r\n return \"Biography [Author's First Name: \"+this.getAuthorFirstName()+\", Author's Last Name: \"+this.getAuthorLastName()+\", \" +\r\n \"Book Title: \"+this.getBookTitle()+\", Published Year: \"+this.getPublishedYear()+\", Subject: \"+this.getSubject()+\"]\";\r\n }",
"@Override\n\tpublic java.lang.String getAuthor() {\n\t\treturn _news_Blogs.getAuthor();\n\t}",
"@Override\n public String toString() {\n return bookName + \"-\" + authorName;\n }",
"@Override\r\n\tpublic List<Author> getAllAuthorDetails() {\n\t\treturn authorDAO.findAll();\r\n\t\t\r\n\t}",
"public User getAuthor() {\n return author;\n }",
"public String getAuthorName() {\n return authorName;\n }",
"public String getAuthorName() {\n return authorName;\n }",
"public String getCreateAuthor() {\n return createAuthor;\n }",
"@Override\n public void author_()\n {\n }",
"public String toString(){\n return \"Title: \\\"\" + title + \"\\\", author: \" + author + \", (\" + year + \")\";\n }",
"public String getBookAuthor() {\n return bookAuthor;\n }",
"public AuthorInfoExtractor() {\n\t\tthis.authors = new HashMap<String, AuthorInfo>();\n\t}",
"public IPerson getAuthor() {\n\t\treturn fAuthor;\n\t}",
"@Override\n public void author()\n {\n }",
"public String getAuthor() {\n\t\treturn auth;\n\t}",
"public String getAuthorName() {\n return this.authorName;\n }",
"public String getAuthor() {\n\t\treturn null;\r\n\t}",
"public java.lang.String getAuthor()\n\tthrows java.rmi.RemoteException\n {\n\ttry {\n\t Object $result = ref.invoke(this, $method_getAuthor_0, null, 5683193999863030062L);\n\t return ((java.lang.String) $result);\n\t} catch (java.lang.RuntimeException e) {\n\t throw e;\n\t} catch (java.rmi.RemoteException e) {\n\t throw e;\n\t} catch (java.lang.Exception e) {\n\t throw new java.rmi.UnexpectedException(\"undeclared checked exception\", e);\n\t}\n }",
"public String toString() {\n return authorName + \" - \" + timestamp + \": \" + text;\n }",
"public Author getAuthor() {\n\t\treturn this.author;\n\t}",
"public List applyAuthorRule () {\n\t\treturn authors;\n\t}",
"public String GetTitle(){ return(title); }",
"@Override\n public String toString() {\n String authorNames=\"\";\n for(Author a:authors){\n authorNames+=\", \"+a.toString();\n }\n return super.toString()\n +\", BookID: \"+bookID\n +\", RackNo: \"+rackNo\n +\", Edition: \"+edition\n +\", Authors: \"+(authors.length>0?authorNames.substring(2):\"\");\n }",
"public final native String getAuthor() /*-{\n return this.getAuthor();\n }-*/;",
"public String getAuthorName() {\n return mAuthorName;\n }",
"public String toString() {\n return this.title + \"(\" + this.year + \")\\n\\t\" +\n \"Author: \" + this.author + \"\\n\\t\" +\n \"Pg. \" + this.pagesRead + \"/\" + this.pages;\n }",
"public String WhoAmI() { \r\n String result; \r\n result = new String(\" Title : \" + title + \" (Ref : \" + reference + \", Price : \" + price + \");\\n\"); \r\n return result; \r\n }",
"public Item2Vector<Author> getAuthorss() { return authorss; }",
"public void printAuthor()\n {\n System.out.println(\"by: \" + author);\n }",
"public String toString() {\n return title + \" \" + firstName + \" \" + lastName;\n }",
"public String getAuthorisor()\n\t{\n\t\treturn authorisor;\n\t}",
"public String getAuthor() {\n \treturn metricMetadata.getAuthor();\n }",
"protected abstract String title ();",
"public String toString() {\n return getName() + \", \" + getAuthor() + \", \" + getPrice();\n }",
"public String getAuthor() {\n\t\tint start = \"Author:\".length();\n\t\tint end = author.indexOf('<');\n\t\tString parsed = author.substring(start, end).trim();\n\t\treturn parsed;\n\t}",
"public String getAuthor() {\n return (String)getAttributeInternal(AUTHOR);\n }",
"public String toString(){\r\n return super.toString() + \",\" +\r\n this.getAuthor() + \",\" +\r\n this.getRating();\r\n }",
"public abstract String getTitle();",
"public abstract String getTitle();",
"public abstract String getTitle();",
"public abstract String getTitle();",
"public String[] getAuthors() {\n return authors;\n }",
"public Player getAuthor(){\n return this.playerAuthor;\n }",
"@NotNull\n\tpublic StringBuilder getMetadata() {\n\t\tStringBuilder metadata = new StringBuilder();\n\t\tif (title != null)\n\t\t\tmetadata.append(title).append(\" \");\n\t\tif (authors != null)\n\t\t\tfor (String author : authors)\n\t\t\t\tmetadata.append(author).append(\" \");\n\t\tif (miscMetadata != null)\n\t\t\tfor (String metadata0 : miscMetadata)\n\t\t\t\tmetadata.append(metadata0).append(\" \");\n\t\treturn metadata;\n\t}",
"public String getTitle()\n {\n return bookTitle;\n }",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();",
"public String getTitle();"
] |
[
"0.76468605",
"0.7548181",
"0.74727833",
"0.74727833",
"0.7141513",
"0.70737565",
"0.7051773",
"0.6904545",
"0.6876284",
"0.6834744",
"0.6833335",
"0.68114626",
"0.6808989",
"0.67898977",
"0.6778089",
"0.6737536",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.67326903",
"0.6728124",
"0.6725519",
"0.67046916",
"0.66885674",
"0.667506",
"0.66534495",
"0.6622029",
"0.6609887",
"0.6595521",
"0.65842104",
"0.6465436",
"0.6428368",
"0.64248043",
"0.6406549",
"0.64047104",
"0.63979506",
"0.63848007",
"0.63636106",
"0.63145334",
"0.62949055",
"0.6274151",
"0.6274151",
"0.62545085",
"0.6249771",
"0.6247233",
"0.6245426",
"0.6237613",
"0.6234828",
"0.6231755",
"0.6207789",
"0.62006944",
"0.61889553",
"0.61835295",
"0.61786723",
"0.61507225",
"0.61403584",
"0.61220586",
"0.60519445",
"0.6040597",
"0.60068476",
"0.59507805",
"0.59502023",
"0.5941225",
"0.5938323",
"0.59356505",
"0.5922193",
"0.59076774",
"0.58974564",
"0.58838874",
"0.5869688",
"0.58690053",
"0.5848271",
"0.5818237",
"0.5818237",
"0.5818237",
"0.5818237",
"0.5815288",
"0.58124936",
"0.58045757",
"0.5793996",
"0.5763136",
"0.5763136",
"0.5763136",
"0.5763136",
"0.5763136",
"0.5763136",
"0.5763136",
"0.5763136",
"0.5763136",
"0.5763136",
"0.5763136",
"0.5763136"
] |
0.67291653
|
28
|
The we also add print methods for Author and Title.
|
public String printAuthor(){
System.out.println();
return author;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void printDetails()\n {\n super.printDetails();\n System.out.println(\"The author is \" + author + \" and the isbn is \" + isbn); \n }",
"public void printAuthor()\n {\n System.out.println(\"by: \" + author);\n }",
"public void print()\n {\n System.out.println(name + \"\\n\");\n for(int iterator = 0; iterator < bookList.size() ; iterator++)\n {\n System.out.println((iterator+1) +\". \" + bookList.get(iterator).getTitle()+\" by \" +bookList.get(iterator).getAuthor()); \n }\n }",
"@Override\n public String toString() {\n return this.title + \" (\" + this.author.getName() + \"), \" + this.year;\n }",
"@Override\n public String toString() {\n return getAuthor().getName();\n }",
"@Override\n public String toString() {\n return bookName + \"-\" + authorName;\n }",
"@Override\n\t\t\tpublic void print() {\n\t\t\t\t\n\t\t\t}",
"@Override\n public void author()\n {\n }",
"@Override\r\n\t\t\tpublic void print() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic String toString() {\n\t\tStringBuilder sb;\n\t\t\n\t\tsb = new StringBuilder();\n\t\t\n\t\t// start with the title\n\t\tsb.append('\"');\n\t\tsb.append(title);\n\t\tsb.append('\"');\n\t\t\n\t\t// then add the authors\n\t\tsb.append(\" by \");\n\t\tObject[] authors = this.authors.toArray();\n\t\tfor(Object author : authors) {\n\t\t\tsb.append(author);\n\t\t\tsb.append(\", \");\n\t\t}\n\t\tsb.delete(sb.length() - 2, sb.length());\n\t\t\n\t\t// finally, add the editor (if they exist)\n\t\tif(editor != null) {\n\t\t\tsb.append(\" and edited by \");\n\t\t\tsb.append(editor);\n\t\t}\n\t\n\t\t// and return this string\n\t\treturn sb.toString();\n\t}",
"@Override\n\t\tpublic void print() {\n\n\t\t}",
"@Override\r\n\tpublic void print() {\n\t\tsuper.print();\r\n\t\tSystem.out.println(\"album=\" + album + \", year=\" + year);\r\n\t}",
"public void printDetails()\n {\n System.out.println(title);\n System.out.println(\"by \" + author);\n System.out.println(\"no. of pages: \" + pages);\n \n if(refNumber == \"\"){\n System.out.println(\"reference no.: zzz\");\n }\n else{\n System.out.println(\"reference no.: \" + refNumber);\n }\n \n System.out.println(\"no. of times borrowed: \" + borrowed);\n }",
"public String fomatToPrint() {\n\t\treturn String.format(FORMAT_FOR_PRINT, author, ibn, year);\n\t}",
"@Override\n\tprotected void print() {\n\t\tSystem.out.println(\"-----------\"+this.getName()+\"\");\n\t}",
"@Override\n\tpublic void print() {\n\t\t\n\t}",
"@Override\n public void author_()\n {\n }",
"public void print() {\r\n\t\tSystem.out.print(getUID());\r\n\t\tSystem.out.print(getTITLE());\r\n\t\tSystem.out.print(getNOOFCOPIES());\r\n\t}",
"@Override\n\tpublic void print() {\n\n\t}",
"@Override\r\n\tpublic void print() {\n\t}",
"public String getPrintTitle();",
"@Override\n public String toString() {\n String authorNames=\"\";\n for(Author a:authors){\n authorNames+=\", \"+a.toString();\n }\n return super.toString()\n +\", BookID: \"+bookID\n +\", RackNo: \"+rackNo\n +\", Edition: \"+edition\n +\", Authors: \"+(authors.length>0?authorNames.substring(2):\"\");\n }",
"@Override\n\tpublic void printBook(Book book) {\n\t\t\n\t\tSystem.out.println(book);\n\t\t\n\t}",
"@Override\n\tpublic void print() {\n\t\tSystem.out.println(\"Avaliable Media items are\");\n\t\t\n\t\tSystem.out.println(\"Identification Number number of copies title of item\");\n\n\t\t\t\tfor(int i =0; i<getTitle().length; i++)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(getIdentificatioNumber()[i]+\" \"\n\t\t\t\t\t+getNumberOfCopies()[i]+\" \"+getTitle()[i]);\n\t\t\t\t}\n\t\t\t}",
"public void printTitle()\n {\n System.out.println(title);\n }",
"private static String authorLine()\n {\n return String.format(STR_FORMAT_1 + STR_FORMAT_2, NAME_STR, NAME);\n }",
"@Override\n public void print() {\n }",
"public String toString(){\n return \"Title: \\\"\" + title + \"\\\", author: \" + author + \", (\" + year + \")\";\n }",
"public String toString() {\n return this.title + \"(\" + this.year + \")\\n\\t\" +\n \"Author: \" + this.author + \"\\n\\t\" +\n \"Pg. \" + this.pagesRead + \"/\" + this.pages;\n }",
"@Override\n public void println(String title){\n Print.oun(\"|============\" + title + \"============|\");\n println();\n Print.oun(\"|===========End of the list===========|\");\n }",
"@Override\n\tpublic void print() {\n\t\tSystem.out.print(\"\\nMSc. student:\\n\");\n\t\tsuper.print();\n\t}",
"public void print() {\n\t\tSystem.out.println(name + \" -- \" + rating + \" -- \" + phoneNumber);\n\t}",
"public String printDetails(){\n System.out.println(\"This is the Title of the book:\");\n return title;\n System.out.println(\"This is the Author of the book:\");\n return author;\n System.out.println(\"This is how many pages there are:\");\n return pages;\n System.out.println(\"This is the Ref Number:\");\n return refNumber;\n \n }",
"public abstract String getAuthor();",
"public void printYourself(){\n\t}",
"public void printDetails()\n {\n super.printDetails();\n System.out.println(\"Body type: \" + bodyType + \" Number of doors: \" + noOfDoors + \" Number of seats: \" + noOfSeats);\n System.out.println();\n }",
"@Override\n\tpublic String getDescription() {\n\t\treturn author;\n\t}",
"@Override\r\n public String toString() {\r\n return \"Biography [Author's First Name: \"+this.getAuthorFirstName()+\", Author's Last Name: \"+this.getAuthorLastName()+\", \" +\r\n \"Book Title: \"+this.getBookTitle()+\", Published Year: \"+this.getPublishedYear()+\", Subject: \"+this.getSubject()+\"]\";\r\n }",
"@Override\r\n public String print() {\r\n String attribute = \"Title of resource:\\t\" + getTitle() + \"\\n\" + \"url of resource:\\t\" + url;\r\n System.out.println(attribute);\r\n return attribute;\r\n }",
"public String getAuthor();",
"@Override\n public String toString() {\n return \"REVIEW FOR: \" +\n \"Book Title: '\" + title + '\\'' +\n \" Author: '\" + author + '\\'';\n\n }",
"public void print() {\n System.out.println(\"Person of name \" + name);\n }",
"@Override\n\tpublic String toString() {\n\t\tSystem.out.println(\"_____Fiction Book_____\");\n\t\treturn \"Title :\" + getTitle() + \"\\nPrice :$\" + getPrice() + \"\\n\";\n\t}",
"@Override\n\tpublic void print() {\n System.out.println(\"Leaf [isbn=\"+number+\", title=\"+title+\"]\");\n\t}",
"public void print() {\n System.out.println(\"**List of books in the library.\");\n for (Book b : books){\n if(b != null) {\n System.out.println(b);\n }\n }\n System.out.println(\"**End of list\");\n }",
"public String toString() {\n return getName() + \", \" + getAuthor() + \", \" + getPrice();\n }",
"public static void printTitle( String title )\r\n {\n }",
"@Override\n\tpublic String getAuthor() {\n\t\treturn \"\";\n\t}",
"abstract public void printInfo();",
"public void print() {\n super.print();\r\n System.out.println(\"Hourly Wage: \" + hourlyWage);\r\n System.out.println(\"Hours Per Week: \" + hoursPerWeek);\r\n System.out.println(\"Weeks Per Year: \" + weeksPerYear);\r\n }",
"public void print() {\n System.out.println(\"Code: \"+this.productCode);\n System.out.println(\"Name: \"+ this.productName);\n System.out.println(\"Price: \"+this.price);\n System.out.println(\"Discount: \"+this.discount+\"%\");\n }",
"@VisibleForTesting\n void print();",
"public String getAuthor() { return author_; }",
"public void printDetails()\n {\n System.out.println(\"Name: \" + foreName + \" \"\n + lastName + \"\\nEmail: \" + emailAddress);\n }",
"public String toString(){\r\n return super.toString() + \",\" +\r\n this.getAuthor() + \",\" +\r\n this.getRating();\r\n }",
"@Override\n\tpublic String author() {\n\t\treturn author;\n\t}",
"public String getAuthor()\r\n {\r\n return(\"Judy O'Brien\");\r\n }",
"@Override\n public String toString() {\n return \"Book:\" + \" \" + itemTitle + \" \" + itemPath + \" \" + itemYear + \" \" + itemAuthor;\n }",
"public void printAll() {\r\n\t\t\t\t\r\n\t\tSystem.out.println(\"################\");\r\n\t\tSystem.out.println(\"Filename:\" +getFileName());\r\n\t\tSystem.out.println(\"Creation Date:\" +getCreationDate());\r\n\t\tSystem.out.println(\"Genre:\" +getGenre());\r\n\t\tSystem.out.println(\"Month:\" +getMonth());\r\n\t\tSystem.out.println(\"Plot:\" +getPlot());\r\n\t\tSystem.out.println(\"New Folder Name:\" + getNewFolder());\r\n\t\tSystem.out.println(\"New Thumbnail File Name:\" +getNewThumbnailName());\r\n\t\tSystem.out.println(\"New File Name:\" +getNewFilename());\r\n\t\tSystem.out.println(\"Season:\" +getSeason());\r\n\t\tSystem.out.println(\"Episode:\" +getEpisode());\r\n\t\tSystem.out.println(\"Selected:\" +getSelectEdit());\r\n\t\tSystem.out.println(\"Title:\" +getTitle());\r\n\t\tSystem.out.println(\"Year:\" +getYear());\r\n\t\tSystem.out.println(\"Remarks:\" +getRemarks());\r\n\t\tSystem.out.println(\"################\");\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}",
"public void print () {\n }",
"@Override\n\tpublic void print() {\n\t\tdecoratedPrinter.print();\n\t}",
"public String toString()\n {\n String str = \"The specs of this book are: \";\n str += \"\\n\\t Title: \" + title;\n str += \"\\n\\t Author: \" + author;\n \n return str;\n }",
"@Override\n public String print(Command cmd, CommandResult cr) {\n GetUserDetailsResult result = (GetUserDetailsResult) cr;\n ArrayList<Review> reviews = result.getReviews();\n User user = (User) result.getResult();\n ArrayList<Element> rows = new ArrayList<>();\n Table table;\n if (reviews.isEmpty()) {\n table = new Table(new Tr(\n ));\n } else {\n for (Review r: reviews) {\n rows.add(\n new Tr(\n new Td(new A(r.getSummary(), \"/movies/\"\n + r.getMovie().getMid()\n + \"/reviews/\"\n + r.getId())),\n new Td(new Text(String.valueOf(r.getRating()))),\n new Td(new Text(r.getMovie().getTitle())),\n new Td(new Text(String.valueOf(r.getMovie().getYear())))\n )\n );\n }\n table = new Table(\n new Thead(\n new Tr(\n new Th(\"Summary\"),\n new Th(\"Rating\"),\n new Th(\"Title\"),\n new Th(\"Year\")\n )\n ),\n new Tbody(\n rows\n ));\n }\n\n html = new Html(\n new Head(\n new Title(\"User Details\")\n ),\n new Body(\n new A(\"Return home\", \"/\"),\n new Br(),\n new Br(),\n new A(\"Return all users\", \"/users/\"),\n new Ul(\n new Li(new Text(user.getName())),\n new Li(new Text(user.getEmail()))\n ),\n table\n )\n );\n\n return html.print();\n }",
"default String getAuthor() {\r\n\t\treturn \"unknown\";\r\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn \"Book[ID: \" + this.id +\", Title: \" + this.title + \n\t\t\t\t\", Author: \" + this.author + \"]\";\n\t}",
"public void print(String title)\n\t{\n\t\tthis.printElements(title);\n\t\tthis.printVector(title);\n\t}",
"@Override\n\tpublic void print() {\n\t\tsuper.print();\n\t\tSystem.out.println(subjects);\n\t}",
"public void printLiterature() {\n //print all books in articles\n if (books.size() != 0) {\n System.out.println(\"Books: \");\n for (Book b : books) {\n System.out.print(\"\\nName: \" + b.getName() + \", Author: \" + b.getAuthor()\n + \", Publishing House: \" + b.getPublishingHouse() + \", Publishing Year: \"\n + b.getPublishingYear());\n }\n } else {\n System.out.println(\"0 books in articles!\");\n }\n\n //print all journals in articles\n if (journals.size() != 0) {\n System.out.println(\"\\n\\nJournals: \");\n for (Journal j : journals) {\n System.out.print(\"\\nName: \" + j.getName() + \", Subjects: \" + j.getSubjects()\n + \", Publishing date: \" + j.getPublishingDate());\n }\n } else {\n System.out.println(\"0 journals in articles!\");\n }\n\n //print all yearbooks in articles\n if (yearbooks.size() != 0) {\n System.out.println(\"\\n\\nYearbooks: \");\n for (Yearbook y : yearbooks) {\n System.out.print(\"\\nName: \" + y.getName() + \", Subjects: \" + y.getSubjects()\n + \", Publishing House: \" + y.getPublishingHouse() + \", Publishing Year: \"\n + y.getPublishingYear());\n }\n } else {\n System.out.println(\"0 yearbooks in articles!\");\n }\n }",
"public String toString() {\n return authorName + \" - \" + timestamp + \": \" + text;\n }",
"public void printMovieInfo() {\n println(\"Title : \" + this.movie.getTitle());\n println(\"Showing Status: \" + this.movie.getShowingStatus().toString());\n println(\"Content Rating: \" + this.movie.getContentRating().toString());\n println(\"Runtime : \" + this.movie.getRuntime() + \" minutes\");\n println(\"Director : \" + this.movie.getDirector());\n print(\"Cast : \");\n StringBuilder s = new StringBuilder();\n for (String r : movie.getCasts()) {\n s.append(r + \"; \");\n }\n println(s.toString());\n println(\"Language : \" + this.movie.getLanguage());\n println(\"Opening : \" + this.movie.getFormattedDate());\n\n print(\"Synopsis : \");\n println(this.movie.getSynopsis(), 16);\n\n if(movie.getRatingTimes() != 0 ){\n print(\"Overall Rating :\");\n printStars(movie.getOverAllRating());\n } else {\n println(\"Overall Rating: N/A\");\n }\n if (movie.getRatingTimes() != 0){\n for (Review r : movie.getReview()) {\n print(\"Review : \");\n println(r.getComment(), 16);\n print(\"Rating : \");\n printStars(r.getRating());\n }\n }\n }",
"@Override\n public void print() {\n System.out.println(\"Hello World Old Style!!\");\n }",
"void printBook()\r\n\t{\r\n\t\tfor(int i = 0; i < this.size(); i++)\r\n\t\t{\r\n\t\t\tthis.get(i).printContact();\r\n\t\t}\r\n\t}",
"@Override\n public void print() {\n System.out.println(\"VIn:- \"+getVehicalIndentificationNumber());\n System.out.println(\"Description:- \"+getVechicalDiscription());\n System.out.println(\"Manufacturer:- \"+getManufacturerName());\n System.out.println(\"isSelfDrive:- \"+getSelfDrive());\n System.out.println(\"isInsured:- \"+getInsured());\n System.out.println(\"insuranceProviderName:- \"+getInsuranceProviderName());\n System.out.println(\"NumberOfSeat:- \"+getNoOfSeat());\n System.out.println(\"FuelType:- \"+getFuelType());\n System.out.println(\"BaseRate:- \"+getBaseRate());\n System.out.println(\"RatePerKm:- \"+getRatePerKm());\n System.out.println(\"VehicleType:- \"+getVehicleType());\n System.out.println(\"Color:- \"+getColor());\n }",
"@Override\n public String toString(){\n return title + \"\\n\" + date;\n }",
"@Override\r\n\tpublic String getAuthor() {\n\t\treturn super.getAuthor();\r\n\t}",
"public void print()\n {\n System.out.println();\n System.out.println(\"Ticket to \" + destination +\n \" Price : \" + price + \" pence \" + \n \" Issued \" + issueDateTime);\n System.out.println();\n }",
"private void displayByAuthor() {\n\t\tString authorHolder; // declares authorHolder\n\t\t\n\t\tSystem.out.println(\"Please enter author of the book you would like displayed:\");\n\t\tauthorHolder = scan.next();\n\t\tscan.nextLine();\n\t\tSystem.out.println(inventoryObject.displayByAuthor(authorHolder));\n\t\tgetUserInfo();\n\t}",
"String getAuthor();",
"String getAuthor();",
"void printEmployeeDetail(){\n\t\tSystem.out.println(\"First name: \" + firstName);\n\t\tSystem.out.println(\"Last name: \" + lastName);\n\t\tSystem.out.println(\"Age: \" + age);\n\t\tSystem.out.println(\"Salary: \" + salary);\n\t\tSystem.out.println(firstName + \" has \" + car.color + \" \" + car.model + \" it's VIN is \" + car.VIN + \" and it is make year is \" + car.year );\n\t\t\n\t}",
"public void printInfo(){\n\t}",
"public void printInfo(){\n\t}",
"public String getAuthor() {\n\t\treturn \"Prasoon, Vikas, Shantanu\";\n\t}",
"public void print()\n {\n System.out.println(\"Course: \" + title + \" \" + codeNumber);\n \n module1.print();\n module2.print();\n module3.print();\n module4.print();\n \n System.out.println(\"Final mark: \" + finalMark + \".\");\n }",
"private static void printHeading(){\n\t\tSystem.out.println(\"Your Name\");\n\t\tSystem.out.println(\"Course name and semester\");\n\t\tSystem.out.println(\"Programming Project 1\");\n\t\tSystem.out.println(\"Your Name in Code\");\n\t\tSystem.out.println();\n\n\t}",
"public void print()\r\n\t{\r\n\t\tSystem.out.println(\"Method name: \" + name);\r\n\t\tSystem.out.println(\"Return type: \" + returnType);\r\n\t\tSystem.out.println(\"Modifiers: \" + modifiers);\r\n\r\n\t\tif(exceptions != null)\r\n\t\t{\r\n\t\t\tSystem.out.print(\"Exceptions: \" + exceptions[0]);\r\n\t\t\tfor(int i = 1; i < exceptions.length; i++)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\", \" + exceptions[i]);\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Exceptions: none\");\r\n\t\t}\r\n\r\n\t\tif(parameters != null)\r\n\t\t{\r\n\t\t\tSystem.out.print(\"Parameters: \" + parameters[0]);\r\n\t\t\tfor(int i = 1; i < parameters.length; i++)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.print(\", \" + parameters[i]);\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Parameters: none\");\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t}",
"@Override\n public void information() {\n System.out.println(\"\");\n System.out.println(\"Dog :\");\n System.out.println(\"Age : \" + getAge());\n System.out.println(\"Name : \" + getName());\n System.out.println(\"\");\n }",
"abstract void print();",
"public void print(){\r\n\t\tint ListLength = this.promo.size();\r\n\t\tSystem.out.println(\"Type: \"+this.Type);\r\n\t\tSystem.out.println(\"Name: \"+this.name);\r\n\t\tSystem.out.println(\"Description: \"+this.description);\r\n\t\tSystem.out.printf(\"$%.2f\\n\", this.price);\r\n\t\tSystem.out.println(\"Featured dishes:\");\r\n\t\tfor (int i =0; i<ListLength; i++){\r\n\t\t\tSystem.out.print(\"\\t\"+(i+1) + \". \");\r\n\t\t\tSystem.out.println(this.promo.get(i).getName()); //print name of ala-carte item in promo array\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"@Override\n\t\tpublic String toString()\n\t\t{\n\t\t\treturn String.format(\"#%1$d *%2$s* (%3$s@doc): %4$s\\n%5$s\",\n\t\t\t id, poster_name, poster_uid, title,\n\t\t\t mlong.replaceAll(\"</?(br|BR)( ?/)?>\", \"\").replaceAll(\"</?(p|P) ( ?/)?>\", \"\\n\")\n\t\t\t);\n\t\t}",
"@Override\n\tpublic void printInfo() {\n\t\tsuper.printInfo();\n\t\tmessage();\n\t\tdoInternet();\n\t\tmailing();\n\t\tcalling();\n\t\twatchingTV();\n\n\t}",
"@Override\r\n\tprotected void generateToc() {\r\n\t}",
"@Override\n public void title()\n {\n }",
"@Override\n public String toString() {\n if (!this.by.equals(\"\")) {\n return \"[D]\" + getDescription() + \" (by: \" + this.by + \")\";\n } else {\n String dateToPrint = this.todoDate.format(DateTimeFormatter.ofPattern(\"MMM d yyyy\"));\n return \"[D]\" + getDescription() + \" (by: \" + dateToPrint + \")\";\n }\n }",
"@Override\n\tpublic String toString() {\n\t\treturn \"Title of Game: \" + super.getTitleOfGame()\n\t\t\t\t+ \"\\nPublisher: \" + super.getPublisher()\n\t\t\t\t+ \"\\nDeveloper: \" + super.getDeveloper()\n\t\t\t\t+ \"\\nDirector: \" + super.getDirector()\n\t\t\t\t+ \"\\nProducer: \" + super.getProducer()\n\t\t\t\t+ \"\\nComposer: \" + super.getComposer();\t\n\t}",
"public void displayAll() {\n\t\tSystem.out.println(\"Title \"+this.getTitle());\n\t\tSystem.out.println(\"Artist \"+this.getArtist());\n\t\tSystem.out.println(\"Genre \"+this.genre);\n\t}",
"@Override\n \tpublic String toString() {\n \t\treturn title;\n \t}",
"public String getAuthor(){return author;}",
"@Override\r\n\tpublic void getTitle() {\n\t\t\r\n\t}",
"@FormatMethod\n void print(String format, Object... args);"
] |
[
"0.75523025",
"0.7363412",
"0.718165",
"0.71222067",
"0.6956036",
"0.69020456",
"0.67580634",
"0.6674863",
"0.66688037",
"0.66013116",
"0.6587716",
"0.65822095",
"0.6563947",
"0.65495205",
"0.6544851",
"0.6520266",
"0.6518818",
"0.65175",
"0.6517349",
"0.65105927",
"0.6501481",
"0.6488452",
"0.6483792",
"0.64527494",
"0.6432083",
"0.64236087",
"0.6414266",
"0.6395574",
"0.63840705",
"0.63718647",
"0.63485056",
"0.63383305",
"0.6336505",
"0.6318971",
"0.62984926",
"0.62939245",
"0.62857884",
"0.6280969",
"0.62479764",
"0.62410855",
"0.6236594",
"0.6236146",
"0.6226184",
"0.622288",
"0.6217585",
"0.6210403",
"0.61887944",
"0.6167323",
"0.61437935",
"0.6142859",
"0.6134727",
"0.61335605",
"0.6125056",
"0.6122675",
"0.6120955",
"0.61166704",
"0.6114355",
"0.61126745",
"0.6104283",
"0.6095026",
"0.60885537",
"0.60864913",
"0.60829985",
"0.6081886",
"0.60754657",
"0.6073982",
"0.6064682",
"0.6047808",
"0.60428995",
"0.60409474",
"0.6024045",
"0.602042",
"0.6011951",
"0.60000366",
"0.59960514",
"0.5993621",
"0.5986309",
"0.5984278",
"0.5984278",
"0.59793663",
"0.59761125",
"0.59761125",
"0.59746724",
"0.5974531",
"0.5971946",
"0.5966495",
"0.5949403",
"0.59482425",
"0.59475374",
"0.5941075",
"0.5938507",
"0.5930472",
"0.5928237",
"0.5927638",
"0.5927597",
"0.59267783",
"0.5926165",
"0.5922598",
"0.59214324",
"0.5920928"
] |
0.7060703
|
4
|
We add a method for the number of pages.
|
public int getPages(){
return pages;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n public int numberOfPages() {\n // TODO Auto-generated method stub\n throw new UnsupportedOperationException(\"Unsupported operation\");\n }",
"int getPagesAmount();",
"public int getPageCount() { return _pages.size(); }",
"public Integer getPageCount();",
"int getPagesize();",
"public int getPages()\n {\n return pages;\n }",
"public int getPages() {\n return pages;\n }",
"public int numPages() {\n return numPages;\n }",
"public int getPages() {\n return pages;\n }",
"public int getPages() {\n return pages;\n }",
"public int getNumPages()\n {\n return numPages;\n }",
"int getNumPages();",
"int getPageNumber();",
"public int getTotalPages() {\r\n return totalPages;\r\n }",
"@Override\r\n\tpublic int nombrePage() {\n\t\treturn 0;\r\n\t}",
"public Integer getPerPage();",
"@Override\n public int getCount() {\n int TOTAL_PAGES = totalPages;\n return TOTAL_PAGES;\n }",
"default Integer getPageSize() {\n return 10;\n }",
"int getPageSize();",
"int getPageSize();",
"int getPageSize();",
"int getPageSize();",
"public int getTotalPages()\r\n {\r\n return pageNames.size()-1;\r\n }",
"long getAmountPage();",
"public int numPages() {\n // some code goes here\n return (int)Math.ceil(f.length()/BufferPool.PAGE_SIZE);\n \n }",
"@Override\n public void onPageChanged(int page, int pageCount) {\n }",
"@Override\n public int getCount() {\n return PAGE_COUNT;\n }",
"public int getPageCount()\n {\n return _pages.size();\n }",
"int getPage();",
"@Override\n public int getNumOfPageRows() {\n return 10;\n }",
"public int numPages() {\n \t//numOfPages = (int)(this.fileName.length()/BufferPool.PAGE_SIZE);\n return numOfPages;\n }",
"@Override\r\n\tpublic int getPaging() {\n\t\treturn 0;\r\n\t}",
"public Iterator<Integer> getPageCountIterator();",
"@Override\n public int getCount() {\n return PAGE_COUNT;\n }",
"public int numPages() {\n // some code goes here\n return (int) Math.ceil(m_f.length() / BufferPool.PAGE_SIZE);\n }",
"private void updateTotalPageNumbers() {\n totalPageNumbers = rows.size() / NUM_ROWS_PER_PAGE;\n }",
"public Integer getPageItemCount() {\n return pageItemCount;\n }",
"long getPageSize();",
"long getPageSize();",
"long getPageSize();",
"public int getRowsPerPage();",
"public int getPageNo() {\n return pageNo;\n }",
"@Override\r\n\t\tpublic int getCount() {\n\t\t\treturn mPagers.size();\r\n\t\t}",
"public Integer getCurrentPageSize();",
"public int getPageIncrement() {\n \tcheckWidget();\n \treturn pageIncrement;\n }",
"@Override\n\tpublic Integer getTotalPages(ConditionInfo cf) {\n\t\treturn rd.getTotalPages(cf);\n\t}",
"boolean hasPagesize();",
"public int getPagesize() {\n return pagesize_;\n }",
"@Override\r\n\tpublic List<AdminCustomChartCommand> pageViewCustomCount() {\n\t\treturn adminCustomChartMapper.pageViewCustomCount();\r\n\t}",
"@Override\n\t\tpublic int getCount() {\n\t\t\treturn thisPageList.size();\n\t\t}",
"@Override\n\t\tpublic int getCount() {\n\t\t\t// Show 3 total pages.\n\t\t\treturn 3;\n\t\t}",
"public int numPages() {\n // some code goes here\n //System.out.println(\"File length :\" + f.length());\n\n return (int) Math.ceil(f.length() * 1.0 / BufferPool.PAGE_SIZE * 1.0);\n }",
"@Override\n\t\tpublic int getPageSize() {\n\t\t\treturn 0;\n\t\t}",
"@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }",
"@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }",
"@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }",
"public int getGatheredPages() {\r\n return gatheredPages;\r\n }",
"@Override\r\n\tpublic int getCount(PageBean bean) {\n\t\treturn session.selectOne(\"enter.getCount\", bean);\r\n\t}",
"Integer getPage();",
"private int pagesLeft() {\n return this.pages - this.pagesRead;\n }",
"public int getPageSize() {\n return pageSize;\n }",
"public int getPageSize() {\n return pageSize;\n }",
"public int getPageSize() {\n return pageSize;\n }",
"public int getPagesize() {\n return pagesize_;\n }",
"public void setPage(int value) {\n this.page = value;\n }",
"public int getTotalPages() {\r\n\t\treturn page.getTotalPages();\r\n\t}",
"protected int getTotalPages(FacesContext context) {\n String forValue = (String) getAttributes().get(\"for\");\n UIData uiData = (UIData) getForm(context).findComponent(forValue);\n if (uiData == null) {\n return 0;\n }\n int rowsPerPage = uiData.getRows(); \n int totalRows = uiData.getRowCount();\n int result = totalRows / rowsPerPage;\n if (0 != (totalRows % rowsPerPage)) {\n result++;\n }\n return result;\n }",
"public interface HasPages {\n\n void setPageNumberChangedHandler(@Nonnull HasPagination.PageNumberChangedHandler pageNumberChangedHandler);\n\n int getPageNumber();\n\n void setPageNumber(int pageNumber);\n\n void setPageCount(int pageCount);\n\n void setElementCount(long elementCount);\n}",
"@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }",
"@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }",
"@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }",
"public int getpageCount(int pageSize) {\n\t\treturn 0;\n\t}",
"public static int getPageHits() {\r\n return _count;\r\n }",
"public Integer getTotalPageCount() {\n return totalPageCount;\n }",
"public void setPages(int pages) {\n this.pages = pages;\n }",
"public int getNumberOfPages(HttpServletRequest request,\n SubmissionInfo subInfo) throws ServletException\n {\n // always just one page of initial questions\n return 1;\n }",
"Optional<Integer> getPageCount();",
"Pages getPages();",
"public int getPageCount() {\n return mPdfRenderer.getPageCount();\n }",
"public abstract void onLoadMore(int page, int totalItemsCount);",
"public abstract void onLoadMore(int page, int totalItemsCount);",
"public static int getTotalPage() {\n List<WebElement> PAGINATION = findElements(pagination);\n int size = PAGINATION.size() - 1;\n //Get the number of the second-last item which next to the \">\" icon\n WebElement lastPage = findElement(By.xpath(String.format(last_page, size)));\n return Integer.parseInt(lastPage.getText());\n }",
"@Schema(example = \"10\", description = \"Amount of pages available in the file. Used only for multipage documents.\")\n public Integer getPageCount() {\n return pageCount;\n }",
"int countByExample(PageFuncExample example);",
"public void setPages(int pages) {\n this.pages = pages;\n }",
"public String getTotalPage() {\r\n return totalPage;\r\n }",
"public int getPage() {\n return page;\n }",
"public int getPage() {\n return page;\n }",
"public int getPage() {\n return page;\n }",
"public int getPage() {\n return page;\n }",
"public int getPageNumber() {\r\n\t\t\t\treturn currentPage;\r\n\t\t\t}",
"boolean hasPageNo();",
"boolean hasPageNo();",
"public int getPageSize() {\r\n\t\t\t\treturn pageCount;\r\n\t\t\t}",
"@Override\n public void onPageSelected(int arg0) {\n currentPosition = arg0;\n tv_count.setText((arg0 + 1) + \"/\" + imageBigs.size());\n\n }",
"@Override\n\tpublic int getTotalPage(Integer pageSize, EmpTypeVo vo) {\n\t\treturn 0;\n\t}",
"public void setPageItemCount(Integer pageItemCount) {\n this.pageItemCount = pageItemCount;\n }",
"public int getNumResultsPerPage() {\n return numResultsPerPage;\n }",
"public int pageCount()\n {\n return (int)Math.ceil((double)getTaskVector().size() /\n (double)getRecordsPerPage());\n }",
"public interface CountingPrintable extends Printable {\n /**\n * Returns the number of pages in this printable.\n * <p>\n * This number is defined only after {@code print} returns NO_SUCH_PAGE.\n *\n * @return the number of pages.\n */\n int getNumberOfPages();\n}"
] |
[
"0.7951517",
"0.7936263",
"0.75981647",
"0.74188435",
"0.7387987",
"0.7311176",
"0.72853816",
"0.7218366",
"0.7187743",
"0.7187743",
"0.71742606",
"0.7074687",
"0.7032156",
"0.700225",
"0.6997022",
"0.69829327",
"0.69610053",
"0.6941431",
"0.6926586",
"0.6926586",
"0.6926586",
"0.6926586",
"0.6916402",
"0.68906695",
"0.68464196",
"0.68170726",
"0.68126166",
"0.679266",
"0.6767087",
"0.6731423",
"0.67201996",
"0.6684297",
"0.667358",
"0.6639763",
"0.66392595",
"0.6638991",
"0.6632694",
"0.66282445",
"0.66282445",
"0.66282445",
"0.6584236",
"0.65720725",
"0.6562704",
"0.6530899",
"0.64904046",
"0.6476886",
"0.6474257",
"0.64576185",
"0.64483",
"0.64319426",
"0.6407368",
"0.6406154",
"0.6401213",
"0.6385265",
"0.6385265",
"0.6385265",
"0.63849115",
"0.6384216",
"0.63692755",
"0.6368109",
"0.63604575",
"0.63604575",
"0.63604575",
"0.6352561",
"0.63237244",
"0.6304811",
"0.6297685",
"0.62823325",
"0.62665707",
"0.62665707",
"0.62665707",
"0.62557054",
"0.6252772",
"0.62418795",
"0.62412024",
"0.62382793",
"0.6233691",
"0.6233564",
"0.6214914",
"0.62074256",
"0.62074256",
"0.62053007",
"0.61923593",
"0.6178747",
"0.6165821",
"0.61602867",
"0.614741",
"0.614741",
"0.614741",
"0.614741",
"0.6136359",
"0.6133959",
"0.6133959",
"0.61329657",
"0.6126175",
"0.6124196",
"0.6122371",
"0.61069643",
"0.6104462",
"0.6091783"
] |
0.7333695
|
5
|
This is the method for getting the details of the book.
|
public String printDetails(){
System.out.println("This is the Title of the book:");
return title;
System.out.println("This is the Author of the book:");
return author;
System.out.println("This is how many pages there are:");
return pages;
System.out.println("This is the Ref Number:");
return refNumber;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void getBookDetails() {\n\t}",
"public void retrieveDetailedBookInfo(){\n //Check for internet connection\n if(!NetworkJSONUtils.checkInternetConnection(this)) {\n ErrorUtils.errorDialog(BookDetailsActivity.this, \"Network Error\", \"It seems you don't have any network connection. Reset your connection and try again.\");\n return;\n }\n\n //Build Uri that fetches book data\n Uri.Builder builder = new Uri.Builder();\n builder.scheme(SCHEME)\n .authority(BASE_URL)\n .appendPath(PATH0)\n .appendPath(PATH1)\n .appendPath(PATH2)\n .appendQueryParameter(PARAM_ACTION, VALUE_ACTION_RETRIEVE_DETAILED_DATA)\n .appendQueryParameter(PARAM_GID, VALUE_GID)\n .build();\n String urlString = builder.toString();\n\n //Download and parse JSON\n downloadJSON(urlString);\n }",
"public Book getBook() {\n return book;\n }",
"public String getBook() {\n\t\treturn book;\r\n\t}",
"public JSONObject book_details(int book_id) throws JSONException {\n startSession();\n\n Query query = session.createQuery(\"from Book where id = :i\");\n query.setParameter(\"i\", book_id);\n\n Book book = (Book) query.uniqueResult();\n User owner = (User) book.getOwner();\n JSONObject book_info = new JSONObject(book.getBook_info());\n JSONObject response = new JSONObject();\n\n response.put(\"success\",\"true\");\n response.put(\"book\", book.getName());\n response.put(\"author\", book.getAuthor());\n response.put(\"rent\", book.getRent());\n response.put(\"deposit\", book.getDeposit());\n response.put(\"genre\", book.getGenre());\n response.put(\"times_rented\", book.getTimes_rented());\n response.put(\"available\",book.isAvailable());\n\n response.put(\"print\", book_info.getString(\"print\"));\n response.put(\"condition\", book_info.getString(\"condition\"));\n response.put(\"year_bought\", book_info.getString(\"year_bought\"));\n response.put(\"review\", book_info.getString(\"review\"));\n\n response.put(\"owner_id\", owner.getId());\n response.put(\"owner_name\", owner.getFull_name());\n response.put(\"owner_location\", owner.getLocation());\n response.put(\"owner_contact\", owner.getContact_no());\n\n endSession();\n return response;\n }",
"@Override\r\n\tpublic Book getBookInfo(int book_id) {\n\t\treturn null;\r\n\t}",
"public PageInfo<Book> getBookList() {\n \tPageHelper.startPage(1,2);\r\n List<Book> list = bookMapper.getBookList();\r\n PageInfo<Book> pageInfo=new PageInfo<Book>(list);\r\n\t\treturn pageInfo;\r\n \r\n }",
"public Book(String bookAuthor, String bookTitle, int bookPages, String getDetails)\n {\n author = bookAuthor;\n title = bookTitle;\n pages = bookPages;\n details = author,title,pages;\n Number = \"\";\n }",
"public Book getBook() {\n\t\treturn book; //changed BoOk to book\r\n\t}",
"public Book getBook() {\r\n\t\treturn b;\r\n\t}",
"@Override\r\n\tpublic Book getBook(long bookId) {\n\t\treturn bd.getOne(bookId);\r\n\t}",
"public Book getBook() \t\t{ return this.myBook; }",
"private void loadBookInformation(String rawPage, Document doc, Book book) {\n BookDetailParser parser = new BookDetailParser();\n SwBook swBook = parser.parseDetailPage(rawPage);\n book.setContributors(swBook.getContributors());\n book.setCover_url(coverUrlParser.parse(doc));\n book.setShort_description(descriptionShortParser.parse(doc));\n book.addPrice(swBook.getPrice().getPrices().get(0));\n book.setTitle(titleParser.parse(doc));\n }",
"private String getDetail(final String dbBookId) {\n\t\tDB db = connectionManager.getConnection();\n\t\tDBCollection coll = db.getCollection(TableName.BOOKS);\n\t\tDBObject obj = coll.findOne(QueryCriteria.getById(dbBookId));\n\t\t\n\t\tif (obj != null) {\n\t\t\tobj.put(\"href\", Server.getBaseUrl() +\"/books/\" + dbBookId);\n\t\t\treplaceCollectionUuidsWObjRefs(obj);\n\t\t}\n\n\t\treturn obj != null ? obj.toString() : \"{'notFound':'\" + dbBookId + \"'}\";\n\t}",
"public String getBookId() {\n return bookId;\n }",
"public String getBookId() {\n return bookId;\n }",
"public String getBookId() {\r\n return bookId;\r\n }",
"public String getBookName()\r\n {\r\n\treturn bookName;\r\n }",
"@RequestMapping(value=\"/getbook\", method=RequestMethod.GET, produces = \"application/json\")\n\tpublic Book getBook() {\n\t\treturn new Book(\"1\", \"Marvel Comics\", \"Stanlee\", 200D, \"Awesome book\");\n\t}",
"@Override\n public String toString() {\n return \"Book:\" + \" \" + itemTitle + \" \" + itemPath + \" \" + itemYear + \" \" + itemAuthor;\n }",
"public String getBookTitle() {\n return bookTitle;\n }",
"Book getBookById(Integer id);",
"public String getBookAuthor() {\n return bookAuthor;\n }",
"Book getBookByTitle(String title);",
"public String getBookname() {\n return bookname;\n }",
"@Override\n public String toString() {\n final StringBuilder sb = new StringBuilder(\"Book{\");\n sb.append(\"id=\").append(id);\n sb.append(\", name='\").append(name).append('\\'');\n sb.append('}');\n return sb.toString();\n }",
"public int getBook_id() {\n\treturn book_id;\n}",
"@Override\n\tpublic String toString() {\n\t\treturn \"Book[ID: \" + this.id +\", Title: \" + this.title + \n\t\t\t\t\", Author: \" + this.author + \"]\";\n\t}",
"public String getBookId() {\n\t\treturn bookId;\n\t}",
"public String getBookTitle(){\n return bookTitle.getText();\r\n }",
"@RequestMapping(value=\"/book/{isbn}\",method=RequestMethod.GET)\n\tpublic @ResponseBody ResponseEntity<Books> getOneBookDetails(@PathVariable Long isbn)throws Exception{\n\t\tBooks book=null;\n\t\t\n\t\t\tbook=booksDAO.findOne(isbn);\n\t\t\tif(book!=null)\n\t\t\t\treturn new ResponseEntity<Books>(book, HttpStatus.OK);\n\t\t\telse {\n\t\t\t\treturn new ResponseEntity<Books>(HttpStatus.NOT_FOUND);\n\t\t\t}\n\t}",
"public String toString() {\r\n return books.toString();\r\n }",
"@Override\n public String toString() {\n return \"Books{\" +\n \"bookTitle='\" + bookTitle + '\\'' +\n \", bookAuthor='\" + bookAuthor + '\\'' +\n \", bookPrice=\" + bookPrice +\n \", quantity=\" + quantity +\n '}';\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getBookDesc();",
"Book getLatestBook();",
"public int getBookID() {\n return bookID;\n }",
"public String getTitle()\n {\n return bookTitle;\n }",
"public Book readBookFile()\n {\n\n String name=\"\";\n String author ;\n ArrayList<String> genre = new ArrayList<String>();\n float price=0;\n String bookId;\n String fields2[];\n String line;\n\n line = bookFile.getNextLine();\n if(line==null)\n {\n return null;\n }\n String fields[] = line.split(\" by \");\n if(fields.length>2)\n {\n int i=0;\n while (i<fields.length-1)\n {\n name+=fields[i];\n if(i<fields.length-2)\n {\n name+= \" by \";\n }\n i++;\n }\n fields2 = fields[fields.length-1].split(\"%\");\n }\n else\n {\n name = fields[0];\n fields2 = fields[1].split(\"%\");\n }\n\n author = fields2[0];\n price=Float.parseFloat(fields2[1]);\n bookId=fields2[2];\n genre.add(fields2[3]);\n genre.add(fields2[4]);\n return new Book(name,genre,author,price,bookId);\n\n\n }",
"List<Info> getBookInfoById(Long infoId) throws Exception;",
"private BookDetailResponse convertBookDetail(Book book) {\n BookDetailResponse response = new BookDetailResponse();\n BeanUtils.copyProperties(book, response);\n BookCategory thirdCategory = book.getCategory();\n if (thirdCategory != null) {\n response.setThirdCategoryId(thirdCategory.getId());\n BookCategory secondCategory = thirdCategory.getParent();\n if (secondCategory != null) {\n response.setSecondCategoryId(secondCategory.getId());\n BookCategory firstCategory = secondCategory.getParent();\n if (firstCategory != null) {\n response.setFirstCategoryId(firstCategory.getId());\n }\n }\n }\n if (StringUtils.isBlank(book.getFileName()) && book.getSource() != null) {\n response.setFileName(FilenameUtils.getName(book.getSource()));\n }\n return response;\n }",
"public Book read(int bookId){\n System.out.println(\"looking for Book with id \" + bookId);\n Book b = new Book();\n \n try (DBIterator keyIterator = dbmanager.getDB().iterator()) {\n keyIterator.seekToFirst();\n\n while (keyIterator.hasNext()) {\n String key = asString(keyIterator.peekNext().getKey());\n String[] splittedString = key.split(\"-\");\n\n if(!\"book\".equals(splittedString[0])){\n keyIterator.next();\n continue;\n }\n\n String resultAttribute = asString(dbmanager.getDB().get(bytes(key)));\n JSONObject jbook = new JSONObject(resultAttribute);\n\n if(jbook.getInt(\"idBOOK\") == bookId){\n b = new Book(jbook);\n break;\n }\n keyIterator.next(); \n }\n }\n catch(Exception ex){\n ex.printStackTrace();\n } \n return b;\n }",
"public void getBookInfo(CheckOutForm myForm) {\n\t\tString isbn=myForm.getFrmIsbn();\r\n\t\tViewDetailBook myViewDetailBook=myViewDetailBookDao.getBookInfoByIsbn(isbn);\r\n\t\tmyForm.setFrmViewDetailBook(myViewDetailBook);\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic Book getModel() {\n\t\treturn book;\r\n\t}",
"public JSONObject getBookJSONObject(String bookTitle) throws BadRequestException {\n\n String apiUrlString = \"https://www.googleapis.com/books/v1/volumes?q=intitle:\" + bookTitle + \"&filter:free-ebooks&printType:books\";\n try{\n HttpURLConnection connection = null;\n // Build Connection.\n try{\n URL url = new URL(apiUrlString);\n connection = (HttpURLConnection) url.openConnection();\n connection.setRequestMethod(\"GET\");\n connection.setReadTimeout(5000); // 5 seconds\n connection.setConnectTimeout(5000); // 5 seconds\n } catch (MalformedURLException e) {\n // Impossible: The only two URLs used in the app are taken from string resources.\n e.printStackTrace();\n } catch (ProtocolException e) {\n // Impossible: \"GET\" is a perfectly valid request method.\n e.printStackTrace();\n }\n int responseCode = connection.getResponseCode();\n if(responseCode != 200){\n connection.disconnect();\n throw new BadRequestException(\"GoogleBooksAPI request failed. Response Code: \" + responseCode);\n\n }\n\n // Read data from response.\n StringBuilder builder = new StringBuilder();\n BufferedReader responseReader = new BufferedReader(new InputStreamReader(connection.getInputStream()));\n String line = responseReader.readLine();\n while (line != null){\n builder.append(line);\n line = responseReader.readLine();\n System.out.println(line);\n }\n String responseString = builder.toString();\n JSONObject responseJson = new JSONObject(responseString);\n // Close connection and return response code.\n connection.disconnect();\n return responseJson;\n } catch (SocketTimeoutException e) {\n return null;\n } catch(IOException e){\n e.printStackTrace();\n return null;\n } catch (JSONException e) {\n e.printStackTrace();\n return null;\n }\n }",
"@Override\n public String toString() {\n return bookName + \"-\" + authorName;\n }",
"public Integer getBookId() {\n return bookId;\n }",
"public Integer getBookId() {\n return bookId;\n }",
"public Integer getBookId() {\n return bookId;\n }",
"public List<Book> getAllBooks()\n {\n List<Book> books = new LinkedList<Book>();\n\n //1. Query para la consulta\n String query = \"Select * FROM \"+ BookReaderContract.FeedBook.TABLE_NAME;\n\n //2. Obtener la referencia a la DB\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor cursor = db.rawQuery(query, null);\n\n //3. Recorrer el resultado y crear un objeto Book\n Book book = null;\n if(cursor.moveToFirst()){\n do{\n book = new Book();\n book.setId(Integer.parseInt(cursor.getString(0)));\n book.setTitle(cursor.getString(1));\n book.setAuthor(cursor.getString(2));\n books.add(book);\n }while(cursor.moveToNext());\n }\n Log.d(\"getAllBooks\",books.toString());\n return books;\n }",
"public void getAllBook(){\n Call<Book> call = api.testBooks();\n call.enqueue(\n new Callback<Book>() {\n @Override\n public void onResponse(Call<Book> call, Response<Book> response) {\n Log.e(\"Test API\", \"on Response \"+response.body());\n Book book = response.body();\n Log.e(\"Test API\", \"on Response \"+book.getAuthor());\n Log.e(\"Test API\", \"on Response \"+book.getTitle());\n Log.e(\"Test API\", \"on Response \"+book.getLanguage());\n Log.e(\"Test API\", \"on Response \"+book.getDescription());\n view.onGetSuccess(book);\n }\n\n @Override\n public void onFailure(Call<Book> call, Throwable t) {\n Log.i(\"Test API\", \"on Failure \"+t.getLocalizedMessage());\n }\n }\n );\n }",
"@Override\n\tpublic Book getBook() {\n\t\t\n\t\tint isbn;\n\t\tString name;\n\t\tString publication;\n\t\tdouble price;\n\t\t\n\t\tScanner s1= new Scanner(System.in);\n\t\tSystem.out.println(\"enter ISBN: \");\n\t\tisbn=s1.nextInt();\n\t\tSystem.out.println(\"enter Name of the book: \");\n\t\tname=s1.next();\n\t\tSystem.out.println(\"enter Publication \");\n\t\tpublication=s1.next();\n\t\tSystem.out.println(\"enter price: \");\n\t\tprice=s1.nextDouble();\n\t\t\n\t\tBook b1=new Book(isbn, name, publication, price);\n\t\treturn b1;\n\t}",
"public Book getBook(int index)\r\n\t{\r\n\t\tBook book = null;\r\n\t\ttry {\r\n\t\t\tbook = items.get(index);\r\n\t\t} catch(IndexOutOfBoundsException e) {\r\n\t\t}\r\n\t\treturn book;\r\n\t}",
"public List<Book> getBooks() {\n return books;\n }",
"void viewBooks();",
"public void displayBook()\n\t{\n\t\tb.display();\n\t\tSystem.out.println(\"Available Books=\"+availableBooks+\"\\n\");\n\t}",
"public Books getBooks(String title,String authors,String isbn,String publisher);",
"private void displayBookInfo(){\n //Set text of TextViews\n mTitle.setText(currentBook.title);\n mAuthors.setText(currentBook.authors);\n mDescription.setText(currentBook.description);\n mAvgRating.setText(String.format(\"%.01f\", currentBook.averageRating));\n mBookRating.setRating(currentBook.averageRating);\n\n //Concatenate string and set text to string\n String numRatingsString = String.valueOf(currentBook.numRatings) + \" Ratings\";\n mNumRatings.setText(numRatingsString);\n\n //Concatenate strings before setting them\n String titleString = \"Title: \" + currentBook.title;\n String authorsString = \"Authors: \" + currentBook.authors;\n String subjectString = \"Subject: \" + currentBook.subject;\n String copiesString = \"Library Copies: \" + currentBook.numCopies;\n String ISBN10String = \"ISBN10: \" + currentBook.ISBN10;\n String ISBN13String = \"ISBN13: \" + currentBook.ISBN13;\n\n //Set text data\n mFullTitle.setText(titleString);\n mFullAuthors.setText(authorsString);\n mSubject.setText(subjectString);\n mCopies.setText(copiesString);\n mISBN10.setText(ISBN10String);\n mISBN13.setText(ISBN13String);\n\n //Hide subtitle if it doesn't exist\n if(currentBook.subTitle.length() < 2)\n mSubTitle.setVisibility(GONE);\n else\n mSubTitle.setText(currentBook.subTitle);\n\n //Get reviews\n reviews = currentBook.reviews;\n\n //Add first 3 reviews, unless there are less than 3 reviews - Then add all reviews\n int upperBound = ((reviews.size() - 1) > 1)?2:(reviews.size()-1);\n reviewAdapter(reviews, mReviews, 0, upperBound, true);\n\n //If there are 3 reviews or less, then hide the see all button\n if(reviews.size() < 4)\n mSeeAll.setVisibility(GONE);\n }",
"@Override\n\tpublic void getByID(String ID) {\n\t\tString endpoint = \"bookinfo/get.php\";\n\t\tHashMap<String, String> dict = new HashMap<>();\n\t\tdict.put(\"bookID\", ID);\n\t\ttry {\n\t\t\tHashMap<String, Object> result = APIClient.get(BookInfo.host + endpoint, dict);\n\t\t\tif ( result.get(\"status_code\").equals(\"Success\") ) {\n\t\t\t\tJSONObject o = (JSONObject) result.get(\"result\");\n\t\t\t\tthis.title = o.getString(\"title\");\n\t\t\t\tthis.author = o.getString(\"author\");\n\t\t\t\tthis.publisher = o.getString(\"publisher\");\n\t\t\t\tthis.isbn = o.getString(\"isbn\");\n\t\t\t\tthis.bookID = o.getString(\"bookID\");\n\t\t\t\tthis.valid = true;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tthis.valid = false;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public Book getBook(int bookID) throws SQLException {\n if (books.getBook(bookID)!=null){\n return books.getBook(bookID);}\n else\n return null;\n }",
"public String getBookCover() {\n return bookCover;\n }",
"@Override\n\tpublic Optional<ShoppingCart> getBookById(int bookid) {\n\t\treturn dao.findById(bookid);\n\t}",
"@Override\n public Optional<BookDto> getBook(Integer bookId) {\n try {\n Optional<BookEntity> bookEntity = bookRepository.findByBookId(bookId);\n if (bookEntity.isPresent()) {\n LogUtils.getInfoLogger().info(\"Found the book: {}\", bookEntity.get());\n return Optional.of(bookDtoBookEntityMapper.bookEntityToBookDto(bookEntity.get()));\n } else {\n LogUtils.getInfoLogger().info(\"Book not found\");\n return Optional.empty();\n }\n }catch (Exception exception){\n throw new BookException(exception.getMessage());\n }\n }",
"public Book() {\n this.bookName = \"Five Point Someone\";\n this.bookAuthorName = \"Chetan Bhagat\";\n this.bookIsbnNumber = \"9788129104595\";\n\n }",
"List<Book> getAllBooks();",
"public void show_book()\n\t{\n\t\tsize=arr.size();\n\t\tif(size>0)\n\t\t{\n\t\t\t\n\t\t\tSystem.out.println(\"===========================================================\");\n\t\t\tSystem.out.println(\"Address Book List\");\n\t\t\tSystem.out.println(\"------------------------------------------------------------\");\n\t\t\tint i=1;\n\n\t\t\t//Special loop:= For Each loop for array list\n\t\t\tfor(String x: arr)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+\". \"+x);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tSystem.out.println(\"------------------------------------------------------------\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"No data Found\");\n\t\t}\n\t}",
"public void printBookDetails(Book bookToSearch) {\n boolean exists = false;\n\n //Search if the given book exists in the library\n // There are better ways. But not with arrays!!\n for (Book element : books) {\n if (element.equals(bookToSearch)) {\n exists = true;\n }\n\n //Print book details if boook found\n if (exists) {\n System.out.print(bookToSearch.toString());\n } else {\n System.out.print(bookToSearch.toString() + \" not found\");\n }\n }\n }",
"private void displayBook() {\n NumberFormat formatter = NumberFormat.getCurrencyInstance();\n\n System.out.println(\"Book title: \" + getTitle());\n System.out.println(\"Book author: \" + getAuthor());\n System.out.println(\"Book description: \" + getDescription());\n System.out.println((\"The price is: \" + formatter.format(getPrice())));\n if (isInStock()) {\n System.out.println(\"Currently the book is in stock.\");\n }\n else {\n System.out.println(\"Currently the book is not in stock.\");\n }\n System.out.println();\n }",
"@RequestMapping(value=\"/{bookId}\",method = RequestMethod.GET)\n\tpublic @ResponseBody\n\tBook getBook(@PathVariable(\"bookId\")Integer bookId){\n\t\tBook book = null;\n\t\ttry{\n\t\t\tSystem.out.println(\"entering into try\");\n\t\t\tbook = bookService.getBookById(bookId);\n\t\t\tSystem.out.println(\"got book by id\");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.println(\"book returned\");\n\t\tSystem.out.println(book.getBookName());\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tStringWriter sw= new StringWriter();\n\t\ttry {\n\t\t\tSystem.out.println(\"1\");\n\t\t\tmapper.writeValue(sw, book);\n\t\t\tSystem.out.println(\"1.5\" + sw.toString());\n\t\t\tSystem.out.println(\"2\");\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn book;\n\t}",
"public Book getById(Long bookId) {\n\t\treturn (Book) entityManager.createQuery(\"from Book where id= :bookId\").setParameter(\"bookId\", bookId)\n\t\t\t\t.getSingleResult();\n\t}",
"void showBookResult(Book book);",
"@Override\r\n\tpublic BookDto getDetail(int seq) {\n\t\tBookDto bd = sqlSession.selectOne(ns + \"getDetail\", seq);\r\n\t\treturn bd;\r\n\t}",
"public Books[] getBooks() {\n return books;\n }",
"@FXML\n\t private void loadbookinfo(ActionEvent event) {\n\t \tclearbookcache();\n\t \t\n\t \tString id = bookidinput.getText();\n\t \tString qu = \"SELECT * FROM BOOK_LMS WHERE id = '\" + id + \"'\";\n\t ResultSet rs = dbhandler.execQuery(qu);\n\t Boolean flag = false;\n\t \n\t try {\n while (rs.next()) {\n String bName = rs.getString(\"title\");\n String bAuthor = rs.getString(\"author\");\n Boolean bStatus = rs.getBoolean(\"isAvail\");\n\n Bookname.setText(bName);\n Bookauthor.setText(bAuthor);\n String status = (bStatus) ? \"Available\" : \"Not Available\";\n bookstatus.setText(status);\n\n flag = true;\n }\n\n if (!flag) {\n Bookname.setText(\"No Such Book Available\");\n }\n\n } catch (SQLException ex) {\n Logger.getLogger(MainController.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"@Override\n\tpublic List<Booking> getDetails(String empid) {\n\t\tSession session = factory.getCurrentSession();\n\t\tQuery query = session\n\t\t\t\t.createQuery(\"from Booking where employeeId=\"+empid);\n\t\treturn query.list();\n\t}",
"public interface BookInfo {\n String getTitle();\n String getAuthor();\n String getOriginalLanguage();\n String getOriginalTitle();\n String getYearOfFirsEdition();\n String getCategory();\n String getGenre();\n String getForm();\n String getPublisherNote();\n String getPicturePath();\n String getGrade();\n}",
"public String getBookBookcaseNo() {\n return bookBookcaseNo;\n }",
"@GetMapping(\"/getById/{id}\")\n public Book getBookById(@PathVariable(\"id\") Long id) throws BookNotFoundException {\n return bookService.getBookById(id);\n }",
"public String toString() {\n\treturn \"--------------------\" +\n\t\t\t\"\\n ID: \" + this.book_id +\n\t\t\t\"\\n Title: \" + this.title +\n\t\t\t\"\\n Author: \" + this.author +\n\t\t\t\"\\n Year: \" + this.year +\n\t\t\t\"\\n Edition: \" + this.edition +\n\t\t\t\"\\n Publisher: \" + this.publisher +\n\t\t\t\"\\n ISBN: \" + this.isbn +\n\t\t\t\"\\n Cover: \" + this.cover +\n\t\t\t\"\\n Condition: \" + this.condition +\n\t\t\t\"\\n Price: \" + this.price +\n\t\t\t\"\\n Notes: \" + this.notes +\n\t\t\t\"\\n--------------------\";\n}",
"public void listBooks() {\n for (int g = 0; g < books.length; g++) {\n books[g].toString();\n }\n// List all books in Bookstore\n }",
"@Override\n\tpublic String toString() {\n\t\tSystem.out.println(\"_____Fiction Book_____\");\n\t\treturn \"Title :\" + getTitle() + \"\\nPrice :$\" + getPrice() + \"\\n\";\n\t}",
"public Integer getBookid() {\n return bookid;\n }",
"public Integer getBookid() {\n return bookid;\n }",
"@RequestMapping(value=\"/list\",method=RequestMethod.GET)\n\tpublic @ResponseBody\n\tList<Book> getBookList(){\n\t\tList<Book> bookList = null;\n\t\ttry{\n\t\t\tbookList = bookService.getBookList();\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.println(\"bookList returned\");\n\t\tSystem.out.println(bookList);\n\t\treturn bookList;\n\t}",
"public com.huqiwen.demo.book.model.Books fetchByPrimaryKey(long bookId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;",
"List<Book> getBooksByAuthorId(Integer authorId);",
"@Basic( optional = true )\n\t@Column( name = \"book_name\", length = 2147483647 )\n\tpublic String getBookName() {\n\t\treturn this.bookName;\n\t\t\n\t}",
"public ArrayList<Book> getBooks() {\n return bookList;\n }",
"@Override\r\n\tpublic List<Book> getBooks() {\n\t\treturn bd.findAll();\r\n\t}",
"@Nullable\n public static BookData getBook(ResourceLocation id) {\n return books.getOrDefault(id, null);\n }",
"@GetMapping(\"/book/{id}\")\n public ResponseEntity<Book> get(@PathVariable(\"id\") String id) {\n Book result = bookService.get(id);\n return ResponseEntity.ok().body(result);\n }",
"public void viewLibraryBooks(){\n\t\tIterator booksIterator = bookMap.keySet().iterator();\n\t\tint number, i=1;\n\t\tSystem.out.println(\"\\n\\t\\t===Books in the Library===\\n\");\n\t\twhile(booksIterator.hasNext()){\t\n\t\t\tString current = booksIterator.next().toString();\n\t\t\tnumber = bookMap.get(current).size();\n\t\t\tSystem.out.println(\"\\t\\t[\" + i + \"] \" + \"Title: \" + current);\n\t\t\tSystem.out.println(\"\\t\\t Quantity: \" + number + \"\\n\");\t\t\t\n\t\t\ti += 1; \n\t\t}\n\t}",
"public String getBookTitile() {\n return bookTitile;\n }",
"public Collection<ReservationDetails> getBookCopies(int bookId) throws RemoteException;",
"@Override\n\tpublic String toString() {\n\t\treturn \"BookItem [title=\" + title + \", author=\" + author + \", year=\" + year + \", pageNumber=\" + pageNumber\n\t\t\t\t+ \", section=\" + section + \", price=\" + price + \", stock=\" + stock + \"]\";\n\t}",
"public String getBookType() {\n return bookType;\n }",
"@Override\n\tpublic List<BookInfoVO> findAll() {\n\t\treturn bookInfoDao.findAll();\n\t}",
"public List<Book> getBooks() {\r\n\t\treturn books;\r\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getBookName();",
"public Book getItem(int id) {\n return BookManagerSingelton.getInstance().getBook(id);\n }",
"public Integer getBookid() {\r\n\t\treturn bookid;\r\n\t}"
] |
[
"0.841402",
"0.7447691",
"0.74009687",
"0.7334918",
"0.7301713",
"0.724441",
"0.7035093",
"0.703147",
"0.70282066",
"0.68915707",
"0.68569756",
"0.68567246",
"0.6744845",
"0.66742396",
"0.6658333",
"0.6658333",
"0.66474485",
"0.6642318",
"0.6626686",
"0.659081",
"0.65519893",
"0.6527231",
"0.6508749",
"0.64931566",
"0.6472548",
"0.64511967",
"0.6444621",
"0.6444106",
"0.6438979",
"0.64156115",
"0.64141345",
"0.6404859",
"0.6395997",
"0.63795793",
"0.63708216",
"0.63513416",
"0.6345118",
"0.633599",
"0.6335302",
"0.63276434",
"0.6315532",
"0.6298795",
"0.6272887",
"0.6264498",
"0.6263026",
"0.6254893",
"0.6254893",
"0.6254893",
"0.6253574",
"0.6252401",
"0.624718",
"0.62459683",
"0.6245527",
"0.6245089",
"0.6236535",
"0.62221783",
"0.6220734",
"0.6204413",
"0.61974716",
"0.6194161",
"0.6187775",
"0.61807114",
"0.61745936",
"0.6173144",
"0.61669433",
"0.61625725",
"0.6159161",
"0.6151",
"0.6137077",
"0.6130932",
"0.61204356",
"0.6102025",
"0.60921764",
"0.60918516",
"0.60790294",
"0.60770196",
"0.6072153",
"0.60697585",
"0.60520947",
"0.60387325",
"0.60223824",
"0.60223824",
"0.60174394",
"0.6012957",
"0.60069996",
"0.60004354",
"0.5981548",
"0.59666485",
"0.595806",
"0.5954615",
"0.59499097",
"0.5944671",
"0.5931376",
"0.59282124",
"0.59268105",
"0.59249526",
"0.5922009",
"0.59189796",
"0.5904704",
"0.5904562"
] |
0.66658324
|
14
|
Constructors Do not use this constructor directly, please use the factory method available in the associated manager.
|
MTBTypesDTO() {
// EMPTY CONSTRUCTOR
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Factory() {\n\t\tsuper();\n\t}",
"public Factory() {\n this(getInternalClient());\n }",
"Constructor() {\r\n\t\t \r\n\t }",
"public MystFactoryImpl()\r\n {\r\n super();\r\n }",
"private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}",
"protected MoneyFactory() {\n\t}",
"public ObjectFactory() {\n\t}",
"public ObjectFactory() {\r\n\t}",
"public ObjectFactory() {\n super(grammarInfo);\n }",
"public XCanopusFactoryImpl()\r\n {\r\n super();\r\n }",
"private DatabaseManager() {\n // Default constructor\n }",
"private TSLManager() {\n\t\tsuper();\n\t}",
"public ParsedmodelFactoryImpl() {\n\t\tsuper();\n\t}",
"private ArticleMgr() {\r\n\r\n\t}",
"private DepartmentManager() {\n }",
"private DataManager() {\n }",
"public DBManager() {\n\t\t\n\t}",
"public FileManager() {\n\t\t\n\t}",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public ObjectFactory() {\r\n }",
"public CacheManager()\n\t{\n\t}",
"private EntityFactory() {}",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }",
"public ObjectFactory() {\n }"
] |
[
"0.72810936",
"0.7078391",
"0.6888206",
"0.6868341",
"0.6859736",
"0.6809445",
"0.67956877",
"0.6779191",
"0.6736015",
"0.6726101",
"0.66906947",
"0.6660072",
"0.66525066",
"0.66453123",
"0.66362673",
"0.6633612",
"0.6629753",
"0.6619201",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605571",
"0.6605086",
"0.65939236",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963",
"0.658963"
] |
0.0
|
-1
|
Public Methods Getter method for MTBTypesKey. PRIMARY KEY. Meta Data Information (in progress): full name: MTBTypes._MTBTypes_key column size: 18 jdbc type returned by the driver: Types.NUMERIC
|
public Long getMTBTypesKeyOriginal() {
return MTBTypesKeyOriginal;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Long getMTBTypesKey() {\n return MTBTypesKey; \n }",
"public String getKeyType() \n {\n return DBFactory.getKeyTypeName(this.keyType);\n }",
"public Class<? extends DBRecordKey<gDBR>> getKeyClass()\n {\n return this.keyClass;\n }",
"public boolean isSetKey_column_type() {\n return this.key_column_type != null;\n }",
"public KeyType keyType() {\n return this.keyType;\n }",
"public void setMTBTypesKey(long newVal) {\n setMTBTypesKey(new Long(newVal));\n }",
"public java.lang.String getKeyType() {\n return keyType;\n }",
"private byte[] getKey(KeyType keytype) {\n byte[] key = new byte[1];\n key[0] = (byte) keytype.ordinal();\n return key;\n }",
"public java.lang.String getKeyType() {\n return keyType;\n }",
"public Key(int type)\n {\n this.type = type;\n this.columns = new ArrayList<Column>();\n }",
"Class<?> getKeyType();",
"public Class<?> getKeyClass() \n\t{\n\t return keyClass ;\n\t}",
"public void setMTBTypesKey(Long newVal) {\n if ((newVal != null && this.MTBTypesKey != null && (newVal.compareTo(this.MTBTypesKey) == 0)) || \n (newVal == null && this.MTBTypesKey == null && MTBTypesKey_is_initialized)) {\n return; \n } \n\n if(this.MTBTypesKeyOriginal == null) {\n this.MTBTypesKeyOriginal = newVal;\n }\n this.MTBTypesKey = newVal; \n\n MTBTypesKey_is_modified = true; \n MTBTypesKey_is_initialized = true; \n }",
"public static String getKeyTypeName(KeyType type)\n {\n // TODO: should be moved to DBProvider ...\n // MySQL : key identifier\n // SQLServer : key identifier\n // Derby : key identifier\n // PostgreSQL: key identifier\n switch (type) {\n // MySQL: key types ...\n case PRIMARY : return \"PRIMARY KEY\"; // table\n case UNIQUE : return \"UNIQUE\"; // table\n case INDEX : return \"INDEX\"; // table/index\n case UNIQUE_INDEX : return \"UNIQUE INDEX\"; // table/index\n default : return \"UNKNOWN\";\n }\n }",
"@Override\r\n protected String getPrymaryType(Integer key) {\r\n return NodeTypes.SECTOR.getId();\r\n }",
"Key getPrimaryKey();",
"private String createTypeKey(int type, String key) {\r\n\t\treturn type + \"-\" + key;\r\n\t}",
"BListKey getKey();",
"public native void keyType(char c);",
"public HasID get(@SuppressWarnings(\"rawtypes\") Class type, String key);",
"public DBRecordKey<gDBR> createKey() // <? extends DBRecord<?>>\n throws DBException\n {\n if (this.keyClass != null) {\n try {\n // this creates an empty key with no key fields\n Constructor<? extends DBRecordKey<gDBR>> kc = this.keyClass.getConstructor(new Class<?>[0]);\n return kc.newInstance(new Object[0]); // \"unchecked cast\"\n } catch (Throwable t) { // NoSuchMethodException, ...\n // Implementation error (should never occur)\n throw new DBException(\"Key Creation\", t);\n }\n }\n return null;\n }",
"public String getFirstKeyColumnName() {\n\t\treturn \"wishlistItemId\";\n\t}",
"public ObjectKey getPrimaryKey()\n {\n pks[0] = SimpleKey.keyFor(getMailId());\n pks[1] = SimpleKey.keyFor(getReceiverId());\n return comboPK;\n }",
"public String[] getKeyColumns()\n {\n return KEY_COLUMNS;\n }",
"public java.lang.Long getOpckeytype() {\n\t\treturn getValue(test.generated.pg_catalog.tables.PgOpclass.PG_OPCLASS.OPCKEYTYPE);\n\t}",
"public int getKey() {\n\t\treturn 0;\n\t}",
"public interface TypeKey {\n}",
"public BigDecimal getTypeId() {\n return typeId;\n }",
"public int getTypeId()\n {\n return (int) getKeyPartLong(KEY_CONTENTTYPEID, -1);\n }",
"@Override\n\tpublic String typeKey() {\n\t return \"class\";\n\t}",
"public com.guidewire.datamodel.TypekeyDocument.Typekey addNewTypekey()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n com.guidewire.datamodel.TypekeyDocument.Typekey target = null;\r\n target = (com.guidewire.datamodel.TypekeyDocument.Typekey)get_store().add_element_user(TYPEKEY$16);\r\n return target;\r\n }\r\n }",
"@Override\n\tpublic String getKey() {\n\t\treturn getCid();\n\t}",
"org.apache.calcite.avatica.proto.Common.DatabaseProperty getKey();",
"ResultColumn getTypeIdColumn(TableReference tableReference);",
"@Override\n public int getTypeIndexID() {\n return typeIndexID;\n }",
"@Override\n public Class<?> getKeyClass() {\n return this.isCollection() && this.getKeyDataClassDefinition() != null?this.getKeyDataClassDefinition().getDataClass():null;\n }",
"@Override\n public void setPrimaryKey(java.lang.Object key) {\n\n mnDbmsType = ((int[]) key)[0];\n mnPkYearId = ((int[]) key)[1];\n mnPkTypeCostObjectId = ((int[]) key)[2];\n mnPkRefCompanyBranchId = ((int[]) key)[3];\n mnPkRefReferenceId = ((int[]) key)[4];\n mnPkRefEntityId = ((int[]) key)[5];\n mnPkBizPartnerId = ((int[]) key)[6];\n mtDbmsDateStart = ((java.util.Date[]) key)[7];\n mtDbmsDateEnd = ((java.util.Date[]) key)[8];\n }",
"public BikeType getType(int typeId){\n try(Connection con = DatabaseConnector.getConnection();\n PreparedStatement ps = con.prepareStatement(TYPE_BY_ID + typeId);\n ResultSet rs = ps.executeQuery()){\n \n if(rs.next()){\n BikeType type = new BikeType(rs.getString(cTypeName),rs.getDouble(cRentalPrice));\n type.setTypeId(rs.getInt(cTypeId));\n return type;\n }\n\n }catch(Exception e){\n System.out.println(\"Exception: \" + e);\n }\n return null;\n }",
"public Schema getKeySchema() {\n\n\t\tint num_keys = pkColumnNames.size();\n\t\tif (num_keys == 0){\n\t\t\tthrow new DataException(\"Empty primary key\");\n\t\t}\n\t\t//TODO: we always create Struct for the pKey - is there a point to just have a field if it's a single pKey?\n\t SchemaBuilder pkBuilder = SchemaBuilder.struct().name(this.pkSchemaName());\n\n\t for (String pk : this.pkColumnNames) {\n\t \t Field field = schema.field(pk);\n\t \t pkBuilder.field(field.name(), field.schema());\n\t }\n\t return pkBuilder.build();\n\t}",
"public TableKey getKey() {\n \treturn key;\n }",
"public int hashCode()\n {\n return this.getSQLTypeName().hashCode();\n }",
"public static PSKey createKey(int contentTypeId)\n {\n return new PSSimpleKey(KEY_CONTENTTYPEID, \"\" + contentTypeId); \n }",
"public String getKeyClass(String classPath)\n throws EnhancerMetaDataUserException, EnhancerMetaDataFatalError\n {\n final JDOClass clazz = getJDOClass(classPath);\n if (clazz == null) {\n return null;\n }\n final String name = clazz.getDeclaredObjectIdClassName();\n return (name != null ? name.replace('.', '/') : null);\n }",
"@Override\n\tpublic long getTypePK() {\n\t\treturn _dlSyncEvent.getTypePK();\n\t}",
"org.apache.calcite.avatica.proto.Common.DatabasePropertyOrBuilder getKeyOrBuilder();",
"com.google.protobuf.ByteString\n getKeyBytes();",
"com.google.protobuf.ByteString\n getKeyBytes();",
"public com.guidewire.datamodel.TypekeyDocument.Typekey[] getTypekeyArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(TYPEKEY$16, targetList);\r\n com.guidewire.datamodel.TypekeyDocument.Typekey[] result = new com.guidewire.datamodel.TypekeyDocument.Typekey[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }",
"public PrimaryKey getPrimaryKey();",
"public int getKeywordId()\n {\n return keywordType;\n }",
"@Override\r\n\t\tpublic Map<String, Class<?>> getTypeMap() throws SQLException {\n\t\t\treturn null;\r\n\t\t}",
"public Key getKey() {\n\t\tString fieldvalue = getValue(\"sys_id\");\n\t\tassert fieldvalue != null;\n\t\treturn new Key(fieldvalue);\n\t}",
"public Integer getTypeCode() {\n return typeCode;\n }",
"public Long getTypeId() {\r\n\t\treturn typeId;\r\n\t}",
"public boolean hasKeyType() {\n return fieldSetFlags()[2];\n }",
"public boolean isMTBTypesKeyModified() {\n return MTBTypesKey_is_modified; \n }",
"io.dstore.values.IntegerValue getFieldTypeId();",
"private static int getTradingPropertyKeyClassKey(String tradingPropertyKey)\n {\n String returnClassKey = getPropertyItem(tradingPropertyKey, 2);\n if(returnClassKey.length() == 0)\n {\n return 0;\n }\n else\n {\n try\n {\n return Integer.parseInt(returnClassKey);\n }\n catch(NumberFormatException e)\n {\n GUILoggerHome.find().exception(GUILoggerSABusinessProperty.PROPERTY_SERVICE +\n \".getTradingPropertyKeyClassKey(tradingPropertyKey)\",\n \" Exception while parsing the classKey :\", e);\n return 0;\n }\n }\n }",
"public HashMap<String, Integer> getId_types() {\n return id_types;\n }",
"public String getTdKey() {\r\n return tdKey;\r\n }",
"com.google.protobuf.ByteString\n getKeyBytes();",
"com.google.protobuf.ByteString\n getKeyBytes();",
"com.google.protobuf.ByteString\n getKeyBytes();",
"public int getSqlType() { return _type; }",
"PrimaryKey getPrimaryKey();",
"public String getFirstKeyColumnName() \n\t{\n\t\treturn \"cSid\";\n\t}",
"public Long getTypeid() {\n return typeid;\n }",
"public Builder setKeyClass(Type keyType) {\n this.keyType = keyType;\n return this;\n }",
"public boolean isMTBTypesKeyInitialized() {\n return MTBTypesKey_is_initialized; \n }",
"public String getPrimaryKey() throws CloneNotSupportedException {\r\n\t\tString key=\"\";\r\n\t\tfor (int i = 0; i < this.state.getSizeCol(); i++) {\r\n\t\t\tfor (int j = 0; j < this.state.getSizeRow(); j++) {\r\n\t\t\t\tkey+=this.state.getValue(new Position(i,j));\r\n\t\t\t}\r\n\t\t}\r\n\t\tkey+=\"?\"+this.state.getTractor().getPosition().toString();\r\n\t\treturn key;\r\n\t}",
"@Override\n public int getKey() {\n return key_;\n }",
"public int getKey(){\n return key;\n }",
"com.google.protobuf.ByteString getKeyBytes();",
"com.google.protobuf.ByteString getKeyBytes();",
"int getTypeIdValue();",
"public org.vcell.util.document.KeyValue getCompoundKey() {\r\n\treturn formalCompound.getDBFormalSpeciesKey();\r\n}",
"@Override\n\tpublic long getPrimaryKey() {\n\t\treturn _dmGtStatus.getPrimaryKey();\n\t}",
"public long getKeyID()\n {\n return keyID;\n }",
"int getProductKey();",
"public Integer getTypeId() {\n return typeId;\n }",
"@Override\n public int getKey() {\n return key_;\n }",
"boolean isTypeKey(String key);",
"org.apache.xmlbeans.XmlNMTOKEN xgetKey();",
"@SuppressWarnings(\"unchecked\")\n @Override\n protected K createKey(ResultSet rs) throws SQLException {\n return (columnName == null) ?\n (K) rs.getObject(columnIndex) :\n (K) rs.getObject(columnName);\n }",
"public int getJDBCTypeId() {\r\n return typeId.getJDBCTypeId();\r\n }",
"public String getCmkType() {\n return this.cmkType;\n }",
"public ID getRxa26_PharmacyOrderType() { \r\n\t\tID retVal = this.getTypedField(26, 0);\r\n\t\treturn retVal;\r\n }",
"AlgDataType getRowType();",
"public Integer getTypeCode() {\n return (Integer) getAttributeInternal(TYPECODE);\n }",
"public int getKey() {\n\t\t\treturn this.key; // to be replaced by student code\n\t\t}",
"public String getTypeId() {\r\n return typeId;\r\n }",
"public KeyField getKey() {\n\treturn keyField;\n }",
"String getMemberKey(AbstractMemberMetaData mmd);",
"public String getFirstKeyColumnName() {\n\t\treturn \"orderPickListId\";\n\t}",
"public int getKey() {\r\n return key;\r\n }",
"public Long getObjectKey()\n\t{\n\t\treturn objectKey;\n\t}",
"private String getShortType(String aKey) {\n if (iConnection == null){\n return ModificationConversion.getShortType(aKey);\n } else {\n return ModificationConversion.getShortType(aKey,iConnection);\n }\n }",
"PmKeyDbObj selectByPrimaryKey(Integer pmKeyId);",
"@Override\n\tpublic long getTrashEntryClassPK();",
"@Override\n public int getKey() {\n return this.key;\n }"
] |
[
"0.793996",
"0.69063216",
"0.6542969",
"0.64015",
"0.6382677",
"0.6377475",
"0.6336475",
"0.6263753",
"0.6255924",
"0.6207737",
"0.6194181",
"0.61665905",
"0.61290497",
"0.6098108",
"0.5964089",
"0.5859389",
"0.5789783",
"0.5780441",
"0.567781",
"0.566105",
"0.5646219",
"0.5628554",
"0.5596127",
"0.5592336",
"0.5568091",
"0.55609757",
"0.555806",
"0.5541078",
"0.55321604",
"0.5527496",
"0.55040705",
"0.5466695",
"0.5466246",
"0.5464884",
"0.54511607",
"0.5425752",
"0.5423481",
"0.54233164",
"0.5421479",
"0.5392698",
"0.5379687",
"0.5377728",
"0.5377076",
"0.5375989",
"0.536007",
"0.53341675",
"0.53341675",
"0.53266567",
"0.53258276",
"0.5321501",
"0.5316772",
"0.5314352",
"0.5306222",
"0.5305884",
"0.5305701",
"0.53044283",
"0.5301187",
"0.52927846",
"0.52894366",
"0.52883005",
"0.5287442",
"0.5287442",
"0.5287442",
"0.5284584",
"0.5280758",
"0.5278447",
"0.5273236",
"0.5272739",
"0.5265708",
"0.52649695",
"0.52639365",
"0.5263312",
"0.5256803",
"0.5256803",
"0.5251774",
"0.52514106",
"0.52416056",
"0.5241073",
"0.5237675",
"0.52270114",
"0.52256066",
"0.52252287",
"0.5222937",
"0.52195656",
"0.521328",
"0.52065325",
"0.52041626",
"0.52013934",
"0.5201277",
"0.51919",
"0.51867074",
"0.518237",
"0.5180661",
"0.5177706",
"0.5177383",
"0.5173258",
"0.5170603",
"0.516614",
"0.51619333",
"0.5160557"
] |
0.7131031
|
1
|
Getter method for MTBTypesKey. PRIMARY KEY. Meta Data Information (in progress): full name: MTBTypes._MTBTypes_key column size: 18 jdbc type returned by the driver: Types.NUMERIC
|
public Long getMTBTypesKey() {
return MTBTypesKey;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Long getMTBTypesKeyOriginal() {\n return MTBTypesKeyOriginal; \n }",
"public String getKeyType() \n {\n return DBFactory.getKeyTypeName(this.keyType);\n }",
"public Class<? extends DBRecordKey<gDBR>> getKeyClass()\n {\n return this.keyClass;\n }",
"public KeyType keyType() {\n return this.keyType;\n }",
"public java.lang.String getKeyType() {\n return keyType;\n }",
"public boolean isSetKey_column_type() {\n return this.key_column_type != null;\n }",
"public void setMTBTypesKey(long newVal) {\n setMTBTypesKey(new Long(newVal));\n }",
"public java.lang.String getKeyType() {\n return keyType;\n }",
"private byte[] getKey(KeyType keytype) {\n byte[] key = new byte[1];\n key[0] = (byte) keytype.ordinal();\n return key;\n }",
"Class<?> getKeyType();",
"public static String getKeyTypeName(KeyType type)\n {\n // TODO: should be moved to DBProvider ...\n // MySQL : key identifier\n // SQLServer : key identifier\n // Derby : key identifier\n // PostgreSQL: key identifier\n switch (type) {\n // MySQL: key types ...\n case PRIMARY : return \"PRIMARY KEY\"; // table\n case UNIQUE : return \"UNIQUE\"; // table\n case INDEX : return \"INDEX\"; // table/index\n case UNIQUE_INDEX : return \"UNIQUE INDEX\"; // table/index\n default : return \"UNKNOWN\";\n }\n }",
"public Class<?> getKeyClass() \n\t{\n\t return keyClass ;\n\t}",
"public Key(int type)\n {\n this.type = type;\n this.columns = new ArrayList<Column>();\n }",
"public void setMTBTypesKey(Long newVal) {\n if ((newVal != null && this.MTBTypesKey != null && (newVal.compareTo(this.MTBTypesKey) == 0)) || \n (newVal == null && this.MTBTypesKey == null && MTBTypesKey_is_initialized)) {\n return; \n } \n\n if(this.MTBTypesKeyOriginal == null) {\n this.MTBTypesKeyOriginal = newVal;\n }\n this.MTBTypesKey = newVal; \n\n MTBTypesKey_is_modified = true; \n MTBTypesKey_is_initialized = true; \n }",
"@Override\r\n protected String getPrymaryType(Integer key) {\r\n return NodeTypes.SECTOR.getId();\r\n }",
"private String createTypeKey(int type, String key) {\r\n\t\treturn type + \"-\" + key;\r\n\t}",
"public HasID get(@SuppressWarnings(\"rawtypes\") Class type, String key);",
"Key getPrimaryKey();",
"BListKey getKey();",
"public String getFirstKeyColumnName() {\n\t\treturn \"wishlistItemId\";\n\t}",
"public native void keyType(char c);",
"public BigDecimal getTypeId() {\n return typeId;\n }",
"ResultColumn getTypeIdColumn(TableReference tableReference);",
"public ObjectKey getPrimaryKey()\n {\n pks[0] = SimpleKey.keyFor(getMailId());\n pks[1] = SimpleKey.keyFor(getReceiverId());\n return comboPK;\n }",
"public int getTypeId()\n {\n return (int) getKeyPartLong(KEY_CONTENTTYPEID, -1);\n }",
"public String[] getKeyColumns()\n {\n return KEY_COLUMNS;\n }",
"public DBRecordKey<gDBR> createKey() // <? extends DBRecord<?>>\n throws DBException\n {\n if (this.keyClass != null) {\n try {\n // this creates an empty key with no key fields\n Constructor<? extends DBRecordKey<gDBR>> kc = this.keyClass.getConstructor(new Class<?>[0]);\n return kc.newInstance(new Object[0]); // \"unchecked cast\"\n } catch (Throwable t) { // NoSuchMethodException, ...\n // Implementation error (should never occur)\n throw new DBException(\"Key Creation\", t);\n }\n }\n return null;\n }",
"public java.lang.Long getOpckeytype() {\n\t\treturn getValue(test.generated.pg_catalog.tables.PgOpclass.PG_OPCLASS.OPCKEYTYPE);\n\t}",
"public int getKey() {\n\t\treturn 0;\n\t}",
"org.apache.calcite.avatica.proto.Common.DatabaseProperty getKey();",
"public String getKeyClass(String classPath)\n throws EnhancerMetaDataUserException, EnhancerMetaDataFatalError\n {\n final JDOClass clazz = getJDOClass(classPath);\n if (clazz == null) {\n return null;\n }\n final String name = clazz.getDeclaredObjectIdClassName();\n return (name != null ? name.replace('.', '/') : null);\n }",
"public interface TypeKey {\n}",
"@Override\n public int getTypeIndexID() {\n return typeIndexID;\n }",
"@Override\n public Class<?> getKeyClass() {\n return this.isCollection() && this.getKeyDataClassDefinition() != null?this.getKeyDataClassDefinition().getDataClass():null;\n }",
"@Override\n\tpublic String getKey() {\n\t\treturn getCid();\n\t}",
"public HashMap<String, Integer> getId_types() {\n return id_types;\n }",
"public BikeType getType(int typeId){\n try(Connection con = DatabaseConnector.getConnection();\n PreparedStatement ps = con.prepareStatement(TYPE_BY_ID + typeId);\n ResultSet rs = ps.executeQuery()){\n \n if(rs.next()){\n BikeType type = new BikeType(rs.getString(cTypeName),rs.getDouble(cRentalPrice));\n type.setTypeId(rs.getInt(cTypeId));\n return type;\n }\n\n }catch(Exception e){\n System.out.println(\"Exception: \" + e);\n }\n return null;\n }",
"io.dstore.values.IntegerValue getFieldTypeId();",
"@Override\r\n\t\tpublic Map<String, Class<?>> getTypeMap() throws SQLException {\n\t\t\treturn null;\r\n\t\t}",
"public int hashCode()\n {\n return this.getSQLTypeName().hashCode();\n }",
"@Override\n\tpublic String typeKey() {\n\t return \"class\";\n\t}",
"public Integer getTypeCode() {\n return typeCode;\n }",
"@Override\n\tpublic long getTypePK() {\n\t\treturn _dlSyncEvent.getTypePK();\n\t}",
"public Long getTypeId() {\r\n\t\treturn typeId;\r\n\t}",
"public Schema getKeySchema() {\n\n\t\tint num_keys = pkColumnNames.size();\n\t\tif (num_keys == 0){\n\t\t\tthrow new DataException(\"Empty primary key\");\n\t\t}\n\t\t//TODO: we always create Struct for the pKey - is there a point to just have a field if it's a single pKey?\n\t SchemaBuilder pkBuilder = SchemaBuilder.struct().name(this.pkSchemaName());\n\n\t for (String pk : this.pkColumnNames) {\n\t \t Field field = schema.field(pk);\n\t \t pkBuilder.field(field.name(), field.schema());\n\t }\n\t return pkBuilder.build();\n\t}",
"public int getSqlType() { return _type; }",
"public String getTypeName(int typecode)\n {\n String result = defaults.get(typecode);\n if (result == null)\n {\n throw new RuntimeException(\"No Dialect mapping for JDBC type: \" + typecode);\n }\n return result;\n }",
"public Key getKey() {\n\t\tString fieldvalue = getValue(\"sys_id\");\n\t\tassert fieldvalue != null;\n\t\treturn new Key(fieldvalue);\n\t}",
"public int getKeywordId()\n {\n return keywordType;\n }",
"public com.guidewire.datamodel.TypekeyDocument.Typekey addNewTypekey()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n com.guidewire.datamodel.TypekeyDocument.Typekey target = null;\r\n target = (com.guidewire.datamodel.TypekeyDocument.Typekey)get_store().add_element_user(TYPEKEY$16);\r\n return target;\r\n }\r\n }",
"int getTypeIdValue();",
"org.apache.calcite.avatica.proto.Common.DatabasePropertyOrBuilder getKeyOrBuilder();",
"public Integer getTypeId() {\n return typeId;\n }",
"@SuppressWarnings(\"unchecked\")\n @Override\n protected K createKey(ResultSet rs) throws SQLException {\n return (columnName == null) ?\n (K) rs.getObject(columnIndex) :\n (K) rs.getObject(columnName);\n }",
"public static PSKey createKey(int contentTypeId)\n {\n return new PSSimpleKey(KEY_CONTENTTYPEID, \"\" + contentTypeId); \n }",
"public String getTypeId() {\r\n return typeId;\r\n }",
"public Long getTypeid() {\n return typeid;\n }",
"io.dstore.values.IntegerValueOrBuilder getFieldTypeIdOrBuilder();",
"public Integer getTypeCode() {\n return (Integer) getAttributeInternal(TYPECODE);\n }",
"public String getTdKey() {\r\n return tdKey;\r\n }",
"public TableKey getKey() {\n \treturn key;\n }",
"public Builder setKeyClass(Type keyType) {\n this.keyType = keyType;\n return this;\n }",
"public String getFirstKeyColumnName() {\n\t\treturn \"orderPickListId\";\n\t}",
"com.google.protobuf.ByteString\n getKeyBytes();",
"com.google.protobuf.ByteString\n getKeyBytes();",
"@Override\n public void setPrimaryKey(java.lang.Object key) {\n\n mnDbmsType = ((int[]) key)[0];\n mnPkYearId = ((int[]) key)[1];\n mnPkTypeCostObjectId = ((int[]) key)[2];\n mnPkRefCompanyBranchId = ((int[]) key)[3];\n mnPkRefReferenceId = ((int[]) key)[4];\n mnPkRefEntityId = ((int[]) key)[5];\n mnPkBizPartnerId = ((int[]) key)[6];\n mtDbmsDateStart = ((java.util.Date[]) key)[7];\n mtDbmsDateEnd = ((java.util.Date[]) key)[8];\n }",
"public io.dstore.values.IntegerValueOrBuilder getFieldTypeIdOrBuilder() {\n return getFieldTypeId();\n }",
"@Override\n public int getKey() {\n return key_;\n }",
"public int getJDBCTypeId() {\r\n return typeId.getJDBCTypeId();\r\n }",
"public BigInteger getKeyBI() {\n return new BigInteger(this.getEncoded());\n }",
"public final static int getRecordType(int dbIdx, String typeStr) {\n\t\tint type = Constants.NULL_INTEGER;\n\n\t \tfor (int i = 0; i < keys.length && keys[i] != Constants.NULL_INTEGER; i++) {\n \t\tif (names[i].equalsIgnoreCase(typeStr)) {\n \t\t\treturn keys[i];\n \t\t}\n \t}\n\n\t\ttry {\n\t\t\ttype = Integer.parseInt(typeStr);\n\t\t} catch (Exception e) {\t}\n\n\t\treturn type;\n\t}",
"private static AbstractType<?> keyType(CollectionType<?> type)\n {\n return type.nameComparator();\n }",
"org.apache.xmlbeans.XmlNMTOKEN xgetKey();",
"public String getFirstKeyColumnName() \n\t{\n\t\treturn \"cSid\";\n\t}",
"public String getPrimaryKey() throws CloneNotSupportedException {\r\n\t\tString key=\"\";\r\n\t\tfor (int i = 0; i < this.state.getSizeCol(); i++) {\r\n\t\t\tfor (int j = 0; j < this.state.getSizeRow(); j++) {\r\n\t\t\t\tkey+=this.state.getValue(new Position(i,j));\r\n\t\t\t}\r\n\t\t}\r\n\t\tkey+=\"?\"+this.state.getTractor().getPosition().toString();\r\n\t\treturn key;\r\n\t}",
"public String getTypeCode() {\n return typeCode;\n }",
"public String getTypeCode() {\n return typeCode;\n }",
"public String getTypeCode() {\n return typeCode;\n }",
"public String getTypeCode() {\n return typeCode;\n }",
"public boolean hasKeyType() {\n return fieldSetFlags()[2];\n }",
"public com.guidewire.datamodel.TypekeyDocument.Typekey[] getTypekeyArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(TYPEKEY$16, targetList);\r\n com.guidewire.datamodel.TypekeyDocument.Typekey[] result = new com.guidewire.datamodel.TypekeyDocument.Typekey[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }",
"public String getCmkType() {\n return this.cmkType;\n }",
"public ID getRxa26_PharmacyOrderType() { \r\n\t\tID retVal = this.getTypedField(26, 0);\r\n\t\treturn retVal;\r\n }",
"public Integer getTickettypesId() {\r\n return tickettypesId;\r\n }",
"private static int getTradingPropertyKeyClassKey(String tradingPropertyKey)\n {\n String returnClassKey = getPropertyItem(tradingPropertyKey, 2);\n if(returnClassKey.length() == 0)\n {\n return 0;\n }\n else\n {\n try\n {\n return Integer.parseInt(returnClassKey);\n }\n catch(NumberFormatException e)\n {\n GUILoggerHome.find().exception(GUILoggerSABusinessProperty.PROPERTY_SERVICE +\n \".getTradingPropertyKeyClassKey(tradingPropertyKey)\",\n \" Exception while parsing the classKey :\", e);\n return 0;\n }\n }\n }",
"public boolean isMTBTypesKeyInitialized() {\n return MTBTypesKey_is_initialized; \n }",
"@Override\n public int getKey() {\n return key_;\n }",
"String getMemberKey(AbstractMemberMetaData mmd);",
"com.google.protobuf.ByteString getKeyBytes();",
"com.google.protobuf.ByteString getKeyBytes();",
"com.google.protobuf.ByteString\n getKeyBytes();",
"com.google.protobuf.ByteString\n getKeyBytes();",
"com.google.protobuf.ByteString\n getKeyBytes();",
"boolean isTypeKey(String key);",
"public int getKey(){\n return key;\n }",
"public int getData_type_id() {\n return data_type_id;\n }",
"protected <T> Map<MDSKey, T> getKV(Set<MDSKey> ids, Type typeOfT) {\n Map<MDSKey, T> resultMap = new HashMap<>();\n List<Get> getList = new ArrayList<>();\n for (MDSKey id : ids) {\n getList.add(new Get(id.getKey()));\n }\n List<Row> rowList = table.get(getList);\n for (Row row : rowList) {\n if (row.isEmpty()) {\n continue;\n }\n\n byte[] value = row.get(COLUMN);\n if (value == null) {\n continue;\n }\n MDSKey key = new MDSKey(row.getRow());\n T result = deserialize(key, value, typeOfT);\n resultMap.put(key, result);\n }\n return resultMap;\n }",
"public String getColumnKey(int col){\n return keys.get(col);\n }",
"public long getKeyID()\n {\n return keyID;\n }",
"public boolean isMTBTypesKeyModified() {\n return MTBTypesKey_is_modified; \n }"
] |
[
"0.71525884",
"0.6924002",
"0.6509943",
"0.63381666",
"0.6337347",
"0.6335145",
"0.63191307",
"0.62596995",
"0.6242547",
"0.6228508",
"0.6166409",
"0.6094926",
"0.60787916",
"0.60531116",
"0.5897147",
"0.58313453",
"0.5734787",
"0.5720741",
"0.5691775",
"0.5673495",
"0.56379104",
"0.5631377",
"0.5602337",
"0.55615705",
"0.55597043",
"0.55349267",
"0.5530803",
"0.55037725",
"0.54750705",
"0.5474353",
"0.54706407",
"0.54653686",
"0.5463648",
"0.54437727",
"0.5435275",
"0.5434852",
"0.5434756",
"0.5415343",
"0.54039323",
"0.5401575",
"0.5399546",
"0.5392982",
"0.538161",
"0.5360815",
"0.53554094",
"0.53488725",
"0.53480804",
"0.5345486",
"0.5336295",
"0.5328047",
"0.5317013",
"0.53168076",
"0.53162235",
"0.5311368",
"0.52974796",
"0.52973604",
"0.5278925",
"0.5272873",
"0.52727664",
"0.52653855",
"0.5263808",
"0.525658",
"0.52455467",
"0.5242601",
"0.5242601",
"0.52416384",
"0.5232791",
"0.5229871",
"0.52283233",
"0.52253836",
"0.52235615",
"0.5214107",
"0.52134484",
"0.5212881",
"0.5211166",
"0.52084786",
"0.52084786",
"0.52084786",
"0.52084786",
"0.52065",
"0.52047837",
"0.52026933",
"0.51998335",
"0.51991993",
"0.5197583",
"0.5194813",
"0.51918554",
"0.51903415",
"0.5189162",
"0.5189162",
"0.5185695",
"0.5185695",
"0.5185695",
"0.5183574",
"0.51721364",
"0.5166168",
"0.51657045",
"0.5165218",
"0.516035",
"0.5159642"
] |
0.7986733
|
0
|
Setter method for MTBTypesKey. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'.
|
public void setMTBTypesKey(Long newVal) {
if ((newVal != null && this.MTBTypesKey != null && (newVal.compareTo(this.MTBTypesKey) == 0)) ||
(newVal == null && this.MTBTypesKey == null && MTBTypesKey_is_initialized)) {
return;
}
if(this.MTBTypesKeyOriginal == null) {
this.MTBTypesKeyOriginal = newVal;
}
this.MTBTypesKey = newVal;
MTBTypesKey_is_modified = true;
MTBTypesKey_is_initialized = true;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setMTBTypesKey(long newVal) {\n setMTBTypesKey(new Long(newVal));\n }",
"public Long getMTBTypesKey() {\n return MTBTypesKey; \n }",
"public boolean isMTBTypesKeyModified() {\n return MTBTypesKey_is_modified; \n }",
"public Long getMTBTypesKeyOriginal() {\n return MTBTypesKeyOriginal; \n }",
"public com.opentext.bn.converters.avro.entity.ContentKey.Builder setKeyType(java.lang.String value) {\n validate(fields()[2], value);\n this.keyType = value;\n fieldSetFlags()[2] = true;\n return this;\n }",
"public <T> void set(String key, T value, Class<T> type) {\n this.data.put(key, value);\n }",
"public void setType(String newVal) {\n if ((newVal != null && this.type != null && (newVal.compareTo(this.type) == 0)) || \n (newVal == null && this.type == null && type_is_initialized)) {\n return; \n } \n this.type = newVal; \n\n type_is_modified = true; \n type_is_initialized = true; \n }",
"public void setMailType(int v) \n {\n \n if (this.mailType != v)\n {\n this.mailType = v;\n setModified(true);\n }\n \n \n }",
"public abstract void setPhoneTypes(Vector vecPhoneTypes, Vector vecPhoneTypeKeys);",
"public Builder setKeyClass(Type keyType) {\n this.keyType = keyType;\n return this;\n }",
"boolean setValue(String type, String key, String value);",
"public void setpymttype(String value) {\n setAttributeInternal(PYMTTYPE, value);\n }",
"public void setTypekeyArray(com.guidewire.datamodel.TypekeyDocument.Typekey[] typekeyArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(typekeyArray, TYPEKEY$16);\r\n }\r\n }",
"public void setRequiredGroupType(typekey.GroupType value);",
"@Override\n\tpublic void setTypeCode(java.lang.String typeCode) {\n\t\t_permissionType.setTypeCode(typeCode);\n\t}",
"public final native void setMapTypesRegistry(MapTypeRegistry mapTypes) /*-{\n this.mapTypes = mapTypes;\n }-*/;",
"public synchronized static void internal_updateKnownTypes() {\r\n Set<ChangeLogType> changeLogTypes = GrouperDAOFactory.getFactory().getChangeLogType().findAll();\r\n GrouperCache<MultiKey, ChangeLogType> newTypes = new GrouperCache<MultiKey, ChangeLogType>(\r\n ChangeLogTypeFinder.class.getName() + \".typeCache\", 10000, false, 60*10, 60*10, false);\r\n \r\n Map<String, ChangeLogType> newTypesById = new HashMap<String, ChangeLogType>();\r\n \r\n for (ChangeLogType changeLogType : GrouperUtil.nonNull(changeLogTypes)) {\r\n newTypes.put(new MultiKey(changeLogType.getChangeLogCategory(), changeLogType.getActionName()), changeLogType);\r\n newTypesById.put(changeLogType.getId(), changeLogType);\r\n }\r\n \r\n //add builtins if necessary\r\n internal_updateBuiltinTypesOnce(newTypes, newTypesById);\r\n \r\n types = newTypes;\r\n typesById = newTypesById;\r\n }",
"@Override\n public void setPrimaryKey(java.lang.Object key) {\n\n mnDbmsType = ((int[]) key)[0];\n mnPkYearId = ((int[]) key)[1];\n mnPkTypeCostObjectId = ((int[]) key)[2];\n mnPkRefCompanyBranchId = ((int[]) key)[3];\n mnPkRefReferenceId = ((int[]) key)[4];\n mnPkRefEntityId = ((int[]) key)[5];\n mnPkBizPartnerId = ((int[]) key)[6];\n mtDbmsDateStart = ((java.util.Date[]) key)[7];\n mtDbmsDateEnd = ((java.util.Date[]) key)[8];\n }",
"public abstract void setAddressTypes(Vector vecAddressTypes, Vector vecAddressTypeKeys);",
"private void setTypeId(int value) {\n \n typeId_ = value;\n }",
"public void setTypeCode(Integer value) {\n setAttributeInternal(TYPECODE, value);\n }",
"public void setType(String newValue);",
"public void setType(String newValue);",
"void setBbanEntryType(final BbanEntryType type) {\n this.vars.put(\"bbanEntryType\", type.name());\n }",
"public void put(int typecode, String value) {\n\t\tdefaults.put( typecode, value );\n\t}",
"public void setCustomerType(int v) \n {\n \n if (this.customerType != v)\n {\n this.customerType = v;\n setModified(true);\n }\n \n \n }",
"public void setBulbType(String bType) {\n bulbType = bType.trim();\n if (bulbType.equals(\"\")) {\n bulbType = \"NOBTYPE\";\n }\n }",
"public com.opentext.bn.converters.avro.entity.ContentKey.Builder clearKeyType() {\n keyType = null;\n fieldSetFlags()[2] = false;\n return this;\n }",
"public void setTypeCode(String typeCode) {\n this.typeCode = typeCode == null ? null : typeCode.trim();\n }",
"public void setTypeCode(String typeCode) {\n this.typeCode = typeCode == null ? null : typeCode.trim();\n }",
"public void setTypeCode(String typeCode) {\n this.typeCode = typeCode == null ? null : typeCode.trim();\n }",
"private void setPkiType(\n java.lang.String value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x00000002;\n pkiType_ = value;\n }",
"public void setTypeId(Long typeId) {\r\n\t\tthis.typeId = typeId;\r\n\t}",
"public void setType(java.lang.String newType) {\n\ttype = newType;\n}",
"@JsProperty(name = \"msType\")\n public native void setMsType(String value);",
"@SuppressWarnings(\"unchecked\")\r\n\tpublic void put(int typecode, String value) {\r\n\t\tdefaults.put( new Integer(typecode), value );\r\n\t}",
"public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder setORDERTYPESID(java.lang.Long value) {\n validate(fields()[10], value);\n this.ORDER_TYPES_ID = value;\n fieldSetFlags()[10] = true;\n return this;\n }",
"protected void setType(String newType) {\n\t\ttype = newType;\n\t}",
"public void setTypeId(BigDecimal typeId) {\n this.typeId = typeId;\n }",
"public void setValueType(byte ValueType) {\r\n\t\tthis.valueType = ValueType;\t\t\r\n\t}",
"public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder clearSRCKEYVAL() {\n SRC_KEY_VAL = null;\n fieldSetFlags()[12] = false;\n return this;\n }",
"public boolean isSetKey_column_type() {\n return this.key_column_type != null;\n }",
"public void setTypeCode(Integer typeCode) {\n this.typeCode = typeCode;\n }",
"public boolean isMTBTypesKeyInitialized() {\n return MTBTypesKey_is_initialized; \n }",
"public M csrtTypeNameNull(){if(this.get(\"csrtTypeNameNot\")==null)this.put(\"csrtTypeNameNot\", \"\");this.put(\"csrtTypeName\", null);return this;}",
"@Override\n\tpublic void setType(Type t) {\n\t\theldObj.setType(t);\n\t}",
"public void setTypeCode(String typeCode) {\n this.typeCode = typeCode;\n }",
"public void setORDERTYPESID(java.lang.Long value) {\n this.ORDER_TYPES_ID = value;\n }",
"public void resetIsModified() {\n MTBTypesKey_is_modified = false;\n type_is_modified = false;\n description_is_modified = false;\n tableName_is_modified = false;\n columnName_is_modified = false;\n createUser_is_modified = false;\n createDate_is_modified = false;\n updateUser_is_modified = false;\n updateDate_is_modified = false;\n }",
"public void put(int typeCode, String value) {\n\t\tdefaults.put(typeCode, value);\n\t}",
"public void setSubtype(typekey.LocationNamedInsured value);",
"public void setTypeId(String typeId) {\r\n this.typeId = typeId == null ? null : typeId.trim();\r\n }",
"public void setMismatchType(MismatchTypeCodeType mismatchType) {\n\t this.mismatchType = mismatchType;\n\t}",
"public void setType(Object newType) {\n if (newType == null && type == null) {\n return;\n }\n\n if (type == null || !type.equals(newType)) {\n Object oldType = type;\n type = newType;\n listeners.firePropertyChange(PROPERTY_TYPE, oldType, type);\n }\n }",
"void changeType(NoteTypes newType) {\n this.type = newType;\n }",
"public void setTypeId(final ReferenceTypeId typeId);",
"void setForPersistentMapping_BaseType(Type baseType) {\n this.baseType = baseType;\n }",
"boolean verifyKeyValueTypes(Class<?> typeK, Class<?> typeV);",
"public void setType(String newtype)\n {\n type = newtype;\n }",
"public void setValueType(int newValueType) {\n\t\t\tvalueType = newValueType;\n\t\t}",
"private void setPkiTypeBytes(\n com.google.protobuf.ByteString value) {\n pkiType_ = value.toStringUtf8();\n bitField0_ |= 0x00000002;\n }",
"public void setTypeName(java.lang.String value);",
"public void markEnodebTypeReplace() throws JNCException {\n markLeafReplace(\"enodebType\");\n }",
"public void put(int typecode, String value)\n {\n validateTypecode(typecode);\n defaults.put(typecode, value.toLowerCase());\n }",
"final <T> void set(String key, T value) {\n set(key, value, false);\n }",
"public void setLtype(String value) {\n set(2, value);\n }",
"public void setCommandType(typekey.LoadCommandType value);",
"public final void setType(final SettlementType newType) {\n if (type != null) removeFeatures(type);\n this.type = newType;\n if (newType != null) addFeatures(newType);\n }",
"void setClassType(String classType);",
"public void setBayType(String value) {\n setAttributeInternal(BAYTYPE, value);\n }",
"@Override\n\tpublic void setTypePK(long typePK) {\n\t\t_dlSyncEvent.setTypePK(typePK);\n\t}",
"public void setFamily2(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value) {\n\t throw new java.lang.UnsupportedOperationException(\"Set is not supported on tombstones\");\n\t }",
"public void set_type(String t)\n {\n type =t;\n }",
"void setOrderType(OrderType inOrderType);",
"private static void internal_updateBuiltinTypesOnce(GrouperCache<MultiKey, ChangeLogType> newTypes,\r\n Map<String, ChangeLogType> newTypesById) {\r\n if (updatedBuiltinTypes && newTypes.getCache().getSize() != 0) {\r\n return;\r\n }\r\n \r\n for (ChangeLogTypeBuiltin changeLogTypeBuiltin : ChangeLogTypeBuiltin.values()) {\r\n internal_findOrReplaceChangeLogType(newTypes, newTypesById, changeLogTypeBuiltin.internal_changeLogTypeDefault());\r\n }\r\n }",
"public native final EditorBaseEvent changedType(String val) /*-{\n\t\tthis.changedType = val;\n\t\treturn this;\n\t}-*/;",
"public void setObjtype(short newValue) {\n\tthis.objtype = newValue;\n}",
"public void setTypeId(Integer typeId) {\n this.typeId = typeId;\n }",
"public M csrtMoneyTypeNull(){if(this.get(\"csrtMoneyTypeNot\")==null)this.put(\"csrtMoneyTypeNot\", \"\");this.put(\"csrtMoneyType\", null);return this;}",
"public void setEnodebTypeValue(String enodebTypeValue) throws JNCException {\n setEnodebTypeValue(new YangString(enodebTypeValue));\n }",
"public final native void setCustomMapType(String mapTypeId, StyledMapType styledType) /*-{\n this.mapTypes.set(mapTypeId, styledType);\n }-*/;",
"public abstract void setPaymentTypes(java.util.Set paymentTypes);",
"@Override\n public <T> Set<Key<T>> typedKeySet(final Class<T> clazz) {\n Set<Key<T>> keys = new HashSet<>();\n for (Key k : this.keySet()) {\n if (k.valueType.equals(clazz)) {\n keys.add(k);\n }\n }\n return keys;\n }",
"public void copy(MTBTypesDTO bean) {\n setMTBTypesKey(bean.getMTBTypesKey());\n setType(bean.getType());\n setDescription(bean.getDescription());\n setTableName(bean.getTableName());\n setColumnName(bean.getColumnName());\n setCreateUser(bean.getCreateUser());\n setCreateDate(bean.getCreateDate());\n setUpdateUser(bean.getUpdateUser());\n setUpdateDate(bean.getUpdateDate());\n }",
"public void setOpckeytype(java.lang.Long value) {\n\t\tsetValue(test.generated.pg_catalog.tables.PgOpclass.PG_OPCLASS.OPCKEYTYPE, value);\n\t}",
"public Builder setTypeBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n type_ = value;\n onChanged();\n return this;\n }",
"public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder setORDERTYPE(java.lang.CharSequence value) {\n validate(fields()[0], value);\n this.ORDER_TYPE = value;\n fieldSetFlags()[0] = true;\n return this;\n }",
"public void setEnodebTypeValue(YangString enodebTypeValue)\n throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"enodeb-type\",\n enodebTypeValue,\n childrenNames());\n }",
"void setBodyModType(final Bodymodtype bodyModType);",
"public Key(int type)\n {\n this.type = type;\n this.columns = new ArrayList<Column>();\n }",
"public updateLeaderBoardType_args(updateLeaderBoardType_args other) {\n __isset_bitfield = other.__isset_bitfield;\n this.companyId = other.companyId;\n this.type = other.type;\n }",
"public void setTypeId(String typeId) {\r\n\t\t\tthis.typeId = typeId;\r\n\t\t}",
"public void setTypeId(com.walgreens.rxit.ch.cda.POCDMT000040InfrastructureRootTypeId typeId)\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.walgreens.rxit.ch.cda.POCDMT000040InfrastructureRootTypeId target = null;\n target = (com.walgreens.rxit.ch.cda.POCDMT000040InfrastructureRootTypeId)get_store().find_element_user(TYPEID$2, 0);\n if (target == null)\n {\n target = (com.walgreens.rxit.ch.cda.POCDMT000040InfrastructureRootTypeId)get_store().add_element_user(TYPEID$2);\n }\n target.set(typeId);\n }\n }",
"public Builder setType(com.rpg.framework.database.Protocol.ItemType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n type_ = value;\n onChanged();\n return this;\n }",
"public void setMotType(Integer motType) {\n\t\tif (motType == null) {\n\t\t\tthis.motType = null;\n\t\t} else {\n\t\t\tthis.motType = motType;\n\t\t}\n\t}",
"public void setSurrogateKey(long value)\n {\n if(__surrogateKey != value)\n {\n _isDirty = true;\n }\n __surrogateKey = value;\n }",
"public void setTypeid(Long typeid) {\n this.typeid = typeid;\n }",
"private void setValues(PreparedStatement ps, int type, String key, Object value) throws SQLException, PropertyException {\n String driverName;\n\n try {\n driverName = ps.getConnection().getMetaData().getDriverName().toUpperCase();\n } catch (Exception e) {\n driverName = \"\";\n }\n\n ps.setNull(1, Types.VARCHAR);\n ps.setNull(2, Types.TIMESTAMP);\n\n // Patched by Edson Richter for MS SQL Server JDBC Support!\n // Oracle support suggestion also Michael G. Slack\n if ((driverName.indexOf(\"SQLSERVER\") >= 0) || (driverName.indexOf(\"ORACLE\") >= 0)) {\n ps.setNull(3, Types.BINARY);\n } else {\n ps.setNull(3, Types.BLOB);\n }\n\n ps.setNull(4, Types.FLOAT);\n ps.setNull(5, Types.NUMERIC);\n ps.setInt(6, type);\n ps.setString(7, globalKey);\n ps.setString(8, key);\n\n switch (type) {\n case PropertySet.BOOLEAN:\n\n Boolean boolVal = (Boolean) value;\n ps.setInt(5, boolVal.booleanValue() ? 1 : 0);\n\n break;\n\n case PropertySet.DATA:\n\n Data data = (Data) value;\n ps.setBytes(3, data.getBytes());\n\n break;\n\n case PropertySet.DATE:\n\n Date date = (Date) value;\n ps.setTimestamp(2, new Timestamp(date.getTime()));\n\n break;\n\n case PropertySet.DOUBLE:\n\n Double d = (Double) value;\n ps.setDouble(4, d.doubleValue());\n\n break;\n\n case PropertySet.INT:\n\n Integer i = (Integer) value;\n ps.setInt(5, i.intValue());\n\n break;\n\n case PropertySet.LONG:\n\n Long l = (Long) value;\n ps.setLong(5, l.longValue());\n\n break;\n\n case PropertySet.STRING:\n ps.setString(1, (String) value);\n\n break;\n\n default:\n throw new PropertyException(\"This type isn't supported!\");\n }\n }",
"public Builder setTypeBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n type_ = value;\n onChanged();\n return this;\n }",
"@Override\n public Object setMetadata(String key, Object value) {\n return null;\n }"
] |
[
"0.7196522",
"0.6505903",
"0.6194824",
"0.6017134",
"0.53700423",
"0.50760937",
"0.50524664",
"0.502807",
"0.4923712",
"0.49214676",
"0.4908336",
"0.4863709",
"0.48153394",
"0.47468722",
"0.47447997",
"0.47237498",
"0.47195658",
"0.47127077",
"0.47043",
"0.4701849",
"0.46930435",
"0.4687623",
"0.4687623",
"0.46704194",
"0.46623862",
"0.46533355",
"0.4650431",
"0.46469527",
"0.46416524",
"0.46416524",
"0.46416524",
"0.4623534",
"0.4616872",
"0.4597093",
"0.4588234",
"0.45747942",
"0.45582443",
"0.45406714",
"0.4535893",
"0.4529015",
"0.45269817",
"0.45225894",
"0.4521826",
"0.45168743",
"0.45121735",
"0.45080686",
"0.449529",
"0.4493025",
"0.44921455",
"0.44844997",
"0.44806832",
"0.4477119",
"0.44762307",
"0.44719064",
"0.4467868",
"0.44650096",
"0.44589594",
"0.44551396",
"0.44523346",
"0.44494835",
"0.44316703",
"0.44310102",
"0.44263867",
"0.44237667",
"0.44218978",
"0.4418509",
"0.44063476",
"0.4391258",
"0.43905982",
"0.43720102",
"0.43679154",
"0.43624222",
"0.43596986",
"0.4358531",
"0.43556398",
"0.43501097",
"0.43461713",
"0.434547",
"0.43451154",
"0.43427622",
"0.43399912",
"0.43348777",
"0.43278784",
"0.43270913",
"0.43244073",
"0.43199104",
"0.43108356",
"0.43098196",
"0.43056455",
"0.43046966",
"0.4300558",
"0.43001842",
"0.42980072",
"0.4297867",
"0.42967618",
"0.42920813",
"0.4288055",
"0.42781803",
"0.42716676",
"0.42713678"
] |
0.79975134
|
0
|
Setter method for MTBTypesKey. Convenient for those who do not want to deal with Objects for primary types.
|
public void setMTBTypesKey(long newVal) {
setMTBTypesKey(new Long(newVal));
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setMTBTypesKey(Long newVal) {\n if ((newVal != null && this.MTBTypesKey != null && (newVal.compareTo(this.MTBTypesKey) == 0)) || \n (newVal == null && this.MTBTypesKey == null && MTBTypesKey_is_initialized)) {\n return; \n } \n\n if(this.MTBTypesKeyOriginal == null) {\n this.MTBTypesKeyOriginal = newVal;\n }\n this.MTBTypesKey = newVal; \n\n MTBTypesKey_is_modified = true; \n MTBTypesKey_is_initialized = true; \n }",
"public Long getMTBTypesKey() {\n return MTBTypesKey; \n }",
"public Long getMTBTypesKeyOriginal() {\n return MTBTypesKeyOriginal; \n }",
"public com.opentext.bn.converters.avro.entity.ContentKey.Builder setKeyType(java.lang.String value) {\n validate(fields()[2], value);\n this.keyType = value;\n fieldSetFlags()[2] = true;\n return this;\n }",
"public Builder setKeyClass(Type keyType) {\n this.keyType = keyType;\n return this;\n }",
"@JsProperty(name = \"msType\")\n public native void setMsType(String value);",
"public void setTypeId(Long typeId) {\r\n\t\tthis.typeId = typeId;\r\n\t}",
"public boolean isMTBTypesKeyModified() {\n return MTBTypesKey_is_modified; \n }",
"private void setTypeId(int value) {\n \n typeId_ = value;\n }",
"@Override\n public void setPrimaryKey(java.lang.Object key) {\n\n mnDbmsType = ((int[]) key)[0];\n mnPkYearId = ((int[]) key)[1];\n mnPkTypeCostObjectId = ((int[]) key)[2];\n mnPkRefCompanyBranchId = ((int[]) key)[3];\n mnPkRefReferenceId = ((int[]) key)[4];\n mnPkRefEntityId = ((int[]) key)[5];\n mnPkBizPartnerId = ((int[]) key)[6];\n mtDbmsDateStart = ((java.util.Date[]) key)[7];\n mtDbmsDateEnd = ((java.util.Date[]) key)[8];\n }",
"public void setTypeId(String typeId) {\r\n this.typeId = typeId == null ? null : typeId.trim();\r\n }",
"private void setPkiType(\n java.lang.String value) {\n java.lang.Class<?> valueClass = value.getClass();\n bitField0_ |= 0x00000002;\n pkiType_ = value;\n }",
"public void setTypekeyArray(com.guidewire.datamodel.TypekeyDocument.Typekey[] typekeyArray)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n arraySetterHelper(typekeyArray, TYPEKEY$16);\r\n }\r\n }",
"public final native void setMapTypesRegistry(MapTypeRegistry mapTypes) /*-{\n this.mapTypes = mapTypes;\n }-*/;",
"public void setTypeId(BigDecimal typeId) {\n this.typeId = typeId;\n }",
"public void setTypeId(Integer typeId) {\n this.typeId = typeId;\n }",
"public void setTypeId(String typeId) {\r\n\t\t\tthis.typeId = typeId;\r\n\t\t}",
"public void setpymttype(String value) {\n setAttributeInternal(PYMTTYPE, value);\n }",
"public void setTypeid(Long typeid) {\n this.typeid = typeid;\n }",
"protected void setTypeId(String typeId) {\n\t\tcontext.getElement().setAttribute(\"typeId\", \"org.csstudio.opibuilder.widgets.\" + typeId);\n\t}",
"public <T> void set(String key, T value, Class<T> type) {\n this.data.put(key, value);\n }",
"public abstract void setPhoneTypes(Vector vecPhoneTypes, Vector vecPhoneTypeKeys);",
"public void setData_type_id(int data_type_id) {\n this.data_type_id = data_type_id;\n }",
"public void setTypeCode(String typeCode) {\n this.typeCode = typeCode == null ? null : typeCode.trim();\n }",
"public void setTypeCode(String typeCode) {\n this.typeCode = typeCode == null ? null : typeCode.trim();\n }",
"public void setTypeCode(String typeCode) {\n this.typeCode = typeCode == null ? null : typeCode.trim();\n }",
"public void setTypeName(java.lang.String value);",
"void setForPersistentMapping_BaseType(Type baseType) {\n this.baseType = baseType;\n }",
"public void setTypeCode(Integer value) {\n setAttributeInternal(TYPECODE, value);\n }",
"@Override\r\n\t\tpublic void setTypeMap(Map<String, Class<?>> map) throws SQLException {\n\t\t\t\r\n\t\t}",
"public void setIdType(String idType) {\n this.idType = idType == null ? null : idType.trim();\n }",
"public void setIdType(int idType) {\r\n this.idType = idType;\r\n }",
"public void setTypeId(int systemTypeId)\n {\n mSystemTypeId = systemTypeId;\n }",
"void setClassType(String classType);",
"public void setId_types(HashMap<String, Integer> id_types) {\n this.id_types = id_types;\n }",
"public void setTypeCode(Integer typeCode) {\n this.typeCode = typeCode;\n }",
"@Override\n\tpublic void setTypeCode(java.lang.String typeCode) {\n\t\t_permissionType.setTypeCode(typeCode);\n\t}",
"void setForPersistentMapping_Type(Type type) {\n this.type = type;\n }",
"@JsProperty(name = \"type\")\n public native void setType(String value);",
"public void setBulbType(String bType) {\n bulbType = bType.trim();\n if (bulbType.equals(\"\")) {\n bulbType = \"NOBTYPE\";\n }\n }",
"private void setPkiTypeBytes(\n com.google.protobuf.ByteString value) {\n pkiType_ = value.toStringUtf8();\n bitField0_ |= 0x00000002;\n }",
"public void setTypeCode(String typeCode) {\n this.typeCode = typeCode;\n }",
"public final void settypeName(String value) {\n\t\tthis.typeNameField = value;\n\t}",
"public void setIdType(Integer idType) {\n this.idType = idType;\n }",
"public void setReferencedInKey(String complexTypeName);",
"@SuppressWarnings(\"unused\")\n private void setMapTypeId(JSONArray args, final CallbackContext callbackContext) throws JSONException {\n int mapTypeId = -1;\n String typeStr = args.getString(1);\n mapTypeId = typeStr.equals(\"MAP_TYPE_NORMAL\") ? GoogleMap.MAP_TYPE_NORMAL\n : mapTypeId;\n mapTypeId = typeStr.equals(\"MAP_TYPE_HYBRID\") ? GoogleMap.MAP_TYPE_HYBRID\n : mapTypeId;\n mapTypeId = typeStr.equals(\"MAP_TYPE_SATELLITE\") ? GoogleMap.MAP_TYPE_SATELLITE\n : mapTypeId;\n mapTypeId = typeStr.equals(\"MAP_TYPE_TERRAIN\") ? GoogleMap.MAP_TYPE_TERRAIN\n : mapTypeId;\n mapTypeId = typeStr.equals(\"MAP_TYPE_NONE\") ? GoogleMap.MAP_TYPE_NONE\n : mapTypeId;\n\n if (mapTypeId == -1) {\n callbackContext.error(\"Unknow MapTypeID is specified:\" + typeStr);\n return;\n }\n \n final int myMapTypeId = mapTypeId;\n map.setMapType(myMapTypeId);\n this.sendNoResult(callbackContext);\n }",
"public void set_type(String t)\n {\n type =t;\n }",
"public void setCutypeMapping(final String val);",
"public void setTypeId(final ReferenceTypeId typeId);",
"private String createTypeKey(int type, String key) {\r\n\t\treturn type + \"-\" + key;\r\n\t}",
"public void setpermitTypeName(String value) {\n setAttributeInternal(PERMITTYPENAME, value);\n }",
"@SuppressWarnings(\"unchecked\")\r\n\tpublic void put(int typecode, String value) {\r\n\t\tdefaults.put( new Integer(typecode), value );\r\n\t}",
"public void setId_type(String id_type) {\n this.id_type = id_type;\n }",
"public void setSubtype(typekey.LocationNamedInsured value);",
"@Override\n\tpublic void setTypePK(long typePK) {\n\t\t_dlSyncEvent.setTypePK(typePK);\n\t}",
"public abstract void setAddressTypes(Vector vecAddressTypes, Vector vecAddressTypeKeys);",
"void setType(java.lang.String type);",
"public interface TypeKey {\n}",
"public boolean isSetKey_column_type() {\n return this.key_column_type != null;\n }",
"public boolean isMTBTypesKeyInitialized() {\n return MTBTypesKey_is_initialized; \n }",
"public void put(int typecode, String value) {\n\t\tdefaults.put( typecode, value );\n\t}",
"public final native void setCustomMapType(String mapTypeId, StyledMapType styledType) /*-{\n this.mapTypes.set(mapTypeId, styledType);\n }-*/;",
"public void setBlastingTypeUid(Integer aBlastingTypeUid) {\n blastingTypeUid = aBlastingTypeUid;\n }",
"@Override\n\tpublic void setType(Type t) {\n\t\theldObj.setType(t);\n\t}",
"public Builder setTypeId(int value) {\n copyOnWrite();\n instance.setTypeId(value);\n return this;\n }",
"public final native void setType(String type) /*-{\n this.setType(type);\n }-*/;",
"public void setTypeId(com.walgreens.rxit.ch.cda.POCDMT000040InfrastructureRootTypeId typeId)\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.walgreens.rxit.ch.cda.POCDMT000040InfrastructureRootTypeId target = null;\n target = (com.walgreens.rxit.ch.cda.POCDMT000040InfrastructureRootTypeId)get_store().find_element_user(TYPEID$2, 0);\n if (target == null)\n {\n target = (com.walgreens.rxit.ch.cda.POCDMT000040InfrastructureRootTypeId)get_store().add_element_user(TYPEID$2);\n }\n target.set(typeId);\n }\n }",
"public void setORDERTYPESID(java.lang.Long value) {\n this.ORDER_TYPES_ID = value;\n }",
"@Override\n public <T> Set<Key<T>> typedKeySet(final Class<T> clazz) {\n Set<Key<T>> keys = new HashSet<>();\n for (Key k : this.keySet()) {\n if (k.valueType.equals(clazz)) {\n keys.add(k);\n }\n }\n return keys;\n }",
"public String toString() {\n StringBuffer ret = new StringBuffer();\n ret.append(\"\\n[MTBTypes] \");\n ret.append(\"\\n - MTBTypes._MTBTypes_key = \").append((MTBTypesKey_is_initialized ? (\"[\" + (MTBTypesKey == null ? null : MTBTypesKey.toString()) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.type = \").append((type_is_initialized ? (\"[\" + (type == null ? null : type) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.description = \").append((description_is_initialized ? (\"[\" + (description == null ? null : description) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.tableName = \").append((tableName_is_initialized ? (\"[\" + (tableName == null ? null : tableName) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.columnName = \").append((columnName_is_initialized ? (\"[\" + (columnName == null ? null : columnName) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.create_user = \").append((createUser_is_initialized ? (\"[\" + (createUser == null ? null : createUser) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.create_date = \").append((createDate_is_initialized ? (\"[\" + (createDate == null ? null : createDate.toString()) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.update_user = \").append((updateUser_is_initialized ? (\"[\" + (updateUser == null ? null : updateUser) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.update_date = \").append((updateDate_is_initialized ? (\"[\" + (updateDate == null ? null : updateDate.toString()) + \"]\") : \"not initialized\"));\n return ret.toString();\n }",
"public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder setORDERTYPESID(java.lang.Long value) {\n validate(fields()[10], value);\n this.ORDER_TYPES_ID = value;\n fieldSetFlags()[10] = true;\n return this;\n }",
"public void setTypeName(java.lang.String typeName)\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(TYPENAME$6);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPENAME$6);\n }\n target.setStringValue(typeName);\n }\n }",
"public void setMainTypeset(String value) {\n setAttributeInternal(MAINTYPESET, value);\n }",
"public void setType(String value) {\n this.type = value;\n }",
"void setDataType(int type );",
"CodeSetsType createCodeSetsType();",
"public com.opentext.bn.converters.avro.entity.ContentKey.Builder clearKeyType() {\n keyType = null;\n fieldSetFlags()[2] = false;\n return this;\n }",
"public Key(int type)\n {\n this.type = type;\n this.columns = new ArrayList<Column>();\n }",
"public void setType(java.lang.String newType) {\n\ttype = newType;\n}",
"public void setType(String type);",
"public void setType(String type);",
"public void setType(String type);",
"@Override\n\tpublic String typeKey() {\n\t return \"class\";\n\t}",
"protected void setType(String newType) {\n\t\ttype = newType;\n\t}",
"public void xsetTypeName(org.apache.xmlbeans.XmlString typeName)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TYPENAME$6);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(TYPENAME$6);\n }\n target.set(typeName);\n }\n }",
"boolean setValue(String type, String key, String value);",
"public void setType(String t) {\n\ttype = t;\n }",
"private void setType(String type) {\n mType = type;\n }",
"public void setEnodebTypeValue(String enodebTypeValue) throws JNCException {\n setEnodebTypeValue(new YangString(enodebTypeValue));\n }",
"void setBbanEntryType(final BbanEntryType type) {\n this.vars.put(\"bbanEntryType\", type.name());\n }",
"public void setType(int t){\n this.type = t;\n }",
"public void setUserTypeId(final Integer userTypeId) {\n this.userTypeId = userTypeId;\n }",
"public void setType(String inType)\n {\n\ttype = inType;\n }",
"public native final void setServerType(String serverType)/*-{\n this.serverType = serverType;\n }-*/;",
"public void setMapType(int type) {\n if(internalNative != null) {\n internalNative.setMapType(type);\n }\n }",
"public void setMailType(int v) \n {\n \n if (this.mailType != v)\n {\n this.mailType = v;\n setModified(true);\n }\n \n \n }",
"public final void setApplicationTypes(List<Application.ApplicationType> applicationTypes){\n\t\tJSONArray array = new JSONArray();\n\t\tfor(int i = 0; i < applicationTypes.size(); i++){\n\t\t\tarray.set(i, new JSONString(applicationTypes.get(i).toString().toUpperCase()));\n\t\t}\n\t\tthis.setApplicationTypes(array.getJavaScriptObject());\n\t}",
"@Override\n\tpublic void setTypeSettings(java.lang.String typeSettings) {\n\t\t_expandoColumn.setTypeSettings(typeSettings);\n\t}",
"public void setC_DocType_ID (int C_DocType_ID);",
"public void setC_DocType_ID (int C_DocType_ID);"
] |
[
"0.7625598",
"0.7406532",
"0.6505284",
"0.58160806",
"0.5619378",
"0.5615758",
"0.5605829",
"0.55121917",
"0.550712",
"0.5503712",
"0.5447944",
"0.54422605",
"0.5427901",
"0.54237854",
"0.5423006",
"0.53891885",
"0.5351109",
"0.5334451",
"0.5329194",
"0.5323505",
"0.52874327",
"0.52774984",
"0.5269665",
"0.52223194",
"0.52223194",
"0.52223194",
"0.52074796",
"0.51999575",
"0.5187554",
"0.5144707",
"0.512309",
"0.51212794",
"0.5111576",
"0.511134",
"0.510833",
"0.5104829",
"0.5095344",
"0.50943255",
"0.5090912",
"0.5088229",
"0.5077807",
"0.5076243",
"0.50605977",
"0.5056586",
"0.50450766",
"0.5035249",
"0.5022922",
"0.50182694",
"0.5006621",
"0.50025684",
"0.49988925",
"0.49955612",
"0.49953628",
"0.4994309",
"0.49853253",
"0.4984154",
"0.49753895",
"0.49718824",
"0.49611023",
"0.49584645",
"0.49553832",
"0.49494854",
"0.4945077",
"0.4939116",
"0.4928562",
"0.49244472",
"0.49242496",
"0.49065682",
"0.49052912",
"0.49048784",
"0.48987263",
"0.48966196",
"0.48930767",
"0.48767343",
"0.48750365",
"0.48749247",
"0.48748943",
"0.48709583",
"0.48670492",
"0.4866068",
"0.4866068",
"0.4866068",
"0.4858384",
"0.48519173",
"0.48512006",
"0.48430806",
"0.48418218",
"0.48397264",
"0.48273507",
"0.4826234",
"0.4819756",
"0.48186472",
"0.4804517",
"0.480201",
"0.4794351",
"0.47896412",
"0.47880286",
"0.4785656",
"0.47850132",
"0.47850132"
] |
0.74918616
|
1
|
Determines if the MTBTypesKey has been modified.
|
public boolean isMTBTypesKeyModified() {
return MTBTypesKey_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate_is_modified;\n }",
"public boolean isTypeModified() {\n return type_is_modified; \n }",
"public boolean isMTBTypesKeyInitialized() {\n return MTBTypesKey_is_initialized; \n }",
"public boolean isTypeSpecificChange()\r\n {\r\n return myDTIKey != null;\r\n }",
"public void setMTBTypesKey(Long newVal) {\n if ((newVal != null && this.MTBTypesKey != null && (newVal.compareTo(this.MTBTypesKey) == 0)) || \n (newVal == null && this.MTBTypesKey == null && MTBTypesKey_is_initialized)) {\n return; \n } \n\n if(this.MTBTypesKeyOriginal == null) {\n this.MTBTypesKeyOriginal = newVal;\n }\n this.MTBTypesKey = newVal; \n\n MTBTypesKey_is_modified = true; \n MTBTypesKey_is_initialized = true; \n }",
"public boolean isModified()\n {\n // a class is only modifiable after it is loaded\n if (!m_fLoaded)\n {\n return m_fModified;\n }\n\n if (m_fModified || m_abClazz == null || m_pool.isModified())\n {\n return true;\n }\n\n // check all other VM sub-structures\n StringTable[] atbl = CONTAINED_TABLE;\n for (int i = 0; i < atbl.length; ++i)\n {\n Enumeration enmr = atbl[i].elements();\n while (enmr.hasMoreElements())\n {\n if (((VMStructure) enmr.nextElement()).isModified())\n {\n return true;\n }\n }\n }\n\n return false;\n }",
"public boolean isProductKeyModified()\n\t{\n\t\treturn productKeyModified;\n\t}",
"public void setMTBTypesKey(long newVal) {\n setMTBTypesKey(new Long(newVal));\n }",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"public void resetIsModified() {\n MTBTypesKey_is_modified = false;\n type_is_modified = false;\n description_is_modified = false;\n tableName_is_modified = false;\n columnName_is_modified = false;\n createUser_is_modified = false;\n createDate_is_modified = false;\n updateUser_is_modified = false;\n updateDate_is_modified = false;\n }",
"public boolean isRoomtypeidModified() {\n return roomtypeid_is_modified; \n }",
"public Long getMTBTypesKey() {\n return MTBTypesKey; \n }",
"public boolean isChangeType()\n {\n return hasChanges;\n }",
"public Long getMTBTypesKeyOriginal() {\n return MTBTypesKeyOriginal; \n }",
"public boolean isSetLastmodifyTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMPMS_ISSET_ID);\n }",
"public boolean isSetLastmodifyTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMPMS_ISSET_ID);\n }",
"public boolean mo8479c(int updateTypes) {\n return (this.f3538h & updateTypes) != 0;\n }",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"private boolean hasChanges() {\n for (Map.Entry<EditText, Integer> e : mPrefKeys.entrySet()) {\n String field = e.getKey().getText().toString();\n String pref = Pref.get(this, e.getValue()).replace(Data.DEACTIVATED_MARKER, \"\");\n if (!field.equals(pref))\n return true;\n }\n return false;\n }",
"public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }",
"@Override\r\n public boolean doIsModified() {\r\n return this.updatedGroups.isEmpty();\r\n }",
"boolean hasKeyRevocationActionType();",
"public Integer isKeyModified(String key)\n\t{\n\t\tif((( this.keyModified.containsKey(key))))\n\t\t{\n\t\t\treturn this.keyModified.get(key);\n\n\t\t}\n\t\treturn null;\n\n\t}",
"public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"public boolean hasTsUpdate() {\n return ((bitField0_ & 0x00000400) == 0x00000400);\n }",
"public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }",
"public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }",
"public boolean hasChanged()\n {\n return map.hasChanged();\n }",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isStModified() {\n return st_is_modified; \n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }",
"public boolean hasTsUpdate() {\n return fieldSetFlags()[11];\n }",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public final boolean hasModifyDateTime() {\n \treturn m_modifyDate != 0L ? true : false;\n }",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"boolean isModified();",
"boolean isModified();",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean isSetLastmodifyTimestamp() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMP_ISSET_ID);\n }",
"public boolean isSetKey_column_type() {\n return this.key_column_type != null;\n }",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"public boolean hasUpdateTime() {\n return ((bitField0_ & 0x00000400) != 0);\n }",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasInodeLastModificationTime() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }",
"public boolean isContentType()\n {\n return !hasChanges;\n }",
"public boolean hasTsUpdate() {\n return ((bitField0_ & 0x00000200) == 0x00000200);\n }",
"public boolean hasInodeLastModificationTime() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }",
"public boolean hasKeyType() {\n return fieldSetFlags()[2];\n }",
"boolean hasTsUpdate();",
"public boolean is_stored(String state_key){\n\t\treturn penalty_buffer.containsKey(state_key);\n\t}",
"public synchronized boolean hasChanged() {\n return changed;\n }",
"public boolean isModified();",
"public boolean isModified();",
"public boolean isSetType() {\n return this.type != null;\n }",
"public boolean isSetType() {\n return this.type != null;\n }",
"public boolean isSetType() {\n return this.type != null;\n }",
"public boolean hasB27() {\n return ((bitField0_ & 0x04000000) == 0x04000000);\n }",
"@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}",
"public boolean isBomItemsChanged() {\n\t\treturn bomItemsChanged;\n\t}",
"public boolean isBlockroomidModified() {\n return blockroomid_is_modified; \n }",
"public boolean isWorkInstructionKeysChanged() {\n\t\treturn workInstructionKeysChanged;\n\t}",
"public boolean hasB27() {\n return ((bitField0_ & 0x04000000) == 0x04000000);\n }",
"public boolean isModified() {\n return(!this.getText().equals(editBeginValue));\n }",
"public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}",
"public boolean isSetType() {\n return this.type != null;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000004) != 0);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"boolean hasMessageType();",
"public boolean hasType() {\n return ((bitField0_ & 0x00000004) != 0);\n }",
"public boolean isSetUpdateTime() {\n return __isset_bit_vector.get(__UPDATETIME_ISSET_ID);\n }",
"public boolean hasMent() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }"
] |
[
"0.7032434",
"0.6615933",
"0.6530374",
"0.6454003",
"0.63611406",
"0.6235634",
"0.600517",
"0.5981351",
"0.5944881",
"0.5876917",
"0.5874901",
"0.5818878",
"0.580688",
"0.5669224",
"0.5667859",
"0.5667859",
"0.5652674",
"0.56203514",
"0.5602522",
"0.5529853",
"0.5518632",
"0.5500936",
"0.54893786",
"0.5488367",
"0.54771113",
"0.5473655",
"0.54733884",
"0.54532903",
"0.54512984",
"0.542556",
"0.541817",
"0.541544",
"0.5414498",
"0.5406832",
"0.54066",
"0.54031503",
"0.5383727",
"0.53785336",
"0.53752536",
"0.53752536",
"0.5369467",
"0.53679895",
"0.5358643",
"0.5354944",
"0.5350958",
"0.5345685",
"0.53382105",
"0.5332083",
"0.5332083",
"0.53319544",
"0.53319544",
"0.5323487",
"0.5323124",
"0.5323124",
"0.5323124",
"0.5323012",
"0.5321354",
"0.5321354",
"0.5321354",
"0.5312727",
"0.5312727",
"0.5312727",
"0.529418",
"0.5289314",
"0.52868396",
"0.5285753",
"0.52781063",
"0.52693105",
"0.52664626",
"0.52640146",
"0.5261821",
"0.5261821",
"0.52551305",
"0.52551305",
"0.52551305",
"0.5250234",
"0.52320117",
"0.52291185",
"0.52289194",
"0.52250993",
"0.5216491",
"0.5214594",
"0.52102005",
"0.5209009",
"0.5207506",
"0.5206265",
"0.5201982",
"0.51987517",
"0.51973444",
"0.51778793",
"0.517451",
"0.5173598",
"0.5173533",
"0.5173533",
"0.5173533",
"0.5173533",
"0.5173533",
"0.5173533",
"0.5173533",
"0.5173533"
] |
0.85433716
|
0
|
Determines if the MTBTypesKey has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized.
|
public boolean isMTBTypesKeyInitialized() {
return MTBTypesKey_is_initialized;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isTypeInitialized() {\n return type_is_initialized; \n }",
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"protected void checkInitialized() {\n \tcheckState(this.breeder!=null && this.threads!=null, \"Local state was not correctly set after being deserialized.\");\n }",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"public boolean isSetTypes() {\n return this.types != null;\n }",
"public boolean isSetKeyfield() {\r\n return this.keyfield != null;\r\n }",
"public boolean isSetKeyfield() {\r\n return this.keyfield != null;\r\n }",
"public boolean isSetKeyfield() {\r\n return this.keyfield != null;\r\n }",
"public boolean isInitialization() {\n return (msgType == MessageType.HELLO);\n }",
"public static boolean isInitialized() {\n\t\treturn instance != null;\n\t}",
"public static synchronized boolean isEmpty() {\n\t\treturn ClassRegistry.dictionary.isEmpty();\n\t}",
"public boolean isInit() {\r\n\t\treturn isInit;\r\n\t}",
"public boolean hasKeyType() {\n return fieldSetFlags()[2];\n }",
"public static boolean isInitialized() {\n return (registry != null) && (endpointProvider != null);\n }",
"public boolean isSetKey() {\n return this.key != null;\n }",
"public boolean isInitialized()\n {\n return isInit;\n }",
"public static boolean isInitialized() {\n\t\treturn (dataProvider != null);\n\t}",
"static boolean isInitializing()\n\t{\n\t\treturn INITIALIZING.get();\n\t}",
"public boolean isSetKey() {\n return this.key != null;\n }",
"public boolean isSetKey() {\n return this.key != null;\n }",
"public boolean isSetKey() {\n return this.key != null;\n }",
"public boolean isInitialized() {\n return getNative().isInitialized();\n }",
"public boolean isBlockroomidInitialized() {\n return blockroomid_is_initialized; \n }",
"public boolean wasInitialized()\n {\n return this.isInitialized;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000004) != 0);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000004) != 0);\n }",
"public static boolean isInitialized() {\n\t\treturn mInitialized;\n\t}",
"public boolean hasType() {\n return fieldSetFlags()[0];\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean isSetKey() {\n return EncodingUtils.testBit(__isset_bitfield, __KEY_ISSET_ID);\n }",
"public boolean isSetKey() {\n return EncodingUtils.testBit(__isset_bitfield, __KEY_ISSET_ID);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public static boolean isInitialized() {\r\n return (isInitialized);\r\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public boolean hasVehicleType() {\n return vehicleTypeBuilder_ != null || vehicleType_ != null;\n }",
"private final synchronized boolean m12565b() {\n return this.f10287a.getAll().isEmpty();\n }",
"protected static boolean isInitialized(){\n return initialized;\n }",
"public boolean hasFieldTypeId() {\n return fieldTypeId_ != null;\n }",
"public boolean hasFieldTypeId() {\n return fieldTypeIdBuilder_ != null || fieldTypeId_ != null;\n }",
"public boolean getFieldTypeIdNull() {\n return fieldTypeIdNull_;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean initialized() {\n return true;\r\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean isRoomstidInitialized() {\n return roomstid_is_initialized; \n }",
"public boolean isSetTypeId()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(TYPEID$2) != 0;\n }\n }",
"public boolean isSetGibbmt()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(GIBBMT$4) != 0;\r\n }\r\n }",
"public boolean hasKey() {\n return keyBuilder_ != null || key_ != null;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }",
"public boolean isInitialized()\n {\n return initialized;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }",
"public boolean isSetMemberTypes()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(MEMBERTYPES$2) != null;\n }\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean isInitialized() {\n\t\treturn initialized;\n\t}",
"public boolean isInitialized() {\r\n return initialized;\r\n }",
"public boolean isSetTableType() {\n return this.tableType != null;\n }",
"public boolean isInitialized() {\n return initialized;\n }",
"public boolean isRoomstlogidInitialized() {\n return roomstlogid_is_initialized; \n }",
"boolean getFieldTypeIdNull();",
"public boolean isInitialized() {\n return initialized;\n }",
"public static boolean isInitialized(Object varRef) {\n return Builtins.isInitialized(varRef);\n }",
"public boolean getFieldTypeIdNull() {\n return fieldTypeIdNull_;\n }",
"public boolean isMTBTypesKeyModified() {\n return MTBTypesKey_is_modified; \n }",
"public boolean isInit() {\n\t\t\treturn this.gridIsInit;\n\t\t}",
"public boolean isInitialized();",
"@java.lang.Override public boolean hasType() {\n return ((bitField0_ & 0x00000001) != 0);\n }"
] |
[
"0.6642439",
"0.6146988",
"0.60629797",
"0.59277284",
"0.58265644",
"0.58094203",
"0.5804871",
"0.5804871",
"0.5804871",
"0.5775708",
"0.57381725",
"0.57091326",
"0.5661798",
"0.55828416",
"0.55824065",
"0.55530083",
"0.5546772",
"0.5539218",
"0.5531622",
"0.55246663",
"0.55246663",
"0.55246663",
"0.55097926",
"0.5506439",
"0.5504662",
"0.5503883",
"0.54896563",
"0.54869646",
"0.5473235",
"0.54700077",
"0.54685014",
"0.54685014",
"0.54581314",
"0.54522043",
"0.5449945",
"0.5437383",
"0.54367584",
"0.5432774",
"0.5430166",
"0.5422818",
"0.5419682",
"0.5419105",
"0.5419105",
"0.54186124",
"0.54186124",
"0.54144484",
"0.54058474",
"0.54058474",
"0.54058474",
"0.54055977",
"0.54054695",
"0.53962755",
"0.53928065",
"0.53866655",
"0.53864163",
"0.5383087",
"0.53795254",
"0.53767234",
"0.53767234",
"0.53767234",
"0.53767234",
"0.53767234",
"0.53767234",
"0.53767234",
"0.53767234",
"0.53767234",
"0.53767234",
"0.53759027",
"0.5375292",
"0.5375292",
"0.5375292",
"0.53733724",
"0.5365849",
"0.5361218",
"0.53599006",
"0.53599006",
"0.53599006",
"0.53599006",
"0.53599006",
"0.53599006",
"0.53599006",
"0.53599006",
"0.53599006",
"0.53599006",
"0.53583604",
"0.53583604",
"0.53583604",
"0.53512263",
"0.53468657",
"0.53454816",
"0.53440607",
"0.5334695",
"0.533408",
"0.53336",
"0.53316224",
"0.5328719",
"0.5320767",
"0.5283392",
"0.5277699",
"0.5267273"
] |
0.83086157
|
0
|
Getter method for type. Meta Data Information (in progress): full name: MTBTypes.type column size: 255 jdbc type returned by the driver: Types.VARCHAR
|
public String getType() {
return type;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public StrColumn getType() {\n return (StrColumn) (isText ? textFields.computeIfAbsent(\"type\", StrColumn::new) :\n getBinaryColumn(\"type\"));\n }",
"public StrColumn getType() {\n return delegate.getColumn(\"type\", DelegatingStrColumn::new);\n }",
"public StrColumn getType() {\n return delegate.getColumn(\"type\", DelegatingStrColumn::new);\n }",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"public Column.Type getType();",
"private String getSqLiteType(Class<?> value){\r\n\t\tString sn = value.getSimpleName();\r\n\t\tif(sn.equalsIgnoreCase(\"String\"))\r\n\t\t\treturn \"text\";\r\n\t\tif(sn.equalsIgnoreCase(\"int\") || sn.equalsIgnoreCase(\"Integer\") || \r\n\t\t sn.equalsIgnoreCase(\"long\") || sn.equalsIgnoreCase(\"Long\") || \r\n\t\t sn.equalsIgnoreCase(\"BigDecimal\")){\r\n\t\t\treturn \"integer\";\r\n\t\t}\r\n\t\tif(sn.equalsIgnoreCase(\"double\") || sn.equalsIgnoreCase(\"Double\") || \r\n\t\t sn.equalsIgnoreCase(\"float\") || sn.equalsIgnoreCase(\"Float\")){\r\n\t\t\treturn \"integer\";\r\n\t\t}\r\n\t\tif(sn.equalsIgnoreCase(\"byte[]\") || sn.equalsIgnoreCase(\"Byte[]\")){\r\n\t\t\treturn \"blob\";\r\n\t\t}\r\n\t\tthrow new NullPointerException(\"type not found \" + sn);\r\n\t}",
"fi.kapsi.koti.jpa.nanopb.Nanopb.FieldType getType();",
"com.google.cloud.datacatalog.FieldType getType();",
"public String get_type()\r\n\t{\r\n\t\treturn this.type;\r\n\t}",
"public java.lang.String getType()\n {\n return m_type;\n }",
"public String getType() {\n return (String) getObject(\"type\");\n }",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"Coding getType();",
"public String getType()\n {\n\treturn type;\n }",
"public String getType()\r\n\t{\r\n\t\treturn type;\r\n\t}",
"public String getType()\n \t{\n \t\treturn this.type;\n \t}",
"protected String getType() {\n\t\treturn type;\n\t}",
"java.lang.String getDataType();",
"public int getSqlType() { return _type; }",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"String getType() {\n return type;\n }",
"public String getType()\r\n {\r\n return type;\r\n }",
"public String getType() {\n\treturn type;\n }",
"public String getType(){\n\t\treturn type;\n\t}",
"public String getType(){\n\t\treturn type;\n\t}",
"public String getType(){\r\n\t\treturn this.type;\r\n\t}",
"public String getType(){\r\n return type;\r\n }",
"public String type(){\n\t\treturn type;\n\t}",
"public String getType()\n\t{\n\t\treturn type;\n\t}",
"String getType() {\r\n return this.type;\r\n }",
"public String getType() {\n return _type;\n }",
"public String getType() \n {\n return type;\n }",
"public String getType() {\r\r\n\t\treturn type;\r\r\n\t}",
"public String getType() {return type;}",
"public String getType()\n {\n return type;\n }",
"public String getType(){\n\treturn type;\n }",
"public String getType() {\n\t\treturn _type;\n\t}",
"private ColumnType typeOf(DataType type) {\n switch (type) {\n case _class:\n return ColumnType.nominal;\n case _float:\n return ColumnType.continuous;\n case _order:\n return ColumnType.ordinal;\n default:\n throw new IllegalArgumentException(\"Unknown type: \" + type);\n }\n }",
"@Override\n public com.google.protobuf.ByteString\n getTypeBytes() {\n Object ref = type_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n type_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Override\n public com.google.protobuf.ByteString\n getTypeBytes() {\n Object ref = type_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n type_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getType(){\n \treturn this.type;\n }",
"public String getType() {\r\n return type;\r\n }",
"public String getType() { return type; }",
"public java.lang.String getType() {\n return type;\n }",
"public java.lang.String getType() {\n return type;\n }",
"public String getType() {\n return m_type;\n }",
"public String getType() {\r\n return type;\r\n }",
"public String getType() {\r\n return type;\r\n }",
"public String getType() {\r\n return type;\r\n }",
"public String getType() {\r\n return type;\r\n }",
"public String getType() {\r\n return type;\r\n }",
"public String getType()\n {\n return type;\n }"
] |
[
"0.7976575",
"0.77308655",
"0.77308655",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7332169",
"0.7329325",
"0.71914244",
"0.71542853",
"0.7142458",
"0.7106052",
"0.70989263",
"0.7097384",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.70655864",
"0.7017275",
"0.7011706",
"0.699786",
"0.6994627",
"0.69882613",
"0.6984262",
"0.6979812",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.69718814",
"0.6961852",
"0.69618344",
"0.69573027",
"0.69451714",
"0.69451714",
"0.6943457",
"0.6943325",
"0.6942545",
"0.69394183",
"0.6931131",
"0.69269407",
"0.69256204",
"0.6922072",
"0.69216084",
"0.6921566",
"0.6920706",
"0.69168913",
"0.69096386",
"0.6906421",
"0.6906421",
"0.6903416",
"0.69021636",
"0.6901394",
"0.6899668",
"0.6899668",
"0.6891858",
"0.68879926",
"0.68879926",
"0.68879926",
"0.68879926",
"0.68879926",
"0.68866754"
] |
0.69103616
|
85
|
Setter method for type. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'.
|
public void setType(String newVal) {
if ((newVal != null && this.type != null && (newVal.compareTo(this.type) == 0)) ||
(newVal == null && this.type == null && type_is_initialized)) {
return;
}
this.type = newVal;
type_is_modified = true;
type_is_initialized = true;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setType(TLPropertyType type) {\n ModelEvent<?> event = new ModelEventBuilder( ModelEventType.TYPE_ASSIGNMENT_MODIFIED, this )\n .setOldValue( this.type ).setNewValue( type ).buildEvent();\n\n this.type = type;\n publishEvent( event );\n }",
"@Override\n\tpublic void setType(Type t) {\n\t\theldObj.setType(t);\n\t}",
"public void setType(Object newType) {\n if (newType == null && type == null) {\n return;\n }\n\n if (type == null || !type.equals(newType)) {\n Object oldType = type;\n type = newType;\n listeners.firePropertyChange(PROPERTY_TYPE, oldType, type);\n }\n }",
"public void setType(String newValue);",
"public void setType(String newValue);",
"public abstract Object adjust(Object value, T type);",
"public native final EditorBaseEvent changedType(String val) /*-{\n\t\tthis.changedType = val;\n\t\treturn this;\n\t}-*/;",
"public void setType(Type t) {\n type = t;\n }",
"void changeType(NoteTypes newType) {\n this.type = newType;\n }",
"public void changeToType(TYPE type){\n this.type=type;\n return;\n }",
"public void setT(Type t) {\n \t\tthis.t = t;\n \t}",
"public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }",
"public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }",
"public void setType(Type t) {\n\t\ttype = t;\n\t}",
"public void setValueType(int newValueType) {\n\t\t\tvalueType = newValueType;\n\t\t}",
"protected void setValue(T value) {\r\n this.value = value;\r\n }",
"void setType(Type type)\n {\n this.type = type;\n }",
"public void setType( Type type ) {\n assert type != null;\n this.type = type;\n }",
"public void setMailType(int v) \n {\n \n if (this.mailType != v)\n {\n this.mailType = v;\n setModified(true);\n }\n \n \n }",
"public void setType(Object type)\r\n {\r\n\tthis.type = type;\r\n }",
"public abstract void setValue(T value);",
"@JSProperty(\"type\")\n void setType(Type value);",
"protected void setType(String newType) {\n\t\ttype = newType;\n\t}",
"public Builder setType(Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }",
"public void setValue(int type)\r\n\t{\r\n\t\tif(type < NONE || type > CENTIMETER)\r\n\t\t{\r\n\t\t\tthrow new IllegalArgumentException(\"type < NONE || type > CENTIMETER\");\r\n\t\t}\r\n\t\tsuper.setShort(0, (short)type);\r\n\t}",
"public Type getType()\n\t{\n\t\tif (_oldValue == null)\n\t\t{\n\t\t\treturn Type.ADDED;\n\t\t}\n\t\telse if (_newValue == null)\n\t\t{\n\t\t\treturn Type.REMOVED;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn Type.CHANGED;\n\t\t}\n\t}",
"public void change_type(int type_){\n\t\ttype = type_;\n\t\tif(type != 0)\n\t\t\toccupe = 1;\n\t}",
"@Override\n public T setValue(T newValue) {\n return entry.getValue().setValue(newValue);\n }",
"public void setValue(T value) {\n this.value = value;\n }",
"void setValue(T value)\n\t\t{\n\t\t\tthis.value = value;\n\t\t}",
"public void setValue(T value) \n\t{\n\t\tthis.value = value;\n\t}",
"public void setType(java.lang.String newType) {\n\ttype = newType;\n}",
"public void setCustomerType(int v) \n {\n \n if (this.customerType != v)\n {\n this.customerType = v;\n setModified(true);\n }\n \n \n }",
"public boolean isTypeModified() {\n return type_is_modified; \n }",
"@Override\r\n\tpublic void setTipo(Tipo t) {\n\t\t\r\n\t}",
"public void setValue(T r) {\n\t\tthis.r = r;\n\t\t// needToNotify = false;\n\t\tmController.onRecordModified(this);\n\t}",
"public void setValue(Object value) { this.value = value; }",
"public void attemptSet(V after)\n\t{\n\t\t// Editable\n\t\tif ( ! this.getProperty().isEditable())\n\t\t{\n\t\t\tmsg(\"<b>The property <h>%s<b> is not editable.\", this.getProperty().getDisplayName());\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// Inherited / Source / Before\n\t\tEntry<O, V> inherited = this.getInheritedEntry();\n\t\tO source = inherited.getKey();\n\t\tV before = inherited.getValue();\n\t\t\n\t\t// Event\n\t\tEventMassiveCoreEditorEdit<O, V> event = new EventMassiveCoreEditorEdit<>(this, source, before, after);\n\t\tevent.run();\n\t\tif (event.isCancelled()) return;\n\t\tafter = event.getAfter();\n\t\t\n\t\t// NoChange\n\t\t// We check, inform and cancel on equality.\n\t\t// For this to count the source must be the object itself.\n\t\tif (MUtil.equals(this.getObject(), source) && this.getValueType().equals(before, after))\n\t\t{\n\t\t\tmessage(this.attemptSetNochangeMessage());\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tthis.attemptSetPerform(after);\n\t}",
"public void setValue(final Object value) { _value = value; }",
"public void setType(String value) {\n this.type = value;\n }",
"public void setType(type type) {\r\n\t\tthis.Type = type;\r\n\t}",
"public void setRoomtypeid(Integer newVal) {\n if ((newVal != null && this.roomtypeid != null && (newVal.compareTo(this.roomtypeid) == 0)) || \n (newVal == null && this.roomtypeid == null && roomtypeid_is_initialized)) {\n return; \n } \n this.roomtypeid = newVal; \n roomtypeid_is_modified = true; \n roomtypeid_is_initialized = true; \n }",
"void setValue(T value);",
"void setValue(T value);",
"public void makeSameAs(TypeQualifierValueSet source) {\n reset(source.state);\n this.valueMap.putAll(source.valueMap);\n copySourceSinkInfoSetMap(this.whereAlways, source.whereAlways);\n copySourceSinkInfoSetMap(this.whereNever, source.whereNever);\n }",
"@Override\n public void setValue(Object val)\n {\n value = val;\n }",
"public void setType(String val) {\n type = val;\n }",
"public void setObjtype(short newValue) {\n\tthis.objtype = newValue;\n}",
"public void setValue(T value) {\n\t\tthis.value = value;\n\t}",
"public void setValue(T value) {\n\t\tthis.value = value;\n\t}",
"public void setField(String fieldName, String value, Class type) {\n Field field;\n try {\n field = this.getClass().getField(fieldName);\n } catch (NoSuchFieldException e) {\n log.error(String.format(\"Data record does not have field - %s. Error: %s\", fieldName, e.getMessage()));\n return;\n }\n\n final String typeString = type.toString();\n\n if (typeString.equals(Double.class.toString())) {\n setDouble(field, value);\n } else if (typeString.equals(String.class.toString())) {\n setString(field, value);\n }\n }",
"public void setValue(/* @Nullable */ final T value) {\n this.value = value;\n }",
"private void setType(String type) {\n mType = type;\n }",
"public void setType(String newtype)\n {\n type = newtype;\n }",
"public <T> void set(String key, T value, Class<T> type) {\n this.data.put(key, value);\n }",
"public void setMTBTypesKey(Long newVal) {\n if ((newVal != null && this.MTBTypesKey != null && (newVal.compareTo(this.MTBTypesKey) == 0)) || \n (newVal == null && this.MTBTypesKey == null && MTBTypesKey_is_initialized)) {\n return; \n } \n\n if(this.MTBTypesKeyOriginal == null) {\n this.MTBTypesKeyOriginal = newVal;\n }\n this.MTBTypesKey = newVal; \n\n MTBTypesKey_is_modified = true; \n MTBTypesKey_is_initialized = true; \n }",
"public void setType(int t){\n this.type = t;\n }",
"public void setType(String t) {\n\ttype = t;\n }",
"public void setType(Type type){\n\t\tthis.type = type;\n\t}",
"public void set_type(String t)\n {\n type =t;\n }",
"public void setType(int t) {\r\n\t\ttype = t;\r\n\t}",
"public void setType(int type) {\n type_ = type;\n }",
"UpdateType updateType();",
"public void setOldProperty_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localOldProperty_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localOldProperty_descriptionType=param;\n \n\n }",
"public void setType(Type type) {\n this.type = type;\n }",
"public void setType(Type type) {\n this.type = type;\n }",
"public void setType(Type type) {\n this.type = type;\n }",
"public void setFoxType(@NotNull Type type);",
"void setOrderType(OrderType inOrderType);",
"public boolean isSetType() {\n return this.type != null;\n }",
"public boolean isSetType() {\n return this.type != null;\n }",
"public boolean isSetType() {\n return this.type != null;\n }",
"public void setType(int value) {\n this.type = value;\n }",
"public void setOldValues_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localOldValues_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localOldValues_descriptionType=param;\n \n\n }",
"public abstract void setType();",
"public void setType(String type)\r\n {\r\n this.mType = type;\r\n }",
"public void setType(String type) {\n m_Type = type;\n }",
"public void setData(T val) {\r\n\t\tthis.val = val;\r\n\t}",
"public void set(T pValue) {\n mValue = pValue;\n }",
"public void setValue(A value) {this.value = value; }",
"public void setTipo(Object tipo2) {\n\t\t\n\t}",
"public getType_result(getType_result other) {\n __isset_bitfield = other.__isset_bitfield;\n this.success = other.success;\n }",
"protected void setType(String requiredType){\r\n type = requiredType;\r\n }",
"public void setValue2(Object value2) { this.value2 = value2; }",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"public boolean isSetType() {\n return this.type != null;\n }",
"void setForPersistentMapping_Type(Type type) {\n this.type = type;\n }",
"public void setType(long type) {\r\n this.type = type;\r\n }",
"public void setType(String type);",
"public void setType(String type);",
"public void setType(String type);",
"public void setValueClass(Class<? extends Type> valueClass) {\n this.valueClass = valueClass;\n }",
"public void setType(String t) {\n\t\tthis.type = t;\n\t}",
"void update(Type type);",
"public native final String changedType() /*-{\n\t\treturn this.changedType;\n\t}-*/;",
"public void setType (String typ) {\n type = typ;\n }",
"public setType_args(setType_args other) {\n __isset_bitfield = other.__isset_bitfield;\n this.type = other.type;\n }",
"public void setValue(Object val);",
"public BlurPackedObject(BlurPackedObject other) {\n __isset_bitfield = other.__isset_bitfield;\n this.parentId = other.parentId;\n if (other.isSetType()) {\n this.type = other.type;\n }\n if (other.isSetValue()) {\n this.value = new Value(other.value);\n }\n }",
"public void setValue(Object value);"
] |
[
"0.64192325",
"0.6161918",
"0.606914",
"0.59796757",
"0.59796757",
"0.5932877",
"0.5921126",
"0.5841422",
"0.58390695",
"0.5832131",
"0.5778471",
"0.5769274",
"0.5760427",
"0.5759284",
"0.57334787",
"0.564653",
"0.5636203",
"0.5615129",
"0.5565983",
"0.555888",
"0.55567497",
"0.5537322",
"0.5535694",
"0.55300975",
"0.5527727",
"0.5525839",
"0.55191904",
"0.5518194",
"0.5502791",
"0.55025667",
"0.5462529",
"0.545439",
"0.54480356",
"0.5431422",
"0.5430492",
"0.5428827",
"0.5426224",
"0.54209894",
"0.539762",
"0.5388039",
"0.5383737",
"0.5358906",
"0.534494",
"0.534494",
"0.5337598",
"0.5332097",
"0.5321809",
"0.53202534",
"0.5317888",
"0.5317888",
"0.53067374",
"0.53002113",
"0.5295774",
"0.52890354",
"0.52888846",
"0.52580005",
"0.52530354",
"0.5249274",
"0.5246961",
"0.5242518",
"0.5230719",
"0.5223342",
"0.52177566",
"0.52071565",
"0.52044713",
"0.52044713",
"0.52044713",
"0.51913315",
"0.5187515",
"0.51773083",
"0.51773083",
"0.51773083",
"0.5174535",
"0.5155173",
"0.51520586",
"0.5141969",
"0.5131118",
"0.51307285",
"0.51279265",
"0.51266795",
"0.5122406",
"0.51213616",
"0.51205117",
"0.5120402",
"0.5116964",
"0.51149017",
"0.5113493",
"0.51108205",
"0.5102151",
"0.5102151",
"0.5102151",
"0.5101614",
"0.5093803",
"0.5093065",
"0.5092561",
"0.50886506",
"0.5086378",
"0.50834966",
"0.5082355",
"0.5082084"
] |
0.69852644
|
0
|
Determines if the type has been modified.
|
public boolean isTypeModified() {
return type_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isModified()\n {\n // a class is only modifiable after it is loaded\n if (!m_fLoaded)\n {\n return m_fModified;\n }\n\n if (m_fModified || m_abClazz == null || m_pool.isModified())\n {\n return true;\n }\n\n // check all other VM sub-structures\n StringTable[] atbl = CONTAINED_TABLE;\n for (int i = 0; i < atbl.length; ++i)\n {\n Enumeration enmr = atbl[i].elements();\n while (enmr.hasMoreElements())\n {\n if (((VMStructure) enmr.nextElement()).isModified())\n {\n return true;\n }\n }\n }\n\n return false;\n }",
"public boolean isChangeType()\n {\n return hasChanges;\n }",
"public boolean isTypeSpecificChange()\r\n {\r\n return myDTIKey != null;\r\n }",
"public boolean isMTBTypesKeyModified() {\n return MTBTypesKey_is_modified; \n }",
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate_is_modified;\n }",
"boolean isModified();",
"boolean isModified();",
"public boolean isModified();",
"public boolean isModified();",
"public boolean isRoomtypeidModified() {\n return roomtypeid_is_modified; \n }",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isStModified() {\n return st_is_modified; \n }",
"boolean isOssModified();",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"public boolean isModified()\n\t{\n\t\treturn isModified;\n\t}",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"public final boolean isModified() {\n return this.modified;\n }",
"public boolean isModified() {\n return isModified;\n }",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"public boolean isMaybeModified() {\n if (Options.get().isModifiedDisabled())\n return !isUnknown(); // if we don't use the modified flag, use the fact that unknown implies non-modified\n return (flags & MODIFIED) != 0;\n }",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"public boolean isTreeModified() {\n return FxContext.get().getTreeWasModified();\n }",
"public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }",
"public boolean isContentType()\n {\n return !hasChanges;\n }",
"public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}",
"public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}",
"boolean shouldModify();",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}",
"public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }",
"public boolean isChanged() {\n return this.changed;\n }",
"public boolean isModification()\n {\n return isModification;\n }",
"public final boolean hasModifyDateTime() {\n \treturn m_modifyDate != 0L ? true : false;\n }",
"public boolean isSyntheticUpdate()\n {\n boolean fResult = false;\n\n switch (m_syntheticKind)\n {\n case JCACHE_SYNTHETIC_CLEAR:\n case JCACHE_SYNTHETIC_UPDATE:\n fResult = true;\n break;\n\n case JCACHE_SYNTHETIC_NONE:\n case JCACHE_SYNTHETHIC_LOADED:\n fResult = false;\n break;\n }\n\n return fResult;\n }",
"public boolean isSetType() {\n return this.type != null;\n }",
"public boolean isSetType() {\n return this.type != null;\n }",
"public boolean isSetType() {\n return this.type != null;\n }",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"public boolean isChanged() {\r\n return isChanged;\r\n }",
"public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }",
"private static boolean isOriginalTsType(TsType type) {\n if (type instanceof TsType.BasicType) {\n TsType.BasicType basicType = (TsType.BasicType)type;\n return !(basicType.name.equals(\"null\") || basicType.name.equals(\"undefined\"));\n }\n return true;\n }",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public synchronized boolean hasChanged() {\n return changed;\n }",
"public boolean isSetType() {\n return this.type != null;\n }",
"boolean replacementfor(Type o);",
"public void isChanged()\n\t{\n\t\tchange = true;\n\t}",
"public boolean is( Type type ) {\n return this.type == type;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"@Override\n public boolean isModified() {\n return true;\n }",
"public boolean changeMade()\n {\n return isChanged;\n }",
"@WorkflowAction(loggable = false)\n public boolean isModified()\n throws WorkflowException, MappingException, RepositoryException, RemoteException;",
"public boolean isModified() {\n return(!this.getText().equals(editBeginValue));\n }",
"public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000004) != 0);\n }",
"public boolean getModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean hasInodeLastModificationTime() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }",
"public boolean isDirty();",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public boolean hasInodeLastModificationTime() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }",
"@Override\r\n public boolean hasContentModified(ContainerUser context)\r\n {\n return hasDescriptorPropertyChanged(ReportDescriptor.Prop.json.name());\r\n }",
"boolean hasTsUpdate();",
"public boolean hasType() {\n return ((bitField0_ & 0x00000004) != 0);\n }",
"public boolean hasTsUpdate() {\n return fieldSetFlags()[11];\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public native final String changedType() /*-{\n\t\treturn this.changedType;\n\t}-*/;",
"Boolean getIsChanged();",
"public boolean hasType() {\n return fieldSetFlags()[0];\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }"
] |
[
"0.7436801",
"0.7340483",
"0.72645336",
"0.71275085",
"0.71155256",
"0.70415795",
"0.70415795",
"0.7017722",
"0.7017722",
"0.6938911",
"0.69247544",
"0.6843812",
"0.6830764",
"0.6827865",
"0.67750645",
"0.6767842",
"0.6696803",
"0.6690016",
"0.6679001",
"0.6629228",
"0.6614861",
"0.6537716",
"0.6522413",
"0.6481341",
"0.64737445",
"0.64720017",
"0.6471721",
"0.6445862",
"0.642262",
"0.638978",
"0.6364457",
"0.6359715",
"0.63366646",
"0.6335598",
"0.6285231",
"0.627408",
"0.62707424",
"0.62647897",
"0.6259338",
"0.6255491",
"0.62504613",
"0.62504613",
"0.62504613",
"0.6239581",
"0.6233847",
"0.62325716",
"0.62227625",
"0.62123334",
"0.6191091",
"0.6191091",
"0.6191091",
"0.61899585",
"0.61899585",
"0.61899585",
"0.6178269",
"0.61782265",
"0.61742127",
"0.6166853",
"0.61640847",
"0.61625314",
"0.61547524",
"0.61521864",
"0.61502826",
"0.6149821",
"0.61479163",
"0.61403006",
"0.61403006",
"0.61403006",
"0.6140237",
"0.6139924",
"0.6133059",
"0.6133059",
"0.6132813",
"0.6132813",
"0.61062723",
"0.61032087",
"0.60979253",
"0.6093568",
"0.6090716",
"0.60897756",
"0.6088327",
"0.6085279",
"0.60845274",
"0.60772973",
"0.6075863",
"0.6072877",
"0.6072616",
"0.6072616",
"0.6072616",
"0.6072616",
"0.6072616",
"0.6072616",
"0.6072616",
"0.6072616",
"0.6072616",
"0.6072616",
"0.6070122",
"0.6061001",
"0.60598814",
"0.6057255"
] |
0.85214776
|
0
|
Determines if the type has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized.
|
public boolean isTypeInitialized() {
return type_is_initialized;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"public boolean isMTBTypesKeyInitialized() {\n return MTBTypesKey_is_initialized; \n }",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"public boolean wasInitialized()\n {\n return this.isInitialized;\n }",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"public static boolean isInitialized() {\n\t\treturn instance != null;\n\t}",
"static boolean isInitializing()\n\t{\n\t\treturn INITIALIZING.get();\n\t}",
"public boolean hasType() {\n return fieldSetFlags()[0];\n }",
"public boolean isInit() {\r\n\t\treturn isInit;\r\n\t}",
"public static boolean isInitialized() {\n\t\treturn mInitialized;\n\t}",
"public boolean isInitialized()\n {\n return isInit;\n }",
"public static boolean isInitialized() {\r\n return (isInitialized);\r\n }",
"public boolean initialized()\n\t{\n\t\treturn mInitialized;\n\t}",
"public boolean isInitialized() {\n\t\treturn initialized;\n\t}",
"public boolean isInitialized()\n {\n return initialized;\n }",
"public boolean initialized() {\n return true;\r\n }",
"private void referenceTypeIsInitialized(Instruction o, ReferenceType r){\n\t\tif (r instanceof UninitializedObjectType){\n\t\t\tconstraintViolated(o, \"Working on an uninitialized object '\"+r+\"'.\");\n\t\t}\n\t}",
"public boolean isInitialized() {\n return initialized;\n }",
"public boolean isNullOrUndef() {\n checkNotPolymorphicOrUnknown();\n return (flags & (NULL | UNDEF)) != 0\n && (flags & (NUM | STR | BOOL)) == 0 && num == null && str == null && object_labels == null && getters == null && setters == null;\n }",
"public boolean isInitialized() {\n return getNative().isInitialized();\n }",
"public boolean isInitialized() {\n return initialized;\n }",
"protected boolean acceptUninitializedField(Field f) {\n return false;// by default all property need to be initialized after setup.\n }",
"public boolean isInitialized() {\r\n return initialized;\r\n }",
"protected void checkInitialized() {\n \tcheckState(this.breeder!=null && this.threads!=null, \"Local state was not correctly set after being deserialized.\");\n }",
"public boolean isInitialization() {\n return (msgType == MessageType.HELLO);\n }",
"public boolean isStInitialized() {\n return st_is_initialized; \n }",
"public boolean isInitialized()\n {\n return this.initialized;\n }",
"public static boolean isInitialized() {\n\t\treturn (dataProvider != null);\n\t}",
"public static boolean isInitialized(Object varRef) {\n return Builtins.isInitialized(varRef);\n }",
"protected static boolean isInitialized(){\n return initialized;\n }",
"public static boolean isInitialized() {\n return (registry != null) && (endpointProvider != null);\n }",
"public boolean isInitialized()\n\t{\n\t\treturn isInitialized;\n\t}",
"public boolean isRoomstidInitialized() {\n return roomstid_is_initialized; \n }",
"public boolean isLogdateInitialized() {\n return logdate_is_initialized; \n }",
"public boolean isRoomstlogidInitialized() {\n return roomstlogid_is_initialized; \n }",
"public boolean getFieldTypeIdNull() {\n return fieldTypeIdNull_;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000004) != 0);\n }",
"public boolean isInitialized();",
"public boolean hasFieldTypeId() {\n return fieldTypeId_ != null;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000004) != 0);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public boolean getFieldTypeIdNull() {\n return fieldTypeIdNull_;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public boolean isRoomidInitialized() {\n return roomid_is_initialized; \n }",
"public boolean isRegdateInitialized() {\n return regdate_is_initialized; \n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean isInit() {\n\t\t\treturn this.gridIsInit;\n\t\t}",
"public boolean isDescriptionInitialized() {\n return description_is_initialized; \n }",
"public boolean getInit() {\r\n\t\treturn init;\r\n\t}",
"public boolean isCreateDateInitialized() {\n return createDate_is_initialized; \n }",
"public boolean hasFieldTypeId() {\n return fieldTypeIdBuilder_ != null || fieldTypeId_ != null;\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"boolean isOnlyAssignedInInitializer();",
"@Override\n public boolean isInitialized(){\n return isInitialized;\n }",
"boolean getFieldTypeIdNull();",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean isStatusdateInitialized() {\n return statusdate_is_initialized; \n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean isInitialized() {\n return (WINDOW != null && WINDOW_BORDER != null);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public static boolean loggerIsInitialized() {\r\n\t\treturn loggerIsInitialized;\r\n\t}",
"public boolean isSetTypes() {\n return this.types != null;\n }",
"public static boolean isInitialized() {\n Object object = zzc;\n synchronized (object) {\n return false;\n }\n }",
"public boolean isSetTableType() {\n return this.tableType != null;\n }",
"@java.lang.Override public boolean hasType() {\n return ((bitField0_ & 0x00000001) != 0);\n }"
] |
[
"0.66412777",
"0.64518064",
"0.64485115",
"0.6360571",
"0.6351195",
"0.6334132",
"0.6304253",
"0.6293616",
"0.62812287",
"0.62327594",
"0.6217423",
"0.61760885",
"0.6126925",
"0.612174",
"0.61028147",
"0.6100802",
"0.6100669",
"0.60995674",
"0.6091154",
"0.6083469",
"0.60760653",
"0.6075228",
"0.606926",
"0.6009951",
"0.6008126",
"0.5987367",
"0.59768856",
"0.5965107",
"0.5964009",
"0.59049183",
"0.5903375",
"0.5894888",
"0.5894489",
"0.58566743",
"0.5851808",
"0.5843078",
"0.58406264",
"0.5831096",
"0.5830293",
"0.5819674",
"0.5764833",
"0.5755775",
"0.5751051",
"0.5717463",
"0.57147765",
"0.5711649",
"0.5711649",
"0.5711649",
"0.5711649",
"0.5711649",
"0.5711649",
"0.5711649",
"0.5711649",
"0.5711649",
"0.5711649",
"0.5710319",
"0.56893265",
"0.56877583",
"0.56877583",
"0.56877583",
"0.56877583",
"0.56877583",
"0.56877583",
"0.56877583",
"0.56877583",
"0.56877583",
"0.56877583",
"0.56869185",
"0.56857425",
"0.5683727",
"0.5679541",
"0.5678498",
"0.5672615",
"0.5666551",
"0.56664455",
"0.56556994",
"0.56518775",
"0.56518775",
"0.5651119",
"0.5651119",
"0.56504315",
"0.56489927",
"0.56473106",
"0.56473106",
"0.56473106",
"0.56463504",
"0.56423765",
"0.56423765",
"0.56423765",
"0.5641824",
"0.5641658",
"0.5640501",
"0.5629316",
"0.5629316",
"0.5629316",
"0.56245506",
"0.5588405",
"0.5575412",
"0.5571723",
"0.55605096"
] |
0.7840435
|
0
|
Getter method for description. Meta Data Information (in progress): full name: MTBTypes.description column size: 255 jdbc type returned by the driver: Types.VARCHAR
|
public String getDescription() {
return description;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n\t@Column(name = \"leadTypeDescription\", length = 128, nullable = true)\n\tpublic String getDescription()\n\t{\n\t\treturn super.getDescription();\n\t}",
"public int getDescriptionType(){\n return localDescriptionType;\n }",
"public String getData_type_desc() {\n return data_type_desc;\n }",
"@Column(name = \"DESCRIPTION\", length = 200 )\n public String getDescription() {\n return description;\n }",
"public abstract DataTypeDescription<T> getDescription();",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Override\n\tpublic String getType() {\n\t\treturn this.description.getType();\n\t}",
"@Override\n public com.google.protobuf.ByteString\n getDescriptionBytes() {\n Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Column(name = \"description\", nullable = false)\n public String getDescription() {\n\treturn this.description;\n }",
"public DescriptionType descriptionType() {\n return this.descriptionType;\n }",
"public com.google.protobuf.ByteString\n getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getDescription() {\n return getGenericFieldValue(\"Description\");\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\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 description_ = s;\n }\n return s;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDescriptionBytes() {\n java.lang.Object ref = description_;\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 description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"public String getDescription(){\n\n //returns the value of the description field\n return this.description;\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\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 description_ = s;\n return s;\n }\n }",
"java.lang.String getDesc();",
"public String getFieldDescription()\n {\n return m_strDescription;\n }",
"public com.google.protobuf.ByteString\n getDescriptionBytes() {\n Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDescriptionBytes() {\n java.lang.Object ref = description_;\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 description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Updatable\n public String getDescription() {\n return description;\n }",
"public String getDesc()\r\n {\r\n return description;\r\n }",
"@Override\n public String getDescription() {\n Object ref = description_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"java.lang.String getDescription();",
"java.lang.String getDescription();",
"java.lang.String getDescription();",
"java.lang.String getDescription();",
"java.lang.String getDescription();",
"java.lang.String getDescription();",
"java.lang.String getDescription();",
"java.lang.String getDescription();",
"java.lang.String getDescription();",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\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 description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getDESCRIPTION() {\r\n return DESCRIPTION;\r\n }",
"public String getDescription(){\r\n \tString retVal = this.description;\r\n return retVal;\r\n }",
"public String getDescr() {\r\n return descr;\r\n }",
"public String getDescription() {\n return metadata_.description;\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescr() {\n\t\treturn _descr;\n\t}",
"public String getDescr() {\n\t\treturn _descr;\n\t}",
"public String getDesc(){\r\n\t\treturn this.desc;\r\n\t}",
"@Override\r\n\tpublic String getDescription() {\n\t\treturn description;\r\n\t}",
"@Override\n\tpublic String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription()\r\n\t{\treturn this.description;\t}",
"public java.lang.String getDescription(){\r\n return this.description;\r\n }",
"public String getDescription()\r\n {\r\n\treturn desc;\r\n }",
"public static String getTypeDescription() {\n\t\tDecimalFormat df = new DecimalFormat(\"#.00\");\n\t\treturn \"Type: \" + type + \"\\nPrice: $\" + df.format(price) + \"\\nDescription: \" + description + \"\\nHappiness: \" + happiness +\n\t\t\t\t\"\\nHealth: \" + health;\n\t}",
"public String getDescription()\r\n\t{\r\n\t\treturn description;\r\n\t}",
"@Override\n\tpublic String getdescription() {\n\t\treturn this.description.getDesc();\n\t}",
"public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }",
"public String getDescription() {\r\n return _description;\r\n }",
"public String getDescription() {\r\n return Description; \r\n }",
"public String getDescription()\r\n {\r\n return this.aDescription ;\r\n }",
"public java.lang.Object getDescription() {\n return description;\n }",
"public String getDescription() {\r\n return DESCRIPTION;\r\n }",
"public String getDescription(){return description;}",
"public String getDescription(){return description;}",
"public String get_description() {\n return description;\n }",
"@Override\r\n\tpublic String getDescription() {\n\t\treturn this.description;\r\n\t}",
"public String getDescription() {\n Object ref = description_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"String getdescription() {\n\t\treturn description;\n\t}",
"public String getDescription() { return description; }",
"@Override\n public String getDescription() {\n return description;\n }",
"@Override\n public String getDescription()\n {\n return m_description;\n }",
"@Override\n public String getDescription() {\n return description;\n }",
"public String description(){\n return this.DESCRIPTION;\n }",
"public String getDescription()\n\t{\n\t\treturn description;\n\t}",
"public String getDescription() {\n return sdesc;\n }",
"public String getDescription() {\n return description;\n }",
"public String getDescription(int displayType) {\n\t\treturn null;\n\t}",
"public String getLongDescriptionFor(String type) {\n ProtocolMetadata metadata = types.get(type);\n if (metadata != null) {\n return metadata.getDescription();\n } else {\n return null;\n }\n }",
"public String getDescription()\n {\n return description;\n }",
"public String getDescription()\n/* */ {\n/* 74 */ return this.description;\n/* */ }",
"public int getOldValues_descriptionType(){\n return localOldValues_descriptionType;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }"
] |
[
"0.7787579",
"0.74056375",
"0.7298159",
"0.709487",
"0.70227486",
"0.69170266",
"0.69170266",
"0.69170266",
"0.69170266",
"0.69170266",
"0.6900209",
"0.68937093",
"0.6828805",
"0.6815249",
"0.6814033",
"0.6799104",
"0.67987657",
"0.67969525",
"0.67813146",
"0.67813146",
"0.67813146",
"0.67813146",
"0.67813146",
"0.6780179",
"0.6780179",
"0.6780179",
"0.6780179",
"0.6780179",
"0.67594063",
"0.6731118",
"0.6717993",
"0.6712892",
"0.670896",
"0.67086667",
"0.6700672",
"0.6690625",
"0.6677481",
"0.6660478",
"0.66439676",
"0.66439676",
"0.66439676",
"0.66439676",
"0.66439676",
"0.66439676",
"0.66439676",
"0.66439676",
"0.66439676",
"0.6643124",
"0.66370356",
"0.66282976",
"0.6617213",
"0.6615043",
"0.6610304",
"0.6605601",
"0.6605601",
"0.6605601",
"0.6605601",
"0.6605601",
"0.6576317",
"0.6576317",
"0.6576317",
"0.6576317",
"0.6574591",
"0.6574591",
"0.65722156",
"0.65679836",
"0.6565025",
"0.6559589",
"0.6553529",
"0.6550685",
"0.65462124",
"0.6545486",
"0.65397024",
"0.65388334",
"0.65381825",
"0.65268403",
"0.65205365",
"0.6513482",
"0.65037507",
"0.6498279",
"0.6498279",
"0.6496095",
"0.6493873",
"0.6492174",
"0.64862216",
"0.6471875",
"0.64673436",
"0.6466545",
"0.6460463",
"0.64598024",
"0.64597255",
"0.6457582",
"0.6455887",
"0.64545757",
"0.6453633",
"0.6448283",
"0.6435808",
"0.64357543",
"0.6435275",
"0.6435275"
] |
0.6465101
|
88
|
Setter method for description. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'.
|
public void setDescription(String newVal) {
if ((newVal != null && this.description != null && (newVal.compareTo(this.description) == 0)) ||
(newVal == null && this.description == null && description_is_initialized)) {
return;
}
this.description = newVal;
description_is_modified = true;
description_is_initialized = true;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setDescription(String newDesc){\n\n //assigns the value of newDesc to the description field\n this.description = newDesc;\n }",
"public void setDescription(String description) {\n this.description = description;\n this.updated = new Date();\n }",
"public void setDescription(String newValue);",
"public void setDescription(String newValue);",
"public void setDescription(String description) {\n this.description = description;\r\n // changeSupport.firePropertyChange(\"description\", oldDescription, description);\r\n }",
"public void setDescription(String newDescription)\n\t{\n\t\tdescription = newDescription;\n\t\tdateModified = new Date();\n\t}",
"public void setDescription(String value) {\r\n this.description = value;\r\n }",
"public void setDescription(String description) {\r\n\t\tif (this.compareFields(this.description, description)) {\r\n\t\t\tthis.fireUpdatePendingChanged(true);\r\n\t\t}\r\n\t\tthis.description = description != null ? description.trim() : null;\r\n\t}",
"public void setOldProperty_description(java.lang.String param){\n localOldProperty_descriptionTracker = true;\n \n this.localOldProperty_description=param;\n \n\n }",
"public void setDescription(String value) {\n this.description = value;\n }",
"private void setDescription(String description)\n {\n if (null == description)\n m_description = \"\";\n else\n m_description = description;\n }",
"public void setValueDescription(String description) {\n this.valueDescription = description;\n }",
"public void setDescription(String description) {\n if (!isSame(description, super.getDescription()) || this.description != null) {\r\n this.description = description;\r\n super.setDescription(description);\r\n }\r\n }",
"public void setDescription(String newdescription) {\n description=newdescription;\n }",
"public void setOldValues_description(java.lang.String param){\n localOldValues_descriptionTracker = true;\n \n this.localOldValues_description=param;\n \n\n }",
"public void setDescription(String s) {\n if (s == null && shortDescription == null) {\n return;\n }\n\n if (s == null || !s.equals(shortDescription)) {\n String oldDescrption = shortDescription;\n shortDescription = s;\n listeners.firePropertyChange(PROPERTY_DESCRIPTION, oldDescrption,\n shortDescription);\n }\n }",
"@Override\n\t\tpublic String getValueDescription() {\n\t\t\treturn \"propertytoCheck=\" + expectpedValueOfPropertyToCheck + \"; propertytoChange=\"\n\t\t\t\t\t+ newValueOfPropertyToChange;\n\t\t}",
"public void setDescription(String description) {\n mDescription = description;\n }",
"public void setDescription(java.lang.String value) {\n this.description = value;\n }",
"public void setDescription(String description) {\n this.description = description;\n UnitOfWork.getCurrent().registerDirty(this);\n }",
"public void setDescription(String Description) {\n this.Description = Description;\n }",
"public String setDescription(String description){\n\t\tString oldDescription = this.description;\n\t\tthis.description = description;\n\n\t\tnotifyObservers(\"desc\");\n\n\t\treturn oldDescription;\n\t}",
"public void setDescription(String newDescription) {\n\t\tthis.description = newDescription;\n\t}",
"public void setDesc(java.lang.String desc)\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(DESC$10);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DESC$10);\r\n }\r\n target.setStringValue(desc);\r\n }\r\n }",
"public void setDescription(java.lang.Object description) {\n this.description = description;\n }",
"@Override\n\tpublic void setDescription(java.lang.String description) {\n\t\t_dmGtStatus.setDescription(description);\n\t}",
"public void setOldProperty_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localOldProperty_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localOldProperty_descriptionType=param;\n \n\n }",
"@Test\n public void testSetDescription() {\n System.out.println(\"setDescription\");\n \n String description = \"Description\";\n \n instance.setDescription(description);\n \n assertEquals(\"Description unchanged\", description, instance.getDescription());\n // TODO review the generated test code and remove the default call to fail.\n // fail(\"The test case is a prototype.\");\n }",
"@Test\r\n public void testSetDescription() {\r\n System.out.println(\"setDescription\");\r\n String description = \"\";\r\n \r\n instance.setDescription(description);\r\n assertEquals(description, instance.getDescription());\r\n \r\n }",
"public void setNewProperty_description(java.lang.String param){\n localNewProperty_descriptionTracker = true;\n \n this.localNewProperty_description=param;\n \n\n }",
"public void setDescription(String description) { this.description = description; }",
"void setDesc(java.lang.String desc);",
"public void setDescription(String description){this.description=description;}",
"public boolean isDescriptionModified() {\n return description_is_modified; \n }",
"public void setDescription(java.lang.String description)\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(DESCRIPTION$8);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DESCRIPTION$8);\r\n }\r\n target.setStringValue(description);\r\n }\r\n }",
"public void setDescription(java.lang.String description)\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(DESCRIPTION$14);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DESCRIPTION$14);\n }\n target.setStringValue(description);\n }\n }",
"public Builder setDescription(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n description_ = value;\n onChanged();\n return this;\n }",
"public void setOldValues_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localOldValues_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localOldValues_descriptionType=param;\n \n\n }",
"public void setNewValues_description(java.lang.String param){\n localNewValues_descriptionTracker = true;\n \n this.localNewValues_description=param;\n \n\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description)\n/* */ {\n/* 67 */ this.description = description;\n/* */ }",
"public void setFieldDescription(String str)\n {\n if (str == null)\n str = \"\";\n str = str.trim();\n\n // Threshold\n if (str.equalsIgnoreCase(m_strDescription))\n return;\n\n if (str.length() > DESCRIPTION_LENGTH)\n throw new IllegalArgumentException(\n \"description must not exceed \" + DESCRIPTION_LENGTH +\n \"characters\");\n\n setDirty();\n m_strDescription = str;\n }",
"public void setDescription( String val ) {\n doCommand( new UpdateSegmentObject( getUser().getUsername(), getFlow(), \"description\", val ) );\n }",
"public void setDescription (String Description);",
"public void setDescription (String Description);",
"public void setDescription (String Description);",
"public void setDescription (String Description);",
"public void setDescription (String Description);",
"public void setDescription (String Description);",
"public void setDescription(String tmp) {\n this.description = tmp;\n }",
"public void setDescription(String tmp) {\n this.description = tmp;\n }",
"public void xsetDescription(org.apache.xmlbeans.XmlString description)\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(DESCRIPTION$8);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DESCRIPTION$8);\r\n }\r\n target.set(description);\r\n }\r\n }",
"public Binding setDescription(StringDt theValue) {\n\t\tmyDescription = theValue;\n\t\treturn this;\n\t}",
"public void setDescription(String newDescription) {\n\t\tdescription = newDescription;\n\t}",
"public void setDescription(String description) {\r\n \t\tthis.description = description;\r\n \t}",
"public void setDescription(java.lang.String description)\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(DESCRIPTION$2, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DESCRIPTION$2);\n }\n target.setStringValue(description);\n }\n }",
"public void setDescription(CharSequence value) {\n this.description = value;\n }",
"public void xsetDescription(org.apache.xmlbeans.XmlString description)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DESCRIPTION$14);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DESCRIPTION$14);\n }\n target.set(description);\n }\n }",
"protected void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"protected void setDescription(final String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void editDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"public Slicing setDescription(StringDt theValue) {\n\t\tmyDescription = theValue;\n\t\treturn this;\n\t}",
"public void setDescription(String description) {\n \tthis.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription1(String description1) {\r\n this.description1 = description1;\r\n }",
"public static interface Mutable extends DescribedObject\n { \n /** Set description\n * @param _desc description. */\n public void setDescription(String _desc);\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription( String description )\n {\n this.description = description;\n }",
"public void setDescription( String description )\n {\n this.description = description;\n }",
"public void setDescription( String description )\n {\n this.description = description;\n }",
"@Override\n @IcalProperty(pindex = PropertyInfoIndex.DESCRIPTION,\n jname = \"description\",\n adderName = \"description\",\n analyzed = true,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true)\n public void setDescriptions(final Set<BwLongString> val) {\n descriptions = val;\n }",
"public void setDescription(String _description) {\n this._description = _description;\n }",
"@Test\n public void setDescription() {\n cleanEntity0();\n\n entity0.setDescription(descriptionS);\n assertEquals(descriptionS, ReflectionTestUtils.getField(entity0, \"description\"));\n }",
"public void setDescription2(String description2) {\r\n this.description2 = description2;\r\n }",
"public Parameter toComparable() {\n return getDescription() == null ? this : toBuilder().setDescription(null).build();\n }",
"public void setDescription(String description )\n {\n this.description = description;\n }",
"public void setDescription(final String descriptionValue) {\n this.description = descriptionValue;\n }",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"public void setDescription(String description){\n this.description = description;\n }",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"public void setDescription(String description)\n {\n this.description = description.trim();\n }",
"public void setDescription(String description) {\n _description = description;\n }",
"public void setNewProperty_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localNewProperty_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localNewProperty_descriptionType=param;\n \n\n }",
"public void setDescription(java.lang.String value);"
] |
[
"0.6419075",
"0.6396522",
"0.6351277",
"0.6351277",
"0.6290151",
"0.6286131",
"0.6248471",
"0.62465274",
"0.6232133",
"0.61994135",
"0.61424494",
"0.61144686",
"0.6092925",
"0.6080886",
"0.6058809",
"0.60563815",
"0.6046941",
"0.6036601",
"0.6025772",
"0.5996279",
"0.59862024",
"0.597393",
"0.5943684",
"0.5942707",
"0.59378326",
"0.5934235",
"0.5933713",
"0.5924481",
"0.5895687",
"0.58948976",
"0.5883745",
"0.5883225",
"0.5879267",
"0.5866528",
"0.5864729",
"0.58565396",
"0.5854439",
"0.58514965",
"0.5845968",
"0.5844782",
"0.5844782",
"0.5844513",
"0.58352166",
"0.58348817",
"0.58340085",
"0.58340085",
"0.58340085",
"0.58340085",
"0.58340085",
"0.58340085",
"0.5833721",
"0.5833721",
"0.58267903",
"0.58155274",
"0.5815038",
"0.5812224",
"0.5811899",
"0.5811406",
"0.5801891",
"0.58002955",
"0.5798431",
"0.57978207",
"0.5797705",
"0.57925683",
"0.57903045",
"0.5784779",
"0.57844806",
"0.57806706",
"0.57763624",
"0.5770285",
"0.5770285",
"0.5770285",
"0.5770285",
"0.5770285",
"0.5770087",
"0.5770087",
"0.5770087",
"0.5770087",
"0.5770087",
"0.5770087",
"0.5770087",
"0.5765244",
"0.5765244",
"0.5765244",
"0.57647175",
"0.575716",
"0.575002",
"0.57480866",
"0.5747512",
"0.5747375",
"0.5745644",
"0.5744912",
"0.57442147",
"0.5743222",
"0.5743222",
"0.5743222",
"0.5742706",
"0.5742665",
"0.5740507",
"0.573638"
] |
0.7342054
|
0
|
Determines if the description has been modified.
|
public boolean isDescriptionModified() {
return description_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"boolean isModified();",
"boolean isModified();",
"public boolean isModified();",
"public boolean isModified();",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"boolean isOssModified();",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate_is_modified;\n }",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"public final boolean isModified() {\n return this.modified;\n }",
"public boolean isModified()\n\t{\n\t\treturn isModified;\n\t}",
"public boolean isModified() {\n return isModified;\n }",
"public boolean isStModified() {\n return st_is_modified; \n }",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"public boolean getModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}",
"public boolean isMaybeModified() {\n if (Options.get().isModifiedDisabled())\n return !isUnknown(); // if we don't use the modified flag, use the fact that unknown implies non-modified\n return (flags & MODIFIED) != 0;\n }",
"public boolean isModified() {\n return(!this.getText().equals(editBeginValue));\n }",
"@Override\r\n public boolean hasContentModified(ContainerUser context)\r\n {\n return hasDescriptorPropertyChanged(ReportDescriptor.Prop.json.name());\r\n }",
"public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}",
"@WorkflowAction(loggable = false)\n public boolean isModified()\n throws WorkflowException, MappingException, RepositoryException, RemoteException;",
"public final boolean isEdited(){\n\t\treturn JsUtils.getNativePropertyBoolean(this, \"edited\");\n\t}",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public boolean isLogdateModified() {\n return logdate_is_modified; \n }",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"public boolean isModified()\n {\n // a class is only modifiable after it is loaded\n if (!m_fLoaded)\n {\n return m_fModified;\n }\n\n if (m_fModified || m_abClazz == null || m_pool.isModified())\n {\n return true;\n }\n\n // check all other VM sub-structures\n StringTable[] atbl = CONTAINED_TABLE;\n for (int i = 0; i < atbl.length; ++i)\n {\n Enumeration enmr = atbl[i].elements();\n while (enmr.hasMoreElements())\n {\n if (((VMStructure) enmr.nextElement()).isModified())\n {\n return true;\n }\n }\n }\n\n return false;\n }",
"@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"public boolean isModification()\n {\n return isModification;\n }",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"public boolean isChanged() {\n return this.changed;\n }",
"public String getModified() {\r\n if (modified)\r\n return \"1\";\r\n else\r\n return \"0\";\r\n }",
"public boolean isChanged() {\r\n return isChanged;\r\n }",
"public synchronized boolean hasChanged() {\n return changed;\n }",
"public boolean isTypeModified() {\n return type_is_modified; \n }",
"public boolean isCreateDateModified() {\n return createDate_is_modified; \n }",
"public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }",
"public boolean isProductVersionModified()\n\t{\n\t\treturn productVersionModified;\n\t}",
"boolean shouldModify();",
"public boolean changeMade()\n {\n return isChanged;\n }",
"public final boolean hasModifyDateTime() {\n \treturn m_modifyDate != 0L ? true : false;\n }",
"public boolean changed() {\r\n\t\treturn changed;\r\n\t}",
"public boolean isCompanyNameModified()\n\t{\n\t\treturn companyNameModified;\n\t}",
"public boolean hasChanges();",
"@Override\n public boolean isModified() {\n return true;\n }",
"public boolean isEdited() {\n return (_spItem.getAvEditState() == SpAvEditState.EDITED);\n }",
"public boolean isProductNameModified()\n\t{\n\t\treturn productNameModified;\n\t}",
"public boolean isEstadoModified()\n\t{\n\t\treturn estadoModified;\n\t}",
"private boolean canChangeDocuments() {\n\n // If the text is modified, give the user a chance to\n // save it. Otherwise return true.\n\n if (fDocument.isModified()) {\n byte save = askSave(this, getTitle());\n if (save == YES) {\n return doSave();\n }\n else {\n return save == NO;\n }\n }\n else {\n return true;\n }\n }",
"public boolean isStatusdateModified() {\n return statusdate_is_modified; \n }",
"public boolean isRolModified()\n\t{\n\t\treturn rolModified;\n\t}",
"public boolean hasChanges() {\n return !(changed.isEmpty() && defunct.isEmpty());\n }",
"public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}",
"public boolean getEdited() {\r\n return this.edited;\r\n }",
"public boolean getEdited() {\r\n\t\treturn this.edited;\r\n\t}",
"public boolean isChangeType()\n {\n return hasChanges;\n }",
"public boolean isUpdated()\n\t{\n\t\treturn mUpdated;\n\t}",
"public boolean isUpdated() {\n return this.updated;\n }",
"public boolean updated()\r\n\t{\r\n\t\treturn bChanged;\r\n\t}",
"public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }",
"public boolean isRegdateModified() {\n return regdate_is_modified; \n }",
"public boolean hasChanged();",
"public boolean hasChanged();",
"public void setModified (boolean modified);",
"public boolean doModify() {\n return true;\n }",
"public boolean isTreeModified() {\n return FxContext.get().getTreeWasModified();\n }",
"boolean hasDescription();",
"boolean hasDescription();",
"boolean hasDescription();",
"public boolean isRoomstlogidModified() {\n return roomstlogid_is_modified; \n }",
"public void isChanged()\n\t{\n\t\tchange = true;\n\t}",
"public boolean getProjectModified() {\n\t\treturn projectModified;\n\t}",
"public boolean isProductKeyModified()\n\t{\n\t\treturn productKeyModified;\n\t}",
"public void setModified(boolean modified) {\r\n\t\tthis.modified = modified;\r\n\t}",
"public void setModified(boolean modified) {\r\n\t\tthis.modified = modified;\r\n\t}",
"public boolean isRoomstidModified() {\n return roomstid_is_modified; \n }",
"@Override\r\n public boolean doIsModified() {\r\n return this.updatedGroups.isEmpty();\r\n }",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"public boolean longDescriptionHasSeenBefore(){\n return longDescriptionviewer;\n }",
"Boolean getIsChanged();",
"public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }",
"public boolean isSetDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(DESCRIPTION$2) != 0;\n }\n }",
"public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }",
"boolean isManipulated();",
"public Date getDateModifed(){return dateModified;}",
"public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }",
"public boolean isColumnNameModified() {\n return columnName_is_modified; \n }",
"public Date getModified() {\r\n\t\treturn modified;\r\n\t}",
"public void setModified();",
"public void setDescription(String newVal) {\n if ((newVal != null && this.description != null && (newVal.compareTo(this.description) == 0)) || \n (newVal == null && this.description == null && description_is_initialized)) {\n return; \n } \n this.description = newVal; \n\n description_is_modified = true; \n description_is_initialized = true; \n }",
"public boolean wasDataUpdated() {\n\t\treturn true;\n\t}",
"public boolean hasDESCRIPTION() {\n return fieldSetFlags()[1];\n }",
"public boolean wasChangeDetected() {\n return bChangeDetected;\n }",
"public Date getDateModified();",
"public boolean isDirty();",
"private boolean modifiable() {\n // Only allow un-answered tests/surveys to be modified\n return this.completed.size() == 0;\n }",
"public int getnModified() {\r\n return nModified;\r\n }",
"public boolean isCustomerIdModified()\n\t{\n\t\treturn customerIdModified;\n\t}"
] |
[
"0.7651092",
"0.7651092",
"0.76469934",
"0.76469934",
"0.7642609",
"0.7613512",
"0.7577501",
"0.754829",
"0.74410754",
"0.73939025",
"0.7363333",
"0.73410434",
"0.7308325",
"0.7228216",
"0.71324885",
"0.7092442",
"0.7070048",
"0.706133",
"0.7046515",
"0.7009794",
"0.69979256",
"0.69795996",
"0.6974221",
"0.69742167",
"0.69684803",
"0.6880983",
"0.6866251",
"0.68349946",
"0.682102",
"0.6820294",
"0.6807683",
"0.6804718",
"0.67946404",
"0.6758304",
"0.67350936",
"0.6729058",
"0.6715642",
"0.67096615",
"0.667294",
"0.6670189",
"0.6664796",
"0.6636185",
"0.6623424",
"0.6615316",
"0.65996754",
"0.6591181",
"0.65840584",
"0.6582866",
"0.6575703",
"0.6570022",
"0.65676564",
"0.6552233",
"0.65438473",
"0.65272456",
"0.65193063",
"0.6486155",
"0.64835465",
"0.64717954",
"0.6461509",
"0.64473057",
"0.6440314",
"0.6433528",
"0.6427061",
"0.6416686",
"0.6416686",
"0.64102215",
"0.639966",
"0.63739604",
"0.63668686",
"0.63668686",
"0.63668686",
"0.6346925",
"0.63400507",
"0.63380545",
"0.63361114",
"0.6333157",
"0.6333157",
"0.63107914",
"0.6270244",
"0.6264079",
"0.62476707",
"0.6242026",
"0.6237715",
"0.6220172",
"0.6217349",
"0.6200546",
"0.6198227",
"0.6195423",
"0.61857104",
"0.617592",
"0.61683196",
"0.6167526",
"0.616339",
"0.6147544",
"0.61426806",
"0.6134906",
"0.61314",
"0.6118435",
"0.6116077",
"0.6103979"
] |
0.8638346
|
0
|
Determines if the description has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized.
|
public boolean isDescriptionInitialized() {
return description_is_initialized;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isSetDescription() {\n return this.description != null;\n }",
"public boolean isSetDescription() {\n return this.description != null;\n }",
"public boolean isSetDescription() {\n return this.description != null;\n }",
"public boolean isSetDescription() {\n return this.Description != null;\n }",
"public boolean isSetDescription() {\n return (this.description != null ? this.description.isSetValue() : false);\n }",
"public boolean isSetDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(DESCRIPTION$2) != 0;\n }\n }",
"protected boolean acceptUninitializedField(Field f) {\n return false;// by default all property need to be initialized after setup.\n }",
"public boolean isSetDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(DESCRIPTION$14) != null;\n }\n }",
"public boolean wasInitialized()\n {\n return this.isInitialized;\n }",
"public boolean isSetDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(DESCRIPTION$8) != null;\r\n }\r\n }",
"public boolean initialized() {\n return true;\r\n }",
"public boolean isInit() {\r\n\t\treturn isInit;\r\n\t}",
"public boolean hasDescription() {\n return fieldSetFlags()[1];\n }",
"public boolean isVehicleDescriptionFieldPresent() {\r\n\t\treturn isElementPresent(vehicleDescriptionField, SHORTWAIT);\r\n\t}",
"public boolean hasDescription() {\n return fieldSetFlags()[4];\n }",
"public boolean isInitialized() {\n return initialized;\n }",
"public boolean initialized()\n\t{\n\t\treturn mInitialized;\n\t}",
"public boolean isInitialized()\n {\n return isInit;\n }",
"public boolean isInitialized() {\n\t\treturn initialized;\n\t}",
"public boolean isInitialized()\n {\n return initialized;\n }",
"public boolean isInitialized() {\n return initialized;\n }",
"public boolean isInitialized() {\r\n return initialized;\r\n }",
"public boolean isInitialized()\n {\n return this.initialized;\n }",
"boolean isNilDescription();",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"public boolean hasDESCRIPTION() {\n return fieldSetFlags()[1];\n }",
"public static boolean isInitialized() {\n\t\treturn (dataProvider != null);\n\t}",
"public boolean isSetDesc()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(DESC$10) != null;\r\n }\r\n }",
"static boolean isInitializing()\n\t{\n\t\treturn INITIALIZING.get();\n\t}",
"public boolean isInitialized()\n\t{\n\t\treturn isInitialized;\n\t}",
"boolean isSetDescription();",
"boolean isSetDescription();",
"public boolean isInitialization() {\n return (msgType == MessageType.HELLO);\n }",
"public static boolean isInitialized() {\n\t\treturn instance != null;\n\t}",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"private boolean assessmentInitialized(PublishedAssessmentFacade publishedAssessment) {\n\t\tif (publishedAssessment == null) {\n\t\t\treturn false;\n\t\t}\n\t\tif (publishedAssessment.getStartDate() != null) {\n\t\t\treturn true;\n\t\t}\n\t\tif (publishedAssessment.getDueDate() != null) {\n\t\t\treturn true;\n\t\t}\n\t\tif (publishedAssessment.getRetractDate() != null) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn publishedAssessment.getTimeLimit() != null;\n\t}",
"public boolean isSetDescricao() {\n return this.descricao != null;\n }",
"public boolean isSetDescricao() {\n return this.descricao != null;\n }",
"public boolean isSetDescricao() {\n return this.descricao != null;\n }",
"public boolean isSetDescricao() {\n return this.descricao != null;\n }",
"protected boolean isFullyInitialized() {\n return html == null;\n }",
"public boolean isCreateDateInitialized() {\n return createDate_is_initialized; \n }",
"public boolean isTypeInitialized() {\n return type_is_initialized; \n }",
"public boolean hasDescription() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean isLogdateInitialized() {\n return logdate_is_initialized; \n }",
"public boolean hasDescription() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean isInitialized();",
"public boolean getCampaignDescriptionNull() {\n return campaignDescriptionNull_;\n }",
"public boolean isInitialized() {\n return (WINDOW != null && WINDOW_BORDER != null);\n }",
"public boolean isNullOrUndef() {\n checkNotPolymorphicOrUnknown();\n return (flags & (NULL | UNDEF)) != 0\n && (flags & (NUM | STR | BOOL)) == 0 && num == null && str == null && object_labels == null && getters == null && setters == null;\n }",
"public static boolean isInitialized() {\n\t\treturn mInitialized;\n\t}",
"public boolean isInitialized() {\n return getNative().isInitialized();\n }",
"public boolean structureComplete() { return structureID != null && structureID.length() != 0; }",
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"public boolean getCampaignDescriptionNull() {\n return campaignDescriptionNull_;\n }",
"public boolean hasCampaignDescription() {\n return campaignDescription_ != null;\n }",
"public boolean isInit() {\n\t\t\treturn this.gridIsInit;\n\t\t}",
"protected void checkInitialized() {\n \tcheckState(this.breeder!=null && this.threads!=null, \"Local state was not correctly set after being deserialized.\");\n }",
"public boolean isSetAmountDescription() {\r\n return amountDescription != null;\r\n }",
"public boolean isSetBankDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(BANKDESCRIPTION$2) != 0;\n }\n }",
"protected static boolean isInitialized(){\n return initialized;\n }",
"@Override\n public boolean isDefined()\n {\n return getValue() != null || getChildrenCount() > 0\n || getAttributeCount() > 0;\n }",
"public boolean isSetFields() {\n return this.fields != null;\n }",
"public static boolean isInitialized() {\r\n return (isInitialized);\r\n }",
"public boolean getInit() {\r\n\t\treturn init;\r\n\t}",
"@Override\n public boolean isInitialized(){\n return isInitialized;\n }",
"boolean getCampaignDescriptionNull();",
"public boolean isUpdateDateInitialized() {\n return updateDate_is_initialized; \n }",
"public boolean isRoomstlogidInitialized() {\n return roomstlogid_is_initialized; \n }",
"public boolean hasCampaignDescription() {\n return campaignDescriptionBuilder_ != null || campaignDescription_ != null;\n }",
"boolean isSetDesc();",
"public boolean isRoomidInitialized() {\n return roomid_is_initialized; \n }",
"public boolean isSetStationDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(STATIONDESCRIPTION$20) != null;\r\n }\r\n }",
"public boolean isRoomstidInitialized() {\n return roomstid_is_initialized; \n }",
"private boolean haveEmptyField() {\n return getTextID(FIRST_NAME).isEmpty() ||\n getTextID(LAST_NAME).isEmpty() ||\n getTextID(ADDRESS).isEmpty();\n }",
"public boolean hasDataFields() {\n\t\tif (this.dataFields.size() > 0) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isSetStatedescription() {\n return this.statedescription != null;\n }",
"public static boolean isNull_fields_allowed() {\n return null_fields_allowed;\n }",
"public boolean isStatusdateInitialized() {\n return statusdate_is_initialized; \n }",
"public boolean visible_LoadDescField() {\r\n\t\treturn IsElementVisibleStatus(DefineSetup_LoadDesc_txtBx);\r\n\t}",
"public static boolean isInitialized() {\n return (registry != null) && (endpointProvider != null);\n }",
"public boolean isTableNameInitialized() {\n return tableName_is_initialized; \n }",
"public boolean isMaybePresent() {\n checkNotUnknown();\n if (isPolymorphic())\n return (flags & (PRESENT_DATA | PRESENT_ACCESSOR)) != 0;\n else\n return (flags & PRIMITIVE) != 0 || num != null || str != null || object_labels != null || getters != null || setters != null;\n }",
"public boolean isSetRFSequenceDesc() {\n return (this.rfSequenceDesc != null ? this.rfSequenceDesc.isSetValue() : false);\n }",
"boolean hasDescription();",
"boolean hasDescription();",
"boolean hasDescription();",
"public boolean valuesInitialised() {\n return _valuesInitialised;\n }",
"public boolean isComplete()\n {\n return (name != null) && (spacecraft != null) &&\n (sensor != null) && (description != null);\n }",
"public boolean isReservationroomidInitialized() {\n return reservationroomid_is_initialized; \n }",
"public boolean isInitier() {\n\t\treturn getStatut().equals(StatusBonPreparation.INITIER);\n\t}",
"public boolean isRegdateInitialized() {\n return regdate_is_initialized; \n }",
"boolean isOnlyAssignedInInitializer();",
"public boolean isNull() {\n return this.data == null;\n }",
"public boolean isStInitialized() {\n return st_is_initialized; \n }",
"boolean initialized();",
"public boolean isColumnNameInitialized() {\n return columnName_is_initialized; \n }",
"public boolean isLineCountNull() {\n\t\treturn lineCount == null;\n\t}",
"public boolean isEmpty() {\n return labeledFieldEmptyOrHidden;\n }",
"public boolean hasDef() {\n return ((bitField0_ & 0x00000020) != 0);\n }"
] |
[
"0.6451082",
"0.6451082",
"0.6451082",
"0.6433463",
"0.639541",
"0.6365532",
"0.6301679",
"0.625395",
"0.6217355",
"0.62137735",
"0.6190114",
"0.6145133",
"0.611507",
"0.609364",
"0.60924256",
"0.60908246",
"0.60864896",
"0.60680294",
"0.6045048",
"0.60194254",
"0.6013451",
"0.5996209",
"0.59786975",
"0.59691256",
"0.59610146",
"0.59345925",
"0.59081393",
"0.5899953",
"0.5847253",
"0.5839557",
"0.5829103",
"0.5829103",
"0.58239996",
"0.5819628",
"0.5816051",
"0.5812954",
"0.57978964",
"0.57978964",
"0.57978964",
"0.57978964",
"0.57922345",
"0.5775811",
"0.57750523",
"0.57734466",
"0.57635117",
"0.5757866",
"0.5757186",
"0.5748974",
"0.5738616",
"0.5721977",
"0.57207465",
"0.57099485",
"0.5704048",
"0.56990343",
"0.56893176",
"0.5685496",
"0.56735855",
"0.56711316",
"0.5660478",
"0.5656869",
"0.56552017",
"0.5643553",
"0.5633563",
"0.5627053",
"0.56235194",
"0.56232893",
"0.5608895",
"0.5602907",
"0.55754447",
"0.5573977",
"0.55691075",
"0.55638254",
"0.5551019",
"0.55486876",
"0.55249524",
"0.5524832",
"0.55221725",
"0.5520558",
"0.5516759",
"0.5516429",
"0.55156463",
"0.55082726",
"0.5502656",
"0.54971546",
"0.54922795",
"0.54922795",
"0.54922795",
"0.5484145",
"0.54786605",
"0.5468919",
"0.54643494",
"0.5463931",
"0.54416364",
"0.5431818",
"0.54274535",
"0.54197776",
"0.54152906",
"0.5402594",
"0.539763",
"0.5350969"
] |
0.7636649
|
0
|
Getter method for tableName. Meta Data Information (in progress): full name: MTBTypes.tableName column size: 255 jdbc type returned by the driver: Types.VARCHAR
|
public String getTableName() {
return tableName;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public String getTableNameString() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return this.tableName;\n }",
"public String getTableName() {\n return this.tableName;\n }",
"public String getTableName() {\n return this.tableName;\n }",
"public String getTableName() \n\t{\n\t return tableName ;\n\t}",
"@Basic( optional = false )\r\n\t@Column( name = \"table_name\", nullable = false, length = 50 )\r\n\tpublic String getTableName() {\r\n\t\treturn this.tableName;\r\n\t\t\r\n\t}",
"public String getTableName() {\r\n\t\treturn tableName;\r\n\t}",
"private String getTableName() {\n return this.tableName;\n }",
"public String tableName() {\n if ( tableName != null ) {\n return tableName;\n }\n\n TableName annotation = this.entityType().getAnnotation( TableName.class );\n if ( annotation != null ) {\n tableName = annotation.value();\n } else {\n tableName = entityType().getSimpleName().toLowerCase() + 's';\n }\n return tableName;\n }",
"@Override\n\tpublic String getTableName() { \n\t\treturn tableName;\n\t}",
"String getTableName();",
"public String table() {\n return tableName;\n }",
"public String table() {\n return tableName;\n }",
"public final String getTableName() {\n\t\treturn wTableName;\n\t}",
"protected String getTableName()\n {\n return immutableGetTableName();\n }",
"public String getTableName() {\n if (tableName == null) {\n tableName = Strings.tableize(ActiveRecords.findActiveRecordBaseName(getClass()));\n }\n return tableName;\n }",
"public String getTablename() {\n return tablename;\n }",
"public String getTableName() {\n return (String) getAttributeInternal(TABLENAME);\n }",
"protected final String immutableGetTableName()\n {\n return m__strTableName;\n }",
"public String getName() {\n return tableName;\n }",
"private void createGetTableName(){\n //---------------------------------------------------------------------------\n buffer.append(\" /**\\n\");\n buffer.append(\" * <code>getTableName</code>\\n\");\n buffer.append(\" * <p>\\n\");\n buffer.append(\" * This method return the current tablename.\\n\");\n buffer.append(\" * </p>\\n\");\n buffer.append(\" * @author Booker Northington II\\n\");\n buffer.append(\" * @version 1.0\\n\");\n buffer.append(\" * @since 1.3\\n\");\n buffer.append(\" * @return tableName <code>String</code> the name \");\n buffer.append(\"of this table.\\n\");\n buffer.append(\" */\\n\");\n buffer.append(spacer);\n buffer.append(\" public String getTableName(){\\n\");\n buffer.append(spacer);\n buffer.append(\" return tableName;\\n\");\n buffer.append(\" }//getTableName() ENDS\\n\\n\");\n }",
"public String getName(){\n\t\t\treturn tableName;\n\t\t}",
"public String getTableName() {\r\n\t\treturn this.tableMetaDataContext.getTableName();\r\n\t}",
"public String getTableName() throws DatabaseSchemaException {\n return Database.getTableName(clazz);\n }",
"@Override\n\tprotected String getTableName() {\n\t\treturn super.getTableName();\n\t}",
"public String getTableName() {\n return getTableName(false, false, false, false);\n }",
"@Override\n\t\tpublic String getTableName() {\n\t\t\treturn null;\n\t\t}",
"@Override\n\tpublic String getTableName(int arg0) throws SQLException {\n\t\treturn tMeta[0].tableName();\n\t}",
"@Override\r\n\tpublic String getTableName() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic String getTableName() {\n\t\treturn null;\r\n\t}",
"@Override\n\tpublic String getTableName() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic String getTableName() {\n\t\treturn null;\n\t}",
"private String extractTableName() {\n\t\treturn fromElement.getQueryable().getTableName();\n\t}",
"@Override\n protected String getTableNameForMetadata(String tableName) {\n return (tableName == null) ? IdentifierUtil.PERCENT :\n getTableNameForMetadata(DBIdentifier.newTable(tableName));\n }",
"String pvTableName();",
"public void setTableName(String tableName) {\n this.tableName = tableName;\n }",
"public void setTableName(String tableName) {\n this.tableName = tableName;\n }",
"public void setTableName(String tableName) {\n this.tableName = tableName;\n }",
"public String getTableName() {\n\t\treturn this.getTableName(this.currentClass());\n\t}",
"public void setTableName(String tableName) {\r\n\t\tthis.tableName = tableName;\r\n\t}",
"public void setTableName(String tableName) {\r\n\t\tthis.tableName = tableName;\r\n\t}",
"String getBaseTable();",
"public String getDBTableName()\n\t{\n\t\treturn this.getClass().getSimpleName();\n\t}",
"public String getTable()\n {\n return table;\n }",
"@Override\r\n\tpublic String getTableName(String[] sql) {\n\t\treturn sql[2];\r\n\t}",
"String getTableName(String name);",
"<K, C> TableMetadata<K, C> getTableMetadata(TableName tableName);",
"public String getTable() {\n return table;\n }",
"@Override\r\n\tprotected String getTable() {\n\t\treturn TABLE;\r\n\t}",
"public String getTable() {\n return table;\n }",
"public abstract String getDatabaseTableName(String entityName);",
"public String getDistinctTableName() {\n return getTableName(false, false, true, false);\n }",
"protected String getMonarchTableName(Table tbl) {\n // 1. If region name property is not provided use hive's table name.\n // 2. Use '_'(underscore) instead of '.'(dot) since gemfire\n // does not allow querying when region name contain dot.\n String tableName = tbl.getParameters().get(MonarchUtils.REGION);\n if (tableName == null) {\n tableName = tbl.getDbName() + \"_\" + tbl.getTableName();\n }\n return tableName;\n }",
"public void setTableName(String tmp) {\n this.tableName = tmp;\n }",
"@Override\n\tpublic String getTableName() {\n\t\tString sql=\"dip_dataurl\";\n\t\treturn sql;\n\t}",
"public String[] getTableSchema(String tableName){\n return tableSchemaMap.get(tableName);\n }",
"public TableName name();",
"private String getTableName(Class<?> clz) {\n\t\tif (clz.isAnnotationPresent(TableName.class)) {\n\t\t\treturn ((TableName) clz.getAnnotation(TableName.class)).value();\n\t\t}\n\t\treturn clz.getSimpleName();\n\t}",
"public void setTableName(final String tableName) {\r\n\t\tthis.tableName = tableName;\r\n\t}",
"SqlTables(String tableName){\n\t\t\t this.tableName = tableName; \n\t\t}",
"String jobTableName();",
"public String getBaseTable() {\n Object ref = baseTable_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n baseTable_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"Table getTable();",
"public String getTableTypeString() {\n \t\treturn \"\";\n \t}",
"protected TableName getTableNameFromAnnotation(Class<?> beanClass) {\n final Table table = AnnotationUtil.typeGet(beanClass, Table.class);\n if (table != null && !isEmpty(table.name())) {\n // Note: empty catalog and schema are converted to null\n // Only need to convert quoted identifiers from annotations\n return new TableName(quoteIdentifiers(table.catalog()), quoteIdentifiers(table.schema()), quoteIdentifiers(table.name()));\n }\n // No annotation\n return null;\n }",
"public String getMapTableName() {\n return getTableName(false, false, false, true);\n }",
"public void setTableName(String name) {\n this.tableName = name;\n }",
"private String getEntitiesTableName()\n {\n\tString prefix = PropertyLookup.getTableNamePrefix();\n\tString separator = PropertyLookup.getTableNameSeparator();\n\tString suffix = PropertyLookup.getEntitiesTableNameSuffix();\n\n\treturn prefix + separator + catalogId + separator + suffix;\n }",
"public String getNomTable();",
"TableType getTableType()\n {\n return tableType;\n }",
"public abstract String [] getColumnNames(String tableName);",
"@Override\n public TableName getTableName(Class<?> beanClass) {\n while (true) {\n\n TableName tableName = getTableNameFromAnnotation(beanClass);\n if (tableName == null) {\n Class<?> supCls = beanClass.getSuperclass();\n if (hasInheritance(supCls)) {\n // get the table as per inherited class in case there\n // is not a table annotation in the inheritance hierarchy\n beanClass = supCls;\n continue;\n }\n\n tableName = getTableNameByConvention(beanClass);\n }\n\n // Use naming convention for catalog or schema,\n // if not set in the annotation.\n String catalog = tableName.getCatalog();\n if (isEmpty(catalog)) {\n catalog = getCatalog();\n }\n String schema = tableName.getSchema();\n if (isEmpty(schema)) {\n schema = getSchema();\n }\n return new TableName(catalog, schema, tableName.getName());\n }\n }",
"public String getTableName() {\r\n return IDaoConstants.TABLE_PROD_PTOS_VTA;\r\n }",
"public static String tableName() {\r\n return \"TB_UPP_CHECK_STORE_DIVERGENCE\";\r\n }",
"@Override\n public String getBaseTable() {\n Object ref = baseTable_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n baseTable_ = s;\n return s;\n }\n }",
"String tableName2Name(String name);",
"@Override\n public String getTableTypeString() {\n return super.getTableTypeString() + \" DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci\";\n }",
"public static String getTableName(ModelDeclaration model) {\n OrcFileTrait trait = model.getTrait(OrcFileTrait.class);\n if (trait == null || trait.getTableName() == null) {\n return model.getName().identifier;\n }\n return trait.getTableName();\n }",
"public String getTableName(Class<?> aClass) {\n\t\tString result = aClass.getSimpleName();\n\t\tif (this.hasAnnotation(aClass, Table.class)) {\n\t\t\tTable anno = (Table) this.getAnnotation(aClass, Table.class);\n\t\t\tif (anno.name() != null && !anno.name().isEmpty())\n\t\t\t\tresult = anno.name();\n\t\t}\n\t\treturn result;\n\t}",
"private String getTableName(org.hibernate.mapping.Table table) {\n return m_dbSpecificMappingInfo.getTruncateInfo().truncateTableName(table.getName().toLowerCase());\n }",
"public com.google.protobuf.ByteString\n getBaseTableBytes() {\n Object ref = baseTable_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n baseTable_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public DatabaseTable(String tableName) {\n this.tableName = tableName;\n }",
"@Override\n public com.google.protobuf.ByteString\n getBaseTableBytes() {\n Object ref = baseTable_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n baseTable_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Override\n\tpublic String getTableName(int col) throws SQLException {\n\n\t\tif (col <= width && col >= 1) {\n\n\t\t\tcol--;\n\n\t\t\treturn this.tableName;\n\n\t\t} else\n\t\t\tthrow new SQLException(\"column requested out of table bounds\");\n\n\t}",
"static String getTableName(Configuration conf) {\n String layout = conf.get(MRUtils.TABLE_LAYOUT_PROP,\n RdfCloudTripleStoreConstants.TABLE_LAYOUT.SPO.toString());\n String prefix = conf.get(MRUtils.TABLE_PREFIX_PROPERTY,\n RdfCloudTripleStoreConstants.TBL_PRFX_DEF);\n return RdfCloudTripleStoreUtils.layoutPrefixToTable(\n RdfCloudTripleStoreConstants.TABLE_LAYOUT.valueOf(layout), prefix);\n }",
"public String getDrivingTableName();",
"@Override\n public String getTableName() {\n return getFreeTextDocTablename(conf);\n }",
"public static String getTableDDL(String tableName) throws SQLException, ClassNotFoundException {\n Connection connection = OracleConnector.getConnection();\n Statement statement = connection.createStatement();\n\n String query = \"SELECT DBMS_METADATA.GET_DDL('TABLE', TABLE_NAME) AS TABLE_DDL FROM USER_TABLES NATURAL JOIN USER_SYNONYMS WHERE SYNONYM_NAME = '\" + tableName + \"'\" ;\n\n ResultSet rs = statement.executeQuery(query);\n rs.next();\n return rs.getString(\"TABLE_DDL\");\n }",
"com.google.protobuf.ByteString\n getBaseTableBytes();",
"String pvUUIDTableName();",
"public String[] getTableNames()\n {\n return tableNames;\n }",
"private String[] getTableFields(String pTableName) {\r\n\t\tString[] returnedValue = null;\r\n\t\t\r\n\t\tif (getDatabse() != null && getDatabse().isOpen()) {\r\n\t\t\t\r\n\t\t\tCursor cursor = getDatabse().query(pTableName, null, null, null, null, null, null);\r\n\t\t\tif (cursor != null) {\r\n\t\t\t\treturnedValue = cursor.getColumnNames();\r\n\t\t\t}\r\n\t\t\tcursor.close();\r\n\t\t\tcursor = null;\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn returnedValue;\r\n\t}",
"protected String getTableColumn()\n\t\t{\n\t\t\treturn Column ;\n\t\t}",
"public String getConstantTableName(){\n return CONSTANT_TABLE_NAME;\n }",
"Table getBaseTable();",
"public String getQualifiedTableName();"
] |
[
"0.78486705",
"0.7734449",
"0.7734449",
"0.77006054",
"0.77006054",
"0.7697806",
"0.7697806",
"0.7693202",
"0.7635311",
"0.763169",
"0.7627692",
"0.7591335",
"0.75282156",
"0.75263596",
"0.7517456",
"0.7379146",
"0.7379146",
"0.7366577",
"0.7332533",
"0.72808015",
"0.7272127",
"0.7266012",
"0.7244433",
"0.7228504",
"0.7224742",
"0.71800953",
"0.7176528",
"0.7150957",
"0.7134801",
"0.7068535",
"0.7066274",
"0.70614064",
"0.70297235",
"0.70297235",
"0.69815457",
"0.69815457",
"0.69672734",
"0.6957119",
"0.6941264",
"0.6892238",
"0.6892238",
"0.6892238",
"0.6861308",
"0.68560505",
"0.68560505",
"0.6828283",
"0.67616016",
"0.67377996",
"0.6734062",
"0.6732919",
"0.6723829",
"0.67158175",
"0.6702368",
"0.6679097",
"0.66296184",
"0.66021866",
"0.65983325",
"0.6585036",
"0.65665436",
"0.6549284",
"0.65314853",
"0.6531193",
"0.6526361",
"0.6510582",
"0.6487106",
"0.64859337",
"0.64774704",
"0.6466297",
"0.64507324",
"0.64457214",
"0.6442457",
"0.64117616",
"0.64057606",
"0.64049524",
"0.63926554",
"0.63652724",
"0.63620156",
"0.63511974",
"0.6338729",
"0.6335136",
"0.63178575",
"0.6316729",
"0.6314659",
"0.62916946",
"0.628228",
"0.62803465",
"0.62640995",
"0.6249834",
"0.62435406",
"0.62321436",
"0.6218933",
"0.62149143",
"0.62112975",
"0.619821",
"0.61809367",
"0.61354035",
"0.6126163",
"0.61068505",
"0.6105283",
"0.6104363"
] |
0.7724532
|
3
|
Setter method for tableName. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'.
|
public void setTableName(String newVal) {
if ((newVal != null && this.tableName != null && (newVal.compareTo(this.tableName) == 0)) ||
(newVal == null && this.tableName == null && tableName_is_initialized)) {
return;
}
this.tableName = newVal;
tableName_is_modified = true;
tableName_is_initialized = true;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"protected final void immutableSetTableName(final String tableName)\n {\n m__strTableName = tableName;\n }",
"public void setTableName(final String tableName)\n {\n immutableSetTableName(tableName);\n }",
"public void setTable(String aValue) {\n String oldValue = table;\n table = aValue;\n changeSupport.firePropertyChange(\"table\", oldValue, aValue);\n }",
"public void setTableName(final String tableName) {\r\n\t\tthis.tableName = tableName;\r\n\t}",
"public void setTableName(String tableName) {\r\n\t\tcheckIfConfigurationModificationIsAllowed();\r\n\t\tthis.tableMetaDataContext.setTableName(tableName);\r\n\t}",
"public void setTableName(String tableName) {\r\n\t\tthis.tableName = tableName;\r\n\t}",
"public void setTableName(String tableName) {\r\n\t\tthis.tableName = tableName;\r\n\t}",
"public void setTableName(String tableName) {\n this.tableName = tableName;\n }",
"public void setTableName(String tableName) {\n this.tableName = tableName;\n }",
"public void setTableName(String tableName) {\n this.tableName = tableName;\n }",
"public void setTableName(String tmp) {\n this.tableName = tmp;\n }",
"public void setTable(Table table)\n {\n this.table = table;\n }",
"public void setTableName(String value) {\n setAttributeInternal(TABLENAME, value);\n }",
"private void UpdateTable() {\n\t\t\t\t\n\t\t\t}",
"public boolean isTableNameModified() {\n return tableName_is_modified; \n }",
"public void setTable(Table table) {\r\n this.table = table;\r\n if (table == null) {\r\n setX(-1);\r\n setY(-1);\r\n setHead(NONE);\r\n setActivated(false);\r\n }\r\n }",
"protected final String immutableGetTableName()\n {\n return m__strTableName;\n }",
"public void setTablename(String tablename) {\n this.tablename = tablename == null ? null : tablename.trim();\n }",
"public String getTableName() {\n return tableName; \n }",
"public String getTableName() {\r\n\t\treturn tableName;\r\n\t}",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public String getTableName() {\n return tableName;\n }",
"public void setTable(DefaultTable table) {\n\t\t\r\n\t}",
"protected void setTableValue(Object val)\n\t\t{\n\t\t\tValue = val ;\n\t\t}",
"public Table() {\n this.tableName = \"\";\n this.rows = new HashSet<>();\n this.columnsDefinedOrder = new ArrayList<>();\n }",
"@Override\n\tpublic String getTableName() { \n\t\treturn tableName;\n\t}",
"public void setTable(javax.swing.JTable aTable) {\r\n\t\tjavax.swing.JTable oldTable = table;\r\n\t\tif (oldTable == aTable)\r\n\t\t\treturn;\r\n\t\tif (oldTable != null)\r\n\t\t\toldTable.getSelectionModel().removeListSelectionListener((ListSelectionListener) this);\r\n\t\tthis.table = aTable;\r\n\t\tif (aTable != null) {\r\n\t\t\taTable.setModel(this);\r\n\t\t\taTable.getSelectionModel().addListSelectionListener((ListSelectionListener) this);\r\n\t\t}\r\n\t}",
"public String getTableName() {\n return this.tableName;\n }",
"protected String getTableName()\n {\n return immutableGetTableName();\n }",
"public void setTableName(String name) {\n this.tableName = name;\n }",
"public String getTableName() \n\t{\n\t return tableName ;\n\t}",
"public void modifyTable(final byte [] tableName, DBTableDescriptor htd)\n throws IOException {\n modifyTable(tableName, DBConstants.Modify.TABLE_SET_HTD, htd);\n }",
"public String getTableName() {\n return this.tableName;\n }",
"public String getTableName() {\n return this.tableName;\n }",
"@attribute(value = \"\", required = true)\t\r\n\tpublic void setTable(String table) {\r\n\t\tthis.table = table;\r\n\t}",
"private String getTableName() {\n return this.tableName;\n }",
"public EditingTable() {\n\t\tsuper();\n\t\tinitialize();\n\t}",
"public void updateTableName() {\n\t\tif (!isDeserializing && getHibernateModel() != null) {\n\t\t\tsetTableName(getHibernateModel().getHibernateImplementation().getDbObjectName(getName()));\n\t\t}\n\t}",
"public int setTable(int table) {\n if (table >= TABLE_MIN && table <= TABLE_MAX) {\n this.table = table;\n return this.table;\n }\n else {\n System.out.println(table + \" is not between \" +\n TABLE_MIN + \" and \" + TABLE_MAX);\n return -1;\n }\n }",
"public TableDefinition(String tableName) {\n this.tableName = tableName;\n }",
"@Basic( optional = false )\r\n\t@Column( name = \"table_name\", nullable = false, length = 50 )\r\n\tpublic String getTableName() {\r\n\t\treturn this.tableName;\r\n\t\t\r\n\t}",
"@Override\n\t\tpublic String getTableName() {\n\t\t\treturn null;\n\t\t}",
"public String getTableNameString() {\n return tableName;\n }",
"public void setStatusTableName(String name)\n\t{\n\t\tm_statusTableName = name;\n\t}",
"public void updateTable()\r\n {\r\n ((JarModel) table.getModel()).fireTableDataChanged();\r\n }",
"public TableInfo (String tableName)\n\t\t{\n\t\t\tthis (tableName, null);\n\t\t}",
"public Builder setBaseTable(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n baseTable_ = value;\n onChanged();\n return this;\n }",
"@Override\n\tpublic void tableChanged(TableModelEvent arg0) {\n\t\t\n\t}",
"@Override\r\n\tpublic String getTableName() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic String getTableName() {\n\t\treturn null;\r\n\t}",
"public String table() {\n return tableName;\n }",
"public String table() {\n return tableName;\n }",
"@Override\n\tpublic String getTableName() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic String getTableName() {\n\t\treturn null;\n\t}",
"public void setTableToDefault() {\n TableColumnModel tcm = table.getColumnModel();\n\n for (int i = 0; i < msbQTM.getColumnCount(); i++) {\n tcm.getColumn(i).setPreferredWidth(-1);\n }\n\n table.setColumnModel(tcm);\n }",
"public void tableRefChanged() {\r\n\t\t// clear the table Element so it will be recreated\r\n\t\ttableElement = null;\r\n\t\t\r\n\t\t// tell the files that this table has changed\r\n\t\tif (refFiles != null) {\r\n\t\t\tfor(ReferenceFile refFile : refFiles) {\r\n\t\t\t\trefFile.setUpdated(true);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public static synchronized void setUpdatedTime(Context context,\n\t\t\tString tableName) throws SQLException, NullPointerException {\n\t\tQADatabaseHelper dbHelper = QADatabaseHelper.getInstance(context);\n\t\tSQLiteDatabase db = dbHelper.getWritableDatabase();\n\n\t\tFormatter formatter = new Formatter();\n\t\tCalendar calendar = Calendar.getInstance();\n\t\tformatter.format(\"%tc\", calendar);\n\t\tformatter.close();\n\t\tDate originalDate = calendar.getTime();\n\n\t\tString query = \"UPDATE \" + tableName + \" SET \" + COLUMN_NAME_UPDATED_AT\n\t\t\t\t+ \" = '\" + originalDate.toString() + \"'\";\n\n\t\tdb.execSQL(query);\n\t}",
"public void setAttributes(TableAttributes attrs) {\n\tthis.attrs = attrs;\n }",
"public String getName(){\n\t\t\treturn tableName;\n\t\t}",
"@Test\n public void testSetTable() {\n System.out.println(\"setTable\");\n String table = \"\";\n Resource instance = new ResourceImpl();\n instance.setTable(table);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"@Test\n public void testSetTableId() {\n o1.setTableId(3);\n assertEquals(\"setTableID failed\", 3 , o1.getTableId());\n }",
"public TablePair(String table1, String table2) {\n this.table1 = table1;\n this.table2 = table2;\n\n // This ensures that this always has tables in the same order.\n // This allows equals and hash to work correctly.\n if (table1.compareTo(table2) > 0) {\n this.table1 = table1;\n this.table2 = table2;\n } else {\n this.table1 = table2;\n this.table2 = table1;\n }\n }",
"@objid (\"e6f7930d-e513-40f5-a7a6-044fb7df6be5\")\n void setDefinedTable(PropertyTableDefinition value);",
"public void setTable(TableCaracteristique tab) {\n this.table = tab;\n }",
"private void setTable(final String table) {\n if (!lastTable.equals(table)) {\n lastTable = table;\n BigtableTableName tableName = options\n .getInstanceName()\n .toTableName(table);\n lastTableBytes = tableName\n .toString()\n .getBytes();\n synchronized(this) {\n if (bulkMutation != null) {\n try {\n bulkMutation.flush();\n } catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n throw new RuntimeException(e);\n }\n }\n bulkMutation = session.createBulkMutation(tableName);\n }\n }\n }",
"public String getName() {\n return tableName;\n }",
"public void updatedTable() {\r\n\t\tfireTableDataChanged();\r\n\t}",
"public void update() {\n tableChanged(new TableModelEvent(this));\n }",
"public void setInTable(String value) {\n setValue(IN_TABLE, value);\n }",
"public R2dbcMessageHandlerSpec tableName(String tableName) {\n\t\tthis.reactiveMessageHandler.setTableName(tableName);\n\t\treturn this;\n\t}",
"public TablesPanel() {\n\n tableModel = new TablesTableModel(); \n matchesModel = new MatchesTableModel();\n gameChooser = new GameChooser();\n\n initComponents();\n // tableModel.setSession(session);\n\n // formater\n // change default just now from 60 to 30 secs\n // see workaround for 4.0 versions: https://github.com/ocpsoft/prettytime/issues/152\n TimeFormat timeFormat = timeFormater.removeUnit(JustNow.class);\n JustNow newJustNow = new JustNow();\n newJustNow.setMaxQuantity(1000L * 30L); // 30 seconds gap (show \"just now\" from 0 to 30 secs)\n timeFormater.registerUnit(newJustNow, timeFormat);\n\n // 1. TABLE CURRENT\n tableTables.createDefaultColumnsFromModel();\n ((MageTable)tableTables).setTableInfo(tableInfo);\n \n activeTablesSorter = new MageTableRowSorter(tableModel) {\n @Override\n public void toggleSortOrder(int column) {\n // special sort for created and seat column\n if (column == TablesTableModel.COLUMN_CREATED || column == TablesTableModel.COLUMN_SEATS) {\n List<? extends SortKey> sortKeys = getSortKeys();\n if (sortKeys.size() == 2) {\n // clear sort on second click\n setSortKeys(null);\n } else {\n // setup sort on first click\n List<SortKey> list = new ArrayList<>();\n list.add(new RowSorter.SortKey(TablesTableModel.COLUMN_SEATS, SortOrder.ASCENDING));\n list.add(new RowSorter.SortKey(TablesTableModel.COLUMN_CREATED, SortOrder.DESCENDING));\n setSortKeys(list);\n }\n } else {\n super.toggleSortOrder(column);\n }\n }\n };\n tableTables.setRowSorter(activeTablesSorter);\n\n // time ago\n tableTables.getColumnModel().getColumn(TablesTableModel.COLUMN_CREATED).setCellRenderer(timeAgoCellRenderer);\n // skill level\n tableTables.getColumnModel().getColumn(TablesTableModel.COLUMN_SKILL).setCellRenderer(skillCellRenderer);\n // seats\n tableTables.getColumnModel().getColumn(TablesTableModel.COLUMN_SEATS).setCellRenderer(seatsCellRenderer);\n\n /* date sorter (not need, default is good - see getColumnClass)\n activeTablesSorter.setComparator(TablesTableModel.COLUMN_CREATED, new Comparator<Date>() {\n @Override\n public int compare(Date v1, Date v2) {\n return v1.compareTo(v2);\n }\n\n });*/\n\n // seats sorter (free tables must be first)\n activeTablesSorter.setComparator(TablesTableModel.COLUMN_SEATS, new Comparator<String>() {\n @Override\n public int compare(String v1, String v2) {\n int[] seats1 = parseSeatsInfo(v1);\n int[] seats2 = parseSeatsInfo(v2);\n boolean free1 = seats1[0] != seats1[1];\n boolean free2 = seats2[0] != seats2[1];\n\n // free seats go first\n if (free1 || free2) {\n return Boolean.compare(free2, free1);\n }\n\n // all other seats go without sorts\n return 0;\n }\n });\n\n // default sort by created date (last games from above)\n ArrayList list = new ArrayList<>();\n list.add(new RowSorter.SortKey(TablesTableModel.COLUMN_SEATS, SortOrder.ASCENDING));\n list.add(new RowSorter.SortKey(TablesTableModel.COLUMN_CREATED, SortOrder.DESCENDING));\n activeTablesSorter.setSortKeys(list);\n\n TableUtil.setColumnWidthAndOrder(tableTables, DEFAULT_COLUMNS_WIDTH, KEY_TABLES_COLUMNS_WIDTH, KEY_TABLES_COLUMNS_ORDER);\n\n // 2. TABLE COMPLETED\n completedTablesSorter = new MageTableRowSorter(matchesModel);\n tableCompleted.setRowSorter(completedTablesSorter);\n\n // duration\n tableCompleted.getColumnModel().getColumn(MatchesTableModel.COLUMN_DURATION).setCellRenderer(durationCellRenderer);\n // start-end\n tableCompleted.getColumnModel().getColumn(MatchesTableModel.COLUMN_START).setCellRenderer(datetimeCellRenderer);\n tableCompleted.getColumnModel().getColumn(MatchesTableModel.COLUMN_END).setCellRenderer(datetimeCellRenderer);\n // default sort by ended date (last games from above)\n ArrayList list2 = new ArrayList<>();\n list2.add(new RowSorter.SortKey(MatchesTableModel.COLUMN_END, SortOrder.DESCENDING));\n completedTablesSorter.setSortKeys(list2);\n\n // 3. CHAT\n chatPanelMain.getUserChatPanel().useExtendedView(ChatPanelBasic.VIEW_MODE.NONE);\n chatPanelMain.getUserChatPanel().setBorder(null);\n chatPanelMain.getUserChatPanel().setChatType(ChatPanelBasic.ChatType.TABLES);\n\n // 4. BUTTONS (add new buttons to the end of the list -- if not then users lost their filter settings)\n filterButtons = new JToggleButton[]{btnStateWaiting, btnStateActive, btnStateFinished,\n btnTypeMatch, btnTypeTourneyConstructed, btnTypeTourneyLimited,\n btnFormatBlock, btnFormatStandard, btnFormatModern, btnFormatLegacy, btnFormatVintage, btnFormatPremodern, btnFormatCommander, btnFormatTinyLeader, btnFormatLimited, btnFormatOther,\n btnSkillBeginner, btnSkillCasual, btnSkillSerious, btnRated, btnUnrated, btnOpen, btnPassword, btnFormatOathbreaker, btnFormatPioneer};\n\n JComponent[] components = new JComponent[]{chatPanelMain, jSplitPane1, jScrollPaneTablesActive, jScrollPaneTablesFinished, jPanelTop, jPanelTables};\n for (JComponent component : components) {\n component.setOpaque(false);\n }\n\n jScrollPaneTablesActive.getViewport().setBackground(new Color(255, 255, 255, 50));\n jScrollPaneTablesFinished.getViewport().setBackground(new Color(255, 255, 255, 50));\n\n restoreFilters();\n setGUISize();\n\n Action openTableAction;\n openTableAction = new AbstractAction() {\n @Override\n public void actionPerformed(ActionEvent e) {\n String searchID = e.getActionCommand();\n int modelRow = TablesUtil.findTableRowFromSearchId(tableModel, searchID);\n if (modelRow == -1) {\n return;\n }\n UUID tableId = (UUID) tableModel.getValueAt(modelRow, TablesTableModel.ACTION_COLUMN + 3);\n UUID gameId = (UUID) tableModel.getValueAt(modelRow, TablesTableModel.ACTION_COLUMN + 2);\n String action = (String) tableModel.getValueAt(modelRow, TablesTableModel.ACTION_COLUMN);\n String gameType = (String) tableModel.getValueAt(modelRow, TablesTableModel.COLUMN_GAME_TYPE);\n boolean isTournament = (Boolean) tableModel.getValueAt(modelRow, TablesTableModel.ACTION_COLUMN + 1);\n String owner = (String) tableModel.getValueAt(modelRow, TablesTableModel.COLUMN_OWNER);\n String pwdColumn = (String) tableModel.getValueAt(modelRow, TablesTableModel.COLUMN_PASSWORD);\n switch (action) {\n case \"Join\":\n if (owner.equals(SessionHandler.getUserName()) || owner.startsWith(SessionHandler.getUserName() + ',')) {\n try {\n JDesktopPane desktopPane = (JDesktopPane) MageFrame.getUI().getComponent(MageComponents.DESKTOP_PANE);\n JInternalFrame[] windows = desktopPane.getAllFramesInLayer(javax.swing.JLayeredPane.DEFAULT_LAYER);\n for (JInternalFrame frame : windows) {\n if (frame.getTitle().equals(\"Waiting for players\")) {\n frame.toFront();\n frame.setVisible(true);\n try {\n frame.setSelected(true);\n } catch (PropertyVetoException ve) {\n LOGGER.error(ve);\n }\n }\n\n }\n } catch (InterruptedException ex) {\n LOGGER.error(ex);\n }\n return;\n }\n if (isTournament) {\n LOGGER.info(\"Joining tournament \" + tableId);\n if (!gameType.startsWith(\"Constructed\")) {\n if (TablesTableModel.PASSWORD_VALUE_YES.equals(pwdColumn)) {\n joinTableDialog.showDialog(roomId, tableId, true, !gameType.startsWith(\"Constructed\"));\n } else {\n SessionHandler.joinTournamentTable(roomId, tableId, SessionHandler.getUserName(), PlayerType.HUMAN, 1, null, \"\");\n }\n } else {\n joinTableDialog.showDialog(roomId, tableId, true, !gameType.startsWith(\"Constructed\"));\n }\n } else {\n LOGGER.info(\"Joining table \" + tableId);\n joinTableDialog.showDialog(roomId, tableId, false, false);\n }\n break;\n case \"Remove\":\n UserRequestMessage message = new UserRequestMessage(\"Removing table\", \"Are you sure you want to remove table?\");\n message.setButton1(\"No\", null);\n message.setButton2(\"Yes\", PlayerAction.CLIENT_REMOVE_TABLE);\n MageFrame.getInstance().showUserRequestDialog(message);\n break;\n case \"Show\":\n if (isTournament) {\n LOGGER.info(\"Showing tournament table \" + tableId);\n SessionHandler.watchTable(roomId, tableId);\n }\n break;\n case \"Watch\":\n if (!isTournament) {\n LOGGER.info(\"Watching table \" + tableId);\n SessionHandler.watchTable(roomId, tableId);\n }\n break;\n case \"Replay\":\n LOGGER.info(\"Replaying game \" + gameId);\n SessionHandler.replayGame(gameId);\n break;\n }\n }\n };\n\n Action closedTableAction;\n closedTableAction = new AbstractAction() {\n @Override\n public void actionPerformed(ActionEvent e) {\n String searchID = e.getActionCommand();\n int modelRow = TablesUtil.findTableRowFromSearchId(matchesModel, searchID);\n if (modelRow == -1) {\n return;\n }\n String action = (String) matchesModel.getValueAt(modelRow, MatchesTableModel.COLUMN_ACTION);\n switch (action) {\n case \"Replay\":\n java.util.List<UUID> gameList = matchesModel.getListofGames(modelRow);\n if (gameList != null && !gameList.isEmpty()) {\n if (gameList.size() == 1) {\n SessionHandler.replayGame(gameList.get(0));\n } else {\n gameChooser.show(gameList, MageFrame.getDesktop().getMousePosition());\n }\n }\n // MageFrame.getDesktop().showTournament(tournamentId);\n break;\n case \"Show\":\n if (matchesModel.isTournament(modelRow)) {\n LOGGER.info(\"Showing tournament table \" + matchesModel.getTableId(modelRow));\n SessionHandler.watchTable(roomId, matchesModel.getTableId(modelRow));\n }\n break;\n }\n }\n };\n\n // !!!! adds action buttons to the table panel (don't delete this)\n actionButton1 = new TablesButtonColumn(tableTables, openTableAction, tableTables.convertColumnIndexToView(TablesTableModel.ACTION_COLUMN));\n actionButton2 = new TablesButtonColumn(tableCompleted, closedTableAction, tableCompleted.convertColumnIndexToView(MatchesTableModel.COLUMN_ACTION));\n // selection\n tablesLastSelection.put(tableTables, \"\");\n tablesLastSelection.put(tableCompleted, \"\");\n addTableSelectListener(tableTables);\n addTableSelectListener(tableCompleted);\n // double click\n addTableDoubleClickListener(tableTables, openTableAction);\n addTableDoubleClickListener(tableCompleted, closedTableAction);\n }",
"@Override\n protected String getTableNameForMetadata(String tableName) {\n return (tableName == null) ? IdentifierUtil.PERCENT :\n getTableNameForMetadata(DBIdentifier.newTable(tableName));\n }",
"private void setUpPlayerTable() {\n setPlayerTable(tableTeamBlue, playerNameBlue, playerGoalsBlue, playerShotsBlue, playerSavesBlue, playerAssistsBlue, playerAvgSpeedBlue);\n\n setPlayerTable(tableTeamRed, playerNameRed, playerGoalsRed, playerShotsRed, playerSavesRed, playerAssistsRed, playerAvgSpeedRed);\n\n }",
"private void Update_table() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"public boolean updateTableFromTap(String fullTableName, TableConfig config);",
"@Override\n\tprotected String getTableName() {\n\t\treturn super.getTableName();\n\t}",
"public final String getTableName() {\n\t\treturn wTableName;\n\t}",
"private void setUpTable()\n {\n //Setting the outlook of the table\n bookTable.setColumnReorderingAllowed(true);\n bookTable.setColumnCollapsingAllowed(true);\n \n \n bookTable.setContainerDataSource(allBooksBean);\n \n \n //Setting up the table data row and column\n /*bookTable.addContainerProperty(\"id\", Integer.class, null);\n bookTable.addContainerProperty(\"book name\",String.class, null);\n bookTable.addContainerProperty(\"author name\", String.class, null);\n bookTable.addContainerProperty(\"description\", String.class, null);\n bookTable.addContainerProperty(\"book genres\", String.class, null);\n */\n //The initial values in the table \n db.connectDB();\n try{\n allBooks = db.getAllBooks();\n }catch(SQLException ex)\n {\n ex.printStackTrace();\n }\n db.closeDB();\n allBooksBean.addAll(allBooks);\n \n //Set Visible columns (show certain columnes)\n bookTable.setVisibleColumns(new Object[]{\"id\",\"bookName\", \"authorName\", \"description\" ,\"bookGenreString\"});\n \n //Set height and width\n bookTable.setHeight(\"370px\");\n bookTable.setWidth(\"1000px\");\n \n //Allow the data in the table to be selected\n bookTable.setSelectable(true);\n \n //Save the selected row by saving the change Immediately\n bookTable.setImmediate(true);\n //Set the table on listener for value change\n bookTable.addValueChangeListener(new Property.ValueChangeListener()\n {\n public void valueChange(ValueChangeEvent event) {\n \n }\n\n });\n }",
"public String tableName() {\n if ( tableName != null ) {\n return tableName;\n }\n\n TableName annotation = this.entityType().getAnnotation( TableName.class );\n if ( annotation != null ) {\n tableName = annotation.value();\n } else {\n tableName = entityType().getSimpleName().toLowerCase() + 's';\n }\n return tableName;\n }",
"@Test(expected = Test.None.class)\r\n\tpublic void testTableChanged() throws Exception{\r\n\t\tTableModelEvent e = new TableModelEvent(tableModel,2,2,2);\r\n\t\tModel m = new Model(0, \"trainName\", \"pathUnique\", false, fileType);\r\n\t\tModel m1 = new Model(0, \"trainName1\", \"pathUnique1\", true, fileType);\r\n\t\tModel m2 = new Model(0, \"trainName2\", \"pathUnique2\", false, fileType);\r\n\r\n\t\tfm.add(m);\r\n\t\tfm.add(m1);\r\n\t\tfm.add(m2);\r\n\t\t\r\n\t\ttrainSetListener.setLock();\r\n\t\tByteArrayOutputStream outContent = new ByteArrayOutputStream();\r\n\t System.setErr(new PrintStream(outContent));\r\n\t\ttrainSetListener.tableChanged(e);\r\n\t assertEquals(0, outContent.toString().length());\r\n\t\t\r\n\t\t\r\n\t\ttrainSetListener.unsetLock();\r\n\t\toutContent = new ByteArrayOutputStream();\r\n\t System.setErr(new PrintStream(outContent));\r\n\t\ttrainSetListener.tableChanged(e);\r\n\t assertEquals(0, outContent.toString().length());\r\n\t\t\r\n\t\t\r\n\t\toutContent = new ByteArrayOutputStream();\r\n\t System.setErr(new PrintStream(outContent));\r\n\t trainSetListener.tableChanged(null);\r\n\t assertTrue(outContent.toString().contains(\"\"\r\n\t \t\t+ \"java.lang.NullPointerException\"));\r\n\t}",
"@Override\n public void tableChanged(TableModelEvent e) {\n fireTableChanged(e);\n }",
"public void setStationTableName(String value) {\n stationTableName = value;\n }",
"public DatabaseTable(String tableName) {\n this.tableName = tableName;\n }",
"public void setColumnName(String newVal) {\n if ((newVal != null && this.columnName != null && (newVal.compareTo(this.columnName) == 0)) || \n (newVal == null && this.columnName == null && columnName_is_initialized)) {\n return; \n } \n this.columnName = newVal; \n\n columnName_is_modified = true; \n columnName_is_initialized = true; \n }",
"private void setTable() {\n try {\n DefaultTableModel dtm = (DefaultTableModel) table.getModel();\n dtm.setRowCount(0);\n ArrayList<Item> itemList = ItemController.getAllItem();\n if (itemList != null) {\n for (Item item : itemList) {\n String qoh = BatchController.getQOH(item.getCode());\n if (qoh != null) {\n if (item.getRol() >= Integer.valueOf(qoh)) {\n Object row[] = {item.getCode(), item.getDesciption(), item.getRol(), qoh};\n dtm.addRow(row);\n }\n }\n\n }\n }\n if (dtm.getRowCount() == 0) {\n JOptionPane.showMessageDialog(this, \"Stock level is above ROL\");\n }\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(ROL.class.getName()).log(Level.SEVERE, null, ex);\n } catch (SQLException ex) {\n Logger.getLogger(ROL.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"public void setearTablaRanking(DefaultTableModel model) {\r\n\t\tthis.tablaRanking = null;\r\n\t\tthis.tablaRanking = new JTable(model);\r\n\t\tthis.contentPane.add(this.tablaRanking);\r\n\t}",
"public R2dbcMessageHandlerSpec tableNameExpression(Expression tableNameExpression) {\n\t\tthis.reactiveMessageHandler.setTableNameExpression(tableNameExpression);\n\t\treturn this;\n\t}",
"public void setTableId(String tableId) {\n this.tableId = tableId;\n }",
"public void setTableId(String tableId) {\n this.tableId = tableId;\n }",
"public void testTable(JTable t,final int size) \n\t{\n\t\t\tt.setModel(new AbstractTableModel()\n\t\t\t{\n\t \tString[] columnNames={\" \",\" \"};\n\t public int getRowCount() { return size; }\n\t public int getColumnCount() { return 2; }\n\t \n\t public String getColumnName(int column)\n\t {\n\t return this.columnNames[column];\n\t }\n\t \n\t public void setColumnIdentifiers(Object[] newIdentifiers)\n\t {\n\t \t\n\t }\n\t \n\t public Object getValueAt(int row, int col)\n\t {\n\t\t Object value=\"\";\n\t\t if(row==0 && col==0)\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue=\"Person\";\n\t\t\t\t\t}\n\t\t\t\t\telse if(row==0 && col==1)\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue=\"Job\";\n\t\t\t\t\t}\n\t\t\t\t\telse if(col==0)\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue=row;\n\t\t\t\t\t}\n\t\t\t\t\telse if(col==1)\n\t\t\t\t\t{\n\t\t \t\t \tvalue=rowLabel[row-1]+1;\t\n\t\t\t\t\t}\t\t\n\t\t return value;\n\t }\n \n\t public boolean isCellEditable(int row, int col) { return false; }\n\t public void setValueAt(Object value, int row, int col) { }\n });\n }",
"public void setDbTable(String v) {this.dbTable = v;}",
"@Override\n\t\t\tpublic void CommitHandle(JTable table) {\n\t\t\t}",
"@Override\n\t\t\tpublic void CommitHandle(JTable table) {\n\t\t\t}",
"SqlTables(String tableName){\n\t\t\t this.tableName = tableName; \n\t\t}",
"public void doUpdateTable() {\r\n\t\tlogger.info(\"Actualizando tabla books\");\r\n\t\tlazyModel = new LazyBookDataModel();\r\n\t}",
"public void setTariffApprovalTable(DefaultTableModel NewTableModel){\r\n\t\t//Create combo box\r\n\t\tObject[] value = { \"Waiting\", \"Yes\", \"No\"};\r\n\t\tTariffApprovalTable.setModel(NewTableModel);\r\n\t\tDefaultComboBoxModel<?> comboModel = new DefaultComboBoxModel( value );\r\n\t\tJComboBox combo = new JComboBox();\r\n\t\tcombo.setModel( comboModel );\r\n\t\tTableColumn col = TariffApprovalTable.getColumnModel().getColumn( 6 );\r\n\t\tcol.setCellEditor( new DefaultCellEditor( combo ) );\r\n\t\t//Hide columns\r\n\t\tTariffApprovalTable.removeColumn(TariffApprovalTable.getColumnModel().getColumn( 0 ));\r\n\t\tTariffApprovalTable.removeColumn(TariffApprovalTable.getColumnModel().getColumn( 1 ));\r\n\t\t//All values are in the center of the cell\t\t\r\n\t\tDefaultTableCellRenderer CenterRenderer = new DefaultTableCellRenderer();\r\n\t\tCenterRenderer.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tTariffApprovalTable.setDefaultRenderer(Object.class, CenterRenderer);\r\n\t}",
"public void setTableBase(Double tableBase) {\r\n this.tableBase = tableBase;\r\n }",
"public void setTableId(Long tableId) {\n this.tableId = tableId;\n }"
] |
[
"0.6883281",
"0.651691",
"0.6392916",
"0.62345254",
"0.6185981",
"0.617989",
"0.617989",
"0.60867476",
"0.60867476",
"0.60867476",
"0.60334337",
"0.6010325",
"0.5963383",
"0.58623344",
"0.58326036",
"0.57018083",
"0.56001866",
"0.55888873",
"0.55672425",
"0.55566454",
"0.55550325",
"0.55550325",
"0.55465263",
"0.55465263",
"0.55235523",
"0.5501701",
"0.54703724",
"0.54664725",
"0.5446903",
"0.54286665",
"0.5428503",
"0.5406061",
"0.5400714",
"0.5400554",
"0.5381378",
"0.5381378",
"0.53812015",
"0.5377816",
"0.53269017",
"0.53097636",
"0.5305092",
"0.53028506",
"0.5298724",
"0.5268893",
"0.52578694",
"0.52550936",
"0.5250907",
"0.522627",
"0.5214111",
"0.5206215",
"0.51838803",
"0.51838803",
"0.5183451",
"0.5183451",
"0.51767004",
"0.51767004",
"0.5171768",
"0.51716566",
"0.51461786",
"0.51423055",
"0.5142193",
"0.5140077",
"0.513987",
"0.5138818",
"0.51303995",
"0.5109309",
"0.5090805",
"0.5082074",
"0.5081573",
"0.50705194",
"0.50485533",
"0.5021683",
"0.50141346",
"0.5007257",
"0.49938813",
"0.49820325",
"0.4978382",
"0.4977521",
"0.49595556",
"0.49529147",
"0.49483737",
"0.4945522",
"0.49446392",
"0.49429244",
"0.49166343",
"0.49123687",
"0.49013636",
"0.48940355",
"0.48801762",
"0.48755512",
"0.48755512",
"0.4874195",
"0.48474798",
"0.48419774",
"0.48419774",
"0.48414528",
"0.48332977",
"0.4825124",
"0.48186144",
"0.48150674"
] |
0.7603935
|
0
|
Determines if the tableName has been modified.
|
public boolean isTableNameModified() {
return tableName_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isColumnNameModified() {\n return columnName_is_modified; \n }",
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate_is_modified;\n }",
"public static boolean isChanged(PO po) {\n\t\tString[] columnNames = s_sourceColumnNames.get(po.get_TableName());\n\t\tif (columnNames == null || columnNames.length == 0) {\n\t\t\treturn false;\n\t\t}\n\t\tif (po.is_new() || po.is_ValueChanged(\"IsActive\")) {\n\t\t\treturn true;\n\t\t}\n\t\tfor (String columnName : columnNames) {\n\t\t\tif (po.is_ValueChanged(columnName)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"private boolean isTableNameSelected(final String tableName) {\n \n final DataSource tableDataSource = DataSourceFactory.createDataSource();\n tableDataSource.addTable(ProjectUpdateWizardConstants.AFM_FLDS_TRANS);\n tableDataSource.addField(\"autonumbered_id\");\n tableDataSource.addRestriction(Restrictions.in(ProjectUpdateWizardConstants.AFM_FLDS_TRANS,\n CHANGE_TYPE, DifferenceMessage.TBL_IS_NEW.name()));\n tableDataSource.addRestriction(Restrictions.eq(ProjectUpdateWizardConstants.AFM_FLDS_TRANS,\n CHOSEN_ACTION, Actions.APPLY_CHANGE.getMessage()));\n tableDataSource.addRestriction(Restrictions.eq(ProjectUpdateWizardConstants.AFM_FLDS_TRANS,\n TABLE_NAME, tableName));\n\n return tableDataSource.getRecords().size() > 0;\n }",
"public boolean hasAlterTable() {\n \t\treturn true;\n \t}",
"public boolean updateInformationSchemaTable(){\n\t\tSchema currentSchema = Schema.getSchemaInstance();\n\t\tString currentSchemaName = currentSchema.getCurrentSchema();\n\t\tboolean isFound = false;\n\t\ttry {\n\t\t\tRandomAccessFile tablesTableFile = new RandomAccessFile(\"information_schema.table.tbl\", \"rw\");\n\n\t\t\t//Searching to see if the information schema is present or not\n\t\t\twhile(tablesTableFile.getFilePointer() < tablesTableFile.length()){\n\t\t\t\tString readSchemaName = \"\";\n\t\t\t\tbyte varcharLength = tablesTableFile.readByte();\n\t\t\t\tfor(int j = 0; j < varcharLength; j++)\n\t\t\t\t\treadSchemaName += (char)tablesTableFile.readByte();\n\n\t\t\t\tif(readSchemaName.equals(currentSchemaName)){\n\t\t\t\t\tString readTableName = \"\";\n\t\t\t\t\tbyte varcharTableLength = tablesTableFile.readByte();\n\t\t\t\t\tfor(int j = 0; j < varcharTableLength; j++)\n\t\t\t\t\t\treadTableName += (char)tablesTableFile.readByte();\n\n\t\t\t\t\tif(readTableName.equals(tableName)){\n\t\t\t\t\t\tisFound = true;\n\t\t\t\t\t\tSystem.out.println(\"Table '\" + tableName + \"' already exits...\");\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\ttablesTableFile.readLong();\n\t\t\t\t} else {\n\t\t\t\t\tbyte traverseLength = tablesTableFile.readByte();\n\t\t\t\t\tfor(int j = 0; j < traverseLength; j++)\n\t\t\t\t\t\ttablesTableFile.readByte();\n\t\t\t\t\ttablesTableFile.readLong();\n\t\t\t\t}\t\n\t\t\t}\n\n\t\t\tif(!isFound){\n\t\t\t\t//Traversing to the end of file\n\t\t\t\ttablesTableFile.seek(tablesTableFile.length());\n\t\t\t\ttablesTableFile.writeByte(currentSchemaName.length()); // TABLE_SCHEMA\n\t\t\t\ttablesTableFile.writeBytes(currentSchemaName);\n\t\t\t\ttablesTableFile.writeByte(tableName.length()); // TABLE_NAME\n\t\t\t\ttablesTableFile.writeBytes(tableName);\n\t\t\t\ttablesTableFile.writeLong(0); // TABLE_ROWS\n\t\t\t}\n\n\t\t\ttablesTableFile.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\t\n\t\treturn isFound;\n\t}",
"public final boolean getIsRowUpdated() {\n return isRowUpdated_;\n }",
"boolean isModified();",
"boolean isModified();",
"public boolean isSetTableName() {\n return this.tableName != null;\n }",
"public boolean hasChanges();",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean rowUpdated() throws SQLException {\n\n try {\n debugCodeCall(\"rowUpdated\");\n return false;\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"boolean hasUpdate();",
"boolean hasUpdate();",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"public boolean isTableNameInitialized() {\n return tableName_is_initialized; \n }",
"public boolean isModified();",
"public boolean isModified();",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"boolean hasTsUpdate();",
"public boolean isModified()\n {\n // a class is only modifiable after it is loaded\n if (!m_fLoaded)\n {\n return m_fModified;\n }\n\n if (m_fModified || m_abClazz == null || m_pool.isModified())\n {\n return true;\n }\n\n // check all other VM sub-structures\n StringTable[] atbl = CONTAINED_TABLE;\n for (int i = 0; i < atbl.length; ++i)\n {\n Enumeration enmr = atbl[i].elements();\n while (enmr.hasMoreElements())\n {\n if (((VMStructure) enmr.nextElement()).isModified())\n {\n return true;\n }\n }\n }\n\n return false;\n }",
"public boolean isDirty();",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"public boolean isTableEditable() {\n return tableEditable;\n }",
"public boolean isModified() {\n return(!this.getText().equals(editBeginValue));\n }",
"public boolean rowUpdated() throws SQLException\n {\n return m_rs.rowUpdated();\n }",
"public boolean isTableField()\n {\n boolean ret = false;\n try {\n ret = getField().getCollection() instanceof Table;\n } catch (final CacheReloadException e) {\n LOG.error(\"CacheReloadException\", e);\n }\n return ret;\n }",
"public boolean isNewPartDbTable(String tbName) {\n return partInfoCtxCache.containsKey(tbName);\n }",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}",
"public boolean isEstadoModified()\n\t{\n\t\treturn estadoModified;\n\t}",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"@JsonIgnore\n\tpublic boolean isEmptyEdit() {\n\t\treturn getUpdatedStatements().isEmpty();\n\t}",
"boolean isOssModified();",
"public boolean isRolModified()\n\t{\n\t\treturn rolModified;\n\t}",
"public boolean wasDataUpdated() {\n\t\treturn true;\n\t}",
"public boolean forUpdateOfColumns() {\n \t\t// by default we report no support\n \t\treturn false;\n \t}",
"boolean hasUpdateTriggerTime();",
"public boolean isModified()\n\t{\n\t\treturn isModified;\n\t}",
"public boolean isSetWholeTbl()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(WHOLETBL$2) != 0;\n }\n }",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}",
"public boolean isChangeType()\n {\n return hasChanges;\n }",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"public void updatedTable() {\r\n\t\tfireTableDataChanged();\r\n\t}",
"public boolean supportsTableCheck() {\n \t\treturn true;\n \t}",
"public boolean hasChanges() {\n return !(changed.isEmpty() && defunct.isEmpty());\n }",
"public void setTableName(String newVal) {\n if ((newVal != null && this.tableName != null && (newVal.compareTo(this.tableName) == 0)) || \n (newVal == null && this.tableName == null && tableName_is_initialized)) {\n return; \n } \n this.tableName = newVal; \n\n tableName_is_modified = true; \n tableName_is_initialized = true; \n }",
"@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}",
"private void UpdateTable() {\n\t\t\t\t\n\t\t\t}",
"public boolean isStModified() {\n return st_is_modified; \n }",
"public void IsBeingCleaned() {\n\t\tSystem.out.println(\"Table already being cleaned.\");\n\t}",
"public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}",
"public boolean isModified() {\n return isModified;\n }",
"public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }",
"public boolean updateTableFromTap(String fullTableName, TableConfig config);",
"public boolean isUpdated()\n\t{\n\t\treturn mUpdated;\n\t}",
"public boolean hasChanged();",
"public boolean hasChanged();",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }",
"protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"boolean hasChangeStatus();",
"@WorkflowAction(loggable = false)\n public boolean isModified()\n throws WorkflowException, MappingException, RepositoryException, RemoteException;",
"public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }",
"public final boolean isModified() {\n return this.modified;\n }",
"boolean getIsUpdate();",
"public boolean isDbToUpdate() {\n\t\treturn !(this.properties.getProperty(SoundLooperProperties.KEY_DB_TO_UPDATE, \"0\").equals(\"0\"));\n\t}",
"public boolean isUpdated() {\n return this.updated;\n }",
"public boolean canUndo()\n {\n if (undoableChanges == null || undoableChanges.size() > 0)\n return true;\n else\n return false;\n }",
"public void IsInUse() {\n\t\tSystem.out.println(\"Table being cleaned, cannot be used.\");\n\t}",
"protected boolean hasTable(String tableName) {\n\t\tboolean tableNameAlreadyExists = false;\n\t\ttry {\n\t\t\tDatabaseMetaData dbm = conn.getMetaData();\n\t\t\t\n\t\t\tResultSet tableNameSet = dbm.getTables(null, null, \"Persons\", null);\n\t\t\tif (tableNameSet.next()) {\n\t\t\t\ttableNameAlreadyExists = true;\n\t\t\t}\n\t\t\ttableNameSet.close();\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"ERROR in addTable(String tableName)...\");\n\t\t}\n\t\treturn tableNameAlreadyExists;\n\t}",
"@Override\n\tpublic void tableChanged(TableModelEvent arg0) {\n\t\t\n\t}",
"public synchronized boolean hasChanged() {\n return changed;\n }",
"@Override\n\tpublic void checkTableVersion() {\n\n\t}",
"public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }",
"private boolean isTableInDb() throws SQLException\n {\n final String sqlQuery = \"SELECT name FROM sqlite_master WHERE type='table' AND name='\" + TABLE_NAME +\n \"'\";\n\n try (\n final PreparedStatement statement = database.connection().prepareStatement(sqlQuery);\n final ResultSet resultSet = statement.executeQuery();\n )\n {\n if (!resultSet.next())\n return false;\n\n // read table name\n final String tableName = resultSet.getString(1);\n if (resultSet.wasNull() || !tableName.equals(TABLE_NAME))\n return false;\n }\n\n return true;\n }",
"public boolean isChanged() {\n return this.changed;\n }",
"public boolean isItDirty() {\n\t\treturn false;\n\t}",
"boolean needUpdate();",
"public boolean hasChanged()\n {\n return map.hasChanged();\n }",
"public boolean isEmptyTable() {\r\n return emptyTable;\r\n }",
"public boolean hasUpdatedAt() {\n return updatedAt_ != null;\n }",
"public void updateTable()\r\n {\r\n ((JarModel) table.getModel()).fireTableDataChanged();\r\n }",
"public boolean isGridUpdated() {\n return GRIDUPDATED.equals(message);\n }",
"public boolean isSetTableType() {\n return this.tableType != null;\n }",
"public boolean isSaveRequired(){\r\n\r\n //If data is modified in any of the tabs\r\n if( instRateClassTypesController.isSaveRequired() ||\r\n instituteRatesController.isSaveRequired() ){\r\n return true;\r\n }\r\n \r\n java.util.Enumeration enumeration = queryEngine.getKeyEnumeration(queryKey);\r\n \r\n Equals eqInsert = new Equals(AC_TYPE, TypeConstants.INSERT_RECORD);\r\n Equals eqUpdate = new Equals(AC_TYPE, TypeConstants.UPDATE_RECORD);\r\n Equals eqDelete = new Equals(AC_TYPE, TypeConstants.DELETE_RECORD);\r\n \r\n Or insertOrUpdate = new Or(eqInsert, eqUpdate);\r\n Or insertOrUpdateOrDelete = new Or(insertOrUpdate, eqDelete);\r\n \r\n Object key;\r\n CoeusVector data;\r\n boolean ratesModified = false;\r\n try{\r\n while(enumeration.hasMoreElements()) {\r\n key = enumeration.nextElement();\r\n \r\n if(!(key instanceof Class)) continue;\r\n \r\n data = queryEngine.executeQuery(queryKey, (Class)key, insertOrUpdateOrDelete);\r\n if(! ratesModified) {\r\n if(data != null && data.size() > 0) {\r\n ratesModified = true;\r\n break;\r\n }\r\n }\r\n }\r\n }catch (CoeusException coeusException) {\r\n coeusException.printStackTrace();\r\n }\r\n return ratesModified;\r\n }",
"public void tableRefChanged() {\r\n\t\t// clear the table Element so it will be recreated\r\n\t\ttableElement = null;\r\n\t\t\r\n\t\t// tell the files that this table has changed\r\n\t\tif (refFiles != null) {\r\n\t\t\tfor(ReferenceFile refFile : refFiles) {\r\n\t\t\t\trefFile.setUpdated(true);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public final boolean isEdited(){\n\t\treturn JsUtils.getNativePropertyBoolean(this, \"edited\");\n\t}",
"boolean hasModelDelta();",
"@Override\n public boolean isCellEditable(int row, int column) {\n return column == DownloadCompletedTable.OPERATING;\n }",
"public boolean canUpdate();"
] |
[
"0.702555",
"0.68566847",
"0.6621127",
"0.6609808",
"0.64606833",
"0.63353944",
"0.6258897",
"0.6243344",
"0.6243344",
"0.61791056",
"0.6152112",
"0.6147674",
"0.6147674",
"0.6147674",
"0.6147674",
"0.6147674",
"0.61249405",
"0.60979843",
"0.60979843",
"0.60769707",
"0.6049101",
"0.604378",
"0.604378",
"0.6043437",
"0.6030299",
"0.60155654",
"0.6001564",
"0.5998625",
"0.5992135",
"0.5976687",
"0.5946565",
"0.59342676",
"0.5896103",
"0.5883512",
"0.5849512",
"0.5841569",
"0.5837629",
"0.5836001",
"0.5827106",
"0.5816727",
"0.5807777",
"0.5792559",
"0.5785427",
"0.57799256",
"0.5778621",
"0.57636833",
"0.5762576",
"0.5760667",
"0.57509285",
"0.57507885",
"0.5733355",
"0.57251346",
"0.57241267",
"0.5708497",
"0.5703584",
"0.5695941",
"0.5691965",
"0.568877",
"0.5674069",
"0.5670422",
"0.5670196",
"0.5663434",
"0.5652477",
"0.5648939",
"0.56374097",
"0.56374097",
"0.56357014",
"0.5635433",
"0.5612674",
"0.5612597",
"0.56081843",
"0.5602451",
"0.5590504",
"0.5569928",
"0.556519",
"0.55570376",
"0.5550926",
"0.55308676",
"0.5529655",
"0.5517632",
"0.55176014",
"0.55148304",
"0.5506145",
"0.5504587",
"0.5500908",
"0.5497412",
"0.54816335",
"0.5463744",
"0.54473",
"0.5440456",
"0.543853",
"0.54357874",
"0.5432435",
"0.54293203",
"0.5425465",
"0.542017",
"0.5414368",
"0.5396985",
"0.5396016",
"0.53910184"
] |
0.8733999
|
0
|
Determines if the tableName has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized.
|
public boolean isTableNameInitialized() {
return tableName_is_initialized;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\n return this.tableName != null;\n }",
"public boolean isEmptyTable() {\r\n return emptyTable;\r\n }",
"public boolean isSetTableType() {\n return this.tableType != null;\n }",
"public boolean isColumnNameInitialized() {\n return columnName_is_initialized; \n }",
"public boolean isSetPktable_name() {\n return this.pktable_name != null;\n }",
"private boolean hasTableContainerLoaded() {\n return delegationDefaultCreationScreen.tableContainer.isDisplayed();\n }",
"public boolean isEmpty(String tableName) {\n\n boolean empty = true;\n\n SQLiteDatabase db = DatabaseManager.getInstance().open();\n\n String count = \"SELECT count(*) FROM \" + tableName;\n\n Cursor cursor = db.rawQuery(count, null);\n cursor.moveToFirst();\n\n if (cursor.getInt(0) > 0)\n empty = false;\n\n DatabaseManager.getInstance().close();\n\n return empty;\n }",
"public boolean isSetFktable_name() {\n return this.fktable_name != null;\n }",
"public boolean tableRequired()\n {\n return true;\n }",
"public boolean isSetHbaseTable() {\n return this.hbaseTable != null;\n }",
"@Override\n\tpublic boolean isEmpty() {\n\t\tif (entityType2tableName.isEmpty())\n\t\t\treturn true;\n\t\t\n\t\t// the hard way \n\t\ttry {\n\t\t\tStatement st = connection.createStatement(\n\t\t\t\t\tResultSet.TYPE_SCROLL_INSENSITIVE,\n\t\t ResultSet.CONCUR_READ_ONLY);\n\t\t\t\n\t\t\tfor (String tableName: entityType2tableName.values()) {\n\t\t\t\t//ResultSet set = st.executeQuery(\"SELECT * FROM \"+tableName+\";\");\n\t\t\t\t\n\t\t\t\tResultSet set = st.executeQuery(\"SELECT * FROM \"+tableName+\" LIMIT 1\");\n\t\t\t\t\n\t\t\t\tif (!set.next())\n\t\t\t\t\treturn true;\n\t\t\t\t\n\t\t\t}\n\t\t} catch (SQLException e1) {\n\t\t\te1.printStackTrace();\n\t\t\tthrow new RuntimeException(\"Error while checking if the table is empty\",e1);\n\t\t}\n\t\t\n\t\treturn false;\n\t}",
"public boolean isTableField()\n {\n boolean ret = false;\n try {\n ret = getField().getCollection() instanceof Table;\n } catch (final CacheReloadException e) {\n LOG.error(\"CacheReloadException\", e);\n }\n return ret;\n }",
"public boolean checkEmptyTable(String table) {\n // Select query\n String selectQuery = \"SELECT count(*) FROM \" + table;\n\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor cursor = db.rawQuery(selectQuery, null);\n\n if (cursor != null) { cursor.moveToFirst(); }\n\n int countRows = cursor.getInt(0);\n\n return !(countRows > 0);\n }",
"public boolean isSetWholeTbl()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(WHOLETBL$2) != 0;\n }\n }",
"public void initTable();",
"private boolean checkInputTableName(AccessInputMeta meta){\n if (meta.getTableName()==null || meta.getTableName().length()<1)\n {\n MessageBox mb = new MessageBox(shell, SWT.OK | SWT.ICON_ERROR );\n mb.setMessage(BaseMessages.getString(PKG, \"AccessInputDialog.TableMissing.DialogMessage\"));\n mb.setText(BaseMessages.getString(PKG, \"System.Dialog.Error.Title\"));\n mb.open(); \n\n return false;\n }\n else\n {\n \treturn true;\n }\n\t}",
"public boolean isEmptyTable() {\r\n synchronized (lockRoutingTable) {\r\n return this.routingEntries.isEmpty();\r\n }\r\n }",
"public void IsReady() {\n\t\tSystem.out.println(\"Table now ready for customers.\");\n\t\ttable.setState(table.GetReady());\n\t}",
"public boolean tableExists(String pTableName)\n {\n \t// Busca en el esquema la existencia de la tabla.\n \treturn true;\n }",
"@Override\n public boolean isEmpty() throws DaoException {\n return isEmpty(TABLE_NAME);\n }",
"public boolean isSetDataSourceTable() {\n return this.dataSourceTable != null;\n }",
"public boolean isTableNameModified() {\n return tableName_is_modified; \n }",
"public static boolean isModelInitialized() {\r\n return cellModel != null;\r\n }",
"public boolean isSetTblBg()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(TBLBG$0) != 0;\n }\n }",
"public synchronized boolean fempty() {\n return table.isEmpty( ); // return if table is empty\n }",
"private boolean init() {\n\t\tString sql = \"SELECT v FROM user WHERE k='version'\";\t// TODO right now we are care only about is table exists of not\n //init_required = true;\n\t\tif (!this.r(sql)) {\n\t\t\tsql= \"CREATE TABLE user ( k CHAR(50), v TEXT );\";\n\t\t\tthis.r(sql);\n\t\t\tsql= \"CREATE UNIQUE INDEX kindex on user (k);\";\n\t\t\tthis.r(sql);\n\t\t\tsql= \"INSERT INTO user (k,v) VALUES ('version','1'), ('login',''), ('password',''), ('remember','1');\";\n\t\t\treturn this.r(sql);\n\t\t}\n\t\treturn true;\n\t}",
"private boolean isTable(ElementType elementType)\n {\n\n return (!elementType.children.isEmpty() ||\n !elementType.attributes.isEmpty());\n }",
"public boolean isEmpty (){\n\t\treturn hashTableSize == 0;\n\t}",
"public boolean isSetPktable_db() {\n return this.pktable_db != null;\n }",
"private boolean isTableEmpty(Uri tableUri) {\n\t\tif (null == mContext) {\n\t\t\tLogUtils.e(TAG, \"mContext object is null in isTableEmpty method \");\n\t\t\treturn false;\n\t\t}\n\t\tContentResolver contentResolver = mContext.getContentResolver();\n\t\tif (null == contentResolver) {\n\t\t\tLogUtils.e(TAG,\n\t\t\t\t\t\"contentResolver object is null in isTableEmpty method \");\n\t\t\treturn false;\n\t\t}\n\t\tCursor mCursorObj = contentResolver.query(tableUri, null, null, null,\n\t\t\t\tnull);\n\t\tif (null != mCursorObj && mCursorObj.getCount() == 0) {\n\t\t\t// zero rows.\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"public boolean isSetCatalogTable() {\n return this.catalogTable != null;\n }",
"public boolean isSetHdfsTable() {\n return this.hdfsTable != null;\n }",
"public boolean isSetTableMap() {\n return this.tableMap != null;\n }",
"private boolean isTableExist(String tableName){\n\t\tboolean isExist = false;\n\n\t\tCursor cursor = null;\n\t\ttry {\n\t\t\tcursor = dbReadable.rawQuery(\"select count(*) from \"+ tableName, null);\n\t\t\tisExist = true;\n\t\t} catch (Exception e) {\n\t\t\tisExist = false;\n\t\t} finally {\n\t\t\tif(cursor != null)\n\t\t\t\tcursor.close();\n\t\t}\n\t\t\n\t\treturn isExist;\n\t}",
"static boolean isInitializing()\n\t{\n\t\treturn INITIALIZING.get();\n\t}",
"private boolean tableExists(String pTableName) {\r\n\t\tboolean returnedValue = false;\r\n\t\t\r\n\t\tif (getDatabse() != null && getDatabse().isOpen()) {\r\n\t\t\tCursor cursor = getDatabse().rawQuery(\"SELECT DISTINCT tbl_name FROM sqlite_master WHERE tbl_name = ?\", new String[] { pTableName });\r\n\t\t\tif (cursor != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcursor.moveToLast();\r\n\t\t\t\t\tcursor.moveToFirst();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (cursor.getCount() > 0) {\r\n\t\t\t\t\t\treturnedValue = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t} finally {\r\n\t\t\t\t\tcursor.close();\r\n\t\t\t\t\tcursor = null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn returnedValue;\r\n\t}",
"public boolean isInit() {\r\n\t\treturn isInit;\r\n\t}",
"public boolean wasInitialized()\n {\n return this.isInitialized;\n }",
"protected void checkInitialized() {\n \tcheckState(this.breeder!=null && this.threads!=null, \"Local state was not correctly set after being deserialized.\");\n }",
"public boolean isInitialized() {\n return (WINDOW != null && WINDOW_BORDER != null);\n }",
"public boolean isSetColName() {\n return this.colName != null;\n }",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"public boolean isSetFktable_db() {\n return this.fktable_db != null;\n }",
"public boolean needsAllocArrays() {\n return this.table == null;\n }",
"void initTable();",
"public boolean initialized() {\n return true;\r\n }",
"private boolean isTableNameSelected(final String tableName) {\n \n final DataSource tableDataSource = DataSourceFactory.createDataSource();\n tableDataSource.addTable(ProjectUpdateWizardConstants.AFM_FLDS_TRANS);\n tableDataSource.addField(\"autonumbered_id\");\n tableDataSource.addRestriction(Restrictions.in(ProjectUpdateWizardConstants.AFM_FLDS_TRANS,\n CHANGE_TYPE, DifferenceMessage.TBL_IS_NEW.name()));\n tableDataSource.addRestriction(Restrictions.eq(ProjectUpdateWizardConstants.AFM_FLDS_TRANS,\n CHOSEN_ACTION, Actions.APPLY_CHANGE.getMessage()));\n tableDataSource.addRestriction(Restrictions.eq(ProjectUpdateWizardConstants.AFM_FLDS_TRANS,\n TABLE_NAME, tableName));\n\n return tableDataSource.getRecords().size() > 0;\n }",
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"protected boolean hasTable(String tableName) {\n\t\tboolean tableNameAlreadyExists = false;\n\t\ttry {\n\t\t\tDatabaseMetaData dbm = conn.getMetaData();\n\t\t\t\n\t\t\tResultSet tableNameSet = dbm.getTables(null, null, \"Persons\", null);\n\t\t\tif (tableNameSet.next()) {\n\t\t\t\ttableNameAlreadyExists = true;\n\t\t\t}\n\t\t\ttableNameSet.close();\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"ERROR in addTable(String tableName)...\");\n\t\t}\n\t\treturn tableNameAlreadyExists;\n\t}",
"public boolean fillEmptyTable() {\n if(isEmpty()) {\n System.err.println(\"The queue is empty! All of the walk-ins have been seated!\");\n return false;\n }\n else {\n WalkIn out = first.getData();\n first = first.getNextNode();\n if(first == null) last = null;\n size--;\n System.out.println(\"Here is your table \" + out.getNames() + \".\" \n + \" You've been seated at \" + out.getTime() + \".\");\n return true;\n }\n }",
"protected abstract void initialiseTable();",
"private boolean isTableInDb() throws SQLException\n {\n final String sqlQuery = \"SELECT name FROM sqlite_master WHERE type='table' AND name='\" + TABLE_NAME +\n \"'\";\n\n try (\n final PreparedStatement statement = database.connection().prepareStatement(sqlQuery);\n final ResultSet resultSet = statement.executeQuery();\n )\n {\n if (!resultSet.next())\n return false;\n\n // read table name\n final String tableName = resultSet.getString(1);\n if (resultSet.wasNull() || !tableName.equals(TABLE_NAME))\n return false;\n }\n\n return true;\n }",
"public boolean isInit() {\n\t\t\treturn this.gridIsInit;\n\t\t}",
"public boolean isInitialized()\n {\n return isInit;\n }",
"public boolean isLoaded() \n\t{\n\t return htRecords != null ;\n\t}",
"protected boolean acceptUninitializedField(Field f) {\n return false;// by default all property need to be initialized after setup.\n }",
"public boolean initialized()\n\t{\n\t\treturn mInitialized;\n\t}",
"public boolean isDescriptionInitialized() {\n return description_is_initialized; \n }",
"@Override\r\n\tpublic String getTableName() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic String getTableName() {\n\t\treturn null;\r\n\t}",
"public boolean tableHasRecords(String tableName) {\n\n int count = 0;\n\n try{\n PreparedStatement query = conn.prepareStatement(\"SELECT COUNT(id) AS 'count' FROM \" + tableName + \";\");\n ResultSet results = query.executeQuery();\n\n while (results.next()){\n count = results.getInt(\"count\");\n } \n\n if(count > 0){\n return true;\n }\n\n } catch (SQLException e){\n e.printStackTrace();\n }\n\n return false;\n }",
"@Override\n\tpublic String getTableName() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic String getTableName() {\n\t\treturn null;\n\t}",
"public boolean isSetFirstCol()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(FIRSTCOL$14) != 0;\n }\n }",
"public boolean isSetPkcolumn_name() {\n return this.pkcolumn_name != null;\n }",
"public boolean isInitialized() {\n return initialized;\n }",
"public static boolean isInitialized() {\n\t\treturn (dataProvider != null);\n\t}",
"public static boolean isInitialized() {\n\t\treturn instance != null;\n\t}",
"public boolean isSetUnassignedTablets() {\n return __isset_bit_vector.get(__UNASSIGNEDTABLETS_ISSET_ID);\n }",
"public boolean isInitialized() {\n\t\treturn initialized;\n\t}",
"public boolean isInitialized()\n {\n return initialized;\n }",
"public void IsInUse() {\n\t\tSystem.out.println(\"Table being cleaned, cannot be used.\");\n\t}",
"public synchronized boolean fempty() {\n\t\treturn table.isEmpty();//if the file table is empty, return to call the starting format\n\t}",
"@Test\n public void testTableFactoryEmpty() {\n TableController tableController = tableFactory.getTableController();\n Map<Integer, ArrayList<Table>> tableMap = tableController.getTableMap();\n // loop through the map, check that each list is empty\n for (ArrayList<Table> list : tableMap.values()) {\n assertEquals(0, list.size());\n }\n }",
"@Override\n\t\tpublic String getTableName() {\n\t\t\treturn null;\n\t\t}",
"public boolean isTypeInitialized() {\n return type_is_initialized; \n }",
"public boolean isInitialized() {\n return initialized;\n }",
"public boolean isRoomstlogidInitialized() {\n return roomstlogid_is_initialized; \n }",
"public boolean isInitier() {\n\t\treturn getStatut().equals(StatusBonPreparation.INITIER);\n\t}",
"public boolean isInitialized() {\r\n return initialized;\r\n }",
"public Boolean isDatabaseReady() {\n\t\tif (databaseIsReady == false) {\n\t\t\tdatabaseIsReady = tableExists(SERVICE_STATE_TABLE);\n\t\t}\n\t\treturn databaseIsReady;\n\t}",
"private boolean isTableExists(SQLiteDatabase db, String tableName) {\n boolean ret = false;\n String query = new StringBuilder(\"SELECT name FROM sqlite_master WHERE type='table' AND name='\")\n .append(tableName)\n .append(\"';\")\n .toString();\n JSArray resQuery = this.selectSQL(db, query, new ArrayList<String>());\n if (resQuery.length() > 0) ret = true;\n return ret;\n }",
"public static boolean testTableClear() {\r\n table.clear();\r\n if (table.size() != 0)\r\n return false;\r\n return true;\r\n }",
"public boolean isRoomstidInitialized() {\n return roomstid_is_initialized; \n }",
"public boolean isSetColumn_names() {\n return this.column_names != null;\n }",
"public boolean supportsTableCheck() {\n \t\treturn true;\n \t}",
"public boolean isSetColumnNames() {\r\n return this.columnNames != null;\r\n }",
"private boolean studentTableExists() throws SQLException{\n\n String checkTablePresentQuery = \"SHOW TABLES LIKE '\" + STUDENT_TABLE_NAME + \"'\"; //Can query the database schema\n ResultSet tablesRS = ConnectDB.statement.executeQuery(checkTablePresentQuery);\n return (tablesRS.next());\n }",
"private boolean tableExistsAndIsOK() throws SQLException {\n trace(\"tableExistsAndIsOK\");\n boolean result;\n Statement stmt = _connection.createStatement();\n try {\n stmt.setMaxRows(1);\n String command = \"SELECT \" + LONG_VALUE + \" FROM \" + _tableName;\n ResultSet rs = stmt.executeQuery(command);\n rs.close();\n result = true;\n } catch (SQLException e) {\n result = false;\n }\n stmt.close();\n return result;\n }",
"public boolean isStatusdateInitialized() {\n return statusdate_is_initialized; \n }",
"private boolean tableExists(String tableName) {\n Connection conn = null;\n PreparedStatement stmt = null;\n String query = null;\n ResultSet rs = null;\n try {\n conn = getConnection();\n query = queryManager.getQuery(conn, QueryManager.TABLE_CHECK_QUERY);\n stmt = conn.prepareStatement(query.replace(QueryManager.TABLE_NAME_PLACEHOLDER, tableName));\n rs = stmt.executeQuery();\n return true;\n } catch (SQLException e) {\n log.debug(\"Table '{}' assumed to not exist since its existence check query {} resulted \"\n + \"in exception {}.\", tableName, query, e.getMessage());\n return false;\n } finally {\n closeConnection(conn, stmt, rs);\n }\n }",
"public boolean isInitialized()\n {\n return this.initialized;\n }",
"public void init(String tableName, String[] fields) {\n\t\tthis.tableName = tableName;\n\t\tthis.fields = fields;\n\t}",
"public boolean isUpdateDateInitialized() {\n return updateDate_is_initialized; \n }"
] |
[
"0.7475604",
"0.7475604",
"0.7475604",
"0.7475604",
"0.7475604",
"0.7475527",
"0.6456665",
"0.64299655",
"0.6408707",
"0.629867",
"0.6122667",
"0.6106927",
"0.6057996",
"0.5925773",
"0.58863264",
"0.58406377",
"0.5806996",
"0.5798302",
"0.57884544",
"0.56892645",
"0.5675646",
"0.56739706",
"0.56255037",
"0.56119424",
"0.5607374",
"0.5607178",
"0.56021357",
"0.5594951",
"0.55838954",
"0.55662256",
"0.553481",
"0.5532719",
"0.54954183",
"0.5490501",
"0.54899323",
"0.54627955",
"0.5457543",
"0.54475164",
"0.54004574",
"0.5394231",
"0.5388941",
"0.5387382",
"0.5384675",
"0.53824556",
"0.5353055",
"0.535058",
"0.5347803",
"0.53351897",
"0.52765214",
"0.5275197",
"0.52589035",
"0.52580845",
"0.52572143",
"0.52555925",
"0.52513385",
"0.5250739",
"0.52495813",
"0.52339935",
"0.5224471",
"0.5212823",
"0.5207911",
"0.52005327",
"0.5190691",
"0.51830757",
"0.51769626",
"0.51769626",
"0.5172715",
"0.5171901",
"0.5171901",
"0.516672",
"0.51600605",
"0.5149993",
"0.51464653",
"0.5146295",
"0.5130316",
"0.5122192",
"0.51129884",
"0.51069283",
"0.51046413",
"0.5102669",
"0.50987154",
"0.5097602",
"0.50950575",
"0.50774235",
"0.5075883",
"0.50703114",
"0.5066901",
"0.50611466",
"0.50603247",
"0.5057642",
"0.5053512",
"0.5051996",
"0.504267",
"0.50296116",
"0.50282836",
"0.50236547",
"0.50228316",
"0.50106907",
"0.5004822",
"0.5004349"
] |
0.8224366
|
0
|
Getter method for columnName. Meta Data Information (in progress): full name: MTBTypes.columnName column size: 255 jdbc type returned by the driver: Types.VARCHAR
|
public String getColumnName() {
return columnName;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public java.lang.String getColumnName() {\r\n return columnName;\r\n }",
"public String getName(){\n\t\t\treturn columnName;\n\t\t}",
"public String getName() {\n return columnName;\n }",
"public String getColumnName() {\n return this.columnName;\n }",
"String getColumnName();",
"@Override\n public com.google.protobuf.ByteString\n getColumnBytes() {\n Object ref = column_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n column_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getColumn() {\n Object ref = column_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n column_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"public String getColumnName();",
"public com.google.protobuf.ByteString\n getColumnBytes() {\n Object ref = column_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n column_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Override\n public String getColumn() {\n Object ref = column_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n column_ = s;\n return s;\n }\n }",
"public String getColumnName() {\r\n return dataBinder.getColumnName();\r\n }",
"@Override\r\n\tpublic String getColumnName(int column) {\n\t\treturn columnName[column];\r\n\t}",
"@Override\r\n\tpublic String getColumnName(int column) {\n\t\treturn columnName[column];\r\n\t}",
"public Column getColumn(String columnName);",
"public String getColumnName(int columnIdx)\r\n\t{\r\n\t\treturn columnName[columnIdx];\r\n\t}",
"@Override\n public String getColumnName(int columnIndex) {\n return nomeColunas[columnIndex];\n }",
"@Override\n public String getColumnName(int columnIndex) {\n return nomeColunas[columnIndex];\n }",
"@Override\n public String getColumnName(int column) {\n return colName[column];\n }",
"public String getColumnName(int columnIndex){\n return COLUMN_NAMES[columnIndex];\n }",
"@Override\n public String getColumnName(int columnIndex) {\n return columnNames[columnIndex];\n }",
"public String getColumnName(int col) { return columnNames[col]; }",
"public abstract String getDatabaseColumnName(String entityName, String propertyName);",
"java.lang.String getColumn();",
"protected String getTableColumn()\n\t\t{\n\t\t\treturn Column ;\n\t\t}",
"public String getColumnName(int columnIndex){\r\n\t\t\tif (Person.getFieldColumn(columnIndex) != null)\r\n\t\t\t\treturn Person.getFieldColumn(columnIndex);\r\n\t\t\treturn \"\";\r\n\t\t}",
"@Override\n protected String getColumnNameForMetadata(String columnName) {\n return (columnName == null) ? \"%\" : super\n .getColumnNameForMetadata(columnName);\n }",
"@Override\n public String getColumnName(int column) { return columnnames[column]; }",
"private String getColumnName( String propertyName ) {\r\n String[] s = StringExtend.toArray( propertyName, \".\", false );\r\n return s[s.length - 1];\r\n }",
"@Override\n public String getColumnName(int aColumn) {\n return model.getColumnName(aColumn); \n }",
"public RColumn getRColumn (String columnName)\n\t{\n\t\tif (columnName == null)\n\t\t\treturn null;\n\t\tfor (RColumn col : m_data.cols) {\n\t\t\tif (columnName.equals(col.getColumnName())) {\n\t\t\t\treturn col;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}",
"public String getColumnName(int theCol) {\n return columnNameList[theCol];\n }",
"@Override\n\tpublic String getColumnName(int column) {\n\t\treturn this.colunas[column];\n\t}",
"@Override\n public String getColumnName(int column) {\n return columnNames[column];\n }",
"@Override\n public String getColumnName(int column) {\n return columnNames[column];\n }",
"public DataType getColDataType(String columnName) {\n final ColumnDefinition x = this.columns.get(columnName.toLowerCase());\n\n return (x == null) ? null\n : x.getDataType();\n }",
"@Override\n public String getName() {\n return columnInfo.getName();\n }",
"public static String getColumnString(Cursor cursor, String columnName) {\n return cursor.getString( cursor.getColumnIndex(columnName) );\n }",
"KijiColumnName getAttachedColumn();",
"@Override\n\tpublic String getColumnName(int arg0) throws SQLException {\n\t\treturn columns[arg0-1];\n\t}",
"public StrColumn getName() {\n return (StrColumn) (isText ? textFields.computeIfAbsent(\"name\", StrColumn::new) :\n getBinaryColumn(\"name\"));\n }",
"public void setColumnName(java.lang.String columnName) {\r\n this.columnName = columnName;\r\n }",
"@Override public String getColumnName(int iColumnIndex)\r\n {\r\n return COLUMN_NAMES[iColumnIndex];\r\n }",
"public String getColumnName(int col) {\n return columns[col] ;\n }",
"@Override\n public String getColumnName(int column) {\n if (column > colunas.length || column < 0) {\n return null;\n }\n return colunas[column];\n\n }",
"@Override\n\tpublic String getColumnName(int column) {\n\t\treturn names[column];\n\t}",
"final public ColumnName ColumnName() throws ParseException {String columnName;\n IntegerValue length = null;\n Token tk = null, tk2 = null;\n columnName = DbObjectName();\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case 118:{\n jj_consume_token(118);\n length = IntValue();\n jj_consume_token(119);\n break;\n }\n default:\n jj_la1[30] = jj_gen;\n ;\n }\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case ASC:{\n tk = jj_consume_token(ASC);\n break;\n }\n default:\n jj_la1[31] = jj_gen;\n ;\n }\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case DESC:{\n tk2 = jj_consume_token(DESC);\n break;\n }\n default:\n jj_la1[32] = jj_gen;\n ;\n }\nreturn new ColumnName(columnName, length, tk != null, tk2 != null);\n}",
"public void setColumnName(String columnName) {\n this.columnName = columnName;\n }",
"@Override\n\tpublic String getColumnName(int col) throws SQLException {\n\t\tif (col <= this.width && col >= 1) {\n\n\t\t\tcol--;\n\t\t\tString str = table[0][col];\n\t\t\tStringTokenizer token = new StringTokenizer(str, \",\");\n\t\t\tString label = token.nextToken();\n\n\t\t\treturn label;\n\n\t\t} else\n\t\t\tthrow new SQLException(\"column requested out of table bounds \");\n\t}",
"public String getColumnName(int columnIndex) {\n return resource.getString(columnNames.get(columnIndex));\n }",
"public String getColumnName(int column)throws IllegalStateException{\n if(!connectedToDatabase)\n throw new IllegalStateException(\"Not Connected to datsbase\");\n \n //determine col name\n try{\n return metaData.getColumnName(column+1);\n }catch(SQLException sQLException){\n sQLException.printStackTrace();\n }\n return \"\"; //if problems occur above, return 0 for number of columns\n \n }",
"@Override\r\n public String getColumnName(int column) {\n return (String)this.columnNames.get(column);\r\n }",
"@Override\n public String getColumnName(final int column) {\n return _columns.get(column);\n }",
"public String getColumnName(int columnIndex) {\r\n return this.table.getSchema().getColumnName(columnIndex);\r\n }",
"public String getColumnName(int col) {\r\n if (columns[col] instanceof StratmasObject) {\r\n return ((StratmasObject)columns[col]).getReference().getIdentifier().trim();\r\n }\r\n else {\r\n return (String)columns[col];\r\n }\r\n }",
"@Override\n\tpublic String getColumnName(int col)\n\t{\n\t\treturn nomColonnes[col];\n\t}",
"SqlColumns(String columnName){\n\t\t\t this.columnName = columnName; \n\t\t}",
"@Override\n\tpublic String getColumnName(int col) {\n\t\treturn NOMICOLONNE[col];\n\t}",
"private int getColumn(char columnName) {\r\n\t\tint result = -1;\r\n\t\tif (columnName > 64 && columnName < 91) {\r\n\t\t\tresult = columnName - 65;\r\n\t\t}\r\n\t\treturn result;\r\n\t}",
"public void setColumnName(String columnName)\n {\n this.columnName = columnName;\n }",
"@Override\r\n public String getColumnName(int col) {\r\n return title[col];\r\n }",
"@Override\n public String getColumnName(int column) {\n if (column == COL_ID) {\n return \"Código\";\n } else if (column == COL_NAME) {\n return \"Nome\";\n }\n return \"\";\n }",
"public String getColumnName(int col) {\n\t return columnNames[col];\n }",
"public String getColumnName(int columnIndex) {\n return columnNames[columnIndex];\n }",
"com.google.protobuf.ByteString getColumnBytes();",
"@Override\n\tpublic String getColumnName(int col) {\n\t\treturn columnNames.get(col);\n\t}",
"public String getColumnName() {\r\n return navBinder.getColumnName();\r\n }",
"com.google.protobuf.ByteString\n getColumnBytes();",
"String getColumn();",
"public String getColumnName(int col) {\r\n return columnNames[col];\r\n }",
"@Override\n\tpublic java.lang.String getName() {\n\t\treturn _expandoColumn.getName();\n\t}",
"public void setColumnName(String columnName);",
"@Override\n\tpublic String getColumnName(int column) {\n\t\tswitch (column) {\n\t\tcase 0:\n\t\t\treturn \"Expression\";\n\t\tcase 1:\n\t\t\treturn \"Value\";\n\t\t}\n\t\treturn null;\n\t}",
"public String getColumnName(int col) {\n return columnNames[col];\n }",
"public DBColumn getColumn(String p_colName)\n\t{\n\t\treturn _RowData.get(p_colName);\n\t}",
"Column getColumnForAttribute(String name) {\n name = Strings.underscore(name);\n for (Column column : getColumns()) {\n if (column.getName().equals(name)) return column;\n }\n return null;\n }",
"public String getColumnName(int col) {\n return columnNames[col];\n }",
"@Override\n public String getColumnName(int column) {\n return cabecera[column];\n }",
"private String getColumnName(org.hibernate.mapping.Column column) {\n return m_dbSpecificMappingInfo.getTruncateInfo().truncateColumnName(column.getName().toLowerCase());\n }",
"public String getColumnName(int column) {\n return columnNames[column];\n }",
"@Override\n\tpublic String getColumnName(int arg0) {\n\t\treturn null;\n\t}",
"@Override\n\tpublic String getColumnName(int arg0) {\n\t\treturn null;\n\t}",
"public void setColumnName (String ColumnName);",
"com.google.protobuf.ByteString\n getSourceColumnNameBytes();",
"public String getColumnName(int c) {\n\treturn columnNames[c];\n}",
"public String getCertainColumn(ResultSet rs, String columnName) throws SQLException\n {\n String result=\"\";\n while (rs.next())\n {\n\n String temp = rs.getString(columnName);\n result+=\"<p>\"+temp+\"</p>\";\n }\n return result;\n }",
"public String getColumnNameOne(){\n return columnNameOneLbl.getText();\n }",
"private static String [] getColumnName(){\r\n\t\tString [] columnNames = { DBSAResourceBundle.res.getString(\"no\"), DBSAResourceBundle.res.getString(\"title\"), \r\n\t\t\t\tDBSAResourceBundle.res.getString(\"authors\"), DBSAResourceBundle.res.getString(\"link\"),\r\n\t\t\t\tDBSAResourceBundle.res.getString(\"year\"),DBSAResourceBundle.res.getString(\"abstract\"), \r\n\t\t\t\tDBSAResourceBundle.res.getString(\"publisher\"),DBSAResourceBundle.res.getString(\"mark\"), \r\n\t\t\t\tDBSAResourceBundle.res.getString(\"duplicate\"), \"dlsName\"};\r\n\t\t\t\r\n\t\treturn columnNames;\r\n\t}",
"@Override\r\n\tpublic String getType() {\n\t\treturn \"column\";\r\n\t}",
"public String getPropertyName(){\n return SimpleTableField.mapPropName(this.columnName);\n }",
"private static String [] getColumnName(){\r\n\t\tString [] columnNames = { DBSAResourceBundle.res.getString(\"no\"), DBSAResourceBundle.res.getString(\"title\"), \r\n\t\t\t\tDBSAResourceBundle.res.getString(\"authors\"), DBSAResourceBundle.res.getString(\"link\"),\r\n\t\t\t\tDBSAResourceBundle.res.getString(\"year\"),DBSAResourceBundle.res.getString(\"abstract\"), \r\n\t\t\t\tDBSAResourceBundle.res.getString(\"publisher\"),(\"X\"), \r\n\t\t\t\t(\"duplicate\"), \"id\"};\r\n\t\t\t\r\n\t\treturn columnNames;\r\n\t}",
"public String getAttributeName() {\n\n if (getAD_Column_ID() == 0) {\n return super.getAttributeName();\n }\n\n // We have a column\n String\tattribute\t= super.getAttributeName();\n\n if ((attribute != null) && (attribute.length() > 0)) {\n return attribute;\n }\n\n setAttributeName(getColumn().getColumnName());\n\n return super.getAttributeName();\n\n }",
"public String getColumnName(int column)\n {\n if (columnNames != null)\n {\n return columnNames[column];\n \n }\n if (metaData == null)\n {\n return \"N/A\";\n }\n\n try\n {\n return metaData.getColumnName(column+1);\n\n } catch (SQLException ex)\n {\n edu.ku.brc.af.core.UsageTracker.incrSQLUsageCount();\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(ResultSetTableModelDirect.class, ex);\n return \"N/A\";\n }\n }",
"Column getCol();",
"public String getColumnName(int col)\n\t{\n\t\treturn columnNames[col];\n\t}",
"private static TextColumnBuilder getColumnByNameField(String nameField){ \n return drColumns.get(nameField);\n }",
"public ColumnMetadata getColumn() {\r\n return m_column;\r\n }",
"@Override\r\n\tpublic String[] getCol(String[] sql) {\n\t\treturn null;\r\n\t}",
"public String getColumnName(int col) {\r\n\t\treturn this.columnNames[col];\r\n\t}",
"public String getColumnName(String propertyId)\n {\n return propertyId;\n }",
"protected abstract String getFavoriteColumnName();"
] |
[
"0.74532735",
"0.74371946",
"0.73746884",
"0.7263528",
"0.7238513",
"0.7148641",
"0.7104927",
"0.70791024",
"0.70555353",
"0.7052739",
"0.7039088",
"0.6973037",
"0.6973037",
"0.69521195",
"0.69147706",
"0.6892993",
"0.6892993",
"0.68618375",
"0.6811014",
"0.68079346",
"0.6794778",
"0.6789875",
"0.6784089",
"0.6765422",
"0.67639154",
"0.6716612",
"0.67129016",
"0.6684542",
"0.66804755",
"0.66788167",
"0.6655191",
"0.66484755",
"0.6647925",
"0.6647925",
"0.66468495",
"0.6644902",
"0.6636505",
"0.66330475",
"0.6614661",
"0.66084576",
"0.660439",
"0.65977716",
"0.6587846",
"0.65784156",
"0.6573535",
"0.6565327",
"0.6546688",
"0.65381",
"0.65358263",
"0.652936",
"0.65257275",
"0.65248704",
"0.65183145",
"0.6517438",
"0.651624",
"0.6515062",
"0.6505418",
"0.650206",
"0.6494475",
"0.64849764",
"0.6467224",
"0.64648825",
"0.6464125",
"0.6457946",
"0.6446146",
"0.6437094",
"0.6412509",
"0.6399086",
"0.6398054",
"0.63863945",
"0.6384068",
"0.63766086",
"0.6374822",
"0.63727045",
"0.63717234",
"0.63686204",
"0.63243735",
"0.6322855",
"0.63108325",
"0.6302796",
"0.6302796",
"0.63023144",
"0.6299928",
"0.6297081",
"0.62940025",
"0.6290087",
"0.6287955",
"0.62877154",
"0.62871724",
"0.62801105",
"0.62767184",
"0.6276142",
"0.62060446",
"0.6204633",
"0.62028617",
"0.620262",
"0.6197032",
"0.61922354",
"0.6184865",
"0.6182708"
] |
0.7463955
|
0
|
Setter method for columnName. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'.
|
public void setColumnName(String newVal) {
if ((newVal != null && this.columnName != null && (newVal.compareTo(this.columnName) == 0)) ||
(newVal == null && this.columnName == null && columnName_is_initialized)) {
return;
}
this.columnName = newVal;
columnName_is_modified = true;
columnName_is_initialized = true;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setColumnName(String columnName);",
"public void setColumnName (String ColumnName);",
"public void setColumnName(java.lang.String columnName) {\r\n this.columnName = columnName;\r\n }",
"public boolean isColumnNameModified() {\n return columnName_is_modified; \n }",
"public void setColumnName(String columnName)\n {\n this.columnName = columnName;\n }",
"public void setColumnName(String columnName) {\n this.columnName = columnName;\n }",
"@Override\r\n\tprotected int[] getColumnModified(ColumnDefinition columnDefinition, DatabaseMetaData dbmd) {\n\t\treturn null;\r\n\t}",
"void setValueOfColumn(ModelColumnInfo<Item> column, @Nullable Object value);",
"public void testSetColumnName_Accuracy() {\r\n String columnName = \"columnName\";\r\n auditDetail.setColumnName(columnName);\r\n assertEquals(\"The columnName value should be set properly.\", columnName,\r\n UnitTestHelper.getPrivateField(AuditDetail.class, auditDetail, \"columnName\").toString());\r\n }",
"public Builder setColumn(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n column_ = value;\n onChanged();\n return this;\n }",
"public void setColumnName(String columnName) {\r\n dataBinder.setColumnName(columnName);\r\n }",
"@Override\n\t\tpublic void setValueColumn(int columnIndex) {\n\t\t\tthis.valueColumn = columnIndex;\n\t\t}",
"public String getColumnName() {\n return columnName; \n }",
"public void setColumnName(String columnName) {\r\n navBinder.setColumnName(columnName);\r\n }",
"public void updateNull(String columnName) throws SQLException {\n\n try {\n debugCodeCall(\"updateNull\", columnName);\n update(columnName, ValueNull.INSTANCE);\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"public String getName(){\n\t\t\treturn columnName;\n\t\t}",
"public void setColumn(String column, String s)\n {\n if (! hasColumn(column))\n throw new IllegalArgumentException(\"No such column \" + column);\n \n data.put(canonicalize(column), s == null ? NULL_OBJECT : s);\n }",
"@Override\n protected String getColumnNameForMetadata(String columnName) {\n return (columnName == null) ? \"%\" : super\n .getColumnNameForMetadata(columnName);\n }",
"public java.lang.String getColumnName() {\r\n return columnName;\r\n }",
"public void setName(String columnName) {\n ctTableColumn.setName(columnName);\n }",
"@Override\n public int getColChange() {\n return colChange;\n }",
"public void updateNull(String columnName) throws SQLException\n {\n m_rs.updateNull(columnName);\n }",
"public String getColumnName() {\n return this.columnName;\n }",
"public void setColName(String colName) {\r\n\t\tthis.colName = colName == null ? null : colName.trim();\r\n\t}",
"public void modifyColumn(final byte [] tableName, final byte [] columnName,\n DBColumnDescriptor descriptor) throws IOException {\n if (this.master == null) \n throw new MasterNotRunningException(\"master has been shut down\");\n \n DBTableDescriptor.isLegalTableName(tableName);\n try {\n this.master.modifyColumn(tableName, columnName, descriptor);\n } catch (RemoteException e) {\n throw RemoteExceptionHandler.decodeRemoteException(e);\n }\n }",
"public String getName() {\n return columnName;\n }",
"public void setEmphcolumn(String emphColumnIn)\n {\n emphColumn = emphColumnIn;\n }",
"@Override\n public void alterColumnByName(String name, XPropertySet descriptor) throws SQLException, NoSuchElementException {\n \n }",
"@Override\n\tpublic void setColumn(int x) {\n\t\tdelegate.setColumn(x);\n\t}",
"public void setColumn(String column, boolean b)\n {\n if (! hasColumn(column))\n throw new IllegalArgumentException(\"No such column \" + column);\n \n data.put(canonicalize(column), b ? Boolean.TRUE : Boolean.FALSE);\n }",
"@Override\n\tpublic void setColumnForMove(int col) {\n\t\tthis.dropCol = col;\n\t}",
"void setColumnValue(int colIndex, Object value);",
"@Override\n public com.google.protobuf.ByteString\n getColumnBytes() {\n Object ref = column_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n column_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"private void setColumnNullInternal(String column)\n {\n data.put(canonicalize(column), NULL_OBJECT);\n }",
"Table setColumn(int index, String name);",
"void setColumn(Column newColumn, int pos) { columns[pos] = newColumn; }",
"@Override\n protected void validateColumn(WorksheetColumn worksheetColumn,\n String changedValue) {\n\t\tif (\"foo\".equals(changedValue)) {\n\t\t\tworksheetColumn.setErrorKey(\"foo.error\");\n\t\t} else {\n\t\t\tworksheetColumn.removeError();\n\t\t}\n\t}",
"@Override\n public void alterColumnByIndex(int index, XPropertySet descriptor) throws SQLException, IndexOutOfBoundsException {\n \n }",
"public void setColumnNull(String column)\n {\n if (! hasColumn(column))\n throw new IllegalArgumentException(\"No such column \" + column);\n \n setColumnNullInternal(canonicalize(column));\n }",
"@Override\n public String getColumn() {\n Object ref = column_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n column_ = s;\n return s;\n }\n }",
"public void modifyColumn(final String tableName, final String columnName,\n DBColumnDescriptor descriptor) throws IOException {\n modifyColumn(Bytes.toBytes(tableName), Bytes.toBytes(columnName),\n descriptor);\n }",
"@Override\n\t\t\tpublic ColumnMetaData getColumnMetaData() {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tthrow new UnsupportedOperationException(\n\t\t\t\t\t\t\"If you want to use val() to create a real\"\n\t\t\t\t\t\t\t\t+ \" column within a tuple, give it a name (i.e. use val(obj, name))!\");\n\t\t\t}",
"@Override\n\tpublic void setName(java.lang.String name) {\n\t\t_expandoColumn.setName(name);\n\t}",
"public void setColumn(String column, java.util.Date d)\n {\n if (! hasColumn(column))\n throw new IllegalArgumentException(\"No such column \" + column);\n \n if (d == null)\n {\n setColumnNull(canonicalize(column));\n return;\n }\n \n \n data.put(canonicalize(column), d);\n }",
"public void setColumn(char column) {\n\t\tthis.column = column;\n\t}",
"@Override\r\n\tprotected String defineColumn(ColumnDefinition columnDefinition) {\n\t\treturn null;\r\n\t}",
"public void setCol(int newCol) {\n this.col = newCol;\n }",
"public void setColumn(ColumnMetadata column) {\r\n m_column = column;\r\n }",
"public void testGetColumnName_Accuracy() {\r\n String columnName = \"columnName\";\r\n UnitTestHelper.setPrivateField(AuditDetail.class, auditDetail, \"columnName\", columnName);\r\n assertEquals(\"The columnName value should be got properly.\", columnName, auditDetail.getColumnName());\r\n }",
"Column(String column) {\n this.column = column;\n }",
"Column(String column) {\n this.column = column;\n }",
"public void setValueAt(Object value, int row, int col) {\r\n \tswitch(col){\r\n case 0:\r\n \tattributs.get(row).setPk((Boolean)value);\r\n \tbreak;\r\n case 1:\r\n \tSystem.out.println(value);\r\n \tattributs.get(row).setName((String)value);\r\n \tbreak;\r\n case 2:\r\n \tattributs.get(row).setType((String)value);\r\n \tbreak;\r\n case 3:\r\n \tattributs.get(row).setTaille((String)value);\r\n \tbreak;\r\n case 4:\r\n \tattributs.get(row).setNul((Boolean)value);\r\n \tbreak;\r\n case 5:\r\n \tattributs.get(row).setUk((Boolean)value);\r\n \tbreak;\r\n \t\r\n \t}\r\n fireTableCellUpdated(row, col);\r\n }",
"public void setLabelColumn(String labelColumn)\n {\n myLabelColumn = labelColumn;\n }",
"public void setCol(int column) {\n\t\tthis.column = column; \n\t}",
"private void setColumnName(ResultSetMetaData metadata) throws SQLException {\r\n if (connectedToDatabase) {\r\n for (int i = 1; i <= numberOfcolumns; i++) {\r\n columnNames.add(i - 1, metadata.getColumnName(i));\r\n }\r\n /**\r\n * create new column to handle status of row. You can hide or visible it by comment or not the line code follow.\r\n */\r\n //columnNames.add(\"RecordStatus\");\r\n }\r\n }",
"Column(@Nullable Field recordField, String name, @Nullable String title, boolean toggleable) {\r\n this.recordField = recordField;\r\n this.columnName = name;\r\n this.title = title;\r\n this.toggleable = toggleable;\r\n }",
"@Override\n\tprotected String getColumn()\n\t{\n\t\treturn null;\n\t}",
"public void setColumntwo(String columntwo) {\n this.columntwo = columntwo == null ? null : columntwo.trim();\n }",
"private void processAlterColumnRename(Table t,\n Column column) throws HsqlException {\n\n String newName = tokenizer.getSimpleName();\n boolean isquoted = tokenizer.wasQuotedIdentifier();\n\n if (t.findColumn(newName) > -1) {\n throw Trace.error(Trace.COLUMN_ALREADY_EXISTS, newName);\n }\n\n t.database.schemaManager.checkColumnIsInView(t,\n column.columnName.name);\n session.commit();\n session.setScripting(true);\n t.renameColumn(column, newName, isquoted);\n }",
"public com.google.protobuf.ByteString\n getColumnBytes() {\n Object ref = column_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n column_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public Builder setColumn(\n int index, com.google.devtools.kythe.proto.Filecontext.ContextDependentVersion.Column value) {\n if (columnBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureColumnIsMutable();\n column_.set(index, value);\n onChanged();\n } else {\n columnBuilder_.setMessage(index, value);\n }\n return this;\n }",
"final private void fireColumnChanged( final int columnIndex )\r\n {\r\n final int rowCount = getRowCount();\r\n if( rowCount > 0 )\r\n {\r\n final TableModelEvent tme = new TableModelEvent\r\n ( this\r\n , 0\r\n , rowCount - 1\r\n , columnIndex\r\n , TableModelEvent.UPDATE\r\n );\r\n fireTableChanged( tme );\r\n }\r\n }",
"public void setColumnSort(ColumnSort columnSort) {\n\n this.columnSort = columnSort;\n }",
"public void setColumnName(Vector header) {\r\n numberOfcolumns = header.size();\r\n columnNames = header;\r\n /**\r\n * create new column to handle status of row. You can hide or visible it by comment or not the line code follow.\r\n */\r\n //columnNames.add(\"RecordStatus\");\r\n }",
"public void normalizeColumn(final int columnIndex) {\r\n double max = Double.NEGATIVE_INFINITY;\r\n double min = Double.POSITIVE_INFINITY;\r\n for (int i = 0; i < this.getRowCount(); i++) {\r\n double val = getLogicalValueAt(i, columnIndex);\r\n if (val > max) {\r\n max = val;\r\n }\r\n if (val < min) {\r\n min = val;\r\n }\r\n }\r\n for (int i = 0; i < this.getRowCount(); i++) {\r\n setLogicalValue(i, columnIndex, (getLogicalValueAt(i, columnIndex) - min)\r\n / (max - min), false);\r\n }\r\n this.fireTableDataChanged();\r\n }",
"void setColumnIndex(int index);",
"void setNeedColumnInfo(boolean needColumnInfo);",
"public SyncAlterDropColumn(SqlAlterDropColumn aSqlAlterDropColumn) {\n this.aSqlAlterDropColumn = aSqlAlterDropColumn;\n }",
"public String getColumn() {\n Object ref = column_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n column_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"public void setPositionColumn(int value){this.positionColumn = value;}",
"public void setCol(int value) {\n this.col = value;\n }",
"public void updateTime(String columnName, Time x) throws SQLException {\n\n try {\n if (isDebugEnabled()) {\n debugCode(\"updateTime(\" + quote(columnName) + \", x);\");\n }\n update(columnName, x == null ? (Value) ValueNull.INSTANCE : ValueTime.get(x));\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"public void overrideCompareTo(String otherName){\n \n stringBuffer.append(TEXT_865);\n \n if (columns !=null) {\n for (IMetadataColumn column: columns) {\n \n stringBuffer.append(TEXT_866);\n stringBuffer.append(column.getLabel());\n stringBuffer.append(TEXT_867);\n stringBuffer.append(otherName);\n stringBuffer.append(TEXT_868);\n stringBuffer.append(column.getLabel());\n stringBuffer.append(TEXT_869);\n \n }\n }\n \n stringBuffer.append(TEXT_870);\n \n }",
"protected void setTableColumn(String column)\n\t\t{\n\t\t\tColumn = column ;\n\t\t}",
"protected void setColumnState(ColumnState colState) {\n\t\tObject colId = colState.getColId();\n\t\ttry {\n\t\t\tint index = getColumnIndex(colId);\n\t\t\tcolState.resetState(getColumn(index));\n\t\t\tif (colState.isHidden()) {\n\t\t\t\thideColumn(colId);\n\t\t\t} else {\n\t\t\t\tint stateIndex = colState.getIndex();\n\t\t\t\tif (index != stateIndex && stateIndex < getColumnCount())\n\t\t\t\t\tmoveColumn(index, stateIndex);\n\t\t\t}\n\n\t\t\t// Maybe it is a hidden column\n\t\t} catch (IllegalArgumentException e) {\n\t\t\tif (hiddenCols.containsKey(colId)) {\n\t\t\t\tHiddenColumn col = (HiddenColumn) hiddenCols.get(colId);\n\t\t\t\tcolState.resetState(col.column);\n\t\t\t\tcol.lastIndex = colState.getIndex();\n\t\t\t\tif (!colState.isHidden()) {\n\t\t\t\t\tshowColumn(colId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void setAD_Column_ID (int AD_Column_ID);",
"@Override\n public String getColumnName(int aColumn) {\n return model.getColumnName(aColumn); \n }",
"public void setColumn(ColumnIdentifier column) {\n this.column = column;\n }",
"SqlColumns(String columnName){\n\t\t\t this.columnName = columnName; \n\t\t}",
"public void setColumn(int column) {\n\t\tthis.column = column;\n\t}",
"private EditableTableModel(Object[][] rowData, String[] columnName) { // constructor\n\t super(rowData, columnName);\n\t this.editable_columns = new boolean[columnName.length];\n\t Arrays.fill(editable_columns, Boolean.FALSE);\n\t }",
"public raTableColumnModifier(\n String columnToModify,\n String[] columnsReplace,\n String[] keyColumns,\n String[] keyColumnsSearch,\n DataSet setToSearch) {\n dsColName = columnToModify;\n dsColsReplace = columnsReplace;\n dsToSearch = setToSearch;\n dsColsKey = keyColumns;\n dsColsKeyS = keyColumnsSearch;\n }",
"public void setValue(String column, String value) {\n Collection<Column> cols = source.getColumn(column);\n Column col = cols.iterator().next();\n setValue(col, value);\n }",
"public void setColumnone(String columnone) {\n this.columnone = columnone == null ? null : columnone.trim();\n }",
"@Override\n public boolean modelSetterMethodGenerated(Method method,\n TopLevelClass topLevelClass,\n IntrospectedColumn introspectedColumn,\n IntrospectedTable introspectedTable,\n ModelClassType modelClassType) {\n return false;\n }",
"public DatabaseQueryColumn(String name) {\n this.formula = null;\n this.name = name;\n }",
"public String getDuplicateUpdateColumnString() {\n return null;\n }",
"public void addUpdateColumn(String columnName, String columnValue, String dataType) throws Exception {\n\t\tupdateColumnsDataSet.addRow();\n\t\tupdateColumnsDataSet.setValue(updateColumnsDataSet.getRowCnt()-1, \"COLUMN_NAME\", columnName);\n\t\tupdateColumnsDataSet.setValue(updateColumnsDataSet.getRowCnt()-1, \"COLUMN_VALUE\", columnValue);\n\t\tupdateColumnsDataSet.setValue(updateColumnsDataSet.getRowCnt()-1, \"DATA_TYPE\", CommonUtil.nvl(dataType, \"String\"));\n\t}",
"java.lang.String getColumn();",
"public Criteria andUpdateByGreaterThanColumn(BDicTreeCode.Column column) {\n addCriterion(new StringBuilder(\"update_by > \").append(column.getEscapedColumnName()).toString());\n return (Criteria) this;\n }",
"public Builder clearColumn() {\n\n column_ = getDefaultInstance().getColumn();\n onChanged();\n return this;\n }",
"@Override\r\n\t\t\tpublic void modifyText(ModifyEvent me) {\n\t\t\t\tString newValue = newEditor.getText();\r\n\t\t\t\teditor.getItem().setText(VALUE_COLUMN_NO, newValue);\r\n\t\t\t\t//isEditorModify = true;\r\n\t\t\t\t//propertyInfo.setValue(newValue);\r\n\t\t\t}",
"public void setColumn(String column, long l)\n {\n if (! hasColumn(column))\n throw new IllegalArgumentException(\"No such column \" + column);\n \n data.put(canonicalize(column), new Long(l));\n }",
"@Override\n public void addSetterComment(Method method, IntrospectedTable introspectedTable, IntrospectedColumn introspectedColumn) {\n\n }",
"public void setFieldColumn(String fieldColumn) {\n this.fieldColumn = fieldColumn == null ? null : fieldColumn.trim();\n }",
"KijiColumnName getAttachedColumn();",
"@Override\n\tpublic void setValueAt(Object value, int row, int column) {\n\t\tswitch (column) {\n\t\tcase 0:\n\t\t\tString expr = value.toString();\n\t\t\texpressions.set(row, expr);\n\t\t\tString result = executeExpr(expr, row);\n\n\t\t\tvalues.set(row, result);\n\t\t\tupdateModel();\n\t\t\tif (row + 1 == expressions.size()) {\n\t\t\t\texpressions.add(\"\");\n\t\t\t\tvalues.add(\"\");\n\t\t\t\tfireTableRowsInserted(row + 1, row + 1);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\t// just reset column 2; ignore edits\n\t\t\tfireTableDataChanged();\n\t\t}\n\t}",
"protected void setColumnHeader(final BaseColumn modelColumn,\n final String header) {\n modelColumn.setHeader(header);\n final int iModelColumn = model.getExpandedColumns().indexOf(modelColumn);\n uiModel.getColumns().get(iModelColumn).getHeaderMetaData().get(0).setTitle(header);\n }",
"@Override\n\tpublic String getColumnName(int column) {\n\t\tswitch (column) {\n\t\tcase 0:\n\t\t\treturn \"Expression\";\n\t\tcase 1:\n\t\t\treturn \"Value\";\n\t\t}\n\t\treturn null;\n\t}",
"@Override\n public Boolean generateColumn() {\n presenter.appendColumn(editingWrapper().getActionCol52());\n\n return true;\n }"
] |
[
"0.6217329",
"0.6027037",
"0.5918641",
"0.5909321",
"0.5838018",
"0.58194923",
"0.57938427",
"0.5777783",
"0.5728754",
"0.5631832",
"0.5622918",
"0.5616021",
"0.5419846",
"0.5412472",
"0.540154",
"0.54015094",
"0.5396486",
"0.53295237",
"0.5316141",
"0.53137326",
"0.53034264",
"0.5296061",
"0.5295007",
"0.52666754",
"0.52607644",
"0.5243905",
"0.522456",
"0.5223761",
"0.51561403",
"0.5146915",
"0.5141386",
"0.5126217",
"0.5121597",
"0.50961316",
"0.50871605",
"0.5069136",
"0.5057918",
"0.50306684",
"0.5026937",
"0.5016676",
"0.5009467",
"0.49979466",
"0.4994462",
"0.49790353",
"0.49771148",
"0.49729162",
"0.49717113",
"0.494896",
"0.49257067",
"0.49213836",
"0.49213836",
"0.49150214",
"0.49144801",
"0.49089807",
"0.49022835",
"0.49007517",
"0.48979405",
"0.48966435",
"0.4883916",
"0.48709038",
"0.48559472",
"0.48559436",
"0.4853656",
"0.4834326",
"0.48246753",
"0.48222038",
"0.48095286",
"0.48016694",
"0.48009762",
"0.4800624",
"0.47960413",
"0.47889438",
"0.47855574",
"0.47758344",
"0.47755498",
"0.4775313",
"0.47728232",
"0.4765255",
"0.4764859",
"0.47624192",
"0.47599012",
"0.4756897",
"0.4755668",
"0.47555545",
"0.47509518",
"0.4735205",
"0.47216013",
"0.47131538",
"0.4701043",
"0.46943393",
"0.46912816",
"0.46891522",
"0.46890903",
"0.4688208",
"0.4685671",
"0.4678793",
"0.46776244",
"0.46757236",
"0.4670887",
"0.46704224"
] |
0.73221016
|
0
|
Determines if the columnName has been modified.
|
public boolean isColumnNameModified() {
return columnName_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate_is_modified;\n }",
"public boolean isTableNameModified() {\n return tableName_is_modified; \n }",
"public boolean forUpdateOfColumns() {\n \t\t// by default we report no support\n \t\treturn false;\n \t}",
"public boolean isModified() {\n return(!this.getText().equals(editBeginValue));\n }",
"public boolean isSetColName() {\n return this.colName != null;\n }",
"@Override\r\n\tprotected int[] getColumnModified(ColumnDefinition columnDefinition, DatabaseMetaData dbmd) {\n\t\treturn null;\r\n\t}",
"public static boolean isChanged(PO po) {\n\t\tString[] columnNames = s_sourceColumnNames.get(po.get_TableName());\n\t\tif (columnNames == null || columnNames.length == 0) {\n\t\t\treturn false;\n\t\t}\n\t\tif (po.is_new() || po.is_ValueChanged(\"IsActive\")) {\n\t\t\treturn true;\n\t\t}\n\t\tfor (String columnName : columnNames) {\n\t\t\tif (po.is_ValueChanged(columnName)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"public boolean isSetKey_column_name() {\n return this.key_column_name != null;\n }",
"public boolean isColumnNameInitialized() {\n return columnName_is_initialized; \n }",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"boolean canEditValueOfColumn(ModelColumnInfo<Item> column);",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"public boolean getAVarcharChanged() {\r\n return !OpbComparisonHelper.isEqual(\r\n aVarchar, aVarcharDataSourceValue);\r\n }",
"public boolean isWritable(int column) throws SQLException {\n\t\t\treturn false;\n\t\t}",
"boolean isModified();",
"boolean isModified();",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"boolean isNeedColumnInfo();",
"@Override\n public int getColChange() {\n return colChange;\n }",
"public void setColumnName(String newVal) {\n if ((newVal != null && this.columnName != null && (newVal.compareTo(this.columnName) == 0)) || \n (newVal == null && this.columnName == null && columnName_is_initialized)) {\n return; \n } \n this.columnName = newVal; \n\n columnName_is_modified = true; \n columnName_is_initialized = true; \n }",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public boolean isModified();",
"public boolean isModified();",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isSetColumn_names() {\n return this.column_names != null;\n }",
"public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}",
"public boolean isChangeType()\n {\n return hasChanges;\n }",
"public final boolean hasModifyDateTime() {\n \treturn m_modifyDate != 0L ? true : false;\n }",
"public boolean isModified()\n\t{\n\t\treturn isModified;\n\t}",
"public boolean isSetLastCol()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(LASTCOL$12) != 0;\n }\n }",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"@Override\n public boolean isCellEditable(int row, int column) {\n return column == DownloadCompletedTable.OPERATING;\n }",
"public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }",
"@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}",
"public boolean isChanged() {\n return this.changed;\n }",
"private boolean checkColNameSet() {\n return (null != colNames && colNames.size() > 0);\n }",
"public final boolean getIsRowUpdated() {\n return isRowUpdated_;\n }",
"public boolean rowUpdated() throws SQLException {\n\n try {\n debugCodeCall(\"rowUpdated\");\n return false;\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }",
"@Override\n public boolean isCellEditable(int row, int col) {\n if (col == 0) return false;\n String attribute = data[row][0].toString();\n return attribute.equals(\"Description\")||\n attribute.equals(\"Generated\")||\n attribute.equals(\"Scannum\")||\n attribute.equals(\"Patient ID\")||\n attribute.equals(\"Exp Date\")||\n attribute.equals(\"Exp Time\")||\n attribute.equals(\"db_name\") ||\n attribute.equals(\"Data type string\") ||\n attribute.equals(\"History\");\n }",
"public boolean isGridUpdated() {\n return GRIDUPDATED.equals(message);\n }",
"@Override\n public boolean wasCellEdited(final int row, final int column) {\n if(COLUMN_TITLES.get(column).equals(COLUMN_TITLE_THR_SEQUENCE) ||\n COLUMN_TITLES.get(column).equals(COLUMN_TITLE_CF) ||\n COLUMN_TITLES.get(column).equals(COLUMN_TITLE_SR)) {\n return adjustedThr.get(row);\n }\n \n return super.wasCellEdited(row, column);\n }",
"public boolean isSetColNames() {\n return this.colNames != null;\n }",
"public boolean isCompanyNameModified()\n\t{\n\t\treturn companyNameModified;\n\t}",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"public final boolean isEdited(){\n\t\treturn JsUtils.getNativePropertyBoolean(this, \"edited\");\n\t}",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isSetSort_column() {\n return this.sort_column != null;\n }",
"public boolean wasDataUpdated() {\n\t\treturn true;\n\t}",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"public boolean isModified() {\n return isModified;\n }",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"public boolean isDefinitelyWritable(int column) throws SQLException {\n\t\t\treturn false;\n\t\t}",
"public final boolean isModified() {\n return this.modified;\n }",
"@Override\n public Boolean generateColumn() {\n presenter.appendColumn(editingWrapper().getActionCol52());\n\n return true;\n }",
"protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}",
"public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}",
"public boolean isCustomerIdModified()\n\t{\n\t\treturn customerIdModified;\n\t}",
"@Override\n public boolean isCellEditable(int row, int column) {\n return isEditable[column];\n }",
"public boolean supportsColumnCheck() {\n \t\treturn true;\n \t}",
"boolean shouldModify();",
"public boolean isSetPkcolumn_name() {\n return this.pkcolumn_name != null;\n }",
"boolean hasUpdateTriggerTime();",
"boolean hasCol();",
"public boolean isLogdateModified() {\n return logdate_is_modified; \n }",
"public boolean isRoomtypeidModified() {\n return roomtypeid_is_modified; \n }",
"public boolean doModify() {\n return true;\n }",
"final private void fireColumnChanged( final int columnIndex )\r\n {\r\n final int rowCount = getRowCount();\r\n if( rowCount > 0 )\r\n {\r\n final TableModelEvent tme = new TableModelEvent\r\n ( this\r\n , 0\r\n , rowCount - 1\r\n , columnIndex\r\n , TableModelEvent.UPDATE\r\n );\r\n fireTableChanged( tme );\r\n }\r\n }",
"@Override\n public boolean isCellEditable (int row, int column) {\n return (column == NEW_PRICE_COLUMN);\n }",
"public boolean isAnyFieldEdited() {\n return CollectionUtil.isAnyNonNull(name);\n }",
"Boolean getIsChanged();",
"public Boolean getEditByCell() throws IllegalStateException {\r\n errorIfNotCreated(\"editByCell\");\r\n return getAttributeAsBoolean(\"editByCell\");\r\n }",
"boolean isOssModified();",
"public boolean isUpdated()\n\t{\n\t\treturn mUpdated;\n\t}",
"public boolean isModification()\n {\n return isModification;\n }",
"public boolean isSetFkcolumn_name() {\n return this.fkcolumn_name != null;\n }",
"public boolean isStModified() {\n return st_is_modified; \n }",
"public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }",
"public boolean isModified()\n {\n // a class is only modifiable after it is loaded\n if (!m_fLoaded)\n {\n return m_fModified;\n }\n\n if (m_fModified || m_abClazz == null || m_pool.isModified())\n {\n return true;\n }\n\n // check all other VM sub-structures\n StringTable[] atbl = CONTAINED_TABLE;\n for (int i = 0; i < atbl.length; ++i)\n {\n Enumeration enmr = atbl[i].elements();\n while (enmr.hasMoreElements())\n {\n if (((VMStructure) enmr.nextElement()).isModified())\n {\n return true;\n }\n }\n }\n\n return false;\n }",
"public boolean hasUpdatedAt() {\n return updatedAt_ != null;\n }",
"public boolean containsColumn(String name) {\r\n\t\treturn columnMap.containsKey(name) || aliasMap.containsKey(name);\r\n\t}",
"public boolean containsColumn(String colName) {\n\t\treturn dc.containsKey(colName);\n\t}",
"public boolean hasChanges();",
"public boolean isEstadoModified()\n\t{\n\t\treturn estadoModified;\n\t}",
"public boolean isSetUpdatedAt() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __UPDATEDAT_ISSET_ID);\n }",
"@WorkflowAction(loggable = false)\n public boolean isModified()\n throws WorkflowException, MappingException, RepositoryException, RemoteException;",
"public boolean isCellEditable(int row, int col) { return (col!=0); }",
"public boolean isMaybeModified() {\n if (Options.get().isModifiedDisabled())\n return !isUnknown(); // if we don't use the modified flag, use the fact that unknown implies non-modified\n return (flags & MODIFIED) != 0;\n }",
"public boolean isUpdated() {\n return this.updated;\n }",
"public boolean isChanged() {\r\n return isChanged;\r\n }",
"public boolean isRolModified()\n\t{\n\t\treturn rolModified;\n\t}",
"protected boolean hasColumn(String header){\n return hasColumn(header, false);\n }",
"@Override\n\t\t\tpublic boolean isCellEditable(int row, int column) {\n\t\t\t\t// khong cho chinh sua column 3 return column !=3\n\n\t\t\t\t// khong cho chinh sua\n\t\t\t\treturn false;\n\t\t\t}",
"public boolean rowUpdated() throws SQLException\n {\n return m_rs.rowUpdated();\n }",
"public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}",
"public boolean isColumnLongDirty(java.lang.Long value) {\n return isDirty(2);\n }",
"@JsonIgnore\n\tpublic boolean isEmptyEdit() {\n\t\treturn getUpdatedStatements().isEmpty();\n\t}",
"public final boolean hasChangeDateTime() {\n \treturn m_changeDate != 0L ? true : false;\n }",
"protected boolean hasColumn(String header, boolean caseSensitive) {\n return getColumnIndex(header, caseSensitive) > -1;\n }"
] |
[
"0.69323176",
"0.66811264",
"0.66171235",
"0.6423646",
"0.6411571",
"0.6401179",
"0.6386532",
"0.6353794",
"0.623942",
"0.61872977",
"0.6161354",
"0.6145654",
"0.6103933",
"0.60978794",
"0.60856277",
"0.6083152",
"0.6083152",
"0.60672736",
"0.60406196",
"0.6027473",
"0.6013551",
"0.5998885",
"0.59564084",
"0.59564084",
"0.59419733",
"0.5936215",
"0.5922911",
"0.5921734",
"0.5909472",
"0.58994406",
"0.5897438",
"0.58951473",
"0.58942586",
"0.5890117",
"0.5884398",
"0.5881621",
"0.588134",
"0.5877887",
"0.5873493",
"0.58688736",
"0.58670914",
"0.5865964",
"0.5859343",
"0.5858798",
"0.58555907",
"0.5847126",
"0.5834712",
"0.58324206",
"0.58243704",
"0.581753",
"0.58011365",
"0.5799505",
"0.5792839",
"0.5775589",
"0.57743263",
"0.57656753",
"0.5759342",
"0.57513195",
"0.5749943",
"0.57487714",
"0.5743946",
"0.5743703",
"0.57056785",
"0.56873107",
"0.56799173",
"0.5671909",
"0.5664134",
"0.56600165",
"0.5659532",
"0.5657118",
"0.5653001",
"0.5646019",
"0.5642826",
"0.5630284",
"0.5622949",
"0.56152904",
"0.5614492",
"0.56066096",
"0.56048286",
"0.56042945",
"0.56026286",
"0.5599489",
"0.55960417",
"0.5584086",
"0.55827516",
"0.558091",
"0.557692",
"0.55691814",
"0.55660427",
"0.5563029",
"0.55625844",
"0.5562044",
"0.55620426",
"0.5557831",
"0.55493647",
"0.5542785",
"0.55406934",
"0.5528573",
"0.5524987",
"0.5522368"
] |
0.8480897
|
0
|
Determines if the columnName has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized.
|
public boolean isColumnNameInitialized() {
return columnName_is_initialized;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isSetColName() {\n return this.colName != null;\n }",
"public boolean isSetColumn_names() {\n return this.column_names != null;\n }",
"public boolean isSetColNames() {\n return this.colNames != null;\n }",
"public boolean isTableNameInitialized() {\n return tableName_is_initialized; \n }",
"public boolean isSetColumnNames() {\r\n return this.columnNames != null;\r\n }",
"public boolean isSetPkcolumn_name() {\n return this.pkcolumn_name != null;\n }",
"public boolean isSetFkcolumn_name() {\n return this.fkcolumn_name != null;\n }",
"public boolean isSetFirstCol()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(FIRSTCOL$14) != 0;\n }\n }",
"private boolean checkColNameSet() {\n return (null != colNames && colNames.size() > 0);\n }",
"public boolean isSetKey_column_name() {\n return this.key_column_name != null;\n }",
"private void verifyField() {\n try {\n if (type != Function.class && type != Foreign.class)\n throw new DataMapperException(\"The field annotated with @ColumnName must be of type Function or Foreign\");\n String[] nameDefaultValue = (String[]) ColumnName.class.getDeclaredMethod(\"name\").getDefaultValue();\n\n checkNameParameter(nameDefaultValue);\n } catch (NoSuchMethodException e) {\n throw new DataMapperException(e);\n }\n }",
"public boolean isSetSort_column() {\n return this.sort_column != null;\n }",
"public boolean isSetColType() {\n return this.colType != null;\n }",
"boolean hasCol();",
"public boolean isSetLastCol()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(LASTCOL$12) != 0;\n }\n }",
"public boolean isSetTableName() {\n return this.tableName != null;\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isSetTableName() {\r\n return this.tableName != null;\r\n }",
"public boolean isNull(String columnName) {\n ValueVector vector = table.getVector(columnName);\n return vector.isNull(rowNumber);\n }",
"public boolean isInit() {\n\t\t\treturn this.gridIsInit;\n\t\t}",
"boolean isNeedColumnInfo();",
"public static boolean isModelInitialized() {\r\n return cellModel != null;\r\n }",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"protected boolean hasColumn(String header){\n return hasColumn(header, false);\n }",
"private boolean haveEmptyField() {\n return getTextID(FIRST_NAME).isEmpty() ||\n getTextID(LAST_NAME).isEmpty() ||\n getTextID(ADDRESS).isEmpty();\n }",
"private boolean isColumnEmpty(Vertex column) {\n return (column == null || !StringUtils.isNotEmpty(getGuid(column)));\n }",
"public boolean isUpdateDateInitialized() {\n return updateDate_is_initialized; \n }",
"private boolean checkHasColumns( TableMeta tmeta ) {\n boolean hasColumns = tmeta.getColumns().length > 0;\n if ( ! hasColumns ) {\n reporter_.report( ReportType.FAILURE, \"ZCOL\",\n \"No columns known for table \"\n + tmeta.getName() );\n \n }\n return hasColumns;\n }",
"public final synchronized boolean wasNull() \n throws SQLException\n {\n return getCallableStatement().wasNull();\n }",
"public boolean columExists(String pTableName, String pColumnName)\n {\n \t// Busca en la tabla la columna deseada.\n \treturn true;\n }",
"public boolean isSetNumCols() {\n return EncodingUtils.testBit(__isset_bitfield, __NUMCOLS_ISSET_ID);\n }",
"public boolean isSetCnName() {\n return this.cnName != null;\n }",
"public boolean isSetDbName() {\n return this.dbName != null;\n }",
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"public boolean isCreateDateInitialized() {\n return createDate_is_initialized; \n }",
"public boolean wasInitialized()\n {\n return this.isInitialized;\n }",
"public boolean hasColumn (String column)\n {\n return data.get(canonicalize(column)) != null;\n }",
"public boolean isInit() {\r\n\t\treturn isInit;\r\n\t}",
"public boolean isNotNullFKColumn() {\n for (Entry<ColumnInfo, ColumnInfo> entry : getLocalForeignColumnInfoMap().entrySet()) {\n final ColumnInfo localColumnInfo = entry.getKey();\n if (!localColumnInfo.isNotNull()) {\n return false;\n }\n }\n return true;\n }",
"public boolean isSetFunctionName() {\n return this.functionName != null;\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case TUPLE_ID:\n return isSetTuple_id();\n case KEY_COLUMN_NAME:\n return isSetKey_column_name();\n case KEY_COLUMN_TYPE:\n return isSetKey_column_type();\n case IS_PREAGGREGATION:\n return isSetIs_preaggregation();\n case SORT_COLUMN:\n return isSetSort_column();\n }\n throw new IllegalStateException();\n }",
"public boolean isColumnNameModified() {\n return columnName_is_modified; \n }",
"public boolean wasNull() throws SQLException {\n\n try {\n debugCodeCall(\"wasNull\");\n checkClosed();\n return wasNull;\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"public boolean isSetFk_name() {\n return this.fk_name != null;\n }",
"public boolean isLogdateInitialized() {\n return logdate_is_initialized; \n }",
"boolean isNullValue(int colIndex);",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new java.lang.IllegalArgumentException();\n }\n\n switch (field) {\n case COL_NAME:\n return isSetColName();\n case COL_TYPE:\n return isSetColType();\n case STATS_DATA:\n return isSetStatsData();\n }\n throw new java.lang.IllegalStateException();\n }",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"private boolean isAttributeDefined(String attrName)\n {\n return getAttributes().get(attrName) != null;\n }",
"protected boolean acceptUninitializedField(Field f) {\n return false;// by default all property need to be initialized after setup.\n }",
"public boolean isSetCardistrictname() {\n return this.cardistrictname != null;\n }",
"public boolean isSetPk_name() {\n return this.pk_name != null;\n }",
"public boolean wasNull()\n throws SQLException\n {\n return m_rs.wasNull();\n }",
"public boolean isDefined() {\n return lineNumber >= 0;\n }",
"public boolean isSetSchemaName() {\n return this.schemaName != null;\n }",
"public boolean isSetSchema_name() {\n return this.schema_name != null;\n }",
"public boolean isSetFktable_name() {\n return this.fktable_name != null;\n }",
"public boolean isAttributeDefined(String attrName) {\n Assert.notNull(attrName, \"attrName\");\n return (attrNST.getRowCount(\"name EQ '\" + attrName.toLowerCase() + \"'\") > 0);\n }",
"@Override\n public boolean isDefined()\n {\n return getValue() != null || getChildrenCount() > 0\n || getAttributeCount() > 0;\n }",
"public boolean isTypeInitialized() {\n return type_is_initialized; \n }",
"public boolean hasParameterName()\n {\n return this.paramName != null;\n }",
"public boolean hasVName() {\n return vNameBuilder_ != null || vName_ != null;\n }",
"public boolean valuesInitialised() {\n return _valuesInitialised;\n }",
"public boolean hasVName() {\n return vName_ != null;\n }",
"public boolean isStatusdateInitialized() {\n return statusdate_is_initialized; \n }",
"public boolean hasDataFields() {\n\t\tif (this.dataFields.size() > 0) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isDescriptionInitialized() {\n return description_is_initialized; \n }",
"public boolean isSetNumClusteringCols() {\n return EncodingUtils.testBit(__isset_bitfield, __NUMCLUSTERINGCOLS_ISSET_ID);\n }",
"public boolean hasName() {\n return fieldSetFlags()[0];\n }",
"public boolean isColumnNull(String column)\n {\n if (! hasColumn(column))\n throw new IllegalArgumentException(\"No such column \" + column);\n \n return data.get(canonicalize(column)) == NULL_OBJECT;\n }",
"static boolean isInitializing()\n\t{\n\t\treturn INITIALIZING.get();\n\t}",
"public boolean isRoomidInitialized() {\n return roomid_is_initialized; \n }",
"@Override\n public boolean isEmpty() throws DaoException {\n return isEmpty(TABLE_NAME);\n }",
"public boolean isSetPktable_name() {\n return this.pktable_name != null;\n }",
"public boolean isSetNullFlavor()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(NULLFLAVOR$28) != null;\n }\n }",
"public boolean initialized()\n\t{\n\t\treturn mInitialized;\n\t}",
"public boolean isSetIndexName() {\n return this.indexName != null;\n }",
"public boolean isRoomstlogidInitialized() {\n return roomstlogid_is_initialized; \n }",
"boolean hasField0();",
"public boolean isNull(int columnIndex) {\n ValueVector vector = table.getVector(columnIndex);\n return vector.isNull(rowNumber);\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case ID:\n return isSetId();\n case TABLE_TYPE:\n return isSetTableType();\n case NUM_COLS:\n return isSetNumCols();\n case NUM_CLUSTERING_COLS:\n return isSetNumClusteringCols();\n case COL_NAMES:\n return isSetColNames();\n case HDFS_TABLE:\n return isSetHdfsTable();\n case HBASE_TABLE:\n return isSetHbaseTable();\n case DATA_SOURCE_TABLE:\n return isSetDataSourceTable();\n case TABLE_NAME:\n return isSetTableName();\n case DB_NAME:\n return isSetDbName();\n }\n throw new IllegalStateException();\n }",
"public boolean isSetBirthPlace() {\n\t\treturn this.birthPlace != null;\n\t}",
"private boolean fieldsAreFilled(){\n return !textboxName.isEnabled() && !textboxInitialValue.isEnabled();\n }",
"public Boolean getColNull() {\r\n\t\treturn colNull;\r\n\t}",
"public boolean hasName() {\n return fieldSetFlags()[1];\n }",
"private boolean hasNonNullableColumn (ForeignKeyElement fk)\n\t\t\t{\n\t\t\t\tColumnElement[] localColumns = fk.getLocalColumns();\n\t\t\t\tint count = ((localColumns != null) ? localColumns.length : 0);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < count; i++)\n\t\t\t\t{\n\t\t\t\t\tif (!localColumns[i].isNullable())\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t}",
"public boolean isEmpty() {\n return cell == null;\n }",
"boolean hasFirstField();",
"public boolean isInitialization() {\n return (msgType == MessageType.HELLO);\n }",
"public boolean isSetClassName() {\n return this.className != null;\n }",
"public boolean isSetIndex_name() {\n return this.index_name != null;\n }",
"public boolean isRoomstidInitialized() {\n return roomstid_is_initialized; \n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case FILE_NAME:\n return isSetFileName();\n }\n throw new IllegalStateException();\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case FILE_NAME:\n return isSetFileName();\n }\n throw new IllegalStateException();\n }",
"public boolean isDataValid() {\r\n boolean dataValid = true;\r\n\r\n if (this.needDefaultValue) {\r\n try {\r\n this.getDefaultValue();\r\n } catch (Exception e) {\r\n dataValid = false;\r\n }\r\n }\r\n\r\n if (this.nameTextField.getText() == null || this.nameTextField.getText().length() == 0) {\r\n dataValid = false;\r\n }\r\n\r\n return dataValid;\r\n\r\n }",
"public boolean isSetCity_ename() {\n return this.city_ename != null;\n }",
"public boolean isSetField() {\r\n return this.field != null;\r\n }"
] |
[
"0.7039014",
"0.6663647",
"0.6542366",
"0.6391045",
"0.6383954",
"0.6332803",
"0.63061476",
"0.6249077",
"0.62153196",
"0.6104632",
"0.6053467",
"0.59923965",
"0.5977804",
"0.58640504",
"0.58073807",
"0.57995045",
"0.5786154",
"0.5786154",
"0.5786154",
"0.5786154",
"0.5786154",
"0.57563996",
"0.57335776",
"0.5729292",
"0.5630064",
"0.5621154",
"0.55850166",
"0.555603",
"0.5525907",
"0.54741246",
"0.54661715",
"0.5460882",
"0.54501486",
"0.5448632",
"0.5440137",
"0.54354036",
"0.5426275",
"0.5416052",
"0.5409167",
"0.5406712",
"0.5397705",
"0.53683734",
"0.5365277",
"0.5362581",
"0.536083",
"0.5352602",
"0.5348261",
"0.5338592",
"0.53224874",
"0.53051853",
"0.5296762",
"0.5292557",
"0.52917504",
"0.52795225",
"0.5272419",
"0.5265473",
"0.52425236",
"0.5226543",
"0.52254266",
"0.52091724",
"0.5202187",
"0.51852286",
"0.51680815",
"0.51593727",
"0.5158409",
"0.51529115",
"0.51397216",
"0.5135076",
"0.51347905",
"0.51121014",
"0.51105046",
"0.5108825",
"0.5106252",
"0.51061827",
"0.5106014",
"0.50986594",
"0.5097965",
"0.5093756",
"0.50787514",
"0.50703335",
"0.5067315",
"0.5065928",
"0.50651866",
"0.5057704",
"0.505715",
"0.50571245",
"0.505652",
"0.50544316",
"0.5051091",
"0.5047538",
"0.50466174",
"0.5044409",
"0.50443816",
"0.50366724",
"0.50285345",
"0.5025817",
"0.5025817",
"0.5021667",
"0.5019099",
"0.5015945"
] |
0.81991047
|
0
|
Getter method for createUser. Meta Data Information (in progress): full name: MTBTypes.create_user column size: 50 jdbc type returned by the driver: Types.VARCHAR
|
public String getCreateUser() {
return createUser;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public java.lang.String getCreateUser() {\n java.lang.Object ref = createUser_;\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 createUser_ = s;\n return s;\n }\n }",
"public java.lang.String getCreateUser() {\n java.lang.Object ref = createUser_;\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 createUser_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getCreateUserBytes() {\n java.lang.Object ref = createUser_;\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 createUser_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getCreateUserBytes() {\n java.lang.Object ref = createUser_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n createUser_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.User getCreateUser() {\n return (entity.User)__getInternalInterface().getFieldValue(CREATEUSER_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.User getCreateUser() {\n return (entity.User)__getInternalInterface().getFieldValue(CREATEUSER_PROP.get());\n }",
"@Override\r\n\tpublic Object createUser() throws DataAccessException, SQLException {\n\t\treturn null;\r\n\t}",
"@Override\n\tpublic IUser creatUser() {\n\t\treturn new SqlServerUser();\n\t}",
"public IUser CreateUser() {\n\t\tIUser iUser = null;\n\t\tswitch (db) {\n\t\tcase \"Mysql\":\n\t\t\tiUser = new MysqlUserImpl();\n\t\t\tbreak;\n\t\tcase \"Access\":\n\t\t\tiUser = new AccessUserImpl();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\treturn iUser;\n\t}",
"public MetaUser createMetaUser(String sName) throws IOException;",
"public User splitCreateUser(String sql) {\n\t\tUser user = null;\n\t\tString suffix = \"\";\n\t\t\n\t\tPattern pattern = Pattern.compile(SQLParser.CREATE_USER1);\n\t\tMatcher matcher = pattern.matcher(sql);\n\t\tif (matcher.matches()) {\n\t\t\tuser = new User(matcher.group(1), matcher.group(2));\n\t\t\tsuffix = matcher.group(3);\n\t\t} else {\n\t\t\tpattern = Pattern.compile(SQLParser.CREATE_USER2);\n\t\t\tmatcher = pattern.matcher(sql);\n\t\t\tif (matcher.matches()) {\n\t\t\t\tuser = new User(matcher.group(1), matcher.group(2));\n\t\t\t\tsuffix = matcher.group(3);\n\t\t\t} else {\n\t\t\t\tpattern = Pattern.compile(SQLParser.CREATE_USER3);\n\t\t\t\tmatcher = pattern.matcher(sql);\n\t\t\t\tif (matcher.matches()) {\n\t\t\t\t\tuser = new User(matcher.group(1), matcher.group(2));\n\t\t\t\t\tsuffix = matcher.group(3);\n\t\t\t\t} else {\n\t\t\t\t\tpattern = Pattern.compile(SQLParser.CREATE_USER4);\n\t\t\t\t\tmatcher = pattern.matcher(sql);\n\t\t\t\t\tif (!matcher.matches()) {\n\t\t\t\t\t\tthrowable(sql, 0);\n\t\t\t\t\t}\n\t\t\t\t\tuser = new User(matcher.group(1), matcher.group(2));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (suffix.trim().length() > 0) {\n\t\t\tpattern = Pattern.compile(SQLParser.MAXSIZE);\n\t\t\tmatcher = pattern.matcher(suffix);\n\t\t\tif (!matcher.matches()) {\n\t\t\t\tthrowable(sql, 0);\n\t\t\t}\n\t\t\tString digit = matcher.group(1);\n\t\t\tString unit = matcher.group(2);\n\t\t\tlong value = Long.parseLong(digit);\n\t\t\tif (\"M\".equalsIgnoreCase(unit)) {\n\t\t\t\tuser.setMaxSize(value * 1024 * 1024);\n\t\t\t} else if (\"G\".equalsIgnoreCase(unit)) {\n\t\t\t\tuser.setMaxSize(value * 1024 * 1024 * 1024);\n\t\t\t} else if (\"T\".equalsIgnoreCase(unit)) {\n\t\t\t\tuser.setMaxSize(value * 1024 * 1024 * 1024 * 1024);\n\t\t\t} else if (\"P\".equalsIgnoreCase(unit)) {\n\t\t\t\tuser.setMaxSize(value * 1024 * 1024 * 1024 * 1024 * 1024);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn user;\n\t}",
"public String getCreateUser()\r\n\t{\r\n\t\treturn createUser;\r\n\t}",
"public Long getCreateUser() {\r\n return createUser;\r\n }",
"public Long getCreateUser() {\r\n return createUser;\r\n }",
"Utilizator createUser(String username, String password, String nume,\n\t\t\tString prenume, String tip, String aux);",
"public String getCreateUser () {\r\n\t\treturn createUser;\r\n\t}",
"public String create() {\r\n\t\tuserService.create(userAdd);\r\n\t\tusers.setWrappedData(userService.list());\r\n\t\treturn \"create\";\r\n\t}",
"public String getCreateUser() {\r\n\t\treturn createUser;\r\n\t}",
"public String getCreateUser() {\r\n\t\treturn createUser;\r\n\t}",
"public void createUser() {\r\n\t\tif(validateUser()) {\r\n\t\t\t\r\n\t\t\tcdb=new Connectiondb();\r\n\t\t\tcon=cdb.createConnection();\r\n\t\t\ttry {\r\n\t\t\t\tps=con.prepareStatement(\"INSERT INTO t_user (nom,prenom,userName,pass,tel,type,status) values(?,?,?,?,?,?,?)\");\r\n\t\t\t\tps.setString(1, this.getNom());\r\n\t\t\t\tps.setString(2, this.getPrenom());\r\n\t\t\t\tps.setString(3, this.getUserName());\r\n\t\t\t\tps.setString(4, this.getPassword());\r\n\t\t\t\tps.setInt(5, Integer.parseInt(this.getTel().trim()));\r\n\t\t\t\tps.setString(6, this.getType());\r\n\t\t\t\tps.setBoolean(7, true);\r\n\t\t\t\tps.executeUpdate();\r\n\t\t\t\tnew Message().error(\"Fin d'ajout d'utilisateur\");\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\tnew Message().error(\"Echec d'ajout d'utilisateur\");\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}finally {\r\n\t\t\t\tcdb.closePrepareStatement(ps);\r\n\t\t\t\tcdb.closeConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}",
"private String createUser(String name) {\n\t\treturn null;\n\t}",
"private User createUser(org.picketlink.idm.model.User picketLinkUser) {\n User user = new User(picketLinkUser.getLoginName());\n user.setFullName(picketLinkUser.getFirstName() + \" \" + picketLinkUser.getLastName());\n user.setShortName(picketLinkUser.getLastName());\n return user;\n }",
"public String getCreateUser() {\r\n return createUser;\r\n }",
"public String getCreateUser() {\r\n return createUser;\r\n }",
"@Override\n\tpublic String DBcreateUser(String userJson) {\n\t\tUser newUser = (User) jsonToUserPOJO(userJson);\n\t\tString id = userRepository.create(newUser);\n\t\treturn id;\n\t}",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"public String getCreateUser() {\n return createUser;\n }",
"@Override\n\tpublic String createUser(UserType user) throws InvalidEntityException {\n\t\treturn null;\n\t}",
"public String clientCreateUser(User caller, String type) throws MupeException {\r\n return Person.clientGetCreator(caller, \"Person\");\r\n }",
"public void creatUser(String name, String phone, String email, String password);",
"private void setCreateUser(entity.User value) {\n __getInternalInterface().setFieldValue(CREATEUSER_PROP.get(), value);\n }",
"Human_User createHuman_User();",
"public Integer getCreateUser() {\n return createUser;\n }",
"public Integer getCreateUser() {\n return createUser;\n }",
"public void createUser(User user) {\n\n\t}",
"@Override\n\t\tpublic MyUserBasicInfo create() {\n\t\t\treturn new MyUserBasicInfo();\n\t\t}",
"public Builder setCreateUser(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n createUser_ = value;\n onChanged();\n return this;\n }",
"int createUser(User data) throws Exception;",
"private ServerCommand processCreateUserCommand(RoMClient client, CreateUserClientCommand createUserCommand) {\r\n \t\tboolean success = false;\r\n \r\n \t\t// Check if user is admin\r\n \t\tif (client.getIsAdmin()) {\r\n \t\t\tsuccess = this.dataLayer.addUser(createUserCommand.getNewUserName(), createUserCommand.getSHA1EncryptedPassword());\r\n \t\t}\r\n \r\n \t\tServerCommand serverResponseCommand = new CreateUserServerCommand(success, createUserCommand);\r\n \r\n \t\treturn serverResponseCommand;\r\n \t}",
"@RequestMapping(value=\"\", method=RequestMethod.POST, consumes=MediaType.MULTIPART_FORM_DATA_VALUE, produces = \"application/json\")\n\tpublic @ResponseBody Object createUser(@RequestParam String userName, @RequestParam String userPassword, @RequestParam String userFirstName, \n\t\t\t@RequestParam String userLastName, @RequestParam String userPicURL,@RequestParam String userEmail, @RequestParam String userEmployer,\n\t\t\t@RequestParam String userDesignation, @RequestParam String userCity, @RequestParam String userState, @RequestParam(required=false) String programId, \n\t\t\t@RequestParam long updatedBy, @RequestParam String userExpertise, @RequestParam String userRoleDescription,\n\t\t\t@RequestParam String userPermissionCode, @RequestParam String userPermissionDescription, HttpServletRequest request, HttpServletResponse response) {\n\t\treturn userService.createUser(userName, userPassword, userFirstName, userLastName, userPicURL, userEmail, userEmployer, userDesignation, userCity, userState, programId, updatedBy, userExpertise, userRoleDescription, userPermissionCode, userPermissionDescription, request, response);\n\t}",
"public Long getCreateUserid() {\r\n\t\treturn createUserid;\r\n\t}",
"int newUser(String username, String password, Time creationTime);",
"@Override\npublic String createUser(String userAccount, String userPassword,\n\t\tString userSex, String userEmail, String userName) {\n\t\n\tUser user = new User(userAccount, userPassword, userSex , userEmail, userName);\n\tem.persist(user) ;\n\t return \n\t\t\t \"Account: \" + user.getUserAccount() + \"\\n\" +\n\t\t\t\"Password: \" + user.getUserPassword() + \"\\n\" + \n\t\t\t\"Sex: \" + user.getUserSex() + \"\\n\" +\n\t\t\t\"Email: \" + user.getUserEmail() + \"\\n\" +\n\t\t\t\"Name: \" + user.getUserName();\n\n\t\n}",
"User createUser();",
"User createUser(ResultSet resultSet, User user) throws SQLException;",
"public void createUser(User user);",
"CreateUserResult createUser(CreateUserRequest createUserRequest);",
"public Long getUserCreate() {\n return userCreate;\n }",
"UserCreateResponse createUser(UserCreateRequest request);",
"public User getCreateUser()\r\n/* */ {\r\n/* 144 */ return this.createUser;\r\n/* */ }",
"@Override\n protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {\n if (CREATE_USER_REQUEST_CODE == requestCode && RESULT_OK == resultCode){\n if (data != null) {\n String username = data.getStringExtra(UserCreationActivity.BUNDLE_NEW_USER_NAME);\n\n User user = new User(username, User.EMPTY_CASE, User.EMPTY_CASE);\n\n createUser(user);\n }\n }\n }",
"public User createUser() {\n printer.println(\"Welcome! Enter you name and surname:\");\n printer.println(\"Name:\");\n String name = input.nextString();\n printer.println(\"Surname:\");\n String surname = input.nextString();\n return new User(name, surname);\n }",
"public boolean newUser(String username, String password, int uType, String fName, String lName, String email){\n\t\ttry{\n\t\t\tresultSet = statement.executeQuery(\"select uid from User where username='\"+username+\"' or email='\"+email+\"'\");\n\t\t\tif(resultSet.next()){\n\t\t\t\tSystem.out.println(\"already in\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tresultSet = statement.executeQuery(\"select max(Uid) from User\");\n\t\t\tresultSet.next();\n\t\t\tint userNumber = resultSet.getInt(1)+1;\n\t\t\tstatement.executeUpdate(\"insert into User values(\"+userNumber+\",'\"+username+\"','\"+password+\"',\"+uType+\",'\"+fName+\"','\"+lName+\"','\"+email+\"',\"+1+\")\");\n\t\t} catch (Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn true;\n\t\t\n\t}",
"private String getCreateUserSQL(String targetSchemaName) {\n\t\treturn \"CREATE USER \" + targetSchemaName + \";\";\n\t}",
"void createUser() throws SQLException {\n String name = regName.getText();\n String birthdate = regAge.getText();\n String username = regUserName.getText();\n String password = regPassword.getText();\n String query = \" insert into users (name, birthdate, username, password)\"\n + \" values (?, ?, ?, ?)\";\n\n DB.registerUser(name, birthdate, username, password, query);\n }",
"public User toUser(CreateUserVO createUserVO) {\n User user = new User();\n user.setFirstName(createUserVO.getFirstName());\n user.setLastName(createUserVO.getLastName());\n user.setUsername(createUserVO.getUsername());\n return user;\n }",
"public void setCreateUser(entity.User value) {\n __getInternalInterface().setFieldValue(CREATEUSER_PROP.get(), value);\n }",
"public void setCreateUser (String createUser) {\r\n\t\tthis.createUser = createUser;\r\n\t}",
"public Integer getCreateuser() {\n return createuser;\n }",
"public void setCreateUser(Long createUser) {\r\n this.createUser = createUser;\r\n }",
"public void setCreateUser(Long createUser) {\r\n this.createUser = createUser;\r\n }",
"public void createUser() {\n try {\n conn = dao.getConnection();\n\n ps = conn.prepareStatement(\"INSERT INTO Users(username, password) VALUES(?, ?)\");\n ps.setString(1, this.username);\n ps.setString(2, this.password);\n\n ps.execute();\n\n ps.close();\n conn.close();\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"User create(final User user) throws DatabaseException;",
"public String createUserAction()throws Exception{\n\t\tString response=\"\";\n\t\tresponse=getService().getUserMgmtService().createNewUser(\n\t\t\t\tgetAuthBean().getUserName(),\n\t\t\t\tgetAuthBean().getFirstName(),\n\t\t\t\tgetAuthBean().getLastName(),\n\t\t\t\tgetAuthBean().getEmailId(),\n\t\t\t\tgetAuthBean().getRole()\n\t\t);\n\t\tgetAuthBean().setResponse(response);\n\t\tinputStream = new StringBufferInputStream(response);\n\t\tinputStream.close();\n\t\treturn SUCCESS;\n\t}",
"public int createUser(Users user) {\n\t\t int result = getTemplate().update(INSERT_users_RECORD,user.getUsername(),user.getPassword(),user.getFirstname(),user.getLastname(),user.getMobilenumber());\n\t\t\treturn result;\n\t\t\n\t\n\t}",
"public static void createMysqlUser(Eleve e) {\n Session session = HibernateUtils.getSessionFactory().openSession();\r\n String SQLRequest = \"CREATE USER '\" + e.getAbreviation() + \"'@'%' IDENTIFIED BY '\" + e.getPwd() + \"'; \";\r\n System.out.println(SQLRequest);\r\n session.beginTransaction();\r\n session.createSQLQuery(SQLRequest).executeUpdate();\r\n session.getTransaction().commit();\r\n session.close();\r\n\r\n }",
"public void create() throws DuplicateException, InvalidUserDataException, \n NoSuchAlgorithmException, SQLException {\n\tUserDA.create(this);\n }",
"public Builder setCreateUserBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n createUser_ = value;\n onChanged();\n return this;\n }",
"public void createUser(String userName, String password,\n boolean createDB) throws Exception;",
"@Override\n\tpublic void create(User user) {\n\t\t\n\t}",
"public eu.aladdin_project.storagecomponent.CreateUserDocument.CreateUser addNewCreateUser()\n {\n synchronized (monitor())\n {\n check_orphaned();\n eu.aladdin_project.storagecomponent.CreateUserDocument.CreateUser target = null;\n target = (eu.aladdin_project.storagecomponent.CreateUserDocument.CreateUser)get_store().add_element_user(CREATEUSER$0);\n return target;\n }\n }",
"public User(String username, String password, String firstName, String lastName, Short userType) {\r\n this.username = username;\r\n this.password = password;\r\n this.firstName = firstName;\r\n this.lastName = lastName;\r\n this.userType = userType;\r\n }",
"public void setCreateUser(String createUser) {\n this.createUser = createUser;\n }",
"public void setCreateUser(String createUser) {\n this.createUser = createUser;\n }",
"public void setCreateUser(String createUser)\r\n\t{\r\n\t\tthis.createUser = createUser;\r\n\t}",
"public String getCreateUserId() {\r\n return createUserId;\r\n }",
"public static String getSQLForUserTableCreation() {\n return \"CREATE TABLE \" + USER_TABLE + \"(\" +\n USER_ID + \" varchar(8) PRIMARY KEY, \" +\n USER_LAST_NAME + \" varchar(32), \" +\n USER_FIRST_NAME + \" varchar(32), \" +\n USER_EMAIL + \" varchar(256), \" +\n USER_PASSWORD + \" varchar(64), \" +\n USER_IS_TEACHER + \" bool, \" +\n USER_GROUP + \" varchar(32))\";\n\n }",
"@Override\n\tpublic int create(Users user) {\n\t\tSystem.out.println(\"service:creating new user...\");\n\t\treturn userDAO.create(user);\n\t}",
"@Override\n\tpublic User Create(User t) {\n\t\tsessionFactory.getCurrentSession().save(t);\n\t\t\n\t\treturn t;\n\t}",
"public String getCreateUsermac() {\r\n\t\treturn createUsermac;\r\n\t}",
"@Override\r\n\tpublic Object registerNewUser(UserDTO userDto) throws DataAccessException, SQLException {\n\t\tlogger.info(\"start : registerNewUser UsersMngDaoImpl \");\r\n\t\tUsers userData = null;\r\n\t\t\r\n\t\tCalendar calendar = Calendar.getInstance();\r\n\t\tTimestamp currentTimeStamp = new java.sql.Timestamp(calendar.getTime().getTime());\r\n\t\t\r\n\t\tif(isUserExist(userDto.getUserName())) {\r\n\t\t\tthrow new UserAlreadyExistException(\"UserName Already Exist \" + userDto.getUserName());\r\n\t\t\t\r\n\t\t}else {\r\n\t\t\r\n\t\tUsers newUser = new Users();\r\n\t\tnewUser.setUserName(userDto.getUserName());\r\n\t\tnewUser.setPassword(bcryptEncoder.encode(DDCommonConstant.DEFAULT_USER_PASSWORD));\r\n\t\tnewUser.setIsActive(DDCommonConstant.USER_ACTIVATION_FLAG);\r\n\t\tnewUser.setLastUpdated(currentTimeStamp);\r\n\t\tnewUser.setLastaccessed(new Date());\r\n\t\tCollection<Roles> roleList = new ArrayList<Roles>();\r\n\t\tif(userDto.getPassword() == null) {\r\n\t\t\tRoles role = roleRepository.findByRoleId(DDCommonConstant.USER_DEFAULT_ROLE_THROUGH_APP);\r\n\t\t\troleList.add(role);\r\n\t\t}else {\r\n\t\t\tnewUser.setUserName(bcryptEncoder.encode(userDto.getPassword()));\r\n\t\t\tRoles role = (Roles) userDto.getRoles();\r\n\t\t\trole = roleRepository.findByRoleId(role.getRoleId());\r\n\t\t\troleList.add(role);\r\n\t\t}\r\n\t\tnewUser.setRoles(roleList);\r\n\t\t\r\n\t\tuserData = userRepo.save(newUser);\r\n\t\t}\r\n\t\tlogger.info(\"End : registerNewUser UsersMngDaoImpl \");\r\n\t\treturn userData;\r\n\t\t}",
"public void createTableUser(){\r\n Statement stmt;\r\n try {\r\n stmt = this.getConn().createStatement();\r\n ///////////////*********remember to retrieve*************/////////////\r\n //stmt.executeUpdate(\"create table user(username VARCHAR(40),email VARCHAR(40), password int);\");\r\n //stmt.executeUpdate(\"INSERT INTO user VALUES('A','[email protected]',12344);\");\r\n //stmt.executeUpdate(\"INSERT INTO user VALUES('CC','[email protected]',3231);\");\r\n } catch (SQLException e) { e.printStackTrace();}\r\n }",
"@Insert({\n \"insert into tb_user (username, password)\",\n \"values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR})\"\n })\n int insert(User record);",
"public void setCreateUser(String createUser) {\r\n\t\tthis.createUser = createUser;\r\n\t}",
"public void setCreateUser(String createUser) {\r\n\t\tthis.createUser = createUser;\r\n\t}",
"public Integer getCreateUserid() {\n return createUserid;\n }",
"String createUserRequest(String username, UserRequestType type);",
"public boolean createNewUser(String username){\n boolean isCreated=false;\n try{\n\n database = dbH.getWritableDatabase();\n dbH.openDataBase();\n database.execSQL(\"INSERT INTO CurrentUser (Username) VALUES ('\" + username + \"');\");\n isCreated=true;\n dbH.close();\n }\n catch (SQLException e){\n }\n return isCreated;\n }",
"boolean createUser(String username, String password);"
] |
[
"0.7104327",
"0.7018861",
"0.6920577",
"0.6859189",
"0.6849563",
"0.6814114",
"0.6764277",
"0.6644282",
"0.660942",
"0.6597598",
"0.65783876",
"0.6543635",
"0.6524137",
"0.6524137",
"0.65189457",
"0.6507488",
"0.6476147",
"0.6473552",
"0.6473552",
"0.6462498",
"0.64353216",
"0.6433373",
"0.64313537",
"0.64313537",
"0.6423461",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.6421613",
"0.63948834",
"0.6379407",
"0.63486195",
"0.6322973",
"0.63223314",
"0.63070494",
"0.63070494",
"0.6244039",
"0.62438786",
"0.6239056",
"0.6229777",
"0.6219053",
"0.62034017",
"0.6160347",
"0.6159332",
"0.6156992",
"0.61496305",
"0.6141194",
"0.61230963",
"0.61180604",
"0.6114616",
"0.60894245",
"0.6072162",
"0.60647506",
"0.60502803",
"0.60281044",
"0.60269475",
"0.6025693",
"0.6017521",
"0.6009876",
"0.5993995",
"0.5992931",
"0.5990396",
"0.5990396",
"0.5976792",
"0.59763825",
"0.59752655",
"0.59748816",
"0.5973949",
"0.5971262",
"0.5968145",
"0.59662557",
"0.5948484",
"0.5946993",
"0.59318966",
"0.59146804",
"0.59146804",
"0.5905277",
"0.5893743",
"0.58849066",
"0.58731365",
"0.58505857",
"0.5847952",
"0.5837702",
"0.5833595",
"0.5832217",
"0.5821144",
"0.5821144",
"0.58204633",
"0.5811227",
"0.5806038",
"0.5804901"
] |
0.63413644
|
41
|
Setter method for createUser. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'.
|
public void setCreateUser(String newVal) {
if ((newVal != null && this.createUser != null && (newVal.compareTo(this.createUser) == 0)) ||
(newVal == null && this.createUser == null && createUser_is_initialized)) {
return;
}
this.createUser = newVal;
createUser_is_modified = true;
createUser_is_initialized = true;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private void setCreateUser(entity.User value) {\n __getInternalInterface().setFieldValue(CREATEUSER_PROP.get(), value);\n }",
"public void setCreateUser(entity.User value) {\n __getInternalInterface().setFieldValue(CREATEUSER_PROP.get(), value);\n }",
"public void setCreateUser(User createUser)\r\n/* */ {\r\n/* 151 */ this.createUser = createUser;\r\n/* */ }",
"private void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }",
"public UserThrift(UserThrift other) {\n __isset_bitfield = other.__isset_bitfield;\n if (other.isSetEmailId()) {\n this.emailId = other.emailId;\n }\n if (other.isSetName()) {\n this.name = other.name;\n }\n if (other.isSetPassword()) {\n this.password = other.password;\n }\n if (other.isSetCountry()) {\n this.country = other.country;\n }\n if (other.isSetPhone()) {\n this.phone = other.phone;\n }\n if (other.isSetLastLoggedIn()) {\n this.lastLoggedIn = other.lastLoggedIn;\n }\n this.active = other.active;\n this.newsletter = other.newsletter;\n this.registered = other.registered;\n }",
"public void setUpdateUser(String newVal) {\n if ((newVal != null && this.updateUser != null && (newVal.compareTo(this.updateUser) == 0)) || \n (newVal == null && this.updateUser == null && updateUser_is_initialized)) {\n return; \n } \n this.updateUser = newVal; \n\n updateUser_is_modified = true; \n updateUser_is_initialized = true; \n }",
"public void setCreateUser(eu.aladdin_project.storagecomponent.CreateUserDocument.CreateUser createUser)\n {\n synchronized (monitor())\n {\n check_orphaned();\n eu.aladdin_project.storagecomponent.CreateUserDocument.CreateUser target = null;\n target = (eu.aladdin_project.storagecomponent.CreateUserDocument.CreateUser)get_store().find_element_user(CREATEUSER$0, 0);\n if (target == null)\n {\n target = (eu.aladdin_project.storagecomponent.CreateUserDocument.CreateUser)get_store().add_element_user(CREATEUSER$0);\n }\n target.set(createUser);\n }\n }",
"public void setCreatedByUser(long createdByUser);",
"public Builder setCreateUser(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n createUser_ = value;\n onChanged();\n return this;\n }",
"public void setModifiedBy(org.semanticwb.model.User value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_modifiedBy, value.getSemanticObject());\r\n }else\r\n {\r\n removeModifiedBy();\r\n }\r\n }",
"public void setModifiedBy(org.semanticwb.model.User value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_modifiedBy, value.getSemanticObject());\r\n }else\r\n {\r\n removeModifiedBy();\r\n }\r\n }",
"public void setModifiedBy(org.semanticwb.model.User value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_modifiedBy, value.getSemanticObject());\r\n }else\r\n {\r\n removeModifiedBy();\r\n }\r\n }",
"public void setCreatedUserId(Integer value) {\n set(4, value);\n }",
"public void setCreator(User creator) {\n this.creator = creator;\n }",
"public void setCreatedBy(String v) \n {\n \n if (!ObjectUtils.equals(this.createdBy, v))\n {\n this.createdBy = v;\n setModified(true);\n }\n \n \n }",
"public boolean isCreateUserModified() {\n return createUser_is_modified; \n }",
"public void setCreatedByUser(String createdByUser);",
"private void setObjUser(People value) {\n if (value == null) {\n throw new NullPointerException();\n }\n objUser_ = value;\n \n }",
"public User(User other) {\n\t\t__isset_bitfield = other.__isset_bitfield;\n\t\tif (other.isSetUid()) {\n\t\t\tthis.uid = other.uid;\n\t\t}\n\t\tthis.isStaff = other.isStaff;\n\t\tthis.isActive = other.isActive;\n\t\tthis.isDelete = other.isDelete;\n\t\tif (other.isSetCreateTime()) {\n\t\t\tthis.createTime = other.createTime;\n\t\t}\n\t\tif (other.isSetUpdateTime()) {\n\t\t\tthis.updateTime = other.updateTime;\n\t\t}\n\t\tthis.status = other.status;\n\t\tthis.numAuth = other.numAuth;\n\t\tif (other.isSetUsername()) {\n\t\t\tthis.username = other.username;\n\t\t}\n\t\tif (other.isSetEmail()) {\n\t\t\tthis.email = other.email;\n\t\t}\n\t\tif (other.isSetLocNum()) {\n\t\t\tthis.locNum = other.locNum;\n\t\t}\n\t\tif (other.isSetPhone()) {\n\t\t\tthis.phone = other.phone;\n\t\t}\n\t\tif (other.isSetUnique()) {\n\t\t\tthis.unique = other.unique;\n\t\t}\n\t\tif (other.isSetSalt()) {\n\t\t\tthis.salt = other.salt;\n\t\t}\n\t\tif (other.isSetSource()) {\n\t\t\tthis.source = other.source;\n\t\t}\n\t\tthis.statusEmail = other.statusEmail;\n\t\tthis.statusPhone = other.statusPhone;\n\t\tthis.statusPsw = other.statusPsw;\n\t\tthis.statusQuest = other.statusQuest;\n\t\tthis.statusCard = other.statusCard;\n\t\tthis.isTwoFactor = other.isTwoFactor;\n\t\tif (other.isSetLang()) {\n\t\t\tthis.lang = other.lang;\n\t\t}\n\t\tthis.numUsername = other.numUsername;\n\t\tthis.numUnique = other.numUnique;\n\t}",
"void setPassedUser(User passedUser);",
"public Long saveUser(User user, User modifiedBy);",
"public void setCreatedByUser(\n @Nullable\n final String createdByUser) {\n rememberChangedField(\"CreatedByUser\", this.createdByUser);\n this.createdByUser = createdByUser;\n }",
"public void setCreateUser(Long createUser) {\r\n this.createUser = createUser;\r\n }",
"public void setCreateUser(Long createUser) {\r\n this.createUser = createUser;\r\n }",
"public void setCreatedUser(String createdUser) {\r\n this.createdUser = createdUser;\r\n }",
"public User(User other) {\n if (other.isSetName()) {\n this.name = other.name;\n }\n if (other.isSetPassword()) {\n this.password = new byte[other.password.length];\n System.arraycopy(other.password, 0, password, 0, other.password.length);\n }\n __isset.select_priv = other.__isset.select_priv;\n this.select_priv = other.select_priv;\n __isset.insert_priv = other.__isset.insert_priv;\n this.insert_priv = other.insert_priv;\n __isset.create_priv = other.__isset.create_priv;\n this.create_priv = other.create_priv;\n __isset.drop_priv = other.__isset.drop_priv;\n this.drop_priv = other.drop_priv;\n __isset.grant_priv = other.__isset.grant_priv;\n this.grant_priv = other.grant_priv;\n __isset.alter_priv = other.__isset.alter_priv;\n this.alter_priv = other.alter_priv;\n __isset.create_user_priv = other.__isset.create_user_priv;\n this.create_user_priv = other.create_user_priv;\n __isset.super_priv = other.__isset.super_priv;\n this.super_priv = other.super_priv;\n }",
"public void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }",
"public void changeUser() {\n refreshState();\n SystemUserDTO user = null;\n SystemUserDTO systemUser = null;\n systemUser = ctrl.getSystemUser(this.inputTextUser);\n if (systemUser == null) {\n user = new SystemUserDTO(this.inputTextUser, this.inputTextFName, this.inputTextLName, this.inputTextEMail);\n ctrl.addSystemUser(user);\n } else {\n user = new SystemUserDTO(this.inputTextUser, this.inputTextFName, this.inputTextLName, this.inputTextEMail);\n ctrl.updateSystemUser(user);\n }\n refreshState();\n this.currentUser = user;\n }",
"public void setCallingUser(entity.User value);",
"void setCurrentUser(@Nullable User newCurrentUser) {\n currentUser = newCurrentUser;\n }",
"public void setCreatedUser(Integer createdUser) {\n\t\tthis.createdUser = createdUser;\n\t}",
"private void setUser(People value) {\n if (value == null) {\n throw new NullPointerException();\n }\n user_ = value;\n \n }",
"public void setCreatedUserId(Integer value) {\n this.createdUserId = value;\n }",
"public void setCreatedUserId(Integer value) {\n this.createdUserId = value;\n }",
"public void setUserCreate(Long userCreate) {\n this.userCreate = userCreate;\n }",
"public void setModifiedByUser(long modifiedByUser);",
"public void setEditUser(User editUser)\r\n/* */ {\r\n/* 179 */ this.editUser = editUser;\r\n/* */ }",
"public User() {\n setName(\"\");\n setBirthdate(\"\");\n setCity(\"\");\n setIsSingle(true);\n setPartnerName(\"\");\n setPartnerGender(\"\");\n setMonthsUntilDeath(0);\n }",
"public void setCreator(org.semanticwb.model.User value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_creator, value.getSemanticObject());\r\n }else\r\n {\r\n removeCreator();\r\n }\r\n }",
"public void setCreator(org.semanticwb.model.User value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_creator, value.getSemanticObject());\r\n }else\r\n {\r\n removeCreator();\r\n }\r\n }",
"public void setCreator(org.semanticwb.model.User value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_creator, value.getSemanticObject());\r\n }else\r\n {\r\n removeCreator();\r\n }\r\n }",
"@Override\n\tpublic Boolean updateUser(User user) {\n\t\treturn null;\n\t}",
"public void setCreateduser(Long createduser) {\n this.createduser = createduser;\n }",
"public void updateUser(User oldUser, User newUser) ;",
"void setCreationDate( String username, Date creationDate ) throws UserNotFoundException;",
"@Override\r\n\tpublic boolean updateUser() {\n\t\treturn false;\r\n\t}",
"public void setCreatedBy(Number value)\n {\n setAttributeInternal(CREATEDBY, value);\n }",
"void setCreateby(final U createdBy);",
"@FXML private void setToNewUser(){\n\t\tshowPassword();\n\t\tclearFields();\n\t\thideLackMessages();\n\t\tchangeCancelButton.setText(\"Anuluj\");\n\t\tnewUser = true;\n\t}",
"public void setModifiedByUser(String modifiedByUser);",
"public void setCreateUser(Integer createUser) {\n this.createUser = createUser;\n }",
"public void setCreateUser(Integer createUser) {\n this.createUser = createUser;\n }",
"public saveUser_args(saveUser_args other) {\n if (other.isSetAccount()) {\n this.account = other.account;\n }\n if (other.isSetPassword()) {\n this.password = other.password;\n }\n }",
"public void setModifiedUserId(Integer value) {\n this.modifiedUserId = value;\n }",
"public void setModifiedUserId(Integer value) {\n this.modifiedUserId = value;\n }",
"public Builder setObjUser(People value) {\n copyOnWrite();\n instance.setObjUser(value);\n return this;\n }",
"private static void updateUserTest(Connection conn) {\n\t\t\n\t\ttry {\n\t\t\tUser existingUser = User.loadUserById(conn, 3); // User user = User.loadUserById(conn, 3);\n\t\t\t// the same id is preserved\n\t\t\texistingUser.setUsername(\"jo\");\n\t\t\texistingUser.setEmail(\"[email protected]\");\n\t\t\texistingUser.setUserGroupId(2);\n\t\t\texistingUser.saveToDB(conn);\n\t\t\t\n\t\t\t/*Następnie\tnależy\tsprawdzić,\tczy:\n\t\t\t\t1.\t Czy\twpis\tw\tbazie\tdanych\tma\twszystkie\n\t\t\t\tdane\todpowiednio\tponastawiane?\n\t\t\t\t2.\t Czy\tobiekt\tma\tnastawione\tpoprawne\tid? - czyli niezmienione, bo nie mamy settera dla id\n\t\t\t\t3.\t Czy\tnie\tdodał\tsię\tnowy\twpis\tw\tbazie?*/\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"public void newUser(User user);",
"public void setCreatedBy(Number value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(Number value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(Number value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(Number value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(Number value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(Number value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(Number value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(Number value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"void setUserCreated(final Long userCreated);",
"public Long getCreateUser() {\r\n return createUser;\r\n }",
"public Long getCreateUser() {\r\n return createUser;\r\n }",
"public Builder setCreatedBy(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n createdBy_ = value;\n onChanged();\n return this;\n }",
"public void setUser(User user) { this.user = user; }",
"public Builder setObjUser(\n People.Builder builderForValue) {\n copyOnWrite();\n instance.setObjUser(builderForValue);\n return this;\n }",
"@Override\n\tpublic boolean create(User user) {\n\t\treturn false;\n\t}",
"@Override\n public User get(User user) {\n user.setName(\"zyq\");\n return user;\n }",
"@Override\n\tpublic boolean updateUser(Integer Id, User user) {\n\t\treturn false;\n\t}",
"public void setModifiedUser(Integer modifiedUser) {\n\t\tthis.modifiedUser = modifiedUser;\n\t}",
"@Override\n\tpublic boolean modifyUser(Account account) {\n\t\treturn false;\n\t}",
"@Test\n\tpublic void newUser() {\n\n\t\tUser user = new User(\"moviewatcher\", \"$2a$10$37jGlxDwJK4mRpYqYvPmyu8mqQJfeQJVSdsyFY5UNAm9ckThf2Zqa\", \"USER\");\n\t\tuserRepository.save(user);\n\n\t\tassertThat(user).isNotNull();\n\t\tassertThat(user).hasFieldOrPropertyWithValue(\"username\", \"moviewatcher\");\n\t}",
"@Override\n\tpublic void updateUser(user theUser) {\n\t}",
"public void setLastUpdUserId(Integer value) {\n set(6, value);\n }",
"public saveUser_result(saveUser_result other) {\n if (other.isSetSuccess()) {\n this.success = other.success;\n }\n }",
"public Builder setUser(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n user_ = value;\n onChanged();\n return this;\n }",
"@Override\n\tpublic User updateUser(User user) {\n\t\treturn null;\n\t}",
"@Override\n\tpublic User update(User t) {\n\t\treturn null;\n\t}",
"public void setCreateUser(String createUser)\r\n\t{\r\n\t\tthis.createUser = createUser;\r\n\t}",
"public void setCreatedBy(String value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(String value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(String value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(String value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(String value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(String value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreatedBy(String value) {\n setAttributeInternal(CREATEDBY, value);\n }",
"public void setCreateUser (String createUser) {\r\n\t\tthis.createUser = createUser;\r\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.User getCreateUser() {\n return (entity.User)__getInternalInterface().getFieldValue(CREATEUSER_PROP.get());\n }",
"public void setCreatedBy(final CreatedBy createdBy);",
"public void setCreateModifiedBy(String aCreateModifiedBy) {\n createModifiedBy = aCreateModifiedBy;\n }",
"public void setCreateModifiedBy(String aCreateModifiedBy) {\n createModifiedBy = aCreateModifiedBy;\n }",
"public void setCreateModifiedBy(String aCreateModifiedBy) {\n createModifiedBy = aCreateModifiedBy;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.User getCreateUser() {\n return (entity.User)__getInternalInterface().getFieldValue(CREATEUSER_PROP.get());\n }",
"public void setModifieduser(Long modifieduser) {\n this.modifieduser = modifieduser;\n }"
] |
[
"0.71107954",
"0.6797886",
"0.66690063",
"0.6266298",
"0.62467736",
"0.61869276",
"0.61336285",
"0.6121539",
"0.6116409",
"0.6113616",
"0.6113616",
"0.6113616",
"0.6103069",
"0.6038464",
"0.6003739",
"0.6001444",
"0.5945507",
"0.59372973",
"0.591126",
"0.5894818",
"0.58633524",
"0.58609694",
"0.585601",
"0.585601",
"0.5834294",
"0.58289194",
"0.58007675",
"0.578905",
"0.57878333",
"0.57830256",
"0.5760988",
"0.57322294",
"0.5721349",
"0.5721349",
"0.5717918",
"0.57118845",
"0.5709437",
"0.5681007",
"0.5668483",
"0.5668483",
"0.5668483",
"0.5666507",
"0.5664248",
"0.56510293",
"0.5647944",
"0.5622367",
"0.5597083",
"0.5585102",
"0.5576763",
"0.5566586",
"0.55262476",
"0.55262476",
"0.55225825",
"0.55157304",
"0.55157304",
"0.55030835",
"0.549403",
"0.5492439",
"0.5482783",
"0.5482783",
"0.5482783",
"0.5482783",
"0.5482783",
"0.5482783",
"0.5482783",
"0.5482783",
"0.5482637",
"0.5478073",
"0.5478073",
"0.54735667",
"0.54728067",
"0.5440143",
"0.54397774",
"0.5437059",
"0.5435574",
"0.54224366",
"0.5421984",
"0.5417717",
"0.5400605",
"0.5399057",
"0.53898424",
"0.5387293",
"0.53814113",
"0.53796864",
"0.5374822",
"0.537278",
"0.537278",
"0.537278",
"0.537278",
"0.537278",
"0.537278",
"0.537278",
"0.53703034",
"0.5363524",
"0.536159",
"0.5360248",
"0.5360248",
"0.5360248",
"0.5358525",
"0.5348601"
] |
0.75022644
|
0
|
Determines if the createUser has been modified.
|
public boolean isCreateUserModified() {
return createUser_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isUpdateUserModified() {\n return updateUser_is_modified; \n }",
"public boolean isCreateDateModified() {\n return createDate_is_modified; \n }",
"private boolean userMadeChanges() {\n\t\treturn userMadeChanges(null);\n\t}",
"public boolean isCreateUserInitialized() {\n return createUser_is_initialized; \n }",
"@Override\r\n\tpublic boolean updateUser() {\n\t\treturn false;\r\n\t}",
"@Override\n\tpublic boolean modifyUser(Account account) {\n\t\treturn false;\n\t}",
"public boolean isSetCreate_user_priv() {\n return this.__isset.create_user_priv;\n }",
"public String getCreateModifiedBy() {\n return createModifiedBy;\n }",
"public String getCreateModifiedBy() {\n return createModifiedBy;\n }",
"public String getCreateModifiedBy() {\n return createModifiedBy;\n }",
"public void setCreateUser(String newVal) {\n if ((newVal != null && this.createUser != null && (newVal.compareTo(this.createUser) == 0)) || \n (newVal == null && this.createUser == null && createUser_is_initialized)) {\n return; \n } \n this.createUser = newVal; \n\n createUser_is_modified = true; \n createUser_is_initialized = true; \n }",
"public boolean isExistingUser() {\r\n return isExistingUser;\r\n }",
"public boolean isUpdateUserInitialized() {\n return updateUser_is_initialized; \n }",
"@Override\n\tpublic boolean modify(User user) {\n\t\tConnection connection = null;\n\t\tboolean flag = false;\n\t\ttry {\n\t\t\tconnection = BaseDao.getConnection();\n\t\t\tif(userMapper.modify(connection,user) > 0)\n\t\t\t\tflag = true;\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}finally{\n\t\t\tBaseDao.closeResource(connection, null, null);\n\t\t}\n\t\treturn flag;\n\t}",
"public boolean isEditableByUser() {\r\n if ((this.currentStatusChange == null) ||\r\n (this.currentStatusChange.equals(PoStatusCode.PROPOSED)))\r\n return true;\r\n return false;\r\n }",
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate_is_modified;\n }",
"public boolean isIsCreator() {\r\n if (ui.isIsUserAuthenticated() && recipe != null) {\r\n if(recipe.getCreator() == user)\r\n return true;\r\n else\r\n return false;\r\n } else {\r\n return false;\r\n }\r\n }",
"private boolean checkNameExistModify(String userName, Integer id) {\n\n\t\tUser user = this.userDAO.getUserByName(userName);\n\t\tif (null != user && id != user.getUserId()) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn true;\n\t\t}\n\t}",
"public boolean getWasCreated(){\n return wasCreated;\n }",
"public boolean getUpdateExistingUsers( )\n {\n return _bUpdateExistingUsers;\n }",
"public void setCreateModifiedBy(String aCreateModifiedBy) {\n createModifiedBy = aCreateModifiedBy;\n }",
"public void setCreateModifiedBy(String aCreateModifiedBy) {\n createModifiedBy = aCreateModifiedBy;\n }",
"public void setCreateModifiedBy(String aCreateModifiedBy) {\n createModifiedBy = aCreateModifiedBy;\n }",
"@Override\n\tpublic boolean create(User user) {\n\t\treturn false;\n\t}",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"private boolean isEditableRecipe() {\n\t\tUser user = User.getInstance();\n\t\tString userEmail = user.getEmail();\n\t\tString creatorEmail = currentRecipe.getCreatorEmail();\n\t\tif (userEmail.equalsIgnoreCase(creatorEmail)) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"public boolean isSetCreate_priv() {\n return this.__isset.create_priv;\n }",
"public boolean isModifiable() {\n return modifiable.get();\n }",
"public boolean isRegbyidModified() {\n return regbyid_is_modified; \n }",
"public boolean isRolModified()\n\t{\n\t\treturn rolModified;\n\t}",
"public PersonAndOrganization getLastModifyingUser()\r\n\t{\r\n\t\treturn lastModifyingUser;\r\n\t}",
"public boolean wasAddedByUser() {\n return alias.equals(Constants.OPTION_ALIAS_ADDED_BY_USER);\n }",
"@Override\n\tpublic boolean addNewUser() {\n\t\treturn false;\n\t}",
"public Long getUserCreate() {\n return userCreate;\n }",
"public Long getCreateUser() {\r\n return createUser;\r\n }",
"public Long getCreateUser() {\r\n return createUser;\r\n }",
"public final boolean hasModifyDateTime() {\n \treturn m_modifyDate != 0L ? true : false;\n }",
"private boolean isRoleModified(User user) {\n\t\treturn isAdmin != null && !user.getRole().equals(getRole());\n\t}",
"boolean isModified();",
"boolean isModified();",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"public boolean getCreationRights() {\r\n return creationRights;\r\n }",
"protected boolean isUserRecentUpdated() {\r\n\t\tDate lastChangeDate = (Date)userProfile.get(AuthenticationConsts.KEY_LAST_CHANGE_DATE);\r\n\r\n\t\t// Retrieve current user profile from session\r\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\tMap sessionUserProfile = (Map)request.getSession().getAttribute(AuthenticationConsts.USER_PROFILE_KEY);\r\n\r\n\t\tDate lastChangeDateInSession = null;\r\n\t\t// Retrieve user's current timezone offset and last change date\r\n\t\tif (sessionUserProfile != null) {\r\n\t\t\tif (sessionUserProfile.get(AuthenticationConsts.KEY_LAST_CHANGE_DATE) != null) {\r\n\t\t\t\tlastChangeDateInSession = ((Date)sessionUserProfile.get(AuthenticationConsts.KEY_LAST_CHANGE_DATE));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Judge\r\n\t\tif (lastChangeDate == null) {\r\n\t\t\treturn false;\r\n\t\t} else if (lastChangeDateInSession == null) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn lastChangeDate.after(lastChangeDateInSession);\r\n\t\t}\r\n\t}",
"@Override\r\n\tpublic boolean updateUsuario(Usuario user) {\n\t\treturn false;\r\n\t}",
"@Override\n\tpublic boolean doUpdate(SysUser b) throws Exception {\n\t\treturn false;\n\t}",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public boolean isPasswordModified()\n\t{\n\t\treturn passwordModified;\n\t}",
"public boolean saveUser() {\n\t\tDatastoreService datastore = DatastoreServiceFactory\n\t\t\t\t.getDatastoreService();\n\t\tTransaction txn = datastore.beginTransaction();\n\t\tQuery gaeQuery = new Query(\"users\");\n\t\tPreparedQuery pq = datastore.prepare(gaeQuery);\n\t\tList<Entity> list = pq.asList(FetchOptions.Builder.withDefaults());\n\t\tSystem.out.println(\"Size = \" + list.size());\n\t\t\n\t\ttry {\n\t\tEntity employee = new Entity(\"users\", list.size() + 2);\n\n\t\temployee.setProperty(\"name\", this.name);\n\t\temployee.setProperty(\"email\", this.email);\n\t\temployee.setProperty(\"password\", this.password);\n\t\t\n\t\tdatastore.put(employee);\n\t\ttxn.commit();\n\t\treturn true;\n\t\t}catch(Exception e)\n\t\t{\n\t\t\treturn false;\t\t\n\t\t}\n\t\t\n\t\tfinally{\t\t\t\n\t\t\t if (txn.isActive()) {\n\t\t txn.rollback();\n\t\t }\n\t\t\t\n\t\t}\n\t\t\n\n\t}",
"public boolean isRegdateModified() {\n return regdate_is_modified; \n }",
"public Long saveUser(User user, User modifiedBy);",
"public String getCreateUser()\r\n\t{\r\n\t\treturn createUser;\r\n\t}",
"@Override\r\n\tpublic boolean createUser(Utilisateur u) {\n\t\treturn false;\r\n\t}",
"public boolean isSetCreateTime() {\n return this.createTime != null;\n }",
"public boolean isRoomstlogidModified() {\n return roomstlogid_is_modified; \n }",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"public boolean getAllowModifications() {\n return true;\n }",
"public boolean checkUniqueLoginOnUpdate(Object objectOfRole) {\n \tif(objectOfRole instanceof Patient) {\n \t\tPatient patient = (Patient) objectOfRole;\n \t\tOptional<User> updatingUser = userRepository.findById(patient.getUser().getId());\n// If username/login is not change\n \t\tif (updatingUser.get().getUsername().equals(patient.getUser().getUsername())) {\n \t\t\treturn true;\n \t\t} else {\n \t\t\tUser findUser = userRepository.findByUsername(patient.getUser().getUsername());\n \t\t\tif (findUser == null) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t} else if(objectOfRole instanceof Employee) {\n \t\tEmployee employee = (Employee) objectOfRole;\n \t\tOptional<User> updatingUser = userRepository.findById(employee.getUser().getId());\n// If username/login is not change\n \t\tif (updatingUser.get().getUsername().equals(employee.getUser().getUsername())) {\n \t\t\treturn true;\n \t\t} else {\n \t\t\tUser findUser = userRepository.findByUsername(employee.getUser().getUsername());\n \t\t\tif (findUser == null) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t} else if(objectOfRole instanceof Doctor) {\n \t\tDoctor doctor = (Doctor) objectOfRole;\n \t\tOptional<User> updatingUser = userRepository.findById(doctor.getUser().getId());\n// If username/login is not change\n \t\tif (updatingUser.get().getUsername().equals(doctor.getUser().getUsername())) {\n \t\t\treturn true;\n \t\t} else {\n \t\t\tUser findUser = userRepository.findByUsername(doctor.getUser().getUsername());\n \t\t\tif (findUser == null) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t} else if(objectOfRole instanceof Owner) {\n \t\tOwner owner = (Owner) objectOfRole;\n \t\tOptional<User> updatingUser = userRepository.findById(owner.getUser().getId());\n// If username/login is not change\n \t\tif (updatingUser.get().getUsername().equals(owner.getUser().getUsername())) {\n \t\t\treturn true;\n \t\t} else {\n \t\t\tUser findUser = userRepository.findByUsername(owner.getUser().getUsername());\n \t\t\tif (findUser == null) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t} \n return false;\n }",
"public String getCreateUser () {\r\n\t\treturn createUser;\r\n\t}",
"public boolean isUserWorkingCopy() {\r\n boolean result = false;\r\n String sessionUser = getUserName();\r\n if (!StringUtils.isBlank(sessionUser)) {\r\n if (vocabularyFolder != null) {\r\n String workingUser = vocabularyFolder.getWorkingUser();\r\n return vocabularyFolder.isWorkingCopy() && StringUtils.equals(workingUser, sessionUser);\r\n }\r\n }\r\n \r\n return result;\r\n }",
"public boolean isSetCreateTime() {\n return this.createTime != null;\n }",
"public boolean nameRequired(){\n return hasBeenSaved() && users != null && users.size() > 1;\n }",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"@Override\n\tpublic boolean updateUser(Integer Id, User user) {\n\t\treturn false;\n\t}",
"public String getCreateUser() {\r\n\t\treturn createUser;\r\n\t}",
"public String getCreateUser() {\r\n\t\treturn createUser;\r\n\t}",
"public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }",
"@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }",
"@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }",
"public boolean gotUserName(){return gotUserName;}",
"boolean hasObjUser();",
"public long getModifiedByUser();",
"public String getModifyUser() {\n return modifyUser;\n }",
"public String getModifyUser() {\n return modifyUser;\n }",
"public String getModifyUser() {\n return modifyUser;\n }",
"public String getModifyUser() {\n return modifyUser;\n }",
"public String getModifyUser() {\n return modifyUser;\n }",
"public boolean isModified();",
"public boolean isModified();",
"private boolean modifiable() {\n // Only allow un-answered tests/surveys to be modified\n return this.completed.size() == 0;\n }",
"public boolean isLogdateModified() {\n return logdate_is_modified; \n }",
"@WorkflowAction(loggable = false)\n public boolean isModified()\n throws WorkflowException, MappingException, RepositoryException, RemoteException;",
"boolean hasUserId();",
"boolean hasUserId();",
"boolean hasUserId();",
"public boolean isSetCreateTime() {\n\t\treturn this.createTime != null;\n\t}",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean update(User user, String name) {\n\t\treturn false;\n\t}",
"public boolean upadte(User user);",
"boolean shouldModify();",
"boolean hasCreationTime();",
"public boolean save() {\n executeCallbacks(CallbackType.BEFORE_SAVE);\n if (readOnly) throw new ReadOnlyException(getClass().getName() + \" is read only\");\n createOrUpdate();\n executeCallbacks(CallbackType.AFTER_SAVE);\n return true;\n }",
"public boolean isCurrentUserCanChangeAccountStatus() {\r\n return currentUserCanChangeAccountStatus;\r\n }",
"public Boolean updateUserData (User currentUser){ //throws Exception if user not existing in database\n\n if(userRepository.existsById(currentUser.getId())){\n User temp_user = getUserById(currentUser.getId());\n\n temp_user.setUsername(currentUser.getUsername());\n temp_user.setBirthday_date(currentUser.getBirthday_date());\n userRepository.save(temp_user);\n\n return true;\n }else{\n throw new UnknownUserException(\"This user doesn't exist and can therefore not be updated\");\n }\n }",
"@Override\n\tpublic boolean hasChangedPassword() {\n\t\treturn getInnerObject().hasChangedPassword();\n\t}",
"public String getCreateUser() {\r\n return createUser;\r\n }",
"public String getCreateUser() {\r\n return createUser;\r\n }",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"public boolean isSetCreationTime() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);\n }",
"public Integer getModifyUser() {\n return modifyUser;\n }"
] |
[
"0.720603",
"0.6929145",
"0.68615",
"0.64954835",
"0.6468757",
"0.63666797",
"0.6352891",
"0.6327446",
"0.6327446",
"0.6327446",
"0.6298092",
"0.62021416",
"0.6153141",
"0.6048081",
"0.6047535",
"0.60402197",
"0.6012402",
"0.599318",
"0.5973255",
"0.5948921",
"0.5908009",
"0.5908009",
"0.5908009",
"0.58939713",
"0.58712006",
"0.5870811",
"0.58564055",
"0.58521736",
"0.5831527",
"0.58308154",
"0.5827014",
"0.57909024",
"0.5764548",
"0.57544917",
"0.574926",
"0.574926",
"0.57346183",
"0.5728149",
"0.5727266",
"0.5727266",
"0.57228005",
"0.57213396",
"0.571672",
"0.57032543",
"0.569754",
"0.5682326",
"0.5676834",
"0.5673998",
"0.5665307",
"0.5663218",
"0.56601757",
"0.564862",
"0.5645772",
"0.56456405",
"0.5645151",
"0.56314826",
"0.56288654",
"0.56282926",
"0.5623454",
"0.56200737",
"0.56194586",
"0.56110966",
"0.5604744",
"0.5602796",
"0.5602796",
"0.5598809",
"0.5596546",
"0.5596546",
"0.5596023",
"0.5593823",
"0.55848783",
"0.5583124",
"0.5583124",
"0.5583124",
"0.5583124",
"0.5583124",
"0.5580937",
"0.5580937",
"0.55712193",
"0.5570865",
"0.55587345",
"0.555864",
"0.555864",
"0.555864",
"0.5552921",
"0.5550603",
"0.5549661",
"0.5544522",
"0.55385554",
"0.5529544",
"0.5526566",
"0.55227077",
"0.55164784",
"0.5508855",
"0.55077773",
"0.5506709",
"0.5506709",
"0.55063975",
"0.55054057",
"0.550426"
] |
0.874745
|
0
|
Determines if the createUser has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized.
|
public boolean isCreateUserInitialized() {
return createUser_is_initialized;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isCreateDateInitialized() {\n return createDate_is_initialized; \n }",
"public boolean isUpdateUserInitialized() {\n return updateUser_is_initialized; \n }",
"public boolean isSetCreate_user_priv() {\n return this.__isset.create_user_priv;\n }",
"public boolean isSetUser() {\n return this.user != null;\n }",
"public boolean isSetUser() {\n return this.user != null;\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean isSetCreateId() {\n return this.createId != null;\n }",
"public boolean isSetUserName() {\n return this.userName != null;\n }",
"public boolean isSetUserName() {\n return this.userName != null;\n }",
"public boolean hasUser() {\n return userBuilder_ != null || user_ != null;\n }",
"public boolean hasUser() {\n return userBuilder_ != null || user_ != null;\n }",
"public boolean hasUser() {\n return user_ != null;\n }",
"public boolean hasUser() {\n return user_ != null;\n }",
"public boolean isRoomstlogidInitialized() {\n return roomstlogid_is_initialized; \n }",
"public boolean isSetCreatetime() {\n return this.createtime != null;\n }",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"protected boolean acceptUninitializedField(Field f) {\n return false;// by default all property need to be initialized after setup.\n }",
"public boolean hasRegisteredUser() {\n return registeredUserBuilder_ != null || registeredUser_ != null;\n }",
"@Override\r\n\tpublic int checkInit(String name) {\n\t\tint a = -1;\r\n\t\t a = userReposotory.checkInitByName(name);\r\n\t\treturn a;\r\n\t}",
"public boolean hasUser() {\n return user_ != null;\n }",
"public boolean hasObjUser() {\n return objUser_ != null;\n }",
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"public boolean isRoomidInitialized() {\n return roomid_is_initialized; \n }",
"public boolean isSetUsername() {\n\t\treturn this.username != null;\n\t}",
"public boolean isSetCreate_priv() {\n return this.__isset.create_priv;\n }",
"public boolean isRoomstidInitialized() {\n return roomstid_is_initialized; \n }",
"public boolean isSetUserid() {\n return this.userid != null;\n }",
"public boolean isExistingUser() {\r\n return isExistingUser;\r\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_NAME:\n return isSetUserName();\n }\n throw new IllegalStateException();\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_NAME:\n return isSetUserName();\n }\n throw new IllegalStateException();\n }",
"@Override\r\n\tpublic boolean exists( UserFields fields ) {\n\t\treturn false;\r\n\t}",
"public boolean isSetUserInfo() {\n return this.userInfo != null;\n }",
"private boolean checkUserData() {\n UserAccount userAccount = new UserAccount(this);\n customer = userAccount.getCustomer();\n return customer != null;\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"private void checkForUser(){\n if(mUserId != -1){\n return;\n }\n\n if(mPreferences == null) {\n getPrefs();\n }\n\n mUserId = mPreferences.getInt(USER_ID_KEY, -1);\n\n if(mUserId != -1){\n return;\n }\n\n //do we have any users at all?\n List<User> users = mUserDAO.getAllUsers();\n if(users.size() <= 0 ){\n User defaultUser = new User(\"din_djarin\",\"baby_yoda_ftw\");\n mUserDAO.insert(defaultUser);\n }\n }",
"private void initUser() {\n\t}",
"private boolean init() {\n\t\tString sql = \"SELECT v FROM user WHERE k='version'\";\t// TODO right now we are care only about is table exists of not\n //init_required = true;\n\t\tif (!this.r(sql)) {\n\t\t\tsql= \"CREATE TABLE user ( k CHAR(50), v TEXT );\";\n\t\t\tthis.r(sql);\n\t\t\tsql= \"CREATE UNIQUE INDEX kindex on user (k);\";\n\t\t\tthis.r(sql);\n\t\t\tsql= \"INSERT INTO user (k,v) VALUES ('version','1'), ('login',''), ('password',''), ('remember','1');\";\n\t\t\treturn this.r(sql);\n\t\t}\n\t\treturn true;\n\t}",
"public boolean isRegbyidInitialized() {\n return regbyid_is_initialized; \n }",
"public boolean hasUser() {\n return instance.hasUser();\n }",
"public boolean isReservationroomidInitialized() {\n return reservationroomid_is_initialized; \n }",
"boolean hasSignupRequest();",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_ID:\n return isSetUserId();\n }\n throw new IllegalStateException();\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_ID:\n return isSetUserId();\n }\n throw new IllegalStateException();\n }",
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_INFO:\n return isSetUserInfo();\n }\n throw new IllegalStateException();\n }",
"public boolean hasRegisteredUser() {\n return registeredUser_ != null;\n }",
"public boolean isSetCreateTime() {\n return this.createTime != null;\n }",
"public boolean isSetCreateTime() {\n return this.createTime != null;\n }",
"public boolean isSetUserId() {\n return EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetCreateTime() {\n\t\treturn this.createTime != null;\n\t}",
"public boolean nameRequired(){\n return hasBeenSaved() && users != null && users.size() > 1;\n }",
"public boolean wasInitialized()\n {\n return this.isInitialized;\n }",
"public static boolean isInitialized() {\n\t\treturn instance != null;\n\t}",
"public boolean isSetCreated()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(CREATED$0) != 0;\n }\n }",
"public boolean isRegdateInitialized() {\n return regdate_is_initialized; \n }",
"@Test\n public void invalidNullFieldUserCreation() {\n testUser.setUsername(null);\n\n Assertions.assertFalse(this.userDAO.insertNewUser(testUser));\n }",
"public boolean isTypeInitialized() {\n return type_is_initialized; \n }",
"public boolean hasCreated() {\n return fieldSetFlags()[4];\n }",
"public boolean isValid() {\n\t\tif(username == null)\n\t\t\treturn false;\n\t\telse if(createdAt == null)\n\t\t\treturn false;\n\t\telse if(updatedAt == null)\n\t\t\treturn false;\n\t\t\n\t\treturn true;\n\t}",
"boolean isOnlyAssignedInInitializer();",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new java.lang.IllegalArgumentException();\n }\n\n switch (field) {\n case USER_ID:\n return isSetUserId();\n }\n throw new java.lang.IllegalStateException();\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new java.lang.IllegalArgumentException();\n }\n\n switch (field) {\n case USER_ID:\n return isSetUserId();\n }\n throw new java.lang.IllegalStateException();\n }",
"public boolean isSetUserid() {\n return __isset_bit_vector.get(__USERID_ISSET_ID);\n }",
"public boolean isSetUserProfileId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERPROFILEID_ISSET_ID);\n }",
"public boolean isLogdateInitialized() {\n return logdate_is_initialized; \n }",
"public boolean hasUser() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean isInitialSetuped(){\r\n\t\treturn initialSetuped;\r\n\t}",
"@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }",
"@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }",
"public boolean isSetCreatedAt() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CREATEDAT_ISSET_ID);\n }",
"public boolean isInitialized()\n {\n return isInit;\n }",
"public static boolean isInitialized() {\n \treturn sessionFactory != null;\n }",
"public boolean isSetCreationTime() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);\n }",
"public boolean hasUsers() {\n\t\treturn !this.userNames.isEmpty();\n\t}",
"public boolean hasLogin() {\n return loginBuilder_ != null || login_ != null;\n }",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"public boolean hasUser() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean externalFilled() {\n return firstName != null && !firstName.isEmpty()\n || lastName != null && !lastName.isEmpty()\n || email != null && !email.isEmpty();\n }",
"public static boolean isInitialized() {\n return (registry != null) && (endpointProvider != null);\n }",
"static boolean isInitializing()\n\t{\n\t\treturn INITIALIZING.get();\n\t}"
] |
[
"0.6677584",
"0.6629077",
"0.6319722",
"0.62816346",
"0.62816346",
"0.6192408",
"0.6192408",
"0.6192408",
"0.6192408",
"0.6192408",
"0.6175625",
"0.61493397",
"0.61493397",
"0.6067571",
"0.6067571",
"0.60174936",
"0.60174936",
"0.60016435",
"0.5992949",
"0.5961545",
"0.5961545",
"0.5961545",
"0.5961545",
"0.5961545",
"0.5945841",
"0.5941401",
"0.5929073",
"0.5922065",
"0.5919171",
"0.59005564",
"0.5889721",
"0.5888571",
"0.586644",
"0.5862355",
"0.5837563",
"0.5818499",
"0.57727116",
"0.57727116",
"0.5762701",
"0.57572514",
"0.57486904",
"0.57472",
"0.57472",
"0.57472",
"0.57472",
"0.57472",
"0.57472",
"0.57472",
"0.57472",
"0.57472",
"0.57472",
"0.57472",
"0.57447505",
"0.57325315",
"0.57235265",
"0.5720747",
"0.5706371",
"0.57035327",
"0.56971776",
"0.5692053",
"0.5692053",
"0.568121",
"0.568121",
"0.567236",
"0.56594086",
"0.5650101",
"0.56427693",
"0.56412196",
"0.56330013",
"0.56119037",
"0.56114143",
"0.5604596",
"0.55971247",
"0.55917084",
"0.55845183",
"0.55830973",
"0.5572047",
"0.5553563",
"0.5538881",
"0.553217",
"0.55259883",
"0.55259883",
"0.55230576",
"0.5521763",
"0.551331",
"0.5496941",
"0.54941905",
"0.54929125",
"0.54929125",
"0.5492773",
"0.5492383",
"0.5491356",
"0.54830354",
"0.5481493",
"0.5479108",
"0.54733336",
"0.5472141",
"0.54705125",
"0.54597914",
"0.5457617"
] |
0.81547326
|
0
|
Getter method for createDate. Meta Data Information (in progress): full name: MTBTypes.create_date column size: 23 jdbc type returned by the driver: Types.TIMESTAMP
|
public java.util.Date getCreateDate() {
if (createDate == null) {
return null;
}
return (java.util.Date)createDate.clone();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"Date getCreateDate();",
"Date getCreateDate();",
"public Timestamp getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate();",
"public Date getCreateDate();",
"public Date getCreateDate();",
"public Long getCreateDatetime() {\n return createDatetime;\n }",
"public Long getCreateDatetime() {\n return createDatetime;\n }",
"@Basic( optional = true )\r\n\t@Column( name = \"create_date\" )\r\n\tpublic Date getCreateDate() {\r\n\t\treturn this.createDate;\r\n\t\t\r\n\t}",
"public Date getCreateDate() { return this.createDate; }",
"@Override\n\tpublic Date getCreateDate();",
"@Override\n\tpublic Date getCreateDate();",
"public Date getCreateDatetime() {\r\n\t\treturn createDatetime;\r\n\t}",
"public Date getCreate_date() {\n return create_date;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public String getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\r\n return createDate;\r\n }",
"public Date getCreateDate() {\r\n return createDate;\r\n }",
"public String getCreateDate() {\n return createDate;\n }",
"public Date getCreateDt() {\n return createDt;\n }",
"@Override\n\tpublic Date getCreateDate() {\n\t\treturn model.getCreateDate();\n\t}",
"@Override\n\tpublic Date getCreateDate() {\n\t\treturn model.getCreateDate();\n\t}",
"@Override\n\tpublic Date getCreateDate() {\n\t\treturn model.getCreateDate();\n\t}",
"public java.lang.String getCreateDate() {\n java.lang.Object ref = createDate_;\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 createDate_ = s;\n return s;\n }\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public Date getCreateDate() {\n return createDate;\n }",
"public String getCreateDate() {\n return createDate;\n }",
"public String getCreateDate() {\n return createDate;\n }",
"public String getCreateDate() {\r\n\t\treturn createDate;\r\n\t}",
"public Date getCreateDate() {\r\n\t\treturn createDate;\r\n\t}",
"public Date getDATE_CREATED() {\r\n return DATE_CREATED;\r\n }",
"public Date getDATE_CREATED() {\r\n return DATE_CREATED;\r\n }",
"public Date getDATE_CREATED() {\r\n return DATE_CREATED;\r\n }",
"public Date getDateCreated(){return DATE_CREATED;}",
"public Date getCreateDt() {\n\t\treturn this.createDt;\n\t}",
"public Date getCreateDate() {\n\t\treturn createDate;\n\t}",
"public java.util.Date getCreateDate() {\n return this.createDate;\n }",
"public Date getCreateTimestamp() {\r\n return createTimestamp;\r\n }",
"public Date getCREATED_DATE() {\r\n return CREATED_DATE;\r\n }",
"public Date getCreateTimestamp() {\n return createTimestamp;\n }",
"public Date getdCreateDate() {\r\n return dCreateDate;\r\n }",
"public Date getdCreateDate() {\r\n return dCreateDate;\r\n }",
"public java.lang.String getCreateDate() {\n java.lang.Object ref = createDate_;\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 createDate_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"Date getDateCreated();",
"Date getCreatedDate();",
"public Date getCreated ()\n throws ContentObjectException\n {\n try\n {\n final String METHOD_NAME = \"getCreated\";\n this.logDebug(METHOD_NAME + \": 1/2: Started\");\n this.ensureDbHelper();\n ResultSet resultSet =\n this.dbHelper.queryDatum(this.type, this.id, DbColumn.CREATED);\n if ( ! resultSet.next() )\n throw new SQLException\n (this.getIdentification() + \": \" + METHOD_NAME + \": Empty ResultSet\");\n Date created = resultSet.getTimestamp(DbColumn.CREATED);\n this.logDebug(METHOD_NAME + \": 2/2: Done. created = \" + created);\n return created;\n }\n catch (Exception exception)\n {\n throw new ContentObjectException(exception);\n }\n }",
"public Date getDateCreated();",
"public com.google.protobuf.ByteString\n getCreateDateBytes() {\n java.lang.Object ref = createDate_;\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 createDate_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public Date getCreateDate()\r\n/* */ {\r\n/* 158 */ return this.createDate;\r\n/* */ }",
"public com.google.protobuf.ByteString\n getCreateDateBytes() {\n java.lang.Object ref = createDate_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n createDate_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@ZAttr(id=790)\n public Date getCreateTimestamp() {\n return getGeneralizedTimeAttr(Provisioning.A_zimbraCreateTimestamp, null);\n }",
"public Timestamp getCreatedDate() {\n return (Timestamp)getAttributeInternal(CREATEDDATE);\n }",
"@Override\n\tpublic Date getCreateDate() {\n\t\treturn _second.getCreateDate();\n\t}",
"public Date getCreatedDate();",
"Date getCreationDate();",
"@Override\n\tpublic Date getCreateDate() {\n\t\treturn _changesetEntry.getCreateDate();\n\t}",
"public Date getCreate_time() {\n return create_time;\n }",
"public Date getCreate_time() {\n return create_time;\n }",
"@Override\r\n\tpublic Date getCreated_date() {\n\t\treturn super.getCreated_date();\r\n\t}",
"public Timestamp getCreatedDate() {\n return createdDate;\n }",
"@Override\n\tpublic java.util.Date getCreateDate() {\n\t\treturn _dictData.getCreateDate();\n\t}",
"@JsonFormat(pattern=\"yyyyMMddHHmmss\",timezone = \"GMT+8\")\n\tpublic Date getCreateTs() {\n\t\treturn createTs;\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getCreateTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(CREATETIME_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getCreateTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(CREATETIME_PROP.get());\n }",
"public Date getDateCreated()\n {\n return dateCreated;\n }",
"public Long getCreationDate()\r\n\t{\r\n\t\treturn creationDate;\r\n\t}",
"Date getCreationDate()\n throws RemoteException;",
"public Timestamp getCreatedDate() {\n return (Timestamp) getAttributeInternal(CREATEDDATE);\n }",
"public Long getCreatedDate() {\r\n\t\treturn createdDate;\r\n\t}",
"public Date getCreateAt() {\n return createAt;\n }",
"public Date getCreateAt() {\n return createAt;\n }",
"public Date getDateCreated(){\n\t\treturn dateCreated;\n\t}",
"public Date getCreatedate() {\r\n return createdate;\r\n }",
"public Date getCreatedate() {\r\n return createdate;\r\n }",
"public Date getCreationDate();",
"@Override\n public java.util.Date getCreateDate() {\n return _partido.getCreateDate();\n }",
"@DISPID(110)\r\n\t// = 0x6e. The runtime will prefer the VTID if present\r\n\t@VTID(105)\r\n\tjava.util.Date creationDateTime();",
"public Date getCreationDate() {\n\n \n return creationDate;\n\n }",
"public Date getCreatedDate() {\n return (Date) getAttributeInternal(CREATEDDATE);\n }",
"public Date getCreateOn() {\n\t\treturn this.createOn;\r\n\t}"
] |
[
"0.77845645",
"0.77845645",
"0.7766965",
"0.77423966",
"0.77423966",
"0.77423966",
"0.77406394",
"0.77406394",
"0.77044296",
"0.7629025",
"0.75997174",
"0.75997174",
"0.7599008",
"0.75627905",
"0.75621885",
"0.75470173",
"0.7518454",
"0.7518454",
"0.7506396",
"0.74867463",
"0.74832696",
"0.74832696",
"0.74832696",
"0.74825895",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.74766916",
"0.7474276",
"0.7474276",
"0.7459901",
"0.74531966",
"0.74225897",
"0.74225897",
"0.74225897",
"0.74153095",
"0.7400683",
"0.74000984",
"0.7377702",
"0.7371435",
"0.73629797",
"0.7343852",
"0.7334308",
"0.7334308",
"0.733034",
"0.7325081",
"0.7297091",
"0.7253294",
"0.72320354",
"0.7227635",
"0.7222189",
"0.7166517",
"0.7150405",
"0.7140566",
"0.71317226",
"0.7131688",
"0.71291435",
"0.71249086",
"0.7121251",
"0.7121251",
"0.71122676",
"0.7103076",
"0.70998126",
"0.7095587",
"0.70919025",
"0.7090059",
"0.70879775",
"0.70793355",
"0.7063865",
"0.70556843",
"0.7053332",
"0.705168",
"0.705168",
"0.7048669",
"0.7047364",
"0.7047364",
"0.70465124",
"0.7043501",
"0.7040508",
"0.7036404",
"0.70356596",
"0.7029842"
] |
0.71058816
|
79
|
Setter method for createDate. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'.
|
public void setCreateDate(java.util.Date newVal) {
if ((newVal != null && this.createDate != null && (newVal.compareTo(this.createDate) == 0)) ||
(newVal == null && this.createDate == null && createDate_is_initialized)) {
return;
}
try {
this.createDate = (java.util.Date)newVal.clone();
} catch (Exception e) {
// do nothing
}
createDate_is_modified = true;
createDate_is_initialized = true;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setCreated(Date v) \n {\n \n if (!ObjectUtils.equals(this.created, v))\n {\n this.created = v;\n setModified(true);\n }\n \n \n }",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\t_changesetEntry.setCreateDate(createDate);\n\t}",
"public void setCreateDate(Date createDate) { this.createDate = createDate; }",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\t_second.setCreateDate(createDate);\n\t}",
"@Override\n\tpublic void setCreateDate(Date createDate);",
"@Override\n\tpublic void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate)\r\n/* */ {\r\n/* 165 */ this.createDate = createDate;\r\n/* */ }",
"void setCreateDate(Date date);",
"public void setCreatedDate(Date value) {\n this.createdDate = value;\n }",
"public void setCreatedDate(Date value) {\n this.createdDate = value;\n }",
"void setCreatedDate(Date createdDate);",
"public void setDateCreated(Date dateCreated);",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\tmodel.setCreateDate(createDate);\n\t}",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\tmodel.setCreateDate(createDate);\n\t}",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\tmodel.setCreateDate(createDate);\n\t}",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\t_paper.setCreateDate(createDate);\n\t}",
"public void setCreatedDate(Date createdDate);",
"public void setCreateDate(String value) {\n this.createDate = value;\n }",
"void setDateCreated(final Date dateCreated);",
"public void setCreateDate(Date createDate) {\r\n this.createDate = createDate;\r\n }",
"public void setCreateDate(Date createDate) {\r\n this.createDate = createDate;\r\n }",
"public void setCreatedDate(Date value) {\n setAttributeInternal(CREATEDDATE, value);\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public Builder setCreateDate(String value) {\n validate(fields()[2], value);\n this.createDate = value;\n fieldSetFlags()[2] = true;\n return this; \n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"void setCreateDate(final Date creationDate);",
"@Override\n\tpublic void setCreateDate(java.util.Date createDate) {\n\t\t_employee.setCreateDate(createDate);\n\t}",
"public void setCreateDate(long newVal) {\n setCreateDate(new java.util.Date(newVal));\n }",
"public void setCreateDate(Date createDate) {\r\n\t\tthis.createDate = createDate;\r\n\t}",
"@Override\n\tpublic void setCreateDate(java.util.Date createDate) {\n\t\t_candidate.setCreateDate(createDate);\n\t}",
"public Builder setCreateDate(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n createDate_ = value;\n onChanged();\n return this;\n }",
"public void setDateCreate(Date dateCreate) {\n this.dateCreate = dateCreate;\n }",
"public void setCreateDate( Date createDate ) {\n this.createDate = createDate;\n }",
"public void setCreateDate( Date createDate ) {\n this.createDate = createDate;\n }",
"void setCreationDate(Date val)\n throws RemoteException;",
"public void setCreated(java.util.Date value)\r\n {\r\n getSemanticObject().setDateProperty(swb_created, value);\r\n }",
"public void setCreated(java.util.Date value)\r\n {\r\n getSemanticObject().setDateProperty(swb_created, value);\r\n }",
"public void setCreated(java.util.Date value)\r\n {\r\n getSemanticObject().setDateProperty(swb_created, value);\r\n }",
"public void setCreateDt(Date createDt) {\n this.createDt = createDt;\n }",
"@Override\n public void setCreateDate(java.util.Date createDate) {\n _partido.setCreateDate(createDate);\n }",
"@Override\n\tpublic void setCreateDate(java.util.Date createDate) {\n\t\t_esfTournament.setCreateDate(createDate);\n\t}",
"public void setCreated(Date created) {\r\n this.created = created;\r\n }",
"public void setCreated(Date created) {\r\n this.created = created;\r\n }",
"public void setCreationDate(Date creationDate);",
"public void setCreatedDate(Date createdDate) {\r\n this.createdDate = createdDate;\r\n }",
"public void setCreatedDate(Date createdDate) {\r\n this.createdDate = createdDate;\r\n }",
"public void setNotiCreated(Date value) {\r\n setAttributeInternal(NOTICREATED, value);\r\n }",
"public void setCreateModifiedDate(Timestamp aCreateModifiedDate) {\n createModifiedDate = aCreateModifiedDate;\n }",
"public void setCreateModifiedDate(Timestamp aCreateModifiedDate) {\n createModifiedDate = aCreateModifiedDate;\n }",
"public void setCreateModifiedDate(Timestamp aCreateModifiedDate) {\n createModifiedDate = aCreateModifiedDate;\n }",
"public void setCREATED_DATE(Date CREATED_DATE) {\r\n this.CREATED_DATE = CREATED_DATE;\r\n }",
"public void setCreatedate(Date createdate) {\r\n this.createdate = createdate;\r\n }",
"public void setCreatedate(Date createdate) {\r\n this.createdate = createdate;\r\n }",
"public void setCreateDate(Timestamp createDate) {\n this.createDate = createDate;\n }",
"public void setDateCreated(java.util.Calendar param) {\n localDateCreatedTracker = param != null;\n\n this.localDateCreated = param;\n }",
"public void setCreatedDate(Date createDate) {\n\t\tthis.createdDate = createDate;\n\t}",
"public void setCreationDate(Date value)\n {\n setAttributeInternal(CREATIONDATE, value);\n }",
"public void setCreateDate(Date createDate) {\n\t\tthis.createDate = createDate;\n\t}",
"public void setCreatedDate(Date createdDate) {\n this.createdDate = createdDate;\n }",
"public void setCreated(Date created) {\n this.created = created;\n }",
"public void setCreated(Date created) {\n this.created = created;\n }",
"public void setCreated(Date created) {\n this.created = created;\n }",
"public void setCreated(Date created) {\n this.created = created;\n }",
"@Override\n\tpublic void setCreateDate(java.util.Date createDate) {\n\t\t_dictData.setCreateDate(createDate);\n\t}",
"public void setCreateDate(final Date createDate) {\r\n\t\tthis.createDate = createDate;\r\n\t}",
"public void setdCreateDate(Date dCreateDate) {\r\n this.dCreateDate = dCreateDate;\r\n }",
"public void setdCreateDate(Date dCreateDate) {\r\n this.dCreateDate = dCreateDate;\r\n }",
"private void setCreateTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(CREATETIME_PROP.get(), value);\n }",
"public void setCreated(Date created) {\r\n\t\tthis.created = created;\r\n\t}",
"public void setCreated(Date created) {\r\n\t\tthis.created = created;\r\n\t}",
"public void setCreatedate(Date createdate) {\n this.createdate = createdate;\n }",
"public void setCreatedate(Date createdate) {\n this.createdate = createdate;\n }",
"public void setCreatedate(Date createdate) {\n this.createdate = createdate;\n }",
"public void setCreatedate(Date createdate) {\n this.createdate = createdate;\n }",
"public void setToDate(Date toDate)\r\n/* 33: */ {\r\n/* 34:39 */ this.toDate = toDate;\r\n/* 35: */ }",
"public void setCreationDate(\n @Nullable\n final LocalDateTime creationDate) {\n rememberChangedField(\"CreationDate\", this.creationDate);\n this.creationDate = creationDate;\n }"
] |
[
"0.74403185",
"0.7233216",
"0.7217198",
"0.71991074",
"0.7197055",
"0.7197055",
"0.7192496",
"0.7192496",
"0.7192496",
"0.71859306",
"0.7113026",
"0.6990983",
"0.6990983",
"0.69821316",
"0.69772685",
"0.69656855",
"0.69656855",
"0.69656855",
"0.69111735",
"0.6897092",
"0.68960476",
"0.6870824",
"0.6850889",
"0.6850889",
"0.68289125",
"0.6828241",
"0.68074447",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67238975",
"0.67167854",
"0.6715624",
"0.6681694",
"0.6663564",
"0.6654522",
"0.66476244",
"0.66422653",
"0.6638362",
"0.6638362",
"0.6635631",
"0.6633466",
"0.6633466",
"0.6633466",
"0.6620066",
"0.6611769",
"0.6579696",
"0.6567278",
"0.6567278",
"0.6562365",
"0.65560514",
"0.65560514",
"0.6554616",
"0.6551666",
"0.6551666",
"0.6551666",
"0.65200734",
"0.6504824",
"0.6504824",
"0.65018564",
"0.64963794",
"0.6492114",
"0.64901197",
"0.646863",
"0.64590234",
"0.64534384",
"0.64534384",
"0.64534384",
"0.64534384",
"0.6443871",
"0.6434765",
"0.64248055",
"0.64248055",
"0.6419277",
"0.64173466",
"0.64173466",
"0.6406495",
"0.6406495",
"0.6406495",
"0.6406495",
"0.6397975",
"0.6390725"
] |
0.7986866
|
0
|
Setter method for createDate. Convenient for those who do not want to deal with Objects for primary types.
|
public void setCreateDate(long newVal) {
setCreateDate(new java.util.Date(newVal));
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate);",
"void setCreateDate(Date date);",
"public void setCreateDate(Date createDate) { this.createDate = createDate; }",
"@Override\n\tpublic void setCreateDate(Date createDate);",
"@Override\n\tpublic void setCreateDate(Date createDate);",
"public void setCreateDate(String value) {\n this.createDate = value;\n }",
"public void setCreateDate(Date createDate)\r\n/* */ {\r\n/* 165 */ this.createDate = createDate;\r\n/* */ }",
"public void setCreatedDate(Date value) {\n this.createdDate = value;\n }",
"public void setCreatedDate(Date value) {\n this.createdDate = value;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public Builder setCreateDate(String value) {\n validate(fields()[2], value);\n this.createDate = value;\n fieldSetFlags()[2] = true;\n return this; \n }",
"public void setCreateDate(Date createDate) {\r\n this.createDate = createDate;\r\n }",
"public void setCreateDate(Date createDate) {\r\n this.createDate = createDate;\r\n }",
"public void setDateCreated(Date dateCreated);",
"public void setCreatedDate(Date createdDate);",
"void setCreatedDate(Date createdDate);",
"public void setCreateDate(java.util.Date newVal) {\n if ((newVal != null && this.createDate != null && (newVal.compareTo(this.createDate) == 0)) || \n (newVal == null && this.createDate == null && createDate_is_initialized)) {\n return; \n } \n try {\n this.createDate = (java.util.Date)newVal.clone();\n } catch (Exception e) {\n // do nothing\n }\n\n createDate_is_modified = true; \n createDate_is_initialized = true; \n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(Date createDate) {\n this.createDate = createDate;\n }",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\tmodel.setCreateDate(createDate);\n\t}",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\tmodel.setCreateDate(createDate);\n\t}",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\tmodel.setCreateDate(createDate);\n\t}",
"public void setCreateDate( Date createDate ) {\n this.createDate = createDate;\n }",
"public void setCreateDate( Date createDate ) {\n this.createDate = createDate;\n }",
"public void setDateCreate(Date dateCreate) {\n this.dateCreate = dateCreate;\n }",
"public void setCreateDate(Date createDate) {\r\n\t\tthis.createDate = createDate;\r\n\t}",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\t_paper.setCreateDate(createDate);\n\t}",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\t_changesetEntry.setCreateDate(createDate);\n\t}",
"void setCreateDate(final Date creationDate);",
"public void setCreateDt(Date createDt) {\n this.createDt = createDt;\n }",
"@Override\n public void setCreateDate(java.util.Date createDate) {\n _partido.setCreateDate(createDate);\n }",
"void setCreationDate(Date val)\n throws RemoteException;",
"public void setCreatedDate(Date value) {\n setAttributeInternal(CREATEDDATE, value);\n }",
"public void setdCreateDate(Date dCreateDate) {\r\n this.dCreateDate = dCreateDate;\r\n }",
"public void setdCreateDate(Date dCreateDate) {\r\n this.dCreateDate = dCreateDate;\r\n }",
"@Override\n\tpublic void setCreateDate(Date createDate) {\n\t\t_second.setCreateDate(createDate);\n\t}",
"public Builder setCreateDate(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n createDate_ = value;\n onChanged();\n return this;\n }",
"void setDateCreated(final Date dateCreated);",
"public void setCreateDate(Date createDate) {\n\t\tthis.createDate = createDate;\n\t}",
"@Override\n\tpublic void setCreateDate(java.util.Date createDate) {\n\t\t_employee.setCreateDate(createDate);\n\t}",
"public void setCreationDate(Date creationDate);",
"public Date getCreateDate() { return this.createDate; }",
"public void setCreateDate(final Date createDate) {\r\n\t\tthis.createDate = createDate;\r\n\t}",
"public void setCreatedDate(Date createDate) {\n\t\tthis.createdDate = createDate;\n\t}",
"public void setCreateDate(String createDate) {\n this.createDate = createDate;\n }",
"public void setCreateDate(String createDate) {\n this.createDate = createDate;\n }",
"@Override\n\tpublic void setCreateDate(java.util.Date createDate) {\n\t\t_dictData.setCreateDate(createDate);\n\t}",
"public void setCreateDate(Timestamp createDate) {\n this.createDate = createDate;\n }",
"public void setCreatedate(Date createdate) {\r\n this.createdate = createdate;\r\n }",
"public void setCreatedate(Date createdate) {\r\n this.createdate = createdate;\r\n }",
"@Override\n\tpublic Date getCreateDate();",
"@Override\n\tpublic Date getCreateDate();",
"public void setCreateDate(String createDate) {\r\n\t\tthis.createDate = createDate;\r\n\t}",
"@Override\n\tpublic void setCreateDate(java.util.Date createDate) {\n\t\t_esfTournament.setCreateDate(createDate);\n\t}",
"public void setCreationDate(Date value)\n {\n setAttributeInternal(CREATIONDATE, value);\n }",
"public void setCreateDate(java.util.Date createDate) {\n this.createDate = createDate;\n }",
"public void setCreated(Date v) \n {\n \n if (!ObjectUtils.equals(this.created, v))\n {\n this.created = v;\n setModified(true);\n }\n \n \n }",
"public void setCreatedDate(Date createdDate) {\r\n this.createdDate = createdDate;\r\n }",
"public void setCreatedDate(Date createdDate) {\r\n this.createdDate = createdDate;\r\n }",
"public void setCreateDt(Date createDt) {\n\t\tthis.createDt = createDt;\n\t}",
"public void setCreatedate(Date createdate) {\n this.createdate = createdate;\n }",
"public void setCreatedate(Date createdate) {\n this.createdate = createdate;\n }",
"public void setCreatedate(Date createdate) {\n this.createdate = createdate;\n }",
"public void setCreatedate(Date createdate) {\n this.createdate = createdate;\n }",
"public void setCreationDate(Date creationDate) {\n }",
"public void setCreate_date(Date create_date) {\n this.create_date = create_date;\n }",
"public Date getCreateDate() {\r\n return createDate;\r\n }",
"public Date getCreateDate() {\r\n return createDate;\r\n }",
"public void setCreatedDate(Date createdDate) {\n this.createdDate = createdDate;\n }",
"public void setCreatorDate(Date creatorDate) {\n this.creatorDate = creatorDate;\n }",
"public Date getCreateDate() {\r\n\t\treturn createDate;\r\n\t}",
"@Override\n\tpublic void setCreateDate(java.util.Date createDate) {\n\t\t_scienceApp.setCreateDate(createDate);\n\t}",
"public void setCreationDate(Date value) {\n setAttributeInternal(CREATIONDATE, value);\n }",
"public void setCreationDate(Date value) {\n setAttributeInternal(CREATIONDATE, value);\n }",
"public void setCreationDate(Date value) {\n setAttributeInternal(CREATIONDATE, value);\n }",
"public void setCreationDate(Date value) {\n setAttributeInternal(CREATIONDATE, value);\n }",
"public void setCreationDate(Date value) {\n setAttributeInternal(CREATIONDATE, value);\n }",
"public void setCreationDate(Date value) {\n setAttributeInternal(CREATIONDATE, value);\n }"
] |
[
"0.8093258",
"0.8093258",
"0.8093258",
"0.80821174",
"0.80674404",
"0.80099934",
"0.80099934",
"0.7945781",
"0.7805254",
"0.7684587",
"0.7684587",
"0.767761",
"0.76690906",
"0.76624745",
"0.76624745",
"0.760215",
"0.7576204",
"0.75741714",
"0.75571775",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.75415343",
"0.7522285",
"0.7522285",
"0.7522285",
"0.7484457",
"0.7484457",
"0.7463085",
"0.74569786",
"0.7400183",
"0.73913926",
"0.73863775",
"0.7355511",
"0.7354708",
"0.73537934",
"0.73468214",
"0.7346512",
"0.7346512",
"0.73064464",
"0.7290572",
"0.72868836",
"0.72671837",
"0.7263684",
"0.7263396",
"0.7256317",
"0.72334206",
"0.72092235",
"0.71987665",
"0.71987665",
"0.7192185",
"0.7174797",
"0.7161114",
"0.7161114",
"0.7159683",
"0.7159683",
"0.71580184",
"0.71404463",
"0.7127296",
"0.71142226",
"0.7092752",
"0.7087623",
"0.7087623",
"0.7075525",
"0.70717084",
"0.70717084",
"0.70717084",
"0.70717084",
"0.7059365",
"0.7040807",
"0.70250595",
"0.70250595",
"0.7001197",
"0.6987621",
"0.69859624",
"0.69821984",
"0.69641656",
"0.69641656",
"0.69641656",
"0.69641656",
"0.69641656",
"0.69641656"
] |
0.72112113
|
65
|
Determines if the createDate has been modified.
|
public boolean isCreateDateModified() {
return createDate_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isLogdateModified() {\n return logdate_is_modified; \n }",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public final boolean hasModifyDateTime() {\n \treturn m_modifyDate != 0L ? true : false;\n }",
"public boolean isStatusdateModified() {\n return statusdate_is_modified; \n }",
"public boolean isCreateUserModified() {\n return createUser_is_modified; \n }",
"public boolean isRegdateModified() {\n return regdate_is_modified; \n }",
"public boolean hasCreateDate() {\n return fieldSetFlags()[2];\n }",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"public Timestamp getCreateModifiedDate() {\n return createModifiedDate;\n }",
"public Timestamp getCreateModifiedDate() {\n return createModifiedDate;\n }",
"public Timestamp getCreateModifiedDate() {\n return createModifiedDate;\n }",
"public boolean canHaveAsModificationTime(Date date) {\r\n return (date == null) ||\r\n ( (date.getTime() >= getCreationTime().getTime()) &&\r\n (date.getTime() <= System.currentTimeMillis()) );\r\n }",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"public final boolean hasChangeDateTime() {\n \treturn m_changeDate != 0L ? true : false;\n }",
"boolean hasCreationTime();",
"public boolean hasLastModifiedAt() {\n return lastModifiedAtBuilder_ != null || lastModifiedAt_ != null;\n }",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate_is_modified;\n }",
"@java.lang.Override\n public boolean hasLastModifiedAt() {\n return lastModifiedAt_ != null;\n }",
"public Date getDateModifed(){return dateModified;}",
"public boolean getWasCreated(){\n return wasCreated;\n }",
"public Date getDateModified();",
"public boolean hasLASTMODIFIEDDT() {\n return fieldSetFlags()[2];\n }",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }",
"@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"public Date getModifiedDate();",
"public Date getModifiedDate();",
"public Date getModifiedDate();",
"public boolean isSetCreateTime() {\n return this.createTime != null;\n }",
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"boolean hasCreatedAt();",
"public boolean isSetCreateTime() {\n return this.createTime != null;\n }",
"boolean isModified();",
"boolean isModified();",
"public boolean isSetCreateTime() {\n\t\treturn this.createTime != null;\n\t}",
"public Date getDATE_MODIFIED() {\r\n return DATE_MODIFIED;\r\n }",
"public Date getDATE_MODIFIED() {\r\n return DATE_MODIFIED;\r\n }",
"public Date getDATE_MODIFIED() {\r\n return DATE_MODIFIED;\r\n }",
"public boolean setModifiedDate(String date)\r\n \t{\r\n lastModified = date;\r\n return true;\r\n }",
"public void setCreateModifiedDate(Timestamp aCreateModifiedDate) {\n createModifiedDate = aCreateModifiedDate;\n }",
"public void setCreateModifiedDate(Timestamp aCreateModifiedDate) {\n createModifiedDate = aCreateModifiedDate;\n }",
"public void setCreateModifiedDate(Timestamp aCreateModifiedDate) {\n createModifiedDate = aCreateModifiedDate;\n }",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isSetCreatetime() {\n return this.createtime != null;\n }",
"@java.lang.Override\n public boolean hasCreationDate() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public Date getModifieddate() {\n return modifieddate;\n }",
"public Date getModifiedDate() {\r\n return modifiedDate;\r\n }",
"public Date getModifiedDate() {\r\n return modifiedDate;\r\n }",
"@java.lang.Override\n public boolean hasCreationDate() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public boolean isModified();",
"public boolean isModified();",
"public boolean hasCreationTime() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public Date getMODIFIED_DATE() {\r\n return MODIFIED_DATE;\r\n }",
"public boolean hasCreationTime() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public Date getModifiedDate() {\n return modifiedDate;\n }",
"public boolean isSetLastmodifyTimestamp() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMP_ISSET_ID);\n }",
"public java.util.Date getDateModified(){\r\n\t\treturn dateModified;\r\n\t}",
"private boolean isModified( File file ) {\r\n\t\tString dateFromClient = request.getHeaderFields().get( HeaderFields.IF_MODIFIED_SINCE );\r\n\t\tif ( dateFromClient == null )\r\n\t\t\treturn true;\r\n\t\t// Remove last three significant digits, because convert date from\r\n\t\t// String to long lose last three significant digits.\r\n\t\tlong lastModified = ( file.lastModified() / 1000L ) * 1000L;\r\n\t\ttry {\r\n\t\t\tDate clientDate = ( Date ) Utils.DATE_FORMATE.parse( dateFromClient );\r\n\t\t\treturn lastModified > clientDate.getTime();\r\n\t\t} catch ( Exception e ) {\r\n\t\t\t// If there is exception, assume file is modified\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"public final boolean isModified() {\n return this.modified;\n }",
"public Date getModified() {\r\n\t\treturn modified;\r\n\t}",
"boolean isOssModified();",
"public boolean isSetCreationTime() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);\n }",
"Date getModifyDate();",
"boolean hasInodeLastModificationTime();",
"public boolean hasCreated() {\n return fieldSetFlags()[4];\n }",
"public boolean getADateChanged() {\r\n return !OpbComparisonHelper.isEqual(\r\n aDate, aDateDataSourceValue);\r\n }",
"public void setDateModified(Date dateModified);",
"public Date getModificationTime()\n {\n return modified;\n }",
"boolean isModified(SynchronizationRequest request)\n throws IOException {\n\n long modifiedTime = 0;\n\n if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_NONE) {\n return true;\n } else if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_MODIFICATION_TIME) {\n modifiedTime = request.getFile().lastModified();\n } else if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_MODIFIED_SINCE) { \n return true;\n } else if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_FILE) {\n BufferedReader is = null;\n\n try {\n is = new BufferedReader(\n new FileReader(request.getTimestampFile()));\n modifiedTime = Long.parseLong(is.readLine());\n\n is.close();\n\n is = null;\n } finally {\n if (is != null) {\n try {\n is.close();\n } catch (Exception ex) {\n //ignore\n }\n }\n }\n } else {\n assert false;\n }\n\n assert (request.getTimestamp() <= modifiedTime);\n if (request.getTimestamp() < modifiedTime) {\n request.setTimestamp(modifiedTime);\n return true;\n } else {\n return false;\n }\n }",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"public boolean isSetCreateTime() {\n return __isset_bit_vector.get(__CREATETIME_ISSET_ID);\n }",
"public boolean isSetCreateTimestamp() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATETIMESTAMP_ISSET_ID);\n }",
"public Date getModifiedDate() {\n return this.modifiedDate;\n }",
"public Date getModifiedDate() {\n return this.modifiedDate;\n }",
"public boolean isSetCreatedAt() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CREATEDAT_ISSET_ID);\n }",
"public boolean isModified() {\n return isModified;\n }",
"public Date getModifyDate() {\n return modifyDate;\n }",
"public Date getModifyDate() {\n return modifyDate;\n }",
"public Date getModifyDate() {\n return modifyDate;\n }",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isModified()\n\t{\n\t\treturn isModified;\n\t}",
"public boolean isStModified() {\n return st_is_modified; \n }",
"@WorkflowAction(loggable = false)\n public boolean isModified()\n throws WorkflowException, MappingException, RepositoryException, RemoteException;",
"public String getCreateModifiedBy() {\n return createModifiedBy;\n }",
"public String getCreateModifiedBy() {\n return createModifiedBy;\n }",
"public String getCreateModifiedBy() {\n return createModifiedBy;\n }",
"public boolean hasCreatedAt() {\n return createdAt_ != null;\n }",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"public boolean hasCreateTime() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }"
] |
[
"0.7403401",
"0.7380076",
"0.7348826",
"0.7328373",
"0.73106354",
"0.70937836",
"0.69806826",
"0.69773406",
"0.696391",
"0.696391",
"0.696391",
"0.6855557",
"0.68090117",
"0.67721504",
"0.6716479",
"0.6686262",
"0.6682932",
"0.6639267",
"0.6633805",
"0.66314363",
"0.66262084",
"0.66042703",
"0.65885246",
"0.65439105",
"0.65412325",
"0.65412325",
"0.6539851",
"0.6539851",
"0.6539851",
"0.6539851",
"0.6539851",
"0.6539851",
"0.6511451",
"0.6511451",
"0.6511451",
"0.64810663",
"0.64239836",
"0.64239836",
"0.6414098",
"0.6411018",
"0.6390882",
"0.6390882",
"0.63565916",
"0.63221925",
"0.63221925",
"0.63221925",
"0.6313885",
"0.6311464",
"0.6311464",
"0.6311464",
"0.62958133",
"0.62868905",
"0.6285958",
"0.62695235",
"0.62654287",
"0.6264703",
"0.6258866",
"0.6258866",
"0.6246503",
"0.62462074",
"0.62462074",
"0.6224116",
"0.6217809",
"0.6216796",
"0.6208603",
"0.6200082",
"0.61813956",
"0.6178898",
"0.61781764",
"0.61728",
"0.61649954",
"0.6163134",
"0.6157762",
"0.6154987",
"0.61540395",
"0.61287403",
"0.6116475",
"0.61094564",
"0.6103697",
"0.61028385",
"0.61011136",
"0.6079511",
"0.60730475",
"0.60730475",
"0.6066638",
"0.60641843",
"0.6057867",
"0.6057867",
"0.6057867",
"0.6057659",
"0.6057659",
"0.605463",
"0.6036469",
"0.60356563",
"0.60268116",
"0.60268116",
"0.60268116",
"0.6025842",
"0.60114115",
"0.600131"
] |
0.8730466
|
0
|
Determines if the createDate has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized.
|
public boolean isCreateDateInitialized() {
return createDate_is_initialized;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"public boolean isSetCreatetime() {\n return this.createtime != null;\n }",
"public boolean hasCreateDate() {\n return fieldSetFlags()[2];\n }",
"public boolean isLogdateInitialized() {\n return logdate_is_initialized; \n }",
"public boolean isUpdateDateInitialized() {\n return updateDate_is_initialized; \n }",
"public boolean isSetCreatedAt() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CREATEDAT_ISSET_ID);\n }",
"public boolean isSetCreateTime() {\n return this.createTime != null;\n }",
"@java.lang.Override\n public boolean hasCreationDate() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public boolean isSetCreateTime() {\n return this.createTime != null;\n }",
"@java.lang.Override\n public boolean hasCreationDate() {\n return ((bitField0_ & 0x00000002) != 0);\n }",
"public boolean isSetCreateTime() {\n\t\treturn this.createTime != null;\n\t}",
"public boolean hasCreated() {\n return fieldSetFlags()[4];\n }",
"public boolean isStatusdateInitialized() {\n return statusdate_is_initialized; \n }",
"public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }",
"public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }",
"public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }",
"@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }",
"@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }",
"public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }",
"public boolean isRegdateInitialized() {\n return regdate_is_initialized; \n }",
"public boolean isSetCreationTime() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);\n }",
"@java.lang.Override\n public boolean hasCreatedAt() {\n return createdAt_ != null;\n }",
"@java.lang.Override\n public boolean hasCreatedAt() {\n return createdAt_ != null;\n }",
"public boolean hasCreatedAt() {\n return createdAt_ != null;\n }",
"public boolean hasCreatedAt() {\n return createdAt_ != null;\n }",
"public boolean isSetCreated()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(CREATED$0) != 0;\n }\n }",
"public boolean isSetCreateTimestamp() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATETIMESTAMP_ISSET_ID);\n }",
"public boolean isSetCreateTime() {\n return __isset_bit_vector.get(__CREATETIME_ISSET_ID);\n }",
"public boolean isSetRelease_date() {\r\n return this.release_date != null;\r\n }",
"public boolean isSetRelease_date() {\n return this.release_date != null;\n }",
"public boolean isSetCreateId() {\n return this.createId != null;\n }",
"public boolean isCreateUserInitialized() {\n return createUser_is_initialized; \n }",
"public boolean isSetDate() {\n return EncodingUtils.testBit(__isset_bitfield, __DATE_ISSET_ID);\n }",
"public boolean hasDate() {\n return fieldSetFlags()[5];\n }",
"public boolean isSetBirthTime()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(BIRTHTIME$12) != 0;\n }\n }",
"public boolean isSetPublish_date() {\n return this.publish_date != null;\n }",
"public boolean isSetInsertDate() {\n return this.insertDate != null;\n }",
"public boolean isSetRequestDate() {\n return this.RequestDate != null;\n }",
"public boolean isCreated() {\n\t\treturn this.viewer != null;\n\t}",
"public boolean hasCreationTime() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"boolean isSetDate();",
"public boolean hasCreationTime() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"boolean isSetFoundingDate();",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetCreateTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATETIMESTAMPMS_ISSET_ID);\n }",
"public boolean isSetCreateTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATETIMESTAMPMS_ISSET_ID);\n }",
"public boolean hasDate() {\n return true;\n }",
"public boolean isSetExam_date() {\n return this.exam_date != null;\n }",
"public static boolean isValidCreationTime(Date date) {\r\n \treturn \t(date!=null) &&\r\n \t\t\t(date.getTime()<=System.currentTimeMillis());\r\n }",
"public boolean hasDate() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean isSetStartTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(STARTTIME$22) != null;\r\n }\r\n }",
"boolean hasCreatedAt();",
"public boolean hasDate() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"@PrePersist\n\tprivate void setDateCreation() {\n\t\tthis.dateCreation = ZonedDateTime.now();\n\n\t}",
"public boolean isSetStartTime() {\n return this.startTime != null;\n }",
"public boolean isSetReportDate() {\n return this.reportDate != null;\n }",
"public boolean isSetStartTime() {\n return this.startTime != null;\n }",
"@Test\n public void testSetDateCreatedNull() {\n System.out.println(\"setDateCreated Test (Null value)\");\n Date dateCreated = null;\n user.setDateCreated(dateCreated);\n // Check for and print any violations of validation annotations\n Set<ConstraintViolation<User>> violations = validator.validate(user);\n String message =\n violations.iterator().hasNext() ? violations.iterator().next().getMessage() : \"\";\n if (!violations.isEmpty()) {\n System.out.println(\"Violation caught: \" + message);\n }\n // Test method\n assertFalse(violations.isEmpty());\n }",
"public boolean isSetTransactionPostedDate() {\r\n return transactionPostedDate != null;\r\n }",
"public boolean isSetDateSec() {\n return EncodingUtils.testBit(__isset_bitfield, __DATESEC_ISSET_ID);\n }",
"boolean hasStartDate();",
"public boolean hasBeginDate() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"public boolean checkDate() {\n\t\tboolean cd = checkDate(this.year, this.month, this.day, this.hour);\n\t\treturn cd;\n\t}",
"public boolean isSetBirth() {\n\t\treturn this.birth != null;\n\t}",
"public boolean hasBeginDate() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"public boolean isEmpty() {\n return this.dateWrapper.isEmpty();\n }",
"public boolean wasInitialized()\n {\n return this.isInitialized;\n }",
"public boolean getWasCreated(){\n return wasCreated;\n }",
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"public boolean hasBegDate() {\n return fieldSetFlags()[1];\n }",
"protected boolean acceptUninitializedField(Field f) {\n return false;// by default all property need to be initialized after setup.\n }",
"public boolean isSetDay()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(DAY$0) != 0;\n }\n }",
"public boolean isInit() {\r\n\t\treturn isInit;\r\n\t}",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"public boolean getFromDayNull() {\n return fromDayNull_;\n }",
"public void setDateFilled() {\n\t\tthis.dateFilled = new Date();\n\t\tSystem.out.println(\"DF \" + dateFilled);\n\t}",
"private boolean assessmentInitialized(PublishedAssessmentFacade publishedAssessment) {\n\t\tif (publishedAssessment == null) {\n\t\t\treturn false;\n\t\t}\n\t\tif (publishedAssessment.getStartDate() != null) {\n\t\t\treturn true;\n\t\t}\n\t\tif (publishedAssessment.getDueDate() != null) {\n\t\t\treturn true;\n\t\t}\n\t\tif (publishedAssessment.getRetractDate() != null) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn publishedAssessment.getTimeLimit() != null;\n\t}",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"public final void testNoDate() {\n testTransaction1.setDate(null);\n assertFalse(testTransaction1.isValidTransaction());\n }",
"public boolean isSetInsertTime() {\n return this.insertTime != null;\n }",
"static boolean isInitializing()\n\t{\n\t\treturn INITIALIZING.get();\n\t}",
"public boolean isRoomstlogidInitialized() {\n return roomstlogid_is_initialized; \n }",
"boolean hasDate();",
"public boolean isSetCreate_priv() {\n return this.__isset.create_priv;\n }",
"public boolean isSetBirthPlace() {\n\t\treturn this.birthPlace != null;\n\t}",
"public boolean isSetTime()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(TIME$2) != 0;\n }\n }",
"public boolean getFromDayNull() {\n return fromDayNull_;\n }",
"public boolean isSetBirthplace()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(BIRTHPLACE$24) != 0;\n }\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case PROCESS_NAME:\n return isSetProcessName();\n case PROCESS_COUNT:\n return isSetProcessCount();\n case U_ID:\n return isSetUId();\n case SLEEPING:\n return isSetSleeping();\n case FOREGROUND:\n return isSetForeground();\n case FOREGROUND_TIME:\n return isSetForegroundTime();\n case LAUNCH_COUNT:\n return isSetLaunchCount();\n case IMPORTANCE:\n return isSetImportance();\n case CRASH_COUNT:\n return isSetCrashCount();\n case LAST_START_SINCE_BOOT:\n return isSetLastStartSinceBoot();\n case LAST_START_TIMESTAMP:\n return isSetLastStartTimestamp();\n }\n throw new IllegalStateException();\n }",
"public void setCreateDate(Date createDate) { this.createDate = createDate; }",
"boolean hasBeginDate();",
"boolean hasCreationTime();",
"public boolean isReservationroomidInitialized() {\n return reservationroomid_is_initialized; \n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case DATE_SEC:\n return isSetDateSec();\n case TRADE_ACCOUNT_ID:\n return isSetTradeAccountId();\n case SLED_CONTRACT_ID:\n return isSetSledContractId();\n case START_DATE_TIMESTAMP_MS:\n return isSetStartDateTimestampMs();\n case END_DATE_TIMESTAMP_MS:\n return isSetEndDateTimestampMs();\n }\n throw new IllegalStateException();\n }",
"@Basic( optional = true )\r\n\t@Column( name = \"create_date\" )\r\n\tpublic Date getCreateDate() {\r\n\t\treturn this.createDate;\r\n\t\t\r\n\t}",
"public boolean isInitialized()\n {\n return isInit;\n }",
"public boolean hasDay() {\n return dayBuilder_ != null || day_ != null;\n }",
"public static boolean isInitialized() {\n\t\treturn instance != null;\n\t}"
] |
[
"0.7568573",
"0.7568573",
"0.71550035",
"0.71246034",
"0.69207597",
"0.69141275",
"0.6875844",
"0.67546463",
"0.6710264",
"0.66961265",
"0.66935915",
"0.66773933",
"0.66591626",
"0.66247994",
"0.660483",
"0.660483",
"0.660483",
"0.65935105",
"0.65935105",
"0.6551024",
"0.6527982",
"0.6519425",
"0.651774",
"0.651774",
"0.6516927",
"0.64940214",
"0.64851916",
"0.64381236",
"0.6320326",
"0.6285786",
"0.62828475",
"0.6253306",
"0.62454444",
"0.61461025",
"0.60951656",
"0.6060231",
"0.6039883",
"0.60176885",
"0.6001757",
"0.5985405",
"0.59729415",
"0.596119",
"0.59598583",
"0.59575325",
"0.59508675",
"0.59508675",
"0.5936843",
"0.5936843",
"0.5924221",
"0.58436495",
"0.5821569",
"0.58058816",
"0.57948494",
"0.5780454",
"0.5767448",
"0.57226753",
"0.57215285",
"0.5714413",
"0.57100475",
"0.57034695",
"0.56967777",
"0.5686258",
"0.56782854",
"0.56671804",
"0.5661275",
"0.5638767",
"0.56382155",
"0.5618428",
"0.56179005",
"0.5615741",
"0.5595642",
"0.5590591",
"0.55800515",
"0.5571814",
"0.5566647",
"0.5563943",
"0.55395794",
"0.5538946",
"0.55033237",
"0.55020726",
"0.5498031",
"0.54947925",
"0.5493659",
"0.5491869",
"0.54867613",
"0.54849344",
"0.5476785",
"0.54737455",
"0.5472431",
"0.546528",
"0.54485035",
"0.5441718",
"0.54412466",
"0.5436835",
"0.54351705",
"0.541914",
"0.5413226",
"0.5409587",
"0.5399767",
"0.5392658"
] |
0.82787323
|
0
|
Getter method for updateUser. Meta Data Information (in progress): full name: MTBTypes.update_user column size: 50 jdbc type returned by the driver: Types.VARCHAR
|
public String getUpdateUser() {
return updateUser;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public static void update_TbUser() {\n builder = new Uri.Builder();\n builder.appendQueryParameter(\"username\", Server.owner.get_username());\n builder.appendQueryParameter(\"email\", Server.owner.get_Email());\n builder.appendQueryParameter(\"birthday\", Server.owner.get_Birthday().toString());\n builder.appendQueryParameter(\"gender\", Server.owner.get_gender() ? \"1\" : \"0\");\n builder.appendQueryParameter(\"phone\", Server.owner.get_Phone());\n builder.appendQueryParameter(\"image_source\", Server.owner.get_imageSource());\n builder.appendQueryParameter(\"conversations\", Server.owner.get_AllConversation());\n\n String url = Constant.M_HOST + Constant.M_UPDATE_USER_WITHOUT_PASS;\n String a = uService.execute(builder, url);\n }",
"@Update({\n \"update user_t\",\n \"set user_name = #{userName,jdbcType=VARCHAR},\",\n \"password = #{password,jdbcType=VARCHAR},\",\n \"age = #{age,jdbcType=INTEGER},\",\n \"ver = #{ver,jdbcType=INTEGER}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(User record);",
"@Override\n\tpublic String updateUser(String user) {\nreturn null;\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.User getUpdateUser() {\n return (entity.User)__getInternalInterface().getFieldValue(UPDATEUSER_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.User getUpdateUser() {\n return (entity.User)__getInternalInterface().getFieldValue(UPDATEUSER_PROP.get());\n }",
"@Update({\n \"update tb_user\",\n \"set password = #{password,jdbcType=VARCHAR}\",\n \"where username = #{username,jdbcType=VARCHAR}\"\n })\n int updateByPrimaryKey(User record);",
"@Override\r\n\tpublic int updateUser(User user, String userName) {\n\t\treturn 0;\r\n\t}",
"public String updateUser(){\n\t\tusersservice.update(usersId, username, password, department, role, post, positionId);\n\t\treturn \"Success\";\n\t}",
"@Override\n\tpublic void updateUser(user theUser) {\n\t}",
"@Override\n\tpublic void updateUser(User pUser) {\n\t\t\n\t}",
"@Override\n\tpublic boolean updateUser(User user) {\n\t\tString sql=\"update users set uname=?,upassword=?,type=? where id=?\";\n\t\tList<Object> params=new ArrayList<Object>();//泛型\n\t\tparams.add(user.getUname());\n\t\tparams.add(user.getUpassword());\n\t\tparams.add(user.getType());\n\t\tparams.add(user.getId());\n\t\treturn this.MysqlUpdate(sql, params);\n\t}",
"public void updateUser(int uid, String name, String phone, String email, String password, int money, int credit);",
"@Update({\r\n \"update umajin.user_master\",\r\n \"set nickname = #{nickname,jdbcType=VARCHAR},\",\r\n \"sex = #{sex,jdbcType=INTEGER},\",\r\n \"age = #{age,jdbcType=INTEGER},\",\r\n \"birthday = #{birthday,jdbcType=DATE},\",\r\n \"regist_date = #{regist_date,jdbcType=TIMESTAMP},\",\r\n \"update_date = #{update_date,jdbcType=TIMESTAMP},\",\r\n \"disable = #{disable,jdbcType=INTEGER}\",\r\n \"where user_id = #{user_id,jdbcType=INTEGER}\"\r\n })\r\n int updateByPrimaryKey(UserMaster record);",
"@Update({\n \"update xxd_user\",\n \"set username = #{username,jdbcType=VARCHAR},\",\n \"password = #{password,jdbcType=VARCHAR},\",\n \"sex = #{sex,jdbcType=SMALLINT},\",\n \"phonenumber = #{phonenumber,jdbcType=VARCHAR},\",\n \"id_card = #{idCard,jdbcType=VARCHAR},\",\n \"bank_card = #{bankCard,jdbcType=VARCHAR},\",\n \"bank_location = #{bankLocation,jdbcType=VARCHAR},\",\n \"type = #{type,jdbcType=SMALLINT},\",\n \"salt = #{salt,jdbcType=VARCHAR}\",\n \"is_able = #{is_able,jdbcType=SMALLINT},\",\n \"create_time = #{create_time,jdbcType=VARCHAR}\",\n \"parent_id = #{parent_id,jdbcType=INTEGER}\",\n \"where uid = #{uid,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(XxdUser record);",
"private void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }",
"@Override\n\tpublic int update(TbUser user) {\n\t\treturn new userDaoImpl().update(user);\n\t}",
"public String update() {\r\n\t\tuserService.update(userEdit);\r\n\t\tusers.setWrappedData(userService.list());\r\n\t\treturn \"update\";\r\n\t}",
"protected String getValueOfColumnLastUpdateUser() {\n return SessionContext.open().getUid();\n }",
"@Override\r\n\tpublic int updateUser(Users user) {\n\t\treturn 0;\r\n\t}",
"public Long getUpdateUser() {\n return updateUser;\n }",
"void update(User user) throws SQLException;",
"@Override\n public boolean updateUserPersonalInfo(String text) {\n User tmp = this.getLoggedUser();\n tmp.setPersonal_details(text);\n if(this.setLoggedUser(tmp)) System.out.print(\"done\");\n Connection conn = null;\n Statement stmt = null;\n try \n {\n db_controller.setClass();\n conn = db_controller.getConnection();\n stmt = conn.createStatement();\n String sql;\n \n sql = \"UPDATE user_personal_information set information = + '\" + text + \"' where user_id = \" + this.getLoggedUser().getId();\n \n int result = stmt.executeUpdate(sql);\n \n stmt.close();\n conn.close();\n if(result == 1) return true;\n else return false;\n } \n catch (SQLException ex) { ex.printStackTrace(); return false;} \n catch (ClassNotFoundException ex) { ex.printStackTrace(); return false;} \n \n }",
"@Override\n\tpublic void update(User objetc) {\n\t\tuserDao.update(objetc);\n\t}",
"@Override\n\tpublic int updateUser(SmbmsUser user) {\n\t\treturn sud.updateUser(user);\n\t}",
"@Override\n\tpublic String update(User user) {\n\t\treturn null;\n\t}",
"@Override\n\tpublic ResponseEntity<String> updateUser() {\n\t\treturn null;\n\t}",
"public String getUpdateUser() {\r\n return updateUser;\r\n }",
"public String getUpdateUser() {\r\n return updateUser;\r\n }",
"@Override\n public PrepaidUser10 updatePrepaidUser(Map<String, Object> headers, PrepaidUser10 user) throws Exception {\n\n if(user == null){\n throw new BadRequestException(PARAMETRO_FALTANTE_$VALUE).setData(new KeyValue(\"value\", \"user\"));\n }\n\n log.info(user);\n getDbUtils().getJdbcTemplate().update(connection -> {\n //PreparedStatement ps = connection\n // .prepareStatement(UPDATE_USER, new String[] {\"id\"});\n\n PreparedStatement ps = connection.prepareStatement(UPDATE_USER);\n\n ps.setString(1,user.getName());\n ps.setString(2,user.getLastName());\n ps.setString(3,user.getStatus().toString());\n ps.setString(4,user.getUserLevel().toString());\n ps.setTimestamp(5,Timestamp.valueOf(LocalDateTime.ofInstant(Instant.now(), ZoneId.of(\"UTC\"))));\n ps.setString(6,user.getUuid());\n\n return ps;\n });\n\n return this.findByExtId(null,user.getUuid());\n }",
"public Integer getUpdateUser() {\n return updateUser;\n }",
"void update(String userName, String password, String userFullname,\r\n\t\tString userSex, int userTel, String role);",
"@Override\n\tpublic void updateUser(User user)\n\t{\n\n\t}",
"UpdateUserResult updateUser(UpdateUserRequest updateUserRequest);",
"ManageUserResponse updateUser(UserUpdateRequest user, Long userId);",
"public String getUpdateUser () {\r\n\t\treturn updateUser;\r\n\t}",
"public User updateUser(User user);",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public static ResultInfo<EmptyResultObj> updUserInfo(Controller controller) {\n\t\tString idNum = controller.getPara(TAlipayUser.COL_ID);\n\t\tint flag = Db.update(\"update alipay_user set required_type=? where id_num=?\", \"1\", idNum);\n\t\tif (flag >= 1) {\n\t\t\treturn new ResultInfo<EmptyResultObj>(ResultCodes.RET_SUCCESS, \"auth success\");\n\t\t} else {\n\t\t\treturn new ResultInfo<EmptyResultObj>(ResultCodes.RET_FAILED, \"auth failed\");\n\t\t}\n\t}",
"public String getUpdateUser() {\r\n\t\treturn updateUser;\r\n\t}",
"public String getUpdateUser() {\r\n\t\treturn updateUser;\r\n\t}",
"void updateUserPassword(User user);",
"public void updateUser() {\n Connection conn = null;\n try {\n conn = DriverManager.getConnection(db.DB.connectionString, db.DB.user, db.DB.password);\n Statement stmt = conn.createStatement();\n String query = \"update users set first_name='\" + firstName + \"', \";\n query += \"last_name='\" + lastName + \"', \";\n query += \"phone_number='\" + phoneNumber + \"', \";\n query += \"email='\" + email + \"', \";\n query += \"address='\" + address + \"', \";\n query += \"id_city='\" + idCity + \"' \";\n query += \"where id_user = \" + id;\n stmt.executeUpdate(query);\n\n User updatedUser = findUser(id);\n updatedUser.setFirstName(firstName);\n updatedUser.setLastName(lastName);\n updatedUser.setPhoneNumber(phoneNumber);\n updatedUser.setEmail(email);\n updatedUser.setIdCity(idCity);\n updatedUser.setAddress(address);\n\n } catch (SQLException ex) {\n Logger.getLogger(UserController.class.getName()).log(Level.SEVERE, null, ex);\n } finally {\n clear();\n try {\n conn.close();\n } catch (Exception e) {\n /* ignored */ }\n }\n }",
"@Override\n\tpublic void updatePassword(AdminUser userModel) {\n\n\t}",
"private void editUser(){\n getDeviceLocation();\n ProxyBuilder.SimpleCallback<User> callback = returnedUser-> responseEdit(returnedUser);\n ServerManager.editUserProfile(userManager,callback);\n }",
"String updateUserInfo(String usernameToUpdate, UserInfo userInfo);",
"public void updateUserDataByType(UserData userData,String type) {\n\t\tSQLiteDatabase db = getReadableDatabase();\n\t\t// Cursor cursor = db.rawQuery(\"select * from city\",null);//得到游标\n\t\t//Cursor c = db.rawQuery(\"select * from user where usertype=?\", new String[]{type});// 得到游标\n\t\t//String sql = \"update user set username = 654321 where usertype = type\";\n\t\t//db.execSQL(sql);\n ContentValues values = new ContentValues();\n values.put(\"username\", userData.userName);\n values.put(\"password\", userData.passWord);\n \n db.update(\"user\", values, \"usertype=?\", new String[]{type});\n\t}",
"@Override\r\n\tpublic int update(User user) {\n\t\treturn 0;\r\n\t}",
"void updateUserById(String username, User userData);",
"@Override\n public boolean updateUserById(User user ) {\n boolean tag=false;\n this.sqlSession = MyBatisUtils.getSqlSession();\n tag = this.sqlSession.getMapper(UserDao.class).updateUserInfoById(user);\n sqlSession.commit();\n return tag;\n }",
"public void updateUser() {\n\t\tSystem.out.println(\"com.zzu.yhl.a_jdk updateUser\");\r\n\t}",
"public void updateUser(User user) {\n\t\t\r\n\t}",
"void updateUser(User entity) throws UserDaoException;",
"@Override\n\tpublic Boolean updateUser(User user) {\n\t\treturn null;\n\t}",
"public int Edituser(Long userid, Long brokerId, String firstname,\r\n\t\tString lastname, String address, String city, String eMail, Long phone,\r\n\t\tLong pincode) throws SQLException {\n\tLong useridd=null;\r\n\trs=DbConnect.getStatement().executeQuery(\"select user_id from customer where login_id=\"+userid+\"\");\r\n\tif(rs.next())\r\n\t{\r\n\t\tuseridd=rs.getLong(1);\r\n\t}\r\n\tint i=DbConnect.getStatement().executeUpdate(\"update customer set address='\"+address+\"',city='\"+city+\"',e_mail='\"+eMail+\"',phone=\"+phone+\",pincode=\"+pincode+\" where user_id=\"+useridd+\"\");\r\n\treturn i;\r\n}",
"@Override\n\tpublic int update(Usuario us) {\n\t\tString SQL =\"update user set nomuser = ?, passuser =?\";\n\t\treturn jdbc.update(SQL, us.getUsername(), us.getPassword());\n\t}",
"@Override\n\tpublic User update(User t) {\n\t\treturn null;\n\t}",
"public int updateUser(User user) {\n\t\t\n\t\treturn 1;\n\t}",
"Long getUserUpdated();",
"@Override\r\n\tpublic int update(SpUser t) {\n\t\treturn 0;\r\n\t}",
"public void updateUserDetails() {\n\t\tSystem.out.println(\"Calling updateUserDetails() Method To Update User Record\");\n\t\tuserDAO.updateUser(user);\n\t}",
"Integer updateUserInfo(UpdateEntry updateEntry);",
"@Override\n public void updateUser(User user){\n try {\n runner.update(con.getThreadConnection(),\"update user set username=?,address=?,sex=?,birthday=? where id=?\"\n ,user.getUsername(),user.getAddress(),user.getSex(),user.getBirthday(),user.getId());\n } catch (SQLException e) {\n System.out.println(\"执行失败\");\n e.printStackTrace();\n }\n }",
"@Override\n\tpublic int updateUserInfo(UserManageEntity info) {\n\t\treturn userManageDao.updateUserInfo(info);\n\t}",
"public User update(User updatedInfo);",
"public static int update(User u){ \n int status=0; \n try{ \n //membuka koneksi\n Connection con=Koneksi.openConnection();\n //melakukan query database untuk merubah data berdasarkan id atau primary key\n PreparedStatement ps=con.prepareStatement( \n \"update t_user set user_name=?,nama_lengkap=?,password=?,hak_akses=? where id=?\"); \n ps.setString(1,u.getUserName()); \n ps.setString(2,u.getNamaLengkap()); \n ps.setString(3,u.getPassword()); \n ps.setString(4,u.getHakAkses()); \n ps.setInt(5,u.getId()); \n status=ps.executeUpdate(); \n }catch(Exception e){System.out.println(e);} \n return status; \n }",
"private void updateUserLogin() {\n\t\tSessionManager sessionManager = new SessionManager(\n\t\t\t\tMyApps.getAppContext());\n\n\t\tRequestParams params = new RequestParams();\n\t\tparams.add(\"user_id\", sessionManager.getUserDetail().getUserID());\n\n\t\tLog.d(\"EL\", \"userID: \" + sessionManager.getUserDetail().getUserID());\n\n\t\tKraveRestClient.post(WebServiceConstants.AV_UPDATE_USER_PROFILE_DATA_1,\n\t\t\t\tparams, new JsonHttpResponseHandler() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onSuccess(int statusCode, Header[] headers,\n\t\t\t\t\t\t\tJSONObject response) {\n\n\t\t\t\t\t\tsuper.onSuccess(statusCode, headers, response);\n\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tLog.d(\"EL\", \"response: \" + response.toString(2));\n\t\t\t\t\t\t} catch (JSONException e) {\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onFailure(int statusCode, Header[] headers,\n\t\t\t\t\t\t\tThrowable throwable, JSONObject errorResponse) {\n\n\t\t\t\t\t\tsuper.onFailure(statusCode, headers, throwable,\n\t\t\t\t\t\t\t\terrorResponse);\n\t\t\t\t\t}\n\t\t\t\t});\n\t}",
"@Override\n\tpublic void update(Connection conn, User user,Long id) throws SQLException {\n\t\tString updateSql=\"update tbl_user set name=?,password=?,email=?where id=?\";\n\t\tPreparedStatement ps=conn\n\t\t\t\t.prepareCall(updateSql);\n\t\tps.setString(1, user.getName());\n\t\tps.setString(2, user.getPassword());\n\t\tps.setString(3, user.getEmail());\n\t\tps.setLong(4, id);\n\t\tps.execute();\n\t}",
"public void setUpdateUser(Long updateUser) {\n this.updateUser = updateUser;\n }",
"@Override\n\tpublic int modifyUser(User user) {\n\t\tuser.setUpdateTime(new Date());\n\t\treturn userDao.updateUserById(user);\n\t}",
"ResponseMessage updateUser(final User user);",
"public void update(com.conurets.inventory.model.User model) throws InventoryException {\n }",
"public void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }",
"public Long getUpdateUserid() {\r\n\t\treturn updateUserid;\r\n\t}",
"@Override\n\tpublic void updateUser(SpaceUserVO spaceUserVO) throws Exception {\n\t\t\n\t}",
"@Override\n\tpublic String DBupdateUser(String userJson) {\n\t\tUser user = (User) jsonToUserPOJO(userJson);\n\t\tUser updatedUser = userRepository.update(user);\n\t\tif(updatedUser != null)\n\t\t\treturn dataToJson(updatedUser);\n\t\telse\n\t\t\treturn null;\n\t\t\n\t}",
"@Override\n\tpublic User updateUser(User user) {\n\t\treturn null;\n\t}",
"@RequestMapping(value = \"update_user_info.do\",method = RequestMethod.POST)\r\n @ResponseBody\r\n public ServerResponse<User> updateInfo(User pageUserInfo, HttpSession session){\r\n User currentUser = (User)session.getAttribute(Constant.CURRENT_USER);\r\n if(currentUser == null){\r\n return ServerResponse.createByErrorMsg(\"User has not logged in.\");\r\n }\r\n pageUserInfo.setId(currentUser.getId());\r\n pageUserInfo.setUsername(currentUser.getUsername());\r\n ServerResponse<User> response = iUserService.updateUserInfo(pageUserInfo);\r\n if(response.isSuccess()){\r\n //response.getData() is the updateUser which has only 5 updated fields and no username\r\n response.getData().setUsername(currentUser.getUsername());\r\n session.setAttribute(Constant.CURRENT_USER,response.getData());\r\n }\r\n return response;\r\n }",
"public void setUpdateUser (String updateUser) {\r\n\t\tthis.updateUser = updateUser;\r\n\t}",
"public void setUpdateUser(String updateUser) {\n this.updateUser = updateUser;\n }",
"public boolean update(UserDTO user){\r\n try {\r\n PreparedStatement preSta = conn.prepareStatement(sqlUpdateUser);\r\n preSta.setString(1,user.getEmail());\r\n preSta.setString(2, user.getPassword());\r\n preSta.setInt(3, user.getRole());\r\n preSta.setInt(4, user.getUserId());\r\n if(preSta.executeUpdate() >0){\r\n return true;\r\n }\r\n } catch (SQLException ex) {\r\n Logger.getLogger(UserDAO.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n error=\"khong ton tai userId\"+ user.getUserId();\r\n return false;\r\n }",
"public Integer getUpdateUserid() {\n return updateUserid;\n }",
"public void update(User user);",
"public synchronized User editUser(String username, String password, String type, String actualName, String email) {\r\n\t\tUser user = this.getUser(username);\r\n\t\tuser.setActualName(actualName);\r\n\t\tuser.setEmail(email);\r\n\t\tuser.setPassword(password);\r\n\t\tuser.setType(type);\r\n\t\tthis.storer.storeUser(user);\r\n\t\treturn user;\r\n\t}",
"void editUser(String uid, User newUser);",
"public void updateUser(Bundle userData) {\n Bitmap profilePic = userData.getParcelable(\"userProfilePic\"); //reads in bitmap image\n setProfileImageData(profilePic); //converts bitmap image to byte[]\n firstName = userData.getString(\"userFirstName\");\n lastName = userData.getString(\"userLastName\");\n fullName = firstName + \" \" + lastName;\n sex = userData.getString(\"userSex\");\n activityLevel = userData.getString(\"userActivityLevel\");\n city = userData.getString(\"userCity\");\n country = userData.getString(\"userCountry\");\n\n userID = userData.getInt(\"userID\");\n age = userData.getInt(\"userAge\");\n heightInches = userData.getInt(\"userHeight\");\n weightLBS = userData.getInt(\"userWeight\");\n\n BMR = userData.getDouble(\"userBMR\");\n BMI = userData.getDouble(\"userBMI\");\n weightChangeGoal = userData.getDouble(\"userGoal\");\n recommendedDailyCalorieIntake = userData.getDouble(\"userCalories\");\n }",
"@Override\r\n\tpublic boolean updateInfo(User user) {\n\t\tString sql = \"update user set user_name = ?,user_tel = ?,user_email = ?,user_date = NOW() where user_id = ?\";\r\n\t\tlist.clear();\r\n\t\tlist.add(user.getUser_name());\r\n\t\tlist.add(user.getUser_tel());\r\n\t\tlist.add(user.getUser_email());\r\n\t\tlist.add(user.getUser_id());\r\n\t\treturn BaseDaoImpl.updateInfo(sql, list);\r\n\t}",
"public static boolean updateUser (User bean) {\n \n String sql = \"UPDATE $tablename SET firstName = ?, lastName = ?, email = ? WHERE $idType = ?\";\n \n String query = sql.replace(\"$tablename\", bean.getTable()).replace(\"$idType\", bean.getIdType());\n \n try(\n Connection conn = DbUtil.getConn(DbType.MYSQL);\n PreparedStatement stmt = conn.prepareStatement(query);\n ) {\n \n stmt.setString(1, bean.getFirstName());\n stmt.setString(2, bean.getLastName());\n stmt.setString(3, bean.getEmail());\n stmt.setInt(4, bean.getID());\n \n int affected = stmt.executeUpdate();\n \n return affected == 1;\n \n } catch (Exception e) {\n System.out.println(e);\n return false;\n }\n }",
"public static int update(User user) {\n ConnectionPool pool = ConnectionPool.getInstance();\n Connection connection = pool.getConnection();\n PreparedStatement ps = null;\n\n String query = \"UPDATE users SET \"\n + \" uname = ?, pWord = ?, firstName = ?, lastName = ?, email = ?, addr1 = ?, addr2 = ?, city = ?, \" \n + \" state = ?, zip = ?, country = ?, roleName = ? \"\n + \" WHERE userID = ?\";\n try {\n ps = connection.prepareStatement(query);\n \n ps.setString(1, user.getUsername());\n ps.setString(2, user.getPassword());\n ps.setString(3, user.getFirstName());\n ps.setString(4, user.getLastName());\n ps.setString(5, user.getEmail());\n ps.setString(6, user.getAddr1());\n ps.setString(7, user.getAddr2());\n ps.setString(8, user.getCity());\n ps.setString(9, user.getStateRegion());\n ps.setInt(10, user.getZipcode());\n ps.setString(11, user.getCountry());\n ps.setString(12, user.getRoleName());\n ps.setInt(13, user.getUserID());\n System.out.println(\"DB@line353 \" + user.getUserID());\n\n return ps.executeUpdate();\n } catch (SQLException e) {\n System.out.println(e);\n return 0;\n } finally {\n DBUtil.closePreparedStatement(ps);\n pool.freeConnection(connection);\n }\n }",
"@Override\n\tpublic void updateUserProfile(User user) throws Exception {\n\n\t}",
"public User UpdateUser(User user){\n\t\t\treturn user;\n\t\t}",
"public int updatePerson(String username, String firstName, String lastName, String password, char type,\r\n\t\t\tchar status)\r\n\t{\r\n\t\tif(type != 'u' && type != 'a') \r\n\t\t\tthrow new IllegalArgumentException(\"Invalid Type\");\r\n\t\tif(status != 'Y' && status != 'N') \r\n\t\t\tthrow new IllegalArgumentException(\"Invalid Status\");\r\n\t\treturn db.user_editUser(username, firstName, lastName, password, type, status);\r\n\t}",
"public Boolean updateUser(User u) throws SQLException, ClassNotFoundException, IOException {\n\t\t\t// Declare variables\n\t\t\tConnection conn = null;\n\t\t\tPreparedStatement stmt = null;\n\t\t\tInteger updateResult = null;\n\t\t\t\n\t\t\t// Assign update string to variable\n\t\t\tString updateString = \"update User \"\n\t\t\t\t\t+ \"set name = ?, password = ?\"\n\t\t\t\t\t+ \"where UserId = ?\";\n\t\t\t\n\t\t\t// Create DatabaseConnection class instance\n\t\t\tDatabaseConnection mysql = new DatabaseConnection();\n\t\t\t// Begin try/catch block to query the database\n\t\t\ttry\n\t\t\t{\n\t\t\t\t// Connect to database and assign query string to PreparedStatement object\n\t\t\t\tconn = mysql.getConnection();\n\t\t\t\tstmt = conn.prepareStatement(updateString);\n\t\t\t\t\n\t\t\t\t// Set query parameters (?)\n\t\t\t\t\n\t\t\t\tstmt.setString(1, u.getName());\n\t\t stmt.setString(2, u.getPassword());\n\t\t // stmt.setDouble(3, u.getJavaScore());\n\t\t // stmt.setDouble(4, u.getSqlScore());\n\t\t stmt.setInt(3, u.getUserId());\n\t\t\t\t// Run query and assign to ResultSet\n\t\t\t\tupdateResult = stmt.executeUpdate();\n\t\t\t}\n\t\t\tcatch (ClassNotFoundException | SQLException e)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Error: \" + e.getMessage());\n\t\t\t}\n\t\t\tfinally\n\t\t\t{\n\t\t\t\tif (stmt != null) {\n\t\t\t\t\tstmt.close();\n\t\t\t\t}\n\t\t\t\tif (conn != null) {\n\t\t\t\t\tconn.close();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (updateResult > 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}",
"void update(User user);",
"void update(User user);",
"public void updateUser(User oldUser, User newUser) ;"
] |
[
"0.6921643",
"0.6700379",
"0.6622308",
"0.6585034",
"0.65654504",
"0.6508766",
"0.6490855",
"0.64883417",
"0.6461695",
"0.64229137",
"0.63661146",
"0.6329025",
"0.6310423",
"0.6299141",
"0.6250813",
"0.6249709",
"0.6226425",
"0.6197647",
"0.6186612",
"0.61826986",
"0.6176147",
"0.6171572",
"0.61630213",
"0.6162942",
"0.61627316",
"0.61616164",
"0.61582065",
"0.61582065",
"0.6153416",
"0.6152568",
"0.61433893",
"0.61427563",
"0.6141182",
"0.6132195",
"0.61309135",
"0.6114479",
"0.6109239",
"0.6109239",
"0.6109239",
"0.6109239",
"0.6109239",
"0.6109239",
"0.61072814",
"0.60839725",
"0.60839725",
"0.6081168",
"0.60534334",
"0.6051753",
"0.60486805",
"0.60470927",
"0.60460615",
"0.60315746",
"0.60266817",
"0.602566",
"0.6022492",
"0.60172534",
"0.6006633",
"0.60047966",
"0.60040474",
"0.59904695",
"0.59832704",
"0.59777266",
"0.59765637",
"0.5973628",
"0.59668225",
"0.59640896",
"0.59542686",
"0.59483373",
"0.5944999",
"0.59216654",
"0.59187585",
"0.59183526",
"0.5915984",
"0.59051436",
"0.59005123",
"0.5889276",
"0.5885842",
"0.5881207",
"0.5871692",
"0.58714306",
"0.58655596",
"0.58565813",
"0.5855068",
"0.5852259",
"0.5849388",
"0.58404243",
"0.5835766",
"0.5829874",
"0.58252245",
"0.5822872",
"0.5821424",
"0.58209187",
"0.5819702",
"0.58075875",
"0.58066595",
"0.58064896",
"0.5805198",
"0.57986224",
"0.57986224",
"0.57985526"
] |
0.6189624
|
18
|
Setter method for updateUser. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'.
|
public void setUpdateUser(String newVal) {
if ((newVal != null && this.updateUser != null && (newVal.compareTo(this.updateUser) == 0)) ||
(newVal == null && this.updateUser == null && updateUser_is_initialized)) {
return;
}
this.updateUser = newVal;
updateUser_is_modified = true;
updateUser_is_initialized = true;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }",
"public void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }",
"public void setModifiedBy(org.semanticwb.model.User value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_modifiedBy, value.getSemanticObject());\r\n }else\r\n {\r\n removeModifiedBy();\r\n }\r\n }",
"public void setModifiedBy(org.semanticwb.model.User value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_modifiedBy, value.getSemanticObject());\r\n }else\r\n {\r\n removeModifiedBy();\r\n }\r\n }",
"public void setModifiedBy(org.semanticwb.model.User value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_modifiedBy, value.getSemanticObject());\r\n }else\r\n {\r\n removeModifiedBy();\r\n }\r\n }",
"@Override\n\tpublic void updateUser(User pUser) {\n\t\t\n\t}",
"@Override\n\tpublic void updateUser(user theUser) {\n\t}",
"public void updateUser(User oldUser, User newUser) ;",
"@Override\n\tpublic Boolean updateUser(User user) {\n\t\treturn null;\n\t}",
"@Override\n\tpublic void updateUser(User user)\n\t{\n\n\t}",
"public void setModifiedByUser(long modifiedByUser);",
"@Override\n\tpublic User update(User t) {\n\t\treturn null;\n\t}",
"public void updateUser(User user) {\n\t\t\r\n\t}",
"@Override\n\tpublic boolean updateUser(Integer Id, User user) {\n\t\treturn false;\n\t}",
"public void update(User obj) {\n\t\t\n\t}",
"public void setModifiedByUser(String modifiedByUser);",
"public void setModifiedUserId(Integer value) {\n this.modifiedUserId = value;\n }",
"public void setModifiedUserId(Integer value) {\n this.modifiedUserId = value;\n }",
"@Override\n\tpublic void update(User objetc) {\n\t\tuserDao.update(objetc);\n\t}",
"@Override\r\n\tpublic boolean updateUser() {\n\t\treturn false;\r\n\t}",
"public boolean update(User u);",
"public void setEditUser(User editUser)\r\n/* */ {\r\n/* 179 */ this.editUser = editUser;\r\n/* */ }",
"@Override\n\tpublic User updateUser(User user) {\n\t\treturn null;\n\t}",
"public void setModifiedUser(Integer modifiedUser) {\n\t\tthis.modifiedUser = modifiedUser;\n\t}",
"@Override\r\n\tpublic int update(User user) {\n\t\treturn 0;\r\n\t}",
"@Override\r\n\tpublic int updateUser(Users user) {\n\t\treturn 0;\r\n\t}",
"public void setUpdateUser(Long updateUser) {\n this.updateUser = updateUser;\n }",
"void setUserUpdated(final Long userUpdated);",
"public void updateUser(Person user) {\n\t\t\n\t}",
"public void setModifieduser(Long modifieduser) {\n this.modifieduser = modifieduser;\n }",
"public void setUpdateUser(Integer updateUser) {\n this.updateUser = updateUser;\n }",
"@Override\n\tpublic int modifyUser(User user) {\n\t\tuser.setUpdateTime(new Date());\n\t\treturn userDao.updateUserById(user);\n\t}",
"@Override\r\n\tpublic boolean updateUsuario(Usuario user) {\n\t\treturn false;\r\n\t}",
"public void update(User user);",
"public void update(User user){\n this.enabled = user.isEnabled();\n this.firstName = user.getFirstName();\n this.lastName = user.getLastName();\n this.telephone = user.getTelephone();\n this.email = user.getEmail();\n this.gender = user.getGender();\n this.roleEnum = user.getRoleEnum();\n if(!this.password.equals(user.getPassword())){\n //If a password has been changed, update timestamp\n lastPasswordResetDate = new Timestamp((new Date()).getTime());\n }else{\n lastPasswordResetDate = user.getLastPasswordResetDate();\n }\n this.password = user.getPassword();\n this.address = user.getAddress();\n this.authorities = user.authorities;\n }",
"public void setModifiedBy(String v) \n {\n \n if (!ObjectUtils.equals(this.modifiedBy, v))\n {\n this.modifiedBy = v;\n setModified(true);\n }\n \n \n }",
"@Override\n\tpublic String update(User user) {\n\t\treturn null;\n\t}",
"void updateUser(@Nonnull User user);",
"public void setCreateUser(String newVal) {\n if ((newVal != null && this.createUser != null && (newVal.compareTo(this.createUser) == 0)) || \n (newVal == null && this.createUser == null && createUser_is_initialized)) {\n return; \n } \n this.createUser = newVal; \n\n createUser_is_modified = true; \n createUser_is_initialized = true; \n }",
"public void setLastModifyingUser(PersonAndOrganization lastModifyingUser)\r\n\t{\r\n\t\tthis.lastModifyingUser = lastModifyingUser;\r\n\t}",
"void setCurrentUser(@Nullable User newCurrentUser) {\n currentUser = newCurrentUser;\n }",
"@Override\n\tpublic void updateUser(User user) {\n\t userMapper.updateUser(user);\n\t}",
"@Override\n public boolean updateUser(User user) {\n return controller.updateUser(user);\n }",
"void setPassedUser(User passedUser);",
"public void changeUser() {\n refreshState();\n SystemUserDTO user = null;\n SystemUserDTO systemUser = null;\n systemUser = ctrl.getSystemUser(this.inputTextUser);\n if (systemUser == null) {\n user = new SystemUserDTO(this.inputTextUser, this.inputTextFName, this.inputTextLName, this.inputTextEMail);\n ctrl.addSystemUser(user);\n } else {\n user = new SystemUserDTO(this.inputTextUser, this.inputTextFName, this.inputTextLName, this.inputTextEMail);\n ctrl.updateSystemUser(user);\n }\n refreshState();\n this.currentUser = user;\n }",
"public void update(User u) {\n\r\n\t}",
"public void setUpdatedBy(UserItem userItem) {\n this.updatedBy = userItem;\n }",
"@Override\r\n\tpublic int updateUser(User user, String userName) {\n\t\treturn 0;\r\n\t}",
"@Override\n\tpublic ResponseEntity<String> updateUser() {\n\t\treturn null;\n\t}",
"public void modifyUser() {\n\t\tUser selectedUser = null;\r\n\t\tselectedUser = tableUser.getSelectionModel().getSelectedItem();\r\n\t\tUser user = dataManager.findCurrentUser();\r\n\t\tif (user != null) {\r\n\t\t\tif (selectedUser != null) {\r\n\t\t\t\tframeManager.modifyUser(user, selectedUser);\r\n\t\t\t\tpesquisar();\r\n\t\t\t} else {\r\n\t\t\t\tAlertUtils.alertErroSelecionar(\"Para modificar um usuario é necessário selecionar um!\");\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tAlertUtils.alertSemPrivelegio();\r\n\t\t}\r\n\t}",
"@Override\n\tpublic void updateOne(User u) {\n\t\tdao.updateInfo(u);\n\t}",
"@Override\r\n\tpublic void update(Usuario t) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic int update(PtHrUserBak t) {\n\t\treturn 0;\r\n\t}",
"public void setUpdateUser (String updateUser) {\r\n\t\tthis.updateUser = updateUser;\r\n\t}",
"public boolean isUpdateUserModified() {\n return updateUser_is_modified; \n }",
"@Override\n\tpublic AuthUser update(AuthUser knownUser) {\n\t\tUser.setLastLoginDate(knownUser);\n\t\treturn knownUser;\n\t}",
"@Override\r\n\tpublic int update(SpUser t) {\n\t\treturn 0;\r\n\t}",
"public User updateUser(User user);",
"void update(User user);",
"void update(User user);",
"public static void nonAdminUpdates(User user) {\t\n\t\tint updCounter = 0;\n\t\tif (user != null) { \n\t\t\tString updFirstName = Console.getStringAllowNull(\"\\nEnter Updated FirstName [ENTER] for No Change: \");\n\t\t\tif (updFirstName.isEmpty()) {\n\t\t\t\tuser.setFirstName(user.getFirstName());\n\t\t\t} else {\n\t\t\t\tuser.setFirstName(updFirstName);\n\t\t\t\tupdCounter++;\n\t\t\t}\n\t\t\tString updLastName = Console.getStringAllowNull(\"Enter Updated LastName [ENTER] for No Change: \");\n\t\t\tif (updLastName.isEmpty()) {\n\t\t\t\tuser.setLastName(user.getLastName());\n\t\t\t} else {\n\t\t\t\tuser.setLastName(updLastName);\n\t\t\t\tupdCounter++;\n\t\t\t}\n\t\t\tString updPassword = Console.getStringAllowNull(\"Enter Updated Password [ENTER] for No Change: \");\n\t\t\tif (updPassword.isEmpty()) {\n\t\t\t\tuser.setPassword(user.getPassword());\n\t\t\t} else {\n\t\t\t\tuser.setPassword(updPassword);\n\t\t\t\tupdCounter++;\n\t\t\t}\n\t\t\tString updPhone = Console.getStringAllowNull(\"Enter Updated Phone# [ENTER] for No Change: \");\n\t\t\tif (updPhone.isEmpty()) {\n\t\t\t\tuser.setPhone(user.getPhone());\n\t\t\t} else {\n\t\t\t\tuser.setPhone(updPhone);\n\t\t\t\tupdCounter++;\n\t\t\t}\n\t\t\tString updEmail = Console.getStringAllowNull(\"Enter Updated Email [ENTER] for No Change: \");\n\t\t\tif (updEmail.isEmpty()) {\n\t\t\t\tuser.setEmail(user.getEmail());\n\t\t\t} else {\n\t\t\t\tuser.setEmail(updEmail);\n\t\t\t\tupdCounter++;\n\t\t\t}\n\t\t\tif (updCounter > 0) {\n\t\t\t\tUserDB.update(user);\n\t\t\t\tSystem.out.println(user.toString());\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"\\n%%% No Changes Entered - Record not Updated\");\n\t\t\t}\t\t\t\n\t\t} \n\t}",
"@Override\n\tpublic String updateUser(String user) {\nreturn null;\n\t}",
"private void setObjUser(People value) {\n if (value == null) {\n throw new NullPointerException();\n }\n objUser_ = value;\n \n }",
"@Override\r\n\tpublic int modifyUser(User user) {\n\t\treturn userMapper.modifyUser(user);\r\n\t}",
"@Override\n\tpublic void updateUser(User curpwd) {\n\t\tuserRepository.save(curpwd);\n\t}",
"private void setUser(UserService.User user) {\n this.userName = user.getName();\n\n DateFormat dateTimeInstance =\n SimpleDateFormat.getDateTimeInstance(DateFormat.LONG,\n DateFormat.LONG);\n this.lastUpdateString = dateTimeInstance.format(user.getLastUpdate());\n\n this.notifyPropertyChanged(BR.userName);\n this.notifyPropertyChanged(BR.lastUpdateString);\n }",
"@Override\n\tpublic void updateItem(User entity) {\n\t\tuserRepository.save(entity);\n\t}",
"public void modifyMyUser(VUser vUser) {\n\t\t// Se aplican los cambios normales\n\t\tUser user = applyModification(vUser);\n\n\t\trepo.updateUser(user);\n\t}",
"public void updateUser(User detachedUser) throws Exception;",
"private static void updateUser() {\n\t currentUser = Structure.User(currentUser);\n\t CRUDUsers.compareWithRemote(currentUser).subscribe(new SingleSubscriber<User>() {\n\t\t @Override\n\t\t public void onSuccess(User value) {\n\t\t\t\tConnection.logIn(value);\n\t\t }\n\t\t\n\t\t @Override\n\t\t public void onError(Throwable error) {\n\t\t\t logOff();\n\t\t\t App.showMessage(error.getMessage());\n\t\t }\n\t });\n }",
"@Override\n\tpublic void update(User entity) {\n\t\tif (userlist.get(String.valueOf(entity.getDni())) != null) {\n\t\t\tuserlist.put(String.valueOf(entity.getDni()), entity);\n\t\t} else {\n\t\t\tEnviromentVariables.UPDATEUSERERRORNOEXISTE = \"El usuario no existe\";\n\t\t}\n\t}",
"public void setUpdateUser(String updateUser) {\n this.updateUser = updateUser;\n }",
"@Override\n\tpublic void updateUser(SpaceUserVO spaceUserVO) throws Exception {\n\t\t\n\t}",
"public void setCallingUser(entity.User value);",
"private void populateUpdatedValuesToUser(User existingUser, User updatedUserObj){\n\t\texistingUser.setUserId(updatedUserObj.getUserId());\n\t\texistingUser.setUserFirstName(updatedUserObj.getUserFirstName());\n\t\texistingUser.setUserLastName(updatedUserObj.getUserLastName());\n\t\texistingUser.setUserMail(updatedUserObj.getUserMail());\n\t\texistingUser.setUserPhone(updatedUserObj.getUserPhone());\n\t\texistingUser.setUserOfficeMail(updatedUserObj.getUserOfficeMail());\n\t\texistingUser.setUserExtentionNo(updatedUserObj.getUserExtentionNo());\n\t\texistingUser.setUserDeptId(updatedUserObj.getUserDeptId());\n\t\texistingUser.setUserDsgId(updatedUserObj.getUserDsgId());\n\t\texistingUser.setUserDoj(updatedUserObj.getUserDoj());\n\t\texistingUser.setUserDob(updatedUserObj.getUserDob());\n\t\texistingUser.setUserEsiNo(updatedUserObj.getUserEsiNo());\n\t\texistingUser.setUserPfNo(updatedUserObj.getUserPfNo());\n\t\texistingUser.setUserPanNo(updatedUserObj.getUserPanNo());\n\t\texistingUser.setUserPassportNo(updatedUserObj.getUserPassportNo());\n\t\texistingUser.setUserModifiedBy(updatedUserObj.getUserModifiedBy());\n\t\texistingUser.setUserModifiedOn(new Timestamp(System.currentTimeMillis()));\n\t\texistingUser.setUserModules(updatedUserObj.getUserModules());\n\t\texistingUser.setUserSubModules(updatedUserObj.getUserSubModules());\n\t\tif(null!=updatedUserObj.getUserIsActive()){\n\t\t\texistingUser.setUserIsActive(updatedUserObj.getUserIsActive());\n\t\t}\n\t\tif(null!=updatedUserObj.getIsDeleted()){\n\t\t\texistingUser.setIsDeleted(updatedUserObj.getIsDeleted());\n\t\t}\n\t}",
"@Override\r\n\tpublic void updateUser(User user) {\n\t\tuserReposotory.save(user);\r\n\t\t\r\n\t}",
"private void setUser(People value) {\n if (value == null) {\n throw new NullPointerException();\n }\n user_ = value;\n \n }",
"@Override\n\tpublic boolean update(User user) {\n\t\tif (user == null) {\n\t\t\treturn false;\n\t\t}\n\t\tif (get(user.getId()) != null) {\n\t\t\tuserList.add(user);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public void updateUser() {\n\t\tSystem.out.println(\"com.zzu.yhl.a_jdk updateUser\");\r\n\t}",
"public void setUpdateUser(String updateUser) {\r\n\t\tthis.updateUser = updateUser;\r\n\t}",
"public void setUpdateUser(String updateUser) {\r\n\t\tthis.updateUser = updateUser;\r\n\t}",
"@Override\r\n\tpublic void update(User user) {\n\t\tuserDao.update(user);\r\n\t}",
"public void setUpdateUser(String updateUser) {\r\n this.updateUser = updateUser == null ? null : updateUser.trim();\r\n }",
"public void setUpdateUser(String updateUser) {\r\n this.updateUser = updateUser == null ? null : updateUser.trim();\r\n }",
"public User UpdateUser(User user){\n\t\t\treturn user;\n\t\t}",
"public boolean update(User user, String name) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic int modifyUser(User_role newUser) throws Exception{\n\t\treturn userMapper.updateUser(newUser);\n\t}",
"public User update(User updatedInfo);",
"public updateUserInfo_args(updateUserInfo_args other) {\n if (other.isSetUserName()) {\n this.userName = other.userName;\n }\n }",
"public void setModifiedBy(int tmp) {\n this.modifiedBy = tmp;\n }",
"@Override\r\n\tpublic void updateUser(TUsers tuser) {\n\t\tdao.updateUser(tuser);\r\n\t}",
"@Override\n\tpublic User update(User user) {\n\t\tUser oldUser = new User();\n\t\tif(user.getId() !=null) {\n\t\t\toldUser = repo.findById(user.getId()).get();\n\t\t}\n\t\t\toldUser.setUserId(user.getUserId());\n\t\t\toldUser.setName(user.getName());\n\t\t\toldUser.setEmail(user.getEmail());\n\t\t\t\n\t\treturn repo.save(oldUser);\n\t}",
"public void updateUser(User updatedUser){\n ProfileSharedPreferencesRepository.getInstance(application).updateUser(updatedUser);\n }",
"void setUpdateby(final U lastModifiedBy);",
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.User getUpdateUser() {\n return (entity.User)__getInternalInterface().getFieldValue(UPDATEUSER_PROP.get());\n }",
"@Override\n\tpublic int update(TbUser user) {\n\t\treturn new userDaoImpl().update(user);\n\t}",
"@Override\n\t\tpublic void onUserProfileUpdate(User arg0) {\n\t\t\t\n\t\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.User getUpdateUser() {\n return (entity.User)__getInternalInterface().getFieldValue(UPDATEUSER_PROP.get());\n }",
"void editUser(String uid, User newUser);",
"public UserThrift(UserThrift other) {\n __isset_bitfield = other.__isset_bitfield;\n if (other.isSetEmailId()) {\n this.emailId = other.emailId;\n }\n if (other.isSetName()) {\n this.name = other.name;\n }\n if (other.isSetPassword()) {\n this.password = other.password;\n }\n if (other.isSetCountry()) {\n this.country = other.country;\n }\n if (other.isSetPhone()) {\n this.phone = other.phone;\n }\n if (other.isSetLastLoggedIn()) {\n this.lastLoggedIn = other.lastLoggedIn;\n }\n this.active = other.active;\n this.newsletter = other.newsletter;\n this.registered = other.registered;\n }"
] |
[
"0.72832483",
"0.6986158",
"0.690136",
"0.690136",
"0.690136",
"0.66545737",
"0.66400445",
"0.66089666",
"0.651637",
"0.6484698",
"0.6467981",
"0.63148373",
"0.6299573",
"0.62985724",
"0.6296945",
"0.6277081",
"0.62685645",
"0.62685645",
"0.6245092",
"0.6238285",
"0.6225266",
"0.6179601",
"0.6175793",
"0.6155028",
"0.6151553",
"0.6139954",
"0.6133547",
"0.608813",
"0.6076844",
"0.6075358",
"0.6072229",
"0.6070078",
"0.60615265",
"0.60158414",
"0.6004689",
"0.6003406",
"0.5991158",
"0.5987803",
"0.59857154",
"0.5977501",
"0.5967934",
"0.59578013",
"0.59498525",
"0.5948693",
"0.59439534",
"0.59431285",
"0.5941146",
"0.5941034",
"0.59104705",
"0.5872706",
"0.58689815",
"0.5867904",
"0.5865413",
"0.58441615",
"0.58310187",
"0.5828657",
"0.5815995",
"0.5815232",
"0.57941407",
"0.57941407",
"0.579007",
"0.5782452",
"0.5779006",
"0.57534075",
"0.57430357",
"0.57388794",
"0.5724443",
"0.5721933",
"0.5721137",
"0.5719274",
"0.57174087",
"0.5716735",
"0.5716544",
"0.5715737",
"0.5713925",
"0.569147",
"0.5685946",
"0.5674581",
"0.5667762",
"0.5661028",
"0.5661028",
"0.5657727",
"0.56548506",
"0.56548506",
"0.56499034",
"0.56487036",
"0.5648553",
"0.5643705",
"0.5643374",
"0.5639179",
"0.56376714",
"0.56373984",
"0.5637265",
"0.56329906",
"0.56320095",
"0.56313634",
"0.5631139",
"0.56229454",
"0.56160605",
"0.5614352"
] |
0.74982464
|
0
|
Determines if the updateUser has been modified.
|
public boolean isUpdateUserModified() {
return updateUser_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isCreateUserModified() {\n return createUser_is_modified; \n }",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate_is_modified;\n }",
"@Override\r\n\tpublic boolean updateUser() {\n\t\treturn false;\r\n\t}",
"public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}",
"Long getUserUpdated();",
"public boolean isUpdateUserInitialized() {\n return updateUser_is_initialized; \n }",
"protected boolean isUserRecentUpdated() {\r\n\t\tDate lastChangeDate = (Date)userProfile.get(AuthenticationConsts.KEY_LAST_CHANGE_DATE);\r\n\r\n\t\t// Retrieve current user profile from session\r\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\tMap sessionUserProfile = (Map)request.getSession().getAttribute(AuthenticationConsts.USER_PROFILE_KEY);\r\n\r\n\t\tDate lastChangeDateInSession = null;\r\n\t\t// Retrieve user's current timezone offset and last change date\r\n\t\tif (sessionUserProfile != null) {\r\n\t\t\tif (sessionUserProfile.get(AuthenticationConsts.KEY_LAST_CHANGE_DATE) != null) {\r\n\t\t\t\tlastChangeDateInSession = ((Date)sessionUserProfile.get(AuthenticationConsts.KEY_LAST_CHANGE_DATE));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Judge\r\n\t\tif (lastChangeDate == null) {\r\n\t\t\treturn false;\r\n\t\t} else if (lastChangeDateInSession == null) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn lastChangeDate.after(lastChangeDateInSession);\r\n\t\t}\r\n\t}",
"public boolean isUpdated()\n\t{\n\t\treturn mUpdated;\n\t}",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"@Override\n\tpublic boolean doUpdate(SysUser b) throws Exception {\n\t\treturn false;\n\t}",
"public boolean isModified()\n\t{\n\t\treturn isModified;\n\t}",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"private boolean userMadeChanges() {\n\t\treturn userMadeChanges(null);\n\t}",
"boolean isModified();",
"boolean isModified();",
"public long getModifiedByUser();",
"public boolean isRolModified()\n\t{\n\t\treturn rolModified;\n\t}",
"boolean hasUpdate();",
"boolean hasUpdate();",
"public boolean isUpdated() {\n return this.updated;\n }",
"public boolean isUpdate() {\r\n\t\treturn update;\r\n\t}",
"boolean getIsUpdate();",
"public boolean getIsUpdate() {\n return isUpdate_;\n }",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isModifiable() {\n return modifiable.get();\n }",
"public boolean getIsUpdate() {\n return isUpdate_;\n }",
"public boolean isModified();",
"public boolean isModified();",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"public boolean isModified() {\n return isModified;\n }",
"public final boolean isModified() {\n return this.modified;\n }",
"public boolean isRoomstlogidModified() {\n return roomstlogid_is_modified; \n }",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"private boolean isRoleModified(User user) {\n\t\treturn isAdmin != null && !user.getRole().equals(getRole());\n\t}",
"public boolean isMaybeModified() {\n if (Options.get().isModifiedDisabled())\n return !isUnknown(); // if we don't use the modified flag, use the fact that unknown implies non-modified\n return (flags & MODIFIED) != 0;\n }",
"public boolean isPasswordModified()\n\t{\n\t\treturn passwordModified;\n\t}",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"@Override\n\tpublic boolean hasChangedPassword() {\n\t\treturn getInnerObject().hasChangedPassword();\n\t}",
"@WorkflowAction(loggable = false)\n public boolean isModified()\n throws WorkflowException, MappingException, RepositoryException, RemoteException;",
"boolean hasUpdateUfsMode();",
"public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }",
"public boolean isUpdateOnly() {\n return updateOnly;\n }",
"public boolean isUpdateRequired() {\n\t\treturn updateRequired;\n\t}",
"public boolean update(User user, String name) {\n\t\treturn false;\n\t}",
"public boolean isLogdateModified() {\n return logdate_is_modified; \n }",
"boolean isOssModified();",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"public boolean canUpdate();",
"boolean hasUpdateInode();",
"public boolean isRegbyidModified() {\n return regbyid_is_modified; \n }",
"public boolean isRoomstidModified() {\n return roomstid_is_modified; \n }",
"@Override\n\tpublic boolean modify(User user) {\n\t\tConnection connection = null;\n\t\tboolean flag = false;\n\t\ttry {\n\t\t\tconnection = BaseDao.getConnection();\n\t\t\tif(userMapper.modify(connection,user) > 0)\n\t\t\t\tflag = true;\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}finally{\n\t\t\tBaseDao.closeResource(connection, null, null);\n\t\t}\n\t\treturn flag;\n\t}",
"public boolean updateProfile(ApplicationUser applicationUser){\n boolean isUpdated = false;\n applicationUser = mongoDbConnector.updateProfile(applicationUser);\n if(applicationUser != null)\n isUpdated = true;\n return isUpdated;\n }",
"public boolean getUpdateExistingUsers( )\n {\n return _bUpdateExistingUsers;\n }",
"@Override\n\tpublic boolean modifyUser(Account account) {\n\t\treturn false;\n\t}",
"private boolean modifiable() {\n // Only allow un-answered tests/surveys to be modified\n return this.completed.size() == 0;\n }",
"protected abstract boolean supportsForUpdate();",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"@Override\n\tpublic boolean updateByUserHash(User user) {\n\t\tboolean status = userRepository.update(user);\n\t\tif (status) {\n\t\t\tSystem.out.println(\"User has been updated!\");\n\t\t} else {\n\t\t\tSystem.out.println(\"User has not been updated!\");\n\t\t}\n\t\treturn status;\n\t}",
"public boolean isStModified() {\n return st_is_modified; \n }",
"public PersonAndOrganization getLastModifyingUser()\r\n\t{\r\n\t\treturn lastModifyingUser;\r\n\t}",
"@Override\n\tpublic boolean updateUser(Integer Id, User user) {\n\t\treturn false;\n\t}",
"boolean hasTsUpdate();",
"public boolean isStatusdateModified() {\n return statusdate_is_modified; \n }",
"public String getUpdateUser() {\r\n\t\treturn updateUser;\r\n\t}",
"public String getUpdateUser() {\r\n\t\treturn updateUser;\r\n\t}",
"@Override\r\n\tpublic boolean updateUsuario(Usuario user) {\n\t\treturn false;\r\n\t}",
"public boolean isUpdateRight() {\r\n if (getUser() != null) {\r\n return getUser().hasPermission(\"/vocabularies\", \"u\");\r\n }\r\n return false;\r\n }",
"public Long getUpdateUser() {\n return updateUser;\n }",
"public boolean isIdUsusarioModified()\n\t{\n\t\treturn idUsusarioModified;\n\t}",
"public boolean isEditableByUser() {\r\n if ((this.currentStatusChange == null) ||\r\n (this.currentStatusChange.equals(PoStatusCode.PROPOSED)))\r\n return true;\r\n return false;\r\n }",
"public boolean isCustomerIdModified()\n\t{\n\t\treturn customerIdModified;\n\t}",
"public boolean getModified() {\r\n\t\treturn modified;\r\n\t}",
"public String getUpdateUser () {\r\n\t\treturn updateUser;\r\n\t}",
"public boolean checkUniqueLoginOnUpdate(Object objectOfRole) {\n \tif(objectOfRole instanceof Patient) {\n \t\tPatient patient = (Patient) objectOfRole;\n \t\tOptional<User> updatingUser = userRepository.findById(patient.getUser().getId());\n// If username/login is not change\n \t\tif (updatingUser.get().getUsername().equals(patient.getUser().getUsername())) {\n \t\t\treturn true;\n \t\t} else {\n \t\t\tUser findUser = userRepository.findByUsername(patient.getUser().getUsername());\n \t\t\tif (findUser == null) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t} else if(objectOfRole instanceof Employee) {\n \t\tEmployee employee = (Employee) objectOfRole;\n \t\tOptional<User> updatingUser = userRepository.findById(employee.getUser().getId());\n// If username/login is not change\n \t\tif (updatingUser.get().getUsername().equals(employee.getUser().getUsername())) {\n \t\t\treturn true;\n \t\t} else {\n \t\t\tUser findUser = userRepository.findByUsername(employee.getUser().getUsername());\n \t\t\tif (findUser == null) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t} else if(objectOfRole instanceof Doctor) {\n \t\tDoctor doctor = (Doctor) objectOfRole;\n \t\tOptional<User> updatingUser = userRepository.findById(doctor.getUser().getId());\n// If username/login is not change\n \t\tif (updatingUser.get().getUsername().equals(doctor.getUser().getUsername())) {\n \t\t\treturn true;\n \t\t} else {\n \t\t\tUser findUser = userRepository.findByUsername(doctor.getUser().getUsername());\n \t\t\tif (findUser == null) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t} else if(objectOfRole instanceof Owner) {\n \t\tOwner owner = (Owner) objectOfRole;\n \t\tOptional<User> updatingUser = userRepository.findById(owner.getUser().getId());\n// If username/login is not change\n \t\tif (updatingUser.get().getUsername().equals(owner.getUser().getUsername())) {\n \t\t\treturn true;\n \t\t} else {\n \t\t\tUser findUser = userRepository.findByUsername(owner.getUser().getUsername());\n \t\t\tif (findUser == null) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t} \n return false;\n }",
"public boolean isRegdateModified() {\n return regdate_is_modified; \n }",
"@Override\n public boolean updateUser(User user) {\n return controller.updateUser(user);\n }",
"public String getUpdateUser() {\r\n return updateUser;\r\n }",
"public String getUpdateUser() {\r\n return updateUser;\r\n }",
"public boolean isCreateDateModified() {\n return createDate_is_modified; \n }",
"public boolean isRoomidModified() {\n return roomid_is_modified; \n }",
"@Override\r\n public boolean doIsModified() {\r\n return this.updatedGroups.isEmpty();\r\n }",
"public void setModifiedByUser(long modifiedByUser);",
"public boolean update(User u);",
"void setUserUpdated(final Long userUpdated);",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"public Integer getModifiedUser() {\n\t\treturn modifiedUser;\n\t}",
"public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}",
"public Long getModifieduser() {\n return modifieduser;\n }",
"public boolean isEstadoModified()\n\t{\n\t\treturn estadoModified;\n\t}",
"public boolean isSendOnlyUpdatedField() {\n return sendOnlyUpdatedField;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public String getUpdateUser() {\n return updateUser;\n }",
"public boolean isSetUpdate_time() {\n return this.update_time != null;\n }"
] |
[
"0.761217",
"0.7243873",
"0.68577075",
"0.68422616",
"0.68259996",
"0.6772057",
"0.6760507",
"0.67307734",
"0.6726745",
"0.6702265",
"0.6663392",
"0.66425246",
"0.66242623",
"0.6612113",
"0.6601742",
"0.6571413",
"0.6571413",
"0.6555095",
"0.6547294",
"0.65425473",
"0.65425473",
"0.65415853",
"0.65283823",
"0.65165395",
"0.65150946",
"0.6509572",
"0.65058625",
"0.6494947",
"0.64883184",
"0.64883184",
"0.6483344",
"0.64793324",
"0.6397889",
"0.63926274",
"0.63893723",
"0.6384844",
"0.637035",
"0.63348496",
"0.63190085",
"0.6310149",
"0.63052857",
"0.6300849",
"0.6278198",
"0.6272391",
"0.62694675",
"0.6254241",
"0.62533075",
"0.62405455",
"0.62379634",
"0.6233233",
"0.62221915",
"0.62218136",
"0.6209459",
"0.62012404",
"0.61702484",
"0.61663073",
"0.6160782",
"0.61518073",
"0.61388284",
"0.613781",
"0.6130931",
"0.61211604",
"0.6118245",
"0.6117334",
"0.61164904",
"0.6114123",
"0.6113526",
"0.6113526",
"0.611301",
"0.60976005",
"0.60965306",
"0.6090396",
"0.60819125",
"0.6080212",
"0.60789526",
"0.60789144",
"0.6060885",
"0.60501486",
"0.604898",
"0.6042267",
"0.6042267",
"0.60415906",
"0.60412836",
"0.6038908",
"0.603695",
"0.60226244",
"0.6022544",
"0.6021525",
"0.6018866",
"0.6016099",
"0.6013277",
"0.60060966",
"0.599296",
"0.5992068",
"0.5992068",
"0.5992068",
"0.5992068",
"0.5992068",
"0.5992068",
"0.597919"
] |
0.86412877
|
0
|
Determines if the updateUser has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized.
|
public boolean isUpdateUserInitialized() {
return updateUser_is_initialized;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isCreateUserInitialized() {\n return createUser_is_initialized; \n }",
"public boolean isUpdateDateInitialized() {\n return updateDate_is_initialized; \n }",
"public boolean isSetUpdateId() {\n return this.updateId != null;\n }",
"public boolean isSetUpdate_time() {\n return this.update_time != null;\n }",
"public boolean isSetUser() {\n return this.user != null;\n }",
"public boolean isSetUser() {\n return this.user != null;\n }",
"public static boolean checkMandatoryFieldsUpdateUser(Object obj) {\n\n\t\tif (obj instanceof UpdateUserDTO) {\n\n\t\t\tUpdateUserDTO updateUserDTO = (UpdateUserDTO) obj;\n\n\t\t\tif (updateUserDTO.getFirstName().trim().isEmpty()\n\t\t\t\t\t|| updateUserDTO.getLastName().trim().isEmpty()\n\t\t\t\t\t|| updateUserDTO.getAddress1().trim().isEmpty()\n\t\t\t\t\t|| updateUserDTO.getCity().trim().isEmpty()\n\t\t\t\t\t|| updateUserDTO.getState().trim().isEmpty()\n\t\t\t\t\t|| updateUserDTO.getZipCode().trim().isEmpty()\n\t\t\t\t\t|| updateUserDTO.getNewEmailId().trim().isEmpty()\n\n\t\t\t) {\n\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }",
"public boolean wasInitialized()\n {\n return this.isInitialized;\n }",
"public boolean isSetUpdateTime() {\n\t\treturn this.updateTime != null;\n\t}",
"public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }",
"protected boolean acceptUninitializedField(Field f) {\n return false;// by default all property need to be initialized after setup.\n }",
"public static boolean isInitialized() {\n\t\treturn instance != null;\n\t}",
"public boolean isRoomstlogidInitialized() {\n return roomstlogid_is_initialized; \n }",
"public boolean hasObjUser() {\n return objUser_ != null;\n }",
"public boolean isInitialized()\n {\n return isInit;\n }",
"public boolean isSetUpdateId() {\n return EncodingUtils.testBit(__isset_bitfield, __UPDATEID_ISSET_ID);\n }",
"public boolean isRoomidInitialized() {\n return roomid_is_initialized; \n }",
"@Override\r\n\tpublic int checkInit(String name) {\n\t\tint a = -1;\r\n\t\t a = userReposotory.checkInitByName(name);\r\n\t\treturn a;\r\n\t}",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"public boolean isSetUserId() {\n return this.userId != null;\n }",
"public boolean isSetUserInfo() {\n return this.userInfo != null;\n }",
"public boolean isRoomstidInitialized() {\n return roomstid_is_initialized; \n }",
"public boolean hasUser() {\n return userBuilder_ != null || user_ != null;\n }",
"public boolean hasUser() {\n return userBuilder_ != null || user_ != null;\n }",
"@java.lang.Override\n public boolean hasUpdateTime() {\n return updateTime_ != null;\n }",
"public static boolean isInitialized() {\r\n return (isInitialized);\r\n }",
"public boolean isCreateDateInitialized() {\n return createDate_is_initialized; \n }",
"protected static boolean isInitialized(){\n return initialized;\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean isSetUserName() {\r\n return this.userName != null;\r\n }",
"public boolean hasUser() {\n return user_ != null;\n }",
"public boolean hasUser() {\n return user_ != null;\n }",
"public boolean isRoomtypeidInitialized() {\n return roomtypeid_is_initialized; \n }",
"public boolean isInitialized() {\n return initialized;\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_INFO:\n return isSetUserInfo();\n }\n throw new IllegalStateException();\n }",
"public boolean isInitialized()\n {\n return this.initialized;\n }",
"public boolean isSetUserName() {\n return this.userName != null;\n }",
"public boolean isSetUserName() {\n return this.userName != null;\n }",
"public boolean isInitialized()\n {\n return initialized;\n }",
"public boolean isInitialized() {\n return initialized;\n }",
"public boolean isInitialized()\n\t{\n\t\treturn isInitialized;\n\t}",
"public boolean isInitialized() {\r\n return initialized;\r\n }",
"public boolean isSetUserid() {\n return this.userid != null;\n }",
"public static boolean isInitialized() {\n return (registry != null) && (endpointProvider != null);\n }",
"public boolean isInitialized() {\n\t\treturn initialized;\n\t}",
"public boolean isLogdateInitialized() {\n return logdate_is_initialized; \n }",
"public boolean isInit() {\r\n\t\treturn isInit;\r\n\t}",
"protected void checkInitialized() {\n \tcheckState(this.breeder!=null && this.threads!=null, \"Local state was not correctly set after being deserialized.\");\n }",
"public boolean hasUser() {\n return user_ != null;\n }",
"public boolean isInitialized() {\n return getNative().isInitialized();\n }",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_ID:\n return isSetUserId();\n }\n throw new IllegalStateException();\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_ID:\n return isSetUserId();\n }\n throw new IllegalStateException();\n }",
"@Override\n public boolean isInitialized(){\n return isInitialized;\n }",
"public static boolean isInitialized() {\n\t\treturn mInitialized;\n\t}",
"private boolean checkFields() {\n\t\tboolean status = true;\n\n\t\treturn status;\n\t}",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_NAME:\n return isSetUserName();\n }\n throw new IllegalStateException();\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case USER_NAME:\n return isSetUserName();\n }\n throw new IllegalStateException();\n }",
"boolean hasUpdateUfsMode();",
"public boolean hasUpdateUfsMode() {\n return ((bitField0_ & 0x10000000) == 0x10000000);\n }",
"public boolean hasUpdateUfsMode() {\n return ((bitField0_ & 0x10000000) == 0x10000000);\n }",
"public boolean isStatusdateInitialized() {\n return statusdate_is_initialized; \n }",
"public boolean hasUser() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"public boolean isReservationroomidInitialized() {\n return reservationroomid_is_initialized; \n }",
"public static boolean isInitialized() {\n\t\treturn (dataProvider != null);\n\t}",
"public boolean isSetUsername() {\n\t\treturn this.username != null;\n\t}",
"static boolean isInitializing()\n\t{\n\t\treturn INITIALIZING.get();\n\t}",
"public boolean isBlockroomidInitialized() {\n return blockroomid_is_initialized; \n }",
"private void checkForUser(){\n if(mUserId != -1){\n return;\n }\n\n if(mPreferences == null) {\n getPrefs();\n }\n\n mUserId = mPreferences.getInt(USER_ID_KEY, -1);\n\n if(mUserId != -1){\n return;\n }\n\n //do we have any users at all?\n List<User> users = mUserDAO.getAllUsers();\n if(users.size() <= 0 ){\n User defaultUser = new User(\"din_djarin\",\"baby_yoda_ftw\");\n mUserDAO.insert(defaultUser);\n }\n }",
"public boolean hasUser() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public static boolean isInitialized() {\n \treturn sessionFactory != null;\n }",
"public boolean hasRegisteredUser() {\n return registeredUserBuilder_ != null || registeredUser_ != null;\n }",
"public boolean isSetUserIp() {\n return this.userIp != null;\n }",
"public boolean isSetUserIp() {\n return this.userIp != null;\n }",
"public boolean isSet(_Fields field) {\n if (field == null) {\n throw new IllegalArgumentException();\n }\n\n switch (field) {\n case FILE_BYTE_BUFFER:\n return isSetFileByteBuffer();\n case APP_NAME:\n return isSetAppName();\n case ORIGIN_NAME:\n return isSetOriginName();\n case USER_ID:\n return isSetUserId();\n case USER_IP:\n return isSetUserIp();\n }\n throw new IllegalStateException();\n }",
"private boolean checkUserData() {\n UserAccount userAccount = new UserAccount(this);\n customer = userAccount.getCustomer();\n return customer != null;\n }",
"public boolean isUpdateRequired() {\n\t\treturn updateRequired;\n\t}",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean isSetUserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }",
"public boolean hasLogin() {\n return loginBuilder_ != null || login_ != null;\n }"
] |
[
"0.6957022",
"0.67669994",
"0.62463486",
"0.62088495",
"0.6059358",
"0.6059358",
"0.5973973",
"0.59444135",
"0.5889405",
"0.5889405",
"0.5871592",
"0.5852596",
"0.58435875",
"0.58328843",
"0.5832513",
"0.5813428",
"0.58113605",
"0.5793727",
"0.5782945",
"0.5774453",
"0.5766641",
"0.57518405",
"0.57429594",
"0.57429594",
"0.57429594",
"0.57429594",
"0.57429594",
"0.5722819",
"0.5699494",
"0.5690936",
"0.5690936",
"0.56837916",
"0.5678256",
"0.5675896",
"0.5672976",
"0.56699383",
"0.56699383",
"0.56699383",
"0.56699383",
"0.56699383",
"0.5664821",
"0.5664821",
"0.5658644",
"0.5649844",
"0.56440437",
"0.56393605",
"0.5619989",
"0.5619989",
"0.5618541",
"0.5614961",
"0.56113476",
"0.56035167",
"0.5602885",
"0.5598783",
"0.5593631",
"0.5583911",
"0.5578024",
"0.557055",
"0.55689204",
"0.5567023",
"0.55584836",
"0.555568",
"0.555568",
"0.5554438",
"0.55459106",
"0.55422443",
"0.552043",
"0.552043",
"0.5508279",
"0.55012035",
"0.55006874",
"0.5499036",
"0.5463306",
"0.5463061",
"0.54629683",
"0.5461848",
"0.5457653",
"0.5441743",
"0.54231435",
"0.5423007",
"0.54189605",
"0.5412249",
"0.5407376",
"0.5403459",
"0.5403459",
"0.5392904",
"0.5388023",
"0.53850764",
"0.5382034",
"0.5382034",
"0.5382034",
"0.5382034",
"0.5382034",
"0.5382034",
"0.5382034",
"0.5382034",
"0.5382034",
"0.5382034",
"0.5382034",
"0.5373184"
] |
0.7852226
|
0
|
Getter method for updateDate. Meta Data Information (in progress): full name: MTBTypes.update_date column size: 23 jdbc type returned by the driver: Types.TIMESTAMP
|
public java.util.Date getUpdateDate() {
if (updateDate == null) {
return null;
}
return (java.util.Date)updateDate.clone();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Date getUpdateDatetime();",
"Date getUpdatedDate();",
"public Timestamp getUpdateDate() {\n return updateDate;\n }",
"Date getDateUpdated();",
"public String getUpdateDate() {\r\n return updateDate;\r\n }",
"public Date getUpdateDate() {\r\n return updateDate;\r\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Long getUpdateDatetime() {\n return updateDatetime;\n }",
"public Date getUpdateDt() {\n return updateDt;\n }",
"public Date getUpdateDt() {\n return updateDt;\n }",
"public Date getUpdateDatetime() {\r\n\t\treturn updateDatetime;\r\n\t}",
"public Date getUpdatedOn();",
"@Basic( optional = false )\r\n\t@Column( name = \"updated_date\", nullable = false )\r\n\tpublic Date getUpdatedDate() {\r\n\t\treturn this.updatedDate;\r\n\t\t\r\n\t}",
"public Timestamp getUpdateddate() {\n return (Timestamp)getAttributeInternal(UPDATEDDATE);\n }",
"public Date getUpdateDate() {\n\t\treturn updateDate;\n\t}",
"public Date getUpdateDate() {\n\t\treturn updateDate;\n\t}",
"public Date getDATE_UPDATED() {\r\n return DATE_UPDATED;\r\n }",
"public Date getDATE_UPDATED() {\r\n return DATE_UPDATED;\r\n }",
"public Date getUpdatedate() {\r\n return updatedate;\r\n }",
"protected Date extractUpdateDatetimeFromEntity(Member entity) {\r\n return convert(entity.getUpdateDatetime(), Date.class);\r\n }",
"public Date getUpdatedDate() {\n return (Date) getAttributeInternal(UPDATEDDATE);\n }",
"public Date getUpdateDatime() {\r\n return updateDatime;\r\n }",
"public Date getUpdateDatime() {\r\n return updateDatime;\r\n }",
"public Date getUpdatedDate() {\n return updatedDate;\n }",
"public Date getUpdatedate() {\n return updatedate;\n }",
"public Date getUpdatedate() {\n return updatedate;\n }",
"public void setUpdateDatetime(Date updateDatetime);",
"Date getForLastUpdate();",
"public Date getDateUpdated() {\n\t\treturn parseDate(getProperty(DATE_UPDATED_PROPERTY));\n\t}",
"public Date getUpdate_time() {\n return update_time;\n }",
"public Date getUpdate_time() {\n return update_time;\n }",
"public Date getUpdateTimestamp() {\r\n return updateTimestamp;\r\n }",
"public Date getUpdateTimestamp() {\n return updateTimestamp;\n }",
"public java.util.Date getUpdated()\r\n {\r\n return getSemanticObject().getDateProperty(swb_updated);\r\n }",
"public java.util.Date getUpdated()\r\n {\r\n return getSemanticObject().getDateProperty(swb_updated);\r\n }",
"public java.util.Date getUpdated()\r\n {\r\n return getSemanticObject().getDateProperty(swb_updated);\r\n }",
"public java.util.Date getDateUpdated() {\n return dateUpdated;\n }",
"public Date getUpdatedDt() {\n\t\treturn updatedDt;\n\t}",
"public Date getUpdated() {\n return updated;\n }",
"public Date getUpdated() {\n return updated;\n }",
"public void setUpdatedOn(Date updatedOn);",
"public Date getUpdated() {\r\n return updated;\r\n }",
"public Date getUpdated() {\r\n return updated;\r\n }",
"public Date getLastUpdateDate()\n {\n return (Date)getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getUpdated() {\n return mUpdated;\n }",
"public Date getUpdated() {\n return updated;\n }",
"public Date getUpdated() {\n return updated;\n }",
"public Date getUpdatetime() {\r\n return updatetime;\r\n }",
"public Date getUpdatetime() {\n return updatetime;\n }",
"public Date getUpdatetime() {\n return updatetime;\n }",
"void setUpdatedDate(Date updatedDate);",
"public DateTime getUpdatedTimestamp() {\n\t\treturn getDateTime(\"sys_updated_on\");\n\t}",
"public java.lang.String getDate_last_update() {\n return date_last_update;\n }",
"public Date getUpdated() {\r\n\t\treturn updated;\r\n\t}",
"public Date getLastUpdateDate() {\n return (Date)getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getLastUpdateDate() {\n return (Date)getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getLastUpdateDate() {\n return (Date)getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getLastUpdateDate() {\n return (Date)getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getLastUpdateDate() {\n return (Date)getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getLastUpdateDate() {\n return (Date)getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getLastUpdateDate() {\n return (Date)getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getUpdateTime()\n/* */ {\n/* 191 */ return this.updateTime;\n/* */ }",
"public Date getLastUpdatedDate() {\r\n return (Date) getAttributeInternal(LASTUPDATEDDATE);\r\n }",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Date getUpdatedAt() {\n return (Date)getAttributeInternal(UPDATEDAT);\n }",
"public Date getUpdatedAt() {\n return (Date)getAttributeInternal(UPDATEDAT);\n }",
"public DateTime getUpdatedDateTime() {\n return updatedDateTime;\n }",
"public Date getLastUpdateDate() {\n return (Date) getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getLastUpdateDate() {\n return (Date) getAttributeInternal(LASTUPDATEDATE);\n }",
"public Date getUpdatedAt(final SessionContext ctx)\n\t{\n\t\treturn (Date)getProperty( ctx, UPDATEDAT);\n\t}",
"public String getUpdYmd() {\n return updYmd;\n }",
"public java.util.Calendar getUpdatedDate() {\n return updatedDate;\n }",
"public void setUpdateDate(Timestamp updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(String updateDate) {\r\n this.updateDate = updateDate;\r\n }",
"public long getDateRecordLastUpdated(){\n return dateRecordLastUpdated;\n }",
"public void setDATE_UPDATED(Date DATE_UPDATED) {\r\n this.DATE_UPDATED = DATE_UPDATED;\r\n }",
"public void setDATE_UPDATED(Date DATE_UPDATED) {\r\n this.DATE_UPDATED = DATE_UPDATED;\r\n }",
"public void setUpdatedate(Date updatedate) {\r\n this.updatedate = updatedate;\r\n }",
"@ApiModelProperty(value = \"修改时间\")\n public Date getRowUpdateTime() {\n return rowUpdateTime;\n }"
] |
[
"0.78667563",
"0.7680193",
"0.7548106",
"0.7545893",
"0.7390668",
"0.73708576",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.7343011",
"0.733692",
"0.73250943",
"0.73250943",
"0.7291223",
"0.71881205",
"0.71735084",
"0.7167591",
"0.7166991",
"0.7166991",
"0.71590084",
"0.71590084",
"0.7071227",
"0.7055816",
"0.7036401",
"0.700997",
"0.700997",
"0.70068216",
"0.6995478",
"0.6995478",
"0.6971704",
"0.69121754",
"0.6845741",
"0.6822739",
"0.6822739",
"0.67787975",
"0.6754914",
"0.6732526",
"0.6732526",
"0.6732526",
"0.6729299",
"0.6726177",
"0.6706892",
"0.6706892",
"0.6704486",
"0.66735965",
"0.66735965",
"0.665089",
"0.6633867",
"0.66282386",
"0.66282386",
"0.6619801",
"0.6576018",
"0.6576018",
"0.65721214",
"0.65658396",
"0.65326446",
"0.6519774",
"0.64947975",
"0.64947975",
"0.64947975",
"0.64947975",
"0.64947975",
"0.64947975",
"0.64947975",
"0.6488841",
"0.6466107",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6465315",
"0.6463201",
"0.6463201",
"0.64617497",
"0.6460422",
"0.6460422",
"0.6448222",
"0.6443429",
"0.6412826",
"0.6410784",
"0.6405924",
"0.6399592",
"0.6390477",
"0.6390477",
"0.63816017",
"0.63792795"
] |
0.7204718
|
20
|
Setter method for updateDate. The new value is set only if compareTo() says it is different, or if one of either the new value or the current value is null. In case the new value is different, it is set and the field is marked as 'modified'.
|
public void setUpdateDate(java.util.Date newVal) {
if ((newVal != null && this.updateDate != null && (newVal.compareTo(this.updateDate) == 0)) ||
(newVal == null && this.updateDate == null && updateDate_is_initialized)) {
return;
}
try {
this.updateDate = (java.util.Date)newVal.clone();
} catch (Exception e) {
// do nothing
}
updateDate_is_modified = true;
updateDate_is_initialized = true;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"void setUpdatedDate(Date updatedDate);",
"void setDateUpdated(final Date dateUpdated);",
"public void setUpdatedOn(Date updatedOn);",
"public void setUpdated(Date updated) {\r\n this.updated = updated;\r\n }",
"public void setUpdated(Date updated) {\r\n this.updated = updated;\r\n }",
"public void setModified(Date v) \n {\n \n if (!ObjectUtils.equals(this.modified, v))\n {\n this.modified = v;\n setModified(true);\n }\n \n \n }",
"public void setUpdated(Date updated) {\n this.updated = updated;\n }",
"public void setUpdated(Date updated) {\n this.updated = updated;\n }",
"public void setUpdatedDate(Date value) {\n setAttributeInternal(UPDATEDDATE, value);\n }",
"public void setUpdated(Date updated) {\r\n\t\tthis.updated = updated;\r\n\t}",
"public void setUpdatedate(Date updatedate) {\r\n this.updatedate = updatedate;\r\n }",
"public void setUpdatedDate(Date date) {\n\t\tthis.updatedDate=date;\r\n\t}",
"public void setUpdateDate(Date updateDate) {\r\n this.updateDate = updateDate;\r\n }",
"public void setUpdated(java.util.Date value)\r\n {\r\n getSemanticObject().setDateProperty(swb_updated, value);\r\n }",
"public void setUpdated(java.util.Date value)\r\n {\r\n getSemanticObject().setDateProperty(swb_updated, value);\r\n }",
"public void setUpdated(java.util.Date value)\r\n {\r\n getSemanticObject().setDateProperty(swb_updated, value);\r\n }",
"public void setUpdateDatetime(Date updateDatetime);",
"public void setUpdatedate(Date updatedate) {\n this.updatedate = updatedate;\n }",
"public void setUpdatedate(Date updatedate) {\n this.updatedate = updatedate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setDATE_UPDATED(Date DATE_UPDATED) {\r\n this.DATE_UPDATED = DATE_UPDATED;\r\n }",
"public void setDATE_UPDATED(Date DATE_UPDATED) {\r\n this.DATE_UPDATED = DATE_UPDATED;\r\n }",
"public void setUpdateDate( Date updateDate ) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate( Date updateDate ) {\n this.updateDate = updateDate;\n }",
"public void setModifiedDate(Date value) {\n this.modifiedDate = value;\n }",
"public void setModifiedDate(Date value) {\n this.modifiedDate = value;\n }",
"public void setUpdateDt(Date updateDt) {\n this.updateDt = updateDt;\n }",
"public void setUpdateDt(Date updateDt) {\n this.updateDt = updateDt;\n }",
"public void setUpdatedDt(Date updatedDt) {\n\t\tthis.updatedDt = updatedDt;\n\t}",
"public void setUpdateTime(Date updateTime)\n/* */ {\n/* 198 */ this.updateTime = updateTime;\n/* */ }",
"public void setStatusdate(java.sql.Timestamp newVal) {\n if ((newVal != null && this.statusdate != null && (newVal.compareTo(this.statusdate) == 0)) || \n (newVal == null && this.statusdate == null && statusdate_is_initialized)) {\n return; \n } \n this.statusdate = newVal; \n statusdate_is_modified = true; \n statusdate_is_initialized = true; \n }",
"public void setUpdatedon( Date updatedon )\n {\n this.updatedon = updatedon;\n }",
"public void setDateModified(Date dateModified);",
"public void updateDateModified() {\n dateModified = DateTime.now();\n }",
"private void setUpdateTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(UPDATETIME_PROP.get(), value);\n }",
"public void setUpdateDate(Date updateDate) {\n\t\tthis.updateDate = updateDate;\n\t}",
"public void setUpdatedDate(final Date updatedDate) {\r\n\t\tthis.updatedDate = updatedDate;\r\n\t}",
"public void setUpdatedDate(java.util.Calendar updatedDate) {\n this.updatedDate = updatedDate;\n }",
"@NoProxy\n public void updateDtstamp() {\n setDtstamp(new DtStamp(new DateTime(true)).getValue());\n }",
"public void setModifiedDate(Date modifiedDate);",
"public void setModifiedDate(Date modifiedDate);",
"public void setModifiedDate(Date modifiedDate);",
"@Override\n\tpublic void setUpdateTime(Date updateTime) {\n\t\t\n\t}",
"public void setUpdateDate(Timestamp updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(String updateDate) {\r\n this.updateDate = updateDate;\r\n }",
"public final void updateChangeDateTime() {\n \tm_changeDate = System.currentTimeMillis();\n }",
"public void setUpdateDate(long newVal) {\n setUpdateDate(new java.util.Date(newVal));\n }",
"public void setUpdateTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(UPDATETIME_PROP.get(), value);\n }",
"public void setLastUpdateDate(Date value)\n {\n setAttributeInternal(LASTUPDATEDATE, value);\n }",
"public void setDateUpdated(java.util.Date dateUpdated) {\n this.dateUpdated = dateUpdated;\n }",
"@Override\n\tpublic void setModifiedDate(Date modifiedDate) {\n\t\t_changesetEntry.setModifiedDate(modifiedDate);\n\t}",
"@Override\n\tpublic void setLastUpdatedTime(Date lastUpdated) {\n\n\t}",
"public void setCateUpdated(Date cateUpdated) {\n this.cateUpdated = cateUpdated;\n }",
"public final void updateModifyDateTime() {\n \tm_modifyDate = System.currentTimeMillis();\n \tm_accessDate = m_modifyDate;\n }",
"public void setModifiedDate(Date value) {\n setAttributeInternal(MODIFIEDDATE, value);\n }",
"public void updateDate(Date date);",
"@Override\n\tpublic void setModifiedDate(Date modifiedDate);",
"@Override\n\tpublic void setModifiedDate(Date modifiedDate);",
"@Override\n\tpublic void setModifiedDate(Date modifiedDate) {\n\t\t_second.setModifiedDate(modifiedDate);\n\t}",
"@PreUpdate\n private void beforeUpdate() {\n updatedDate = new Date();\n }",
"@Override\n\tpublic void setModifiedDate(Date modifiedDate) {\n\t\tmodel.setModifiedDate(modifiedDate);\n\t}",
"@Override\n\tpublic void setModifiedDate(Date modifiedDate) {\n\t\tmodel.setModifiedDate(modifiedDate);\n\t}",
"@Override\n\tpublic void setModifiedDate(Date modifiedDate) {\n\t\tmodel.setModifiedDate(modifiedDate);\n\t}",
"@Override\n\tpublic void setModifiedDate(java.util.Date modifiedDate) {\n\t\t_dmGtStatus.setModifiedDate(modifiedDate);\n\t}",
"public void setLastUpdateDate(Date value) {\n setAttributeInternal(LASTUPDATEDATE, value);\n }",
"public void setLastUpdateDate(Date value) {\n setAttributeInternal(LASTUPDATEDATE, value);\n }",
"public void setLastUpdateDate(Date value) {\n setAttributeInternal(LASTUPDATEDATE, value);\n }",
"public void setLastUpdateDate(Date value) {\n setAttributeInternal(LASTUPDATEDATE, value);\n }",
"public void setLastUpdateDate(Date value) {\n setAttributeInternal(LASTUPDATEDATE, value);\n }",
"public void setLastUpdateDate(Date value) {\n setAttributeInternal(LASTUPDATEDATE, value);\n }",
"public void setLastUpdateDate(Date value) {\n setAttributeInternal(LASTUPDATEDATE, value);\n }",
"public void setLastUpdateDate(Date value) {\n setAttributeInternal(LASTUPDATEDATE, value);\n }",
"public Date getUpdateDate() {\r\n return updateDate;\r\n }",
"@Override\n\tpublic boolean update(Dates obj) {\n\t\treturn false;\n\t}",
"public Date getUpdatedate() {\r\n return updatedate;\r\n }",
"public void setLastUpdatedDate(Date value) {\r\n setAttributeInternal(LASTUPDATEDDATE, value);\r\n }",
"public void setUpdatedAt(Date value) {\n setAttributeInternal(UPDATEDAT, value);\n }",
"public void setUpdatedAt(Date value) {\n setAttributeInternal(UPDATEDAT, value);\n }",
"@Override\n\tpublic void setModifiedDate(Date modifiedDate) {\n\t\t_userTracker.setModifiedDate(modifiedDate);\n\t}",
"public void setCreateDate(java.util.Date newVal) {\n if ((newVal != null && this.createDate != null && (newVal.compareTo(this.createDate) == 0)) || \n (newVal == null && this.createDate == null && createDate_is_initialized)) {\n return; \n } \n try {\n this.createDate = (java.util.Date)newVal.clone();\n } catch (Exception e) {\n // do nothing\n }\n\n createDate_is_modified = true; \n createDate_is_initialized = true; \n }",
"public void setUpdateAt( Date updateAt ) {\n this.updateAt = updateAt;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdatedDate() {\n return updatedDate;\n }"
] |
[
"0.7464104",
"0.7394089",
"0.73089975",
"0.71810627",
"0.71810627",
"0.717156",
"0.7084746",
"0.7084746",
"0.6995888",
"0.6991866",
"0.69694775",
"0.6966814",
"0.69307196",
"0.690588",
"0.690588",
"0.690588",
"0.6889183",
"0.6873692",
"0.6873692",
"0.68644434",
"0.68644434",
"0.68644434",
"0.68644434",
"0.68644434",
"0.68644434",
"0.68644434",
"0.68644434",
"0.68644434",
"0.682443",
"0.682443",
"0.6809711",
"0.6809711",
"0.6783716",
"0.6783716",
"0.67750686",
"0.67750686",
"0.67575216",
"0.6748246",
"0.6699504",
"0.66891634",
"0.66865534",
"0.6654474",
"0.66496736",
"0.6632042",
"0.66307575",
"0.6570725",
"0.6568051",
"0.65075576",
"0.65075576",
"0.65075576",
"0.6473943",
"0.64716655",
"0.6455224",
"0.6447931",
"0.64379233",
"0.6435667",
"0.6418159",
"0.63983476",
"0.63839054",
"0.63748485",
"0.63706756",
"0.63650537",
"0.6362899",
"0.63381445",
"0.63238823",
"0.63238823",
"0.6317079",
"0.6299496",
"0.62825614",
"0.62825614",
"0.62825614",
"0.6255538",
"0.62542826",
"0.62542826",
"0.62542826",
"0.62542826",
"0.62542826",
"0.62542826",
"0.62542826",
"0.62542826",
"0.62535816",
"0.6232256",
"0.6230772",
"0.62288505",
"0.6224057",
"0.6224057",
"0.62158656",
"0.6189212",
"0.61863804",
"0.61778134",
"0.61778134",
"0.61778134",
"0.61778134",
"0.61778134",
"0.61778134",
"0.61778134",
"0.61778134",
"0.61778134",
"0.61778134",
"0.6175149"
] |
0.76859623
|
0
|
Setter method for updateDate. Convenient for those who do not want to deal with Objects for primary types.
|
public void setUpdateDate(long newVal) {
setUpdateDate(new java.util.Date(newVal));
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"void setUpdatedDate(Date updatedDate);",
"public void setUpdateDatetime(Date updateDatetime);",
"public void setUpdatedOn(Date updatedOn);",
"public void updateDate(Date date);",
"public void setUpdateDate(java.util.Date newVal) {\n if ((newVal != null && this.updateDate != null && (newVal.compareTo(this.updateDate) == 0)) || \n (newVal == null && this.updateDate == null && updateDate_is_initialized)) {\n return; \n } \n try {\n this.updateDate = (java.util.Date)newVal.clone();\n } catch (Exception e) {\n // do nothing\n }\n\n updateDate_is_modified = true; \n updateDate_is_initialized = true; \n }",
"void setDateUpdated(final Date dateUpdated);",
"public void setUpdateDate(Date updateDate) {\r\n this.updateDate = updateDate;\r\n }",
"void setDate(Date data);",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate(Date updateDate) {\n this.updateDate = updateDate;\n }",
"public void setUpdatedate(Date updatedate) {\r\n this.updatedate = updatedate;\r\n }",
"public void setEditDate(Date editDate)\r\n/* */ {\r\n/* 193 */ this.editDate = editDate;\r\n/* */ }",
"public void setUpdatedDate(Date date) {\n\t\tthis.updatedDate=date;\r\n\t}",
"public void setUpdateDt(Date updateDt) {\n this.updateDt = updateDt;\n }",
"public void setUpdateDt(Date updateDt) {\n this.updateDt = updateDt;\n }",
"public void setUpdateDate( Date updateDate ) {\n this.updateDate = updateDate;\n }",
"public void setUpdateDate( Date updateDate ) {\n this.updateDate = updateDate;\n }",
"public void SetDate(Date date);",
"public void setUpdatedate(Date updatedate) {\n this.updatedate = updatedate;\n }",
"public void setUpdatedate(Date updatedate) {\n this.updatedate = updatedate;\n }",
"public void setDate(long value) {\n this.date = value;\n }",
"public void setUpdateTime(Date updateTime)\n/* */ {\n/* 198 */ this.updateTime = updateTime;\n/* */ }",
"public void setUpdateDate(Date updateDate) {\n\t\tthis.updateDate = updateDate;\n\t}",
"public abstract void setDate(Timestamp uneDate);",
"@Override\n\tprotected void setDate() {\n\n\t}",
"@Override\n\tpublic boolean update(Dates obj) {\n\t\treturn false;\n\t}",
"public void setDate(long date)\r\n/* 199: */ {\r\n/* 200:299 */ setDate(\"Date\", date);\r\n/* 201: */ }",
"public void setUpdateDate(String updateDate) {\r\n this.updateDate = updateDate;\r\n }",
"public void setDate(java.util.Date param){\n \n this.localDate=param;\n \n\n }",
"public void setUpdatedDate(Date value) {\n setAttributeInternal(UPDATEDDATE, value);\n }",
"@NoProxy\n public void updateDtstamp() {\n setDtstamp(new DtStamp(new DateTime(true)).getValue());\n }",
"public void setDate(Date date) {\r\n this.date = date;\r\n }",
"public void setUpdated(Date updated) {\r\n this.updated = updated;\r\n }",
"public void setUpdated(Date updated) {\r\n this.updated = updated;\r\n }",
"public void setUpdateDate(Timestamp updateDate) {\n this.updateDate = updateDate;\n }",
"public void setDate(DateTime \n date) {\n this.date = date;\n }",
"public void setDate() {\n this.date = new Date();\n }",
"public void setDate(int dt) {\n date = dt;\n }",
"public void setUpdatedAt(final Date value)\n\t{\n\t\tsetUpdatedAt( getSession().getSessionContext(), value );\n\t}",
"public void setDate(long date) {\r\n\t\tthis.date = new Date(date);\r\n\t}",
"public void setDate(Date date) {\n mDate = date;\n }",
"public void setDate(Date date) {\n\t\n\t\tthis.date = date;\n\t\n\t}",
"public void setDate(Date date) {\n this.date = date;\n }",
"public void setDate(Date date) {\n this.date = date;\n }",
"public void setDate(Date date) {\n this.date = date;\n }",
"public void setDate(Date date) {\n this.date = date;\n }",
"public void setDate(Date date) {\n this.date = date;\n }",
"public void setDate(Date date) {\n this.date = date;\n }",
"public void setDate(Date date) {\n this.date = date;\n }",
"public void setDate(Date date) {\n this.date = date;\n }",
"public void setDate(Date date) {\n this.date = date;\n }",
"public void updateBDate() {\n bDate = new Date();\n }",
"private void setUpdateTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(UPDATETIME_PROP.get(), value);\n }",
"public void setDate(Date date) {\r\n\t\tthis.date = date;\r\n\t}",
"public void setDate(Date date) {\r\n\t\tthis.date = date;\r\n\t}",
"public void setDate(Date date) {\r\n\t\tthis.date = date;\r\n\t}",
"public void setDateModified(Date dateModified);",
"public void setToDate(Date toDate)\r\n/* 33: */ {\r\n/* 34:39 */ this.toDate = toDate;\r\n/* 35: */ }",
"@Override\n\tpublic Long updateStartDate() {\n\t\treturn null;\n\t}",
"public void setUpdated(Date updated) {\n this.updated = updated;\n }",
"public void setUpdated(Date updated) {\n this.updated = updated;\n }",
"public void setDate(int date){\n this.date = date;\n }",
"public void setUpdateDatime(Date updateDatime) {\r\n this.updateDatime = updateDatime;\r\n }",
"public void setUpdateDatime(Date updateDatime) {\r\n this.updateDatime = updateDatime;\r\n }",
"public void updateDate()\n\t{\n\t\t// Translate year, month and day into a Date object.\n\t\tmDate = new GregorianCalendar(mYear, mMonth, mDay, mHour, mMin).getTime();\n\t\t\n\t\t// Update arguments to preserve selected value on rotation.\n\t\tgetArguments().putSerializable(CrimeFragment.EXTRA_DATE, mDate);\n\t}",
"public void setDATE_UPDATED(Date DATE_UPDATED) {\r\n this.DATE_UPDATED = DATE_UPDATED;\r\n }",
"public void setDATE_UPDATED(Date DATE_UPDATED) {\r\n this.DATE_UPDATED = DATE_UPDATED;\r\n }",
"public void setUpdatedDt(Date updatedDt) {\n\t\tthis.updatedDt = updatedDt;\n\t}",
"public void setUpdatedon( Date updatedon )\n {\n this.updatedon = updatedon;\n }",
"@Override\n\tpublic Long updateEndDate() {\n\t\treturn null;\n\t}",
"public void setValue(java.util.Date value) {\n this.value = value;\n }",
"public void setModifiedDate(Date value) {\n this.modifiedDate = value;\n }",
"public void setModifiedDate(Date value) {\n this.modifiedDate = value;\n }",
"public void setUpdated(java.util.Date value)\r\n {\r\n getSemanticObject().setDateProperty(swb_updated, value);\r\n }",
"public void setUpdated(java.util.Date value)\r\n {\r\n getSemanticObject().setDateProperty(swb_updated, value);\r\n }",
"public void setUpdated(java.util.Date value)\r\n {\r\n getSemanticObject().setDateProperty(swb_updated, value);\r\n }",
"private void setDate() {\n\t\tthis.date = Integer.parseInt(this.year + String.format(\"%02d\", this.calenderWeek));\n\n\t}",
"public Date getUpdateDate() {\r\n return updateDate;\r\n }",
"public void setCreateDate(java.util.Date newVal) {\n if ((newVal != null && this.createDate != null && (newVal.compareTo(this.createDate) == 0)) || \n (newVal == null && this.createDate == null && createDate_is_initialized)) {\n return; \n } \n try {\n this.createDate = (java.util.Date)newVal.clone();\n } catch (Exception e) {\n // do nothing\n }\n\n createDate_is_modified = true; \n createDate_is_initialized = true; \n }",
"public void setStatusdate(java.sql.Timestamp newVal) {\n if ((newVal != null && this.statusdate != null && (newVal.compareTo(this.statusdate) == 0)) || \n (newVal == null && this.statusdate == null && statusdate_is_initialized)) {\n return; \n } \n this.statusdate = newVal; \n statusdate_is_modified = true; \n statusdate_is_initialized = true; \n }",
"public void setServiceDate(java.util.Date value);",
"public void setDate(long date) {\n\t\tthis.date = date;\n\t}",
"public void setModified(Date v) \n {\n \n if (!ObjectUtils.equals(this.modified, v))\n {\n this.modified = v;\n setModified(true);\n }\n \n \n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }",
"public Date getUpdateDate() {\n return updateDate;\n }"
] |
[
"0.75876004",
"0.7499481",
"0.73412406",
"0.7278901",
"0.7272784",
"0.7233985",
"0.71320635",
"0.71044266",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7043403",
"0.7032972",
"0.7010187",
"0.6994033",
"0.6991487",
"0.6991487",
"0.6955112",
"0.6955112",
"0.6954078",
"0.6932853",
"0.6932853",
"0.6901351",
"0.68253165",
"0.67293423",
"0.6728935",
"0.6721797",
"0.67188144",
"0.66839",
"0.66725117",
"0.66578937",
"0.664769",
"0.6605927",
"0.6593844",
"0.6582974",
"0.6582974",
"0.6573019",
"0.65680844",
"0.65659416",
"0.65335155",
"0.65326315",
"0.6521035",
"0.65038425",
"0.64983356",
"0.64955884",
"0.64955884",
"0.64955884",
"0.64955884",
"0.64955884",
"0.64955884",
"0.64955884",
"0.64955884",
"0.64955884",
"0.64869106",
"0.64827293",
"0.64737624",
"0.64737624",
"0.64737624",
"0.6472534",
"0.6471317",
"0.647012",
"0.64557153",
"0.64557153",
"0.64530075",
"0.6452957",
"0.6452957",
"0.6451786",
"0.64439774",
"0.64439774",
"0.64369583",
"0.64239585",
"0.64148766",
"0.6413663",
"0.64076906",
"0.64076906",
"0.63989496",
"0.63989496",
"0.63989496",
"0.6398769",
"0.6394139",
"0.63804054",
"0.6367295",
"0.63442343",
"0.63405496",
"0.6326878",
"0.63226396",
"0.63226396",
"0.63226396",
"0.63226396",
"0.63226396",
"0.63226396",
"0.63226396",
"0.63226396",
"0.63226396",
"0.63226396"
] |
0.671415
|
33
|
Determines if the updateDate has been modified.
|
public boolean isUpdateDateModified() {
return updateDate_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isLogdateModified() {\n return logdate_is_modified; \n }",
"public boolean isStatusdateModified() {\n return statusdate_is_modified; \n }",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}",
"public boolean isCreateDateModified() {\n return createDate_is_modified; \n }",
"public boolean isUpdated()\n\t{\n\t\treturn mUpdated;\n\t}",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"public final boolean hasModifyDateTime() {\n \treturn m_modifyDate != 0L ? true : false;\n }",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isModified() {\n return MTBTypesKey_is_modified || \n type_is_modified || \n description_is_modified || \n tableName_is_modified || \n columnName_is_modified || \n createUser_is_modified || \n createDate_is_modified || \n updateUser_is_modified || \n updateDate_is_modified;\n }",
"public boolean isUpdated() {\n return this.updated;\n }",
"public boolean isUpdateUserModified() {\n return updateUser_is_modified; \n }",
"public Date getDateModifed(){return dateModified;}",
"public boolean isRegdateModified() {\n return regdate_is_modified; \n }",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"boolean isModified();",
"boolean isModified();",
"public Date getDateModified();",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"@java.lang.Override\n public boolean hasUpdateTime() {\n return updateTime_ != null;\n }",
"public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }",
"public boolean isModified()\n\t{\n\t\treturn isModified;\n\t}",
"Date getDateUpdated();",
"public boolean hasUpdatedAt() {\n return updatedAt_ != null;\n }",
"public boolean isSetUpdate_time() {\n return this.update_time != null;\n }",
"boolean isOssModified();",
"public boolean isModified();",
"public boolean isModified();",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }",
"public boolean isModified() {\n return isModified;\n }",
"public boolean isUpdate() {\r\n\t\treturn update;\r\n\t}",
"public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }",
"boolean hasTsUpdate();",
"public boolean isSetUpdateTime() {\n\t\treturn this.updateTime != null;\n\t}",
"public final boolean isModified() {\n return this.modified;\n }",
"public boolean hasLastModifiedAt() {\n return lastModifiedAtBuilder_ != null || lastModifiedAt_ != null;\n }",
"boolean hasUpdate();",
"boolean hasUpdate();",
"public boolean isStModified() {\n return st_is_modified; \n }",
"public boolean hasUpdatedAt() {\n return updatedAtBuilder_ != null || updatedAt_ != null;\n }",
"boolean getIsUpdate();",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isSetUpdatedAt() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __UPDATEDAT_ISSET_ID);\n }",
"public boolean getIsUpdate() {\n return isUpdate_;\n }",
"boolean hasUpdateTriggerTime();",
"public boolean getIsUpdate() {\n return isUpdate_;\n }",
"boolean isModified(SynchronizationRequest request)\n throws IOException {\n\n long modifiedTime = 0;\n\n if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_NONE) {\n return true;\n } else if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_MODIFICATION_TIME) {\n modifiedTime = request.getFile().lastModified();\n } else if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_MODIFIED_SINCE) { \n return true;\n } else if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_FILE) {\n BufferedReader is = null;\n\n try {\n is = new BufferedReader(\n new FileReader(request.getTimestampFile()));\n modifiedTime = Long.parseLong(is.readLine());\n\n is.close();\n\n is = null;\n } finally {\n if (is != null) {\n try {\n is.close();\n } catch (Exception ex) {\n //ignore\n }\n }\n }\n } else {\n assert false;\n }\n\n assert (request.getTimestamp() <= modifiedTime);\n if (request.getTimestamp() < modifiedTime) {\n request.setTimestamp(modifiedTime);\n return true;\n } else {\n return false;\n }\n }",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"@java.lang.Override\n public boolean hasLastModifiedAt() {\n return lastModifiedAt_ != null;\n }",
"public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}",
"public boolean getADateChanged() {\r\n return !OpbComparisonHelper.isEqual(\r\n aDate, aDateDataSourceValue);\r\n }",
"public java.util.Date getDateModified(){\r\n\t\treturn dateModified;\r\n\t}",
"public Date getDATE_UPDATED() {\r\n return DATE_UPDATED;\r\n }",
"public Date getDATE_UPDATED() {\r\n return DATE_UPDATED;\r\n }",
"public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}",
"private boolean isModified( File file ) {\r\n\t\tString dateFromClient = request.getHeaderFields().get( HeaderFields.IF_MODIFIED_SINCE );\r\n\t\tif ( dateFromClient == null )\r\n\t\t\treturn true;\r\n\t\t// Remove last three significant digits, because convert date from\r\n\t\t// String to long lose last three significant digits.\r\n\t\tlong lastModified = ( file.lastModified() / 1000L ) * 1000L;\r\n\t\ttry {\r\n\t\t\tDate clientDate = ( Date ) Utils.DATE_FORMATE.parse( dateFromClient );\r\n\t\t\treturn lastModified > clientDate.getTime();\r\n\t\t} catch ( Exception e ) {\r\n\t\t\t// If there is exception, assume file is modified\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"public Date getUpdated() {\r\n\t\treturn updated;\r\n\t}",
"public boolean hasLASTMODIFIEDDT() {\n return fieldSetFlags()[2];\n }",
"public final boolean hasChangeDateTime() {\n \treturn m_changeDate != 0L ? true : false;\n }",
"public boolean isMaybeModified() {\n if (Options.get().isModifiedDisabled())\n return !isUnknown(); // if we don't use the modified flag, use the fact that unknown implies non-modified\n return (flags & MODIFIED) != 0;\n }",
"boolean hasUpdatedAt();",
"public Date getUpdated() {\r\n return updated;\r\n }",
"public Date getUpdated() {\r\n return updated;\r\n }",
"public Date getModifiedDate();",
"public Date getModifiedDate();",
"public Date getModifiedDate();",
"public Date getModified() {\r\n\t\treturn modified;\r\n\t}",
"public Date getUpdatedOn();",
"public boolean isSetLastmodifyTimestamp() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMP_ISSET_ID);\n }",
"public boolean isSetUpdateTime() {\n return __isset_bit_vector.get(__UPDATETIME_ISSET_ID);\n }",
"public boolean setModifiedDate(String date)\r\n \t{\r\n lastModified = date;\r\n return true;\r\n }",
"Date getUpdatedDate();",
"public void updateDateModified() {\n dateModified = DateTime.now();\n }",
"public Date getUpdated() {\n return updated;\n }",
"public Date getUpdated() {\n return updated;\n }",
"public boolean updated()\r\n\t{\r\n\t\treturn bChanged;\r\n\t}",
"public Date getUpdated() {\n return updated;\n }",
"public Date getUpdated() {\n return updated;\n }",
"protected boolean isUserRecentUpdated() {\r\n\t\tDate lastChangeDate = (Date)userProfile.get(AuthenticationConsts.KEY_LAST_CHANGE_DATE);\r\n\r\n\t\t// Retrieve current user profile from session\r\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\tMap sessionUserProfile = (Map)request.getSession().getAttribute(AuthenticationConsts.USER_PROFILE_KEY);\r\n\r\n\t\tDate lastChangeDateInSession = null;\r\n\t\t// Retrieve user's current timezone offset and last change date\r\n\t\tif (sessionUserProfile != null) {\r\n\t\t\tif (sessionUserProfile.get(AuthenticationConsts.KEY_LAST_CHANGE_DATE) != null) {\r\n\t\t\t\tlastChangeDateInSession = ((Date)sessionUserProfile.get(AuthenticationConsts.KEY_LAST_CHANGE_DATE));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Judge\r\n\t\tif (lastChangeDate == null) {\r\n\t\t\treturn false;\r\n\t\t} else if (lastChangeDateInSession == null) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn lastChangeDate.after(lastChangeDateInSession);\r\n\t\t}\r\n\t}",
"public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}",
"public boolean getModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isSetLastmodifyTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMPMS_ISSET_ID);\n }",
"public boolean isSetLastmodifyTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMPMS_ISSET_ID);\n }",
"public Date getModifiedDate() {\r\n return modifiedDate;\r\n }",
"public Date getModifiedDate() {\r\n return modifiedDate;\r\n }",
"public boolean hasUpdateTriggerTime() {\n return instance.hasUpdateTriggerTime();\n }",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"private boolean isSeedsInfoUpdated(String tDate){\n \treturn mSharedPref.getBoolean(tDate,false); \t\n }",
"public boolean isUpdateOnly() {\n return updateOnly;\n }",
"public Date getDATE_MODIFIED() {\r\n return DATE_MODIFIED;\r\n }",
"public Date getDATE_MODIFIED() {\r\n return DATE_MODIFIED;\r\n }",
"public Date getDATE_MODIFIED() {\r\n return DATE_MODIFIED;\r\n }",
"public Date getModifieddate() {\n return modifieddate;\n }",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();",
"public Timestamp getUpdated();"
] |
[
"0.7688009",
"0.7662295",
"0.75512224",
"0.7443991",
"0.7390878",
"0.7331979",
"0.7311548",
"0.7253338",
"0.72453165",
"0.72192013",
"0.72192013",
"0.7179954",
"0.7138592",
"0.71260977",
"0.7124187",
"0.71085143",
"0.70744294",
"0.69827026",
"0.69681954",
"0.69681954",
"0.6907803",
"0.69047385",
"0.6898237",
"0.68871814",
"0.6886386",
"0.6870425",
"0.6869021",
"0.68636185",
"0.6863196",
"0.6860356",
"0.6860356",
"0.68567204",
"0.68486005",
"0.682447",
"0.6817281",
"0.6806106",
"0.68016833",
"0.67826295",
"0.6757614",
"0.6739868",
"0.67226386",
"0.67226386",
"0.67159015",
"0.67138904",
"0.6704643",
"0.6686121",
"0.66828865",
"0.6681813",
"0.6680112",
"0.6677836",
"0.6651975",
"0.6647423",
"0.6637208",
"0.6636146",
"0.6631103",
"0.6628385",
"0.6627007",
"0.6627007",
"0.66225755",
"0.66194236",
"0.6614534",
"0.66132456",
"0.6605116",
"0.659532",
"0.6592378",
"0.6582064",
"0.6582064",
"0.6575148",
"0.6575148",
"0.6575148",
"0.65736365",
"0.6560467",
"0.6557605",
"0.655371",
"0.6540515",
"0.6530574",
"0.6530406",
"0.65272504",
"0.65272504",
"0.65239984",
"0.6514564",
"0.6514564",
"0.6496824",
"0.6468639",
"0.6463265",
"0.646104",
"0.646104",
"0.6433207",
"0.6433207",
"0.64216906",
"0.642046",
"0.6408748",
"0.63986504",
"0.6397472",
"0.6397472",
"0.6397472",
"0.63846666",
"0.6381781",
"0.6381781",
"0.6381781"
] |
0.8654094
|
0
|
Determines if the updateDate has been initialized. It is useful to determine if a field is null on purpose or just because it has not been initialized.
|
public boolean isUpdateDateInitialized() {
return updateDate_is_initialized;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetUpdateDate() {\n return this.updateDate != null;\n }",
"public boolean isSetUpdate_time() {\n return this.update_time != null;\n }",
"public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }",
"public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }",
"public boolean isSetUpdateTime() {\n\t\treturn this.updateTime != null;\n\t}",
"public boolean isCreateDateInitialized() {\n return createDate_is_initialized; \n }",
"public boolean isLogdateInitialized() {\n return logdate_is_initialized; \n }",
"public boolean isStatusdateInitialized() {\n return statusdate_is_initialized; \n }",
"@java.lang.Override\n public boolean hasUpdateTime() {\n return updateTime_ != null;\n }",
"public boolean isSetUpdateId() {\n return this.updateId != null;\n }",
"public boolean hasUpdatedAt() {\n return updatedAtBuilder_ != null || updatedAt_ != null;\n }",
"public boolean hasUpdatedAt() {\n return updatedAt_ != null;\n }",
"public boolean isSetUpdatedAt() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __UPDATEDAT_ISSET_ID);\n }",
"public boolean isSetUpdateTime() {\n return __isset_bit_vector.get(__UPDATETIME_ISSET_ID);\n }",
"public boolean isUpdateUserInitialized() {\n return updateUser_is_initialized; \n }",
"public boolean isSetRelease_date() {\r\n return this.release_date != null;\r\n }",
"public boolean isSetRelease_date() {\n return this.release_date != null;\n }",
"public boolean isRegdateInitialized() {\n return regdate_is_initialized; \n }",
"public boolean isSetRequestDate() {\n return this.RequestDate != null;\n }",
"public boolean hasUpdateTriggerTime() {\n return instance.hasUpdateTriggerTime();\n }",
"public boolean hasDate() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasDate() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"public boolean isSetDate() {\n return EncodingUtils.testBit(__isset_bitfield, __DATE_ISSET_ID);\n }",
"public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }",
"public boolean hasUpdateTime() {\n return ((bitField0_ & 0x00000400) != 0);\n }",
"public boolean wasInitialized()\n {\n return this.isInitialized;\n }",
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"public boolean isSetCreateDate() {\n return this.createDate != null;\n }",
"public boolean isSetLastUpdateTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTUPDATETIMESTAMPMS_ISSET_ID);\n }",
"boolean isSetFoundingDate();",
"public boolean hasDate() {\n return fieldSetFlags()[5];\n }",
"boolean hasUpdateTriggerTime();",
"public boolean isSetBirthTime()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(BIRTHTIME$12) != 0;\n }\n }",
"@PreUpdate\n private void beforeUpdate() {\n updatedDate = new Date();\n }",
"private boolean adjustedTimeIsSet() {\n return (adjustedTimeStamp != null);\n }",
"public static boolean hasBeenInitialized() {\n\t\treturn mContext != null;\n\t}",
"public boolean isSetCreatedAt() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CREATEDAT_ISSET_ID);\n }",
"public boolean hasUpdateTriggerTime() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean isSetCreatetime() {\n return this.createtime != null;\n }",
"public boolean isSetPublish_date() {\n return this.publish_date != null;\n }",
"public boolean isInitialized()\n {\n return isInit;\n }",
"public boolean isInit() {\r\n\t\treturn isInit;\r\n\t}",
"public boolean hasLastModifiedAt() {\n return lastModifiedAtBuilder_ != null || lastModifiedAt_ != null;\n }",
"public static boolean isInitialized() {\r\n return (isInitialized);\r\n }",
"public void setInitUpdateDateTime(String initUpdateDateTime) {\n this.initUpdateDateTime = initUpdateDateTime;\n }",
"public static boolean isInit() {\n\t\treturn isInit;\n\t}",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"public boolean isSetUpdateId() {\n return EncodingUtils.testBit(__isset_bitfield, __UPDATEID_ISSET_ID);\n }",
"public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }",
"public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }",
"public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }",
"@java.lang.Override\n public boolean hasLastModifiedAt() {\n return lastModifiedAt_ != null;\n }",
"public boolean isInitialized() {\n return initialized;\n }",
"public boolean isSetExam_date() {\n return this.exam_date != null;\n }",
"public static boolean isInitialized() {\n\t\treturn instance != null;\n\t}",
"public boolean isSet() {\n return nViewportUpdates > 0 && nWindowUpdates > 0;\n }",
"public boolean isSetInsertDate() {\n return this.insertDate != null;\n }",
"public boolean hasTsUpdate() {\n return fieldSetFlags()[11];\n }",
"protected static boolean isInitialized(){\n return initialized;\n }",
"public boolean isInitialized() {\r\n return initialized;\r\n }",
"public boolean hasTimestamp() {\n return timestamp_ != null;\n }",
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }",
"public boolean isInitialized() {\n return initialized;\n }",
"public boolean isInitialized()\n {\n return initialized;\n }",
"public boolean isInitialized() {\n\t\treturn initialized;\n\t}",
"boolean isSetDate();",
"public boolean isInitialized()\n {\n return this.initialized;\n }",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public String getInitUpdateDateTime() {\n return initUpdateDateTime;\n }",
"public final boolean hasChangeDateTime() {\n \treturn m_changeDate != 0L ? true : false;\n }",
"public boolean hasTimestamp() {\n return timestampBuilder_ != null || timestamp_ != null;\n }",
"public boolean isEmpty() {\n return this.dateWrapper.isEmpty();\n }",
"public boolean isInitialized()\n\t{\n\t\treturn isInitialized;\n\t}",
"public boolean isSetReportDate() {\n return this.reportDate != null;\n }",
"public boolean isSetDwellTime() {\n return (this.dwellTime != null ? this.dwellTime.isSetValue() : false);\n }",
"public boolean hasCreatedAt() {\n return createdAt_ != null;\n }",
"public boolean isSetLastStartSinceBoot() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTSTARTSINCEBOOT_ISSET_ID);\n }",
"public static boolean isInitialized() {\n\t\treturn mInitialized;\n\t}",
"public boolean isSetTime()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(TIME$2) != 0;\n }\n }",
"public boolean isSetTransactionPostedDate() {\r\n return transactionPostedDate != null;\r\n }",
"public boolean hasTsUpdate() {\n return ((bitField0_ & 0x00000400) == 0x00000400);\n }",
"public boolean isMissingData() {\n return myModel.getRealtimeTimestamp() == 0;\n }",
"protected void checkInitialized() {\n \tcheckState(this.breeder!=null && this.threads!=null, \"Local state was not correctly set after being deserialized.\");\n }",
"public boolean hasCreatedAt() {\n return createdAt_ != null;\n }",
"public boolean hasBegDate() {\n return fieldSetFlags()[1];\n }",
"public boolean getFieldStatus() {\n\t\treturn fieldHasBeenUpdated;\n\t}",
"boolean hasUpdate();",
"boolean hasUpdate();",
"private boolean checkFields() {\n\t\tboolean status = true;\n\n\t\treturn status;\n\t}",
"public boolean isSetDay()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(DAY$0) != 0;\n }\n }",
"public boolean isSetStartTime() {\n return this.startTime != null;\n }",
"boolean hasTsUpdate();",
"@java.lang.Override\n public boolean hasCreatedAt() {\n return createdAt_ != null;\n }",
"@java.lang.Override\n public boolean hasCreatedAt() {\n return createdAt_ != null;\n }",
"public boolean hasDate() {\n return true;\n }",
"public boolean hasTsUpdate() {\n return ((bitField0_ & 0x00000200) == 0x00000200);\n }",
"@java.lang.Override\n public boolean hasCreationDate() {\n return ((bitField0_ & 0x00000002) != 0);\n }"
] |
[
"0.7537553",
"0.7537553",
"0.71077436",
"0.69190675",
"0.68350226",
"0.6825272",
"0.6823005",
"0.6789218",
"0.67015934",
"0.6632719",
"0.6374891",
"0.63738066",
"0.6361031",
"0.6345907",
"0.6311339",
"0.6239625",
"0.61595553",
"0.6159203",
"0.60043913",
"0.59603846",
"0.587828",
"0.5859063",
"0.585651",
"0.5853987",
"0.5834986",
"0.58258563",
"0.5809847",
"0.58066005",
"0.57884943",
"0.57884943",
"0.5775305",
"0.57730556",
"0.5756119",
"0.57207984",
"0.57191396",
"0.57181364",
"0.5716318",
"0.57143545",
"0.57019013",
"0.56916195",
"0.56876975",
"0.56873983",
"0.5686147",
"0.5681869",
"0.5664379",
"0.5651282",
"0.5646243",
"0.5641209",
"0.5619602",
"0.560791",
"0.560405",
"0.560405",
"0.560405",
"0.5601327",
"0.560032",
"0.5599545",
"0.5588662",
"0.5581389",
"0.55644006",
"0.5560557",
"0.55468696",
"0.5544033",
"0.5542593",
"0.5541628",
"0.5541448",
"0.55404055",
"0.55304456",
"0.55293083",
"0.55283016",
"0.55236167",
"0.55131245",
"0.5511197",
"0.5506789",
"0.5504074",
"0.5502746",
"0.550026",
"0.5491995",
"0.5485909",
"0.54842687",
"0.5483692",
"0.54781383",
"0.54774874",
"0.547657",
"0.54673195",
"0.54650766",
"0.54648453",
"0.5464388",
"0.5450437",
"0.54479474",
"0.5442725",
"0.5442725",
"0.5441951",
"0.5441107",
"0.54356074",
"0.542918",
"0.5427906",
"0.5427906",
"0.54221225",
"0.54189885",
"0.54182553"
] |
0.8159606
|
0
|
Determines if the object has been modified since the last time this method was called. We can also determine if this object has ever been modified since its creation.
|
public boolean isModified() {
return MTBTypesKey_is_modified ||
type_is_modified ||
description_is_modified ||
tableName_is_modified ||
columnName_is_modified ||
createUser_is_modified ||
createDate_is_modified ||
updateUser_is_modified ||
updateDate_is_modified;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }",
"public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }",
"public boolean isModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isModified() {\n\t\treturn modified;\n\t\t}",
"public final boolean isModified() {\n return this.modified;\n }",
"public boolean isModified()\n\t{\n\t\treturn isModified;\n\t}",
"public boolean isModified() {\n return isModified;\n }",
"public boolean modified() {\r\n\t\treturn modified;\r\n\t}",
"public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}",
"private boolean isDirty()\r\n {\r\n //\r\n return _modified;\r\n }",
"public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }",
"public boolean isModified()\n {\n // a class is only modifiable after it is loaded\n if (!m_fLoaded)\n {\n return m_fModified;\n }\n\n if (m_fModified || m_abClazz == null || m_pool.isModified())\n {\n return true;\n }\n\n // check all other VM sub-structures\n StringTable[] atbl = CONTAINED_TABLE;\n for (int i = 0; i < atbl.length; ++i)\n {\n Enumeration enmr = atbl[i].elements();\n while (enmr.hasMoreElements())\n {\n if (((VMStructure) enmr.nextElement()).isModified())\n {\n return true;\n }\n }\n }\n\n return false;\n }",
"public boolean isStModified() {\n return st_is_modified; \n }",
"public boolean isModified();",
"public boolean isModified();",
"public boolean hasLastModifiedAt() {\n return lastModifiedAtBuilder_ != null || lastModifiedAt_ != null;\n }",
"boolean isModified();",
"boolean isModified();",
"public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }",
"public boolean getModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isLogdateModified() {\n return logdate_is_modified; \n }",
"public boolean isMaybeModified() {\n if (Options.get().isModifiedDisabled())\n return !isUnknown(); // if we don't use the modified flag, use the fact that unknown implies non-modified\n return (flags & MODIFIED) != 0;\n }",
"@java.lang.Override\n public boolean hasLastModifiedAt() {\n return lastModifiedAt_ != null;\n }",
"public boolean isCreateDateModified() {\n return createDate_is_modified; \n }",
"public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }",
"public final boolean hasModifyDateTime() {\n \treturn m_modifyDate != 0L ? true : false;\n }",
"public boolean hasInodeLastModificationTime() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }",
"public synchronized boolean hasChanged() {\n return changed;\n }",
"public boolean hasInodeLastModificationTime() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }",
"public boolean hasLASTMODIFIEDDT() {\n return fieldSetFlags()[2];\n }",
"boolean isOssModified();",
"public boolean isTreeModified() {\n return FxContext.get().getTreeWasModified();\n }",
"public boolean isSetLastmodifyTimestamp() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMP_ISSET_ID);\n }",
"@java.lang.Override\n public boolean hasUpdateTime() {\n return updateTime_ != null;\n }",
"public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}",
"public boolean isUpdated()\n\t{\n\t\treturn mUpdated;\n\t}",
"public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}",
"public boolean hasUpdateTime() {\n return ((bitField0_ & 0x00000400) != 0);\n }",
"public boolean isSetLastmodifyTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMPMS_ISSET_ID);\n }",
"public boolean isSetLastmodifyTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __LASTMODIFYTIMESTAMPMS_ISSET_ID);\n }",
"public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}",
"public boolean hasLASTMODIFIEDBY() {\n return fieldSetFlags()[1];\n }",
"public boolean isRoomstlogidModified() {\n return roomstlogid_is_modified; \n }",
"public boolean isStatusdateModified() {\n return statusdate_is_modified; \n }",
"public long modified() {\n return lastModified;\n }",
"public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }",
"@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}",
"public Date getModified() {\r\n\t\treturn modified;\r\n\t}",
"public boolean isChanged() {\n return this.changed;\n }",
"public boolean isModification()\n {\n return isModification;\n }",
"public Date getModifiedTime() {\n return modifiedTime;\n }",
"public Date getModificationTime()\n {\n return modified;\n }",
"public boolean isNew() {\n return this.lastUpdateTime == NOT_YET;\n }",
"public boolean isRegdateModified() {\n return regdate_is_modified; \n }",
"public boolean hasLastPatchTime() {\n void var1_5;\n int bl2 = this.bitField0_;\n int n10 = 2;\n int n11 = bl2 & n10;\n if (n11 == n10) {\n boolean bl3 = true;\n } else {\n boolean bl4 = false;\n }\n return (boolean)var1_5;\n }",
"public boolean isChanged() {\r\n return isChanged;\r\n }",
"public boolean isRolModified()\n\t{\n\t\treturn rolModified;\n\t}",
"public boolean isUpdated() {\n return this.updated;\n }",
"public Date getDateModifed(){return dateModified;}",
"public boolean isRoomstidModified() {\n return roomstid_is_modified; \n }",
"@java.lang.Override\n public long getModifiedTimestamp() {\n return modifiedTimestamp_;\n }",
"public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }",
"public boolean isSetUpdateTime() {\n\t\treturn this.updateTime != null;\n\t}",
"public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }",
"@java.lang.Override\n public long getModifiedTimestamp() {\n return modifiedTimestamp_;\n }",
"public java.sql.Timestamp getModified() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException {\n return (((java.sql.Timestamp) __getCache(\"modified\")));\n }",
"public boolean isEstadoModified()\n\t{\n\t\treturn estadoModified;\n\t}",
"public boolean isItDirty() {\n\t\treturn false;\n\t}",
"@java.lang.Override\n public com.google.protobuf.Timestamp getModifiedAt() {\n return modifiedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifiedAt_;\n }",
"default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }",
"public Calendar getModifiedTime() {\n return this.modifiedTime;\n }",
"public boolean hasChanges();",
"public int getnModified() {\r\n return nModified;\r\n }",
"public boolean isCustomerIdModified()\n\t{\n\t\treturn customerIdModified;\n\t}",
"public String getModified() {\r\n if (modified)\r\n return \"1\";\r\n else\r\n return \"0\";\r\n }",
"public long getModificationTime()\n {\n return m_metaInf.getModificationTime();\n }",
"boolean isModified(SynchronizationRequest request)\n throws IOException {\n\n long modifiedTime = 0;\n\n if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_NONE) {\n return true;\n } else if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_MODIFICATION_TIME) {\n modifiedTime = request.getFile().lastModified();\n } else if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_MODIFIED_SINCE) { \n return true;\n } else if (request.getTimestampType()\n == SynchronizationRequest.TIMESTAMP_FILE) {\n BufferedReader is = null;\n\n try {\n is = new BufferedReader(\n new FileReader(request.getTimestampFile()));\n modifiedTime = Long.parseLong(is.readLine());\n\n is.close();\n\n is = null;\n } finally {\n if (is != null) {\n try {\n is.close();\n } catch (Exception ex) {\n //ignore\n }\n }\n }\n } else {\n assert false;\n }\n\n assert (request.getTimestamp() <= modifiedTime);\n if (request.getTimestamp() < modifiedTime) {\n request.setTimestamp(modifiedTime);\n return true;\n } else {\n return false;\n }\n }",
"boolean hasInodeLastModificationTime();",
"@java.lang.Override\n public com.google.protobuf.TimestampOrBuilder getModifiedAtOrBuilder() {\n return getModifiedAt();\n }",
"public boolean isDirty();",
"public boolean isTypeModified() {\n return type_is_modified; \n }",
"public boolean isModified() {\n return(!this.getText().equals(editBeginValue));\n }",
"public boolean isDirty() {\n\t\treturn this.dirty;\n\t}",
"boolean hasUpdateTime();",
"boolean hasUpdateTime();",
"boolean hasUpdateTime();",
"public boolean isDirty() { return _dirty; }",
"public boolean hasChanges() {\n return !(changed.isEmpty() && defunct.isEmpty());\n }",
"public java.sql.Timestamp getModified() {\n return modified;\n }",
"public final boolean hasChangeDateTime() {\n \treturn m_changeDate != 0L ? true : false;\n }",
"public long getModificationTime();",
"public boolean isDirty() {\n return dirty;\n }",
"public boolean changed() {\r\n\t\treturn changed;\r\n\t}",
"public boolean hasStackFrameChanged() {\n\t\treturn lineNumber != oldLineNumber;\n\t}",
"public boolean updated()\r\n\t{\r\n\t\treturn bChanged;\r\n\t}",
"public boolean wasDataUpdated() {\n\t\treturn true;\n\t}",
"public boolean hasUpdatedAt() {\n return updatedAt_ != null;\n }",
"public boolean isDescriptionModified() {\n return description_is_modified; \n }",
"public boolean isUpdateUserModified() {\n return updateUser_is_modified; \n }",
"public Date getModifiedDate() {\r\n return modifiedDate;\r\n }"
] |
[
"0.7915155",
"0.7834603",
"0.7509165",
"0.7495042",
"0.7429855",
"0.7370424",
"0.73313",
"0.73296696",
"0.7306869",
"0.7217625",
"0.71616805",
"0.7156328",
"0.70913714",
"0.7067673",
"0.7067673",
"0.70627433",
"0.7055278",
"0.7055278",
"0.7027923",
"0.701841",
"0.701237",
"0.6963835",
"0.6945328",
"0.6871491",
"0.68447477",
"0.68378025",
"0.6793893",
"0.67490315",
"0.67465466",
"0.67309093",
"0.66877776",
"0.6661829",
"0.6659582",
"0.6641132",
"0.66267294",
"0.6623609",
"0.6602988",
"0.6599457",
"0.6587914",
"0.6587914",
"0.658269",
"0.6574844",
"0.65530944",
"0.65515476",
"0.653518",
"0.6531946",
"0.6526276",
"0.6500414",
"0.6476852",
"0.6472717",
"0.6439861",
"0.6427985",
"0.6424761",
"0.64196926",
"0.639609",
"0.6387053",
"0.63798565",
"0.6379583",
"0.63780826",
"0.637585",
"0.6375093",
"0.6374528",
"0.63688755",
"0.6367424",
"0.63618773",
"0.63544804",
"0.63538873",
"0.63351166",
"0.63345325",
"0.63069326",
"0.63011354",
"0.62872726",
"0.6280351",
"0.6274876",
"0.62635976",
"0.62505674",
"0.6247092",
"0.6245028",
"0.6244792",
"0.62420845",
"0.6234441",
"0.62268883",
"0.6212561",
"0.62122613",
"0.62122613",
"0.62122613",
"0.62080705",
"0.61983377",
"0.61918783",
"0.61854196",
"0.6182484",
"0.6180233",
"0.61684734",
"0.6154482",
"0.6150523",
"0.614752",
"0.614712",
"0.6136737",
"0.6128643",
"0.6126859"
] |
0.69228977
|
23
|
Resets the object modification status to 'not modified'.
|
public void resetIsModified() {
MTBTypesKey_is_modified = false;
type_is_modified = false;
description_is_modified = false;
tableName_is_modified = false;
columnName_is_modified = false;
createUser_is_modified = false;
createDate_is_modified = false;
updateUser_is_modified = false;
updateDate_is_modified = false;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void resetModification()\n {\n _modifiedSinceSave = false;\n }",
"public void clearModifiedFlag();",
"public void resetIsModified() {\n roomstlogid_is_modified = false;\n roomstid_is_modified = false;\n roomid_is_modified = false;\n statusdate_is_modified = false;\n st_is_modified = false;\n regbyid_is_modified = false;\n regdate_is_modified = false;\n reservationroomid_is_modified = false;\n roomtypeid_is_modified = false;\n blockroomid_is_modified = false;\n logdate_is_modified = false;\n }",
"void clearModifiedFlag();",
"@Override\r\n\tpublic void resetObject() {\n\t\t\r\n\t}",
"public void resetChanges() {\n\t\tthis.resetStatus();\n\t\ttheStructures.resetStatus();\n\n\t\tfireDocumentInit();\n\t}",
"final void resetChanged() {\n this.changed = false;\n }",
"@Override\n public void reset()\n {\n state = \"initial state\";\n nbChanges = 0;\n nbResets++;\n }",
"protected void resetModified()\n {\n m_pool.resetModified();\n\n // reset all other VM sub-structures\n StringTable[] atbl = CONTAINED_TABLE;\n for (int i = 0; i < atbl.length; ++i)\n {\n Enumeration enmr = atbl[i].elements();\n while (enmr.hasMoreElements())\n {\n ((VMStructure) enmr.nextElement()).resetModified();\n }\n }\n\n m_fModified = false;\n }",
"public void cleanDirtyFlags() {\n RetractedChanged=false;\n AddressIDChanged=false;\n EntityIDChanged=false;\n AddressTypeIDChanged=false;\n}",
"public void setModified(boolean state) {\n //System.out.println(\"setting modified to \" + state);\n //new Exception().printStackTrace();\n current.setModified(state);\n calcModified();\n }",
"public void reset() {\n this.inhibited = false;\n this.forced = false;\n }",
"public void remModify(){\n rem(MetaDMSAG.__modify);\n }",
"public static void reset(Object o) {\r\n checkVersionable(o);\r\n ((Versionable) o).markClean();\r\n }",
"public void setModified();",
"public void setModified (boolean modified);",
"public void resetState();",
"public void reset() {\n\t\tVector2 gravity = new Vector2(world.getGravity() );\n\t\t\n\t\tfor(Obstacle obj : objects) {\n\t\t\tobj.deactivatePhysics(world);\n\t\t}\n\t\tobjects.clear();\n\t\taddQueue.clear();\n\t\tworld.dispose();\n\t\t\n\t\tworld = new World(gravity,false);\n\t\tsetComplete(false);\n\t\tsetFailure(false);\n\t\tpopulateLevel();\n\t}",
"public void reset() {\n this.state = null;\n }",
"public void changeMutable() {\n\t\tmutable = !mutable;\n\t}",
"public synchronized void reset() {\n }",
"protected void resetState()\n {\n // Nothing to do by default.\n }",
"protected void reset(Opportunities dto)\r\n\t{\r\n\t\tdto.setIdModified( false );\r\n\t\tdto.setSupplierIdModified( false );\r\n\t\tdto.setUniqueProductsModified( false );\r\n\t\tdto.setPortfolioModified( false );\r\n\t\tdto.setRecongnisationModified( false );\r\n\t\tdto.setKeyWordsModified( false );\r\n\t\tdto.setDateCreationModified( false );\r\n\t\tdto.setDateModificationModified( false );\r\n\t}",
"protected synchronized void clearChanged() {\n changed = false;\n }",
"public void reset() {\n firstUpdate = true;\n }",
"void resetStatus();",
"public void reset() {\n\t\t\t\t\r\n\t\t\t}",
"public void unfreeze(){\n isFrozen = false;\n }",
"@Override\r\n\tpublic void reset()\r\n\t{\r\n\t}",
"@Override\n\tpublic void clearChanged() {\n\t\tthis.changed = false;\n\t}",
"protected void reset() {\n\t\t}",
"public void reset()\n\t{\n\t}",
"public void reset()\n\t{\n\t}",
"public void reset() {\n context.reset();\n state = State.NAME;\n }",
"public boolean reset();",
"public void reset() {\n\n\t}",
"protected final void undo() {\n requireAllNonNull(model, previousResidentBook, previousEventBook);\n model.resetData(previousResidentBook, previousEventBook);\n model.updateFilteredPersonList(PREDICATE_SHOW_ALL_PERSONS);\n model.updateFilteredEventList(PREDICATE_SHOW_ALL_EVENTS);\n\n }",
"public void reset(){\n if (isValidated()) resetAndUnblock();\n }",
"public void reset() {\n\t}",
"public void reset() {\n\t}",
"public void reset() {\n\t}",
"public void reset() {\n\t}",
"public void reset() {\n }",
"public void reset() {\n }",
"public void reset() {\n }",
"public void reset() {\n }",
"public final synchronized void reset() {\r\n\t\tunblocked = false;\r\n\t\tcancelled = null;\r\n\t\terror = null;\r\n\t\tlistenersInline = null;\r\n\t}",
"@Override\n\tpublic void resetToExisting() {\n\t\t\n\t}",
"public void reset() {\r\n this.x = resetX;\r\n this.y = resetY;\r\n state = 0;\r\n }",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"public void reset () {}",
"private void setDirty() {\n\t}",
"public void setModified(boolean modified) {\r\n\t\tthis.modified = modified;\r\n\t}",
"public void setModified(boolean modified) {\r\n\t\tthis.modified = modified;\r\n\t}",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"public void reset(){\n active = false;\n done = false;\n state = State.invisible;\n curX = 0;\n }",
"public void reset() {\n super.reset();\n }",
"public void reset() {\n\t\treset(ModSettings.currentContext);\n\t}",
"private void clearStatus() {\n \n status_ = getDefaultInstance().getStatus();\n }",
"public void Reset()\r\n\t{\r\n\t\tif(!levelEditingMode)//CAN ONLY RESET IN LEVEL EDITING MODE\r\n\t\t{\r\n\t\t\tgrid.clearUserObjects();\r\n\t\t\tmenu = new SpriteMenu(listFileName, playButton);\r\n\t\t}\r\n\t}",
"@Override\r\n\tpublic void reset() {\r\n\t\tsuper.reset();\r\n\t\tresetMomentObservation();\r\n\t\texpectations.reset();\r\n\t}",
"protected void reset()\n {\n this.shapeDataCache.removeAllEntries();\n this.sector = null;\n }",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\r\n\tpublic void reset() {\n\t}",
"void setOssModified(boolean ossModified);",
"void clearObjectFlowStates();",
"public void reset() {\n\t\tsetVisible(false);\n\t\tfor (GameObject gameObject : objects) {\n\t\t\tgameObject.reset();\n\t\t}\n\t}",
"public void reset(){\r\n \tdefaultFlag = false;\r\n }",
"public void reset ()\n {\n final String METHOD_NAME = \"reset()\";\n this.logDebug(METHOD_NAME + \" 1/2: Started\");\n super.reset();\n this.lid = null;\n this.refId = Id.UNDEFINED;\n this.fromDocType = DocType.UNDEFINED;\n this.logDebug(METHOD_NAME + \" 2/2: Done\");\n }",
"public void reset() {\n gameStatus = null;\n userId = null;\n gameId = null;\n gameUpdated = false;\n selectedTile = null;\n moved = false;\n }",
"public void reset() {\n\n }",
"@Override\n public void reset() {\n }",
"protected void reset(){\n inited = false;\n }",
"public void reset()\n {\n m_source_.setToStart();\n updateInternalState();\n }",
"public void reset(){\n }",
"public void resetFilter() {\n filters.clear();\n modifiedSinceLastResult = true;\n }",
"@Override\n\tpublic void reset() {\n\t}",
"public void unReset () {\n count = lastSave;\n }",
"public void reset() {\n\r\n\t}",
"@Override\n public void reset() \n {\n\n }",
"public final void setModified(final boolean modified) {\n this.modified = modified;\n }",
"public void reset() {\r\n minX = null;\r\n maxX = null;\r\n minY = null;\r\n maxY = null;\r\n\r\n minIn = null;\r\n maxIn = null;\r\n\r\n inverted = false;\r\n }"
] |
[
"0.80256706",
"0.73261315",
"0.7196443",
"0.7103667",
"0.68750334",
"0.67503107",
"0.66316015",
"0.6591152",
"0.6442528",
"0.6341959",
"0.63016385",
"0.62570417",
"0.6227744",
"0.6205569",
"0.61940354",
"0.6187429",
"0.61675775",
"0.6161537",
"0.6153509",
"0.61356395",
"0.6097773",
"0.6092908",
"0.60731333",
"0.602614",
"0.600884",
"0.59544164",
"0.5939394",
"0.59331906",
"0.59267527",
"0.5920427",
"0.59184307",
"0.5915026",
"0.5915026",
"0.5913268",
"0.5898519",
"0.58826214",
"0.5881587",
"0.58777535",
"0.5875134",
"0.5875134",
"0.5875134",
"0.5875134",
"0.5872779",
"0.5872779",
"0.5872779",
"0.5872779",
"0.58520836",
"0.5851815",
"0.58517927",
"0.5849486",
"0.5847994",
"0.584695",
"0.5846811",
"0.5846811",
"0.58462447",
"0.5840827",
"0.58403736",
"0.58293074",
"0.5828652",
"0.5824868",
"0.58245444",
"0.5821851",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.5806956",
"0.580599",
"0.580599",
"0.580599",
"0.580599",
"0.57961476",
"0.57934755",
"0.5785362",
"0.5784539",
"0.577947",
"0.577766",
"0.57711506",
"0.5770742",
"0.57691884",
"0.5757508",
"0.5756745",
"0.5756384",
"0.5755171",
"0.5751802",
"0.57516205",
"0.5751178",
"0.57452947",
"0.5744616",
"0.57441145"
] |
0.7227361
|
2
|
Copies the passed bean into the current bean.
|
public void copy(MTBTypesDTO bean) {
setMTBTypesKey(bean.getMTBTypesKey());
setType(bean.getType());
setDescription(bean.getDescription());
setTableName(bean.getTableName());
setColumnName(bean.getColumnName());
setCreateUser(bean.getCreateUser());
setCreateDate(bean.getCreateDate());
setUpdateUser(bean.getUpdateUser());
setUpdateDate(bean.getUpdateDate());
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic <T extends HippoBean> void cloneBean(T sourceBean) {\n\t\t\r\n\t}",
"public void copy(RoomstlogBean bean) {\n setRoomstlogid(bean.getRoomstlogid());\n setRoomstid(bean.getRoomstid());\n setRoomid(bean.getRoomid());\n setStatusdate(bean.getStatusdate());\n setSt(bean.getSt());\n setRegbyid(bean.getRegbyid());\n setRegdate(bean.getRegdate());\n setReservationroomid(bean.getReservationroomid());\n setRoomtypeid(bean.getRoomtypeid());\n setBlockroomid(bean.getBlockroomid());\n setLogdate(bean.getLogdate());\n }",
"Bean duplicateBean( String id, String alias, Bean source, boolean isAnonymous);",
"private void setCurrentBean(Object newBean)\r\n {\r\n T oldValue = getValue();\r\n\r\n if (bean != null)\r\n {\r\n PropertyChangeUtils.tryRemoveNamedPropertyChangeListenerUnchecked(\r\n bean, name, propertyChangeListener);\r\n }\r\n bean = newBean;\r\n if (bean != null)\r\n {\r\n PropertyChangeUtils.tryAddNamedPropertyChangeListenerUnchecked(\r\n bean, name, propertyChangeListener);\r\n }\r\n T newValue = getValue();\r\n if (!Objects.equals(oldValue, newValue))\r\n {\r\n fireValueChanged(oldValue, newValue);\r\n }\r\n }",
"public void copy(final MouseCrosstabShuttleVO otherBean)\n {\n if (null != otherBean)\n {\n this.setMouse1(otherBean.getMouse1());\n this.setMouse2(otherBean.getMouse2());\n this.setMouse3(otherBean.getMouse3());\n this.setMouse4(otherBean.getMouse4());\n this.setMouse5(otherBean.getMouse5());\n this.setMouse6(otherBean.getMouse6());\n this.setMouse7(otherBean.getMouse7());\n this.setMouse8(otherBean.getMouse8());\n this.setMouse9(otherBean.getMouse9());\n this.setMouse10(otherBean.getMouse10());\n this.setDay(otherBean.getDay());\n this.setCompoundName(otherBean.getCompoundName());\n this.setPanelName(otherBean.getPanelName());\n this.setCellLineName(otherBean.getCellLineName());\n this.setGroupRole(otherBean.getGroupRole());\n this.setCompound(otherBean.getCompound());\n this.setCellLine(otherBean.getCellLine());\n this.setCellTypeName(otherBean.getCellTypeName());\n this.setCellTypeSortOrder(otherBean.getCellTypeSortOrder());\n this.setCellLineSortOrder(otherBean.getCellLineSortOrder());\n this.setTestNumber(otherBean.getTestNumber());\n }\n }",
"public void elSetReference(Object bean);",
"void fillFormBean(IBookFormBean formBean);",
"@Override\r\n\tprotected void criarNovoBean() {\r\n\t\tcurrentBean = new MarcaOsEntity();\r\n\t}",
"public interface BeanSelfAware {\n\n //设定代理到类内部,嵌套调用时使用代理进行方法调用\n void setSelf(Object obj);\n\n}",
"public final void setBean(String bean) {\n this.bean = bean;\n }",
"@Override\n\t\tpublic void refreshBeanElement() {\n\n\t\t}",
"public void explore( Object bean )\n {\n if ( bean == null )\n {\n if ( treeTable != null )\n {\n remove( treePane );\n repaint();\n }\n return;\n }\n\n if ( bean.getClass().isArray() )\n {\n bean = new ArrayBeanWrapper( bean );\n }\n\n this.bean = bean;\n ComponentModel mdl = ComponentFactory.getModel( bean, ComponentFactory.Policy.UI );\n setComponentModel( mdl );\n }",
"public void elSetValue(Object bean, Object value, boolean populate, boolean reference);",
"void register(final Bean bean);",
"public HideLMSUIVO(HideLMSUIVO otherBean)\r\n {\r\n if (otherBean != null)\r\n {\r\n this.content = otherBean.getContent();\r\n }\r\n }",
"public void put(ActionBean bean) {\n String binding = StripesFilter.getConfiguration()\n .getActionResolver().getUrlBinding(bean.getClass());\n super.put(binding, bean);\n\n ActionBean main = (ActionBean) request.getAttribute(StripesConstants.REQ_ATTR_ACTION_BEAN);\n if (main != null && main.equals(bean)) {\n super.put(StripesConstants.REQ_ATTR_ACTION_BEAN, bean);\n }\n }",
"public OpportunityBean fillBean(OpportunityBean opportunityObj) \n\t{ \n\t\tif (opportunityObj != null)\n\t\t{\n\t\t\t// Set fullBeanLoaded state\n\t\t\topportunityObj.setFullBeanLoaded( true );\n\t\t\topportunityObj.setHasChanged( false );\n\t\t\t\n\t\t}\n\t\t\n\t\treturn opportunityObj;\n\t}",
"public User copy() {\r\n try {\r\n return (User) BeanUtils.cloneBean(this);\r\n } catch (Exception e) {\r\n throw new IllegalStateException(\"Error while copying \" + this, e);\r\n }\r\n }",
"@Override\r\n\tpublic void copy(Property p) {\n\t\t\r\n\t}",
"private Shop deepCopy() {\n BookShop obj = null;\n try {\n obj = (BookShop) super.clone();\n List<Book> books = new ArrayList<>();\n Iterator<Book> iterator = this.getBooks().iterator();\n while(iterator.hasNext()){\n\n books.add((Book) iterator.next().clone());\n }\n obj.setBooks(books);\n } catch (CloneNotSupportedException exc) {\n exc.printStackTrace();\n }\n return obj;\n }",
"public BeanWrapper buildNewWrapper(Object bean)\n\t{\n\t\tBeanWrapperImpl beanWrapper = new BeanWrapperImpl(bean);\n\t\t\n\t\t//registrar.registerCustomEditors(beanWrapper);\n\t\t\n\t\tbeanWrapper.setExtractOldValueForEditor(false);\n\t\t\n\t\treturn beanWrapper;\n\t}",
"Object getBean();",
"public abstract void select(BEAN oldBean, BEAN newBean);",
"@Override\n\tpublic void setActiveObject(UIBean obj) {\n\n\t}",
"ComponentBean getBean();",
"public void test_add_and_overwrite_bean() {\r\n Object bean1 = new MyGoodBean();\r\n Object newBean1 = new MyGoodBean();\r\n\r\n BeanId beanId1 = getBeanIdRegister().register(\"bean1\");\r\n\r\n BeanRepository beanRepository = getBeanRepository();\r\n\r\n assertNull(beanRepository.getBean(beanId1));\r\n\r\n beanRepository.addBean( beanId1, bean1);\r\n\r\n assertEquals(bean1, beanRepository.getBean(beanId1));\r\n\r\n beanRepository.addBean( beanId1, newBean1);\r\n\r\n assertEquals(newBean1, beanRepository.getBean(beanId1));\r\n }",
"@Override\n public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {\n return bean;\n }",
"@Override\n protected void processBean(String var, Object bean)\n throws JellyTagException\n {\n checkBeanClass(bean);\n super.processBean(var, bean);\n callPassResults(bean, var);\n }",
"public void updateData(MemberBean b) {\n\t\tem.merge(b);\n\t}",
"void copy(Board model) {\r\n if (model == this) {\r\n return;\r\n }\r\n init();\r\n }",
"Board(Board board) {\n copyFrom(board);\n }",
"@Override\n public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {\n return bean;\n }",
"private Shop shallowCopy() {\n BookShop obj = null;\n try {\n obj = (BookShop) super.clone();\n } catch (CloneNotSupportedException exc) {\n exc.printStackTrace();\n }\n return obj;\n }",
"public void copy() {\n\n\t}",
"@Override\n public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {\n return bean;\n }",
"@Override\n\tpublic PontoParametro getModelBean() {\n\t\treturn currentBean;\n\t}",
"Board(Board b) {\n internalCopy(b);\n }",
"public void beanInheritance()\n\t{\n\t\tPhone iphone = (Phone) appContext.getBean(\"iphone\");\n\t\tSystem.out.println(iphone.toString());\n\t}",
"@Override\n\tprotected void copy(Object source, Object dest) {\n\t\t\n\t}",
"@Override\r\n\tpublic MarcaOsEntity getModelBean() {\n\t\treturn currentBean;\r\n\t}",
"protected abstract void populateBeanFromRequest(BeanType bean, Request request);",
"@Override\n\tpublic Object creatBean(BeanEntity beanEntity) {\n\t\treturn null;\n\t}",
"public Resource saveDeep(Object bean) {\r\n\t\treturn write(bean, true);\r\n\t}",
"public Resource save(Object bean) {\r\n\t\treturn write(bean, false);\r\n\t}",
"@Override\n\tpublic Book update(Book dto) {\n\t\treturn null;\n\t}",
"protected void useExistingBean(XMLOutput output) throws JellyTagException\n {\n Object bean = fetchBean();\n if (bean == null)\n {\n throw new JellyTagException(\"Bean cannot be resolved!\");\n }\n checkBeanClass(bean);\n\n // invoke the tag's body; this may impact some of the properties\n invokeBody(output);\n\n String var = (String) getAttributes().get(ATTR_VAR);\n super.processBean(var, bean);\n callPassResults(bean, var);\n }",
"Board(Board model) {\r\n copy(model);\r\n }",
"protected void copy(){\n\t\tthis.model.copy(this.color.getBackground());\n\t}",
"@Override\n public FieldEntity copy()\n {\n return state.copy();\n }",
"public void setObject(Object obj) {\n\tObject bean = ((AxBridgeObject)obj).getJavaObject();\n\ttry {\n\t Class cls = bInfo.getBeanDescriptor().getCustomizerClass();\n\t if(cls != null) {\n\t\tcustomizer = (Customizer)cls.newInstance();\n\t\tcomp = (Component)customizer;\n\t\tcustomizer.setObject(bean);\n\t }\n\t \n\t //If no customizer, try property editors\n\t if(comp == null) {\n\t\tPropertyDescriptor[] pds = bInfo.getPropertyDescriptors();\n\t\tfor(int i=0;i<pds.length;i++) {\n\t\t cls = pds[i].getPropertyEditorClass();\n\t\t if(cls != null) {\n\t\t\t//System.out.println(cls.toString() + i);\n\t\t\tpropEditor = (PropertyEditor)cls.newInstance();\n\t\t\tif(propEditor.supportsCustomEditor()) {\n\t\t\t comp = propEditor.getCustomEditor();\n\t\t\t propEditor.setValue(bean);\n\t\t\t break;\n\t\t\t}\n\t\t }\n\t\t}\n\t }\n\t} catch(Throwable e) {\n\t e.printStackTrace();\n\t}\n }",
"protected void populateBeanFromParameters(Object bean, HttpServletRequest request) {\n\t\tMap<String,String> parameters = getParametersMap(request) ;\n\t\tBeanMapper mapper = new BeanMapper();\n\t\tmapper.mapToBean(parameters, bean);\n\n\t}",
"void copy(Board b) {\n internalCopy(b);\n }",
"public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {\n return bean;\n }",
"public abstract B copy();",
"<T> T save(T bean);",
"@Override\n\tpublic JuffrouBeanWrapper getBeanWrapper(Object instance) {\n\t\treturn new JuffrouBeanWrapper(getBeanWrapperContext(\n\t\t\t\tinstance.getClass(), null), instance);\n\t}",
"public ProductBean(final Instance _prodInst)\n {\n instance = _prodInst;\n }",
"public void borrarBeanActual() {\n\t\t// borrar el bean(controller) que se esta utilizando.\n\t\tString bean = this.getNombreBeanActual();\n\t\t// borrar el bean de session\n\t\tif (!TratamientoDeDatos.esNullCeroVacio(bean)) {\n\t\t\tFacesUtils.deleteSession(bean);\n\t\t}\n\t}",
"@Override\r\n public void inject(ConcurrentMap<String, Object> singleton, Object bean, Field field) {\n Reflections.setField(bean, field, field.getAnnotation(Value.class).value());\r\n }",
"void copyFrom(Board board) {\n if (board == this) {\n return;\n }\n _moves.clear();\n _moves.addAll(board._moves);\n _turn = board._turn;\n this.initialize(board.boardArr, board._turn);\n }",
"@Override\n public BeanWraper createBeanWraper() {\n \treturn newBeanWraper();\n }",
"@Override\n protected void beforeOpen(HttpServletRequest request, ActionForm form)\n \t\tthrows Exception {\n \tsuper.beforeOpen(request, form);\n \tLong id = RequestUtils.getLongParameter(\"id\", -1);\n \tif(id != -1){\n \t\trequest.setAttribute(\"bean\", this.getService().load(id));\n \t}\n }",
"public void exportar(Object bean) {\n\t\t\r\n\t}",
"@Override\r\n public void setBeanIdentifier(java.lang.String beanIdentifier) {\r\n _contentHolderService.setBeanIdentifier(beanIdentifier);\r\n }",
"@Override\n\tpublic void change(MemberBean member) {\n\n\t}",
"public boolean goThere(XMPPBean bean) {\n\t\tSystem.out.println(\"gothere von: \" + bean.getFrom() + \" nach: \" + jid);\n\t\tbean.setFrom(fromJID);\n\t\tbean.setTo(jid);\n\t\tbean.setType(XMPPBean.TYPE_SET);\n//\t\tconnection.sendPacket(new BeanIQAdapter(bean));\n\t\tunacknowledgedBeans.add(bean);\n\t\tnew BeanResenderTask(bean, this);\n\t\treturn true;\n\t}",
"@SuppressWarnings(\"unchecked\")\n public static <T> T cloneBean(T source) {\n try {\n if (source == null) {\n return null;\n }\n T dto = (T) source.getClass().getConstructor().newInstance();\n BeanUtils.copyProperties(source, dto);\n return dto;\n } catch (Exception e) {\n logger.error(e.getMessage(), e);\n return null;\n }\n }",
"public void update(InterfaceBean object) {\n\t\t\n\t}",
"Prototype makeCopy();",
"public void setListaCuentaContableBean(ListaCuentaContableBean listaCuentaContableBean)\r\n/* 324: */ {\r\n/* 325:387 */ this.listaCuentaContableBean = listaCuentaContableBean;\r\n/* 326: */ }",
"@Override\n\tpublic Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {\n\t\tSystem.out.println(\"Step8:执行 postProcessAfterInitialization 方法\");\n\t\treturn bean;\n\t}",
"@Override\n public void setProperty(final Object bean, final String name, final Object value) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException {\n if (!collections.isEmpty()) {\n Pair<String, Object> collectionInfo = collections.pop();\n }\n super.setProperty(bean, name, value);\n }",
"ComponentBean getReferencedBean();",
"void intercept(BeanInvocation<_B> invocation) throws Exception;",
"private void handleAdditionalProperties(Object bean)\n throws JellyTagException\n {\n if (getAdditionalProperties() != null)\n {\n setBeanProperties(bean, getAdditionalProperties());\n }\n }",
"Model copy();",
"@Override\n public void setBean(TimeSheet t)\n {\n \n }",
"@Override\n\tpublic void update(CardRule bean) {\n\n\t}",
"@Override\r\n\tpublic JChangeApply createBean() {\n\t\treturn new JChangeApply();\r\n\t}",
"@Bean(name = \"bean\") //name=\" \" to change the bean name\n public Address addressBean() {\n \treturn new Address();\n }",
"public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {\n return bean;\n }",
"private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }",
"@Override\n public void copyProperty(Object dest, String name, Object value)\n throws IllegalAccessException, InvocationTargetException {\n if (value != null) {\n // attempt to check if the value is a pojo we can clone using nested calls\n if (!value.getClass().isPrimitive()\n && !value.getClass().isSynthetic()\n && !isInternal(value.getClass().getName())) {\n try {\n Object prop = super.getPropertyUtils().getProperty(dest, name);\n // get current value, if its null then clone the value and set that to the value\n if (prop == null) {\n super.setProperty(dest, name, super.cloneBean(value));\n } else {\n // get the destination value and then recursively call\n copyProperties(prop, value);\n }\n } catch (NoSuchMethodException e) {\n return;\n } catch (InstantiationException e) {\n throw new RuntimeException(\"Nested property could not be cloned.\", e);\n }\n } else {\n super.copyProperty(dest, name, value);\n }\n }\n }",
"protected BeanManagerImpl( Class<T> bean, BeanInfo beanInfo ) {\n super( bean, beanInfo );\n }",
"public Object saveOrUpdateCopy(Object obj) throws HibException;",
"@Override\n public void copyTo(UserProfile userProfile) {\n userProfile.setId(getId());\n userProfile.setCity(getCity());\n userProfile.setZipcode(getZipcode());\n userProfile.setCountry(getCountry());\n userProfile.setTitle(getTitle());\n userProfile.setName(getName());\n userProfile.setFirstName(getFirstName());\n userProfile.setLastName(getLastName());\n userProfile.setUsername(getUsername());\n userProfile.setGender(getGender());\n userProfile.setPoints(getPoints());\n userProfile.setNotifyReportDue(isNotifyReportDue());\n }",
"public <T> void writeExternal(Bean<T> bean, T actualResource, ObjectOutput out) throws IOException {\n //do nothing\n }",
"public void instanceAdded(Contextual<?> bean, CreationalContext<?> context, Object instance);",
"public void copyFrom(IPSDbComponent src)\n {\n // Threshold - base class handling\n if (null == src || !getClass().isInstance(src))\n throw new IllegalArgumentException(\n \"src must be a \" + getClass().getName());\n\n /*m_strFieldName isn't copied because that property is immutable on an\n object. If we copied it, that contract would be broken. */\n\n PSSearchField other = (PSSearchField) src;\n\n // setters handle dirty flagging\n setDisplayName(other.getDisplayName());\n setFieldDescription(other.getFieldDescription());\n setFieldType(other.getFieldType());\n //don't call getFieldValues() because it clones\n setValues(other.getOperator(), other.getExternalOperator(), \n other.m_values);\n m_sequence = other.m_sequence;\n m_choices = other.m_choices;\n }",
"public void copyEmployeeSalarySheetFrom(EmployeeSalarySheet employeeSalarySheet) {\n\t\t\n EmployeeSalarySheet employeeSalarySheetInList = findTheEmployeeSalarySheet(employeeSalarySheet);\n EmployeeSalarySheet newEmployeeSalarySheet = new EmployeeSalarySheet();\n employeeSalarySheetInList.copyTo(newEmployeeSalarySheet);\n newEmployeeSalarySheet.setVersion(0);//will trigger copy\n getEmployeeSalarySheetList().add(newEmployeeSalarySheet);\n\t}",
"protected void setSelection(BEAN newBean) {\n\t\tBEAN oldElement = getInternalValue();\n\t\tsetInternalValue(newBean);\n\t\ttextField.setValue(newBean.toString());\n\t\tif (searchListener != null) {\n\t\t\tsearchListener.select(oldElement, newBean);\n\t\t}\n\t}",
"@Override\n public void setBeanIdentifier(String beanIdentifier) {\n _beanIdentifier = beanIdentifier;\n }",
"@Override\n public void setBeanIdentifier(String beanIdentifier) {\n _beanIdentifier = beanIdentifier;\n }",
"@Override\n public void setBeanIdentifier(String beanIdentifier) {\n _beanIdentifier = beanIdentifier;\n }",
"public Object detachCopy(Object po)\n{\n\treturn po;\n}",
"@NoProxy\n public void copyTo(final BwEvent ev) {\n super.copyTo(ev);\n ev.setEntityType(getEntityType());\n ev.setName(getName());\n ev.setClassification(getClassification());\n ev.setDtstart(getDtstart());\n ev.setDtend(getDtend());\n ev.setEndType(getEndType());\n ev.setDuration(getDuration());\n ev.setNoStart(getNoStart());\n\n ev.setLink(getLink());\n ev.setGeo(getGeo());\n ev.setDeleted(getDeleted());\n ev.setStatus(getStatus());\n ev.setCost(getCost());\n\n BwOrganizer org = getOrganizer();\n if (org != null) {\n org = (BwOrganizer)org.clone();\n }\n ev.setOrganizer(org);\n\n ev.setDtstamp(getDtstamp());\n ev.setLastmod(getLastmod());\n ev.setCreated(getCreated());\n ev.setStag(getStag());\n ev.setPriority(getPriority());\n ev.setSequence(getSequence());\n\n ev.setLocation(getLocation());\n\n ev.setUid(getUid());\n ev.setTransparency(getTransparency());\n ev.setPercentComplete(getPercentComplete());\n ev.setCompleted(getCompleted());\n\n ev.setCategories(copyCategories());\n\n ev.setContacts(copyContacts());\n\n ev.setAttendees(cloneAttendees());\n ev.setCtoken(getCtoken());\n\n ev.setRecurrenceId(getRecurrenceId());\n ev.setRecurring(getRecurring());\n if (ev.isRecurringEntity()) {\n ev.setRrules(clone(getRrules()));\n ev.setExrules(clone(getExrules()));\n ev.setRdates(clone(getRdates()));\n ev.setExdates(clone(getExdates()));\n }\n\n ev.setScheduleMethod(getScheduleMethod());\n ev.setOriginator(getOriginator());\n\n /* Don't copy these - we always set them anyway\n if (getNumRecipients() > 0) {\n ev.setRecipients(new TreeSet<String>());\n\n for (String s: getRecipients()) {\n ev.addRecipient(s);\n }\n }*/\n\n if (getNumComments() > 0) {\n ev.setComments(null);\n\n for (final BwString str: getComments()) {\n ev.addComment((BwString)str.clone());\n }\n }\n\n if (getNumSummaries() > 0) {\n ev.setSummaries(null);\n\n for (final BwString str: getSummaries()) {\n ev.addSummary((BwString)str.clone());\n }\n }\n\n if (getNumDescriptions() > 0) {\n ev.setDescriptions(null);\n\n for (final BwLongString str: getDescriptions()) {\n ev.addDescription((BwLongString)str.clone());\n }\n }\n\n if (getNumResources() > 0) {\n ev.setResources(null);\n\n for (final BwString str: getResources()) {\n ev.addResource((BwString)str.clone());\n }\n }\n\n if (getNumXproperties() > 0) {\n ev.setXproperties(null);\n\n for (final BwXproperty x: getXproperties()) {\n ev.addXproperty((BwXproperty)x.clone());\n }\n }\n\n ev.setScheduleState(getScheduleState());\n\n //ev.setRequestStatuses(clone(getRequestStatuses()));\n\n final BwRelatedTo rt = getRelatedTo();\n if (rt != null) {\n ev.setRelatedTo((BwRelatedTo)rt.clone());\n }\n\n /* These are in x-props in 3.10\n ev.setPollMode(getPollMode());\n ev.setPollProperties(getPollProperties());\n ev.setPollAcceptResponse(getPollAcceptResponse());\n\n ev.setPollItemId(getPollItemId());\n if (!Util.isEmpty(getPollItems())) {\n for (final String s: getPollItems()) {\n ev.addPollItem(s);\n }\n }\n */\n\n ev.setPollCandidate(getPollCandidate());\n }",
"public PrioridadPalabrasClaveVO(PrioridadPalabrasClaveVO otherBean)\r\n {\r\n if (otherBean != null)\r\n {\r\n this.palabrasClave = otherBean.getPalabrasClave();\r\n }\r\n }",
"@Override\n\tpublic void updatePass(MemberBean param) {\n\t\t\n\t}",
"@Override\r\n\tpublic ContentValues beanToValues() {\n\t\treturn null;\r\n\t}",
"protected void setForm(final T bean, final AjaxRequestTarget target) {\n LOG.debug(\"Setting form to {}\", bean);\n\n // update the model with the new bean\n formModel.setObject(bean);\n\n // add the form to the target\n target.add(form);\n\n // update the button\n updateSaveButton.setModel(Model.of(\"Update\"));\n target.add(updateSaveButton);\n }"
] |
[
"0.6997226",
"0.6368806",
"0.61947286",
"0.6111135",
"0.5900378",
"0.5831173",
"0.57726634",
"0.5716329",
"0.57068694",
"0.5655099",
"0.5621454",
"0.5620594",
"0.5582158",
"0.5581418",
"0.55175567",
"0.5500079",
"0.5482576",
"0.54469657",
"0.5429195",
"0.54178566",
"0.54008687",
"0.5388915",
"0.5387248",
"0.5349598",
"0.5342174",
"0.53419054",
"0.52747005",
"0.526829",
"0.5225236",
"0.52148515",
"0.5204254",
"0.51976675",
"0.5182202",
"0.51468",
"0.514019",
"0.5119184",
"0.5106031",
"0.50971437",
"0.50849617",
"0.5067721",
"0.50587463",
"0.5046784",
"0.5045951",
"0.5044935",
"0.50329614",
"0.5019886",
"0.5019089",
"0.5016617",
"0.50144404",
"0.49916595",
"0.49871427",
"0.49847898",
"0.49696374",
"0.49671033",
"0.49657506",
"0.4950914",
"0.49443448",
"0.49371657",
"0.49333495",
"0.49132013",
"0.4904936",
"0.49033558",
"0.48998123",
"0.48921683",
"0.48920053",
"0.4863775",
"0.48623717",
"0.48606008",
"0.48571903",
"0.48520845",
"0.48518604",
"0.48465493",
"0.4837757",
"0.48337483",
"0.4833471",
"0.4823097",
"0.4821069",
"0.4814549",
"0.4814547",
"0.48142684",
"0.4813351",
"0.48080903",
"0.48043448",
"0.48029912",
"0.47943756",
"0.47832188",
"0.47703356",
"0.47586685",
"0.47566888",
"0.47550204",
"0.4750313",
"0.47450507",
"0.47450507",
"0.47450507",
"0.47315192",
"0.4727132",
"0.47216856",
"0.47216427",
"0.4715721",
"0.47106135"
] |
0.5533747
|
14
|
Returns the object string representation.
|
public String toString() {
StringBuffer ret = new StringBuffer();
ret.append("\n[MTBTypes] ");
ret.append("\n - MTBTypes._MTBTypes_key = ").append((MTBTypesKey_is_initialized ? ("[" + (MTBTypesKey == null ? null : MTBTypesKey.toString()) + "]") : "not initialized"));
ret.append("\n - MTBTypes.type = ").append((type_is_initialized ? ("[" + (type == null ? null : type) + "]") : "not initialized"));
ret.append("\n - MTBTypes.description = ").append((description_is_initialized ? ("[" + (description == null ? null : description) + "]") : "not initialized"));
ret.append("\n - MTBTypes.tableName = ").append((tableName_is_initialized ? ("[" + (tableName == null ? null : tableName) + "]") : "not initialized"));
ret.append("\n - MTBTypes.columnName = ").append((columnName_is_initialized ? ("[" + (columnName == null ? null : columnName) + "]") : "not initialized"));
ret.append("\n - MTBTypes.create_user = ").append((createUser_is_initialized ? ("[" + (createUser == null ? null : createUser) + "]") : "not initialized"));
ret.append("\n - MTBTypes.create_date = ").append((createDate_is_initialized ? ("[" + (createDate == null ? null : createDate.toString()) + "]") : "not initialized"));
ret.append("\n - MTBTypes.update_user = ").append((updateUser_is_initialized ? ("[" + (updateUser == null ? null : updateUser) + "]") : "not initialized"));
ret.append("\n - MTBTypes.update_date = ").append((updateDate_is_initialized ? ("[" + (updateDate == null ? null : updateDate.toString()) + "]") : "not initialized"));
return ret.toString();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public String toString()\r\n\t{\r\n\t\tStringBuffer OutString = new StringBuffer();\r\n\t\t// Open tag\r\n\t\tOutString.append(\"<\");\r\n\t\t// Add the object's type\r\n\t\tOutString.append(getType());\r\n\t\t// attach the ID if required.\r\n\t\tif (DEBUG)\r\n\t\t\tOutString.append(getObjID());\r\n\t\t// add the class attribute if required; default: don't.\r\n\t\tif (getIncludeClassAttribute() == true)\r\n\t\t\tOutString.append(getClassAttribute());\r\n\t\t// Add any transformation information,\r\n\t\t// probably the minimum is the x and y values.\r\n\t\t// again this is new to Java 1.4;\r\n\t\t// this function returns a StringBuffer.\r\n\t\tOutString.append(getAttributes());\r\n\t\t// close the tag.\r\n\t\tOutString.append(\">\");\r\n\t\tOutString.append(\"&\"+entityReferenceName+\";\");\r\n\t\t// close tag\r\n\t\tOutString.append(\"</\");\r\n\t\tOutString.append(getType());\r\n\t\tOutString.append(\">\");\r\n\r\n\t\treturn OutString.toString();\r\n\t}",
"public String toString() { return stringify(this, true); }",
"@Override\n public String toString() {\n // TODO: Using Serializer\n return Serializer.toByteArray(this).toString();\n }",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t}",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t}",
"@Override\n public String toString() {\n return stringBuilder.toString() + OBJECT_SUFFIX;\n }",
"public String toString() {\n StringWriter writer = new StringWriter();\n this.write(writer);\n return writer.toString();\n }",
"public String toString(){\r\n\t\tString superString = super.toString();\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\t//Add the object to the string\r\n\t\tbuilder.append(\". \");\r\n\t\tif (this.error != null) {\r\n\t\t\tbuilder.append(error.toString());\r\n\t\t\tbuilder.append(\". \");\r\n\t\t}\r\n\t\tbuilder.append(\"Object: \");\r\n\t\tbuilder.append(object.toString());\r\n\t\tif (this.recordRoute)\r\n\t\t\tbuilder.append(\", [RECORD_ROUTE]\");\r\n\t\tif (this.reRouting) \r\n\t\t\tbuilder.append(\", [RE-ROUTING]\");\r\n\t\t//Add the masks to the string\r\n\t\tif (this.mask != null) {\r\n\t\t\tbuilder.append(\", label set: \");\r\n\t\t\tbuilder.append(mask.toString());\r\n\t\t}\r\n\t\treturn superString.concat(builder.toString());\r\n\t}",
"public String toString() {\n return ToStringBuilder.reflectionToString(this);\n }",
"public String objectToString() {\n \n StringBuilder s = new StringBuilder(new String(\"\"));\n if(aggressor instanceof Town) {\n s.append(((Town) aggressor).getName()).append(\" \");\n } else {\n s.append(((Nation) aggressor).getName()).append(\" \");\n }\n if(defender instanceof Town) {\n s.append(((Town) defender).getName()).append(\" \");\n } else {\n s.append(((Nation) defender).getName()).append(\" \");\n }\n s.append(aggressorPoints).append(\" \");\n s.append(defenderPoints).append(\" \");\n for (Town town : towns.keySet()) {\n s.append(town.getName()).append(\" \");\n s.append(towns.get(town)).append(\" \");\n }\n\n if (rebelwar != null)\n s.append(\" \").append(rebelwar.getName());\n else\n s.append(\" \" + \"n u l l\");\n\n return s.toString();\n }",
"public String toString() {\n\t\treturn toString(true);\n\t}",
"String objectWrite();",
"@Override()\n public String toString()\n {\n final StringBuilder buffer = new StringBuilder();\n toString(buffer);\n return buffer.toString();\n }",
"public String toString()\n\t{\n\t\treturn Printer.stringify(this, false);\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn \"Object [name = \" + name.get() + \", typ = \" + typ.get() + \"]\";\n\t}",
"public String toString() {\n\treturn createString(data);\n }",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString();",
"public String toString(){\n \treturn \"todo: use serialize() method\";\r\n }",
"public String toString() {\n StringBuffer buffer = new StringBuffer();\n\n buffer.append(getClass().getName());\n buffer.append(\"@\");\n buffer.append(Integer.toHexString(hashCode()));\n buffer.append(\" [\");\n buffer.append(objectToString(\"Id\", getId()));\n buffer.append(objectToString(\"ProjectName\", getProjectName()));\n buffer.append(objectToStringFK(\"DataProvider\", getDataProvider()));\n buffer.append(objectToStringFK(\"PrimaryInvestigator\", getPrimaryInvestigator()));\n buffer.append(objectToStringFK(\"CreatedBy\", getCreatedBy()));\n buffer.append(objectToString(\"CreatedTime\", getCreatedTime()));\n buffer.append(\"]\");\n\n return buffer.toString();\n }",
"public String toString(){\n return XMLParser.parseObject(this);\n }",
"public String toString() ;",
"@Override\n\tpublic String toString() {\n\t\ttry {\n\t\t\treturn this.toJSONString(0);\n\t\t} catch (Exception e) {\n\t\t\treturn null;\n\t\t}\n\t}",
"public String toString() {\n\t\treturn toString(this);\n\t}",
"public String serialize() {\n switch (type) {\n case LIST:\n return serializeList();\n\n case OBJECT:\n return serializeMap();\n\n case UNKNOWN:\n return serializeUnknown();\n }\n return \"\";\n }",
"public String toString() {\n\t\treturn toString(0, 0);\n\t}",
"@Override\n public String toString() {\n return new JSONSerializer().serialize(this);\n }",
"public final String toString() {\n\t\tStringWriter write = new StringWriter();\n\t\tString out = null;\n\t\ttry {\n\t\t\toutput(write);\n\t\t\twrite.flush();\n\t\t\tout = write.toString();\n\t\t\twrite.close();\n\t\t} catch (UnsupportedEncodingException use) {\n\t\t\tuse.printStackTrace();\n\t\t} catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t}\n\t\treturn (out);\n\t}",
"public String toString(Object o) { return Objects.toString(o,null); }",
"@Override\n public String toString() {\n ObjectMapper mapper = new ObjectMapper();\n try {\n return mapper.writeValueAsString(this);\n } catch (JsonProcessingException e) {\n return null;\n }\n }",
"@Override\n\tpublic String toString() {\n\t\treturn toText();\n\t}",
"public String toString() {\n\t\treturn super.toString();\n\t\t// This gives stack overflows:\n\t\t// return ToStringBuilder.reflectionToString(this);\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn toJSON().toString();\n\t}",
"@Override\n public String toString() {\n return ObjectContracts.toString(this, \"objectType\", \"name\", \"atPath\");\n }",
"@Override\n\tpublic String toString() {\n\t\treturn toStringBuilder(new StringBuilder()).toString();\n\t}",
"public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }",
"public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }",
"@Override public String toString();",
"@Override\r\n\tpublic String toString();",
"@Override\n public String toString() {\n return new Gson().toJson(this);\n }",
"@Override\r\n public String toString() {\r\n return JsonSerializer.SerializeObject(this);\r\n }",
"@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }",
"@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }",
"@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }",
"@Override\r\n\tpublic String toString() {\n\t\tString str = \"\";\r\n\t\treturn str;\r\n\t}",
"@Override\n public final String toString() {\n return asString(0, 4);\n }",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"@Override\r\n String toString();",
"@Override\r\n public String toString();",
"@Override\n public String toString() {\n return toString(false, true, true, null);\n }",
"@Override\n\tpublic String toString() {\n\t\tif (repr == null)\n\t\t\trepr = toString(null);\n\n\t\treturn repr;\n\t}",
"@Override\n public String toString() {\n return gson.toJson(this);\n }",
"@Override\n\tpublic String toString();",
"@Override\n String toString();"
] |
[
"0.809714",
"0.7921561",
"0.76736987",
"0.76660186",
"0.76660186",
"0.7638587",
"0.75592476",
"0.75446284",
"0.75288165",
"0.752097",
"0.74476755",
"0.7438453",
"0.7409365",
"0.7394651",
"0.73785204",
"0.7354205",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.73381233",
"0.7312895",
"0.72941506",
"0.7283503",
"0.7269022",
"0.726544",
"0.7261975",
"0.7243155",
"0.7240657",
"0.7237738",
"0.72256076",
"0.7224813",
"0.7219212",
"0.7219205",
"0.7218462",
"0.7214901",
"0.72122514",
"0.71973795",
"0.71932834",
"0.71932834",
"0.71771276",
"0.71723914",
"0.71623874",
"0.7158697",
"0.71579754",
"0.71579754",
"0.71579754",
"0.7146205",
"0.7137248",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.71302205",
"0.7119956",
"0.71194804",
"0.7105293",
"0.7100201",
"0.70987844",
"0.7077654",
"0.70671684"
] |
0.0
|
-1
|
Returns the object string representation as XML.
|
public String toXML() {
StringBuffer ret = new StringBuffer();
ret.append("<table name=\"MTBTypes\">\n");
ret.append(" <column name=\"_MTBTypes_key\"\n");
ret.append(" value=\"").append((MTBTypesKey_is_initialized ? ((MTBTypesKey == null ? null : MTBTypesKey.toString())) : "[not initialized]")).append("\"/>\n");
ret.append(" <column name=\"type\"\n");
ret.append(" value=\"").append((type_is_initialized ? ((type == null ? null : type)) : "[not initialized]")).append("\"/>\n");
ret.append(" <column name=\"description\"\n");
ret.append(" value=\"").append((description_is_initialized ? ((description == null ? null : description)) : "[not initialized]")).append("\"/>\n");
ret.append(" <column name=\"tableName\"\n");
ret.append(" value=\"").append((tableName_is_initialized ? ((tableName == null ? null : tableName)) : "[not initialized]")).append("\"/>\n");
ret.append(" <column name=\"columnName\"\n");
ret.append(" value=\"").append((columnName_is_initialized ? ((columnName == null ? null : columnName)) : "[not initialized]")).append("\"/>\n");
ret.append(" <column name=\"create_user\"\n");
ret.append(" value=\"").append((createUser_is_initialized ? ((createUser == null ? null : createUser)) : "[not initialized]")).append("\"/>\n");
ret.append(" <column name=\"create_date\"\n");
ret.append(" value=\"").append((createDate_is_initialized ? ((createDate == null ? null : createDate.toString())) : "[not initialized]")).append("\"/>\n");
ret.append(" <column name=\"update_user\"\n");
ret.append(" value=\"").append((updateUser_is_initialized ? ((updateUser == null ? null : updateUser)) : "[not initialized]")).append("\"/>\n");
ret.append(" <column name=\"update_date\"\n");
ret.append(" value=\"").append((updateDate_is_initialized ? ((updateDate == null ? null : updateDate.toString())) : "[not initialized]")).append("\"/>\n");
ret.append("</table>");
return ret.toString();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public String toXML() {\n StringWriter stringWriter = new StringWriter();\n PrintWriter printWriter = new PrintWriter(stringWriter, true);\n toXML(printWriter);\n return stringWriter.toString();\n }",
"public String toXml() {\n\t\treturn(toString());\n\t}",
"public abstract String toXML();",
"public abstract String toXML();",
"public abstract String toXML();",
"public static String toXMLString(Object obj) {\r\n if (obj == null) {\r\n return null;\r\n }\r\n\r\n String pkgName = obj.getClass().getPackage().getName();\r\n try {\r\n if (!entityMarshallers.containsKey(pkgName)) {\r\n JAXBContext jc = JAXBContext.newInstance(pkgName);\r\n entityMarshallers.put(pkgName, jc.createMarshaller());\r\n entityMarshallerLock.put(pkgName, new Object());\r\n }\r\n\r\n StringWriter sw = new StringWriter();\r\n Marshaller marshaller = entityMarshallers.get(pkgName);\r\n Object locker = entityMarshallerLock.get(pkgName);\r\n\r\n synchronized (locker) {\r\n marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Configuration.getBoolean(Constant.CONFIG_KEY.PCM_XML_PRETTY_PRINT));\r\n marshaller.marshal(obj, sw);\r\n }\r\n\r\n return sw.toString();\r\n\r\n } catch (Exception e) {\r\n Logger.defaultLogger.error(e.getMessage(), e);\r\n }\r\n return \"\";\r\n }",
"public String exportXML() {\n\n\t\tXStream xstream = new XStream();\n\t\txstream.setMode(XStream.NO_REFERENCES);\n\n\t\treturn xstream.toXML(this);\n\t}",
"public String\ttoXML()\t{\n\t\treturn toXML(0);\n\t}",
"public String toString()\r\n\t{\r\n\t\tStringBuffer OutString = new StringBuffer();\r\n\t\t// Open tag\r\n\t\tOutString.append(\"<\");\r\n\t\t// Add the object's type\r\n\t\tOutString.append(getType());\r\n\t\t// attach the ID if required.\r\n\t\tif (DEBUG)\r\n\t\t\tOutString.append(getObjID());\r\n\t\t// add the class attribute if required; default: don't.\r\n\t\tif (getIncludeClassAttribute() == true)\r\n\t\t\tOutString.append(getClassAttribute());\r\n\t\t// Add any transformation information,\r\n\t\t// probably the minimum is the x and y values.\r\n\t\t// again this is new to Java 1.4;\r\n\t\t// this function returns a StringBuffer.\r\n\t\tOutString.append(getAttributes());\r\n\t\t// close the tag.\r\n\t\tOutString.append(\">\");\r\n\t\tOutString.append(\"&\"+entityReferenceName+\";\");\r\n\t\t// close tag\r\n\t\tOutString.append(\"</\");\r\n\t\tOutString.append(getType());\r\n\t\tOutString.append(\">\");\r\n\r\n\t\treturn OutString.toString();\r\n\t}",
"public String getXML() {\n\t\tString xml = \"\";\n\t\ttry {\n\t\t\tJAXBContext jc = JAXBContext.newInstance( VolumeRs.class );\n\t\t\tMarshaller m = jc.createMarshaller();\n\t\t\tStringWriter stringWriter = new StringWriter();\n\t\t\tm.marshal(this, stringWriter);\n\t\t\txml = stringWriter.toString();\n\t\t} catch (JAXBException ex) {}\n\t\treturn xml;\n\t}",
"public String toXML()\n\t{\n\t\treturn toXML(0);\n\t}",
"public String toXML()\n\t{\n\t\treturn toXML(0);\n\t}",
"public final String toString() {\n StringBuffer sb = new StringBuffer();\n sb.append(\"<?xml version=\\\"1.0\\\"?>\").append(br());\n toXML(sb, 0);\n return sb.toString();\n }",
"public String toString(){\n return XMLParser.parseObject(this);\n }",
"public String toXML() {\n return null;\n }",
"public String toXML() {\n return null;\n }",
"public String toString() {\n\t\tByteArrayOutputStream bos = new ByteArrayOutputStream();\n\n\t\tDocument document = XMLUtils.newDocument();\n\t\tdocument.appendChild(toXML(document));\n\t\tXMLUtils.write(bos, document);\n\n\t\treturn bos.toString();\n\t}",
"public String getXML() {\n\t\tString xml = \"\";\n\t\ttry {\n\t\t\tJAXBContext jc = JAXBContext.newInstance( QuotaUserRs.class );\n\t\t\tMarshaller m = jc.createMarshaller();\n\t\t\tStringWriter stringWriter = new StringWriter();\n\t\t\tm.marshal(this, stringWriter);\n\t\t\txml = stringWriter.toString();\n\t\t} catch (JAXBException ex) {}\n\t\treturn xml;\n\t}",
"public String printToXml()\n {\n XMLOutputter outputter = new XMLOutputter();\n outputter.setFormat(org.jdom.output.Format.getPrettyFormat());\n return outputter.outputString(this.toXml());\n }",
"public String toXML(Object beanObject) throws XMLUtilityException {\r\n\t\tStringWriter strWriter = new StringWriter();\r\n\t\ttoXML(beanObject, strWriter);\r\n\t\treturn strWriter.toString();\r\n\t}",
"public abstract StringBuffer toXML();",
"public java.lang.String toString() {\n // call toString() with includeNS true by default and declareNS false\n String xml = this.toString(true, false);\n return xml;\n }",
"public java.lang.String getXml();",
"public String toXMLTag() {\n\t\tfinal StringBuffer buffer = new StringBuffer();\n\t\ttoXMLTag(buffer,0);\n\t\treturn buffer.toString();\n\t}",
"public abstract StringBuffer toXML ();",
"Element toXML();",
"private String toXML(){\n\tString buffer = \"<xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\">\\n\";\n\tfor(Room[] r : rooms)\n\t for(Room s : r)\n\t\tif(s != null)\n\t\t buffer += s.toXML();\n\tbuffer += \"</xml>\";\n\treturn buffer;\n }",
"public String getXML() {\n\t\treturn getXML(false);\n\t}",
"public String toXml() {\n StringWriter outputStream = new StringWriter();\n try {\n PrintWriter output = new PrintWriter(outputStream);\n try {\n output.write(\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\");\n toXml(output);\n return outputStream.toString();\n }\n catch (Exception ex) {\n Logger logger = Logger.getLogger(this.getClass());\n logger.error(ex);\n throw new EJBException(ex);\n }\n finally {\n output.close();\n }\n }\n finally {\n try {\n outputStream.close();\n }\n catch (IOException ex) {\n Logger logger = Logger.getLogger(this.getClass());\n logger.error(ex);\n throw new EJBException(ex);\n }\n }\n }",
"String toXML() throws RemoteException;",
"public String toXMLString() {\n\t\treturn toXMLString(XML_TAB, XML_NEW_LINE);\n\t}",
"String toXmlString() throws IOException;",
"public String toXml() throws JAXBException {\n JAXBContext jc = JAXBContext.newInstance(TimeModel.class);\n Marshaller marshaller = jc.createMarshaller();\n marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n StringWriter out = new StringWriter();\n marshaller.marshal(this, out);\n return out.toString();\n }",
"@Override\n public String toXML() {\n if (_xml == null)\n _xml = String.format(XML, getStanzaId(), to);\n return _xml;\n }",
"public static String toXml(Object root) {\n Class clazz = Reflections.getUserClass(root);\n return toXml(root, clazz, null, true);\n }",
"protected String getXML() {\n\n StringBuffer b = new StringBuffer(\"title =\\\"\");\n b.append(title);\n b.append(\"\\\" xAxisTitle=\\\"\");\n b.append(xAxisTitle);\n b.append(\"\\\" yAxisTitle=\\\"\");\n b.append(yAxisTitle);\n b.append(\"\\\" xRangeMin=\\\"\");\n b.append(xRangeMin);\n b.append(\"\\\" xRangeMax=\\\"\");\n b.append(xRangeMax);\n b.append(\"\\\" xRangeIncr=\\\"\");\n b.append(xRangeIncr);\n b.append(\"\\\" yRangeMin=\\\"\");\n b.append(yRangeMin);\n b.append(\"\\\" yRangeMax=\\\"\");\n b.append(yRangeMax);\n b.append(\"\\\" yRangeIncr=\\\"\");\n b.append(yRangeIncr);\n b.append(\"\\\" >\\n\");\n\n for (int i = 0, n = dataSources.size(); i < n; i++) {\n GuiChartDataSource ds = (GuiChartDataSource)dataSources.get(i);\n b.append(ds.toXML());\n b.append(\"\\n\");\n }\n\n return b.toString();\n }",
"@Override\n\tpublic String toXMLString(Object arg0) {\n\t\treturn null;\n\t}",
"public static String xmlMarshall(Object obj) throws Exception {\n\t\tStringWriter writer = null;\n\t\ttry {\n\t\t\tJAXBContext jaxbContext = JAXBContext.newInstance(obj.getClass());\n\t\t\tMarshaller marshaller = jaxbContext.createMarshaller();\n\t\t\twriter = new StringWriter();\n\n\t\t\tmarshaller.setProperty(Marshaller.JAXB_FRAGMENT, true);\n\t\t\tmarshaller.setProperty(Marshaller.JAXB_ENCODING, \"UTF-8\");\n\t\t\tmarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n\t\t\tmarshaller.marshal(obj, writer);\n\t\t\tString result = writer.toString();\n\t\t\treturn result;\t\t\n\t\t}finally {\n\t\t\tif (writer != null)\n\t\t\t\twriter.close();\n\t\t}\t\t\n\t}",
"@Override\r\n public String toString() {\r\n return JAXBToStringBuilder.valueOf(this, JAXBToStringStyle.SIMPLE_STYLE);\r\n }",
"@Override\n\tpublic CharSequence toXML() {\n\t\treturn null;\n\t}",
"@Get(\"xml\")\n public Representation toXml() {\n\n \tString status = getRequestFlag(\"status\", \"valid\");\n \tString access = getRequestFlag(\"location\", \"all\");\n\n \tList<Map<String, String>> metadata = getMetadata(status, access,\n \t\t\tgetRequestQueryValues());\n \tmetadata.remove(0);\n\n List<String> pathsToMetadata = buildPathsToMetadata(metadata);\n\n String xmlOutput = buildXmlOutput(pathsToMetadata);\n\n // Returns the XML representation of this document.\n StringRepresentation representation = new StringRepresentation(xmlOutput,\n MediaType.APPLICATION_XML);\n\n return representation;\n }",
"public static <T> String toXML(T object, String alias) {\r\n\t\tif (object == null) {\r\n\t\t\tthrow new IllegalArgumentException(\"Object cannot be null\");\r\n\t\t}\r\n\t\tif (alias == null) {\r\n\t\t\tthrow new IllegalArgumentException(\"Alais cannot be null\");\r\n\t\t}\r\n\t\tXStream xStream = new XStream();\r\n\t\txStream.alias(alias, object.getClass());\r\n\t\tStringWriter writer = new StringWriter();\r\n\t\txStream.toXML(object, writer);\r\n\t\treturn writer.toString();\r\n\t}",
"@Override\n public String toString() {\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);\n }",
"@Override\n public String toString() {\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);\n }",
"public String toXml() throws Exception {\r\n\t\tJAXBContext jc = JAXBContext.newInstance(TaskTypes.class);\r\n\t\tMarshaller m = jc.createMarshaller();\r\n\t\tStringWriter sw = new StringWriter();\r\n\t\tm.marshal(this, sw);\r\n\t\treturn sw.toString();\r\n\t}",
"public String toXML()\n {\n /* this is the kind of string that we will be generating here:\n *\n * <presence from='[email protected]/globe'>\n * <c xmlns='http://jabber.org/protocol/caps'\n * hash='sha-1'\n * node='http://jitsi.org'\n * ver='zHyEOgxTrkpSdGcQKH8EFPLsriY='/>\n * </presence>\n */\n\n StringBuilder bldr\n = new StringBuilder(\"<c xmlns='\" + getNamespace() + \"' \");\n\n if(getExtensions() != null)\n bldr.append(\"ext='\" + getExtensions() + \"' \");\n\n bldr.append(\"hash='\" + getHash() + \"' \");\n bldr.append(\"node='\" + getNode() + \"' \");\n bldr.append(\"ver='\" + getVersion() + \"'/>\");\n\n return bldr.toString();\n }",
"public String toXML() {\n StringBuilder xml = new StringBuilder();\n\n //just do the decomposition facts (not the surrounding element) - to keep life simple\n xml.append(super.toXML());\n\n for (YParameter parameter : _enablementParameters.values()) {\n xml.append(parameter.toXML());\n }\n for (YAWLServiceReference service : _yawlServices.values()) {\n xml.append(service.toXML());\n }\n return xml.toString();\n }",
"public <T> String SerializeXml(T obj, String pathToRoot){\n this.lastPath = pathToRoot + obj.getClass().getSimpleName().toLowerCase() + \"_object-\" + Math.abs(new Random().nextLong()) + \".xml\";\n\n XmlMapper xmlMapper = new XmlMapper();\n xmlMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);\n xmlMapper.registerModule(new JavaTimeModule());\n xmlMapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);\n\n File file = new File(this.lastPath);\n\n try {\n file.createNewFile();\n xmlMapper.writeValue(file, obj);\n System.out.println(xmlMapper.writerWithDefaultPrettyPrinter().writeValueAsString(obj));\n return xmlMapper.writeValueAsString(obj);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return \"\";\n }",
"public String getXML() //Perhaps make a version of this where the header DTD can be manually specified\n { //Also allow changing of generated tags to user specified values\n \n String xml = new String();\n xml= \"<?xml version = \\\"1.0\\\"?>\\n\";\n xml = xml + generateXML();\n return xml;\n }",
"public String toXml()\n\t{\n\t\ttry {\n\t\t\tTransformer transformer = TransformerFactory.newInstance().newTransformer();\n\t\t\tStringWriter buffer = new StringWriter();\n\t\t\ttransformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, \"yes\");\n\t\t\ttransformer.transform(new DOMSource(conferenceInfo), new StreamResult(buffer));\n\t\t\treturn buffer.toString();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\treturn null;\n\t\t}\n\t}",
"static <T> T printLogAndReturn(Object obj) throws JAXBException {\n StringWriter writer = new StringWriter();\n // create JAXBContext which will be used to update writer\n JAXBContext context = JAXBContext.newInstance(obj.getClass());\n // marshall or convert jaxbElement containing student to xml format\n context.createMarshaller().marshal(obj, writer);\n // print XML string representation of Student object\n System.out.println(writer.toString());\n return (T) obj;\n }",
"@Override\n public void toXml(XmlContext xc) {\n\n }",
"@SuppressWarnings( { \"incomplete-switch\", \"rawtypes\", \"unchecked\" } )\n XmlElement objectToXml(Object o)\n {\n ElementType type = m_simpleTypes.get(o.getClass());\n if (type != null)\n {\n switch (type)\n {\n case REAL:\n return new XmlElement(\"real\", o.toString());\n case INTEGER:\n return new XmlElement(\"integer\", o.toString());\n case TRUE:\n return new XmlElement(((Boolean) o).booleanValue() ? \"true\" : \"false\");\n case DATE:\n return new XmlElement(\"date\", m_dateFormat.format((Date) o));\n case STRING:\n return new XmlElement(\"string\", (String) o);\n case DATA:\n return new XmlElement(\"data\", base64encode((byte[]) o));\n }\n }\n if (o instanceof Map)\n {\n return toXmlDict((Map) o);\n }\n else if (o instanceof List)\n {\n return toXmlArray((List) o);\n }\n else throw new RuntimeException(\"Cannot use \" + o.getClass() + \" in plist.\");\n }",
"public String toXML(final XStream xstream, final Object obj) throws ObjectStreamException {\n final Writer writer = new StringWriter();\n try {\n toXML(xstream, obj, writer);\n } catch (final ObjectStreamException e) {\n throw e;\n } catch (final IOException e) {\n throw new StreamException(\"Unexpected IO error from a StringWriter\", e);\n }\n return writer.toString();\n }",
"public String toXML() {\n\t StringBuilder builder = new StringBuilder(\"<info \");\n\t builder.append(\"id=\\\"\" + mId + \"\\\"\");\n\t builder.append(\" type=\\\"\" + mType + \"\\\"\");\n\t builder.append(\" bytes=\\\"\" + mBytes + \"\\\"\");\n\n\t if (mHeight > 0)\n\t\tbuilder.append(\" height=\\\"\" + mHeight + \"\\\"\");\n\t if (mWidth > 0)\n\t\tbuilder.append(\" width=\\\"\" + mWidth + \"\\\"\");\n\t if (mUrl != null)\n\t\tbuilder.append(\" url=\\\"\" + mUrl + \"\\\"\");\n\t builder.append(\" />\");\n\t return builder.toString();\n\t}",
"protected String toXMLFragment() {\n StringBuffer xml = new StringBuffer();\n if (isSetStepConfig()) {\n StepConfig stepConfig = getStepConfig();\n xml.append(\"<StepConfig>\");\n xml.append(stepConfig.toXMLFragment());\n xml.append(\"</StepConfig>\");\n } \n if (isSetExecutionStatusDetail()) {\n StepExecutionStatusDetail executionStatusDetail = getExecutionStatusDetail();\n xml.append(\"<ExecutionStatusDetail>\");\n xml.append(executionStatusDetail.toXMLFragment());\n xml.append(\"</ExecutionStatusDetail>\");\n } \n return xml.toString();\n }",
"public static native String serializeToString(JavaScriptObject node) /*-{\n\t\treturn Titanium.XML.serializeToString(node);\n\t}-*/;",
"public String getXml() {\n return xml;\n }",
"private void jaxbObjectToXML(Object object, Writer outputWriter) throws JAXBException {\r\n \r\n JAXBContext context = JAXBContext.newInstance(object.getClass());\r\n Marshaller marshaller = context.createMarshaller();\r\n \r\n // for pretty-print XML in JAXB\r\n marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\r\n // Marshaller.JAXB_ENCODING exemplo: \"ISO-8859-1\" apenas para referência\r\n marshaller.setProperty(Marshaller.JAXB_ENCODING, CHAR_ENCODING);\r\n \r\n // write to System.out for debugging (TODO: REMOVE THIS LINE IN THE FUTURE)\r\n //marshaller.marshal(object, System.out);\r\n \r\n // write to file\r\n marshaller.marshal(object, outputWriter);\r\n \r\n }",
"public String toString() {\r\n\t\tStringBuilder buffer = new StringBuilder();\r\n\t\t\r\n\t\tbuffer.append(\"<\" + xmltag + \" subgraph=\\\"\" + subgraph + \"\\\">\" + newline);\r\n\t\t\r\n\t\tfor (Variable currentVariable : variables) {\r\n\t\t\tbuffer.append(\"\\t\\t\\t\\t\\t\" + currentVariable);\r\n\t\t}\r\n\t\t\r\n\t\tbuffer.append(\"\\t\\t\\t\\t</\" + xmltag + \">\" + newline);\r\n\t\t\r\n\t\treturn buffer.toString();\r\n\t}",
"public String generateXML() \n { \n \n String xml = new String();\n \n String nodetype = new String();\n if (type.equals(\"internal\")){\n nodetype = \"INTERNAL\"; //change this for change in XML node name\n }\n else {\n nodetype = \"LEAF\"; //change this for change in XML node name\n }\n \n xml = \"<\" + nodetype;\n if (!name.equals(\"\")){\n xml = xml + \" name = \\\"\" + name + \"\\\"\";\n }\n if (length >0){\n xml = xml + \" length = \\\"\" + length + \"\\\"\";\n }\n //Section below tests tree size and depths\n // if (level > 0){\n // xml = xml + \" level = \\\"\" + level + \"\\\"\";\n // }\n //if (depth > 0){\n // xml = xml + \" depth = \\\"\" + depth + \"\\\"\";\n //}\n //if (newicklength > 0){\n // xml = xml + \" newicklength = \\\"\" + newicklength + \"\\\"\";\n //}\n // if (treesize > 0){\n // xml = xml + \" treesize = \\\"\" + treesize + \"\\\"\";\n //}\n //if (startxcoord >= 0){\n // xml = xml + \" startx = \\\"\" + startxcoord + \"\\\"\";\n //}\n //if (endxcoord >= 0){\n // xml = xml + \" endx = \\\"\" + endxcoord + \"\\\"\";\n //}\n //Test section done\n xml = xml + \">\";\n \n if (!children.isEmpty()){ //if there are children in this node's arraylist\n Iterator it = children.iterator();\n while(it.hasNext()){\n Node child = (Node) it.next();\n xml = xml + child.generateXML(); //The recursive coolness happens here!\n }\n }\n xml = xml + \"</\" + nodetype + \">\";\n \n return xml;\n }",
"public String getXml() {\n\t\treturn _xml;\n\t}",
"public static String toXml(@SuppressWarnings(\"rawtypes\") Class jaxbClass, Object element) throws JAXBException {\n\t\tMarshaller marshaller = JAXBContext.newInstance(jaxbClass).createMarshaller();\n\t\tmarshaller.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE);\n\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tmarshaller.marshal(element, baos);\n\t\treturn baos.toString();\n\t}",
"@GET\r\n @Produces(\"application/xml\")\r\n public String getXml() {\r\n //TODO return proper representation object\r\n throw new UnsupportedOperationException();\r\n }",
"@GET\r\n @Produces(MediaType.APPLICATION_XML)\r\n public String getXml() {\r\n //TODO return proper representation object\r\n throw new UnsupportedOperationException();\r\n }",
"@GET\r\n @Produces(MediaType.APPLICATION_XML)\r\n public String getXml() {\r\n //TODO return proper representation object\r\n throw new UnsupportedOperationException();\r\n }",
"@Override\n public String toString() {\n\n // Add schema location attribute\n this.addSchemaLocation(\"http://www.w3.org/2001/XMLSchema-instance\", \"schemaLocation\", \"xsi\",\n \"http://xsd.sepamail.eu/1206/ xsd/sepamail_missive.xsd \");\n\n // XML options instance\n XmlOptions options = new XmlOptions();\n\n // Set the properties of the XML options\n options.setSavePrettyPrint();\n options.setSaveSuggestedPrefixes(this.suggestedPrefixes);\n options.setUseCDataBookmarks();\n\n try {\n\n // Build XML document using the constructed XML object\n SAXBuilder sxb = new SAXBuilder();\n Document xmlDocument =\n sxb.build(new InputStreamReader(new ByteArrayInputStream(missiveDocument.xmlText(options).getBytes()),\n \"UTF-8\"));\n\n // Pretty print the XML document\n XMLOutputter xmlOutputter = new XMLOutputter(Format.getPrettyFormat());\n ByteArrayOutputStream output = new ByteArrayOutputStream();\n xmlOutputter.output(xmlDocument, output);\n\n // String with XML content\n return new String(output.toByteArray());\n\n } catch ( JDOMException | IOException ex) {\n\n // TODO: error logging\n System.out.println(ex.getMessage());\n }\n\n return null;\n }",
"public String toString()\r\n\t{\r\n\t\treturn root.toString();\r\n\t}",
"public String toString() {\n\t\treturn root.toString();\n\t}",
"public String toString(){\r\n\t\treturn root.toString();\r\n\t}",
"public String toString() {\r\n\r\n StructuredTextDocument doc = (StructuredTextDocument) getDocument(MimeMediaType.XMLUTF8);\r\n return doc.toString();\r\n }",
"private static void writeAsXml(Object o, Writer writer) throws Exception\n {\n JAXBContext jaxb = JAXBContext.newInstance(o.getClass());\n \n Marshaller xmlConverter = jaxb.createMarshaller();\n xmlConverter.setProperty(\"jaxb.formatted.output\", true);\n xmlConverter.marshal(o, writer);\n }",
"public String toXmlString() {\r\n String norma = name().toLowerCase();\r\n return norma.replace('_', '-');\r\n }",
"public static String toXml(Object root, String encoding) {\n Class clazz = Reflections.getUserClass(root);\n return toXml(root, clazz, encoding, true);\n }",
"@GET\n @Produces(MediaType.APPLICATION_XML)\n public String getXml() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }",
"@Override\n public String toString(\n ){\n return toXRI(); \n }",
"public String asXmlStream() {\n String outXml = this.tblXmlStream.toXML(structuralErrors);\n\n return outXml;\n }",
"abstract org.apache.xmlbeans.XmlObject getXmlObject();",
"public String serialize(Object object) {\n\t\treturn serialize(object, false);\n\t}",
"public String getXmlStatus() {\n String msg = \"<object_status idobj=\\\"\" + codObjeto + \"\\\" \";\n msg += \" status=\\\"\" + status + \"\\\" tag=\\\"\" + tag + \"\\\" \";\n msg += \" flagInventario=\\\"\" + flagInventario + \"\\\" \";\n msg += \" iduser=\\\"\" + codUser + \"\\\"\";\n msg += \" posx=\\\"\" + posX + \"\\\" posy=\\\"\" + posY + \"\\\">\";\n msg += \"</object_status>\";\n return msg;\n }",
"@Override\r\n public String toString() {\r\n \r\n assert iRootElement!=null;\r\n \r\n return iRootElement.toString();\r\n \r\n }",
"@Override\n\tpublic String getFormat() {\n\t\treturn \"xml\";\n\t}",
"public String toXml()\n {\n StringBuffer xmlBuf = new StringBuffer();\n Iterator iter = null;\n\n xmlBuf.append(XmlHelper.toXml(SOLUTION_NAME, m_solutionName));\n\n xmlBuf.append(XmlHelper.startTag(SOLUTION_COMPONENTS));\n iter = m_solutionComponents.iterator();\n while (iter.hasNext())\n {\n xmlBuf.append(XmlHelper.toXml(\n SOLUTION_COMPONENT,\n ((SolutionRegistrationComponent)iter.next()).toXml()));\n }\n xmlBuf.append(XmlHelper.endTag(SOLUTION_COMPONENTS));\n\n return xmlBuf.toString();\n }",
"public String toString() {\n\n String str = super.toString() + \"; descriptor for class: \";\n\n //-- add class name\n if (_class != null)\n str += _class.getName();\n else\n str += \"[null]\";\n\n //-- add xml name\n str += \"; xml name: \" + _xmlName;\n\n return str;\n }",
"public String toXml( String inEncoding )\n\t{\n\t\tDocument doc = DocumentHelper.createDocument();\n\t\tElement root = doc.addElement(getName());\n\t\tappendXml(this,root);\n\t\tStringWriter text = new StringWriter();\n\t\tOutputFormat format = OutputFormat.createPrettyPrint();\n\t\tformat.setEncoding(inEncoding);\n\t\tXMLWriter out = new XMLWriter(text, format);\n\t\ttry\n\t\t{\n\t\t\tout.write(doc);\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t\tthrow new OpenEditRuntimeException(ex);\n\t\t}\n\t\treturn text.toString();\n\t}",
"public String serialize(final Object object)\n {\n StringBuffer buffer;\n\n buffer = new StringBuffer();\n serializeObject(object, buffer);\n return buffer.toString();\n }",
"public String getXML(boolean pretty) {\n\t\treturn XMLFormatter.format(element, pretty);\n\t}",
"@Override\n public String toString() { return root.toString(); }",
"public String toString() {\r\n StringBuffer buffer = new StringBuffer();\r\n for (int i = 0; i < defaultFormat.lineSeparator.length(); i++) {\r\n char ch = defaultFormat.lineSeparator.charAt( i);\r\n switch (ch) {\r\n case '\\r': buffer.append(\"\\\\r\");\r\n break;\r\n case '\\n': buffer.append(\"\\\\n\");\r\n break;\r\n case '\\t': buffer.append(\"\\\\t\");\r\n break;\r\n default: buffer.append(\"[\" + ((int)ch) + \"]\");\r\n break;\r\n }\r\n }\r\n\r\n return (\r\n \"XMLOutputter[omitDeclaration = \" + omitDeclaration + \", \" +\r\n \"encoding = \" + encoding + \", \" +\r\n \"omitEncoding = \" + omitEncoding + \", \" +\r\n \"indent = '\" + defaultFormat.indent + \"'\" + \", \" +\r\n \"expandEmptyElements = \" + defaultFormat.expandEmptyElements + \", \" +\r\n \"newlines = \" + defaultFormat.newlines + \", \" +\r\n \"lineSeparator = '\" + buffer.toString() + \"', \" +\r\n \"trimAllWhite = \" + defaultFormat.trimAllWhite +\r\n \"textTrim = \" + defaultFormat.textTrim +\r\n \"textNormalize = \" + defaultFormat.textNormalize + \"]\"\r\n );\r\n }",
"@Override\n public String toString() {\n // TODO: Using Serializer\n return Serializer.toByteArray(this).toString();\n }",
"public String getSaveString() {\n try {\n Node node = getSaveNode();\n\n StringWriter writer = new StringWriter();\n TransformerFactory transformerFactory = TransformerFactory.newInstance();\n Transformer transformer = transformerFactory.newTransformer();\n transformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\n transformer.transform(new DOMSource(node), new StreamResult(writer));\n return writer.toString();\n }\n catch (TransformerConfigurationException e) {\n throw new RuntimeException(e);\n }\n catch (TransformerException e) {\n throw new RuntimeException(e);\n }\n }",
"public String toXMLFragment() {\n StringBuffer xml = new StringBuffer();\n if (isSetProductCategoryId()) {\n xml.append(\"<ProductCategoryId>\");\n xml.append(escapeXML(getProductCategoryId()));\n xml.append(\"</ProductCategoryId>\");\n }\n if (isSetProductCategoryName()) {\n xml.append(\"<ProductCategoryName>\");\n xml.append(escapeXML(getProductCategoryName()));\n xml.append(\"</ProductCategoryName>\");\n }\n if (isSetParent()) {\n Categories parent = getParent();\n xml.append(\"<Parent>\");\n xml.append(parent.toXMLFragment());\n xml.append(\"</Parent>\");\n } \n return xml.toString();\n }",
"public static String toString(final Element element) {\n\t\treturn new XMLSerializer(true).serialize(element); //serialize the element to a string, formatting the XML output\n\t}",
"protected abstract void toXml(PrintWriter result);",
"public void dump( Result out ) throws JAXBException;",
"String serialize();",
"String objectWrite();",
"public String toString(){\n \treturn \"todo: use serialize() method\";\r\n }",
"public String getXml()\n {\n StringBuffer result = new StringBuffer(256);\n\n result.append(\"<importOptions>\");\n\n result.append(m_fileOptions.asXML());\n result.append(getOtherXml());\n\n result.append(\"</importOptions>\");\n\n return result.toString();\n }",
"@Override\n\tprotected String getSpecificXML() {\n\t\t\n\t\tStringBuilder xml = new StringBuilder();\n\t\t\n\t\tstartElementWithAttributes(xml, \"Activity\");\n\t\taddStringAttribute(xml, \"activityHandle\", activityHandle);\n\t\tcloseParentElementWithAttributes(xml);\n\t\t\n\t\taddContext(xml);\n\t\taddContextMenu(xml);\n\t\taddMenuAction(xml);\n\t\taddMethods(xml);\n\t\taddDeltas(xml);\n\t\taddPublications(xml);\n\t\taddFields(xml);\n\t\t\n\t\tcloseParentElement(xml, \"Activity\");\n\t\t\n\t\treturn xml.toString();\n\t}",
"private String convertXmlToString(Document xmlDoc) {\r\n\r\n\t\tString xmlAsString = \"\";\r\n\t\ttry {\r\n\r\n\t\t\tTransformer transformer;\r\n\t\t\ttransformer = TransformerFactory.newInstance().newTransformer();\r\n\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.STANDALONE, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.METHOD, \"xml\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(\r\n\t\t\t\t\t\"{http://xml.apache.org/xslt}indent-amount\", \"5\");\r\n\r\n\t\t\tStreamResult result = new StreamResult(new StringWriter());\r\n\r\n\t\t\tDOMSource source = new DOMSource(xmlDoc);\r\n\r\n\t\t\ttransformer.transform(source, result);\r\n\r\n\t\t\txmlAsString = result.getWriter().toString();\r\n\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (TransformerFactoryConfigurationError e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (TransformerException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn xmlAsString;\r\n\r\n\t}"
] |
[
"0.7701464",
"0.7683493",
"0.75395113",
"0.75395113",
"0.75395113",
"0.7513484",
"0.7494928",
"0.7454804",
"0.7377396",
"0.7314441",
"0.7258969",
"0.7258969",
"0.7234413",
"0.7214857",
"0.7210287",
"0.720317",
"0.7195732",
"0.71552885",
"0.7101148",
"0.7061211",
"0.7052802",
"0.70401025",
"0.70305574",
"0.700219",
"0.6913337",
"0.6897885",
"0.68259",
"0.6763729",
"0.6703394",
"0.6696548",
"0.6688632",
"0.6685363",
"0.66673326",
"0.666697",
"0.6650641",
"0.66490185",
"0.6647855",
"0.66178",
"0.66163903",
"0.6610965",
"0.6543011",
"0.6530719",
"0.6518901",
"0.6518901",
"0.65162796",
"0.6503453",
"0.64977515",
"0.64853275",
"0.64655226",
"0.64340734",
"0.6398869",
"0.6375865",
"0.6336984",
"0.63133675",
"0.6311989",
"0.62992674",
"0.62840694",
"0.6283179",
"0.6278497",
"0.6247439",
"0.620213",
"0.6191489",
"0.61908484",
"0.6190475",
"0.6168867",
"0.6168867",
"0.6167978",
"0.61611813",
"0.6156064",
"0.6148196",
"0.6133183",
"0.60995144",
"0.60904235",
"0.60852444",
"0.607982",
"0.60795456",
"0.607222",
"0.6069959",
"0.60621315",
"0.60500133",
"0.6030571",
"0.6025374",
"0.60219085",
"0.6020539",
"0.6004013",
"0.5986905",
"0.5975654",
"0.5969926",
"0.59337384",
"0.5917949",
"0.5906249",
"0.5897217",
"0.58925426",
"0.587711",
"0.5876453",
"0.5863996",
"0.5841862",
"0.5840242",
"0.5836899",
"0.58314383",
"0.58275175"
] |
0.0
|
-1
|
Created by imozerov on 06.02.16.
|
@Singleton
@Component(modules = AppModule.class)
public interface AppComponent {
void inject(ArtListFragment fragment);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"private void poetries() {\n\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"public void gored() {\n\t\t\n\t}",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"public void mo38117a() {\n }",
"private void strin() {\n\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"protected boolean func_70814_o() { return true; }",
"private void kk12() {\n\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"private void m50366E() {\n }",
"private void init() {\n\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n public int describeContents() { return 0; }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"public void method_4270() {}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"public void mo21877s() {\n }",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\n public void init() {\n }",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {}",
"private Rekenhulp()\n\t{\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"public void mo6081a() {\n }",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n void init() {\n }",
"@Override\n public void init() {}",
"public abstract void mo70713b();",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"public void mo55254a() {\n }",
"@Override\n protected void initialize() {\n\n \n }",
"@Override\n protected void init() {\n }",
"@Override\n\tpublic void init() {\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n public void init() {\n\n }",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"private void init() {\n\n\n\n }",
"@Override\n\tpublic void init()\n\t{\n\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"protected void mo6255a() {\n }",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"public void mo21825b() {\n }",
"static void feladat4() {\n\t}",
"public void m23075a() {\n }",
"public void mo12930a() {\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"static void feladat9() {\n\t}",
"private zza.zza()\n\t\t{\n\t\t}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }"
] |
[
"0.5767207",
"0.5745877",
"0.5733582",
"0.56793064",
"0.5640895",
"0.5640895",
"0.5625013",
"0.56072986",
"0.55846477",
"0.5574582",
"0.5569931",
"0.5543385",
"0.55356234",
"0.5531911",
"0.55140585",
"0.5511955",
"0.5507854",
"0.550589",
"0.54953766",
"0.5493213",
"0.5492922",
"0.5482237",
"0.5475432",
"0.5472224",
"0.54541665",
"0.5450149",
"0.5450149",
"0.5450149",
"0.5450149",
"0.5450149",
"0.54293144",
"0.5428513",
"0.542382",
"0.5411832",
"0.5404041",
"0.5402873",
"0.5385492",
"0.5356165",
"0.5352498",
"0.5339995",
"0.5333745",
"0.5333745",
"0.5333745",
"0.5333745",
"0.5333745",
"0.5333745",
"0.5333745",
"0.5332024",
"0.53288645",
"0.5309533",
"0.5309033",
"0.5309033",
"0.52971554",
"0.5284353",
"0.5284353",
"0.52842367",
"0.52842367",
"0.52842367",
"0.5277743",
"0.5277196",
"0.5277196",
"0.5277196",
"0.52731955",
"0.5259183",
"0.5259183",
"0.5259183",
"0.5256294",
"0.525417",
"0.5250189",
"0.52484024",
"0.52452904",
"0.5241804",
"0.5233026",
"0.52312124",
"0.52276605",
"0.52184784",
"0.5218135",
"0.5215751",
"0.5214211",
"0.52130854",
"0.5211734",
"0.5211734",
"0.5203521",
"0.51962423",
"0.5191516",
"0.51909655",
"0.51896346",
"0.51801664",
"0.5176218",
"0.5175854",
"0.51698303",
"0.5167096",
"0.5162895",
"0.5162411",
"0.51619476",
"0.51614565",
"0.51592845",
"0.5155403",
"0.5155403",
"0.5155403",
"0.5155403"
] |
0.0
|
-1
|
/ Json should look like: newWindowID: bookingID:
|
@Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
if (!SessionUtils.validateSession(req)){
resp.sendRedirect(Constants.LOGIN_PAGE_URL);
return;
}
BMSEngine engine = ServletUtils.getEngine(getServletContext());
StringBuilder builder = new StringBuilder();
String line;
String streamData;
BufferedReader reader = req.getReader();
while ((line = reader.readLine()) != null){
builder.append(line);
}
streamData = builder.toString();
JsonElement jsonElement = JsonParser.parseString(streamData);
JsonObject jsonObject = jsonElement.getAsJsonObject();
int newWindowID = Integer.parseInt(jsonObject.get("newWindowID").getAsString());
int bookingID = Integer.parseInt(jsonObject.get("bookingID").getAsString());
ScheduleWindow newWindow = engine.retrieveScheduleWindowPerID(newWindowID);
Booking theBooking = engine.retrieveBookingPerID(bookingID);
String status = "ok";
String message = "";
JsonObject respJSON = new JsonObject();
try {
engine.editBookingWindow(newWindow,theBooking);
notifyRowers(engine, bookingID, theBooking);
} catch (ExportToXmlException | JAXBException e) {
status = "error";
message = "Failed to save the changes to the DB";
System.out.println(e.getMessage());
e.printStackTrace();
}
respJSON.addProperty("message",message);
respJSON.addProperty("status",status);
resp.setContentType("application/json");
PrintWriter out = resp.getWriter();
out.println(respJSON.toString());
out.flush();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private static JSONObject addObject(JSONArray bookList,Book book){\r\n bookList.add(book.toJson()); \r\n JSONObject bookObject = new JSONObject();\r\n bookObject.put(\"books\", bookList);\r\n return bookObject;\r\n }",
"@Override\n public void actionPerformed(NetworkEvent evt) {\n JSONParser jsonp = new JSONParser();\n\n try {\n Map<String, Object> r = jsonp.parseJSON(new CharArrayReader(new String(con.getResponseData()).toCharArray()));\n System.out.println(\"rrrrrrrrrrrrrr\" + r);\n //System.out.println(tasks);\n List<Map<String, Object>> list = (List<Map<String, Object>>) r.get(\"root\");\n for (Map<String, Object> obj : list) {\n Reservation reserv = new Reservation();\n\n float idR = Float.parseFloat(obj.get(\"id_reservation\").toString());\n reserv.setId_reservation((int) idR);\n float idE = Float.parseFloat(obj.get(\"id_even\").toString());\n reserv.setId_even((int) idE);\n\n float idU = Float.parseFloat(obj.get(\"id_client\").toString());\n reserv.setId_client((int) idU);\n\n float idT = Float.parseFloat(obj.get(\"nbre_ticket\").toString());\n\n reserv.setNbre_ticket((int) idT);\n reserv.setDate_reservation((String) obj.get(\"date_reservation\"));\n\n listresrvation.add(reserv);\n\n }\n } catch (IOException ex) {\n }\n\n }",
"public void setBookingId(int booking_id) {\n this.booking_id = booking_id;\n }",
"@RequestMapping(value = \"passengerBookingDetails\", method = RequestMethod.POST)\r\n\t@ResponseBody\r\n\tpublic String saveBookingDetails(@RequestBody String jsonPassengerList) {\r\n\t\tString jsonResponse = \"\";\r\n\t\tSystem.out.println(jsonPassengerList);\r\n\t\tjsonResponse = bookingService.saveBookingDetails(jsonPassengerList);\r\n\t\treturn jsonResponse;\r\n\t}",
"public int getBookingId() {\n return booking_id;\n }",
"private JSONObject changeAdsJsonObject(){\n JSONObject jsonObject=new JSONObject();\n JSONArray jsonArray=new JSONArray();\n\n try {\n for (int i = 0; i < adsInfoList.size(); i++) {\n AdsClickBean adsClickBean=adsInfoList.get(i);\n JSONObject object=new JSONObject();\n object.put(\"adNum\",adsClickBean.getAdNum());\n object.put(\"clickCount\",adsClickBean.getClickCount());\n object.put(\"shareCount\",0);\n object.put(\"shareAppNum\",0);\n object.put(\"shareClickNum\",0);\n object.put(\"incomeDay\",0);\n object.put(\"times\",adsClickBean.getTimes());\n jsonArray.put(object);\n }\n jsonObject.put(\"list\",jsonArray);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n return jsonObject;\n }",
"public Bookings saveBookingDetails(Bookings bookings) ;",
"public int makeBooking(BookingEventModel booking) {\n\n\t\tConnection connection = null;\n\t\tStatement statement = null;\n\t\ttry {\n\t\t\tconnection = DriverManager.getConnection(databaseName);\n\t\t\tconnection.setAutoCommit(false);\n\t\t\tstatement = connection.createStatement();\n\n\t\t\tString sql = \"insert into bookings (email, checkin, checkout, price) \" +\n\t\t\t\t\tString.format(\"values ('%s', '%s', '%s', %d);\", booking.userEmail, formatter.format(booking.checkIn),\n\t\t\t\t\t\t\tformatter.format(booking.checkOut), booking.payment);\n\t\t\tstatement.executeUpdate(sql);\n\t\t\t//\t\t System.out.println(\"Inserted records into the table...\"+sql);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tstatement.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t//\t\t\ttry {\n\t\t\t//\t\t\t\tconnection.close();\n\t\t\t//\t\t\t} catch (SQLException e) {\n\t\t\t//\t\t\t\te.printStackTrace();\n\t\t\t//\t\t\t}\n\t\t}\n\n\t\tResultSet lastId = null;\n\t\tint bookingNumber = 0;\n\t\tStatement statement2 = null;\n\t\ttry {\n\t\t\t//\t\t\tconnection = DriverManager.getConnection(databaseName);\n\t\t\t//\t\t\tconnection.setAutoCommit(false);\n\t\t\tstatement2 = connection.createStatement();\n\t\t\tString sql = \"SELECT last_insert_rowid() FROM bookings\";\n\t\t\tlastId = statement2.executeQuery(sql);\n\n\t\t\tlastId.next();\n\t\t\tbookingNumber = lastId.getInt(1);\n\t\t\t//\t\t System.out.println(\"last id...\"+sql+\" \"+bookingNumber);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tlastId.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tstatement2.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tconnection.commit();\n\t\t\t\tconnection.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\tStatement statement3 = null;\n\t\tfor (Room r: booking.rooms) {\n\t\t\ttry {\n\t\t\t\tconnection = DriverManager.getConnection(databaseName);\n\t\t\t\tconnection.setAutoCommit(false);\n\t\t\t\tstatement3 = connection.createStatement();\n\n\t\t\t\tString sql = String.format(\"insert into room_booking_junction (room_id, booking_id) values (%d, %d)\",\n\t\t\t\t\t\tr.getId(), bookingNumber);\n\t\t\t\tstatement3.executeUpdate(sql);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tstatement3.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tconnection.commit();\n\t\t\t\t\tconnection.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\n\t\tStatement statement4 = null;\n\t\tfor (HashMap.Entry<ExtraService, Integer> entry : booking.services.entrySet()){\n\t\t\ttry {\n\t\t\t\tconnection = DriverManager.getConnection(databaseName);\n\t\t\t\tconnection.setAutoCommit(false);\n\t\t\t\tstatement4 = connection.createStatement();\n\n\t\t\t\tString sql = String.format(\"insert into service_booking_junction (service_id, booking_id, amount) values (%d, %d, %d)\",\n\t\t\t\t\t\tentry.getKey().getId(), bookingNumber, entry.getValue());\n\t\t\t\tstatement4.executeUpdate(sql);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tstatement4.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tconnection.commit();\n\t\t\t\t\tconnection.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn bookingNumber;\n\t}",
"public static void addBooking(BookingImpl b, String status){\n Firebase bRefChild;\n if(!status.equals(\"new\")){\n //Dispatched Booking\n //Removes from Awaiting_Dispatch and puts in Dispatched\n bRefChild = dRef.child(status);\n bRef.child(b.getBookingNumber()+\"\").removeValue();\n } else {\n bRefChild = bRef.child(b.getBookingNumber() + \"\");\n }\n bRefChild.child(\"pickup\").setValue(b.getPickUpAddress());//\n bRefChild.child(\"dropoff\").setValue(b.getDropOffAddress());//\n bRefChild.child(\"name\").setValue(b.getClientName());//\n bRefChild.child(\"time\").setValue(b.getTime().toString());\n bRefChild.child(\"comment\").setValue(b.getComments());//\n bRefChild.child(\"tel\").setValue(b.getClientTel());//\n bRefChild.child(\"email\").setValue(b.getClientEmail());//\n bRefChild.child(\"booking_number\").setValue(b.getBookingNumber());//\n bRefChild.child(\"account\").setValue(Cash.getInstance().getId());\n bRefChild.child(\"vehicle_type\").setValue(b.getVehicleType());\n bRefChild.child(\"no_passengers\").setValue(b.getNoPassengers());\n bRefChild.child(\"date\").setValue(b.getDate());\n try {\n bRefChild.child(\"time\").setValue(new SimpleDateFormat(\"HH:mm\").format(b.getTime()));\n } catch (IllegalArgumentException e){\n // Always throws this exception - unsure why as it saves correctly.\n // Do nothing as it still writes to database as expected\n // Maybe need to look at different formats for time?\n }\n bRefChild.child(\"price\").setValue(b.getPrice());\n\n }",
"@PostMapping(\"/bookings\")\n @ResponseStatus(HttpStatus.CREATED)\n public Booking addBooking(@RequestBody Booking booking){\n bookingClient.addBooking(booking);\n return booking;\n }",
"public int getBookingId() {\n return bookingId;\n }",
"public int getBookingId() {\n return bookingId;\n }",
"public int getReservationId() { return reservationId; }",
"@FXML\n private void bookSeat(MouseEvent e) throws IOException, GeneralSecurityException {\n\n if (Main.getSelectedSeats().size() == 0){\n throwAlert();\n return;\n }\n try {\n datePicker.getValue().equals(null);\n filmDropDownList.getValue().equals(null);\n timeDropDownList.getValue().equals(null);\n if (Main.isEmployee())\n customerDropDownList.getValue().equals(null);\n } catch(NullPointerException ex){ \t\t\n throwAlert();\n return;\n }\n\n Alert alert = new Alert(AlertType.CONFIRMATION, \"Do you want to proceed with the booking?\", ButtonType.YES, ButtonType.NO);\n alert.showAndWait();\n\n if(alert.getResult() == ButtonType.NO) {\n alert.close();\n return;\n }\n else {\n // getting the latest booking id and incrementing by one\n int newBookingId = Main.getBookingList().size() + 1;\n // System.out.println(newBookingId);\n // System.out.println(customerDropDownList.getValue());\n\n for (int i = newBookingId; i < (newBookingId + Main.getSelectedSeats().size()); i++) {\n\n if(Main.isEmployee())\n Main.modifyJSONFile(\"bookingsJSON.txt\", Integer.toString(i), \"username\", Encryption.encrypt(customerDropDownList.getValue()));\n else\n Main.modifyJSONFile(\"bookingsJSON.txt\", Integer.toString(i), \"username\", Encryption.encrypt(Main.getCurrentUser().getUsername()));\n\n Main.modifyJSONFile(\"bookingsJSON.txt\", Integer.toString(i), \"date\", datePicker.getValue().toString());\n Main.modifyJSONFile(\"bookingsJSON.txt\", Integer.toString(i), \"seat\", Main.getSelectedSeats().get(i - newBookingId));\n Main.modifyJSONFile(\"bookingsJSON.txt\", Integer.toString(i), \"time\", timeDropDownList.getValue());\n Main.modifyJSONFile(\"bookingsJSON.txt\", Integer.toString(i), \"film\", filmDropDownList.getValue());\n Main.modifyJSONFile(\"bookingsJSON.txt\", Integer.toString(i), \"status\", \"booked\");\n }\n\n Main.resetBookingList();\n Main.readJSONFile(\"bookingsJSON.txt\");\n\n if (!Main.isEmployee()){\n SceneCreator.launchScene(\"/scenes/BookingSummaryScene.fxml\");\n Main.getStage().centerOnScreen();\n } else {\n Alert alert1 = new Alert(AlertType.INFORMATION, \"You have completed the booking for \" + customerDropDownList.getValue() + \"!\", ButtonType.OK);\n alert1.showAndWait();\n if(alert1.getResult() == ButtonType.OK) {\n alert1.close();\n SceneCreator.launchScene(\"/scenes/ManageBookingsScene.fxml\");\n }\n }\n }\n }",
"@ModelAttribute(value = \"booking\")\n\tpublic Booking getNewBooking() {\n\t\tBooking booking = new Booking();\n\t\t\n\t\tlogger.info(\"getNewBooking() method: Returning a new instance of Booking\");\n\t\t\n\t\treturn booking;\n\t}",
"private JsonObject OnGoingRideObject()\n {\n OnGoingRideRequestModel requestModel = new OnGoingRideRequestModel();\n requestModel.setUserId(UserId);\n return new Gson().toJsonTree(requestModel).getAsJsonObject();\n }",
"@RequestMapping(value = \"mybookings\", method = RequestMethod.POST)\r\n\t@ResponseBody\r\n\tpublic String myBookings(HttpServletRequest request) {\r\n\t\tString jsonResponse = \"\";\r\n\t\tjsonResponse = bookingService.myBookings(request.getSession(false).getAttribute(\"userId\"));\r\n\t\treturn jsonResponse;\r\n\t}",
"@RequestMapping(value = \"boardingDetails\", method = RequestMethod.POST)\r\n\t@ResponseBody\r\n\tpublic String boardingDetails(\r\n\t\t\t@RequestParam(\"routeId\") Integer routeId/*\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * ,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * @RequestParam(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * \"boardingPoints\") String\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * boardingPoints,@\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * RequestParam(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * \"droppingPoints\") String\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * droppingPoints\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t */) {\r\n\t\tString jsonResponse = \"\";\r\n\t\tjsonResponse = bookingService\r\n\t\t\t\t.boardingDetails(routeId/* ,boardingPoints,droppingPoints */);\r\n\t\treturn jsonResponse;\r\n\t}",
"public void setMyRoomReservationOK() throws SQLException{\n int guestID = guest[guestIndex].getAccountID();\n int selRoomCount = getSelectedRoomsCounter();\n int[] tempRooms = getGuestSelRooms(); //Selected room by room number\n \n roomStartDate = convertMonthToDigit(startMonth) + \"/\" +startDay+ \"/\" + startYear;\n roomEndDate = convertMonthToDigit(endMonth) + \"/\" +endDay+ \"/\" + endYear; \n \n System.out.println(\"\\nSaving reservation\");\n System.out.println(\"roomStartDate\" + roomStartDate);\n System.out.println(\"roomEndDate:\" + roomEndDate);\n \n //Searching the reserved room number in the hotel rooms\n for(int i=0;i<selRoomCount;i++){\n for(int i2=0;i2<roomCounter;i2++){\n if(myHotel[i2].getRoomNum() == tempRooms[i]){ \n //if room number from array is equal to selected room number by guest\n System.out.println(\"Room Found:\"+tempRooms[i]); \n \n myHotel[i2].setOccupantID(guestID);\n myHotel[i2].setAvailability(false);\n myHotel[i2].setOccupant(guest[guestIndex].getName());\n myHotel[i2].setStartDate(roomStartDate);\n myHotel[i2].setEndDate(roomEndDate);\n }\n }\n }\n \n updateRoomChanges_DB(); //apply changes to the database\n \n //Updates room preference of the current guest \n String sqlstmt = \"UPDATE APP.GUEST \"\n + \" SET ROOMPREF = '\" + guest[guestIndex].getPref()\n + \"' WHERE ID = \"+ guest[guestIndex].getAccountID();\n \n CallableStatement cs = con.prepareCall(sqlstmt); \n cs.execute(); //execute the sql command \n cs.close(); \n }",
"public String createJsonObject() {\n JSONObject jsonObject = new JSONObject();\n\n try {\n if (!vslaId.equalsIgnoreCase(\"-1\")) {\n // editing existing information\n jsonObject.put(\"VslaId\", vslaId);\n }\n jsonObject.put(\"GroupSupport\", grpSupportType);\n jsonObject.put(\"VslaName\", vslaName);\n jsonObject.put(\"grpPhoneNumber\", grpPhoneNumber);\n jsonObject.put(\"PhysicalAddress\", physAddress);\n jsonObject.put(\"GpsLocation\", locCoordinates);\n jsonObject.put(\"representativeName\", representativeName);\n jsonObject.put(\"representativePosition\", representativePost);\n jsonObject.put(\"GroupAccountNumber\", grpBankAccount);\n jsonObject.put(\"repPhoneNumber\", repPhoneNumber);\n jsonObject.put(\"RegionName\", regionName);\n jsonObject.put(\"tTrainerId\", tTrainerId);\n jsonObject.put(\"Status\", \"2\");\n jsonObject.put(\"numberOfCycles\", numberOfCycles);\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n return jsonObject.toString();\n }",
"private JSONObject buildTrackingItemObject(String eventIndex, String event, String params, long time){\n JSONObject trackingObject = null;\n\n if (deviceTrackingObjectDefault == null) {\n trackingObject = new JSONObject();\n deviceTrackingObjectDefault = new JSONObject();\n\n for (Entry<String, String> entry : deviceInformationUtils.getTrackingDeviceInfo().entrySet()) {\n try {\n trackingObject.put(entry.getKey() , entry.getValue());\n deviceTrackingObjectDefault.put(entry.getKey() , entry.getValue());\n } catch (JSONException e) {\n log.error(e.getMessage(), e);\n }\n }\n } else {\n try {\n trackingObject = new JSONObject(deviceTrackingObjectDefault.toString());\n } catch (JSONException e) {\n log.error(e.getMessage(), e);\n }\n }\n\n try {\n trackingObject.put(DataKeys.TRACK_EVENT_INDEX, eventIndex);\n trackingObject.put(DataKeys.TRACK_EVENT_NAME, event);\n trackingObject.put(DataKeys.TRACK_EVENT_PARAM, params);\n trackingObject.put(DataKeys.TRACK_EVENT_TIME, Utils.convertMillisAndFormatDate(time) + \"\");\n trackingObject.put(DataKeys.TRACK_EVENT_TIME_EPOCH, time);\n } catch (JSONException e) {\n log.error(e.getMessage(), e);\n }\n\n try {\n JSONObject attributionObject = new JSONObject();\n\n if (event.equals(TrackingEvents.FIRST_APP_LAUNCH)) {\n Thread.sleep(5000);\n }\n\n attributionObject.put(DataKeys.TRACK_ATD_CLICK_ID, DataContainer.getInstance().pullValueString(InstallReceiver.UTM_CLICK_ID, context));\n attributionObject.put(DataKeys.TRACK_ATD_AFFILIATE_ID, DataContainer.getInstance().pullValueString(InstallReceiver.UTM_AFFILIATE_ID, context));\n attributionObject.put(DataKeys.TRACK_ATD_CAMPAIGN_ID, DataContainer.getInstance().pullValueString(InstallReceiver.UTM_CAMPAIGN_ID, context));\n\n trackingObject.put(DataKeys.TRACK_ATTRIBUTION_DATA, attributionObject);\n\n } catch (JSONException e) {\n log.error(e.getMessage(), e);\n } catch (InterruptedException e) {\n log.error(e.getMessage(), e);\n }\n\n trackingObject = trackingObjectCleanup(trackingObject);\n\n return trackingObject;\n }",
"private LabWork convertJsonObjIntoLabWork(JSONObject jsonObject) throws java.text.ParseException {\n LabWork lw = new LabWork();\n // set ID\n Long newID = Long.parseLong(String.valueOf(jsonObject.get(\"id\")));\n System.out.println(newID);\n if(CollectionManager.IDChecker.contains(newID)){\n System.out.println(\"ID is duplicate, please insert valid input!\");\n }\n else {\n CollectionManager.IDChecker.add(newID);\n lw.setId(newID);\n }\n //set Name\n lw.setName((String)jsonObject.get(\"Name\"));\n System.out.println(lw.getName());\n\n // set Coordinates\n JSONObject coordinatesObj = (JSONObject) jsonObject.get(\"coordinates\");\n lw.setCoordinates(new Coordinates(Math.toIntExact(Long.parseLong(String.valueOf(coordinatesObj.get(\"x\")))), Double.parseDouble(String.valueOf(coordinatesObj.get(\"y\")))));\n\n /*\n parse String to LocalDateTime\n */\n\n// // date in String\n// String dateString = (String)jsonObject.get(\"creationDate\");\n//\n// //build formatter\n// DateTimeFormatter formatter = DateTimeFormatter.ISO_DATE_TIME;\n// //Parse String to LocalDateTime\n// LocalDateTime dateTime = LocalDateTime.parse(dateString,formatter);\n// lw.setCreationDate(dateTime);\n// //System.out.println(p.getCreationDate());\n\n // set minimalPoint\n lw.setMinimalPoint(Long.parseLong(String.valueOf(jsonObject.get(\"minpoint\"))));\n\n // set difficulty\n String difficultyString = (String)jsonObject.get(\"difficulty\");\n Difficulty difficultyEnum = Difficulty.valueOf(difficultyString);\n lw.setDifficulty(difficultyEnum);\n\n\n// set weight\n// lw.setWeight(Math.toIntExact(Long.parseLong(String.valueOf(jsonObject.get(\"weight\")))));\n\n// // set nationality\n// String countryString = (String)jsonObject.get(\"nationality\");\n// Country countryEnum = Country.valueOf(countryString);\n// lw.setNationality(countryEnum);\n //set author\n// set location\n JSONObject authorObj = (JSONObject)jsonObject.get(\"author\");\n JSONObject locationObj = (JSONObject)authorObj.get(\"location\");\n //System.out.println(locationObj);\n// lw.setLocation(new Location(\n// Math.toIntExact(Long.parseLong(String.valueOf(locationObj.get(\"x\")))),\n// Long.parseLong(String.valueOf(locationObj.get(\"y\"))),\n// (String)locationObj.get(\"name\")\n// ));\n\n lw.setAuthor(new Person(\n (String)authorObj.get(\"name\"), Double.parseDouble(String.valueOf(authorObj.get(\"weight\"))),Color.valueOf(String.valueOf(authorObj.get(\"eye color\"))),HairColor.valueOf(String.valueOf(authorObj.get(\"hair color\"))),Country.valueOf(String.valueOf(authorObj.get(\"nationality\"))), new Location(\n Integer.parseInt((String.valueOf(locationObj.get(\"x\")))),\n Long.parseLong(String.valueOf(locationObj.get(\"y\"))),\n (String)locationObj.get(\"name\")\n )\n ));\n\n\n\n return lw;\n }",
"public void setNewlyCreatedRoomID(String roomID)\r\n\t{\r\n\t\ttheGridView.shopWindow.addRoomInfo(\"ID\", roomID);\r\n\t}",
"public GenericResponse<Booking> reserveRoom(Booking booking) {\n GenericResponse genericResponse = HotelBookingValidation.validateBookingInfo(logger, hotel, booking);\n if (genericResponse != null) {\n return genericResponse;\n }\n\n logger.info(booking.toString());\n\n if (hotel.getBookings().putIfAbsent(booking.getBookingRoom(), booking.getUser()) == null) {\n return GenericResponseUtils.generateFromSuccessfulData(booking);\n }\n\n logger.info(\"Oops. Please try again.\");\n return GenericResponseUtils.generateFromErrorMessage(\"Oops. Please try again.\");\n }",
"@TargetApi(Build.VERSION_CODES.KITKAT)\n @RequiresApi(api = Build.VERSION_CODES.KITKAT)\n public void createReservation() {\n Time timeObj = null;\n DateFormat formatter= new SimpleDateFormat(\"kk:mm\");\n try {\n timeObj = new Time(formatter.parse(time).getTime());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n Bitmap generatedQR = generateQR();\n //Create reservation & save to Repository\n Reservation reservation = new Reservation(film, timeObj, listPlaces, generatedQR);\n Repository.addReservation(reservation);\n }",
"private JSONObject jsonifyParams(HashMap<String, String> params){\n try {\n //first create the initial JSONObject\n JSONObject jsonBody = new JSONObject();\n //enter in columns and specify columns as JSONArray each\n //TODO: make code cleaner by sending to for-loop to iterate with different id's\n //new columns\n JSONArray columns = new JSONArray();\n //set the id ex {\"id\": 0}\n columns.put(new JSONObject(\"{\\\"id\\\":\" + params.get(WebsiteInterface.UPDATE_ID) + \" }\"));\n //set the front ex {\"front\":... }\n columns.put(new JSONObject(\"{\\\"front\\\":\" + params.get(WebsiteInterface.UPDATE_FRONT) + \"}\"));\n //set the back ex {\"back\" :...}\n columns.put(new JSONObject(\"{\\\"back\\\":\" + params.get(WebsiteInterface.UPDATE_BACK) + \"}\"));\n\n //specify columns\n JSONArray specifyColumns = new JSONArray();\n //set the id ex {\"id\": 0}\n specifyColumns.put(new JSONObject(\"{\\\"id\\\":\" + params.get(WebsiteInterface.UPDATE_ID) + \" }\"));\n //set the front ex {\"front\":... }\n specifyColumns.put(new JSONObject(\"{\\\"front\\\":\" + params.get(WebsiteInterface.PREV_FRONT) + \"}\"));\n //set the back ex {\"back\" :...}\n specifyColumns.put(new JSONObject(\"{\\\"back\\\":\" + params.get(WebsiteInterface.PREV_BACK) + \"}\"));\n //attach the json arrays into the returning body\n jsonBody.put(\"columns\", columns);\n jsonBody.put(\"specifyColumns\", specifyColumns);\n /*return this json body if nothing went wrong with json formatting, otherwise empty json\n * object.*/\n return jsonBody;\n\n } catch (JSONException e) {\n Log.e(\"FCard jsonifyParams\", e.getMessage());\n }\n return new JSONObject();\n }",
"public void insertBooking(){\n \n Validator v = new Validator();\n if (createBookingType.getValue() == null)\n {\n \n Dialogs.create()\n .owner(prevStage)\n .title(\"Error!\")\n .masthead(null)\n .message(\"Set Booking Type!\")\n .showInformation();\n \n return;\n \n }\n if (createBookingType.getValue().toString().equals(\"Repair\"))\n Dialogs.create()\n .owner(prevStage)\n .title(\"Error!\")\n .masthead(null)\n .message(\"Go to Diagnosis and Repair tab for creating Repair Bookings!\")\n .showInformation();\n \n \n if(v.checkBookingDate(parseToDate(createBookingDate.getValue(),createBookingTimeStart.localTimeProperty().getValue()),\n parseToDate(createBookingDate.getValue(),createBookingTimeEnd.localTimeProperty().getValue()))\n && customerSet)\n \n { \n \n int mID = GLOBAL.getMechanicID();\n \n try {\n mID = Integer.parseInt(createBookingMechanic.getSelectionModel().getSelectedItem().toString().substring(0,1));\n } catch (Exception ex) {\n Dialogs.create()\n .owner(prevStage)\n .title(\"Error!\")\n .masthead(null)\n .message(\"Set Mechanic!\")\n .showInformation();\n return;\n }\n \n if (mID != GLOBAL.getMechanicID())\n if (!getAuth(mID)) return;\n \n createBookingClass();\n dbH.insertBooking(booking);\n booking.setID(dbH.getLastBookingID());\n appointment = createAppointment(booking);\n closeWindow();\n \n }\n else\n {\n String extra = \"\";\n if (!customerSet) extra = \" Customer and/or Vehicle is not set!\";\n Dialogs.create()\n .owner(prevStage)\n .title(\"Error!\")\n .masthead(null)\n .message(\"Errors with booking:\"+v.getError()+extra)\n .showInformation();\n }\n \n }",
"@RequestMapping(value = \"/Reservation\", method = RequestMethod.POST)\n\t@ResponseBody\n\tpublic Reservation newReservation(@RequestBody Reservation reservation) {\n\t\treservationService.saveReservation(reservation);\n\t\treturn reservationDAO.findReservationByPrimaryKey(reservation.getReservationId());\n\t}",
"private void addBookings(List<Bookings> newBookings) {\n IController<Bookings> bookingController = new Controller<>();\n IController<Students> studentController = new Controller<>();\n IController<Staff> staffController = new Controller<>();\n\n // Get all bookings\n List<Bookings> allBookings = bookingController.readAll(Bookings.class);\n\n\n // Check if any booking clashes.\n int count = 0;\n for (Bookings b : newBookings) {\n System.out.println(\"Checking availability of booking #\" + count);\n for (Bookings booking : allBookings) {\n if (b.conflictsWith(booking)) {\n throw new IllegalArgumentException(\"That booking conflicts with another booking.\");\n }\n }\n\n Modules relatedModule = b.getModule();\n\n if (!b.getRooms().isAvailable(b.getTime(), b.getEnd())) {\n throw new IllegalArgumentException(\"That room is unavailable at the time (\" + b.getTime() + \").\");\n }\n for (Students student : relatedModule.getStudents()) {\n student = studentController.readById(Students.class, student.getStudentID(), true);\n if (!student.isAvailable(b.getTime(), b.getEnd())) {\n throw new IllegalArgumentException(\"A student is unavailable at this time. [\" + b.getTime() + \"] (\" + student.getStudentID() + \")\");\n }\n }\n for (Staff staff : relatedModule.getStaff()) {\n staff = staffController.readById(Staff.class, staff.getStaffID(), true);\n\n if (!staff.isAvailable(b.getTime(), b.getEnd())) {\n throw new IllegalArgumentException(\"A staff member is unavailable at this time. [\" + b.getTime() + \"] (\" + staff.getStaffID() + \")\");\n }\n }\n\n count++;\n }\n\n // Create the bookings\n for (Bookings b : newBookings) {\n bookingController.create(b);\n System.out.println(b.confirmation() + \"\\n\");\n }\n }",
"public String createJSON(IInternalContest contest, Run run) {\n\n StringBuilder stringBuilder = new StringBuilder();\n\n appendPair(stringBuilder, \"id\", run.getNumber());\n stringBuilder.append(\", \");\n\n appendPair(stringBuilder, \"submission_id\", run.getNumber());\n stringBuilder.append(\", \");\n\n if (run.isJudged()) {\n ElementId judgementId = run.getJudgementRecord().getJudgementId();\n Judgement judgement = contest.getJudgement(judgementId);\n\n appendPair(stringBuilder, \"judgement_type_id\", judgement.getAcronym());\n } else {\n\n appendPairNullValue(stringBuilder, \"judgement_type_id\");\n }\n\n // start_time TIME yes no provided by CCS absolute time when judgement started\n // start_contest_time RELTIME yes no provided by CCS contest relative time when judgement started\n // end_time TIME yes yes provided by CCS absolute time when judgement completed\n // end_contest_time RELTIME yes yes provided by CCS contest relative time when judgement completed \n\n // [{\"id\":\"189549\",\"submission_id\":\"wf2017-32163123xz3132yy\",\"judgement_type_id\":\"CE\",\"start_time\":\"2014-06-25T11:22:48.427+01\",\n // \"start_contest_time\":\"1:22:48.427\",\"end_time\":\"2014-06-25T11:23:32.481+01\",\"end_contest_time\":\"1:23:32.481\"},\n // {\"id\":\"189550\",\"submission_id\":\"wf2017-32163123xz3133ub\",\"judgement_type_id\":null,\"start_time\":\"2014-06-25T11:24:03.921+01\",\n // \"start_contest_time\":\"1:24:03.921\",\"end_time\":null,\"end_contest_time\":null}\n // ]\n\n Calendar wallElapsed = calculateElapsedWalltime(contest, run.getElapsedMS());\n\n stringBuilder.append(\", \");\n appendPair(stringBuilder, \"start_time\", wallElapsed); // absolute time when judgement started ex. 2014-06-25T11:24:03.921+01\n\n stringBuilder.append(\", \");\n appendPair(stringBuilder, \"start_contest_time\", XMLUtilities.formatSeconds(run.getElapsedMS())); // contest relative time when judgement started. ex. 1:24:03.921\n\n stringBuilder.append(\", \");\n appendPairNullValue(stringBuilder, \"end_time\"); // TODO CLICS DATA ADD - add code to save in JudgementRecord in Executable\n\n stringBuilder.append(\", \");\n appendPairNullValue(stringBuilder, \"end_contest_time\"); // TODO CLICS DATA ADD add code to save in JudgementRecord - in Executable\n\n return stringBuilder.toString();\n }",
"private void createJSON(){\n json = new JSONObject();\n JSONArray userID = new JSONArray();\n JSONArray palabras = new JSONArray();\n JSONArray respuesta = new JSONArray();\n\n @SuppressLint(\"SimpleDateFormat\") DateFormat formatForId = new SimpleDateFormat(\"yyMMddHHmmssSSS\");\n String id = formatForId.format(new Date()) + \"_\" + android_id;\n userID.put(id);\n global.setUserID(id);\n\n for (int i = 0; i < global.getWords().size() && i < 7; i++){\n palabras.put(global.getWords().get(i));\n }\n\n respuesta.put(url);\n\n try {\n json.put(\"userID\", userID);\n json.put(\"palabras\", palabras);\n json.put(\"respuesta\", respuesta);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }",
"@RequestMapping(value = \"/Reservation/{reservation_reservationId}/room\", method = RequestMethod.POST)\n\t@ResponseBody\n\tpublic Room newReservationRoom(@PathVariable Integer reservation_reservationId, @RequestBody Room room) {\n\t\treservationService.saveReservationRoom(reservation_reservationId, room);\n\t\treturn roomDAO.findRoomByPrimaryKey(room.getRoomId());\n\t}",
"CurrentReservation createCurrentReservation();",
"public String extractingmainid()\r\n\t{\r\n\t\tSystem.out.println(\"welcome to extractingmainid for single reservation\");\r\n\t\tString localresponseJSONString = responseJSONString;\r\n\t\tJSONObject jsonResult = new JSONObject(localresponseJSONString);\r\n\t\tString getbookingsmainid;\r\n\t\tJSONArray getbookingsArray = jsonResult.getJSONObject(\"hotelogix\").getJSONObject(\"response\").getJSONArray(\"bookings\");\r\n\t\tJSONObject bookingsmainid = getbookingsArray.getJSONObject(0);\r\n\t\tgetbookingsmainid = bookingsmainid.getString(\"mainId\");\r\n\t\tSystem.out.println(\":getbookings mainid:\"+getbookingsmainid);\r\n\t\treturn getbookingsmainid;\r\n\t}",
"public void jsonCallback(String url, JSONObject json, AjaxStatus status) {\n ArrayList reservas = new ArrayList();\n idReservas = new ArrayList();\n if (json != null) {\n //Log.v(\"JSON\", json.toString());\n String jsonResponse = \"\";\n try {\n //Get json as Array\n JSONArray jsonArray = json.getJSONArray(\"reservation\");\n //Toast.makeText(aq.getContext(), jsonArray.toString(), Toast.LENGTH_LONG).show();\n if (jsonArray != null) {\n int len = jsonArray.length();\n for (int i = 0; i < len; i++) {\n //Get the events\n JSONObject jsonObject = jsonArray.getJSONObject(i);\n //Example\n//{\"reservation\": [{\"id\":\"46\",\"name\":\"carlos\",\"hour\":\"1900\",\"day\":\"20\",\"month\":\"05\",\"year\":\"2014\",\n// \"description\":\"\",\"idField\":\"41\",\"idLogin\":\"5\"}]}\n//Elements to calendar view\n Cursor c = manager.buscarCanchaById(jsonObject.getString(\"idField\"));\n String nombreCancha = \"\";\n if (c.moveToFirst()){ // data?\n nombreCancha = c.getString(c.getColumnIndex(\"name\"));\n }\n reservas.add(i+1+\".\"+ nombreCancha);\n reservas.add(\"hora: \"+jsonObject.getString(\"hour\") + \"- Día: \" + jsonObject.getString(\"day\") + \"/\" + jsonObject.getString(\"month\") + \"/\" +\n jsonObject.getString(\"year\"));\n idReservas.add(jsonObject.getString(\"id\"));\n //jsonObject.getString(\"description\");\n //jsonObject.getString(\"idField\");\n //jsonObject.getString(\"idLogin\");\n }\n }\n } catch (JSONException e) {\n // TODO Auto-generated catch block\n Toast.makeText(aq.getContext(), \"Error in parsing JSON\", Toast.LENGTH_LONG).show();\n } catch (Exception e) {\n Toast.makeText(aq.getContext(), \"Something went wrong\", Toast.LENGTH_LONG).show();\n }\n // 1. pass context and data to the custom adapter\n items = generateData(reservas);\n adapter2 = new MyAdapter(this, items);\n\n // 3. setListAdapter\n listView.setAdapter(adapter2);\n\n }\n //When JSON is null\n else {\n //When response code is 500 (Internal Server Error)\n if(status.getCode() == 500){\n Toast.makeText(aq.getContext(),\"Server is busy or down. Try again!\",Toast.LENGTH_SHORT).show();\n }\n //When response code is 404 (Not found)\n else if(status.getCode() == 404){\n Toast.makeText(aq.getContext(),\"Resource not found!\",Toast.LENGTH_SHORT).show();\n }\n //When response code is other 500 or 404\n else{\n Toast.makeText(aq.getContext(),\"Verifique su conexion\",Toast.LENGTH_SHORT).show();\n }\n }\n }",
"Booking createBooking(Booking newBooking) throws Exception;",
"public static JSONObject getKitchenDeliveryBoys(String kitchenName) throws JSONException{\n\t\tJSONArray kitchenDeliveryBoyArray = new JSONArray();\n\t\tJSONObject jsonKitchenDeliveryBoys = new JSONObject();\n\t\ttry {\n\t\t\tSQL:{\n\t\t\tConnection connection = DBConnection.createConnection();\n\t\t\tPreparedStatement preparedStatement = null;\n\t\t\tResultSet resultSet = null;\n\t\t\tString sql = \"SELECT * FROM vw_delivery_boy_data WHERE \"\n\t\t\t\t\t+ \" kitchen_name = ?\";\n\t\t\ttry {\n\t\t\t\tpreparedStatement = connection.prepareStatement(sql);\n\t\t\t\tpreparedStatement.setString(1, kitchenName);\n\t\t\t\tresultSet = preparedStatement.executeQuery();\n\t\t\t\twhile(resultSet.next()){\n\t\t\t\t\tJSONObject boys = new JSONObject();\n\t\t\t\t\tif(resultSet.getString(\"delivery_boy_name\")!=null){\n\t\t\t\t\t\tboys.put(\"name\",resultSet.getString(\"delivery_boy_name\") );\n\t\t\t\t\t}else{\n\t\t\t\t\t\tboys.put(\"name\", \" \");\n\t\t\t\t\t}\n\t\t\t\t\tif( resultSet.getString(\"delivery_boy_phn_number\")!=null){\n\t\t\t\t\t\tboys.put(\"mobileno\",resultSet.getString(\"delivery_boy_phn_number\"));\n\t\t\t\t\t}else{\n\t\t\t\t\t\tboys.put(\"mobileno\", \" \");\n\t\t\t\t\t}\n\t\t\t\t\t/*if( resultSet.getString(\"delivery_boy_vehicle_reg_no\")!=null){\n\t\t\t\t\t\t\t\tboys.put(\"vehicleno\",resultSet.getString(\"delivery_boy_vehicle_reg_no\") );\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tboys.put(\"vehicleno\", \" \");\n\t\t\t\t\t\t\t}*/\n\t\t\t\t\tif(resultSet.getString(\"delivery_boy_id\")!=null){\n\t\t\t\t\t\tboys.put(\"boyid\", resultSet.getString(\"delivery_boy_id\"));\n\t\t\t\t\t}else{\n\t\t\t\t\t\tboys.put(\"boyid\", \" \");\n\t\t\t\t\t}\n\t\t\t\t\tkitchenDeliveryBoyArray.put(boys);\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} finally{\n\t\t\t\tif(connection!=null){\n\t\t\t\t\tconnection.close();\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\tSystem.out.println(\"deliveryboys web service is end here..\"+kitchenDeliveryBoyArray.length());\n\t\tjsonKitchenDeliveryBoys.put(\"boylist\", kitchenDeliveryBoyArray);\n\t\treturn jsonKitchenDeliveryBoys;\n\t}",
"public int get_booking_room_id() {\n return room_id;\n }",
"public void jsonPresentation () {\n System.out.println ( \"****** Json Data Module ******\" );\n ArrayList<Book> bookArrayList = new ArrayList<Book>();\n String jsonData = \"\";\n ObjectMapper mapper = new ObjectMapper();\n bookArrayList = new Request().postRequestBook();\n try {\n jsonData = mapper.writeValueAsString(bookArrayList);\n } catch (JsonProcessingException e) {\n System.out.println(\"Error: \"+ e);\n }\n System.out.println(jsonData);\n ClientEntry.showMenu ( );\n }",
"private void SaveAppoint(View view)\n {\n String userIdStr = getSharedPreferences(\"prefs\",0).getString(\"Id_User\", \"\");\n if(userIdStr.equals(\"\"))\n {\n Intent i = new Intent(this, LoginActivity.class);\n startActivity(i);\n finish();\n return;\n }\n\n dbAdapter = new DbAdapter(this);\n\n //covert unix-datetime (in seconds) to string\n Date appointTime = new Date(dateTimeUnix * 1000L);\n SimpleDateFormat sdf = new SimpleDateFormat(\"EEE, d MMM yyyy hh:mm aaa\");\n AppointmentTime = sdf.format(appointTime);\n\n //bind model\n bModel = new Booking();\n userIdStr = getSharedPreferences(\"prefs\", 0).getString(\"Id_User\", \"1\");\n int userIdInt = Integer.parseInt(userIdStr);\n bModel.setId_User(userIdStr);\n bModel.setAppointmentTime(this.AppointmentTime);\n bModel.setClinic(txtV.getText().toString());\n bModel.setCreationTime(sdf.format( Calendar.getInstance().getTime() ));\n if(spinDrList.getSelectedItemPosition() == 0)\n {\n Snackbar.make(view, \"Select a doctor\", Snackbar.LENGTH_LONG).show();\n return;\n }\n bModel.setDoctor(VariablesGlobal.DrProfiles.get(spinDrList.getSelectedItemPosition() -1).name);\n bModel.setDRAVAILABLE(\"1\");\n bModel.setId_Doc((VariablesGlobal.DrProfiles.get(spinDrList.getSelectedItemPosition() - 1)).id_doc);\n\n //make json from model\n formData = gson.toJson(bModel);\n\n //chk if u r coming from List of appoints or from Map\n if (app == null) //i.e. Coming from Map, hence a non-existing booking, so create a new one\n {\n\n paramsApiUri[0] = VariablesGlobal.API_URI + \"/api/values/newAppointment\";\n paramsApiUri[1] = formData;\n paramsApiUri[2] = \"POST\";\n }\n else\n {\n int appointId = getSharedPreferences(\"prefs\", 0).getInt(\"Id_Appointment\", 0);\n paramsApiUri[0] = VariablesGlobal.API_URI + \"/api/values/UpdateAppoint/\" + appointId;\n paramsApiUri[1] = formData;\n paramsApiUri[2] = \"POST\";\n }\n\n //pass args to AsyncTask to read db\n dbAdapter.execute(paramsApiUri);\n if(Bookings_AllActivity.instance != null)\n {\n Bookings_AllActivity.instance.finish();\n }\n }",
"public JSONObject buildJson() {\n Map<String, String> reqData = new HashMap<>();\n reqData.put(\"id\", id);\n reqData.put(\"summary\", summary);\n reqData.put(\"location\", location);\n reqData.put(\"description\", description);\n reqData.put(\"color\", color);\n reqData.put(\"emailReminderMinutes\", Integer.toString(emailReminderMinutes));\n reqData.put(\"repetitionInterval\", Integer.toString(repetitionInterval));\n reqData.put(\"startDate\", startDate);\n reqData.put(\"endDate\", endDate);\n return new JSONObject(reqData);\n }",
"public JSONObject constructValidHotelJson(String hotelId){\n\t\t\n\t\tHotel hotel = hotelMap.get(hotelId);\n\t\tMap<String, Object> obj = new LinkedHashMap<>();\n\t\t\n\t\tobj.put(\"success\",true);\n\t\tobj.put(\"hotelId\",hotelId);\n\t\tobj.put(\"name\", hotel.getHotelName());\n\t\tobj.put(\"addr\", hotel.getAddress().getStreetAddr());\n\t\tobj.put(\"city\", hotel.getAddress().getCity());\n\t\tobj.put(\"state\", hotel.getAddress().getState());\n\t\tobj.put(\"country\", hotel.getCountry());\n\t\tJSONObject jsonResponse = new JSONObject(obj);\n\t\treturn jsonResponse;\n\t\t\n\t}",
"public void parseJSON(JSONObject json){\n try {\n\n int success = json.getInt(KEY_SUCCESS);\n if(success == 0){\n //An error occurred - Server will handle message\n String message = json.getString(KEY_MESSAGE);\n Toast.makeText(this, message, Toast.LENGTH_LONG).show();\n }else if(success == 1){\n //Book Info successfully retrieved\n //Get detailed book info\n JSONObject jsonResponse = json.getJSONObject(KEY_JSON);\n String title = jsonResponse.getString(KEY_TITLE);\n String subTitle = jsonResponse.getString(KEY_SUB_TITLE);\n String subject = jsonResponse.getString(KEY_SUBJECT);\n String description = jsonResponse.getString(KEY_DESCRIPTION);\n String authors = jsonResponse.getString(KEY_AUTHORS);\n //String bookDetails = jsonResponse.getString(KEY_BOOK_DETAILS);\n String thumbnail = jsonResponse.getString(KEY_THUMBNAIL);\n int copies = jsonResponse.getInt(KEY_COPIES);\n String ISBN10 = jsonResponse.getString(KEY_ISBN10);\n String ISBN13 = jsonResponse.getString(KEY_ISBN13);\n int numberRatings = jsonResponse.getInt(KEY_NUMBER_RATINGS);\n String averageRating = jsonResponse.getString(KEY_AVG_RATING);\n int availableCopies = jsonResponse.getInt(KEY_AVAILABLE_COPIES);\n JSONArray copyDetails = jsonResponse.getJSONArray(KEY_COPY_DETAILS);\n JSONArray reviews = jsonResponse.getJSONArray(KEY_REVIEWS);\n\n //Create book object\n currentBook = new Book(Float.valueOf(averageRating), numberRatings, copies, availableCopies, VALUE_GID, title, subTitle, null, subject, description, authors, thumbnail, null, ISBN10, ISBN13);\n\n //Get UID to check if there are comments by current user. Also assume that there are no reviews initially\n SharedPreferences sharedPref = getSharedPreferences(getString(R.string.preference_file_key), Context.MODE_PRIVATE);\n VALUE_UID = sharedPref.getInt(\"UID\", -2);\n\n //Loop through copy details\n for(int i = 0; i < copyDetails.length(); i++){\n JSONObject currentCopy = (JSONObject)copyDetails.get(i);\n\n int BID = currentCopy.getInt(KEY_BID);\n String checkoutTime = currentCopy.getString(KEY_CHECKOUT_TIME);\n String returnTime = currentCopy.getString(KEY_RETURN_TIME);\n int waitingListSize = currentCopy.getInt(KEY_WAITLIST_SIZE);\n int UID = currentCopy.getInt(KEY_UID);\n\n Copy curCopy = new Copy(BID, waitingListSize, checkoutTime, returnTime);\n currentBook.copies.add(curCopy);\n if (VALUE_UID == UID) {\n mCheckout.setText(\"Return\");\n checkedOut = true;\n mCopy = curCopy;\n break;\n }else{\n checkedOut = false;\n mCheckout.setText(getResources().getString(R.string.checkout));\n }\n\n\n\n }\n\n //Loop through Reviews\n for(int i = 0; i < reviews.length(); i++){\n JSONObject currentReview = (JSONObject)reviews.get(i);\n int CID = currentReview.getInt(KEY_CID);\n int rating = currentReview.getInt(KEY_RATING);\n String timestamp = currentReview.getString(KEY_COMMENT_TIME);\n String commentTitle = currentReview.getString(KEY_COMMENT_TITLE);\n String comment = currentReview.getString(KEY_COMMENT);\n String name = currentReview.getString(KEY_NAME);\n int UID = currentReview.getInt(KEY_UID);\n\n Review curReview = new Review(CID, UID, rating, comment, commentTitle, timestamp, name);\n\n //If the current user already added a review, display it at the top.\n if(UID == VALUE_UID) {\n currentBook.reviews.add(0, curReview);\n }else {\n currentBook.reviews.add(curReview);\n }\n }\n retrieveDetailedImage();\n displayBookInfo();\n }else if(success == 11){\n //Comment successfully added\n boolean authSuccess = json.getBoolean(KEY_AUTH_SUCCESS);\n Log.i(\"LoginActivity\", \"AUTH SUCCESS: \" + authSuccess);\n if(authSuccess){\n String message = json.getString(KEY_MESSAGE);\n Toast.makeText(this, message, Toast.LENGTH_SHORT).show();\n //Updates new info\n Log.i(\"LoginActivity\", \"UPDATE INITIATED\");\n retrieveDetailedBookInfo();\n }else{\n ErrorUtils.errorDialog(this, \"Authentication Error\", \"The user's credentials could not be authenticated, so the review was not uploaded. Please try logging out and baack in.\");\n }\n }else if(success == 14){\n //Book successfully checked out\n int BID = json.getInt(KEY_BID);\n SharedPreferences.Editor prefEditor = getSharedPreferences(getString(R.string.preference_file_key), Context.MODE_PRIVATE).edit();\n prefEditor.putInt(\"BOOK\" + BID, BID);\n prefEditor.commit();\n\n String message = json.getString(KEY_MESSAGE);\n Toast.makeText(this, message, Toast.LENGTH_LONG).show();\n\n checkedOut = true;\n mCheckout.setText(\"Return\");\n\n configureReturnAlarm(BID);\n\n if(restartOnFinished){\n restartOnFinished = false;\n refreshScreen();\n }\n\n }else if(success == 15){\n //Successfully added to wait list\n int BID = json.getInt(KEY_BID);\n SharedPreferences.Editor prefEditor = getSharedPreferences(getString(R.string.preference_file_key), Context.MODE_PRIVATE).edit();\n prefEditor.putInt(\"WAITLIST\" + BID, BID);\n prefEditor.commit();\n\n String message = json.getString(KEY_MESSAGE);\n Toast.makeText(this, message, Toast.LENGTH_LONG).show();\n\n if(restartOnFinished) {\n restartOnFinished = false;\n refreshScreen();\n }\n\n }else if(success == 16){\n //Successfully returned\n int BID = json.getInt(KEY_BID);\n SharedPreferences pref = getSharedPreferences(getString(R.string.preference_file_key), Context.MODE_PRIVATE);\n SharedPreferences.Editor prefEditor = pref.edit();\n prefEditor.remove(\"BOOK\" + BID);\n prefEditor.commit();\n\n String message = json.getString(KEY_MESSAGE);\n Toast.makeText(this, message, Toast.LENGTH_LONG).show();\n checkedOut = false;\n mCheckout.setText(\"Checkout\");\n\n if(restartOnFinished) {\n restartOnFinished = false;\n refreshScreen();\n }\n\n Log.i(\"LoginActivity\", \"SUCCESS RETURNED\");\n }\n }catch(JSONException JSONE){\n JSONE.printStackTrace();\n ErrorUtils.errorDialog(this, \"Malformed JSON Error\", \"A malformed response was recieved from the server. Please try again later.\");\n }\n }",
"public static JSONObject saveTrackDetailStatus(JSONObject input, String kitchenName, String orderNo) throws JSONException{\n\t\tJSONObject status = new JSONObject();\n\t\tboolean updated = false;\n\t\tif(input.getString(\"status\").equalsIgnoreCase(\"SHIPPED\")){\n\t\t\tSystem.out.println(\"Driver \"+input.getString(\"driver_name\")+\" is shipped from '\"+kitchenName+\"' successfully!!\");\n\t\t\ttry {\n\t\t\t\tSQL1:{\n\t\t\t\tConnection connection = DBConnection.createConnection();\n\t\t\t\tPreparedStatement preparedStatement = null;\n\t\t\t\tString sql = \"UPDATE fapp_order_tracking SET driver_pickup_time = current_timestamp \"\n\t\t\t\t\t\t+ \"WHERE order_id = (select order_id from fapp_orders where order_no = ?) \"\n\t\t\t\t\t\t+ \" AND kitchen_id = (select kitchen_id from fapp_kitchen where kitchen_name = ?) AND rejected='N'\";\n\t\t\t\ttry {\n\t\t\t\t\tpreparedStatement = connection.prepareStatement(sql);\n\t\t\t\t\t//preparedStatement.setString(1, input.getString(\"driver_name\"));\n\t\t\t\t\t//\tpreparedStatement.setString(2, input.getString(\"driver_number\"));\n\t\t\t\t\tpreparedStatement.setString(1, orderNo);\n\t\t\t\t\tpreparedStatement.setString(2, kitchenName);\n\t\t\t\t\tint count = preparedStatement.executeUpdate();\n\t\t\t\t\tif(count>0){\n\t\t\t\t\t\tupdated = true;\n\t\t\t\t\t\t/*sendMessageForDeliveryBoy(getCustomerMobile(input.getString(\"order_id\"), \"REGULAR\"), \n\t\t\t\t\t\t\t\t\tinput.getString(\"driver_number\"), input.getString(\"driver_name\"),\n\t\t\t\t\t\t\t\t\t\"dummyLat\",\"dummyLong\",\"dummySubNo\");*/\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}finally{\n\t\t\t\t\tif(connection!=null){\n\t\t\t\t\t\tconnection.close();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSQL2:{\n\t\t\t\tConnection connection = DBConnection.createConnection();\n\t\t\t\tPreparedStatement preparedStatement = null;\n\t\t\t\tString sql = \"UPDATE fapp_orders SET order_status_id=5 WHERE order_no = ?\";\n\t\t\t\ttry {\n\t\t\t\t\tpreparedStatement = connection.prepareStatement(sql);\n\t\t\t\t\t//\tpreparedStatement.setString(1, input.getString(\"driver_name\"));\n\t\t\t\t\t//\tpreparedStatement.setString(2, input.getString(\"driver_number\"));\n\t\t\t\t\tpreparedStatement.setString(1, orderNo);\n\t\t\t\t\tint count = preparedStatement.executeUpdate();\n\t\t\t\t\tif(count>0){\n\t\t\t\t\t\tupdated = true;\n\t\t\t\t\t\t/*sendMessageForDeliveryBoy(getCustomerMobile(input.getString(\"order_id\"), \"REGULAR\"), \n\t\t\t\t\t\t\t\t\tinput.getString(\"driver_number\"), input.getString(\"driver_name\"));\n\t\t\t\t\t\t */\t\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}finally{\n\t\t\t\t\tif(connection!=null){\n\t\t\t\t\t\tconnection.close();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t}\n\t\t}else if(input.getString(\"status\").equalsIgnoreCase(\"COMPLETE\")){\n\t\t\tSystem.out.println(\"Driver \"+input.getString(\"driver_name\")+\" is completed the order from '\"+kitchenName+\"' successfully!!\");\n\n\t\t\ttry {\n\t\t\t\tSQL1:{\n\t\t\t\tConnection connection = DBConnection.createConnection();\n\t\t\t\tPreparedStatement preparedStatement = null;\n\t\t\t\tString sql = \"UPDATE fapp_order_tracking SET delivery_time = current_timestamp,delivered='Y' \"\n\t\t\t\t\t\t+ \" WHERE order_id = (select order_id from fapp_orders where order_no = ?) and kitchen_id=\"\n\t\t\t\t\t\t+ \" (select kitchen_id from fapp_kitchen where kitchen_name = ?) AND rejected='N'\";\n\t\t\t\ttry {\n\t\t\t\t\tpreparedStatement = connection.prepareStatement(sql);\n\t\t\t\t\tpreparedStatement.setString(1, orderNo);\n\t\t\t\t\tpreparedStatement.setString(2, kitchenName);\n\t\t\t\t\tint count = preparedStatement.executeUpdate();\n\t\t\t\t\tif(count>0){\n\t\t\t\t\t\tupdated = true;\n\t\t\t\t\t\t/*sendMessageToMobile(getCustomerMobile(orderNo, \"REGULAR\"), \n\t\t\t\t\t\t\t\t\torderNo, \"orderTime\" , 7);*/\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}finally{\n\t\t\t\t\tif(connection!=null){\n\t\t\t\t\t\tconnection.close();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSQL2:{\n\t\t\t\tConnection connection = DBConnection.createConnection();\n\t\t\t\tPreparedStatement preparedStatement = null;\n\t\t\t\tString sql = \"UPDATE fapp_orders SET order_status_id=6 WHERE order_no = ?\";\n\t\t\t\ttry {\n\t\t\t\t\tpreparedStatement = connection.prepareStatement(sql);\n\t\t\t\t\tpreparedStatement.setString(1, orderNo);\n\t\t\t\t\tint count = preparedStatement.executeUpdate();\n\t\t\t\t\tif(count>0){\n\t\t\t\t\t\tupdated = true;\n\t\t\t\t\t\t/*sendMessageToMobile(getCustomerMobile(orderNo, \"REGULAR\"), \n\t\t\t\t\t\t\t\t\torderNo, \"orderTime\" , 7);*/\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}finally{\n\t\t\t\t\tif(connection!=null){\n\t\t\t\t\t\tconnection.close();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(isAllKitchenDelivered(orderNo)){\n\t\t\t\tSQL3:{\n\t\t\t\tConnection connection = DBConnection.createConnection();\n\t\t\t\tPreparedStatement preparedStatement = null;\n\t\t\t\tString sql = \"UPDATE fapp_orders SET order_status_id=7,delivery_date_time=current_timestamp,is_message_send='Y' WHERE order_no = ?\";\n\t\t\t\ttry {\n\t\t\t\t\tpreparedStatement = connection.prepareStatement(sql);\n\t\t\t\t\tpreparedStatement.setString(1, orderNo);\n\t\t\t\t\tint count = preparedStatement.executeUpdate();\n\t\t\t\t\tif(count>0){\n\t\t\t\t\t\tupdated = true;\n\t\t\t\t\t\tsendMessageToMobile(getCustomerMobile(orderNo, \"REGULAR\"), \n\t\t\t\t\t\t\t\torderNo, \"orderTime\" , 7);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}finally{\n\t\t\t\t\tif(connection!=null){\n\t\t\t\t\t\tconnection.close();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t}\n\t\t}else if(input.getString(\"status\").equalsIgnoreCase(\"REACHED_PICKUP\")){\n\t\t\tSystem.out.println(\"Driver \"+input.getString(\"driver_name\")+\" is reached from road runner to '\"+kitchenName+\"' successfully!!\");\n\t\t\ttry {\n\t\t\t\tSQL:{\n\t\t\t\tConnection connection = DBConnection.createConnection();\n\t\t\t\tPreparedStatement preparedStatement = null;\n\t\t\t\tString sql = \"UPDATE fapp_order_tracking SET driver_arrival_time = current_timestamp \"\n\t\t\t\t\t\t+ \"WHERE order_id = (select order_id from fapp_orders where order_no = ?)\"\n\t\t\t\t\t\t+ \" AND kitchen_id = (select kitchen_id from fapp_kitchen where kitchen_name = ?) AND rejected='N'\";\n\t\t\t\ttry {\n\t\t\t\t\tpreparedStatement = connection.prepareStatement(sql);\n\t\t\t\t\tpreparedStatement.setString(1, orderNo);\n\t\t\t\t\tpreparedStatement.setString(2, kitchenName);\n\t\t\t\t\tint count = preparedStatement.executeUpdate();\n\t\t\t\t\tif(count>0){\n\t\t\t\t\t\tupdated = true;\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}finally{\n\t\t\t\t\tif(connection!=null){\n\t\t\t\t\t\tconnection.close();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t}\n\t\t}else{\n\t\t\tSystem.out.println(\"Driver \"+input.getString(\"driver_name\")+\" is assigned from road runner to '\"+kitchenName+\"' successfully!!\");\n\t\t\ttry {\n\t\t\t\tSQL1:{\n\t\t\t\tConnection connection = DBConnection.createConnection();\n\t\t\t\tPreparedStatement preparedStatement = null;\n\t\t\t\tString sql = \"UPDATE fapp_order_tracking SET driver_name = ?,driver_number = ?,driver_assignment_time=current_timestamp \"\n\t\t\t\t\t\t+ \"WHERE order_id = (select order_id from fapp_orders where order_no = ?) \"\n\t\t\t\t\t\t+ \" AND kitchen_id = (select kitchen_id from fapp_kitchen where kitchen_name = ?) AND rejected='N'\";\n\t\t\t\ttry {\n\t\t\t\t\tpreparedStatement = connection.prepareStatement(sql);\n\t\t\t\t\tpreparedStatement.setString(1, input.getString(\"driver_name\"));\n\t\t\t\t\tpreparedStatement.setString(2, input.getString(\"driver_number\"));\n\t\t\t\t\tpreparedStatement.setString(3, orderNo);\n\t\t\t\t\tpreparedStatement.setString(4, kitchenName);\n\t\t\t\t\tint count = preparedStatement.executeUpdate();\n\t\t\t\t\tif(count>0){\n\t\t\t\t\t\tupdated = true;\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}finally{\n\t\t\t\t\tif(connection!=null){\n\t\t\t\t\t\tconnection.close();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t}\n\t\t\t//updated = true;\n\t\t}\n\t\t/*if(saveOrderStatus(input))\n\t\t\tstatus.put(\"status\", true);\n\t\telse\n\t\t\tstatus.put(\"status\", false);\n\t\treturn status;*/\n\t\tif(updated){\n\t\t\tstatus.put(\"status\", true);\n\t\t}else{\n\t\t\tstatus.put(\"status\", false);\n\t\t}\n\t\treturn status;\n\t}",
"Booking getBookingById(BookingKey bookingKey);",
"@PostMapping(\"/add\")\r\n\tResponseEntity<BookingDetails> bookingprocess(@RequestBody CreateBookingRequest bookingDto){\r\n\t\tList<Seat> seats = choosenSeats(bookingDto.getChoosenSeats());\r\n\t\tdouble cost = getCost(seats);\r\n\t\t\r\n\t\tBooking booking=convertBookingDto(bookingDto,cost);\r\n\t\tbooking = bookingService.createBooking(booking,bookingDto.getPaymentMethod(),bookingDto.getScreenName());\r\n\t\t\r\n\t\tBookingDetails bookingDetails = convertBooking(booking);\r\n\t\tResponseEntity<BookingDetails> response = new ResponseEntity<BookingDetails>(bookingDetails,HttpStatus.OK);\r\n\t\treturn response;\r\n\t}",
"public void setReservationId(int i) { reservationId = i; }",
"private void handleBooking() {\n\t\tString customerID;\n\t\tint recNo = table.getSelectedRow();\n\t\tif(recNo == -1){\n\t\t\treturn;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tcustomerID = JOptionPane.showInputDialog(mainPanel,\n\t\t\t\t\t\"Enter Customer ID (8 Digits)\");\n\t\t\tif (customerID != null) {\t\n\t\t\t\tcontroller.reserveRoom(recNo, customerID);\n\t\n\t\t\t\tupdateTable(nameSearchBar.getText(),\n\t\t\t\t\t\tlocationSearchBar.getText());\n\t\t\t}\n\t\t} catch (final InvalidCustomerIDException icide) {\n\t\t\tJOptionPane.showMessageDialog(mainPanel, \"Invalid format!\");\n\t\t} catch (final BookingServiceException bse) {\n\t\t\tJOptionPane.showMessageDialog(mainPanel, bse.getMessage());\n\t\t} catch (final ServiceUnavailableException sue) {\n\t\t\tJOptionPane.showMessageDialog(null, sue.getMessage());\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"public void addBooking(Bookings b) {\n IController<Bookings> ic = new Controller<>();\n\n // Check whether the booking conflicts with another booking.\n for (Bookings booking : ic.readAll(Bookings.class)) {\n if (b.conflictsWith(booking)) {\n throw new IllegalArgumentException(\"That booking conflicts with another booking.\");\n }\n }\n\n Modules relatedModule = b.getModule();\n\n // Check whether the room is available at the given time.\n if (!b.getRooms().isAvailable(b.getTime(), b.getEnd())) {\n throw new IllegalArgumentException(\"That room is unavailable at this time.\");\n }\n // Check whether the students are available at that time.\n for (Students student : relatedModule.getStudents()) {\n if (!student.isAvailable(b.getTime(), b.getEnd())) {\n throw new IllegalArgumentException(\"A student is unavailable at this time.\");\n }\n }\n // Check whether the staff members are available at that time.\n for (Staff staff : relatedModule.getStaff()) {\n if (!staff.isAvailable(b.getTime(), b.getEnd())) {\n throw new IllegalArgumentException(\"A staff member is unavailable at this time.\");\n }\n }\n\n // Put the booking into the database.\n ic.create(b);\n System.out.println(b.confirmation() + \"\\n\");\n }",
"public void createWorkOrders() {\n Main.orderCount += 1;\n\n WorkOrder newOrder = new WorkOrder();\n\n Scanner scanner = new Scanner(System.in);\n\n System.out.println(\"Create a new Work Order:\");\n\n System.out.println(\"Enter description of work requested:\");\n\n newOrder.setDescription(scanner.nextLine());\n\n System.out.println(\"Enter your full name for our records:\");\n\n newOrder.setSenderName(scanner.nextLine());\n\n newOrder.setStatus(Status.INITIAL);\n\n newOrder.setId(Main.orderCount);\n\n //\n // mapper below\n //\n\n String workOrder = \"\";\n ObjectMapper mapper = new ObjectMapper();\n try {\n workOrder = mapper.writeValueAsString(newOrder);\n } catch (JsonProcessingException e) {\n e.printStackTrace();\n }\n String fileTitle = newOrder.getId() + \".json\";\n\n //\n // try catch block below for filewriting\n //\n\n try {\n File file = new File(fileTitle);\n FileWriter fileWriter = new FileWriter(file);\n fileWriter.write(workOrder);\n fileWriter.close();\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n createWorkOrders();\n }",
"private static JSONObject removeObject(JSONArray bookList,Book book){\r\n bookList.remove(book.toJson()); \r\n JSONObject bookObject = new JSONObject();\r\n bookObject.put(\"books\", bookList);\r\n return bookObject;\r\n }",
"public JSONObject readJSON(int bookId){\n System.out.println(\"looking for Book JSON with id \" + bookId);\n dbmanager.open();\n JSONObject jbook = new JSONObject();\n try (DBIterator keyIterator = dbmanager.getDB().iterator()) {\n keyIterator.seekToFirst();\n\n while (keyIterator.hasNext()) {\n String key = asString(keyIterator.peekNext().getKey());\n String[] splittedString = key.split(\"-\");\n\n if(!\"book\".equals(splittedString[0])){\n keyIterator.next();\n continue;\n }\n\n String resultAttribute = asString(dbmanager.getDB().get(bytes(key)));\n jbook = new JSONObject(resultAttribute);\n\n if(jbook.getInt(\"idBOOK\") == bookId){ \n break;\n }\n keyIterator.next(); \n }\n }\n catch(Exception ex){\n ex.printStackTrace();\n } \n dbmanager.close();\n return jbook;\n }",
"@PostMapping(value=\"/insert/hotel\", consumes=MediaType.APPLICATION_JSON_VALUE)\r\n\tpublic ResponseClient insertNewRoom(@RequestBody Hotel hotel){\r\n\t\thotelSer.save(hotel);\r\n\t\tResponseClient res = new ResponseClient();\r\n\t\tres.setResponse(\"successfull hotel_id: \");\r\n\t\treturn res;\r\n\t}",
"@Override\n public void onResponse(String response) {\n arrayList.clear();\n JSONArray array = null;\n try {\n array = new JSONArray(response);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n //traversing through all the object\n for (int i = 0; i < array.length(); i++) {\n\n\n try {\n aaaaaaaaaa =array.getJSONObject(i);\n // String ss = aaaaaaaaaa.getString();\n\n JSONObject jsonObject = new JSONObject(String.valueOf(aaaaaaaaaa));\n\n shift1 c = new shift1(aaaaaaaaaa.getString(\"date\"),aaaaaaaaaa.getLong(\"perso1\"),aaaaaaaaaa.getLong(\"perso2\"),\n aaaaaaaaaa.getLong(\"perso3\"),\n aaaaaaaaaa.getLong(\"perso4\"),aaaaaaaaaa.getLong(\"perso5\"),aaaaaaaaaa.getLong(\"perso6\"),aaaaaaaaaa.getLong(\"perso7\"),\n\n aaaaaaaaaa.getLong(\"perso8\"));\n\n arrayList.add(c);\n\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n\n }\n for (int i = 0; i <arrayList.size() ; i++) {\n\n for (int j = 0; j < staffArrayList.size(); j++) {\n if (arrayList.get(i).getPerso1() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList.get(i).getPerso2() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList.get(i).getPerso3() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList.get(i).getPerso4() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList.get(i).getPerso5() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList.get(i).getPerso6() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList.get(i).getPerso7() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList.get(i).getPerso8() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n }\n\n\n }\n }",
"public void allBookings() {\n\t\t\tint i = 0;\r\n\t\t\tint k = 0;\r\n\t\t\tint j = 0;\r\n\t\t\tint roomNum; //Room number\r\n\t\t\tint buffNum; //buff room number\r\n\t\t\tint index = 0; //saves the index of the date stored in the arraylist dateArray\r\n\t\t\tBooking buff; //Booking buffer to use\r\n\t\t\tRooms roomCheck;\r\n\t\t\tArrayList<LocalDate> dateArray = new ArrayList<LocalDate>(); //Saves the booking dates of a room\r\n\t\t\tArrayList<Integer> nights = new ArrayList<Integer>(); //Saves the number of nights a room is booked for\r\n\t\t\t\r\n\t\t\twhile(i < RoomDetails.size()) { //Looping Room Number-wise\r\n\t\t\t\troomCheck = RoomDetails.get(i);\r\n\t\t\t\troomNum = roomCheck.getRoomNum();\r\n\t\t\t\tSystem.out.print(this.Name + \" \" + roomNum);\r\n\t\t\t\twhile(k < Bookings.size()) { //across all bookings\r\n\t\t\t\t\tbuff = Bookings.get(k);\r\n\t\t\t\t\twhile(j < buff.getNumOfRoom()) { //check each booked room\r\n\t\t\t\t\t\tbuffNum = buff.getRoomNumber(j);\r\n\t\t\t\t\t\tif(buffNum == roomNum) { //If a booking is found for a specific room (roomNum)\r\n\t\t\t\t\t\t\tdateArray.add(buff.getStartDate()); //add the date to the dateArray\r\n\t\t\t\t\t\t\tCollections.sort(dateArray); //sort the dateArray\r\n\t\t\t\t\t\t\tindex = dateArray.indexOf(buff.getStartDate()); //get the index of the newly add date\r\n\t\t\t\t\t\t\tnights.add(index, buff.getDays()); //add the number of nights to the same index as the date\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tj++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tk++;\r\n\t\t\t\t\tj=0;\r\n\t\t\t\t}\r\n\t\t\t\ti++;\r\n\t\t\t\tprintOccupancy(dateArray, nights); //print the occupancy of the room\r\n\t\t\t\tk=0;\r\n\t\t\t\tdateArray.clear(); //cleared to be used again\r\n\t\t\t\tnights.clear(); //cleared to be used again\r\n\t\t\t}\r\n\t\t}",
"protected static String saveScheduleJSON(ArrayList<Room> roomList) {\n JSONArray jsonArray = new JSONArray();\n\n for (int i = 0; i < roomList.size(); i++) {\n JSONObject roomDetails = new JSONObject();\n for (int j = 0; j < roomList.get(i).getMeetings().size(); j++) {\n roomDetails.put(\"room_capacity\", roomList.get(i).getCapacity());\n roomDetails.put(\"room_meetings\", roomList.get(i).getMeetings()\n .get(j).getStartTime());\n roomDetails.put(\"room_meetings\", roomList.get(i).getMeetings()\n .get(j).getStopTime());\n roomDetails.put(\"room_meetings\", roomList.get(i).getMeetings()\n .get(j).getSubject());\n roomDetails.put(\"room_name\", roomList.get(i).getName());\n }\n jsonArray.put(roomDetails);\n\n }\n // check file exists or not\n File file = new File(\"D://fromJSON.csv\");\n String csv = CDL.toString(jsonArray);\n try {\n FileUtils.writeStringToFile(file, csv);\n } catch (IOException e) {\n e.printStackTrace();\n logger.error(\"can't export scheduling details to json \");\n }\n return csv;\n\n }",
"public void saveDetails() {\n\t\tTimelineUpdater timelineUpdater = TimelineUpdater.getCurrentInstance(\":mainForm:timeline\");\n\t\tmodel.update(event, timelineUpdater);\n\n\t\tFacesMessage msg =\n\t\t new FacesMessage(FacesMessage.SEVERITY_INFO, \"The booking details \" + getRoom() + \" have been saved\", null);\n\t\tFacesContext.getCurrentInstance().addMessage(null, msg);\n\t}",
"public String getInfo()\r\n\t{\r\n\t\tString closed = \"UNAVAILABLE\";\r\n\t\tHttpServletRequest request = ServletActionContext.getRequest();\r\n\t\tString id = request.getParameter(\"id\");\r\n\t\tint k = 0;\r\n\t\tJSONObject ob = new JSONObject();\r\n\t\ttry{\r\n\t\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\r\n\t\t\tConnection con=DriverManager.getConnection(\"jdbc:oracle:thin:@oracle.cise.ufl.edu:1521:orcl\",\"naveen\",\"\");\r\n\t\t\t\r\n\t\t\tStatement st=con.createStatement();\r\n\t\t\tSystem.out.println(\"connected to the server\");\r\n\t\t\tString sql = \"select * from business where business_id=\"+\"'\"+id+\"'\";\r\n\t\t\tResultSet rs=st.executeQuery(sql);\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t System.out.println(\"comming here\");\r\n\t\t\t String Business_Name = (String) rs.getString(24);\t\r\n\t\t\t ob.put(\"Business_Name\", Business_Name);\r\n\t\t\t ob.put(\"Business_id\", id);\r\n\t\t\t String address = (String) rs.getString(45);\r\n\t\t\t ob.put(\"address\", address);\r\n\t\t\t int review_count = (int) rs.getInt(37);\r\n\t\t\t ob.put(\"review_count\", review_count);\r\n\t\t\t float rating = (float) rs.getFloat(62);\r\n\t\t\t ob.put(\"rating\", rating);\r\n\t\t\t String Mon_open = (String) rs.getString(23);\r\n\t\t\t String Mon_closed = (String) rs.getString(71);\r\n\t\t\t if(Mon_open==null) ob.put(\"Mon\",closed);\r\n\t\t\t else ob.put(\"Mon\",Mon_open+\" \"+Mon_closed);\r\n\t\t\t String Tues_open = (String) rs.getString(19);\r\n\t\t\t String Tues_closed = (String) rs.getString(73);\r\n\t\t\t if(Tues_open==null) ob.put(\"Tues\",closed);\r\n\t\t\t else ob.put(\"Tues\", Tues_open+\" \"+Tues_closed);\r\n\t\t\t String Wed_open = (String) rs.getString(88);\r\n\t\t\t String Wed_closed = (String) rs.getString(56);\r\n\t\t\t if(Wed_open==null) ob.put(\"Wed\",closed);\r\n\t\t\t else ob.put(\"Wed\",Wed_open+\" \"+Wed_closed);\r\n\t\t\t String Thur_open = (String) rs.getString(4);\r\n\t\t\t String Thur_closed = (String) rs.getString(46);\r\n\t\t\t if(Thur_open==null) ob.put(\"Thur\",closed); \r\n\t\t\t else ob.put(\"Thur\", Thur_open+\" \"+Thur_closed);\r\n\t\t\t String Fri_open = (String) rs.getString(9);\r\n\t\t\t String Fri_closed = (String) rs.getString(41);\r\n\t\t\t if(Fri_open==null) ob.put(\"Fri\", closed);\r\n\t\t\t else ob.put(\"Fri\", Fri_open+\" \"+Fri_closed);\r\n\t\t\t String Sat_open = (String) rs.getString(52);\r\n\t\t\t String Sat_closed = (String) rs.getString(74);\r\n\t\t\t if(Sat_open==null) ob.put(\"Sat\", closed);\r\n\t\t\t else ob.put(\"Sat\", Sat_open+\" \"+Sat_closed);\r\n\t\t\t String Sun_open = (String) rs.getString(77);\r\n\t\t\t String Sun_closed = (String) rs.getString(82);\r\n\t\t\t if(Sun_open==null) ob.put(\"Sun\", closed);\r\n\t\t\t else ob.put(\"Sun\", Sun_open+\" \"+Sun_closed);\r\n\t\t\t String veg = (String) rs.getString(87);\r\n\t\t\t if(veg==null) ob.put(\"Vegetarian\", \"NO\");\r\n\t\t\t else ob.put(\"Vegetarain\", \"YES\");\r\n\t\t\t String wifi = (String) rs.getString(52);\r\n\t\t\t if(wifi==null) ob.put(\"wifi\", \"NO\");\r\n\t\t\t else ob.put(\"wifi\", \"YES\");\r\n\t\t\t String Reservations = (String) rs.getString(51);\r\n\t\t\t if(Reservations==null) ob.put(\"Reservations\", \"NO\");\r\n\t\t\t else ob.put(\"Reservations\", \"YES\");\r\n\t\t\t String Parking = (String) rs.getString(43);\r\n\t\t\t if(Parking==null) ob.put(\"Parking\", \"NO\");\r\n\t\t\t else ob.put(\"Parking\", \"YES\");\r\n\t\t\t String groups = (String) rs.getString(93);\r\n\t\t\t if(groups==null) ob.put(\"groups\", \"NO\");\r\n\t\t\t else ob.put(\"groups\", \"YES\");\r\n\t\t\t}\r\n\t\t\trequest.setAttribute(\"ob\", ob);\r\n\t }\r\n\t\tcatch(Exception ex) { System.out.println(\"error\");}\r\n\t\t\r\n\t\r\n\treturn \"successInfo\";\r\n\t}",
"public static JSONObject buildNewGameJSON(String username){\n\t\tJSONObject gameObject = new JSONObject();\n\n\t\ttry {\n\t\t\tgameObject.put(Constants.GameFirstUserKey, username);\n\t\t\tgameObject.put(Constants.GameSecondUserKey, \"\");\n\t\t\tgameObject.put(Constants.GameStateKey, Constants.GameStateIdle);\t\t\t\t\t\n\t\t\tgameObject.put(Constants.GameBoardKey, Constants.GameEmptyBoard);\t\t\t\n\t\t\tgameObject.put(Constants.GameWinnerKey, \"\");\n\t\t\tgameObject.put(Constants.GameNextMoveKey, username);\n\t\t} catch (JSONException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn gameObject;\t\t\n\t}",
"@PostMapping(\"/createNewGameRoom\")\n @ResponseStatus(HttpStatus.CREATED)\n public Game generateNewGameRoom() {\n String entrycode = service.generateEntryCode();\n currentGame.setEntrycode(entrycode);\n currentGame = gameDao.add(currentGame);\n return currentGame;\n }",
"private void showDashBoard(){\n JSONObject jsonObject = null;\n String bookingCount = null;\n String st_totPerRoomNight = null;\n String st_totAccCharges = null;\n String st_ssFees = null;\n String st_expIncurred = null;\n String st_careIncentive = null;\n String st_grossMargin = null;\n String st_impCosts = null;\n String st_capHost = null;\n String st_returnCapInvest = null;\n String st_monRemHomeOwner = null;\n String st_moneyOwedTo = null;\n String st_owedMoney = null;\n String st_travelCreditEx = null;\n String st_travelCreditUt = null;\n String st_travelCreditUn = null;\n String st_totalTravelCredits = null;\n try {\n jsonObject = new JSONObject(JSON_STRING);\n JSONArray result = jsonObject.getJSONArray(Config.TAG_JSON_ARRAY);\n\n for(int i = 0; i<result.length(); i++){\n JSONObject jo = result.getJSONObject(i);\n bookingCount = jo.getString(Config.TAG_BOOKING_COUNT);\n st_totPerRoomNight = jo.getString(Config.TAG_TOTAL_PER_ROOM_NIGHT);\n st_totAccCharges = jo.getString(Config.TAG_TOTAL_ACCOMMODATION_CHARGES);\n st_ssFees = jo.getString(Config.TAG_SAFFRONSTAYS_FEES);\n st_expIncurred = jo.getString(Config.TAG_EXPENSES_INCURRED);\n st_careIncentive= jo.getString(Config.TAG_CARE_INCENTIVE);\n st_grossMargin = jo.getString(Config.TAG_GROSS_MARGIN);\n st_impCosts = jo.getString(Config.TAG_IMPROVEMENTS_COST);\n st_capHost = jo.getString(Config.TAG_CAPEX_HOST);\n st_returnCapInvest = jo.getString(Config.TAG_RETURN_CAP_INVEST);\n st_monRemHomeOwner = jo.getString(Config.TAG_MON_REM_TO_HOME_OWNER);\n st_moneyOwedTo = jo.getString(Config.TAG_MON_OWED_TO);\n st_owedMoney = jo.getString(Config.TAG_OWED_MONEY);\n st_travelCreditEx = jo.getString(Config.TAG_TRAVEL_CREDIT_EX);\n st_travelCreditUt = jo.getString(Config.TAG_TRAVEL_CREDIT_UT);\n st_travelCreditUn = jo.getString(Config.TAG_TRAVEL_CREDIT_UN);\n st_totalTravelCredits = jo.getString(Config.TAG_TOTAL_TRAVEL_CREDITS);\n\n };\n\n } catch (JSONException e) {\n e.printStackTrace();\n } //end of catch\n\n if(shareScheme.equals(\"PROFIT\"))\n {\n confBook.setText(bookingCount);\n totPerRoomNight.setText(st_totPerRoomNight);\n totAccCharges.setText(st_totAccCharges);\n expInc.setText(st_expIncurred);\n careIncentive.setText(st_careIncentive);\n grossMar.setText(st_grossMargin);\n improvements.setText(st_impCosts);\n capHost.setText(st_capHost);\n returnCapInvest.setText(st_returnCapInvest);\n monRemitted.setText(st_monRemHomeOwner);\n textViewMonOwedToSS_Ho.setText(st_moneyOwedTo);\n monOwedToSS_Ho.setText(st_owedMoney);\n travelCreditUt.setText(st_travelCreditUt);\n travelCreditUn.setText(st_travelCreditUn);\n travelCreditEx.setText(st_travelCreditEx);\n totalTravelCredits.setText(st_totalTravelCredits);\n }\n else{\n confBook.setText(bookingCount);\n totPerRoomNight.setText(st_totPerRoomNight);\n totAccCharges.setText(st_totAccCharges);\n totSaffronFees.setText(st_ssFees);\n expInc.setText(st_expIncurred);\n careIncentive.setText(st_careIncentive);\n grossMar.setText(st_grossMargin);\n improvements.setText(st_impCosts);\n capHost.setText(st_capHost);\n returnCapInvest.setText(st_returnCapInvest);\n monRemitted.setText(st_monRemHomeOwner);\n textViewMonOwedToSS_Ho.setText(st_moneyOwedTo);\n monOwedToSS_Ho.setText(st_owedMoney);\n travelCreditUt.setText(st_travelCreditUt);\n travelCreditUn.setText(st_travelCreditUn);\n travelCreditEx.setText(st_travelCreditEx);\n totalTravelCredits.setText(st_totalTravelCredits);\n }\n\n\n }",
"public void makeBooking (Object booking);",
"public final JSONObject mo97966S() {\n if (this.f33526d_ instanceof VideoRecordNewActivity) {\n return ((VideoRecordNewActivity) this.f33526d_).mo101854n();\n }\n return new JSONObject();\n }",
"public JSONResponse set(HashMap<String, String> parameters) {\n\t\tString pos = parameters.get(\"pos\"); \t\t\t\t\t\t// the point of sale code.\n\t\tString reservationid = parameters.get(\"reservationid\");\t\t// the ID of the reservation.\n\t\tString arrivaltime = parameters.get(\"arrivaltime\"); \t\t// the email address of the payer.\n\t\tString departuretime = parameters.get(\"departuretime\"); \t// the departure time.\n\t\tString emailaddress = parameters.get(\"emailaddress\"); \t\t// the guest's emailaddress.\n\t\tString servicefrom = parameters.get(\"servicefrom\");\t\t\t// the preferred service time.\n\t\tString mobilephone = parameters.get(\"mobilephone\");\t\t\t// the guest's mobile phone number.\n\t\tString notes = parameters.get(\"notes\"); \t\t\t\t\t// the reservation notes.\n\t\tString termsaccepted = parameters.get(\"termsaccepted\");\t\t// reservation terms accepted\n\n\t\tif (pos == null || pos.isEmpty() || Model.decrypt(pos).length() > 10) {throw new ServiceException(Error.pos_invalid, pos);}\n\t\tif (reservationid == null || reservationid.isEmpty() || reservationid.length() > 10) {throw new ServiceException(Error.reservation_id, reservationid);}\n//\t\tif (emailaddress == null || emailaddress.isEmpty() || !Party.isEmailAddress(emailaddress)) {throw new ServiceException(Error.party_emailaddress, emailaddress);}\n\n\t\tSqlSession sqlSession = RazorServer.openSession();\n\t\tPayWidgetItem result = new PayWidgetItem();\n\t\ttry {\n\t\t\tParty agent = JSONService.getParty(sqlSession, pos);\n\t\t\tReservation reservation = sqlSession.getMapper(ReservationMapper.class).read(reservationid);\n//\t\t\tParty customer = sqlSession.getMapper(PartyMapper.class).read(reservation.getCustomerid());\n\t\t\treservation.setArrivaltime(arrivaltime);\n\t\t\treservation.setDeparturetime(departuretime);\n\t\t\treservation.setServicefrom(servicefrom);\n\t\t\treservation.setTermsaccepted(termsaccepted == null ? null : Boolean.valueOf(termsaccepted));\n\t\t\treservation.setNotes(notes);\n\t\t\tsqlSession.getMapper(ReservationMapper.class).update(reservation);\n\t\t\tMonitorService.update(sqlSession, Data.Origin.JQUERY, NameId.Type.Reservation, reservation);\n\t\t\tsqlSession.commit();\n\t\t}\n\t\tcatch (Throwable x) {\n\t\t\tsqlSession.rollback();\n\t\t\tresult.setId(null);\n\t\t\tresult.setName(null);\n\t\t\tresult.setState(RazorWidget.State.FAILURE.name());\n\t\t\tresult.setCurrency(Currency.Code.USD.name());\n\t\t\tresult.setMessage(x.getMessage());\n\t\t}\n\t\tfinally {sqlSession.close();}\n\t\treturn result;\n\t}",
"@Override\n public void onResponse(String response) {\n arrayList1.clear();\n JSONArray array = null;\n try {\n array = new JSONArray(response);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n //traversing through all the object\n for (int i = 0; i < array.length(); i++) {\n\n\n try {\n aaaaaaaaaa =array.getJSONObject(i);\n // String ss = aaaaaaaaaa.getString();\n\n JSONObject jsonObject = new JSONObject(String.valueOf(aaaaaaaaaa));\n\n shift1 c = new shift1(aaaaaaaaaa.getString(\"date\"),aaaaaaaaaa.getLong(\"perso1\"),aaaaaaaaaa.getLong(\"perso2\"),\n aaaaaaaaaa.getLong(\"perso3\"),\n aaaaaaaaaa.getLong(\"perso4\"),aaaaaaaaaa.getLong(\"perso5\"),aaaaaaaaaa.getLong(\"perso6\"),aaaaaaaaaa.getLong(\"perso7\"),\n\n aaaaaaaaaa.getLong(\"perso8\"));\n\n arrayList1.add(c);\n\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n\n }\n for (int i = 0; i <arrayList1.size() ; i++) {\n\n for (int j = 0; j < staffArrayList.size(); j++) {\n if (arrayList1.get(i).getPerso1() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList1.get(i).getPerso2() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList1.get(i).getPerso3() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList1.get(i).getPerso4() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList1.get(i).getPerso5() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList1.get(i).getPerso6() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList1.get(i).getPerso7() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n else if (arrayList1.get(i).getPerso8() ==staffArrayList.get(j).getId())\n finalliststaff.add(staffArrayList.get(j));\n }\n\n\n }\n\n }",
"@Override\n public Reservation createReservation(String reservationID, Reservation newReservation) {\n Reservation reservation = new Reservation(getHostName(), getHostAddress(), getUID(), generateNextNumber());\n\n //Plan: Add new reservation into the list, then update it on firebase\n reservationList.add(reservation);\n\n //Get reference to reservation\n DatabaseReference userSpaceRef = FirebaseDatabase.getInstance().getReference().child(\"Host/\" + UID);\n return null;\n }",
"public void bookRoom(int hotelId, String roomNumber, int people){\n\n\n\n }",
"private void getBikeModel(final Booking booking, final View view, final ArrayList<Booking> trackingDaos, final Context context) {\n\n try {\n final String vehicleId = booking.getVehicleId().trim();\n //query to get information of the registered bike\n db.collection(\"my_vehicle\").document(booking.getVehicleId())\n .get().addOnSuccessListener(new OnSuccessListener<DocumentSnapshot>() {\n @Override\n public void onSuccess(DocumentSnapshot documentSnapshot) {\n Vehicle vehicle = documentSnapshot.toObject(Vehicle.class);\n String mVehicleId = documentSnapshot.getId();\n\n if (mVehicleId.equals(vehicleId)) {\n booking.setModel(vehicle.getManufacturer() + \" \" + vehicle.getModel());\n }\n //variable initilizations to pass into booking constructor\n long bookId = booking.getBookingID();\n String sType = booking.getServiceType();\n String makeNModel = booking.getModel();\n String status = booking.getStatus();\n String message = booking.getMessage();\n Date dateOfService = booking.getDateOfService();\n String workshopId = booking.getWorkshopId();\n String category = booking.getRepairCategory();\n String description = booking.getRepairDescription();\n String messageSeen = booking.getMessageSeen();\n String viewColor = null;\n\n if (status.equals(\"accepted\") || status.equals(\"progress\")) {\n viewColor = String.valueOf(context.getResources().getColor(R.color.green));\n }\n if (status.equals(\"completed\")) {\n viewColor = String.valueOf(context.getResources().getColor(R.color.red));\n }\n //adding all the variables\n trackingDaos.add(new Booking(bookId, sType, viewColor, makeNModel, message\n , status, messageSeen, category, description, workshopId, dateOfService, \"\"));\n\n //Tracking adapter initilizations, setup and passing values to the adapter\n recyclerView = view.findViewById(R.id.tracking_recycler_view);\n recyclerView.setHasFixedSize(true);\n layoutManager = new LinearLayoutManager(getActivity());\n trackingAdapter = new TrackingAdapter(trackingDaos);\n\n progressBar.setVisibility(View.GONE);\n recyclerView.setLayoutManager(layoutManager);\n recyclerView.setAdapter(trackingAdapter);\n //tracking recylcer view on item click listener\n trackingAdapter.setOnItemClickListener(new TrackingAdapter.OnItemClickListener() {\n @Override\n public void onItemClick(int position) {\n\n Booking data = trackingDaos.get(position);\n //values passed into the bundler object to pass data to next ativity\n Bundle bundle = new Bundle();\n bundle.putLong(\"bookingID\", data.getBookingID());\n bundle.putString(\"bookingStatus\", data.getStatus());\n bundle.putString(\"serviceType\", data.getServiceType());\n bundle.putString(\"serviceDate\", String.valueOf(data.getDateOfService()));\n bundle.putString(\"model\", data.getModel());\n bundle.putString(\"workshopID\", data.getWorkshopId());\n bundle.putString(\"repairCat\", data.getRepairCategory());\n bundle.putString(\"repairDesc\", data.getRepairDescription());\n bundle.putString(\"message\", data.getMessage());\n\n //display tracking summary\n TrackingViewDetails trackingViewDetails = new TrackingViewDetails();\n trackingViewDetails.setArguments(bundle);\n trackingViewDetails.show(getActivity().getSupportFragmentManager(), \"View Details\");\n\n }\n });\n\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n //log error\n Log.d(TAG, e.toString());\n }\n });\n }catch (Exception e){\n e.printStackTrace();\n Log.d(TAG, e.toString());\n }\n }",
"public static Map<String,Wonder> parseWonders(JsonArray wonderList){\n Map<String, Wonder> wonders = new HashMap<String, Wonder>();\n for(JsonElement element: wonderList){\n Wonder newWonder = new Wonder(element.getAsJsonObject());\n wonders.put(newWonder.getName(),newWonder);\n }\n return wonders;\n }",
"public void onAddSighting(View view) {\n HashMap<String, String> dataMap = new HashMap<>();\n\n String addressEdit = ((EditText) findViewById(R.id.address)).getText().toString();\n String locationEdit = ((EditText) findViewById(R.id.location)).getText().toString();\n String zipEdit = ((EditText) findViewById(R.id.zip)).getText().toString();\n String cityEdit = ((EditText) findViewById(R.id.city)).getText().toString();\n String boroughEdit = ((EditText) findViewById(R.id.borough)).getText().toString();\n String latitudeEdit = ((EditText) findViewById(R.id.latitude)).getText().toString();\n String longitudeEdit = ((EditText) findViewById(R.id.longitude)).getText().toString();\n\n Date date = new Date();\n SimpleDateFormat f = new SimpleDateFormat(\"MM/dd/yyyy hh:mm:ss a\");\n String dateTime = f.format(date);\n\n dataMap.put(\"date\", dateTime);\n dataMap.put(\"location\", locationEdit);\n dataMap.put(\"zip\", zipEdit);\n dataMap.put(\"address\", addressEdit);\n dataMap.put(\"city\", cityEdit);\n dataMap.put(\"borough\", boroughEdit);\n dataMap.put(\"latitude\", latitudeEdit);\n dataMap.put(\"longitude\", longitudeEdit);\n\n RatData sighting = new RatData(dataMap);\n\n DataHandler.addData(sighting, new ResponseHandler() {\n @Override\n public void handle(NetworkUtils.Response response) {\n if (response.getAccept()) {\n finish();\n }\n }\n });\n }",
"private String fakeBooking(int userid, int requestid) {\n long issuance = System.currentTimeMillis();\n String time = getVaryingDate();\n\n String booking = \"{\\n \\\"userid\\\": \" + userid + \",\\n\\\"requestid\\\": \" + requestid +\n \",\\n\\\"dentistid\\\": \" + DENTIST_ID + \",\\n\\\"issuance\\\": \" + issuance +\n \",\\n\\\"time\\\": \\\"\" + time + \"\\\" \\n}\";\n\n System.out.println(booking);\n return booking;\n }",
"public AssertableResponse createBooking(BookingDataPayload bookingDataPayload) {\n JsonObject bookingData = new JsonObject();\n JsonObject requestObject = new JsonObject();\n\n bookingData.put(bookingDataPayload.bookingDatePayload.CHECK_IN, bookingDataPayload.bookingDatePayload.chekIn);\n bookingData.put(bookingDataPayload.bookingDatePayload.CHECK_OUT, bookingDataPayload.bookingDatePayload.chekOut);\n\n requestObject.put(bookingDataPayload.FIRST_NAME, bookingDataPayload.firstname);\n requestObject.put(bookingDataPayload.LAST_NAME, bookingDataPayload.lastname);\n requestObject.put(bookingDataPayload.TOTAL_PRICE, bookingDataPayload.totalPrice);\n requestObject.put(bookingDataPayload.DEPOSIT_PAID, bookingDataPayload.depositPaid);\n requestObject.put(bookingDataPayload.ADDITIONAL_NEEDS, bookingDataPayload.additionalNeeds);\n requestObject.put(bookingDataPayload.BOOKING_DATES, bookingData);\n\n return new AssertableResponse( setUp()\n .log().all()\n .request()\n .header(\"Content-Type\", \"application/json\")\n .body(requestObject.toJson())\n .when()\n .post(System.getProperty(\"baseApiUri\") + BOOKING)\n .then().log().all().extract().response());\n }",
"private Object generateDeleteAlertsDataJSON(XSSFWorkbook workbook, String sheetName, String scenarioID,ExcelOperation excelOperation) {\n\t\tJSONObject deleteAlertsRequestJsonObject=new JSONObject();\n\t\tList<LinkedHashMap<String, String>>jsonMap=excelOperation.getScenarioData(workbook, sheetName, scenarioID);\n\t\tfor(LinkedHashMap<String, String> json:jsonMap) {\n\t\t\tdeleteAlertsRequestJsonObject.put(\"ID\", json.get(\"ID\"));\n\t\t}\n\t\treturn deleteAlertsRequestJsonObject;\n\t}",
"public Booking saveBooking(Booking booking);",
"public void registerNewBooking(Booking b) {\n if (!newBooking.contains(b)\n && !modifiedBooking.contains(b)) {\n newBooking.add(b);\n }\n }",
"@Operation(\n summary = \"Save a new reservation\"\n )\n @ApiResponses(\n @ApiResponse(\n responseCode = \"200\",\n description = \"Successful Response\",\n content = @Content(schema = @Schema(implementation = Reservation.class))\n )\n )\n @PostMapping(\n path = \"/new-reservation\",\n consumes = APPLICATION_JSON_VALUE\n )\n public ResponseEntity<String> newReservation(\n @RequestBody Reservation reservation) {\n reservationsRepository.save(reservation);\n return new ResponseEntity<>(\"Info saved correctly\", HttpStatus.OK);\n }",
"public void addBookings(String name, ArrayList<Integer> roomToUse, int month, int date, int stay) {\n\t\t\t\r\n\t\t\tBooking newCust = new Booking();\r\n\t\t\tint i = 0;\r\n\t\t\tint k = 0;\r\n\t\t\tint roomCap = 0; //Roomtype / capacity\r\n\t\t\tint roomNum; //Room Number\r\n\t\t\tRooms buffer; //used to store the rooms to add to the bookings\r\n\t\t\t\r\n\t\t\twhile(i < roomToUse.size()) { //add all rooms from the available list\r\n\t\t\t\troomNum = roomToUse.get(i); //get Room number of the avalable, non-clashing room to be booked\r\n\t\t\t\twhile(k < RoomDetails.size()) { //Looping through all rooms in a hotel\r\n\t\t\t\t\tbuffer = RoomDetails.get(k); \r\n\t\t\t\t\tif (buffer.getRoomNum() == roomNum) { //To get the capacity of the matching room\r\n\t\t\t\t\t\troomCap = buffer.getCapacity();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tk++;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tnewCust.addRoom(roomNum, roomCap); //Add those rooms to the bookings with room number and type filled in\r\n\t\t\t\ti++;\r\n\t\t\t\tk=0;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tnewCust.addName(name); //add customer name to booking\r\n\t\t\tnewCust.addDates(month, date, stay); //add dates to the booking\r\n\t\t\t\r\n\t\t\tBookings.add(newCust); //adds the new booking into the hotel bookings list\r\n\t\t}",
"public Event createBooking(RequestContext context) {\n\tHotel hotel = (Hotel) context.getFlowScope().get(\"hotel\");\n\tUser user = (User) context.getConversationScope().get(\"user\");\n\tBooking booking = new Booking(hotel, user);\n\tEntityManager em = (EntityManager) context.getFlowScope().get(\"entityManager\");\n\tem.persist(booking);\n\tcontext.getFlowScope().put(\"booking\", booking);\n\treturn success();\n }",
"public static void AddBooking(Booking booking){\n \n \n try (Connection connection = DbConnector.connectToDb();\n Statement statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);\n ResultSet resultSet = statement.executeQuery(\"SELECT * FROM booking\")){\n \n resultSet.moveToInsertRow();\n resultSet.updateInt(\"BookingNumber\", booking.getBookingNumber());\n resultSet.updateString(\"FlightNumber\", booking.getFlightNumber());\n resultSet.updateDouble(\"Price\", booking.getPrice());\n resultSet.updateString(\"CabinClass\", booking.getCabinClass());\n resultSet.updateInt(\"Quantity\", booking.getQuantity());\n resultSet.updateInt(\"Insurance\", booking.getInsurance());\n resultSet.insertRow();\n \n \n }\n catch(SQLException sqle){\n System.out.println(sqle.toString());\n } \n \n \n \n \n }",
"static void presentBookingHistory(User booker) {\r\n\t\tBooking bookings = new Booking();\r\n\t\tResultSet historyRs = null;\r\n\r\n\t\tSystem.out.printf(\"*%14s%10s%18s%28s%28s%15s%11s\\n\", \"Booking No\", \"Lot No\", \"Car No\", \"Start Time\", \"End Time\", \"Cost\", \"*\");\r\n\t\tSystem.out.println(\"*****************************************************************************************************************************\");\r\n\t\ttry {\r\n\t\t\tDbConnection historyConn = new DbConnection();\r\n\t\t\thistoryRs = historyConn.fetchSelectUserByUNameBookings(booker.getUName());\r\n\t\t\twhile (historyRs.next()) {\r\n\t\t\t\tjava.sql.Timestamp endTime = historyRs.getTimestamp(6);\r\n\t\t\t\t/**\r\n\t\t\t\t*\tTo show only the ones which are not checked out yet\r\n\t\t\t\t*\tIf a record with end time as 0 is found, it will be considered as not booked and shown\r\n\t\t\t\t*/\r\n\t\t\t\tif (endTime.getTime() != 0) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tString bookingNo = historyRs.getString(1);\r\n\t\t\t\tint lotNo = historyRs.getInt(3);\r\n\t\t\t\tString carNo = historyRs.getString(4);\r\n\t\t\t\tjava.sql.Timestamp startTime = historyRs.getTimestamp(5);\r\n\t\t\t\tint cost = historyRs.getInt(7);\r\n\t\t\t\tbookings.setAllValues(bookingNo, lotNo, carNo, startTime, endTime, cost);\r\n\r\n\t\t\t\tbookings.showBookHistory();\r\n\t\t\t}\r\n\t\t} catch(SQLException SqlExcep) {\r\n\t\t\tSystem.out.println(\"No records with the given booking number found\");\r\n\t\t\t//SqlExcep.printStackTrace();\r\n\t\t} catch (ClassNotFoundException cnfExecp) {\r\n\t\t\tcnfExecp.printStackTrace();\r\n\t\t} catch (NullPointerException npExcep) {\r\n\t\t\tnpExcep.printStackTrace();\r\n\t\t} finally {\r\n\t\t\t/*try {\r\n\t\t\t\t//validateConn.closeDbConnection();\r\n\t\t\t} catch(SQLException SqlExcep) {\r\n\t\t\t\tSqlExcep.printStackTrace();\r\n\t\t\t}*/\r\n\t\t}\r\n\t}",
"PastReservation createPastReservation();",
"public String getBookingNo() {\r\n\t\treturn bookingNo;\r\n\t}",
"public JSONResponse offline(HashMap<String, String> parameters) {\n\t\tString pos = parameters.get(\"pos\"); \t\t\t\t\t// the point of sale code.\n\t\tString id = parameters.get(\"id\"); \t\t\t\t\t\t// the number of the reservation\n\t\tString quote = parameters.get(\"quote\"); \t\t\t\t// the quoted price of the reservation\n\t\tString cost = parameters.get(\"cost\"); \t\t\t\t\t// the STO cost of the reservation\n\t\tString deposit = parameters.get(\"deposit\"); \t\t\t// the deposit % to confirm the reservation\n\t\tString termsaccepted = parameters.get(\"termsaccepted\"); // true if the reservation is accepted\n\t\tString notes = parameters.get(\"notes\"); \t\t\t\t// the reservation notes\n\n\t\tif (id == null || id.isEmpty() || id.length() > 10) {throw new ServiceException(Error.reservation_id, id);}\n\n\t\tSqlSession sqlSession = RazorServer.openSession();\n\t\tReservationWidgetItem result = new ReservationWidgetItem();\n\t\ttry {\n\t\t\tParty organization = JSONService.getParty(sqlSession, pos);\n\t\t\tReservation reservation = new Reservation();\n\t\t\treservation.setOrganizationid(organization.getId());\n\t\t\treservation.setId(id);\n\t\t\treservation = sqlSession.getMapper(ReservationMapper.class).readbyorganization(reservation);\n\t\t\tif (reservation == null || !organization.hasId(reservation.getOrganizationid())) {throw new ServiceException(Error.reservation_bad, id);}\n\t\t\t//if (reservation == null) {throw new ServiceException(Error.reservation_id, id);}\n\t\t\treservation.setQuote(Double.valueOf(quote));\n\t\t\treservation.setCost(Double.valueOf(cost));\n\t\t\treservation.setDeposit(Double.valueOf(deposit));\n\t\t\treservation.setNotes(notes);\n\t\t\treservation.setState(Boolean.valueOf(termsaccepted) ? Reservation.State.Confirmed.name() : Reservation.State.Final.name());\n\t\t\tReservationService.offline(sqlSession, reservation, Boolean.valueOf(termsaccepted));\n\t\t\tresult.setOrganizationid(organization.getId());\n\t\t\tresult.setId(id);\n\t\t\tresult.setState(reservation.getState()); //TODO handle in offline.js\n\t\t}\n\t\tcatch (Throwable x) {result.setMessage(x.getMessage());}\n\t\treturn result;\n\t}",
"public boolean isNewborn(Object anObj) { return ListUtils.indexOfId(_newBorns, anObj)>=0; }",
"public void setBookingId(int value) {\n this.bookingId = value;\n }",
"public void setBookingId(int value) {\n this.bookingId = value;\n }",
"@RequestMapping(value = \"/new\", method = RequestMethod.GET)\n public Object newAuction() throws SQLException {\n String username = SecurityContextHolder.getContext().getAuthentication().getName();\n UserAuthentication userAuth = UserAuthentication.select(UserAuthentication.class, \"SELECT * FROM user_authentication WHERE username=#1#\", username);\n List<ResourceInfo> resourceInfos = Arrays.asList(gameContentRestTemplate.get(gamecontentURL + \"/resources\", ResourceInfo[].class).getBody());\n Map<Integer, String> resources = new HashMap<>();\n for(ResourceInfo resource : resourceInfos) {\n resources.put(resource.getId(), resource.getName());\n }\n List<Resource> playerResources = Arrays.asList(playerResourcesRestTemplate.get(playerResourcesURL + \"/\" + userAuth.getPlayerId() + \"/resources\", Resource[].class).getBody());\n ModelAndView modelAndView = new ModelAndView(\"player/auctionNew\");\n modelAndView.addObject(\"resources\", resources);\n modelAndView.addObject(\"playerResources\", playerResources);\n return modelAndView;\n }",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n JSONObject jsonObject = new JSONObject();\n try {\n jsonObject.put(\"meeting_id\", message.meetingId);\n jsonObject.put(\"user_id\", User.ID);\n jsonObject.put(\"meeting_status\", \"Accept\");\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n final String url = URLs.MEETING_STATUS_CHANGE;\n Map<String, String> params = new HashMap();\n params.put(\"json\", jsonObject.toString());\n\n JsonObjectFormRequest request = new JsonObjectFormRequest(Request.Method.POST, url, params, new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n try {\n if (!response.getString(\"result\").equals(\"success\")){\n Toast.makeText(context, context.getString(R.string.time_out), Toast.LENGTH_LONG);\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n\n }\n });\n MySingleton.getInstance(context).addToRequestQueue(request);\n\n }",
"public JSONResponse get(HashMap<String, String> parameters) {\n\t\tString pos = parameters.get(\"pos\"); \t\t\t// the point of sale code.\n\t\tString id = parameters.get(\"id\"); \t\t\t\t// the number of the reservation\n\n\t\tif (id == null || id.isEmpty() || id.length() > 10) {throw new ServiceException(Error.reservation_id, id);}\n\n\t\tSqlSession sqlSession = RazorServer.openSession();\n\t\tReservationWidgetItem result = new ReservationWidgetItem();\n\t\ttry {\n\t\t\tParty organization = JSONService.getParty(sqlSession, pos);\n\t\t\tParameter action = new Parameter();\n\t\t\taction.setOrganizationid(organization.getId());\n\t\t\taction.setId(id);\n\t\t\tresult = sqlSession.getMapper(ReservationMapper.class).readwidget(action);\n\t\t\tif (result == null) {throw new ServiceException(Error.reservation_id, id);}\n\t\t\tresult.setBalance(sqlSession.getMapper(EventMapper.class).balancebyreservation(result.getId()));\n\t\t}\n\t\tcatch (Throwable x) {result.setMessage(x.getMessage());}\n\t\treturn result;\n\t}",
"public static HashMap CreateDbObjByParams(String recipeName, String imageLocation, String usernameId, String imageToken, ArrayList<String> ingredientsArr, String instructions) throws JSONException {\n JsonObject json = new JsonObject();\n json.addProperty(\"imageLocation\", imageLocation);\n json.addProperty(\"imageToken\", imageToken);\n// JSONArray jsArray = new JSONArray(ingredientsArr);\n String arr = new Gson().toJson(ingredientsArr);\n json.addProperty(\"ingredients\", arr);\n json.addProperty(\"instructions\", instructions);\n json.addProperty(\"recipeName\", recipeName);\n json.addProperty(\"usernameId\", usernameId);\n JsonArray jsonArray = new JsonArray();\n jsonArray.add(json);\n\n\n HashMap<String, Object> js = new HashMap();\n js.put(\"imageLocation\", imageLocation);\n js.put(\"imageToken\", imageToken);\n js.put(\"ingredients\", ingredientsArr);\n js.put(\"instructions\", instructions);\n js.put(\"recipeName\", recipeName);\n js.put(\"usernameId\", usernameId);\n\n return js;\n }",
"public JSONObject ownGetView()\n {\n JSONObject jsonObject = new JSONObject();\n try\n {\n jsonObject.put(\"task\", currentTask.getTask());\n jsonObject.put(\"location\", currentTask.getLocation());\n jsonObject.put(\"starttime\", currentTask.getStartTime());\n currentTask.setStopStime(currentTask.getCurrentTime());\n jsonObject.put(\"stoptime\", currentTask.getStopStime());\n currentTask.recalculateTime();\n jsonObject.put(\"time\",currentTask.getTime());\n jsonObject.put(\"timeinseconds\",currentTask.getTimeInSeconds());\n jsonObject.put(\"gps\", currentTask.getGps());\n jsonObject.put(\"notes\", currentTask.getNotes());\n jsonObject.put(\"inmotion\", currentTask.isInMotion());\n jsonObject.put(\"edited\", currentTask.isEdited());\n }\n\n catch (JSONException e)\n {\n e.printStackTrace();\n }\n return jsonObject;\n }",
"public void insertTournamentMatchesToDB(String res) throws JSONException {\n Matches match = new Matches();\n System.out.println(\"calling from socketServer ...\");\n //convert res json Array\n JSONArray jsonArray = new JSONArray(res);\n //iterate JSONobj in the array inserting the to DB..\n for (int i = 0; i < jsonArray.length(); i++) {\n //System.out.println(\"from for loop the OBJECT\");\n JsonParser parser = new JsonParser();\n JsonElement json = parser.parse(jsonArray.get(i).toString());\n JsonObject object = json.getAsJsonObject();\n object.toString();\n match.setId(object.get(\"id\").getAsString());\n match.setType(object.get(\"type\").getAsString());\n match.setDiscipline(object.get(\"discipline\").getAsString());\n match.setStatus(object.get(\"status\").getAsString());\n match.setTournamentId(object.get(\"tournament_id\").getAsString());\n match.setNumber(object.get(\"number\").getAsInt());\n match.setStageNumber(object.get(\"stage_number\").getAsInt());\n match.setGroupNumber(object.get(\"group_number\").getAsInt());\n match.setRoundNumber(object.get(\"round_number\").getAsInt());\n\n match.setTimezone(\"FI\");\n\n match.setMatchFormat(\"knockout\");\n match.setOpponents(object.get(\"opponents\").toString());\n \n dbs.insert(match);\n }\n }",
"public ResponseEntity<Reservation> handleReservationFromWeb(ReservationInfo fromWeb) {\n Customer customer = customerService.customerExists(new Customer (fromWeb.getEmail(),fromWeb.getFullName()));\n //Find menu by name\n int menuId = menuService.findMenuByName(fromWeb.getMenuName()).getBody().getId();\n\n //Find event by name\n int eventId = eventRepo.findByEventName(fromWeb.getEventName()).getId();\n\n //Create the price\n double totalPrice = calculatePrice(fromWeb);\n\n //Create the reservation (messageId might be outdated as an attribute)\n Reservation toDb = new Reservation(0, fromWeb.getTotalPeople(), BigDecimal.valueOf(totalPrice),\n menuId, eventId, customer.getId(), null);\n\n\n /*\n\n use information from the fromWeb\n\n */\n //Check if Reservation message exists and send it\n\n //Don't actually send, just see if condition works\n messageService.sendMessageToEmail(new Message(fromWeb.sendToMail(), \"New Reservation\"));\n\n Reservation reservation = createReservation(toDb);\n int reservationId = reservationRepo.findAll().\n get(reservationRepo.findAll().size() - 1).\n getId();\n\n //Create the extras (No return type, results seen in the ManyToMany table)\n addExtrasToReservation(reservationId, fromWeb.getExtras());\n\n return new ResponseEntity<>(reservation, HttpStatus.CREATED);\n }",
"private Object generateDeleteAlertsEchoJSON(XSSFWorkbook workbook, String sheetName, String scenarioID,ExcelOperation excelOperation) {\n\t\tJSONObject deleteAlertsEchoJsonObject=new JSONObject();\n\t\tList<LinkedHashMap<String, String>>jsonMap=excelOperation.getScenarioData(workbook, sheetName, scenarioID);\n\t\tfor(LinkedHashMap<String, String> json:jsonMap) {\n\t\t\tdeleteAlertsEchoJsonObject.put(\"requestOwner\", json.get(\"requestOwner\"));\n\t\t}\n\t\treturn deleteAlertsEchoJsonObject;\n\t}",
"public void addHotel(int hotelId, List<Hotel_Room_Detail> hotelRoomDetailList){\n\n }",
"@Override\n public void actionPerformed(NetworkEvent evt) {\n JSONParser jsonp = new JSONParser();\n \n try {\n //renvoi une map avec clé = root et valeur le reste\n Map<String, Object> tasks = jsonp.parseJSON(new CharArrayReader(new String(con.getResponseData()).toCharArray()));\n System.out.println(\"rooot:\" +tasks.get(\"root\"));\n\n List<Map<String, Object>> list = (List<Map<String, Object>>) tasks.get(\"root\");\n \n \n\n\n for (Map<String, Object> obj : list) {\n \n \n Evenement event = new Evenement();\n \n int id = Integer.parseInt(obj.get(\"idEvt\").toString());\n int nbp = Integer.parseInt(obj.get(\"nb_place\").toString());\n int nbpp = Integer.parseInt(obj.get(\"nbParticipants\").toString());\n SimpleDateFormat format= new SimpleDateFormat(\"yyyy/MM/dd\");\n Date dateDb= format.parse(obj.get(\"dateDebut\").toString());\n System.out.println(dateDb);\n Date dateF= format.parse(obj.get(\"dateFin\").toString());\n System.out.println(dateF);\n \n event.setIdEvt(id);\n event.setCinUser(obj.get(\"cin\").toString());\n event.setLieu(obj.get(\"lieu\").toString());\n event.setDateDebut(dateDb);\n event.setDateFin(dateF);\n event.setType(obj.get(\"type\").toString());\n event.setTitre(obj.get(\"titre\").toString());\n event.setDescription(obj.get(\"description\").toString());\n event.setImageEvt(obj.get(\"image_evt\").toString());\n event.setNbPlace(nbp);\n event.setNbParticipants(nbpp);\n \n\n \n \n listTasks.add(event);\n\n }\n } catch (IOException ex) {\n } catch (ParseException ex) {\n System.out.println(ex.getMessage());\n \n }\n\n }",
"private void booking(){\n usersOrderReference = mFirebaseInstance.getReference(\"UsersOrder\");\n\n // get reference to 'order'\n orderReference = mFirebaseInstance.getReference(\"Order\");\n\n String idOrder = orderReference.push().getKey();\n String idBarbershop = Common.barbershopSelected;\n String status = \"Waiting for approval\";\n\n Order orderdata = new Order(idOrder, userId, atasnama, idBarbershop, barbershop, barberman,\n service, totalharga, jadwal, status, phoneBarbershop, phoneUser);\n\n orderReference.child(Common.barbershopSelected).child(idOrder).setValue(orderdata);\n usersOrderReference.child(userId).child(idOrder).setValue(orderdata);\n\n// sendNotificationOrder(userId);\n\n sendOrderStatusToUser(Common.barbershopSelected,orderdata);\n\n }",
"Reservation createReservation();",
"public JSONObject book_details(int book_id) throws JSONException {\n startSession();\n\n Query query = session.createQuery(\"from Book where id = :i\");\n query.setParameter(\"i\", book_id);\n\n Book book = (Book) query.uniqueResult();\n User owner = (User) book.getOwner();\n JSONObject book_info = new JSONObject(book.getBook_info());\n JSONObject response = new JSONObject();\n\n response.put(\"success\",\"true\");\n response.put(\"book\", book.getName());\n response.put(\"author\", book.getAuthor());\n response.put(\"rent\", book.getRent());\n response.put(\"deposit\", book.getDeposit());\n response.put(\"genre\", book.getGenre());\n response.put(\"times_rented\", book.getTimes_rented());\n response.put(\"available\",book.isAvailable());\n\n response.put(\"print\", book_info.getString(\"print\"));\n response.put(\"condition\", book_info.getString(\"condition\"));\n response.put(\"year_bought\", book_info.getString(\"year_bought\"));\n response.put(\"review\", book_info.getString(\"review\"));\n\n response.put(\"owner_id\", owner.getId());\n response.put(\"owner_name\", owner.getFull_name());\n response.put(\"owner_location\", owner.getLocation());\n response.put(\"owner_contact\", owner.getContact_no());\n\n endSession();\n return response;\n }",
"private static void parseBookObject(JSONObject book){\r\n BookManager.books.add(new Book(Integer.parseInt((String) book.get(\"id\")),(String) book.get(\"name\"),(String) book.get(\"author\")));\r\n }"
] |
[
"0.5036403",
"0.4978135",
"0.49378368",
"0.49249336",
"0.49165565",
"0.49140114",
"0.48658642",
"0.48066097",
"0.47919437",
"0.47898027",
"0.47722635",
"0.47722635",
"0.47664768",
"0.47652766",
"0.47581086",
"0.4751406",
"0.47398147",
"0.47365713",
"0.47326782",
"0.4715582",
"0.46935737",
"0.46911487",
"0.46903557",
"0.4665318",
"0.46538103",
"0.46535367",
"0.46527514",
"0.46502697",
"0.4641363",
"0.46257448",
"0.46236193",
"0.46083024",
"0.4604907",
"0.45898148",
"0.4557681",
"0.45572287",
"0.45498884",
"0.45380864",
"0.45263332",
"0.44997412",
"0.44996056",
"0.4498374",
"0.4494257",
"0.44881138",
"0.44765148",
"0.44703257",
"0.44668233",
"0.44620982",
"0.44520223",
"0.44456682",
"0.44413978",
"0.44309407",
"0.44296446",
"0.44193932",
"0.44145426",
"0.4397272",
"0.43949503",
"0.43916336",
"0.43833265",
"0.4383113",
"0.43800387",
"0.4372581",
"0.43657243",
"0.43633732",
"0.4362098",
"0.43593428",
"0.43511713",
"0.4349283",
"0.43449846",
"0.4344305",
"0.43389678",
"0.43382016",
"0.4337549",
"0.43357855",
"0.4330395",
"0.43264866",
"0.43237492",
"0.43220356",
"0.431974",
"0.43176267",
"0.4314384",
"0.43141767",
"0.43117502",
"0.43029696",
"0.42951232",
"0.42951232",
"0.42902997",
"0.42896506",
"0.42873278",
"0.42838916",
"0.42823172",
"0.42813894",
"0.4279143",
"0.42618358",
"0.42608672",
"0.4260276",
"0.42566046",
"0.42554292",
"0.4255214",
"0.42532402"
] |
0.46783787
|
23
|
/Libreria libro1=new Libreria(); Libreria libro2=new Libreria(); Libreria libro3=new Libreria(); libro1.engadirLibros(); libro2.engadirLibros(); libro3.engadirLibros();
|
public static void main(String[] args) {
Libreria objLibro=new Libreria();
int opcion;
do {
opcion=Integer.parseInt(JOptionPane.showInputDialog("Selecciona la opcion que quieras realizar:\n1=Añadir libro\n2=Borrar libro\n3=Amosar todos os libros\n4=Dar de baixa\n5=Consultar libro"));
switch(opcion){
case 1:objLibro.engadirLibros();
break;
case 2:objLibro.venderLibro();
break;
case 3:objLibro.amosarLibros();
break;
case 4:objLibro.darDeBaixa();
break;
case 5:objLibro.consultarLibro();
break;
case 6:System.exit(0);
}
}while(opcion<6||opcion>0);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Libreria() {\n\t\tnumLibs = 0;\n\t\tlb = new Libro[CAP_INICIAL];\n\t}",
"private static void mostrarLibros() {\n\n\t\tlibros\n\t\t.stream()\n\t\t.forEach(System.out::println);\n//\t\t\n//\t\tfor (Libro l :libros) {\n//\t\t\tSystem.out.println(l);\n//\t\t}\n\t}",
"public static void main(String[] args) {\n\t\tAlarmaLibro a = new AlarmaLibro();\n\t\ta.attach(new Compras());\n\t\ta.attach(new Administracion());\n\t\ta.attach(new Stock());\n\t\t\n\t\tLibro libro = new Libro();\n\t\tlibro.setEstado(\"MALO\");\n\t\t\n\t\tBiblioteca b = new Biblioteca();\n\t\tb.devolverLibro(libro);\n\t\t\n\t}",
"public static void main(String[] args) {\n\tLibro l1=new Libro();\r\n\tl1.InfLibro(\"Gary\", 25, \"terror\");\r\n\r\n\t}",
"public interface DAOLibro {\n\t\n\t/**\n\t * Este metodo permite agregar un libro a la libreria\n\t * \n\t * @param libro el libro a agregar\n\t * @return true si se creo exitosamente, false sino\n\t */\n\tpublic boolean crea(Libro libro);\n\t\n\t/**\n\t * Este metodo busca un libro a partir de su nombre\n\t * \n\t * @param nombre el nombre del libro a buscar\n\t * @return una referencia al libro o null si no se encontro\n\t */\n\tpublic Libro recupera(String nombre);\n\t\n\t/**\n\t * Actualiza libro\n\t * \n\t * @param libro\n\t * @return true si se actualizo correctamente, false si no\n\t */\n\tpublic boolean actualiza(Libro libro);\n\n\t/**\n\t * Retira un libro de la libreria\n\t * \n\t * @param libro el libro a retirar\n\t * @return true si se retiro exitosamente, false sino\n\t */\n\tpublic boolean borra(Libro libro);\n\t\n\t/**\n\t * Regresa la lista de todos los libros\n\t * \n\t * @return un ArrayList con todos los libros de la libreria\n\t */\n\tpublic ArrayList<Libro> recuperaTodos();\n\n\n}",
"public void inicializarCasillasLibres() {\r\n\t\tfor(int i = 0; i<casillas.length; i++) {\r\n\t\t\tfor(int j = 0; j<casillas[0].length;j++) {\r\n\t\t\t\tif(casillas[i][j] == null) {\r\n\t\t\t\t\tcasillas[i][j] = new Casilla(Casilla.LIBRE);\r\n\t\t\t\t\tcasillas[i][j].modificarValor(cantidadMinasAlrededor(i+1, j+1));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\t\t\r\n\t}",
"public static void main(String[] args) {\n persegi_panjang pp = new persegi_panjang();\r\n pp.lebar=30;\r\n pp.panjang=50;\r\n Segitiga s = new Segitiga();\r\n s.alas=20;\r\n s.tinggi=40;\r\n Persegi p = new Persegi();\r\n p.sisi=40;\r\n lingkaran l= new lingkaran();\r\n l.jari=20;\r\n \r\npp.luas();\r\npp.keliling();\r\np.luas();\r\np.keliling();\r\ns.luas();\r\ns.keliling();\r\nl.luas();\r\nl.keliling();\r\n}",
"public void devolucionLibro(libro lib1)\n {\n System.out.println(\"Bienvenido al sistema de devolucion! \");\n System.out.println(\"El libro que desea devolver es: \");\n System.out.println(lib1);\n System.out.println(\"Realizaremos la devolucion\");\n lib1.setDispoLibro(true);\n System.out.println(\"Transaccion realizada!! \");\n }",
"public void init (){\n for (int i = 0; i < tvalores.length; i++) {\n tvalores[i] = Almacen1.LIBRE;\n }\n valoresAlmacenados = 0;\n }",
"public Libro() {\r\n }",
"private void mostrarLibros() {\n dlmLibros.clear();\n for (Libro libro : modelo.getLibros()) {\n dlmLibros.addElement(libro);\n }\n seleccionarLibrosOriginales();\n }",
"public Libreria(String nombre)\n {\n libros = new ArrayList<>();\n this.nombre = nombre;\n\n }",
"public void cargarUltimasSeisLibrerias(ArrayList<Libreria> librerias){\n\t\tArrayList <Libreria> libs = Utilitats.getLibrerias();\n\t\tint contador = 0;\n\t\tint i = libs.size()-1;\n\t\tBoolean verdadero = false;\n\t\tif(libs ==null){\n\t\t\tdo{\n\t\t\t\tlibrerias.add(new Libreria());\n\t\t\t\tcontador++;\n\t\t\t} while(contador!=6);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tdo\n\t\t\t{\n\t\t\t\tLibreria ll= libs.get(i);\n\t\t\t\tlibrerias.add(ll);\n\t\t\t\ti--;\n\t\t\t\tcontador++;\n\t\t\t} while (contador != 6 && i!=-1);\n\t\t\tif(contador!=6){\n\t\t\t\tdo{\n\t\t\t\t\tlibrerias.add(new Libreria());\n\t\t\t\t\tcontador++;\n\t\t\t\t} while(contador!=6);\n\t\t\t}\n\t\t}\n\t}",
"public static void load()\n {\n\n try {\n System.loadLibrary(\"gnustl_shared\");\n System.loadLibrary(\"log\");\n System.loadLibrary(composeLibName(\"PocoFoundation\"));\n System.loadLibrary(composeLibName(\"PocoXML\"));\n System.loadLibrary(composeLibName(\"PocoJSON\"));\n System.loadLibrary(composeLibName(\"PocoUtil\"));\n System.loadLibrary(composeLibName(\"PocoData\"));\n System.loadLibrary(composeLibName(\"PocoDataSQLite\"));\n System.loadLibrary(\"HRFusion\");\n }\n catch(Error e)\n {\n Log.e(LOG_TAG, e.getMessage());\n throw e;\n }\n }",
"public static void main(String[] args) {\n\t// write your code here\n\n\n Library library = new Library();\n //new students array for this library\n ArrayList<Student> studentsInLibrary = new ArrayList<>();\n ArrayList<Book> booksInLibrary = new ArrayList<>();\n ArrayList<Tablet> tabletsInLibrary = new ArrayList<>();\n\n //set the created arraylist to library registered students and fill it\n library.setRegisteredStudents(fillStudentsArray(studentsInLibrary));\n library.setBooksBank(fillBooksArray(booksInLibrary));\n library.setTabletsBank(fillTabletsArray(tabletsInLibrary));\n\n\n System.out.println(!false);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// //Debugging\n// for ( Student student1 : library.getRegisteredStudents() ) {\n//\n//\n// System.out.println(student1.toString());\n// }\n//\n//\n// for ( Book book : library.getBooksBank() ) {\n//\n//\n// System.out.println(book.toString());\n// }\n//\n// System.out.println(\"***********************************\");\n//\n// for ( Tablet tablet : library.getTabletsBank() ) {\n//\n//\n// System.out.println(tablet.toString());\n// }\n\n\n\n LibraryManager libraryManager =new LibraryManager();\n\n\n\n\n\n\n\n\n //pass the library to its manager\n libraryManager.setTheLibrary(library);\n\n }",
"public void prestamoLibro(libro lib1)\n {\n System.out.println(\"Bienvenido al sistema de prestamos\");\n System.out.println(\"El libro que desea prestar es: \");\n System.out.println(lib1);\n System.out.println(\"Realizaremos la transaccion!\");\n lib1.setDispoLibro(false);\n System.out.println(\"Transaccion realizada!! \");\n }",
"public static void main(String[] args) {\n Producto libro=new Libro(); // solo accede a los métodos de la interfaz producto\n libro.setPrecio(25.99);\n libro.setNombre(\"El principito\");\n libro.setColor(\"amarillo\");\n ((Libro)libro).setAutor(\"Jorge Ramirez\"); //castear para usar los otros métodos\n ((Libro)libro).setPaginas(345);\n ((Libro)libro).setIsbn(\"232314\");\n System.out.print(\"Precio: \"+libro.getPrecio()+\"\\nNombre: \"+ libro.getNombre()+\"\\nColor: \"+libro.getColor());\n System.out.print(\"\\nAutor: \"+((Libro) libro).getAutor()+\"\\nPáginas: \"+((Libro) libro).getPaginas()+\"\\nISBN: \"+((Libro) libro).getIsbn());\n System.out.print(\"\\nCódigo de barras: \"+libro.getCodigoBarras());\n }",
"public void mostrarLbros(ArrayList<Libro> libros) {\n\t\tIterator<Libro> i=libros.iterator();\r\n\t\t\r\n\t\twhile(i.hasNext()){\r\n\t\t\tmostrarLibro(i.next());\r\n\t\t}\r\n\t\t\r\n\t}",
"public static void init()\n\t{\n\t\t\n\t\tu.creerGalaxie(\"VoieLactee\", \"spirale\", 0);\n\t\tu.creerEtoile(\"Soleil\", 0, 'F', u.getGalaxie(\"VoieLactee\")); //1\n\t\tu.creerObjetFroid(\"Terre\", 150000 , 13000 , 365 , u.getObjet(1)); //2\n\n\t\tu.creerObjetFroid(\"Lune\", 200 , 5000 , 30 , u.getObjet(2)); //3\n\n\t\tu.creerObjetFroid(\"Mars\", 200000 , 11000 , 750 , u.getObjet(1)); //4\n\n\t\tu.creerObjetFroid(\"Phobos\", 150 , 500 , 40 , u.getObjet(4)); //5\n\n\t\tu.creerObjetFroid(\"Pluton\", 1200000 , 4000 , 900 , u.getObjet(1)); //6\n\n\t\tu.creerEtoile(\"Sirius\", 2, 'B', u.getGalaxie(\"VoieLactee\")); //7\n\n\t\tu.creerObjetFroid(\"BIG-1\", 1000 , 50000 , 333 , u.getObjet(7)); //8\n\n\t\tu.creerGalaxie(\"M31\", \"lenticulaire\", 900000);\n\t\tu.creerEtoile(\"XS67\", 8, 'F', u.getGalaxie(\"M31\")); //9\n\t\tu.creerObjetFroid(\"XP88\", 160000 , 40000 , 400 , u.getObjet(9)); //10\n\t}",
"public Libros() {\n initComponents();\n }",
"private void onOK() {\n addLibros();\n dispose();\n }",
"private void limpa() {\n\t\t// limpa Alfabeto\n\t\tsimbolos.limpar();\n\t\t// limpa conjunto de estados\n\t\testados.limpar();\n\t\t// limpa Funcao Programa\n\t\tfuncaoPrograma.limpar();\n\t\t// Limpa estados finais\n\t\testadosFinais.limpar();\n\t}",
"private SingletonLectorPropiedades() {\n\t}",
"public List<LibroVO> librosMasLeidos() {\n\t\tJDBCTemplate mysql = MysqlConnection.getConnection();\n\t\ttry {\n\t\t\tmysql.connect();\n\t\t\tLibroDAO OwlDAO = new LibroDAO();\n\t\t\tList<LibroVO> resultado = new ArrayList();\n\t\t\tresultado = OwlDAO.obtenerLibrosByVenta(mysql);\n\t\t\tif (resultado.isEmpty()) {\n\t\t\t\tmysql.disconnect();\n\t\t\t\treturn null;\n\n\t\t\t} else {\n\t\t\t\tmysql.disconnect();\n\t\t\t\treturn resultado;\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace(System.err);\n\t\t\treturn null;\n\t\t} finally {\n\t\t\tmysql.disconnect();\n\t\t}\n\t}",
"public Library (){\r\n\t\tthis.inverntory = new List();\r\n\t}",
"private static void inicializarComponentes() {\n\t\tgaraje = new Garaje();\r\n\t\tgarajeController=new GarajeController();\r\n\t\tgarajeController.iniciarPlazas();\r\n\t\t\r\n\t\tmenuInicio = new StringBuilder();\r\n\t\tmenuInicio.append(\"¡Bienvenido al garaje!\\n\");\r\n\t\tmenuInicio.append(\"****************************************\\n\");\r\n\t\tmenuInicio.append(\"9: Guardar Plazas\\n\");\r\n\t\tmenuInicio.append(\"0: Listar Plazas\\n\");\r\n\t\tmenuInicio.append(\"1: Listar Plazas Coche\\n\");\r\n\t\tmenuInicio.append(\"2: Listar Plazas Moto\\n\");\r\n\t\tmenuInicio.append(\"3: Reservar Plaza\\n\");\r\n\t\tmenuInicio.append(\"4: Listar Plazas Libres\\n\");\r\n\t\tmenuInicio.append(\"5: Listar Clientes\\n\");\r\n\t\tmenuInicio.append(\"6: Listar Vehículos\\n\");\r\n//\t\tmenuInicio.append(\"7:\\n\");\r\n//\t\tmenuInicio.append(\"8:\\n\");\r\n\t}",
"public BusquedaLibrosForManagedBean() {\r\n libros=new ArrayList<>();\r\n autores=new ArrayList<>();\r\n libro=new Libro(1, 500, \"Codigo limpio\", new Autor(\"Martin\", \"Robert\"));\r\n autores.add(libro.getAutor());\r\n libros.add(libro);\r\n libro=new Libro(2, 300, \"No me hagas pensar\", new Autor(\"Steve\", \"Krug\"));\r\n autores.add(libro.getAutor());\r\n libros.add(libro);\r\n libro=new Libro(3, 350, \"El libro negro del programador\", new Autor(\"Rafael\", \"Gomes\"));\r\n autores.add(libro.getAutor());\r\n libros.add(libro); \r\n libro=new Libro(4, 800, \"Romeo y Julieta\", new Autor(\"William\", \"Sheakespeare\"));\r\n autores.add(libro.getAutor());\r\n libros.add(libro); \r\n libro=new Libro(5, 700, \"Los hombres que no amaban a las mujeres\", new Autor(\"Larsson\", \"Stieg\"));\r\n autores.add(libro.getAutor());\r\n libros.add(libro);\r\n libro=new Libro();\r\n autor=new Autor();\r\n palabra = new String();\r\n dialogo = false;\r\n dialogo2 = false;\r\n }",
"public Lectura(String libro) {\n this.libro = libro;\n }",
"public static void main(String[] args) {\n Parabola par1=new Parabola(1,2,3);\r\n Parabola par2=new Parabola(2,4,5);\r\n par1.afisare();\r\n par2.afisare();\r\n Parabola.mijloc(par1, par2);\r\n\t}",
"Library(){\n library = new ArrayList<>();\n shoppingCart = new ArrayList<>();\n }",
"public static void main(String[] args) {\n\t\tBuscadorBase b= new BuscadorLibro(\"mouse\");\n\t\tBuscadorLibro bl= (BuscadorLibro) b;\n\t\t\n\t\t\n\t\t//Lo comparo con la clase que quiero asignarla en u futuro\n\t\tif (BuscadorPelicula.class.isAssignableFrom(b.getClass())) {\n\t\t\t\n\t\t\tBuscadorPelicula bp= (BuscadorPelicula)b;//No se puede convertir de LIbro a pelicula\n\n\t\t}\n\t\t\n\t\t\n\t}",
"public static void main(String[] args) {\n\n\t\t\n\t\tProces p1= new Proces(20, 0, 10);\n\t\tProces p2= new Proces(10, 1, 10);\n\t\tProces p3= new Proces(30, 6, 10);\n\t\tProces p4= new Proces(9, 7, 10);\n\t\tArrayList<Proces> procesy1= new ArrayList<Proces>();\n\t\tprocesy1.add(p1);\n\t\tprocesy1.add(p2);\n\t\tprocesy1.add(p3);\n\t\tprocesy1.add(p4);\n\t\tProcesor proc1= new Procesor(1, procesy1);\n\t\n\t\t\n\t\t\n\t\tArrayList<Proces> procesy2= new ArrayList<Proces>();\n\t\tprocesy2.add(new Proces(40, 2, 14));\n\t\tprocesy2.add(new Proces(20, 8, 9));\n\t\tprocesy2.add(new Proces(30, 2, 3));\n\t\tprocesy2.add(new Proces(10, 4, 5));\n\t\tprocesy2.add(new Proces(4, 7, 14));\n\t\tProcesor proc2= new Procesor(2, procesy2);\n\t\n\t\t\n\t\t\n\t\tArrayList<Procesor> procesory= new ArrayList<Procesor>();\n\t\tprocesory.add(proc1);\n\t\tprocesory.add(proc2);\n\t\t\n\t\tint ileProcesorow=2;\n\t\tint progR=20;\n\t\tint progP=20;\n\t\tint iloscZapytanZ=10;\n\t\tint okresPomiaruObciazen=1;\n\t\t\n\t\tAlgorithms al= new Algorithms(procesory, progP, iloscZapytanZ, progR);\n\t\tal.wyswietlProcesory();\n\t\tal.symulacjaPierwsza(okresPomiaruObciazen);\n\t\tal.symulacjaDruga(okresPomiaruObciazen);\n\t\tal.symulacjaTrzecia(okresPomiaruObciazen);\n\t\t\n\t\t\n\t\t\n\t}",
"public static void main(String[] args) {\n ALuno a1=new ALuno(500);\n a1.setNome(\"Claudio\");\n a1.setMatricula(1111);\n a1.setCurso(\"Informatica\");\n a1.setIdade(16);\n a1.setSexo(\"M\");\n a1.pagarMensalidade(400);\n //bolsista\n Bolsista b1 = new Bolsista(1000);\n b1.setMatricula(1112);\n b1.setNome(\"Jubileu\");\n b1.setSexo(\"M\");\n b1.pagarMensalidade();\n }",
"private static void init() {\n __lib = new JnaGmpLib();\n }",
"public void initialize()\n {\n \t// Luodaan manager-luokat\n EffectManager.getInstance();\n MessageManager.getInstance();\n CameraManager.getInstance();\n\n // Luodaan pelitilan eri osat\n backgroundManager = new BackgroundManager(wrapper);\n \tweaponManager = new WeaponManager();\n hud = new Hud(context, weaponManager);\n touchManager = new TouchManager(dm, surfaceView, context, hud, weaponManager);\n gameMode = new GameMode(gameActivity, this, dm, context, hud, weaponManager);\n \n // Järjestellään Wrapperin listat uudelleen\n wrapper.sortDrawables();\n wrapper.generateAiGroups();\n \n // Merkitään kaikki ladatuiksi\n allLoaded = true;\n }",
"public void llenarInformacion(){\n llenarDetalles();\n llenarLogros();\n }",
"public Livro() {\n\n\t}",
"public static void main(String[] args) {\n\t\t\n\t\tRubro rubro1= new Rubro (\"Cafeteria\");\n\t\t\n\t\t// inicializo el arreglo de importes\n\t\t\n\t\trubro1.inicializarGastos();\n\t\t\n\t\t\n\t\t// le cargo a enero y febrero gastos // pruebo método agregarGasto\n\t\t\n\t\trubro1.agregarGasto(MESDELANIO.ABRIL, 100);\n\t\trubro1.agregarGasto(MESDELANIO.ENERO, 200);\n\n\t\t\n\t\t// VEO QUE LO HAYA CARGADO BIEN\n\t\t\n\t\tSystem.out.println(rubro1);\n\t\t\n\t\n\t\t// pruebo método getNombre()\n\n\t\trubro1.getName();\n\t\tSystem.out.println(rubro1.getName());\n\t\t\n\t\t// pruebo método getTotalGastos - pido enero y pido abril \n\t\t// debería darme 200 y 100\n\t\t\n\t\trubro1.getTotalGastos(MESDELANIO.ENERO);\n\t\trubro1.getTotalGastos(MESDELANIO.ABRIL);\n\n\t\tSystem.out.println(rubro1.getTotalGastos(MESDELANIO.ENERO));\n\t\tSystem.out.println(rubro1.getTotalGastos(MESDELANIO.ABRIL));\n\t\t\n\t\t\n\t\t/// ---- MÉTODOS DE GASTOSTOTAL\n\t\t\n\t\t\n\t\t// Creo un objeto gasto anual\n\t\t\n\t\tGastoAnual gasto2020 = new GastoAnual ();\n\t\t\n\t\t// AGREGO rubros\n\t\tgasto2020.agregarRubro(rubro1);\n\t\t\n\t\t// pruebo el método AgregarGasto\n\t\t\n\t\tgasto2020.agregarGastoNuevo(MESDELANIO.ENERO, \"Cafeteria\", 200);\n\t\tgasto2020.agregarGastoNuevo(MESDELANIO.ENERO, \"Cafeteria\", 200);\n\t\n\t\t\n // esto debería agregar 200 pesos a cafeteria, lo cual daría un total de 400 \n\t\t\n\t\trubro1.getTotalGastos(MESDELANIO.ENERO);\n\t\tSystem.out.println(rubro1.getTotalGastos(MESDELANIO.ENERO));\n\t\t\n\t\t\n\t\t// ahora pruebo si agrega un rubro que no existe con AgregarGastoNuevo\n\t\t\n\tgasto2020.agregarGastoNuevo(MESDELANIO.MARZO, \"Tintoreria\", 200);\n\tSystem.out.println(gasto2020);\n\t\t \n\t\t\n\t\t// pruebo consolidadoDeGastos()\n\t\t\n\t\tgasto2020.consolidadoDeGastos();\n\t\t\n\t\t// pruebo gastoAcumulado(MESDELANIO mes) \n\t\t\n\t\tgasto2020.gastoAcumulado(MESDELANIO.ENERO);\n\t\tgasto2020.gastoAcumulado(MESDELANIO.FEBRERO);\n\t\tgasto2020.gastoAcumulado(MESDELANIO.MARZO);\n\t\t\n\t\t// deberia dar 400\n\t\t\n\t\tSystem.out.println(gasto2020.gastoAcumulado(MESDELANIO.ENERO));\n\t\t\n\t\t// deberia dar 0 \n\t\t\n\t\tSystem.out.println(gasto2020.gastoAcumulado(MESDELANIO.FEBRERO));\n\t\t\n\t\t// deberia dar 200\n\n\t\tSystem.out.println(gasto2020.gastoAcumulado(MESDELANIO.MARZO));\n\n\t\t\n\t\t\n\t\t// pruebo gastoAcumulado(String nombreRubro) por rubro\n\t\t\n\t\tgasto2020.gastoAcumulado(\"Cafeteria\");\n\t\t\n\t\t// debería dar 400\n\t\t\n\t\tSystem.out.println(gasto2020.gastoAcumulado(\"Cafeteria\"));\n\t\t\n\t\t// debería dar 200 \n\t\tSystem.out.println(gasto2020.gastoAcumulado(\"Tintoreria\"));\n\t\t\n\t\t\n\t\t// debería dar -1\n\t\tSystem.out.println(gasto2020.gastoAcumulado(\"Supermercado\"));\n\t\t\n\t\t\n\t\t// pruebo informarConsumoPorMes y por promedio \n\t\t\n\t\tgasto2020.informarConsumosPorMes();\n\t\t\n\t\t\n\t\t// pruebo public void informarMesMayorConsumo() - debe darme enero con 400 \n\t\t\n\t\t\n\t\tgasto2020.informarMesMayorConsumo();\n\t\t\n\n\t\n\t\t\n\t\t\n\n\t}",
"public static void main(String[] args) {\n\t\t\n\t\tRetrofit retrofit;\n\t\tLibroCallback libroCallback = new LibroCallback();\n\t\tLibroDeleteCallback libroDeleteCallback = new LibroDeleteCallback();\n\t\tLibroListCallback libroListCallback = new LibroListCallback();\n\t\tLibroPostCallback libroPostCallback = new LibroPostCallback();\n\t\tLibroPutCallback libroPutCallback = new LibroPutCallback();\n\t\tLibroMinMaxListCallback libroMinMaxListCallback = new LibroMinMaxListCallback();\n\t\tScanner sc = new Scanner(System.in);\n\t\tint opcion, id, minpag, maxpag;\n\t\tString tit, numpag;\n\t\t\n\t\tretrofit = new Retrofit.Builder()\n\t\t\t\t\t\t\t .baseUrl(SERVER_URL)\n\t\t\t\t\t\t\t .addConverterFactory(GsonConverterFactory.create())\n\t\t\t\t\t\t\t .build();\n\t\t\n\t\tLibroInterface libroInter = retrofit.create(LibroInterface.class);\n\n\t\tdo{\n\t\t\tdo\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Selecciona una opcion: \\n\");\n\t\t\t\tSystem.out.println(\"0.\tSalir\");\n\t\t\t\tSystem.out.println(\"1.\tObtener listado de libros\");\n\t\t\t\tSystem.out.println(\"2.\tObtener libro por id\");\n\t\t\t\tSystem.out.println(\"3.\tBorrar libro\");\n\t\t\t\tSystem.out.println(\"4.\tAñadir libro\");\n\t\t\t\tSystem.out.println(\"5.\tActualizar libro\");\n\t\t\t\tSystem.out.println(\"6.\tBuscar libro por paginas: \\n\");\n\n\t\t\t\topcion = sc.nextInt();\n\t\t\t\tif(opcion < 0 || opcion > 6)\n\t\t\t\t\tSystem.out.println(\"¡Solo entre 1 o 4, o 0 para salir!\");\n\t\t\t}while(opcion < 0 || opcion > 6);\n\n\t\t\tswitch (opcion){\n\n\t\t\t\tcase 1:\n\n\t\t\t\t\tSystem.out.println(\"Listado de libros: \\n\");\n\t\t\t\t\tlibroInter.getListaLibros().enqueue(libroListCallback);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 2:\n\n\t\t\t\t\tSystem.out.println(\"Introduce el id del libro a mostrar: \");\n\t\t\t\t\tid = sc.nextInt();\n\t\t\t\t\tlibroInter.getLibro(id).enqueue(libroCallback);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 3:\n\t\t\t\t\tSystem.out.println(\"Introduce el id del libro a borrar: \");\n\t\t\t\t\tid = sc.nextInt();\n\t\t\t\t\tlibroInter.deleteLibro(id).enqueue(libroDeleteCallback);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 4:\n\t\t\t\t\tSystem.out.println(\"Introduce el los datos del nuevo libro: \\n\");\n\t\t\t\t\tSystem.out.println(\"Numero de Paginas: \");\n\t\t\t\t\tnumpag = sc.next();\n\t\t\t\t\tsc.nextLine();\n\t\t\t\t\tSystem.out.println(\"Titulo: \");\n\t\t\t\t\ttit = sc.nextLine();\n\t\t\t\t\tlibroInter.postLibro(new Libro(0, tit, numpag)).enqueue(libroPostCallback);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 5:\n\t\t\t\t\tSystem.out.println(\"Introduce los datos y la id del libro a actualizar: \\n\");\n\t\t\t\t\tSystem.out.println(\"ID: \");\n\t\t\t\t\tid = sc.nextInt();\n\t\t\t\t\tSystem.out.println(\"Numero de Paginas: \");\n\t\t\t\t\tnumpag = sc.next();\n\t\t\t\t\tsc.nextLine();\n\t\t\t\t\tSystem.out.println(\"Titulo: \");\n\t\t\t\t\ttit = sc.nextLine();\n\t\t\t\t\tlibroInter.putLibro(new Libro(id, tit, numpag)).enqueue(libroPutCallback);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 6:\n\t\t\t\t\tSystem.out.println(\"Introduce el maximo de paginas: \");\n\t\t\t\t\tSystem.out.println(\"Minimo: \");\n\t\t\t\t\tminpag = sc.nextInt();\n\t\t\t\t\tSystem.out.println(\"Maximo: \");\n\t\t\t\t\tmaxpag = sc.nextInt();\n\t\t\t\t\tlibroInter.getMinMaxPagLibro(minpag, maxpag).enqueue(libroMinMaxListCallback);\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}while(opcion != 0);\n\n\t}",
"public static void main(String [] agrs){\n\r\n\r\n Kaczka gumowa = new GumowaKaczka();\r\n gumowa.ustawKwakanieInterfejs(2);\r\n gumowa.ustawLatanieInterfejs(new SzybkieLatanie());\r\n gumowa.wyswietl();\r\n System.out.println(gumowa.kwacz());\r\n System.out.println(gumowa.lec());\r\n Kaczka dzika = new DzikaKaczka();\r\n // dzika.ustawLatanieInterfejs(1);\r\n dzika.wyswietl();\r\n System.out.println(dzika.lec());\r\n System.out.println(dzika.kwacz());\r\n\r\n\r\n// Polecenie[] polecenieWlacz;\r\n// Polecenie[] polecanieWylacz;\r\n// Polecenie polecenieWycofaj;\r\n//\r\n// polecanieWylacz = new Polecenie[7];\r\n// polecenieWlacz = new Polecenie[7];\r\n//\r\n// Swiatlo swiatlo = new Swiatlo();\r\n// polecanieWylacz[0] = new PolecenieWylaczSwiatlo(swiatlo);\r\n// polecenieWlacz[0] = new PolecenieWlaczSwiatlo(swiatlo);\r\n//\r\n//\r\n//\r\n//\r\n// polecenieWlacz[0].wykonaj();\r\n// polecanieWylacz[0].wykonaj();\r\n// polecenieWlacz[0].wykonaj();\r\n// polecenieWycofaj = polecanieWylacz[0];\r\n//// polecenieWycofaj = polecenieWlacz[0];\r\n// polecenieWycofaj.wykonaj();\r\n// polecenieWycofaj.wykonaj();\r\n//// polecenieWycofaj.wycofaj();\r\n//\r\n// WiezaStereo wiezaStereo = new WiezaStereo();\r\n//\r\n// polecenieWlacz[1] = new PolecenieWiezaStereoWlaczCD(wiezaStereo);\r\n//\r\n// polecenieWlacz[1].wykonaj();\r\n\r\n\r\n\r\n }",
"public void startPlugin() {\n classesDisponibles = new HashMap[types.length];\n try { // enregistrer le service d'acces aux depot de jars\n ServicesRegisterManager.registerService(Parameters.JAR_REPOSITORY_MANAGER, this);\n rescanRepository(); // creer les listes de classes disponibles a partir du depot\n }\n catch (ServiceInUseException mbiue) {\n System.err.println(\"Jar Repository Manager service created twice\");\n }\n }",
"private LOCFacade() {\r\n\r\n\t}",
"private void mostrarLibro(Libro libro) {\n\t\tSystem.out.println(libro.getId()+\" - \"+libro.getTitulo()+\" - \"+libro.getAutor());\r\n\t}",
"public static void main(String[] args) {\n\t\tLivro l = new Livro();\n\t\tl.criaLivro(\"Estrutura de Dados\", \"Waldmar celles\", \"Academico\", 450, \"Elisilver\");\n\t\tl.fechaLivro();\n\t\tl.mostraDados();\n\t}",
"public Libros() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"public void initInstances() {\n this.add(new LQFBInstance(liqoidApplication, \"PP Deutschland\", \"DE_PIRATEN_BUND_2\",\n \"Piraten Deutschland\",\n \"https://lqfb.piratenpartei.de/api/\",\n \"https://lqfb.piratenpartei.de/lf/\",\n \"anonymous\", LQFBInstance.API2));\n this.add(new LQFBInstance(liqoidApplication, \"PP Österreich\", \"AT_PIRATEN_BUND_2\",\n \"Piraten Österreich\",\n \"http://88.198.24.116:25520/\",\n \"http://lqfb.piratenpartei.at/\",\n \"anonymous\", LQFBInstance.API2));\n /*\n this.add(new LQFBInstance(liqoidApplication, \"PP Berlin\", \"DE_PIRATEN_BE\",\n \"Piraten Berlin\",\n \"https://lqpp.de/be/api/\",\n \"https://lqpp.de/be/\", \"Y5jJ3mzf9MN23Q7zRpWs\", LQFBInstance.API1));\n */\n\n /* this.add(new LQFBInstance(liqoidApplication, \"PP BB\", \"DE_PIRATEN_BB\",\n \"Piraten Brandenburg\",\n \"https://lqpp.de/bb/api/\",\n \"https://lqpp.de/bb/\", \"5vvw7LD6P5FShL4yFNQK\", LQFBInstance.API1));\n*/\n this.add(new LQFBInstance(liqoidApplication, \"PP HS\", \"DE_PIRATEN_HS\",\n \"Piraten Hessen\",\n \"https://lqfb.piratenpartei-hessen.de/api/\",\n \"https://lqfb.piratenpartei-hessen.de/\", \"B8xrGhySfKXTFXpqJxYZ\", LQFBInstance.API1));\n// \"MjXNjRD3qSYbgjKrhYgC\"\n /* this.add(new LQFBInstance(liqoidApplication, \"PP MV\", \"DE_PIRATEN_MV\",\n \"Piraten Mecklenburg-Vorpommern\",\n \"https://lqpp.de/mv/api/\",\n \"https://lqpp.de/mv/\",\n \"VpmyJGYbqTQPcc9wyzzk\", LQFBInstance.API2));*/\n\n /* this.add(new LQFBInstance(liqoidApplication, \"PP NRW\", \"DE_PIRATEN_NRW\",\n \"Piraten Nordrhein-Westfalen\",\n \"https://lqpp.de/nw/api/\",\n \"https://lqpp.de/nw/\",\n \"pxzcNHJWMNKRs5Kr3HnX\", LQFBInstance.API1));*/\n /*\n this.add(new LQFBInstance(liqoidApplication, \"PP LSA\", \"DE_PIRATEN_LSA\",\n \"Piraten Sachsen-Anhalt 2\",\n \"http://api.lqfb.piraten-lsa.de/\",\n \"http://lqfb.piraten-lsa.de/lsa/\",\n \"anonymous\", LQFBInstance.API2));*/\n\n this.add(new LQFBInstance(liqoidApplication, \"PP HH\", \"HH\",\n \"Piraten Hamburg\",\n \"https://lqpp.de/hh/api/\",\n \"https://lqpp.de/hh/\",\n \"\", LQFBInstance.API1));\n this.add(new LQFBInstance(liqoidApplication, \"PP NDS\", \"DE_PIRATEN_NDS\",\n \"Piraten NDS\",\n \"https://lqpp.de/ni/api/\",\n \"https://lqpp.de/ni/\",\n \"\", LQFBInstance.API1));\n //YJNdCRv64rRyb3DkW8XH\n /* this.add(new LQFBInstance(liqoidApplication, \"HSG Potsdam\", \"DE_HSG_Potsdam\",\n \"Hochschulgr. Potsdam\",\n \"http://potsdam.lquni.de/api/\",\n \"http://potsdam.lquni.de/\",\n \"YJNdCRv64rRyb3DkW8XH\", LQFBInstance.API1));*/\n this.add(new LQFBInstance(liqoidApplication, \"Test LF2\", \"DE_LF_TEST_2\",\n \"LQFB Test 2\",\n \"http://apitest.liquidfeedback.org:25520/\",\n \"http://dev.liquidfeedback.org/lf2/\",\n \"anonymous\", LQFBInstance.API2));\n\n }",
"public librarian() {\n initComponents();\n }",
"private void Initialize()\n {\n \tEcran = new Rectangle(Framework.gauche, Framework.haut, Framework.frameWidth\n\t\t\t\t- Framework.droite - Framework.gauche, Framework.frameHeight - Framework.bas\n\t\t\t\t- Framework.haut);\n\t\tCentreEcranX = (int)(Ecran.getWidth()/2);\n\t\tCentreEcranY = (int)(Ecran.getHeight()/2);\n\t\twidth = Ecran.getWidth();\n\t\theight = Ecran.getHeight();\t\t\n\t\tpH=height/768;\t\t\n\t\tpW=width/1366;\n\t\tObjets = new ArrayList<Objet>(); // Créer la liste chainée en mémoire\n\t\tMissiles = new ArrayList<Missile>(); // Créer la liste chainée en mémoire\n\t\tStations = new ArrayList<Station>(); // Créer la liste chainée en mémoire\n\t\tJoueurs = new ArrayList<Joueur>();\n\t\tlastTrajectoires = new ArrayList<Trajectoire>();\n\n\t\tDisposeAstres(Framework.niveauChoisi);\n\t\tstationCourante = Stations.get(0);\n\n\t\tetat = ETAT.PREPARATION;\n\t\tmouseClicked = mousePressed = mouseReleased = false;\n\t}",
"public void beginLoad(int libraryCount);",
"public static void init() {\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n\n frisbeeRollerFrisbeeRoller = new Talon(FRISBEE_ROLLER_CHANNEL);\n\n conveyorMotor = new Talon(CONV_MOTOR_CHANNEL);\n\n spatulaMotor = new Relay(SPATULA_MOTOR_CHANNEL);\n\n loadTalon = new Talon(LOADER_TALON);\n\n elevateTalon = new Talon(ELEVATE_TALON);\n\n try {\n driveTrainrearRightTalon = new CANJaguar(REAR_RIGHT_JAG_CHANNEL);\n\n driveTrainfrontRightTalon = new CANJaguar(FRONT_RIGHT_JAG_CHANNEL);\n\n driveTrainfrontLeftTalon = new CANJaguar(FRONT_LEFT_JAG_CHANNEL);\n\n driveTrainrearLeftTalon = new CANJaguar(REAR_LEFT_JAG_CHANNEL);\n\n shootershooterJag = new CANJaguar(SHOOTER_JAG_CHANNEL);\n } catch (CANTimeoutException ex) {\n ex.printStackTrace();\n }\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n }",
"public LibraryBuilder() {\n\t\tthis.addToLibrary = new MyMusicLibrary();\n\t\tthis.addToArtiLibrary = new MyArtistLibrary();\n\t}",
"public Libro getLIBRO() {\r\n return LIBRO;\r\n }",
"private void ImportLibrary(){\n for(int i = 0; i < refact.size(); i++){\n if(refact.get(i).contains(\"import\")){\n for(String library : libraries){\n refact.add(i, library + \"\\r\");\n }\n break;\n }\n }\n\n\n }",
"public Pantry(Jam jar1, Jam jar2, Jam jar3){\r\n jam1 = jar1;\r\n jam2 = jar2;\r\n jam3 = jar3;\r\n }",
"private void librarian()throws IOException\n {\n //File Handling starts here with reading into each of the different files to obtain set of books along with relevant data.\n FileReader fauthor = new FileReader(\"BookAuthorList.txt\"); \n BufferedReader bufferAuthor = new BufferedReader(fauthor);\n\n FileReader fgenre = new FileReader(\"BookGenreList.txt\"); \n BufferedReader bufferGenre = new BufferedReader(fgenre);\n\n FileReader fname = new FileReader(\"BookNameList.txt\"); \n BufferedReader bufferName = new BufferedReader(fname);\n\n FileReader fnumber = new FileReader(\"BookNumberList.txt\"); \n BufferedReader bufferNumber = new BufferedReader(fnumber);\n\n for(int i=0; i<linecount; i++) //instance variable linecount\n {\n book[i] = new Book(\"1000\", \"Book Name\", \"Author of Book\", \"Genre of Book\"); //instantiating array element to avoid NullPointerException\n book[i].code = bufferNumber.readLine();\n book[i].author = bufferAuthor.readLine();\n book[i].genre = bufferGenre.readLine();\n book[i].name = bufferName.readLine();\n }\n /*\n * The following for loop trims each of the lines obtained from the file, to remove spaces and help maintain equal number of characters.\n */\n for(int i=0; i<linecount; i++) //trimming\n {\n book[i].code = book[i].code.trim();\n book[i].author = book[i].author.trim();\n book[i].genre = book[i].genre.trim();\n book[i].name = book[i].name.trim();\n }\n\n for(int i=0; i<linecount; i++) //add set number of lines. this helps in making tabular forms\n {\n /*\n * Utilising concatenation from Library classes here. \n * Function spaces is called.\n */\n book[i].code = book[i].code.concat(Spacebar.spaces(5 - book[i].code.length()));\n book[i].author = book[i].author.concat(Spacebar.spaces(25 - book[i].author.length()));\n book[i].genre = book[i].genre.concat(Spacebar.spaces(15 - book[i].genre.length()));\n book[i].name = book[i].name.concat(Spacebar.spaces(70 - book[i].name.length()));\n }\n }",
"public static void main(String[] args) {\n\t\t\n\t\tSistemaStock sistema=new SistemaStock();\n\t\t\n\t\tProducto producto1=new Producto(1,\"Producto 1\",20.5);\n Producto producto2=new Producto(2,\"Producto 2\",15.5);\n System.out.println(producto1+\"\\n\"+producto2); \n try {\n\t\t\tsistema.agregarProducto(producto1.getDescripcion(),producto1.getPrecioUnitario());\n\t\t} catch (Exception e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n System.out.println(sistema.getProductos().toString());\n Sucursal sucursal1=new Sucursal(1,\"direccion 1\");\n Sucursal sucursal2=new Sucursal(2,\"direccion 2\");\n\t\ttry {\n\t\t\tsistema.agregarSucursal(sucursal1.getDireccion());\n\t\t} catch (Exception e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\t\n\t\tEmpleado empleado1=new Empleado(\"Juan\",\"Gomez\",11111111,sucursal1);\n\t\tEmpleado empleado2=new Empleado(\"Julian\",\"Suarez\",22222222,sucursal2);\n\t\tSystem.out.println(empleado1+\"\\n\"+empleado2);\n\t\t\n\t\tLote lote1=new Lote(sucursal1, producto1,LocalDate.of(2019, 10, 1),100,100,true);\n\t Lote lote2=new Lote(sucursal1,producto2,LocalDate.of(2019,10,1),50,50,true);\n\t Lote lote3=new Lote(sucursal1,producto1,LocalDate.of(2019,10,3),40,40,true);\n\t Lote lote4=new Lote(sucursal2,producto1,LocalDate.of(2019, 10, 2),80,80,true);\n\t Lote lote5=new Lote(sucursal2, producto2,LocalDate.of(2019,10, 2),80,80,true);\n\t System.out.println(lote1+\"\\n\"+lote2+\"\\n\"+lote3+\"\\n\"+lote4+\"\\n\"+lote5);\n\t \n\t sucursal1.getLotes().add(lote1);\n\t sucursal1.getLotes().add(lote2);\n\t sucursal1.getLotes().add(lote3);\n\t sucursal2.getLotes().add(lote4);\n\t sucursal2.getLotes().add(lote5);\n\t \n\t \n\t System.out.println(\"Cantidad: \"+sucursal1.traerCantidad(producto1));\n\t System.out.println(\"Validar Stock: \"+sucursal1.validarConsumo(producto1, 80));\n\t \n\t \n\t \n\t \n\t sistema.getSucursales().add(sucursal1);\n\t sistema.getSucursales().add(sucursal2);\n\t \n\t Remito remito1=new Remito(LocalDate.of(2019,10,5),producto1,80,empleado1,\"Forma de pago 1\");\n\t Remito remito2=new Remito(LocalDate.of(2019,10,5).plusDays(1),producto1,80,empleado1,\"Forma de pago 1\");\n\t System.out.println(remito1);\n\t System.out.println(remito2);\n\t \n\t try {\n\t\t\tSystem.out.println(\"Remito Generado: \"+sistema.generarRemitoDeConsumo(LocalDate.of(2019,10,5),producto1,500,empleado1,\"Forma de pago 1\"));\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t \n try {\n\t\tSystem.out.println(\"Remito Sucursal: \"+sistema.generarRemitoDeConsumo(sucursal1,LocalDate.of(2019,10,5),producto1,500,empleado1,\"Forma de pago 1\"));\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\t \n\t \n\t}",
"public static void main(String[] args) {\n\n Car car2=new Car(\"bmw\" ,2020,250876,\"yellow\");\n\n System.out.println(car2.brand);\n System.out.println(car2.year);\n System.out.println(car2.price);\n System.out.println(car2.color);\n\n Car car3=new Car(\"toyoto\",2010,35876,\"black\");\n System.out.println(car3);//tostring\n\n Library.stars();\n car3.getCarBrandYear();\n Library.stars();\n car2.getCarBrandYear();\n\n Car car4=new Car(\"audi\",2010);\n System.out.println(car4);\n\n }",
"public static void init() {\r\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\r\n driveTrainSubsystemleftFront = new Jaguar(1, 1);\r\n\tLiveWindow.addActuator(\"DriveTrainSubsystem\", \"leftFront\", (Jaguar) driveTrainSubsystemleftFront);\r\n \r\n driveTrainSubsystemleftRear = new Jaguar(1, 5);\r\n\tLiveWindow.addActuator(\"DriveTrainSubsystem\", \"leftRear\", (Jaguar) driveTrainSubsystemleftRear);\r\n \r\n driveTrainSubsystemrightFront = new Jaguar(1, 6);\r\n\tLiveWindow.addActuator(\"DriveTrainSubsystem\", \"rightFront\", (Jaguar) driveTrainSubsystemrightFront);\r\n \r\n driveTrainSubsystemrightRear = new Jaguar(1, 7);\r\n\tLiveWindow.addActuator(\"DriveTrainSubsystem\", \"rightRear\", (Jaguar) driveTrainSubsystemrightRear);\r\n \r\n driveTrainSubsystemRobotDrive = new RobotDrive(driveTrainSubsystemleftFront, driveTrainSubsystemleftRear,\r\n driveTrainSubsystemrightFront, driveTrainSubsystemrightRear);\r\n\t\r\n driveTrainSubsystemRobotDrive.setSafetyEnabled(true);\r\n driveTrainSubsystemRobotDrive.setExpiration(0.1);\r\n driveTrainSubsystemRobotDrive.setSensitivity(0.5);\r\n driveTrainSubsystemRobotDrive.setMaxOutput(1.0);\r\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\r\n }",
"public void leerAlimentos();",
"public static void main(String[] args) {\n \n //Joueur zidane=new Joueur(\"zidane\",\"zinedine\",\"zizou\", \"12/07/1995\",\"marseille\",\"francais\",75.5f,1.82f, Sexe.HOMME,Pied.AMBIDEXTRE,Tenue.SHORT,34,Sponsor.FLY_EMIRATES);\n // Attaquant messi=new Attaquant(\"zidane\",\"zinedine\",\"zizou\", \"12/07/1995\",\"marseille\",\"francais\",75.5f,1.82f, Sexe.HOMME,Pied.AMBIDEXTRE,Tenue.SHORT,10,Sponsor.FLY_EMIRATES,PosteJoueur.DEFENSEUR);\n //Milieu xavi=new Milieu(\"xavi\",\"xava\",\"go\", \"12/07/1990\",\"barcelone\",\"espagnol\",78.5f,1.85f, Sexe.HOMME,Pied.DROIT,Tenue.JOGGING,15,Sponsor.FLY_EMIRATES,PosteJoueur.DEFENSEUR);\n //Defenseur ramos=new Defenseur(\"xavi\",\"ramos\",\"ifjiej\", \"18/07/1990\",\"madrid\",\"espagnol\",78.5f,1.88f, Sexe.HOMME,Pied.GAUCHE,Tenue.SHORT,15,Sponsor.FLY_EMIRATES,PosteJoueur.MILIEU);\n //ramos.celebrer();\n //ramos.defendre();\n //Gardien neuer=new Gardien(\"neuer\",\"manuel\",\"ifjiej\", \"18/07/1991\",\"Bayern\",\"bayern\",88.5f,1.95f, Sexe.HOMME,Pied.GAUCHE,Tenue.SHORT,15,Sponsor.FLY_EMIRATES);\n //neuer.sortir();\n //Spectateur paul=new Spectateur(\"bollart\",12,false,false);\n //Arbitre guillaume=new Arbitre(\"ovigneur\",\"guillaume\",\"guigou\",\"12/07/1676\",\"Lille\", \"France\", 1.98f,1.67f,Sexe.HOMME,Pied.DROIT,Tenue.SHORT,48,Sponsor.MORELLE);\n Equipe marseille= new Equipe (NomEquipe.OM);\n Equipe paris= new Equipe (NomEquipe.PSG);\n Match match=new Match(TypeTerrain.GAZON,marseille,paris);\n match.simulerMatch();\n System.out.println(match.equipeGagnante);\n System.out.println(marseille.attaquants[2].getStatTir());\n \n Tournoi tournoi = new Tournoi(); \n tournoi.qualificaionsTournoi();\n tournoi.huitiemes();\n tournoi.quarts();\n tournoi.demi();\n tournoi.finale();\n \n System.out.println(tournoi.getEquipeEnLis());\n System.out.println(tournoi.getEquipeQualifie());\n System.out.println(tournoi.getEquipePerdanteHuit());\n System.out.println(tournoi.getEquipeGagnanteHuit());\n System.out.println(tournoi.getEquipePerdanteQuarts());\n System.out.println(tournoi.getEquipeGagnanteQuarts());\n System.out.println(tournoi.getEquipePerdanteDemi());\n System.out.println(tournoi.getEquipeGagnanteDemi());\n System.out.println(tournoi.getEquipeFinale());\n\n \n \n //Mise en place de \"l'interface\"\n Scanner sc = new Scanner(System.in);\n \n //Choix du mode de jeu\n System.out.println(\"\\n *** Choix du mode de jeu *** \\n\\t| tournoi : taper 1|\\n\\t| mode solo : taper 2|\");\n int modeDeJeu = sc.nextInt();\n sc.nextLine(); //On vide la ligne\n \n //AJOUTER UNE EXCEPTION POUR LE MODE DE JEU\n \n \n \n //Choix de l'equipe a l'aide d'un scanner\n// System.out.println(\"Choisissez votre équipe :\");\n// NomEquipe equipe;\n// Equipe equipeChoisit = new Equipe(nomEquipe);\n \n\n\n /*Scanner sc = new Scanner(System.in);\n System.out.println(\"Voulez vous disputer un match ? Oui=1 ou NON=2 \");\n int i = sc.nextInt();\n System.out.println(\"Saisissez le numéro de l'equipe avec laquelle vous voulez Jouez \"\n + \"PSG :1\"\n + \"MARSEILLE:2 \");\n //On vide la ligne avant d'en lire une autre\n sc.nextLine();\n int equipe = sc.nextInt(); \n System.out.println(\"FIN ! \");\n \n switch(equipe) {\n case 1:\n Equipe paris= new Equipe (NomEquipe.PSG);\n System.out.println(paris.stade);\n break;\n case 2 :\n Equipe marseille= new Equipe (NomEquipe.OM);\n System.out.println(marseille.stade);\n \n }*/\n }",
"public static void main( String[] args )\n {\n int contador = 0;\n Perro perro1 = new Perro(\"Pepe\",4,\"Pug\"); \n //perro1.setNombre(\"Axel\");\n //System.out.println(perro1.getNombre());\n Perro perro2 = new Perro(\"Sasha\",3,\"Siberiano\"); \n //System.out.println(perro2.getNombre()); */\n JOptionPane.showMessageDialog(null, \"Unidad 2\",\"Misiontic\",JOptionPane.ERROR_MESSAGE);\n Perro perro3 = new Perro(\"Manchis\",7,\"Chandoso\"); \n System.out.println(Perro.contadorPerros);\n Perro.ladrar();\n }",
"public Libro(String autorLibro, String tituloLibro, int numeroDePaginas, \n boolean esLibroDeTextoONo)\n {\n autor = autorLibro;\n titulo = tituloLibro;\n numeroPaginas = numeroDePaginas;\n numeroReferencia = \"\";\n vecesPrestado = 0;\n esLibroDeTexto = esLibroDeTextoONo;\n }",
"public void inicialisation(){\r\n\t\t\r\n\t\tgoods = new AutoParts[0];\r\n\t\tclient = new Client[0];\r\n\t\t\r\n\t\tshop = new Shopping[0];\r\n\t\tsale = new Sale[0];\r\n\t\ttransaction = new Document[0];\r\n\t\t\r\n\t\tbalancesAutoParts = new BalancesAutoParts[0];\r\n\t\t\r\n\t\tprices = new Prices[0];\r\n\t\t\r\n\t\tagriment = new Agreement[0];\r\n\t\t\r\n\t}",
"public Librarian() {\n initComponents();\n }",
"private void initClassloaders() {\n\t\tthis.commonloader = createClassloader(\"common\",null);\n\t\tthis.sharedloader = createClassloader(\"shared\", commonloader);\n\t\tthis.catalinaloader = createClassloader(\"server\", commonloader);\n\t}",
"public void init() {\n\t\tfor(int i = 0; i < roamingAliens; ++i) {\n\t\t\tAlien alien = new Alien(ColorUtil.MAGENTA, screenHeight, screenWidth, speed, speedMulti);\n\t\t\tgameObject.add((GameObject) alien); \n\t\t}\n\t\tfor(int i = 0; i < roamingAstronauts; ++i) {\n\t\t\tAstronaut astronaut = new Astronaut(ColorUtil.GREEN, screenHeight, screenWidth, speed, speedMulti);\n\t\t\tgameObject.add((GameObject) astronaut);\n\t\t}\n\t\tgameObject.add((Spaceship.getSpaceship()));\n\t\tthis.setChanged();\n\t\tthis.notifyObservers();\n\t\tthis.clearChanged();\n\t}",
"private void limpiarDatos() {\n\t\t\n\t}",
"public void libraryLoaded();",
"private void inicializarcomponentes() {\n Comunes.cargarJList(jListBecas, becasFacade.getTodasBecasVigentes());\n \n }",
"public Plantas() {\r\n initComponents();\r\n limpiar();\r\n \r\n hilor = new HiloReloj(lbhora);\r\n hilor.start();\r\n }",
"private static void initSingletons() throws Exception {\n\t\tModel.loadModel();\n\t\tTermSets.init();\n\t\tTermMaps.init();\n\t\tTLRHolder.getInstance();\n\t\tChemNameDictSingleton.hasName(\"acetone\");\n\t\tNGram.getInstance();\n\t\tHyphenTokeniser.init();\n\t\tXMLStrings.init();\n\t\tif(Oscar3Props.getInstance().useMEMM) {\n\t\t\tDFAONTCPRFinder.getInstance();\n\t\t} else {\n\t\t\tDFANEFinder.getInstance();\n\t\t}\n\t\tNameResolver.init();\n\t\tStructureConverter.init();\n\t\tNameToStructure.getInstance();\n\t\tRParser.init();\n\t}",
"public static void init() {\n driveLeft = new VictorSP(1);\r\n LiveWindow.addActuator(\"Drive\", \"Left\", (VictorSP) driveLeft);\r\n \r\n driveRight = new VictorSP(0);\r\n LiveWindow.addActuator(\"Drive\", \"Right\", (VictorSP) driveRight);\r\n \r\n driveMotors = new RobotDrive(driveLeft, driveRight);\r\n \r\n driveMotors.setSafetyEnabled(false);\r\n driveMotors.setExpiration(0.1);\r\n driveMotors.setSensitivity(0.5);\r\n driveMotors.setMaxOutput(1.0);\r\n\r\n driveEncoderLeft = new Encoder(0, 1, true, EncodingType.k1X);\r\n LiveWindow.addSensor(\"Drive\", \"EncoderLeft\", driveEncoderLeft);\r\n driveEncoderLeft.setDistancePerPulse(0.053855829);\r\n driveEncoderLeft.setPIDSourceType(PIDSourceType.kRate);\r\n driveEncoderRight = new Encoder(2, 3, false, EncodingType.k1X);\r\n LiveWindow.addSensor(\"Drive\", \"EncoderRight\", driveEncoderRight);\r\n driveEncoderRight.setDistancePerPulse(0.053855829);\r\n driveEncoderRight.setPIDSourceType(PIDSourceType.kRate);\r\n driveFrontSonar = new Ultrasonic(4, 5);\r\n LiveWindow.addSensor(\"Drive\", \"FrontSonar\", driveFrontSonar);\r\n \r\n shooterMotor = new VictorSP(3);\r\n LiveWindow.addActuator(\"Shooter\", \"Motor\", (VictorSP) shooterMotor);\r\n \r\n climberMotor = new Spark(2);\r\n LiveWindow.addActuator(\"Climber\", \"Motor\", (Spark) climberMotor);\r\n \r\n gearGrabReleaseSolonoid = new DoubleSolenoid(0, 0, 1);\r\n LiveWindow.addActuator(\"Gear\", \"GrabReleaseSolonoid\", gearGrabReleaseSolonoid);\r\n \r\n powerPanel = new PowerDistributionPanel(0);\r\n LiveWindow.addSensor(\"Power\", \"Panel\", powerPanel);\r\n \r\n cameraMountpan = new Servo(4);\r\n LiveWindow.addActuator(\"CameraMount\", \"pan\", cameraMountpan);\r\n \r\n cameraMounttilt = new Servo(5);\r\n LiveWindow.addActuator(\"CameraMount\", \"tilt\", cameraMounttilt);\r\n \r\n\r\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\r\n\t\tdriveSonarFront = new SonarMB1010(0);\r\n\t\tLiveWindow.addSensor(\"Drive\", \"SonarFront\", driveSonarFront);\r\n\r\n\t\t//driveGyro = new GyroADXRS453();\r\n\t\tdriveGyro = new ADXRS450_Gyro();\r\n\t\tLiveWindow.addSensor(\"Drive\", \"Gyro\", driveGyro);\r\n\t\tdriveGyro.calibrate();\r\n\t}",
"public static void main(String[] args) throws Exception {\n\t\tPerro p1=new Perro();\r\n\t\tPerro p2 =new Perro(\"Chucho\", \"Pastor Aleman\", 3,true);\r\n\t\tPerroPresa pp1=new PerroPresa();\r\n\t\tPerroPresa pp2=new PerroPresa(\"Dientes\",\"pitbull\",5,true);\r\n\t\tpp1.setNombre(\"ŅamŅam\");\r\n\t\tp1.setEdad(-3);\r\n\t\tSystem.out.println(p1.toString());\r\n\t\tSystem.out.println(p2.toString());\r\n\t\tSystem.out.println(pp1.toString());\r\n\t\tpp1.atacar();\r\n\t\tSystem.out.println(pp2.toString());\r\n\t\tpp2.atacar();\r\n\t}",
"public static void main(String[] ar) {\r\n Pila pila1=new Pila();\r\n System.out.println(\"Insertamos datos en la pila.\");\r\n pila1.insertar(4);\r\n pila1.insertar(12);\r\n pila1.insertar(13);\r\n pila1.insertar(25);\r\n pila1.insertar(33);\r\n pila1.insertar(45);\r\n pila1.insertar(58);\r\n \r\n pila1.imprimir();\r\n \r\n System.out.println(\"Extraemos un dato de la pila.\");\r\n pila1.recuperar();\r\n pila1.imprimir(); \r\n \r\n pila1.devolver();\r\n pila1.imprimir();\r\n \r\n pila1.obtener();\r\n pila1.imprimir();\r\n }",
"public static void main(String[] args) {\n\t\tHeadset h1 = new Headset();\n\t\tHeadset h2 = new Headset(\"merek2\", \"merah\", 1.2, 0.3, 45000);\n\t\tHeadset h3 = new Headset();\n\t\t\n\t\th1.merk=\"merek1\";\n\t\th1.warna=\"hitam\";\n\t\th1.panjang=1;\n\t\th1.besarColokan=0.5;\n\t\th1.harga = 50000;\n\t\t\n\t\t\n\t\th3.tambahData(\"merek3\", \"Biru\", 1.1, 0.4, 60000);\n\t\t\n\t\th1.tampil();\n\t\th2.tampil();\n\t\th3.tampil();\n\t\t\n\t\tSystem.out.println();\n\t\tSystem.out.println();\n\t\t/////////////////////////////////////////////////////////////\n\t\t\n\t\tFlashDisk fd1 = new FlashDisk();\n\t\tFlashDisk fd2 = new FlashDisk(\"King stone\", \"Putih\" , 3.2, 16, 130000);\n\t\tFlashDisk fd3 = new FlashDisk();\n\t\t\n\t\tfd1.merk = \"Hp\";\n\t\tfd1.kapasitas =16;\n\t\tfd1.tipe =3.0;\n\t\tfd1.warna =\"Hitam\";\n\t\tfd1.harga =100000;\n\t\t\n\t\tfd3.tambahData(\"V-Gen\" , \"Kuning\" , 3.0, 8, 80000);\n\t\t\n\t\tfd1.tampil();\n\t\tfd2.tampil();\n\t\tfd3.tampil();\n\t\t\n\t\tSystem.out.println();\n\t\tSystem.out.println();\n\t\t//////////////////////////////////////////////////////////////////\n\t\t\n\t\tMotor m1 = new Motor();\n\t\tMotor m2 = new Motor(\"Yamaha\", \"Mio\" , \"Matic\", \"Biru\", 110, 13000000);\n\t\tMotor m3 = new Motor();\n\t\t\n\t\tm1.merk = \"Honda\";\n\t\tm1.tipe = \"Matic\";\n\t\tm1.nama = \"Vario\";\n\t\tm1.warna = \"Hitam\";\n\t\tm1.kapasitas = 125;\n\t\tm1.harga = 15000000;\n\n\t\tm3.tambahData(\"Honda\", \"Blade\", \"Gigi\", \"Merah\", 110, 13000000);\n\t\t\n\t\tm1.tampil();\n\t\tm2.tampil();\n\t\tm3.tampil();\n\t}",
"public static void main(String[] args) {\nBasePotencia pot=new BasePotencia();\r\npot.calculaPot();\r\n\t}",
"public static void llenarSoriana(){\r\n Producto naranja1 = new Producto (\"naranja\", \"el huertito\", 25, 0);\r\n Nodo<Producto> nTemp1 = new Nodo(naranja1);\r\n listaSoriana.agregarNodo(nTemp1);\r\n \r\n Producto naranja2 = new Producto (\"naranja\", \"el ranchito\", 34, 0);\r\n Nodo<Producto> nTemp2 = new Nodo (naranja2);\r\n listaSoriana.agregarNodo(nTemp2);\r\n \r\n Producto manzana3 = new Producto (\"manzana\", \"el rancho de don chuy\", 24, 0);\r\n Nodo<Producto> nTemp3 = new Nodo (manzana3);\r\n listaSoriana.agregarNodo(nTemp3);\r\n \r\n Producto manzana4 = new Producto (\"manzana\", \"la costeña\", 15, 0);\r\n Nodo<Producto> nTemp4 = new Nodo(manzana4);\r\n listaSoriana.agregarNodo(nTemp4);\r\n \r\n Producto platano5 = new Producto (\"platano\", \"el Huertito\", 26, 0);\r\n Nodo<Producto> nTemp5 = new Nodo (platano5);\r\n listaSoriana.agregarNodo(nTemp5);\r\n \r\n Producto platano6 = new Producto (\"platano\", \"granjita dorada\", 36, 0);\r\n Nodo<Producto> nTemp6 = new Nodo (platano6);\r\n listaSoriana.agregarNodo (nTemp6);\r\n \r\n Producto pera7 = new Producto (\"pera\", \"el rancho de don chuy\", 38, 0);\r\n Nodo<Producto> nTemp7 = new Nodo (pera7);\r\n listaSoriana.agregarNodo(nTemp7);\r\n \r\n Producto pera8 = new Producto (\"pera\", \"la costeña\", 8,0);\r\n Nodo<Producto> nTemp8 = new Nodo (pera8);\r\n listaSoriana.agregarNodo(nTemp8);\r\n \r\n Producto durazno9 = new Producto (\"durazno\", \"el huertito\", 12.50, 0);\r\n Nodo<Producto> nTemp9 = new Nodo (durazno9);\r\n listaSoriana.agregarNodo(nTemp9);\r\n \r\n Producto fresa10 = new Producto (\"fresa\", \"el rancho de don chuy\", 35.99,0);\r\n Nodo<Producto> nTemp10 = new Nodo (fresa10);\r\n listaSoriana.agregarNodo(nTemp10);\r\n \r\n Producto fresa11 = new Producto (\"fresa\", \"grajita dorada\", 29.99,0);\r\n Nodo<Producto> nTemp11 = new Nodo (fresa11);\r\n listaSoriana.agregarNodo(nTemp11);\r\n \r\n Producto melon12 = new Producto (\"melon\", \"la costeña\", 18.50, 0);\r\n Nodo<Producto> nTemp12 = new Nodo (melon12);\r\n listaSoriana.agregarNodo(nTemp12);\r\n \r\n Producto melon13 = new Producto (\"melon\", \"el huertito\", 8.50, 0);\r\n Nodo<Producto> nTemp13 = new Nodo (melon13);\r\n listaSoriana.agregarNodo(nTemp13);\r\n \r\n Producto elote14 = new Producto (\"elote\", \"el ranchito\", 6, 0);\r\n Nodo<Producto> nTemp14 = new Nodo (elote14);\r\n listaSoriana.agregarNodo(nTemp14);\r\n \r\n Producto elote15 = new Producto (\"elote\", \"moctezuma\", 12, 0);\r\n Nodo<Producto> nTemp15 = new Nodo (elote15);\r\n listaSoriana.agregarNodo(nTemp15);\r\n \r\n Producto aguacate16 = new Producto (\"aguacate\", \"la costeña\", 35, 0);\r\n Nodo<Producto> nTemp16 = new Nodo (aguacate16);\r\n listaSoriana.agregarNodo(nTemp16);\r\n \r\n Producto cebolla17 = new Producto (\"cebolla\", \"granjita dorada\", 8.99, 0);\r\n Nodo<Producto> nTemp17 = new Nodo (cebolla17);\r\n listaSoriana.agregarNodo(nTemp17);\r\n \r\n Producto tomate18 = new Producto (\"tomate\", \"el costeñito feliz\", 10.50, 0);\r\n Nodo<Producto> nTemp18 = new Nodo (tomate18);\r\n listaSoriana.agregarNodo(nTemp18);\r\n \r\n Producto tomate19 = new Producto (\"tomate\", \"el ranchito\", 8.99, 0);\r\n Nodo<Producto> nTemp19 = new Nodo (tomate19);\r\n listaSoriana.agregarNodo(nTemp19);\r\n \r\n Producto limon20 = new Producto (\"limon\", \"la costeña\", 3.50, 0);\r\n Nodo<Producto> nTemp20 = new Nodo (limon20);\r\n listaSoriana.agregarNodo(nTemp20);\r\n \r\n Producto limon21 = new Producto (\"limon\", \"el ranchito\", 10.99, 0);\r\n Nodo<Producto> nTemp21 = new Nodo (limon21);\r\n listaSoriana.agregarNodo(nTemp21);\r\n \r\n Producto papas22 = new Producto (\"papas\", \"la costeña\", 11, 0);\r\n Nodo<Producto> nTemp22 = new Nodo(papas22);\r\n listaSoriana.agregarNodo(nTemp22);\r\n \r\n Producto papas23 = new Producto (\"papas\", \"granjita dorada\", 4.99, 0);\r\n Nodo<Producto> nTemp23 = new Nodo(papas23);\r\n listaSoriana.agregarNodo(nTemp23);\r\n \r\n Producto chile24 = new Producto (\"chile\", \"el rancho de don chuy\", 2.99, 0);\r\n Nodo<Producto> nTemp24 = new Nodo (chile24);\r\n listaSoriana.agregarNodo(nTemp24);\r\n \r\n Producto chile25 = new Producto (\"chile\",\"la costeña\", 12, 0);\r\n Nodo<Producto> nTemp25 = new Nodo (chile25);\r\n listaSoriana.agregarNodo(nTemp25);\r\n \r\n Producto jamon26 = new Producto (\"jamon\",\"fud\", 25, 1);\r\n Nodo<Producto> nTemp26 = new Nodo(jamon26);\r\n listaSoriana.agregarNodo(nTemp26);\r\n \r\n Producto jamon27 = new Producto(\"jamon\", \"kir\", 13.99, 1);\r\n Nodo<Producto> nTemp27 = new Nodo(jamon27);\r\n listaSoriana.agregarNodo(nTemp27);\r\n \r\n Producto peperoni28 = new Producto (\"peperoni28\", \"fud\", 32, 1);\r\n Nodo<Producto> nTemp28 = new Nodo (peperoni28);\r\n listaSoriana.agregarNodo(nTemp28);\r\n \r\n Producto salchicha29 = new Producto (\"salchicha\", \" san rafael\", 23.99, 1);\r\n Nodo<Producto> nTemp29 = new Nodo (salchicha29);\r\n listaSoriana.agregarNodo(nTemp29); \r\n \r\n Producto huevos30 = new Producto (\"huevos\", \"san rafael\", 30.99, 1);\r\n Nodo<Producto> nTemp30 = new Nodo (huevos30);\r\n listaSoriana.agregarNodo(nTemp30);\r\n \r\n Producto chuletas31 = new Producto (\"chuletas\", \"la res dorada\", 55, 1);\r\n Nodo<Producto> nTemp31 = new Nodo (chuletas31);\r\n listaSoriana.agregarNodo(nTemp31);\r\n \r\n Producto carnemolida32 = new Producto (\"carne molida\", \"san rafael\", 34, 1);\r\n Nodo<Producto> nTemp32 = new Nodo (carnemolida32);\r\n listaSoriana.agregarNodo(nTemp32);\r\n \r\n Producto carnemolida33 = new Producto (\"carne molida\", \"la res dorada\", 32.99, 1);\r\n Nodo<Producto> nTemp33 = new Nodo (carnemolida33);\r\n listaSoriana.agregarNodo(nTemp33);\r\n \r\n Producto pollo34 = new Producto (\"pollo\", \"pollito feliz\", 38, 1);\r\n Nodo<Producto> nTemp34 = new Nodo (pollo34);\r\n listaSoriana.agregarNodo(nTemp34);\r\n \r\n Producto pescado35 = new Producto (\"pescado\", \"pescadito\", 32.99, 1);\r\n Nodo<Producto> nTemp35 = new Nodo (pescado35);\r\n listaSoriana.agregarNodo(nTemp35);\r\n \r\n Producto quesolaurel36 = new Producto (\"queso\", \"laurel\", 23.50, 1);\r\n Nodo<Producto> nTemp36 = new Nodo (quesolaurel36);\r\n listaSoriana.agregarNodo(nTemp36);\r\n \r\n Producto leche37 = new Producto (\"leche\", \"nutrileche\", 12.99, 1);\r\n Nodo<Producto> nTemp37 = new Nodo (leche37);\r\n listaSoriana.agregarNodo(nTemp37);\r\n \r\n Producto lechedeslactosada38 = new Producto (\"leche deslactosada\", \"lala\", 17.50, 1);\r\n Nodo<Producto> nTemp38 = new Nodo (lechedeslactosada38);\r\n listaSoriana.agregarNodo(nTemp38);\r\n \r\n Producto panblanco39 = new Producto (\"pan blanco\", \"bombo\", 23.99, 2);\r\n Nodo<Producto> nTemp39 = new Nodo (panblanco39);\r\n listaSoriana.agregarNodo(nTemp39);\r\n \r\n Producto atun40 = new Producto (\"atun\", \"la aleta feliz\", 12, 2);\r\n Nodo<Producto> nTemp40 = new Nodo (atun40);\r\n listaSoriana.agregarNodo(nTemp40);\r\n \r\n Producto atun41 = new Producto (\"atun\", \"el barco\", 10.99, 2);\r\n Nodo<Producto> nTemp41 = new Nodo (atun41);\r\n listaSoriana.agregarNodo(nTemp41);\r\n \r\n Producto arroz42 = new Producto (\"arroz\", \"mi marca\", 12.50, 2);\r\n Nodo<Producto> nTemp42 = new Nodo (arroz42);\r\n listaSoriana.agregarNodo(nTemp42);\r\n \r\n Producto arroz43 = new Producto (\"arroz\", \"soriana\", 9.99, 2);\r\n Nodo<Producto> nTemp43 = new Nodo (arroz43);\r\n listaSoriana.agregarNodo(nTemp43);\r\n \r\n Producto frijol44 = new Producto (\"frijol\", \"mi marca\", 10.99, 2);\r\n Nodo<Producto> nTemp44 = new Nodo (frijol44);\r\n listaSoriana.agregarNodo(nTemp44);\r\n \r\n Producto frijol45 = new Producto (\"frijol\", \"soriana\", 15.99, 2);\r\n Nodo<Producto> nTemp45 = new Nodo (frijol45);\r\n listaSoriana.agregarNodo(nTemp45);\r\n \r\n Producto azucar46 = new Producto (\"azucar\", \"mi marca\", 12.50, 2);\r\n Nodo<Producto> nTemp46 = new Nodo (azucar46);\r\n listaSoriana.agregarNodo(nTemp46);\r\n \r\n Producto azucar47 = new Producto (\"azucar\", \"zulka\", 15.99, 2);\r\n Nodo<Producto> nTemp47 = new Nodo (azucar47);\r\n listaSoriana.agregarNodo(nTemp47);\r\n \r\n Producto servilletas48 = new Producto (\"servilletas\", \"esponjosas\",10.50, 2);\r\n Nodo<Producto> nTemp48 = new Nodo (servilletas48);\r\n listaSoriana.agregarNodo(nTemp48);\r\n \r\n Producto sal49 = new Producto (\"sal\", \"mar azul\", 3.99, 2);\r\n Nodo<Producto> nTemp49 = new Nodo (sal49);\r\n listaSoriana.agregarNodo(nTemp49);\r\n \r\n Producto aceitedecocina50 = new Producto (\"aceite de cocina\", \"123\", 15.99, 2);\r\n Nodo<Producto> nTemp50 = new Nodo (aceitedecocina50);\r\n listaSoriana.agregarNodo(nTemp50);\r\n \r\n Producto caffe51 = new Producto (\"caffe\", \"nescafe\", 23, 2);\r\n Nodo<Producto> nTemp51 = new Nodo (caffe51);\r\n listaSoriana.agregarNodo(nTemp51);\r\n \r\n Producto puredetomate52 = new Producto (\"pure de tomate\", \" la costeña\", 12.99, 2);\r\n Nodo<Producto> nTemp52 = new Nodo (puredetomate52);\r\n listaSoriana.agregarNodo(nTemp52);\r\n \r\n Producto lentejas53 = new Producto (\"lentejas\", \"la granjita\", 8.99, 2);\r\n Nodo<Producto> nTemp53 = new Nodo (lentejas53);\r\n listaSoriana.agregarNodo(nTemp53);\r\n \r\n Producto zuko54 = new Producto (\"zuko\", \"zuko\", 2.99, 2);\r\n Nodo<Producto> nTemp54 = new Nodo (zuko54);\r\n listaSoriana.agregarNodo(nTemp54);\r\n \r\n Producto champu55 = new Producto (\"champu\", \"loreal\", 32, 3);\r\n Nodo<Producto> nTemp55 = new Nodo (champu55);\r\n listaSoriana.agregarNodo(nTemp55);\r\n \r\n Producto champu56 = new Producto (\"champu\", \"el risueño\", 29.99, 3);\r\n Nodo<Producto> nTemp56 = new Nodo (champu56);\r\n listaSoriana.agregarNodo(nTemp56);\r\n \r\n Producto desodorante57 = new Producto (\"desodorante\", \"nivea\", 23.50, 3);\r\n Nodo<Producto> nTemp57 = new Nodo (desodorante57);\r\n listaSoriana.agregarNodo(nTemp57);\r\n \r\n Producto pastadedientes58 = new Producto(\"pasta de dientes\", \"colgate\", 17.50, 3);\r\n Nodo<Producto> nTemp58 = new Nodo (pastadedientes58);\r\n listaSoriana.agregarNodo(nTemp58);\r\n \r\n Producto pastadedientes59 = new Producto (\"pasta de dientes\", \"el diente blanco\", 29, 3);\r\n Nodo<Producto> nTemp59 = new Nodo (pastadedientes59);\r\n listaSoriana.agregarNodo(nTemp59);\r\n \r\n Producto rastrillos60 = new Producto (\"rastrillos\", \"el filosito\", 33.99, 3);\r\n Nodo<Producto> nTemp60 = new Nodo (rastrillos60);\r\n listaSoriana.agregarNodo(nTemp60);\r\n \r\n Producto rastrillos61 = new Producto (\"rastrillos\", \"barba de oro\", 23.99, 3);\r\n Nodo<Producto> nTemp61 = new Nodo (rastrillos61);\r\n listaSoriana.agregarNodo(nTemp61);\r\n \r\n Producto hilodental62 = new Producto (\"hilo dental\", \"el diente blanco\", 32.99, 3);\r\n Nodo<Producto> nTemp62 = new Nodo (hilodental62);\r\n listaSoriana.agregarNodo(nTemp62);\r\n \r\n Producto cepillodedientes63 = new Producto (\"cepillo de dientes\", \"OBBM\", 17.99, 3);\r\n Nodo<Producto> nTemp63 = new Nodo (cepillodedientes63);\r\n listaSoriana.agregarNodo(nTemp63);\r\n \r\n Producto cloro64 = new Producto (\"cloro\", \"cloralex\", 23.50, 3);\r\n Nodo<Producto> nTemp64 = new Nodo (cloro64);\r\n listaSoriana.agregarNodo(nTemp64);\r\n \r\n Producto acondicionador65 = new Producto (\"acondicionador\", \"sedal\", 28.99, 3);\r\n Nodo<Producto> nTemp65 = new Nodo (acondicionador65);\r\n listaSoriana.agregarNodo(nTemp65);\r\n \r\n Producto acondicionador66 = new Producto (\"acondicionador\", \"pantene\", 23.99, 3);\r\n Nodo<Producto> nTemp66 = new Nodo (acondicionador66);\r\n listaSoriana.agregarNodo(nTemp66);\r\n \r\n Producto pinol67 = new Producto(\"pinol\", \"mi piso limpio\", 15, 3);\r\n Nodo<Producto> nTemp67 = new Nodo (pinol67);\r\n listaSoriana.agregarNodo(nTemp67);\r\n \r\n Producto pinol68 = new Producto (\"pinol\", \"eficaz\", 18.99, 3);\r\n Nodo<Producto> nTemp68 = new Nodo (pinol68);\r\n listaSoriana.agregarNodo(nTemp68);\r\n \r\n Producto tortillas69 = new Producto (\"tortillas\", \"maizena\", 8.99, 2);\r\n Nodo<Producto> nTemp69 = new Nodo (tortillas69);\r\n listaSoriana.agregarNodo(nTemp69);\r\n \r\n Producto cremaparacuerpo70 = new Producto (\"crema para cuerpo\", \"dove\", 13.50, 3);\r\n Nodo<Producto> nTemp70 = new Nodo (cremaparacuerpo70);\r\n listaSoriana.agregarNodo(nTemp70);\r\n \r\n Producto maizoro71 = new Producto (\"maizoro\", \"special k\", 35.99, 2);\r\n Nodo<Producto> nTemp71 = new Nodo (maizoro71);\r\n listaSoriana.agregarNodo(nTemp71);\r\n \r\n Producto maizoro72 = new Producto (\"maizoro\",\"azucaradas\", 43, 2);\r\n Nodo<Producto> nTemp72 = new Nodo (maizoro72);\r\n listaSoriana.agregarNodo(nTemp72);\r\n \r\n Producto zanahoria73 = new Producto (\"zanahoria\", \"el huertito\", 12.99, 0);\r\n Nodo<Producto> nTemp73 = new Nodo (zanahoria73);\r\n listaSoriana.agregarNodo(nTemp73);\r\n \r\n Producto maizoro74 = new Producto (\"maizoro\", \"cherrios\", 45, 2);\r\n Nodo<Producto> nTemp74 = new Nodo (maizoro74);\r\n listaSoriana.agregarNodo(nTemp74);\r\n \r\n Producto mayonesa75 = new Producto (\"mayonesa\", \"helmans\", 23, 2);\r\n Nodo<Producto> nTemp75 = new Nodo (mayonesa75);\r\n listaSoriana.agregarNodo(nTemp75);\r\n }",
"public static void init() {\n\t\tdrive = Drive.getInstance();\n\t\toi = OI.getInstance();\n\t\tshooter = Shooter.getInstance();\n\t\tarmservo = ArmServo.getInstance();\n\t\t//pneumatic = Pneumatic.getInstance();\n\t\tarmMotor = ArmMotor.getInstance();\n\t\tramp = RampMotor.getInstance();\n\t\tif(shooter == null) {\n\t\t\tSystem.out.println(\"Shooter in NULL in init\");\n\t\t}\n\t\t\n\t}",
"private void init() {\n\n\n\n }",
"public void GameInit() {\n ufot = new ArrayList();\n kuti = new Kuti();\n pelaaja = new Pelaaja();\n ufokuti = new UfoKuti();\n ufokuti.setVisible(false);\n kuti.setVisible(false);\n grafiikka = new Grafiikka(this);\n grafiikka.asetaKuvaRajahdykselle();\n grafiikka.asetaKuvaPelaajalle(grafiikka.pelaajaIcon(pelaaja), pelaaja);\n asetaUfotRiveihin();\n ufokutiInit();\n }",
"private void init() {\n\n\t}",
"public static void main (String[] arg){\n\n Personnage[] tpers = {new Guerrier(),new Sniper(),new Chirirugien(),new Medecin(), new Civil()};\n\n for (Personnage p : tpers) {\n\n System.out.println(\"\\t Instancier de\" +p.getClass().getName());\n System.out.println(\"********************************\");\n p.seDeplacer();\n p.soigne();\n p.combattre();\n\n\n }\n System.out.println(\"********************************\");\n Personnage pers = new Guerrier();\n pers.soigne();\n pers.setSoin(new Operation(\n\n ));\n pers.soigne();\n }",
"public static void main(String[] args) {\nPhone iphone=new iPhone();\niphone.call();\niphone.text();\niphone.takePicture();\niphone.playMusic();\n\nPhone samsung=new Samsung();\nsamsung.call();\nsamsung.text();\nsamsung.takePicture();\nsamsung.playMusic();\n\n\n}",
"private synchronized void init(){\n _2_zum_vorbereiten.addAll(spielzeilenRepo.find_B_ZurVorbereitung());\n _3_vorbereitet.addAll(spielzeilenRepo.find_C_Vorbereitet());\n _4_spielend.addAll(spielzeilenRepo.find_D_Spielend());\n }",
"public JogoBatalhaNaval() {\n initComponents();\n batalhaNaval = new BatalhaNaval();\n batalhaNaval.sortearNavios();\n batalhaNaval.dica();\n }",
"public static void main(String[] args) {\n\r\n\t\thomeloan hl = new homeloan();\r\n\t\thomeloan h2 = new homeloan();\r\n\t\t\r\n\t\t\r\n\t}",
"public VistaAllLotes() {\n initComponents();\n controlFinca = new ControlFincas();\n controlLote = new ControLotes();\n ListamodeloLotes = new ArrayList<>();\n EncabezadoTblLotes = new String[]{\n \"No\",\"Bloque\", \"Número\", \"Área Total\", \"Fuente Hidrica\", \"Modificar\", \"Eliminar\"\n };\n lblId_Bloque.setVisible(false);\n modeloLotes = new ModeloLotes();\n idFinca = \"\";\n AreaBloque = \"\";\n fila = -1;\n CargarListaFincas();\n CargarListaFuentesHidricas();\n LimpiarFomulario();\n InicializarTblLotes();\n }",
"public static void main(String[] args) {\n\t\tExtraTerestru ext = new ExtraTerestru();\r\n\t\tExtraTerestru.IntraTerestru ext1 = ext.new IntraTerestru();\r\n\t\t\r\n\t\t// instantiere clasa inner dintr o clasa care extinde clasa mama\r\n\t\tExtraTerestru2 ext2 = new ExtraTerestru2();\r\n\t\tExtraTerestru2.IntraTerestru ext3 = ext2.new IntraTerestru();\r\n\t\t\r\n\t\t// instantiere clasa inner ver. 2\r\n\t\tExtraTerestru.IntraTerestru ext4 = new ExtraTerestru().new IntraTerestru();\r\n\t}",
"@Override\r\n\tpublic void buildImpl() {\n\t\tint nbLasers =(int)Math.ceil((double)lanesPerLink.length / (double)linksPerLaser);\r\n\t\tlasers = new Laser[nbLasers];\r\n\t\tpoweredChannelForLaserI = new int[nbLasers];\r\n\t\tpoweredHorizonForLaserI = new double[nbLasers];\r\n\t\tcanBeExtended = new boolean[nbLasers];\r\n\t\tboolean timeLine = lue.isWithTimeLine();\r\n\t\tfor (int i = 0; i < nbLasers ; i++) {\r\n\t\t\tlasers[i] = laserTemplate.getCopy(i, nbLasers, timeLine);\r\n\t\t\tlasers[i].setLinkUtilisationExperiment(lue);\r\n\t\t}\r\n\t}",
"public Library() {\n books = new Book[0];\n numBooks = 0;\n }",
"private static void pruebas() {\n\t\tResultadosDaoImpl resultadosDao = new ResultadosDaoImpl();\r\n\t\tPartidosDaoImpl partidosDao = new PartidosDaoImpl();\r\n\t\tEquiposDaoImpl equiposDao = new EquiposDaoImpl();\r\n\t\tJornadasDaoImpl jornadasDao = new JornadasDaoImpl();\r\n\t\tEstadisticasDaoImpl estadisticasDao = new EstadisticasDaoImpl();\r\n\t\t\r\n//\t\tLong goles = resultadosDao.getGolesTotalesCasa();\r\n\t\t\r\n\t\tEquipos equipoC = equiposDao.getEquipoById(7);\r\n\t\tEquipos equipoF = equiposDao.getEquipoById(6);\r\n\t\tJornadas jornada = jornadasDao.nextJornada();\r\n//\t\t\r\n//\t\tpartidosDao.getPartidosCasa(equipo,jornada);\r\n\t\t\r\n//\t\tLong goles = resultadosDao.getGolesFavorCasa(equipo);\r\n\t\t\r\n//\t\tLong goles = resultadosDao.getGolesContraFuera(equipo);\r\n//\t\tdouble phiVM = staticsC.getValorMercado() / (estadisticasDao.getValorMercadoMedio());\r\n\t\t\r\n\t\tEstadisticas staticsC = estadisticasDao.getStatics(equipoC);\r\n\t\tEstadisticas staticsF = estadisticasDao.getStatics(equipoF);\r\n\t\t\r\n\t\tDouble phiF = PlayMethods.analizeStaticsFuera(staticsF,staticsC,jornada);\r\n\t\tDouble phiC = PlayMethods.analizeStaticsCasa(staticsC,staticsF,jornada);\r\n\t\t\r\n\t\t\r\n\t}",
"public static void getLibrary(String user, UsoApi<ArrayList> needResult)\n {\n final String[] response = new String[1];\n final SyncHttpClient client = new SyncHttpClient();\n client.setTimeout(5000);\n\n\n String api = host + \"/library/\" + user;\n\n client.get(api,\n new TextHttpResponseHandler() {\n @Override\n public void onSuccess(int statusCode, Header[] headers, final String res) {\n response[0] = res;\n }\n\n @Override\n public void onFailure(int statusCode, Header[] headers, final String res, Throwable t) {\n response[0] = res;\n }\n }\n );\n\n ArrayList<BibliotecaTab.BiblioItem> items = new ArrayList<>();\n\n JsonArray listas = new JsonParser().parse(response[0]).getAsJsonObject().get(\"listas\").getAsJsonArray();\n BibliotecaTab.BiblioItem title1 = new BibliotecaTab.BiblioItem();\n title1.tipo = BibliotecaTab.BiblioItem.TITLE;\n title1.title = \"Tus listas de reproducción\";\n items.add(title1);\n\n if(listas.size() == 0)\n {\n BibliotecaTab.BiblioItem title3 = new BibliotecaTab.BiblioItem();\n title3.tipo = BibliotecaTab.BiblioItem.NOTHING;\n title3.title = \"No tienes ninguna lista de reproducción\";\n items.add(title3);\n }\n for(int i=0; i<listas.size(); i++) {\n BibliotecaTab.BiblioItem biblioItem = new BibliotecaTab.BiblioItem();\n biblioItem.tipo = BibliotecaTab.BiblioItem.PLAYLIST;\n Lista lista = new Lista(listas.get(i).getAsJsonObject());\n biblioItem.lista = lista;\n items.add(biblioItem);\n }\n\n JsonArray marchas = new JsonParser().parse(response[0]).getAsJsonObject().get(\"marchas\").getAsJsonArray();\n BibliotecaTab.BiblioItem title2 = new BibliotecaTab.BiblioItem();\n title2.tipo = BibliotecaTab.BiblioItem.TITLE;\n title2.title = \"Tus marchas más escuchadas\";\n items.add(title2);\n if(marchas.size() == 0)\n {\n BibliotecaTab.BiblioItem title3 = new BibliotecaTab.BiblioItem();\n title3.tipo = BibliotecaTab.BiblioItem.NOTHING;\n title3.title = \"Aún no has escuchado ninguna marcha :(\";\n items.add(title3);\n }\n for(int i=0; i<marchas.size(); i++) {\n BibliotecaTab.BiblioItem biblioItem = new BibliotecaTab.BiblioItem();\n biblioItem.tipo = BibliotecaTab.BiblioItem.SONG;\n Marcha marcha = new Marcha(marchas.get(i).getAsJsonObject());\n biblioItem.marcha = marcha;\n items.add(biblioItem);\n }\n\n needResult.result(items);\n }",
"public static void main(String[] args) {\n\n TurkishTourist client=new TurkishTourist();\n\n BritishGuide adaptee1=new BritishGuide();\n\n BritishTranslator adapter1=new BritishTranslator(adaptee1);\n\n client.listenTranslator(adapter1);\n\n\n System.out.println();\n\n /**\n * Factory design pattern part\n */\n Organizer britishOrg=new BritishOrganizer();\n Organizer greekOrg=new GreekOrganizer();\n\n System.out.println(((BritishOrganizer) britishOrg).getRace()+\" organizator called translator for business\");\n Translator translator1=britishOrg.callTranslator(TranslatorLevel.EXPERT);\n\n\n System.out.println(((GreekOrganizer) greekOrg).getRace()+\" organizator called translator for business\");\n translator1=greekOrg.callTranslator(TranslatorLevel.JUNIOR);\n\n\n\n\n\n\n\n }",
"private void init() {\n display = new Display(title, getWidth(), getHeight()); \n Assets.init();\n player = new Player(getWidth() / 2 - 50, getHeight() - 50, 100, 30, this);\n rayo = new Rayo(getWidth() / 2 - 10, player.y - player.height , 10, 30, 0, 0, this);\n borrego = new Borrego(-80, 60 , 50, 20, 0, 0, this);\n generateEnemies();\n generateFortalezas();\n bombas= new ArrayList<Bomba>();\n \n \n display.getJframe().addKeyListener(keyManager);\n }",
"private void inicializarVariablesControlRonda() {\n\t\ttieneAs = new int[4];\n\t\tfor(int i=0;i<tieneAs.length;i++) {\n\t\t\ttieneAs[i]=0;\n\t\t}\n\t\tidJugadores = new String[3];\n\t\tvalorManos = new int[4];\n\t\t\n\t\tmazo = new Baraja();\n\t\tCarta carta;\n\t\tganador = new ArrayList<String>();\n\t\tapuestasJugadores = new int[3];\n\t\tmanoJugador1 = new ArrayList<Carta>();\n\t\tmanoJugador2 = new ArrayList<Carta>();\n\t\tmanoJugador3 = new ArrayList<Carta>();\n\t\tmanoDealer = new ArrayList<Carta>();\n\t\tparejaNombreGanancia = new ArrayList<Pair<String,Integer>>(); \n\t\t\n\t\t// gestiona las tres manos en un solo objeto para facilitar el manejo del hilo\n\t\tmanosJugadores = new ArrayList<ArrayList<Carta>>(4);\n\t\tmanosJugadores.add(manoJugador1);\n\t\tmanosJugadores.add(manoJugador2);\n\t\tmanosJugadores.add(manoJugador3);\n\t\tmanosJugadores.add(manoDealer);\n\t\t// reparto inicial jugadores 1 y 2\n\t\tfor (int i = 1; i <= 2; i++) {\n\t\t\tcarta = mazo.getCarta();\n\t\t\tmanoJugador1.add(carta);\n\t\t\tcalcularValorMano(carta, 0);\n\t\t\tcarta = mazo.getCarta();\n\t\t\tmanoJugador2.add(carta);\n\t\t\tcalcularValorMano(carta, 1);\n\t\t\tcarta = mazo.getCarta();\n\t\t\tmanoJugador3.add(carta);\n\t\t\tcalcularValorMano(carta, 2);\n\t\t}\n\t\t// Carta inicial Dealer\n\t\tcarta = mazo.getCarta();\n\t\tmanoDealer.add(carta);\n\t\tcalcularValorMano(carta, 3);\n\n\t\t\n\t}",
"public static void main(String [] args) {\n Guru guru = new Guru();\n\n guru.id = 1;\n guru.nik = \"18630958\";\n guru.nama = \"Rizka Oktaviyani\";\n guru.nilai = 3.6;\n guru.alamat = \"Banjarbaru\";\n guru.tampilData();\n\n Guru guru1 = new Guru(2,\"18630011\", \"Ananda\", 3.1, \"Banjarbaru\");\n guru1.tampilDataDenganGaris( \"---------------------------\");\n\n\n double hasilReturnValue = guru.getNilai();\n System.out.println(\"Hasil return value : \" + hasilReturnValue);\n\n// guru.tampilDataDenganGaris(\"===========================\");\n// guru.tampilDataDenganGaris(\"***************************\");\n// guru.hitungLuasPersegiPanjang(5,3);\n// guru.hitungLuasPersegiPanjang(7,3);\n// guru.hitungLuasPersegiPanjang(8,4);\n// guru.hitungLuasPersegiPanjang(9,2);\n }",
"public static void main(String[] args) {\n Ator a = new Ator(\"Alberto\");\r\n Ator b = new Ator(\"Vagner moura\");\r\n Ator c = new Ator(\"Ator 1\");\r\n\r\n Filme f= new Filme(\"Tropa de elite\", 2011);\r\n\r\n f.addPapel(a,\"papel 1\", false);\r\n f.addPapel(b,\"papel 2\", true);\r\n f.addPapel(c,\"papel 3\", true);\r\n\r\n\r\n System.out.println(a.getFilmes());\r\n /*System.out.println(f.getProtagonista());\r\n System.out.println(f);\r\n System.out.println(a);\r\n System.out.println(b);\r\n System.out.println(c);*/\r\n\r\n\r\n }",
"public static void main(String[] args) {\nDesktop desk=new Desktop();\r\ndesk.hardWareResources();\r\ndesk.softwareWareResources();\r\ndesk.deskTopModel();\r\n\r\n\t\t\r\n\t\t\r\n\t}",
"public static void main(String[] args){\n //uso correcto de git aaaaa por fin lo comprendi, bueno, por ahora :/...\n\n Perro dog = new Perro(\"Teddy\", \"Callejero\", \"Croquetas\", 2, \"Fuerte\");\n Gato cat = new Gato(\"Miau\", \"Hogareño\", \"Atún\", 1, 7);\n //Perico\n Perico parrot = new Perico(\"Pericles\", \"Loro gris\", \"Galletas\", 1, \"Saludos humanos\");\n //Hamster\n Hamster ham = new Hamster(\"Hamilton\", \"Hamster chino\", \"Apio\", 4, \"Morado\");\n //No recuerdo lol...\n\n //los metodos\n dog.mostrarPerro();\n System.out.println(\"-------\");\n cat.mostrarGato();\n System.out.println(\"-------\");\n parrot.mostrarPerico();\n System.out.println(\"-------\");\n ham.mostrarHamster();\n System.out.println(\"_______\");\n \n }",
"public static void main(String[] args) {\n\t\tFG rectangle = new intf(20.0,30.0);\r\n\t\tFG tamgiac = new Tamgiac(5.0,5.0,6.0);\r\n\t\tFG hinhtron = new hinhtron(10);\r\n\t\trectangle.println();\r\n\t\ttamgiac.println();\r\n\t\thinhtron.println();\r\n\t\t\r\n\t\t\r\n\t\t\r\n}"
] |
[
"0.71734434",
"0.6649573",
"0.6559195",
"0.6472367",
"0.6360739",
"0.6220382",
"0.6212788",
"0.6206182",
"0.6169908",
"0.61641496",
"0.6159041",
"0.6053376",
"0.6053214",
"0.60081005",
"0.5980595",
"0.59796095",
"0.5908153",
"0.5830948",
"0.5787408",
"0.57663035",
"0.5758185",
"0.57415295",
"0.5726245",
"0.5713389",
"0.56488365",
"0.5643839",
"0.5623136",
"0.56141657",
"0.5608562",
"0.55888075",
"0.55868894",
"0.55835474",
"0.55419713",
"0.55341583",
"0.5527504",
"0.5525956",
"0.5517732",
"0.54741704",
"0.5472257",
"0.5471293",
"0.54520154",
"0.5448477",
"0.5443953",
"0.54407877",
"0.541745",
"0.541487",
"0.5407756",
"0.53911316",
"0.538342",
"0.53810614",
"0.5379898",
"0.53684384",
"0.53617513",
"0.53583556",
"0.53375614",
"0.533364",
"0.53278446",
"0.5327706",
"0.5327614",
"0.5322402",
"0.5318511",
"0.5316412",
"0.53119236",
"0.5284843",
"0.527594",
"0.527329",
"0.52729005",
"0.52558756",
"0.52546334",
"0.5252091",
"0.52520174",
"0.524845",
"0.52476186",
"0.52423584",
"0.5226262",
"0.521652",
"0.5212536",
"0.5209638",
"0.5200368",
"0.51907074",
"0.5182349",
"0.5175121",
"0.51731706",
"0.5168283",
"0.516711",
"0.5164137",
"0.5162018",
"0.51607937",
"0.5160458",
"0.51574486",
"0.51565003",
"0.5154458",
"0.515261",
"0.5150765",
"0.51485294",
"0.51480514",
"0.5138892",
"0.5137937",
"0.5136711",
"0.5136689"
] |
0.6439442
|
4
|
WhiteSpace passing the validation solve
|
@InitBinder
public void initBinder(WebDataBinder dataBinder) {
StringTrimmerEditor stringTrimmerEditor = new StringTrimmerEditor(true); // true - trim to null if the input has just white spaces
//remove the leading and trailing whitespace
dataBinder.registerCustomEditor(String.class, stringTrimmerEditor);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"Rule WhiteSpace() {\n return ZeroOrMore(AnyOf(\" \\n\\r\\t\\f\"));\n }",
"@Test\r\n\t\tpublic void testParseNoWhitespace() {\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\tdriver.findElement(By.id(\"code_code\")).sendKeys(\"a = 5\\nb = 6\\nc = a + (b * 4)\");;\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\tWebElement submitButton = driver.findElement(By.xpath(\"(//input[@name='commit'])[2]\"));\r\n\t\t\tsubmitButton.click();\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tWebElement e = driver.findElement(By.tagName(\"code\"));\r\n\t\t\t\tString elementText = e.getText();\r\n\t\t\t\tassertFalse(elementText.contains(\":on_sp\") || elementText.contains(\":op_nl\"));\r\n\t\t\t} catch (NoSuchElementException nseex) {\r\n\t\t\t\tfail();\r\n\t\t\t}\r\n\t\t}",
"@Test\n void testWhiteSpace() {\n assertEquals(1, Calculator.calculate(\" 5 - 4\"));\n }",
"@Test\r\n\t\tpublic void testTokenizeWhitespace() {\r\n\t\t\t\r\n\t\t\tdriver.findElement(By.id(\"code_code\")).sendKeys(\"a = 5\\nb = 6\\nc = a + (b * 4)\");;\r\n\t\t\t\r\n\t\t\tWebElement submitButton = driver.findElement(By.name(\"commit\"));\r\n\t\t\tsubmitButton.click();\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tWebElement e = driver.findElement(By.tagName(\"code\"));\r\n\t\t\t\tString elementText = e.getText();\r\n\t\t\t\tassertTrue(elementText.contains(\":on_sp\"));\r\n\t\t\t} catch (NoSuchElementException nseex) {\r\n\t\t\t\tfail();\r\n\t\t\t}\r\n\t\t}",
"@Test\r\n\tpublic void testParseSpace() {\r\n\r\n\t\t// Enter the code\r\n\r\n\t\tdriver.findElement(By.name(\"code[code]\"))\r\n\t\t\t\t.sendKeys(\"the_best_cat = \\\"Noogie Cat\\\"\\nputs \\\"The best cat is: \\\" + the_best_cat\");\r\n\r\n\t\t// Look for the \"Parse\" button and click\r\n\r\n\t\tdriver.findElements(By.name(\"commit\")).get(1).click();\r\n\r\n\t\t// Check that there contains space and newlines\r\n\r\n\t\ttry {\r\n\t\t\tWebElement code = driver.findElement(By.tagName(\"code\"));\r\n\t\t\tassertFalse(code.getText().contains(\":op_nl\"));\r\n\t\t\tassertFalse(code.getText().contains(\":op_sp\"));\r\n\t\t} catch (NoSuchElementException nseex) {\r\n\t\t\tfail();\r\n\t\t}\r\n\t}",
"@Test\n public void shouldMatchBreakingWhitespace(){\n Assert.assertThat(\"match any breaking white space\",CharMatcher.BREAKING_WHITESPACE.matchesAnyOf(\"\\n\\r\"),is(true));\n }",
"private void valida(String str)throws Exception{\n\t\t\t\n\t\t\tif(str == null || str.trim().isEmpty()){\n\t\t\t\tthrow new Exception(\"Nao eh possivel trabalhar com valores vazios ou null.\");\n\t\t\t}\n\t\t\n\t\t}",
"@Test\n public void spacesInKeywordTest() {\n tester.correct(\"Laaa Laaa Laaaa Li\" );\n }",
"private boolean checkInputContent(String contents){\n try {\n char[] temC = contents.toCharArray();\n for (int i=0;i<temC.length;i++) {\n char mid = temC[i];\n if(mid>=48&&mid<=57){//数字\n continue;\n }\n if(mid>=65&&mid<=90){//大写字母\n continue ;\n }\n if(mid>=97&&mid<=122){//小写字母\n continue ;\n }\n// temp.replace(i, i+1, \" \");\n return false;\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return true;\n }",
"public void testRegEx(){\n\t\tString emptyLineRegEx = \"\\\\s*\";\r\n\t\t\r\n\t\tassertTrue(\"\".matches(emptyLineRegEx));\r\n\t\tassertTrue(\" \".matches(emptyLineRegEx));\r\n\t\tassertTrue(\"\\n\".matches(emptyLineRegEx));\r\n\t\tassertTrue(\"\\t\".matches(emptyLineRegEx));\r\n\t\tassertTrue(\"\\r\".matches(emptyLineRegEx));\r\n\t\tassertTrue(\"\\n \\t \".matches(emptyLineRegEx));\r\n\t\tassertTrue(\" \\n \\t \\n\\n\\n \".matches(emptyLineRegEx));\r\n\t\tassertFalse(\" . \\n \".matches(emptyLineRegEx));\r\n\t\t\r\n\t\t// space or tab any number of times\r\n\t\tString spaceTabRegEx = \"[ \\t]*\";\r\n\t\t\r\n\t\tassertTrue(\"\".matches(spaceTabRegEx));\r\n\t\tassertTrue(\" \".matches(spaceTabRegEx));\r\n\t\tassertTrue(\"\\t\".matches(spaceTabRegEx));\r\n\t\tassertTrue(\" \".matches(spaceTabRegEx));\r\n\t\tassertTrue(\"\\t\\t\".matches(spaceTabRegEx));\r\n\t\tassertTrue(\" \\t \\t \\t \".matches(spaceTabRegEx));\r\n\t\tassertFalse(\"\\n\".matches(spaceTabRegEx));\r\n\t\tassertFalse(\" l \".matches(spaceTabRegEx));\r\n\t\tassertFalse(\"\\t\\n\".matches(spaceTabRegEx));\r\n\t\t\r\n\t\t\r\n\t\t//Nucleotide sequence\r\n\t\tString ntRegEx = \"[ACGTacgt]+\";\r\n\t\t\r\n\t\tassertTrue(\"CAGTATGCATACC\".matches(ntRegEx));\r\n\t\tassertTrue(\"CTTATTTCAGGAAAATTTTTTCAAAACTGTAAAACAAAAACCATTTTTCACAGAATCTAAGGGTATCTGAAAGCTTAAAATAACTTCAGAAAGATATCAATTCCAGCTGTTTAGTACCTGAACTGTCTGTAAACGTTTCTTCTCGAATTATAGAAAATTTTCCACTTTTTCAAGTTCAGGTTTTCAAGAAACCCCACGATTTCCACTCATCGTTTCCAATGTCCAATTTCCCATCCAATTTGCCGCACTCTGACCCAATGACTTGTTCCTTTGCCAATCAATGCTACCTAATAAATTTAAAAGTTTAACACGCATCCAATTGACACACAGGTAACCGCCCTTTCTTCTTTTACATAATTCGGAAACTTCAAAGAGCCGAAGGTGTCGGTTGTAGCAGCAGCGGAGGAACGGATGCCAATTGCGCAACTCTCGGCTCAACTCTTTTAGTGCTCCGAGAGCAGGAAGAAGAATACTGTTGGGTTGTAATAAAGACGGATGTTTTTGTTCAGAGTAGATTAGCTCGTGTTTGATTGGATTTGACCGGATCAAGAGGGGAATGTCCTGGTGGAATTAAATTTTATTAGAATAAATTGTATTTGGTGTTTAAATTCGAATCAATAATATTTATGAGCTTTAATGAATAAGTGTTAGATTATATAATTCTATAATTTTTGAACAAGCAATTCAAAAAGAAAACAAATTTTAGTAACCTCCGAAATCAAGCTGGGTGGCCTCTAGAAGTTTTGAAAAAACTTTTTTTATATTCTGTTGGAGTTTTTTTAAGTTTTATAATTATAGGTTAATCTTTCTAATTTGTAAGCTTTTTCTTAACCAATTTTTTTTGTTAACATTTTTTTGGAATTATGCTATATGACCTATACCTAAAACAGTTTAAAAGTTTAAAAAAATTTTCTATATTTTTCACTTCGTATTGAACCTCCTGGGTACATATATTGACAGCACATATCTTGTTTGTCTCAGATTTTATCAAATAAGTTTAACAAGTAAACCATGCACCAAATATTTTTCTAGGTCTCTGTAGTTAGGAAATATTTAATAAAAATAAAAATAACCGAGATATGAGCCATCAAAGTAGATCAATTAAGGCACAGGAAAAAAGATCTGAATAAAATCGAAGTTCTTAAAAATATAAATCAAACAAAATTTTTTCCAGAATTTCAGCCGAGAATTTCCAGCCGATTTGTTTATATTTTCCACATCACTCCCCACACTTCTCTCACACAAACACGATAAAATCTTGAGAAGCAATTAGCGCCAATCAACTCAACACAAAAACGAAAAGCCAACGAAAAGCTAAAGCTATCATCGTTGTCGCGTCTATGAGCAACTCAATCGTTCATCATCCTCATCTTCAGAGTGCTCAAACCTACCGTAACCCGAATTGGGCGGAGCCAAAGGGTCCGAAACAGTGCACCAGGGCGGGGAGGGACCCTGAGAAACGAGAGGGAAGTGAGCAATTGTTGAAGTGTCAGTTGTGCTCATCGAGGTCCGATGAAGAGACGCGCCTGCTCACCTACACAACTGACTTCCCCCATATACCTTTTTCTAGAATTTCCTTTTTTAGATTTATACGGTCAGGTAAAAAGGTAGAGTTTTACAGTGTAGAAATTAGGAAATTGCTCAAAAAGCCGAGCAGAATGCATATAAGAAGTACCATAGCCCCAAAGATTCGATTTTCCAGGGTTCAATCAATTTTTGTACTTTGACAGCGTATATCTCAGTTTTCTTTGATTTTATCAAAAACTAGTCAACTGACAAAATACTTGAAAAGTATTCCTTTATATTTTGGTAGCTGACCATTGTTTGTTAAAATATAAGGGAATCGAAATGTCGGTTATCAAAGTAGAACCTAACCTAAATCGCTATATATGCTATTTTTCAAAAAAAAAAACACGTTTTACTTTGTCTCAACTTATTAATATTCTTTAATATTTTTTCTATTTCTACCATTTTCCAAATTTTCCAATAATTTTCCAGAA\".matches(ntRegEx));\r\n\t\tassertTrue(\"cagtagta\".matches(ntRegEx));\r\n\t\tassertTrue(\"aCgtTG\".matches(ntRegEx));\r\n\t\tassertFalse(\"a CgtTG\".matches(ntRegEx));\r\n\t\tassertFalse(\"aCXtTG\".matches(ntRegEx));\r\n\t\tassertFalse(\"a.CgtTG\".matches(ntRegEx));\r\n\t\tassertFalse(\"a1CgtTG\".matches(ntRegEx));\r\n\t\tassertFalse(\"aNCgtTG\".matches(ntRegEx));\r\n\t\tassertFalse(\"AGTATAATGACAACTTACAAAzTTGGGAAATCTGGAAAACCGAGC\".matches(ntRegEx));\r\n\t\t\r\n\t\t//PWM line \r\n\t\t// unicode for | is \\u007C\r\n\t\t// space: \\u0020\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"\\u007C\");\r\n\r\n\t\tString pwmRexEx = \"[ACGT][\\\\t ]+\\\\|([\\\\t ]+[0-9]+)+\";\r\n\t\t\r\n\t\tassertTrue(\"G\t|\t12 \t2\t 2343\".matches(pwmRexEx));\r\n\t\tassertTrue(\"A | 1 2 3\".matches(pwmRexEx));\r\n\t\tassertTrue(\"C | 11 2234 3\".matches(pwmRexEx));\r\n\t\tassertTrue(\"T |\t1\t12\t3123\".matches(pwmRexEx));\r\n\t\tassertTrue(\"A\t|\t49\t0\t288\t26\t77\t67\t45\t50\".matches(pwmRexEx));\r\n\t\tassertTrue(\"A\\t|\\t49\\t0\\t288\\t26\\t77\\t67\\t45\\t50\".matches(pwmRexEx));\r\n\t\tassertFalse(\"a | 1 2 3\".matches(pwmRexEx));\r\n\t\tassertFalse(\"A |\\n 1 2 3\".matches(pwmRexEx));\r\n\t\tassertFalse(\"A 1 2 3\".matches(pwmRexEx));\r\n\t\tassertFalse(\"A |\t1 C 3\".matches(pwmRexEx));\r\n\t\tassertFalse(\"C |1 2 3\".matches(pwmRexEx));\r\n\t\t\r\n\t\t\r\n\t\t// fasta sequence name\r\n\t\t\r\n\t\tString fastaNameSeqRegEx = \">[ \\t]*\\\\w+.*\"; \r\n\t\t\r\n\t\tassertTrue(\"> name \".matches(fastaNameSeqRegEx));\r\n\t\tassertTrue(\">name\".matches(fastaNameSeqRegEx));\r\n\t\tassertTrue(\">\\t name\\t\".matches(fastaNameSeqRegEx));\r\n\t\tassertTrue(\"> name123 stuf\\t12342 \\t\".matches(fastaNameSeqRegEx));\r\n\t\tassertTrue(\">check sda\".matches(fastaNameSeqRegEx));\r\n\t\tassertTrue(\"> negExSeq_0_B0304.1\".matches(fastaNameSeqRegEx));\r\n\t\t\r\n\t\tassertFalse(\"\".matches(fastaNameSeqRegEx));\r\n\t\tassertFalse(\" > name \".matches(fastaNameSeqRegEx));\r\n\t\tassertFalse(\">\\tname\\t\\n\".matches(fastaNameSeqRegEx));\r\n\t\tassertFalse(\">\\t\".matches(fastaNameSeqRegEx));\r\n\t\t\r\n\t\t\r\n\t\t//fasta file sequence\r\n\t\t\r\n\t\tString oneFastaSection = \"\\\\s*\" + fastaNameSeqRegEx + \"\\\\s*\\n+\" + \"[ACGTacgt]+\" ;\r\n\t\tString fastaSeqRegEx = \"(\" + oneFastaSection + \"[ \\t\\r]*\\n\" + \")*\" + oneFastaSection + \"\\\\s*\" ;\r\n\t\t\r\n\t\tassertTrue(\"> Y105E8B.1c\\nacgtacgtacggttacCTTACAAAATTGGGAAATCTGGAAAACCGAGC\".matches(fastaSeqRegEx));\r\n\t\tassertTrue(\"> negExSeq_0_B0304.1\\nCCACGCTTGATATATGGA\\n\".matches(fastaSeqRegEx));\r\n\t\tassertTrue(\"> negExSeq_0_B0304.1\\nCCACGCTTGATATATGGAAGCGTACAACAGGCATTATTCCATC\\n>C02B8.4\\nCTTATTTCAGGAAAATTTTTTCAAA\".matches(fastaSeqRegEx));\r\n\t\tassertTrue(\"\\t\\t\\t\\t\\t\\n> negExSeq_0_B0304.1\\nCCACGCTTGATATATGGAAGCGTACAACAGGCATTATTCCATC\\n\\t\\t\\t\\t\\n> C02B8.4\\nCTTATTTCAGGAAAATTTTTTCAAAA\\n\\t\\t \\n \\t\".matches(fastaSeqRegEx));\r\n\t\tassertTrue(\"\\t\\t\\t\\t\\r\\n> negExSeq_0_B0304.1\\r\\nCCACGCTTGATATATGGAAGCGTACAACAGGCATTATTCCATC\\n\\t\\t\\t\\t\\n> C02B8.4\\nCTTATTTCAGGAAAATTTTTTCAAAA\\n\\t\\t \\n \\t\".matches(fastaSeqRegEx));\r\n\t\tString realOutput = \"\\t\\t\\t\\t\\t\\r\\n> B0304.1\\r\\nCTTATTTCAGGGAA\\r\\n\\r\\n> F29F11.5\\r\\nGCCACATGG\\r\\n\\r\\n\\t\\t\\t\";\r\n\t\tassertTrue(realOutput.matches(fastaSeqRegEx));\r\n\t\r\n\t\t\r\n\t\t\r\n\t\tassertFalse(\"\".matches(fastaSeqRegEx));\r\n\t\tassertFalse(\"> Y105E8B.1c\\n\".matches(fastaSeqRegEx));\r\n\t\tassertFalse(\"> Y105E8B.1c\\nAGTATAATGACAACTTACAAAzTTGGGAAATCTGGAAAACCGAGC\".matches(fastaSeqRegEx));\r\n\t\tassertFalse(\"> Y105E8B.1c acgtacgtacggttacCTTACAAAATTGGGAAATCTGGAAAACCGAGC\".matches(fastaSeqRegEx));\r\n\t\tassertFalse(\"> negExSeq_0_B0304.1\\nCCACGCTTGATATATGGAAGCGTACAACAGGCATTATTCCATC >C02B8.4\\nCTTATTTCAGGAAAATTTTTTCAAA\".matches(fastaSeqRegEx));\r\n\t\tassertFalse(\"> negExSeq_0_B0304.1\\nCCACGCTTGATATATGGAAGCGTACAACAGGCATTATTCCATC\\n\\nCTTATTTCAGGAAAATTTTTTCAAA\".matches(fastaSeqRegEx));\r\n\t\tassertFalse(\"\".matches(fastaSeqRegEx));\r\n\t\t\r\n\t\t\r\n\t\t// pwm line: \r\n\r\n\t\tString pwmLineRegEx1 = \"[ACGTacgt][ \\t]*\\\\|([ \\t]*\\\\d+)+[ \\t]*\";\r\n\t\t\r\n\t\tassertTrue(\"A | 2 26 7\".matches(pwmLineRegEx1));\r\n\t\tassertTrue(\"A |2 26 7\".matches(pwmLineRegEx1));\r\n\t\tassertTrue(\"A| 2 26 7\".matches(pwmLineRegEx1));\r\n\t\tassertTrue(\"A\\t| \\t2 \\t\\t\\t26 7\\t\\t \".matches(pwmLineRegEx1));\r\n\r\n\t\tassertFalse(\"\".matches(pwmLineRegEx1));\r\n\t\tassertFalse(\" \\t \\t \".matches(pwmLineRegEx1));\r\n\t\tassertFalse(\"abra-cadabra\".matches(pwmLineRegEx1));\r\n\t\tassertFalse(\"> test A | 1 2 3\".matches(pwmLineRegEx1));\r\n\t\tassertFalse(\"A 2 26 7\".matches(pwmLineRegEx1));\r\n\t\tassertFalse(\"A | 2 A 7\".matches(pwmLineRegEx1));\r\n\t\tassertFalse(\"A 2 26 7\".matches(pwmLineRegEx1));\r\n\t\tassertFalse(\"A [ 2 26 7]\".matches(pwmLineRegEx1));\r\n\t\t\r\n\t\t\r\n\t\tString pwmLineRegEx2 = \"[ACGTacgt][ \\t]*\\\\[([ \\t]*\\\\d+)+[ \\t]*\\\\][ \\t]*\";\r\n\r\n\t\tassertTrue(\"A [ 2 26 7]\".matches(pwmLineRegEx2));\r\n\t\tassertTrue(\"A\\t[\\t2\\t26\\t7\\t]\".matches(pwmLineRegEx2));\r\n\t\tassertTrue(\"A[ 2 26 7]\".matches(pwmLineRegEx2));\r\n\t\t\r\n\t\tassertFalse(\"\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\" \\t \\t \".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"abra-cadabra\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"> test A | 1 2 3\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"A 2 26 7\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"2 26 7\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"A | 2 A 7\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"A 2 26 7\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"A 2 26 7\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"A [ 2 26 7\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"A [ ]\".matches(pwmLineRegEx2));\r\n\t\tassertFalse(\"A | 2 26 7\".matches(pwmLineRegEx2));\r\n\t\t\r\n\t\tString pwmRegEx1 = \"[Aa][ \\t]*\\\\|([ \\t]*\\\\d+)+[ \\t]*\\\\s*\\n\" +\r\n\t\t\t\t\"[Cc][ \\t]*\\\\|([ \\t]*\\\\d+)+[ \\t]*\\\\s*\\n\" +\r\n\t\t\t\t\"[Gg][ \\t]*\\\\|([ \\t]*\\\\d+)+[ \\t]*\\\\s*\\n\" +\r\n\t\t\t\t\"[Tt][ \\t]*\\\\|([ \\t]*\\\\d+)+[ \\t]*\\\\s*\";\r\n\t\t\r\n\t\tassertTrue(\"A | 2 26 7\\nC | 2 26 7\\nG | 2 26 7\\nT | 2 26 7\".matches(pwmRegEx1));\r\n\t\tassertTrue(\"A | 2 26 7\\nC | 2 26 7\t\\nG | 2 26 7\\nT |\t2\t\t26 7\\r\\n\".matches(pwmRegEx1));\r\n\r\n\t\tassertFalse(\"\".matches(pwmRegEx1));\r\n\t\tassertFalse(\"A | 2 26 7\\nC | 2 26 7\\nG | 2 26 7\".matches(pwmRegEx1));\r\n\t\tassertFalse(\"A 2 26 7\\nC | 2 26 7\t\\nG | 2 26 7\\nT |\t2\t\t26 7\\r\\n\".matches(pwmRegEx1));\r\n\r\n\t\r\n\t\tString pwmRegEx2 = \"[Aa][ \\t]*\\\\[([ \\t]*\\\\d+)+[ \\t]*\\\\][ \\t]*\\\\s*\\n\" +\r\n\t\t\"[Cc][ \\t]*\\\\[([ \\t]*\\\\d+)+[ \\t]*\\\\][ \\t]*\\\\s*\\n\" +\r\n\t\t\"[Gg][ \\t]*\\\\[([ \\t]*\\\\d+)+[ \\t]*\\\\][ \\t]*\\\\s*\\n\" +\r\n\t\t\"[Tt][ \\t]*\\\\[([ \\t]*\\\\d+)+[ \\t]*\\\\][ \\t]*\\\\s*\";\r\n\r\n\t\tassertTrue(\"A [ 2 26 7]\\r\\nC [ 2 26 7]\\r\\nG [ 2 26 7]\\nT [ 2 26 7]\".matches(pwmRegEx2));\r\n\t\tassertTrue(\"A [\\t2 26 7]\\r\\nC [ 2 26 7]\\r\\nG [ 2 26 7]\\nT [ 2 26 7]\\n\".matches(pwmRegEx2));\r\n\r\n\t\tassertFalse(\"\".matches(pwmRegEx2));\r\n\t\tassertFalse(\"A [ 2 26 7]\\r\\nC [ 2 26 7]\\r\\nG [ 2 26 7]\\nT [ 2 26 7\".matches(pwmRegEx2));\r\n\t\tassertFalse(\"A [ 2 26 7]\\r\\nC [ 2 26 7]G [ 2 26 7]\\nT [ 2 26 7]\".matches(pwmRegEx2));\r\n\t\tassertFalse(\"A [ 2 26 7]\\r\\nC [ 2 26 7]\\r\\nG [ 2 26 7]\\nA [ 2 26 7]\".matches(pwmRegEx2));\r\n\t\tassertFalse(\"\\tA [ 2 26 7]\\r\\nC [ 2 26 7]\\r\\nG [ 2 26 7]\\nT [ 2 26 7]\".matches(pwmRegEx2));\r\n\t\t\r\n\t}",
"private static boolean noWhiteSpace(String password) {\n\t\tint whitespaces = 0;\n\t\tfor (int i = 0; i < password.length(); i++) {\n\t\t char c = password.charAt(i);\n\t\t if ( Character.isWhitespace(c) ) {\n\t\t \t whitespaces++;\n\t\t }\n\t\t}\n\t\tif (whitespaces >= 1) {\n\t\t\tSystem.out.println(\"no whitespaces!\");\n\t\t\treturn false;\n\t\t} else return true;\n\t}",
"private boolean spaces() {\r\n return OPT(GO() && space() && spaces());\r\n }",
"@Test\n\tpublic void nonEmptyMultiLine() {\n\t\tString s = \" \\n\" + \"Nothing\";\n\t\tassertFalse(\"Non empty string\", StringUtil.isEmpty(s));\n\t}",
"private void skipBlankSpaces() {\n while (currentIndex < this.data.length) {\n if (!Character.isWhitespace(data[currentIndex])) {\n break;\n }\n currentIndex++;\n }\n }",
"@Test\n public void testWhitespace() throws TokenizerException {\n assertTokenizes(\" \", new Token[0]);\n }",
"public String CheckInputValidation(String e ) {\r\n\t\t//Check division by zero\r\n\t\tfor(int i=0;i<e.length();i++) {\r\n\t\t\tif(e.charAt(i)== '/') {\r\n\t\t\t\tif(e.charAt(i+1)=='0' && i+1 != e.length()-1) {\r\n\t\t\t\t\tthrow new RuntimeException(\"You can't Divide by zero!\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Check incomplete parentheses\r\n\t Stack st=new Stack(); //stack is used to make sure that the parentheses are complete\r\n\t for(int i =0;i<e.length();i++) {\r\n\t \tif(e.charAt(i)=='(') {\r\n\t \t\tst.push('(');\r\n\t \t}\r\n\t \tif(e.charAt(i)==')') {\r\n\t \t\tif(st.isEmpty()) {\r\n\t \t\t\tthrow new RuntimeException(\"Invalid Input \");\r\n\t \t\t}\r\n\t \t\telse if((char)st.pop()=='('){\r\n\t \t\t}else {\r\n\t \t\t\tthrow new RuntimeException(\"Invalid Input\");\r\n\t \t\t}\r\n\t \t}\r\n\t }\r\n\t if(!(st.isEmpty())) {\r\n\t\t\tthrow new RuntimeException(\"Invalid Input\");\r\n\t }\r\n\t \r\n\t //Check Special Characters existance .\r\n\t for(int i =0 ;i<e.length();i++) {\r\n\t \tchar n= e.charAt(i);\r\n\t \tif(Character.isDigit(n)||Character.isLetter(n)||e.charAt(i)=='+'||e.charAt(i)=='-'||e.charAt(i)=='*'||e.charAt(i)=='/'||e.charAt(i)==')'||e.charAt(i)=='(') {\r\n\t \t}else {\r\n\t \t\tthrow new RuntimeException(\"Invalid Input\");\r\n\t \t}\r\n\t }\r\n\t //Check repeated operators\r\n\t int i =0;\r\n\t int n = e.length();\r\n\t for(int j =0 ;j<n;j++) {\r\n\t\t if(e.charAt(j)=='+'||e.charAt(j)=='*'||e.charAt(j)=='-'||e.charAt(j)=='/') {\r\n\t\t \twhile(++j != n && (e.charAt(j)=='+'||e.charAt(j)=='/'||e.charAt(j)=='*'))\r\n\t\t \t\ti++;\r\n\t\t \t}}\r\n\t if(i>0) {\r\n \t\tthrow new RuntimeException(\"Invalid Input\");\r\n\t }\r\n\t if(e.length()==0 ) {\r\n\t \tthrow new RuntimeException(\"Invalid Input\");\r\n\t }\r\n\t //Check Empty parentheses \r\n\t for(int j=0;j<e.length();j++) {\r\n\t \tif(j+1 != e.length() && e.charAt(j)=='('&&e.charAt(j+1)==')') {\r\n\t \t\tthrow new RuntimeException(\"Invalid Input\");\r\n\t \t}\r\n\t }\r\n\t\treturn e ;\r\n\t}",
"private boolean getReplaceNonBreakingSpace() {\n return false;\n }",
"boolean canMatchEmptyString() {\n return false;\n }",
"private static boolean isWhiteSpace(final String strval)\n\t{\n\t\tif (null != strval)\n\t\t{\n\t\t\tfinal int n = strval.length();\n\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t{\n\t\t\t\tfinal char ch = strval.charAt(i);\n\n\t\t\t\t// The follwing pattern is denormalized for speed.\n\t\t\t\tif ((ch == 0x20) || (ch == 0x09) || (ch == 0xD) || (ch == 0xA))\n\t\t\t\t{\n\t\t\t\t\t// Try the next one, all must be whiteSpace.\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}",
"@Test\n public void shouldRetainDigitsAndWhiteSpace() {\n Assert.assertThat(\"match any digits\",CharMatcher.DIGIT.or(CharMatcher.WHITESPACE)\n .retainFrom(\"123TT T4\"),is(\"123 4\"));\n }",
"private String checkNullString(String text) {\n if ( text.contains( \" \" )) {\n return null;\n }\n\n // otherwise, we're totally good\n return text;\n }",
"public void correctStrings() {\n this.content = StringUtils.correctWhiteSpaces(content);\n }",
"@Test\n\tpublic void testCreateLinkValidWhitespace() {\n\t\tLink result = helper.createLink(\"http://good.com \");\n\t\tassertEquals(\"http://good.com\", result.getUrl());\n\t\tassertTrue(result.isValid());\n\t}",
"private boolean isAllWhitespace(Object obj) {\r\n String str = null;\r\n\r\n if (obj instanceof String) {\r\n str = (String) obj;\r\n }\r\n else if (obj instanceof Text) {\r\n str = ((Text) obj).getText();\r\n }\r\n else {\r\n return false;\r\n }\r\n\r\n for (int i = 0; i < str.length(); i++) {\r\n if ( !isWhitespace( str.charAt( i)))\r\n return false;\r\n }\r\n return true;\r\n }",
"public static void main(String[] args) {\n\t\t// Positive test case\n\t\tString strTest = \"I am done with this code.\";\n\t\tSystem.out.println(\"Validating positve scenario : \" + Process(strTest));\n\n\t\t// More than one space between 2 words\n\t\tstrTest = \" aaaaabbbbbb Sharma\";\n\t\tSystem.out.println(\"Validating string it has more than one space between 2 words : \" + Process(strTest));\n\n\t\t// when sting is null\n\t\tstrTest = null;\n\t\tSystem.out.println(\"Validating Null String: \" + Process(strTest));\n\n\t\t// single word string\n\t\tstrTest = \"Saurabh \";\n\t\tSystem.out.println(\"Validating single word string: \" + Process(strTest));\n\n\t}",
"private void checkEmptyLine(String line) {\n if (line.substring(5).replace('\\t', ' ')\n .replace('\\n', ' ').trim().length() != 0) {\n throw new IllegalArgumentException(\"Invalid characters after tag.\");\n }\n }",
"private static String trimWhiteSpace(String sentence) {\n\t\tsentence = sentence.replaceAll(\"[^a-zA-Z]\", \" \");\n//\t\tsentence = sentence.replaceAll(\"\\n\", \" \");\n//\t\tsentence = sentence.replaceAll(\"\\t\", \" \");\n// sentence = sentence.replaceAll(\"\\\\.\", \" \");\n// sentence = sentence.replaceAll(\",\", \" \");\n \n//\t\tint length;\n//\t\tdo {\n//\t\t\tlength = sentence.length();\n//\t\t\tsentence = sentence.replaceAll(\" \", \" \");\n//\n//\t\t} while (sentence.length() < length);\n\t\treturn sentence;\n\t}",
"@Override\r\n\tpublic void validate(FacesContext context, UIComponent component, Object object) throws ValidatorException {\r\n\t\t\r\n\t\tString valor = object.toString();\r\n\t\t\t\r\n\t\tif (valor.matches(\"^\\\\s.*\"))\r\n\t\t{\r\n\t\t\tFacesMessage msg = \tnew FacesMessage(\"Validaciˇ err˛nia\", \"No pot haver espais en blanc al principi\");\r\n\t\t\tmsg.setSeverity(FacesMessage.SEVERITY_ERROR);\r\n\t\t\tthrow new ValidatorException(msg);\r\n\t\t}\r\n\t\t\r\n\t\tif (valor.matches(\".*\\\\s$\"))\r\n\t\t{\r\n\t\t\tFacesMessage msg = \tnew FacesMessage(\"Validaciˇ err˛nia\", \"No pot haver espais en blanc al final\");\r\n\t\t\tmsg.setSeverity(FacesMessage.SEVERITY_ERROR);\r\n\t\t\tthrow new ValidatorException(msg);\r\n\t\t}\r\n\t\t\r\n\t\tif (valor.matches(\".*[ ]{2,}.*\"))\r\n\t\t{\r\n\t\t\tFacesMessage msg = \tnew FacesMessage(\"Validaciˇ err˛nia\", \"No pot haver mÚs d'un espai en blanc entre paraules\");\r\n\t\t\tmsg.setSeverity(FacesMessage.SEVERITY_ERROR);\r\n\t\t\tthrow new ValidatorException(msg);\r\n\t\t}\r\n\t\t\r\n\t\tif (!valor.matches(\"[a-zA-Z ]+\"))\r\n\t\t{\r\n\t\t\tFacesMessage msg = \tnew FacesMessage(\"Validaciˇ err˛nia\", \"┌nicament es poden utilitzar carÓcters alfabŔtics\");\r\n\t\t\tmsg.setSeverity(FacesMessage.SEVERITY_ERROR);\r\n\t\t\tthrow new ValidatorException(msg);\r\n\t\t}\r\n\t\t\r\n\t}",
"private boolean space() {\r\n return CHAR(' ');\r\n }",
"@Test\n\tpublic void testJustEmptyChars() {\n\t\tSmartScriptLexer lexer = new SmartScriptLexer(\" \\r\\n\\t \");\n\t\t\n\t\tSmartScriptToken expected = new SmartScriptToken(SmartScriptTokenType.TEXT, \" \\r\\n\\t \");\n\t\tassertEquals(lexer.nextToken().getType(), SmartScriptTokenType.TEXT);\n\t\tassertEquals(lexer.getToken().getValue(), expected.getValue());\n\t}",
"public synchronized boolean validate(Object data) {\n if (!(data instanceof String)) {\n return false;\n }\n\n String dataString = (String) data;\n dataString = dataString.replaceAll(\"\\\\s\", \"\").replaceAll(\"-\", \"\");\n if (dataString.length() != 6) {\n return false;\n }\n\n for (Character c : dataString.substring(0, 2).toCharArray()) {\n if (!Character.isLetter(c)) {\n return false;\n }\n }\n for (Character c : dataString.substring(3, 5).toCharArray()) {\n if (!Character.isDigit(c)) {\n return false;\n }\n }\n return true;\n }",
"private void trimWhitespaces() {\n \n while(currentIndex < dataLength && Character.isWhitespace( data[currentIndex] )) {\n ++currentIndex;\n }\n }",
"private void skipSpaces() {\r\n\t\twhile (currentIndex < expression.length && (expression[currentIndex] == ' ' || expression[currentIndex] == '\\t'\r\n\t\t\t\t|| expression[currentIndex] == '\\n' || expression[currentIndex] == '\\r')) {\r\n\t\t\tcurrentIndex++;\r\n\t\t}\r\n\t}",
"@Test\r\n\tpublic void testTokenizeSpace() {\r\n\r\n\t\t// Enter the code\r\n\r\n\t\tdriver.findElement(By.name(\"code[code]\")).sendKeys(\"the_best_cat = \\\"Noogie Cat\\\"\");\r\n\r\n\t\t// Look for the \"Tokenize\" button and click\r\n\r\n\t\tdriver.findElements(By.name(\"commit\")).get(0).click();\r\n\r\n\t\t// Check that there is corresponding quantity of the word \":on_sp\"\r\n\r\n\t\ttry {\r\n\t\t\tWebElement code = driver.findElement(By.tagName(\"code\"));\r\n\t\t\tString res = code.getText();\r\n\t\t\tint count = 0;\r\n\t\t\tfor (int i = 0; i <= res.length() - 6; i++) {\r\n\t\t\t\tString sub = res.substring(i, i + 6);\r\n\t\t\t\tif (sub.equals(\":on_sp\"))\r\n\t\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t\tassertEquals(count, 2);\r\n\t\t} catch (NoSuchElementException nseex) {\r\n\t\t\tfail();\r\n\t\t}\r\n\t}",
"@Override\n public String checkRule() {\n if (line.matches(\"^\\\\D+$\")) {\n return (\"Complies rule 'Has no numbers' \\n\");\n } else {\n return \"\";\n }\n }",
"@Test\n @Disabled\n public void testValidateFormat() {\n assertTrue(RegExprMain.validateFormat(\"CC222CC\"));\n assertTrue(RegExprMain.validateFormat(\"DD333DD\"));\n assertTrue(RegExprMain.validateFormat(\"AA999AA\"));\n assertTrue(RegExprMain.validateFormat(\"VV555VV\"));\n assertTrue(RegExprMain.validateFormat(\"JJ777JJ\"));\n assertFalse(RegExprMain.validateFormat(\"J777JJ\"));\n assertFalse(RegExprMain.validateFormat(\"JJ777J\"));\n assertFalse(RegExprMain.validateFormat(\"JJ77JJ\"));\n assertFalse(RegExprMain.validateFormat(\"JJ777AA\"));\n assertFalse(RegExprMain.validateFormat(\"AA777JJ\"));\n \n\n }",
"private void skipBlankSpaces() {\n\t\twhile(currentIndex < data.length) {\n\t\t\tchar c = data[currentIndex];\n\t\t\tif(c == ' ' || c == '\\t' || c =='\\n' || c == '\\r') {\n\t\t\t\tcurrentIndex++;\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"public String validate() {\n\t\tString msg=\"\";\n\t\t// for name..\n\t\tif(name==null||name.equals(\"\"))\n\t\t{\n\t\t\tmsg=\"Task name should not be blank or null\";\n\t\t}\n\t\tif(name.split(\" \").length>1)\n\t\t{\n\t\t\tmsg=\"multiple words are not allowed\";\n\t\t}\n\t\telse\n\t\t{\n\t\t for(int i=0;i<name.length();i++)\n\t\t {\n\t\t\t char c=name.charAt(i);\n\t\t\t\tif(!(Character.isDigit(c)||Character.isLetter(c)))\n\t\t\t\t{\n\t\t\t\t\tmsg=\"special characters are not allowed\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t }\n\t\t}\n\t\t\t\n\t\t\n\t\t\t// for Description...\n\t\t\tif(desc==null||desc.equals(\"\"))\n\t\t\t{\n\t\t\t\tmsg=\"Task descrshould not be blank or null\";\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\t // for tag...\n\t\t\t \n\t\t\t if(tag==null||tag.equals(\"\"))\n\t\t\t\t{\n\t\t\t\t\tmsg=\"Task tags not be blank or null\";\n\t\t\t\t}\n\t\t\t\t\n\t\t\t // for date { imp here}\n\t\t\t if(tarik!=null)\n\t\t\t {\n\t\t\t SimpleDateFormat sdf=new SimpleDateFormat(\"dd/MM/yyyy\");\n\t\t\t sdf.setLenient(false); // very imp here..\n\t\t\t try {\n\t\t\t\tDate d=sdf.parse(tarik);\n\t\t\t} catch (ParseException e) {\n\t\t\t\t\n\t\t\t//\tmsg=\"date should be correct foramat\";\n\t\t\t\tmsg=e.getMessage();\n\t\t\t}\n\t\t\t }\n\t\t\t// for prority..\n\t\t\t if(prio<1&&prio>10)\n\t\t\t {\n\t\t\t\t msg=\"prority range is 1 to 10 oly pa\";\n\t\t\t }\n\t\t\t\t\n\t\t\t\tif(msg.equals(\"\"))\n\t\t\t\t{\n\t\t\t\t\treturn Constant.SUCCESS;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\treturn msg;\n\t}",
"private boolean isValidCI(String text){\n Boolean validation = true;\n int lenght = text.length();\n char lastCharacter = text.charAt(lenght-1);\n if(Character.isDigit(lastCharacter) || Character.isAlphabetic(lastCharacter)){\n for(int i=0;i<lenght-1;i++){\n char ch = text.charAt(i);\n if(!Character.isDigit(ch)){\n validation = false;\n break;\n }\n }\n }\n else{\n validation = false;\n }\n if(isOnlySpaces(text)){\n validation = false;\n }\n return validation;\n }",
"protected void validateInput()\r\n\t{\r\n\t\tString errorMessage = null;\r\n\t\tif ( validator != null ) {\r\n\t\t\terrorMessage = validator.isValid(text.getText());\r\n\t\t}\r\n\t\t// Bug 16256: important not to treat \"\" (blank error) the same as null\r\n\t\t// (no error)\r\n\t\tsetErrorMessage(errorMessage);\r\n\t}",
"private boolean isPhoneValid(String phone) {\n return !phone.contains(\" \");\r\n }",
"public String getData() {\r\n Scanner sc = new Scanner(System.in);\r\n String s = sc.nextLine();\r\n while ((s.startsWith(\"\") && s.endsWith(\" \")) || (s.length() == 0) || (s.startsWith(\" \"))) {\r\n System.out.print(\"A space record, or a space at the beginning is not acceptable. \\n\"\r\n + \"Please try again: \");\r\n s = sc.nextLine();\r\n }\r\n return s;\r\n }",
"public void validate() {}",
"@Test(timeout = 4000)\n public void test062() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"hN!SM~8ux(wB\");\n xPathLexer0.consume(2033);\n Token token0 = xPathLexer0.whitespace();\n assertEquals((-2), token0.getTokenType());\n assertEquals(\"\", token0.getTokenText());\n }",
"private boolean makeSpaceBefore(boolean addSpace){\n int index = ts.index();\n try {\n while(true) {\n if (!ts.movePrevious()){\n return false;\n }\n if (ts.token().id() == NEW_LINE){\n DiffResult diff = diffs.getDiffs(ts, 0);\n if (diff == null || diff.replace == null || diff.replace.hasNewLine()){\n return false;\n }\n } else if (ts.token().id() == PREPROCESSOR_DIRECTIVE){\n return false;\n } else if (ts.token().id() != WHITESPACE){\n replaceSegment(addSpace, index);\n return true;\n }\n }\n } finally {\n ts.moveIndex(index);\n ts.moveNext();\n }\n }",
"@Test\n\tpublic void fixWhiteSpaceTest() {\n\t\tString query1 = \"((hello))\";\n\t\tString query2 = \"\\\"hello my\\\"\";\n\t\tString query3 = \"( hello & goodbye) \";\n\t\t\n\t\tString query1Result = \"( ( hello ) )\";\n\t\tString query2Result = \"\\\" hello my \\\"\";\n\t\tString query3Result = \"( hello & goodbye )\";\n\t\t\n\t\t\n\t\tassertEquals(query1Result, queryTest.fixSpacing(query1));\n\t\tassertEquals(query2Result, queryTest.fixSpacing(query2));\n\t\tassertEquals(query3Result, queryTest.fixSpacing(query3));\n\t}",
"static public final boolean ccIsAllNoneSpace(String pxLine){\n return VcStringUtility.ccNulloutString(pxLine)\n .matches(\"^\\\\S+$\");\n }",
"@Test\n\tpublic void nonEmptyString() {\n\t\tString s = \" H \";\n\t\tassertFalse(\"Non empty string\", StringUtil.isEmpty(s));\n\t}",
"private boolean isWhitespace(char c) {\r\n if (c==' ' || c=='\\n' || c=='\\t' || c=='\\r' ){\r\n return true;\r\n }\r\n return false;\r\n }",
"private void validExpresion(){\n\t\tString valores =\"+/*-^sinbqrcotah.\";\n\t\tchar[] fun = (this.getText()).toCharArray();\n\t\tint tam = fun.length-1;\n\t\tif(tam > 0){\n\t\t\tif(valores.indexOf(fun[tam]) != -1){\n\t\t\t\tcont++;\n\t\t\t\tthis.setBackground(Color.RED);\n\t\t\t}\n\t\t}\n\n\t\tif(this.getText().equals(\"+\") || this.getText().equals(\"-\") || this.getText().equals(\".\")){\n\t\t\t\tcont++;\n\t\t\t\tthis.setBackground(Color.RED);\n\t\t}\n\n\t\telse if(this.getText().equals(\"s\") || this.getText().equals(\"c\") || this.getText().equals(\"t\")){\n\t\t\t\tcont++;\n\t\t\t\tthis.setBackground(Color.RED);\n\t\t}\n\n\t\telse if(this.getText().equals(\"(\") || this.getText().equals(\"a\") || this.getText().equals(\"i\")){\n\t\t\t\tcont++;\n\t\t\t\tthis.setBackground(Color.RED);\n\t\t}\n\t}",
"@Test\n void checkIsTrueForStringWithNumbersWithSpacesAtTheBeginningAndEnd() {\n // Act, Assert\n assertTrue(IsNumeric.check(\" 3\"));\n assertTrue(IsNumeric.check(\"32 \"));\n assertTrue(IsNumeric.check(\" 3.2 \"));\n assertTrue(IsNumeric.check(\" -0.2\"));\n assertTrue(IsNumeric.check(\" -0.2d\"));\n assertTrue(IsNumeric.check(\"0.24D \"));\n assertTrue(IsNumeric.check(\"0.28 \"));\n assertTrue(IsNumeric.check(\" 3.8f\"));\n assertTrue(IsNumeric.check(\"-3.87F \"));\n }",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n System.out.println(\" Bir string giriniz =\");\n String text = sc.nextLine();\n\n boolean boslukVarmi = text.contains(\" \");\n System.out.println(\"boslukVarmi = \" + boslukVarmi);\n \n boolean bosMU=text.isEmpty();\n System.out.println(\"bosMU = \" + bosMU);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n }",
"private static void assertEqualsIgnoringWhitespace(final String expected, final String actual){\n // assertEquals(expected.replaceAll(\"^ +\", \"\"), actual.replaceAll(\"^ +\", \"\"));\n assertEquals(expected.replaceAll(\"\\\\s+\", \"\"), actual.replaceAll(\"\\\\s+\", \"\"));\n }",
"@Test\n public void testIsStringOnlyAlphabetAndNumbersAndWhiteSpaces() {\n System.out.println(\"isStringOnlyAlphabetAndNumbersAndWhiteSpaces\");\n String input = \".%6gwdye\";\n boolean expResult = false;\n boolean result = ValidVariables.isStringOnlyAlphabetAndNumbersAndWhiteSpaces(input);\n assertEquals(expResult, result);\n }",
"private void validate() {\n\t\t// just in case;\n\t\tfor (int i=0;i<NR_OF_FIELDS; i++) {\n\t\t\tvalid[i] = \"0\";\n\t\t}\n\t\t//\n\t\t// Validate name and surname:\n\t\t//\n\t\tif ( ! this.isUpperAlpha(nume)) {\n\t\t\tfields[0] = \"1\";\n\t\t}\n\t\t\n\t\tif ( ! this.isUpperAlphaWithSpace(nume)) {\n\t\t\tfields[1] = \"1\";\n\t\t}\n\t\t//\n\t\t// validate seria\n\t\t//\n\t\tvalid[2] = \"1\";\t\t\t\t\t\t\t// presupun ca seria este invalida, si incerc sa o validez\n\t\tfor (int i=0; i<seriiBuletin.length; i++) {\n\t\t\tif (seriiBuletin[i].equals(seria)) {\n\t\t\t\tvalid[2] = \"0\";\n\t\t\t}\n\t\t}\n\t\t//\n\t\t// validate numarul\n\t\t//\n\t\ttry {\n\t\t\tvalid[3] = \"1\";\n\t\t\tint nr = Integer.valueOf(numarul);\n\t\t\tif ( nr >= 100000 && nr <= 999999 ) {\n\t\t\t\tvalid[3] = \"0\";\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tLog.d(TAG, \"Error validating seria.\");\n\t\t}\n\n\t\t//\n\t\t// validate sex\n\t\t//\n\t\tif ( ! (sex == 'M' || sex == 'F')) {\n\t\t\tvalid[6] = \"1\";\n\t\t}\n\t\t//\n\t\t// Validate valabilitate\n\t\t//\n\t\tif ( ! isNumber(this.valabilitate)) {\n\t\t\tvalid[7] = \"1\";\n\t\t}\n\t\t//\n\t\t// validate CNP\n\t\t//\n\t\tif ( ! (isNumber(CNP) && isValidCNP(CNP))) {\n\t\t\tvalid[8] = \"1\";\n\t\t}\n\t\t\n\t}",
"private boolean isOneSpace(final String message) {\n\t\treturn message.contains(\"1 space\"); //$NON-NLS-1$\n\t}",
"@Test(expected=MalformedNumberException.class)\n public void spacesInWeirdPlaces() throws MalformedNumberException {\n new RomanArabicConverter(\"1 4\");\n }",
"private boolean validate(String s)\r\n\t{\r\n\t\tint i=0;\r\n\t\tchar[] s1=s.toLowerCase().toCharArray();\r\n\t\twhile(i<s1.length)\r\n\t\t{\r\n\t\t\tif(s1[i]=='*' || s1[i]=='?')\r\n\t\t\t\tbreak;\r\n\t\t\tif(s1[i]<'a' || s1[i]>'z') return false;\r\n\t\t\ti++;\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"public boolean checkBlankCorrectness(LinearLayout layout) {\n boolean isCorrect = false;\n int count = layout.getChildCount();\n try {\n for (int i = 0; i < count; i++) {\n EditText view = ((EditText) layout.getChildAt(i));\n if (!TextUtils.isEmpty(view.getTag().toString().trim())) {\n\n /*Replacing ck-editor ghost character with blank*/\n String correctAnswer = view.getTag().toString().trim();\n correctAnswer = correctAnswer.replace(ConstantUtil.CK_EDITOR_GHOST_CHARACTER, ConstantUtil.BLANK);\n\n isCorrect = correctAnswer.trim().equalsIgnoreCase(view.getText().toString().trim());\n\n } else {\n return false;\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return isCorrect;\n }",
"private void Spacing() {\n\n try {\n while (true) {\n try {\n Space();\n } catch (SyntaxError e) {\n Comment();\n }\n }\n } catch (SyntaxError e) {\n }\n }",
"@Test\n\tpublic void caseNameWithEmpty() {\n\t\tString caseName = \" \";\n\t\ttry {\n\t\t\tStringNumberUtil.stringUtil(caseName);\n\t\t} catch (StringException e) {\n\t\t}\n\t}",
"@Test\n public void shouldMatchDigitsWithSpace() {\n Assert.assertThat(\"match any digits with space\",CharMatcher.DIGIT.matchesAllOf(\"123T TT4\"),is(false));\n Assert.assertThat(\"match any digits with space\",CharMatcher.DIGIT.matchesAnyOf(\"123 TTT4\"),is(true));\n }",
"@Test\n\tpublic void testRemoveWhiteSpacesAndPunctuation() {\n\t\tString input = \"2$2?5 5!63\";\n\t\tString actual = GeneralUtility.removeWhiteSpacesAndPunctuation(input);\n\t\tString expected = \"225563\";\n\t\tAssert.assertEquals(expected, actual);\n\t}",
"@Test\n\t public void test3()\n\t{\n\t\t\tString s = new String();\n\t s = s.replaceAll(\"\\\\s+\", \" \");\n\t assertEquals(\"\", LRS.lrs(s)); \n\t}",
"public static boolean checkWhiteSpace(String testString){\n if(testString != null){\n for(int i = 0; i < testString.length(); i++){\n if(Character.isWhitespace(testString.charAt(i))){\n return true;\n }\n }\n }\n return false;\n }",
"private void InputTextValidator () {\n isNotNull = !txtCategoryNo.getText().equals(\"\") && !txtCategoryName.getText().equals(\"\");\n }",
"private boolean checkSpacingTabs(){\r\n\t\tString tmp = \"\";\r\n\t\ttry{ tmp = doc.getText(getCaretPosition()-2,1); }\r\n\t\tcatch(BadLocationException a){};\r\n\t\tSystem.out.println((int)tmp.charAt(0));\r\n\t\tif(tmp.charAt(0) == 9) return true;\r\n\t\telse return false;\r\n\t}",
"@Test\n\t\t\tpublic void checkAlphanumeric() {\n\t\t\t\tMessage msgjunit = new Message();\n\t\t\t\tString msg = msgjunit.getMessage();\n\n\t\t\t\tif (msg != null) {\n\t\t\t\t\tmsg = msg;\n\t\t\t\t} else {\n\t\t\t\t\tmsg = \"This is a message\";\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tInteger.parseInt(msg);\n\t\t\t\t\tSystem.out.println(\"Message is a not string:\" + \" \" + msg );\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Message is a string:\" + \" \" + msg);\n\t\t\t\t}\n\t\t\t}",
"private void skipWhitespaces() {\n\t\twhile(currentIndex < data.length) {\n\t\t\tif (isWhitespace(data[currentIndex])) {\n\t\t\t\tcurrentIndex++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\t\n\t\t}\n\t}",
"private void skipWhitespaces() {\n\t\twhile(currentIndex < data.length) {\n\t\t\tif (isWhitespace(data[currentIndex])) {\n\t\t\t\tcurrentIndex++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\t\n\t\t}\n\t}",
"@Test\n\tpublic void test4()\n\t{\n\t\tassertEquals(\n\t\t\t\"$webpage: {<spacex>}\",\n\t\t\texplodeRulesAndCreateString(\"webpage: spacex\")\n\t\t);\n\t}",
"@AssertTrue(message=\"La clave debe ser alfanumerica \")\r\n\tpublic boolean validarClave(){\r\n\t\tboolean a=StringUtils.isAlphanumeric(clave);\r\n\t\tboolean b=StringUtils.isNotBlank(clave);\r\n\t\treturn (a && b);\r\n\t}",
"@Test\n\tpublic void test_StringCalculator_WhenNewlineBetweenNumbers_Then_ReturnTheValidSum() {\n\t\tAssert.assertEquals(6,calc.Add(\"1\\n2,3\"));\n\t}",
"private boolean isWhitespaceText(String text) {\n \n \t\tif (text == null || text.length() == 0)\n \t\t\treturn false;\n \n \t\tString[] delimiters= fDocument.getLegalLineDelimiters();\n \t\tint index= TextUtilities.startsWith(delimiters, text);\n \t\tif (index > -1) {\n \t\t\tchar c;\n \t\t\tint length= text.length();\n \t\t\tfor (int i= delimiters[index].length(); i < length; i++) {\n \t\t\t\tc= text.charAt(i);\n \t\t\t\tif (c != ' ' && c != '\\t')\n \t\t\t\t\treturn false;\n \t\t\t}\n \t\t\treturn true;\n \t\t}\n \n \t\treturn false;\n \t}",
"void validate();",
"void validate();",
"String divideAtWhite()[]{ return null; }",
"@Test\n public void testIsEmptyValidRoman() {\n FieldVerifier service = new FieldVerifier();\n boolean result = service.isValidRoman(\"\");\n assertEquals(false, result);\n }",
"@Override\n\tpublic boolean validateContent()\n\t{\n\t\treturn true;\n\t}",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n // System.out.println(s);\n s = s.replace(\"!\", \" \");\n s = s.replace(\".\", \" \");\n s = s.replace(\"'\", \" \");\n s = s.replace(\"_\", \" \");\n s = s.replace(\"@\", \" \");\n s = s.replace(\"?\", \" \");\n s = s.replace(\",\", \" \");\n s = s.replace(\" \", \" \");\n s = s.replace(\" \", \" \");\n while(s.contains(\" \")) {\n \ts = s.replace(\" \", \" \");\n }\n \n \n while(s.charAt(0)==' '&&s.length()>1) {\n \tif(s.charAt(0)!=' ') {\n \t//\tSystem.out.println(s.length() +\"s \"+s);\n \t\tbreak;\n \t}else {\n \t\t//System.out.println(s.length() +\"s (\"+s+\")\");\n \t\ts = s.trim();\n \t}\n }\n \n if(!s.equals(\" \")) {\n s = s.trim();\n String [] allToken = s.split(\" \");\n System.out.println(allToken.length);\n for(int y=0;y<allToken.length;y++) {\n System.out.println(allToken[y]);\t\n }\n // System.out.println(allToken.length);\n }else {\n \t System.out.println(0);\n }\n scan.close();\n }",
"private void validation() {\n Pattern pattern = validationfilterStringData();\n if (pattern.matcher(txtDrug.getText().trim()).matches() && pattern.matcher(txtGenericName.getText().trim()).matches()) {\n try {\n TblTreatmentadvise treatmentadvise = new TblTreatmentadvise();\n treatmentadvise.setDrugname(txtDrug.getText());\n treatmentadvise.setGenericname(txtGenericName.getText());\n treatmentadvise.setTiming(cmbDosestiming.getSelectedItem().toString());\n cmbtiming.setSelectedItem(cmbDosestiming);\n treatmentadvise.setDoses(loadcomboDoses());\n treatmentadvise.setDuration(loadcomboDuration());\n PatientService.saveEntity(treatmentadvise);\n JOptionPane.showMessageDialog(this, \"SAVE SUCCESSFULLY\");\n } catch (Exception ex) {\n JOptionPane.showMessageDialog(this, \"STARTUP THE DATABASE CONNECTION\");\n }\n } else {\n JOptionPane.showMessageDialog(this, \"WRONG DATA ENTERED.\");\n }\n }",
"public void testCheckNull() {\n Util.checkNull(\" \", \"test\");\n }",
"@Test\n\tpublic void testEmptyLine() {\n\t\tString s = \" \\n\";\n\t\tassertTrue(\"Empty string with line ending\", StringUtil.isEmpty(s));\n\t}",
"@Test\n\tvoid testTokenizeEmptyString() {\n\t\ttokenizer.setColumns(new Range[] { new Range(1, 5), new Range(6, 10), new Range(11, 15) });\n\t\tvar exception = assertThrows(IncorrectLineLengthException.class, () -> tokenizer.tokenize(\"\"));\n\t\tassertEquals(15, exception.getExpectedLength());\n\t\tassertEquals(0, exception.getActualLength());\n\t\tassertEquals(\"\", exception.getInput());\n\t}",
"private String validarEntradas()\n { \n return Utilitarios.validarEntradas(campoNomeAC, campoEnderecoAC, campoBairroAC, campoCidadeAC, campoUfAC, campoCepAC, campoTelefoneAC, campoEmailAC);\n }",
"@Test\n void applyHalfSpaceRule() {\n \n String test = \"ما می توانیم\";\n String result = \"ما میتوانیم\";\n assertEquals(result, FixZwnj.applyHalfSpaceRule(test));\n\n String test2 = \"ما نمی توانیم\";\n String result2 = \"ما نمیتوانیم\";\n assertEquals(result2, FixZwnj.applyHalfSpaceRule(test2));\n\n String test3 = \"این بهترین کتاب ها است\";\n String result3 = \"این بهترین کتابها است\";\n assertEquals(result3, FixZwnj.applyHalfSpaceRule(test3));\n\n String test4 = \"بزرگ تری و قدرتمند ترین زبان های دنیا\";\n String result4 = \"بزرگتری و قدرتمندترین زبانهای دنیا\";\n assertEquals(result4, FixZwnj.applyHalfSpaceRule(test4));\n\n String test5 = \"زمانیکه نگارش\";\n String result5 = \"زمانیکه نگارش\";\n assertEquals(result5, FixZwnj.applyHalfSpaceRule(test5));\n }",
"public static String getValidation(String message) { // Example of using Method Overloading\r\n\r\n Scanner reader = new Scanner(System.in); // Create a Scanner object\r\n String input = null;\r\n int charIsNotSpace = 0;\r\n\r\n do {\r\n System.out.print(message);\r\n\r\n while (!reader.hasNextLine()) { // I think that the program never enters this while because .hasNextLine identifies\r\n System.out.print(\"Please enter a valid name with at least 3 characters\"); // any type of input as a valid\r\n reader.next(); // value, including \"enter\" and space, but it is like this in the \"PPT Input Validation\"\r\n }\r\n\r\n input = reader.nextLine();\r\n\r\n for (int i=0; i < input.length(); i++) { // checks if at least three characters are not space\r\n if (input.charAt(i) != ' ') {\r\n charIsNotSpace ++;\r\n }\r\n }\r\n\r\n } while (input == null || input.equals(\"\") || input.length() < 3 || charIsNotSpace < 3); //While the input value is not a null value or empty string or least 3 characters.\r\n\r\n // Loop used to capitalize the first letter of the name and without using any other auxiliary class, such as the StringBuilder\r\n String letter = \"\";\r\n String capitalizedName = \"\";\r\n boolean isFirstLetter;\r\n for (int i=0; i < input.length(); i++) {\r\n\r\n isFirstLetter = false;\r\n\r\n if (i == 0) {\r\n while (input.charAt(i) == ' ') { // Ignores spaces that the user typed before the first letter of the name\r\n i++;\r\n }\r\n isFirstLetter = true;\r\n }\r\n\r\n if (input.charAt(i) == ' ' && (i+1) < input.length()) {\r\n if (input.charAt(i) == ' ' && input.charAt(i + 1) == ' ') {\r\n letter = \"\";\r\n } else {\r\n letter += \" \" + input.charAt(i + 1);\r\n capitalizedName += letter.toUpperCase();\r\n i++;\r\n letter = \"\";\r\n }\r\n }\r\n else if (isFirstLetter == true) {\r\n letter += input.charAt(i);\r\n capitalizedName += letter.toUpperCase();\r\n letter = \"\";\r\n }\r\n else if (input.charAt(i) != ' ') {\r\n letter += input.charAt(i);\r\n capitalizedName += letter.toLowerCase();\r\n letter = \"\";\r\n }\r\n }\r\n\r\n return capitalizedName;\r\n }",
"private String validateChar(String text) {\n char[] validChars = new char[text.length()];\n int validCount = 0;\n for (int i = 0; i < text.length(); i++) {\n char c = text.charAt(i);\n boolean valid = (c >= 0x20 && c <= 0xd7ff) || (c >= 0xe000 && c <= 0xfffd);\n if (valid) {\n validChars[validCount++] = c;\n } else {\n if (c == 10) // LineBreak\n {\n validChars[validCount++] = c;\n }\n }\n }\n return new String(validChars, 0, validCount);\n }",
"private void skipWhitespace() {\n while (currentPos < endPos && filterString.charAt(currentPos) == ' ') {\n currentPos++;\n }\n }",
"private void skipWhiteSpace() throws ScanErrorException\n {\n while (isWhiteSpace(currentChar))\n eat(currentChar);\n }",
"@Test(timeout = 4000)\n public void test075() throws Throwable {\n String string0 = SQLUtil.normalize(\"(ojYa^OO>#xm`'!\", false);\n assertEquals(\"(ojYa ^ OO > # xm ` '!'\", string0);\n }",
"private boolean validateRequiredFields(StringBuffer b){\n boolean result = true;\n\n if (!TextFieldHelper.isNumericFieldValid(this.goalValue, \" Цель: \", b) ||\n !TextFieldHelper.isNumericFieldValid(this.startWeightValue, \" Исходный вес: \", b) ||\n !TextFieldHelper.isNumericFieldValid(this.heightValue, \" Рост: \", b) ||\n !CalendarHelper.isFieldValid(startProgramDateValue, \" Старт программы: \", b) ||\n !new ComboBoxFieldHelper<Client>().isFieldValid(clientFIOValue, \" Клиент: \", b))\n {\n result = false;\n }\n\n return result;\n }",
"public void testShouldAddColonExceptSpace(){\n indentlogic.addText(\"except \\n\");\n assertTrue(indentlogic.shouldAddColon());\n }",
"private boolean startsWithSpace(String str) {\r\n\t\treturn str.length() != 0 && str.charAt(0) == ' ';\r\n\t}",
"private boolean isBlank() {\n\t\tchar currentChar = data[index];\n\t\tif (currentChar == '\\r' || currentChar == '\\n' || currentChar == '\\t' || currentChar == ' ') {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"@Test\n @Disabled\n public void testValidateTLF() {\n assertTrue(RegExprMain.validateTLF(\"622 24 64 59\"));\n assertTrue(RegExprMain.validateTLF(\"634 84 34 54\"));\n assertTrue(RegExprMain.validateTLF(\"645 74 44 53\"));\n assertFalse(RegExprMain.validateTLF(\"656 154 54 56\"));\n assertTrue(RegExprMain.validateTLF(\"656 14 54 56\"));\n assertTrue(RegExprMain.validateTLF(\"667 54 74 55\"));\n assertFalse(RegExprMain.validateTLF(\"656 16 5 56\"));\n assertFalse(RegExprMain.validateTLF(\"656 15A 54 56\"));\n assertTrue(RegExprMain.validateTLF(\"611 34 84 57\"));\n assertFalse(RegExprMain.validateTLF(\"6564 15 54 56\"));\n \n\n }",
"private void validarCampos() {\n }",
"public boolean isValidDate(String valD) { //Checks if date is in proper format\n String valDWithoutSpace = valD.replaceAll(\"\\\\s\", \"\");\n return valDWithoutSpace.length() == 8;\n}",
"@Test //TEST FOUR\n void testSpacesAndCapitalsBreedName()\n {\n Rabbit_RegEx rabbit_breed = new Rabbit_RegEx();\n rabbit_breed.setBreedName(\"Netherland Dwarf\");\n assertTrue(rabbit_breed.getBreedName().matches(\"^[A-Za-z][a-zA-Z-][a-zA-z- ]*\"));\n }",
"@org.junit.Test\n public void markingSpaces()\n {\n assertEquals(\"empty\", \"\", markSpaces(\"\"));\n assertEquals(\"simple\", \"just_a_test\", markSpaces(\"just a test\"));\n assertEquals(\"all\", \"just\\\\ta\\\\ntest\\\\f\\\\r_with___all_\\\\n\\\\nthings\",\n markSpaces(\"just\\ta\\ntest\\f\\r with all \\n\\nthings\"));\n }",
"private static boolean isBlank(CharSequence str) {\n int strLen;\n if (str == null || (strLen = str.length()) == 0) {\n return true;\n }\n for (int i = 0; i < strLen; i++) {\n if ((Character.isWhitespace(str.charAt(i)) == false)) {\n return false;\n }\n }\n return true;\n }"
] |
[
"0.71960896",
"0.6344354",
"0.6204222",
"0.6200314",
"0.615096",
"0.61137617",
"0.59235334",
"0.59017026",
"0.5840754",
"0.5836647",
"0.5747152",
"0.5742122",
"0.56998634",
"0.5691272",
"0.56695783",
"0.5663226",
"0.56426394",
"0.56401694",
"0.56369495",
"0.5633267",
"0.5618832",
"0.56084365",
"0.56000566",
"0.55803835",
"0.5556744",
"0.55367875",
"0.5526",
"0.55250597",
"0.5523163",
"0.55103266",
"0.55025274",
"0.55024016",
"0.5488778",
"0.5488009",
"0.54868066",
"0.5483686",
"0.54823357",
"0.5481271",
"0.5468733",
"0.54455644",
"0.5443507",
"0.5433039",
"0.54303426",
"0.54220784",
"0.54213804",
"0.5419085",
"0.54181534",
"0.54130405",
"0.5411778",
"0.54113156",
"0.54099536",
"0.5398138",
"0.5391283",
"0.5390778",
"0.5385363",
"0.538179",
"0.53806514",
"0.53770995",
"0.5376118",
"0.53742325",
"0.53719187",
"0.5366239",
"0.53493327",
"0.53443766",
"0.53357863",
"0.53289956",
"0.53289044",
"0.53281087",
"0.5323178",
"0.5323178",
"0.53203213",
"0.5318599",
"0.53151864",
"0.531056",
"0.53071195",
"0.53071195",
"0.5301995",
"0.5301814",
"0.530028",
"0.52857125",
"0.5281803",
"0.5280321",
"0.5274165",
"0.52722883",
"0.5266441",
"0.5259635",
"0.52538294",
"0.52528584",
"0.5238708",
"0.52364814",
"0.52352405",
"0.52292085",
"0.5227906",
"0.5227484",
"0.522681",
"0.52249855",
"0.52240855",
"0.52220166",
"0.52198184",
"0.5218917",
"0.5214731"
] |
0.0
|
-1
|
function to get the number of rolls
|
public void getRowCount() {
try {
String FILE = "src/test/resources/Datasheet.xlsx";
String SHEET_NAME = "Master";
XSSFWorkbook workbook = new XSSFWorkbook();
}catch (Exception exp)
{
exp.printStackTrace();
System.out.println(exp.getMessage());
System.out.println(exp.getCause());
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public int RollCount() {\n\t\treturn 0;\r\n\t}",
"static int roll() {\n\t\tRandom rand = new Random();\t\t\t\t//get large random number\n\t\tint num2 = rand.nextInt();\t\t\t\t//convert from long to int\n\t\treturn Math.abs(num2%6)+1;\t\t\t\t//num between 1 and 6\n\t}",
"public int roll() {\n\t\treturn 3;\n\t}",
"public int roll() \r\n {\r\n \r\n die1FaceValue = die1.roll();\r\n die2FaceValue = die2.roll();\r\n \r\n diceTotal = die1FaceValue + die2FaceValue;\r\n \r\n return diceTotal;\r\n }",
"public int rollDice();",
"float getRoll();",
"float getRoll();",
"int roll();",
"public int getDiceRollCount() {\n return this.diceRollCount;\n }",
"public int generateRoll() {\n\t\tint something = (int) (Math.random() * 100) + 1;\n\t\tif (something <= 80) {\n\t\t\tint allNumRoll = (int) (Math.random() * getNumSides()) + 1;\n\t\t\tint roll = allNumRoll * 2 - 1;\n\t\t\treturn roll;\n\t\t} else {\n\t\t\tint allNumRoll = (int) (Math.random() * getNumSides()) + 1;\n\t\t\tint roll = allNumRoll * 2;\t\t\n\t\t\treturn roll;\n\t\t}\n\t}",
"public static int rollDice()\n\t{\n\t\tint roll = (int)(Math.random()*6)+1;\n\t\t\n\t\treturn roll;\n\n\t}",
"@Override\r\n\tpublic int rollDice() {\n\t\treturn 0;\r\n\t}",
"public int roll() {\n Random r;\n if (hasSeed) {\n r = new Random();\n }\n else {\n r = new Random();\n }\n prevRoll = r.nextInt(range) + 1;\n return prevRoll;\n }",
"public int roll() {\n this.assuerNN_random();\n //Roll once\n int result = random.nextInt(this.sides)+1;\n //TODO Save the roll somewhere\n\n //Return the roll\n return result;\n }",
"public int roll() {\n return random.nextInt(6) + 1;\n }",
"void roll(int noOfPins);",
"int getAttackRoll();",
"public int getNumberOfRolls()\n {\n return this.numberOfRolls;\n }",
"public static int rollDice(){\n return (int)(Math.random()*6) + 1;\n // Math.random returns a double number >=0.0 and <1.0\n }",
"public int roll()\r\n\t{\r\n\t return die1.roll() + die2.roll();\r\n \t}",
"public int roll() {\n int result = ThreadLocalRandom.current().nextInt(SIDES+1) + 1;// standard 1-7\n if(result == 7){ //LoadedDie 6 occurs twice as often\n return 6;\n } else{\n return result;\n }\n }",
"public static int diceRoll() {\n\t\t\n\t\t//the outcome of the die is stored as an integer and returned\n\t\t\n\t\tint diceNumber = (int)((6 * (Math.random())) + 1);\n\t\treturn diceNumber;\n\t}",
"public int roll()\n {\n int r = (int)(Math.random() * sides) + 1;\n return r;\n }",
"public int roll() {\n Random random = new Random();\n faceValue = random.nextInt(sides)+1;\n return faceValue;\n }",
"public int rollNumber() throws ClientException{\n\t\t//if(canRollNumber()){\n\t\t\thasRolled = true;\n\t\t\tRandom rand = new Random();\n\t\t\tint roll = rand.nextInt(6)+1;\n\t\t\troll += rand.nextInt(6)+1;\n\t\t\treturn roll == 7 ? 6:roll;\n\n\t}",
"public int rollDice(){\r\n\t\tString playerResponse;\r\n\t\tplayerResponse=JOptionPane.showInputDialog(name+\". \"+\"Type anything to roll\");\r\n\t\t//System.out.println(name+\"'s response: \"+playerResponse);\r\n\t\tdice1=(int)(Math.random() * ((6 - 1) + 1)) + 1;\r\n\t\tdice2=(int)(Math.random() * ((6 - 1) + 1)) + 1;\r\n\t\tdicetotal=dice1+dice2;\r\n\t\tnumTurns++;\r\n\t\treturn dicetotal;\r\n\t}",
"int RollDice ()\n {\n\tint roll = (int) (Math.random () * 6) + 1;\n\treturn roll;\n }",
"public static int diceRoll() {\n Random roller = new Random();//Create a random number generator\r\n return roller.nextInt(6) + 1;//Generate a number between 0-5 and add 1 to it\r\n }",
"public int rollResult(){\r\n return rand.nextInt(6) + 1;\r\n }",
"public int roll_the_dice() {\n Random r = new Random();\n int number = r.nextInt(6) + 1;\n\n return number;\n }",
"public int diceValue()\r\n\t{\r\n\t\treturn rollNumber;\r\n\t}",
"boolean hasRoll();",
"boolean hasRoll();",
"public final int getRollNo() {\n\t\t// this.rollNo = 10 ;\n\t\treturn this.rollNo;\n\t}",
"public int rollDice() {\n\t\td1 = (int)rand.nextInt(6)+1;\n\t\td2 = (int)rand.nextInt(6)+1;\n\t\treturn d1+d2;\n\t}",
"public int rollDice() {\n\t\td1 = r.nextInt(6) + 1;\n\t\td2 = r.nextInt(6) + 1;\n\t\trepaint();\n\t\treturn d1 + d2;\n\t}",
"public int rollDie() {\n\t\treturn (int) (Math.random()*6)+1;\n\t}",
"public int getThrow()\n{\n // Return the total number of times the dice was thrown.\n return throwCount;\n}",
"public float getRoll() {\n return roll_;\n }",
"public float getRoll() {\n return roll_;\n }",
"public int attackRoll(){\r\n\t\treturn (int) (Math.random() * 100);\r\n\t}",
"public Number getTotalRolls() {\n return (Number)getAttributeInternal(TOTALROLLS);\n }",
"public int getRollNo() {\n\t\treturn this.roll_no;\n\t}",
"private int diceRoll(int sides) {\n return (int) ((Math.random() * sides) + 1);\n }",
"public int roll() {\n if(!debug)\n this.result = random.nextInt(6) + 1;\n else{\n scanner = new Scanner(showInputDialog(\"Enter dice value (1-6):\"));\n try{int res = scanner.nextInt()%7;\n this.result = res!=0? res:6;\n }\n catch(NoSuchElementException ne){this.result=6;} \n }\n return this.result;\n }",
"void rollDice();",
"public abstract int rollDice();",
"int getScoresCount();",
"protected int getTotalEnrolled() {\n return getTotalEnrolledEvening() + getTotalEnrolledMorning();\n }",
"public float getRoll() {\n return roll_;\n }",
"public float getRoll() {\n return roll_;\n }",
"private int rollDie() {\r\n final SecureRandom random = new SecureRandom();\r\n return random.nextInt(6 - 1) + 1;\r\n }",
"public int roll(){\r\n myFaceValue = (int)(Math.random() * myNumSides) + 1;\r\n return myFaceValue;\r\n }",
"public static int rollDie() {\n int n = ThreadLocalRandom.current().nextInt(1, 7);\n return n;\n }",
"int getReaultCount();",
"public int rollMult(){\r\n\t\treturn dieClass.rollMultiplier();\r\n\t}",
"public int getTotRuptures();",
"public void roll(){\n Random rand = new Random();\n this.rollVal = rand.nextInt(this.faces) + 1;\n }",
"public static int rollFairDie(){\n\t\t\n\t\tdouble rand = Math.random();\n\t\tint roll = (int) (rand * 6); // [0,5] what above code does.\n\t\treturn roll + 1;\n\t}",
"public int rodCount ();",
"public double getRoll() { return _rss==null? 0 : _rss.roll; }",
"public int roll(int dices){\n int faces[] = new int[dices];\n int total = 0;\n Dice dice = new Dice();\n for(int i = 0; i < dices; i++){\n faces[i] = (dice.rand.nextInt(6) + 1);\n }\n for(int i = 0; i < faces.length-1; i++){\n if(faces[i] != faces[i+1]){\n this.isDouble = false;\n break;\n }\n else{\n this.isDouble = true;\n }\n }\n if(this.isDouble == true){\n this.twiceCounter++;\n }\n for(int i = 1; i < faces.length+1; i++){\n System.out.print(\"The \" + i + \". dice: \" + faces[i-1] + \" \");\n total += faces[i-1];\n }\n System.out.println(\" and the sum is \" + total);\n\n return total;\n }",
"public int getThirdRoll() {return roll3;}",
"public int roll(int roll) {\n \t\tappendAction(R.string.player_roll, Integer.toString(roll));\n \t\tboard.roll(roll);\n \n \t\treturn roll;\n \t}",
"public int getRollVal(){\n return this.rollVal;\n }",
"public int getRoll1()\r\n {\r\n return roll1;\r\n }",
"void rollNumber(int d1, int d2);",
"public int prevRoll() {\n return prevRoll;\n }",
"RollingResult roll(Player player);",
"public static int rollStrength(){\n num1 = (int)(Math.random()*(20-0+1)+0);\n return num1;\n }",
"int getAoisCount();",
"public static void main(String[] args) {\n\t\t\r\n\t\tint[] totals = new int[11];\r\n\t\tint dice;\r\n\t\tint diceTwo;\r\n\t\tint total;\r\n\r\n\t\t\r\n\r\n\t\tfor (int i = 0; i < 10000; i++) {\r\n\t\t\tdice = (int) (Math.random() * 6) + 1;\r\n\t\t\tdiceTwo = (int) (Math.random() * 6) + 1;\r\n\t\t\ttotal = dice + diceTwo; \r\n\t\t\tif (total == 2) {\r\n\r\n\t\t\t\ttotals[0]++;\r\n\t\t\t}\r\n\r\n\t\t\telse if (total == 3) {\r\n\r\n\t\t\t\ttotals[1]++;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\telse if (total == 4) {\r\n\r\n\t\t\t\ttotals[2]++;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\telse if (total == 5) {\r\n\r\n\t\t\t\ttotals[3]++;\r\n\t\t\t}\r\n\t\t\telse if (total == 6) {\r\n\r\n\t\t\t\ttotals[4]++;\r\n\t\t\t}\r\n\t\t\telse if (total == 7) {\r\n\r\n\t\t\t\ttotals[5]++;\r\n\t\t\t}\r\n\t\t\telse if (total == 8) {\r\n\r\n\t\t\t\ttotals[6]++;\r\n\t\t\t}\r\n\t\t\telse if (total == 9) {\r\n\r\n\t\t\t\ttotals[7]++;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\telse if (total == 10) {\r\n\r\n\t\t\t\ttotals[8]++;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\telse if (total == 11) {\r\n\r\n\t\t\t\ttotals[9]++;\r\n\t\t\t}\r\n\t\t\telse if (total == 12) {\r\n\r\n\t\t\t\ttotals[10]++;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(\"Total - Number of Rolls\");\r\n\t\tSystem.out.println(\"2 \" + totals[0] );\r\n\t\tSystem.out.println(\"3 \" + totals[1] );\r\n\t\tSystem.out.println(\"4 \" + totals[2] );\r\n\t\tSystem.out.println(\"5 \" + totals[3] );\r\n\t\tSystem.out.println(\"6 \" + totals[4] );\r\n\t\tSystem.out.println(\"7 \" + totals[5] );\r\n\t\tSystem.out.println(\"8 \" + totals[6] );\r\n\t\tSystem.out.println(\"9 \" + totals[7] );\r\n\t\tSystem.out.println(\"10 \" + totals[8] );\r\n\t\tSystem.out.println(\"11 \" + totals[9] );\r\n\t\tSystem.out.println(\"12 \" + totals[10] );\r\n\t}",
"public static int diceRoll(){\n Random rd = new Random();\n int dice1, dice2;\n\n dice1 = rd.nextInt(6) + 1; //assigns random integer between 1 and 6 inclusive to dice 1\n dice2 = rd.nextInt(6) + 1; //assigns random integer between 1 and 6 inclusive to dice 2\n\n System.out.println(\"You rolled \" + dice1 + \" + \" + dice2 + \" = \" + (dice1+dice2)); //print result\n\n return dice1 + dice2; //returns sum of dice rolls\n\n }",
"public String play() \r\n { \r\n \r\n theDiceTotal = dice.roll();\r\n \r\n while ( theDiceTotal != 12 )\r\n { \r\n theDiceTotal = dice.roll();\r\n System.out.println( dice.getDie1FaceValue() + \" \" + dice.getDie2FaceValue() );\r\n count++;\r\n }\r\n \r\n return ( count - 1 ) + \" dice rolled.\"; \r\n }",
"public void roll()\r\n\t{\r\n\t\tRandom rand = new Random();\r\n\r\n\t\trollNumber = rand.nextInt(numOfSides) + 1;\r\n\t}",
"public static ArrayList<Integer> diceFrequency(int roll)\r\n {\r\n // variables\r\n Dice dice;\r\n int diceRoll;\r\n \r\n // program code\r\n dice = new Dice();\r\n \r\n ArrayList<Integer> frequency;\r\n frequency = new ArrayList<Integer> ();\r\n \r\n for (int i = 0; i < 11; i++)\r\n frequency.add(0);\r\n\r\n // roll the dice until the limit\r\n for (int i = 1; i <= roll; i++)\r\n {\r\n diceRoll = dice.rollDice();\r\n frequency.set(diceRoll - 2, frequency.get(diceRoll - 2) +1 ); \r\n }\r\n return frequency;\r\n }",
"Integer totalRetryAttempts();",
"public static int diceRoll() {\n int max = 20;\n int min = 1;\n int range = max - min + 1;\n int rand = (int) (Math.random() * range) + min;\n return rand;\n }",
"public int getRoll2()\r\n {\r\n return roll2;\r\n }",
"protected int getTotalEnrolledEvening() {\n return getEveningRoster().size();\n }",
"int getAcksCount();",
"int getAcksCount();",
"public int getNumTimes();",
"int getInCount();",
"public String getRoll()\n\t{\n\t\treturn roll.getText();\n\t}",
"private int calculateRollForFrame(RollType rollType, Roll roll, Roll firstFutureRoll, Roll secondFutureRoll) {\n switch (rollType) {\n case STRIKE:\n return lastFrame(roll) ? roll.getPins() : 10 + firstFutureRoll.getPins() + secondFutureRoll.getPins();\n case SPARE:\n return lastFrame(roll) ? roll.getPins() : roll.getPins() + firstFutureRoll.getPins();\n default:\n return roll.getPins();\n }\n }",
"public int tossDice(){\n\t\tRandom r = new Random();\n\t\tdiceValue = r.nextInt(6)+1;\n\t\tdiceTossed = true;\n\t\treturn diceValue;\n\t}",
"public int totalGames() {\n return wins + losses + draws;\n }",
"public static int calculate(List<Roll> rolls) {\n int score = 0;\n if (rolls.isEmpty()) return score;\n\n Roll firstFutureRoll = null;\n Roll secondFutureRoll = null;\n for(int i = rolls.size() - 1; i >= 0; i--) {\n Roll roll = rolls.get(i);\n RollType rollType = rollType(roll);\n score += canCalculateFrame(rollType, firstFutureRoll, secondFutureRoll) ?\n calculateRollForFrame(rollType, roll, firstFutureRoll, secondFutureRoll) : 0;\n\n // Set \"secondFuture roll\" on LAST ROLL so can calculate any strikes in last frame\n secondFutureRoll = rollType.equals(LAST_ROLL) ? roll : firstFutureRoll;\n firstFutureRoll = roll;\n }\n return score;\n }",
"public int getTotalWins() {\n int sum = 0;\n for (int i = 0; i < 13; i++) {\n sum += i * this.statistics.getDecksByWins().get(i);\n }\n return sum;\n }",
"public int countHandShakes(){\n\t\tif (this.getNCouples() < 1) {\n\t\t\treturn 0;\n\t\t}else if (this.getNCouples() == 1) {\n\t\t\treturn 1;\n\t\t}else{\n\t\t\tthis.setNCouples(this.getNCouples() - 1);\n\t\t\treturn (this.getNCouples() + 1) * 3 - 2 + countHandShakes();\n\t\t}\n\t}",
"public int roll3D6()\n {\n Random random1 = new Random();\n int r = random1.nextInt(6) +1;\n r += random1.nextInt(6) +1;\n r += random1.nextInt(6) +1;\n return r;\n }",
"protected int getTotalEnrolledMorning() {\n return getMorningRoster().size();\n }",
"int getTotalCount();",
"public Number getTotalAlocRolls() {\n return (Number)getAttributeInternal(TOTALALOCROLLS);\n }",
"Integer getTotalStepCount();",
"public int takeTurn(Dice theDice){\n \n this.turnCounter++;\n \n return(theDice.rollDice());\n \n }",
"void roll(int pins);",
"int readRepetitionCount();",
"public synchronized double getRoll() {\n\t\tif (isConnected) {\n\t\t\treturn gyro.getRoll();\n\t\t}\n\t\telse {\n\t\t\treturn 0;\n\t\t}\n\t}",
"int getStatsCount();"
] |
[
"0.8015432",
"0.7388876",
"0.7373832",
"0.7329057",
"0.73209935",
"0.72767895",
"0.72767895",
"0.7263336",
"0.7249543",
"0.72420967",
"0.71996963",
"0.71732306",
"0.7145802",
"0.71069926",
"0.7094627",
"0.70943624",
"0.7071428",
"0.7035313",
"0.7011355",
"0.6986794",
"0.69712317",
"0.6966632",
"0.69629693",
"0.69264877",
"0.690769",
"0.6904026",
"0.69025344",
"0.68512475",
"0.6830295",
"0.6814747",
"0.67703056",
"0.67404103",
"0.67404103",
"0.672391",
"0.66763705",
"0.6659294",
"0.6638818",
"0.66095805",
"0.65516627",
"0.65516627",
"0.65439093",
"0.6531309",
"0.65285105",
"0.6515686",
"0.6506769",
"0.6503608",
"0.6500827",
"0.64989275",
"0.64938384",
"0.64742273",
"0.64742273",
"0.6471449",
"0.64663655",
"0.64608324",
"0.6457614",
"0.64211375",
"0.6413772",
"0.6412658",
"0.6412378",
"0.6405508",
"0.63835496",
"0.6373177",
"0.6361062",
"0.6342288",
"0.6333795",
"0.63285524",
"0.63234776",
"0.63109004",
"0.62967783",
"0.629559",
"0.62848175",
"0.6280044",
"0.62781376",
"0.62745035",
"0.6262207",
"0.62437886",
"0.62415963",
"0.6225373",
"0.62102437",
"0.6187746",
"0.61835885",
"0.61835885",
"0.6178963",
"0.61762583",
"0.6159392",
"0.6145017",
"0.61444163",
"0.61436015",
"0.6140277",
"0.61111337",
"0.61021954",
"0.61015964",
"0.60964",
"0.6081629",
"0.6057266",
"0.6027449",
"0.60216576",
"0.6020158",
"0.6005197",
"0.598077",
"0.59745663"
] |
0.0
|
-1
|
step1 String UserName="Admin",Password="admin123"; String Nationality_text="Indian899"; String URL=" step1
|
@DataProvider(name = "TC01_Add_Nationality")
public static Object[][] Authentication1() throws Exception {
ExcelApiTest4 eat = new ExcelApiTest4();
Object[][] testObjArray = eat.getTableArray("C://HTML Report//OrangeHRM6//TC01_Nationality3.xlsx", "Sheet1");
System.out.println(testObjArray.length);
return (testObjArray);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Given(\"^I'm on \\\"([^\\\"]*)\\\" page of GetGo pay with valid \\\"([^\\\"]*)\\\" and \\\"([^\\\"]*)\\\"$\")\n public void i_m_on_page_of_GetGo_pay_with_valid_and(String arg1, String arg2, String arg3) throws Throwable {\n passworddetails=arg3;\n email=PropertyReader.testDataOf(arg2);\n if(Device.isAndroid()) {\n welcome.clickLogin();\n login.enterEmail(PropertyReader.testDataOf(arg2));\n login.clickNext();\n login.enterPassword(PropertyReader.testDataOf(arg3));\n //login.enterPassword(PropertyReader.dynamicReadTestDataOf(arg3));\n\n login.clickLogin();\n //dashboard.\n }\n else\n {\n login.iOSLoginFlow(PropertyReader.testDataOf(arg2),PropertyReader.testDataOf(arg3));\n }\n\n }",
"public void LoginHomePage(){\r\n\t\t\r\n\t\tString username =ExcelRetrieve(8, 1);\r\n\tString password = ExcelRetrieve(9, 1);\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- My Account should be clicked and user should get logged in\");\r\n\t\ttry{\r\n\t\t\tSystem.out.println(\"inside login function\");\r\n\t\t\tsleep(3000);\r\n\t\t\t//click(locator_split(\"btnLoginArrow\"));\r\n\t\t//\tclearWebEdit(locator_split(\"txtLoginNamegrasp\"));\r\n\t\t//driver.get(\"https://tuchwsmw0301.r1-core.r1.aig.net:20400/prweb/GRASPExt\");\r\n\t\t\tdriver.get(\"https://www.ultimatix.net\");\r\n\t\tsleep(5000);\r\n\t\t\t//System.out.println(locator_split(\"txtLoginNamegrasp\"));\r\n\t\tclearWebEdit(locator_split(\"txtultimatixuser\"));\r\n\t\tsleep(5000);\r\n\t\tSystem.out.println(username);\r\n\t\tSystem.out.println(password);\r\n\t\tsendKeys(locator_split(\"txtultimatixuser\"), username);\r\n\t\tsendKeys(locator_split(\"txtultimatixpass\"), password);\r\n\t\t\t\t\t\t//clearWebEdit(locator_split(\"txtLoginNamegrasp\"));\r\n\t\t\t//sendKeys(locator_split(\"txtLoginNamegrasp\"), username);\r\n\t\t\t//sendKeys(locator_split(\"txtpasswordgrasp\"), password);\r\n\t\t\t//driver.findElement(By.name(\"USER\")).clear();\r\n\t\t\t//driver.findElement(By.name(\"USER\")).sendKeys(username);\r\n\t\t//\tdriver.findElement(locator_split(\"txtLoginNamegrasp\")).sendKeys(username);\r\n\t\t\t//driver.findElement(locator_split(\"txtpasswordgrasp\")).sendKeys(password);\r\n\t\t\t//driver.findElement(locator_split(\"btnlogingrasp\")).click();\r\n\t\t\t//click(locator_split(\"btnlogingrasp\"));\r\n\t\t\tclick(locator_split(\"btxultimatix\"));\r\n\t\t\t//sleep(5000);\r\n\t\t\t//driver.findElement(locator_split(\"btn_privacyok\")).click();\r\n\t\t//click(locator_split(\"btn_privacyok\"));\r\n\t\t\t\r\n\t\t\t/*Reporter.log(\"PASS_MESSAGE:- My Account is clicked and user is logged in\");*/\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- User is not logged in\");\r\n\t\t\tthrow new NoSuchElementException(\"The element with\"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"LoginLogout\")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"public void input_details_log()\r\n {\r\n System.out.print(\"\\n Enter your email id: \");\r\n Email=sc.nextLine();\r\n\r\n System.out.print(\" Enter your password: \");\r\n check_passwrd=sc.nextLine();\r\n }",
"@When(\"^User login into application with \\\"([^\\\"]*)\\\" and \\\"([^\\\"]*)\\\"$\")\r\n public void user_login_into_application_with_something_and_something(String strArg1, String strArg2) throws Throwable {\n \tSystem.out.println(strArg1);\r\n \tSystem.out.println(strArg2);\t\r\n \r\n }",
"public void LocationAssesment_Location(){\r\n\t\t//String RFSID = getValue(\"RFSName\");\r\n\t//\tString password = getValue(Password);\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- My Account should be clicked and user should get logged in\");\r\n\t\ttry{\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t\t\t\tsleep(3000);\r\n\t\t\t System.out.println(\"switched frame\"+ switchframe(\"PegaGadget2Ifr\"));\r\n\t\t\t click(locator_split(\"tabLocationAssesment\"));\r\n\t\t\t click(locator_split(\"linkclickLocation\"));\r\n\t\t\t // driver.findElement(By.xpath(\"//*[@tabindex='4']/a/span\")).click();\r\n\t\t\t // driver.findElement(By.xpath(\"//a[@title='Click here to open Location Assessment']\")).click();\r\n\t\t\t driver.switchTo().defaultContent();\r\n\t\t\t System.out.println(\"switched frame\"+ switchframe(\"PegaGadget3Ifr\"));\r\n\t\t\t click(locator_split(\"tabLocation\"));\r\n\t\t\t //driver.findElement(By.xpath(\"//li[@tabindex='0']/a/span\")).click();\r\n\t\t\t System.out.println(\"verification\");\r\n\t\t\t sleep(1000);\r\n\t\t\t\t System.out.println(driver.findElement(By.id(\"GRASP_LOCATION_NM\")).getAttribute(\"value\"));\r\nsleep(2000);\r\n\t\t\t \r\n\t\t\t // verifyTextPresent(locator_split(\"txtLocation\"), getValue(\"Locationname\"),\"Location Name\");\r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"txtLocation\"), getValue(\"Locationname\")) == false){\r\n\t\t\t \r\n\t\t\t \tclearWebEdit(locator_split(\"txtLocation\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tsendKeys((locator_split(\"txtLocation\")), getValue(\"Locationname\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t \t\r\n\t\t\t \r\n\t\t\t \t\r\n\t\t\t // getAndVerifyTextvalue(locator_split(\"txtCity\"), getValue(\"CityName\"),\"city\");\r\n\t\t\t // System.out.println(driver.findElement(By.id(\"GRASP_LOCATION_NM\")).getText());\r\n\t\t\t \r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"txtCity\"), getValue(\"CityName\"))==false){\r\n\t\t\t\t \r\n\t\t\t \tclearWebEdit(locator_split(\"txtCity\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tsendKeys((locator_split(\"txtCity\")), getValue(\"CityName\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t // verifyTextPresent(locator_split(\"ListCountry\"), getValue(\"Country\"),\"Country\");\r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"ListCountry\"), getValue(\"Country\"))==false){\r\n\t\t\t\t \r\n\t\t\t \t//clearWebEdit(locator_split(\"ListCountry\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tselectListValue((locator_split(\"ListCountry\")), getValue(\"Country\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t // verifyTextPresent(locator_split(\"txtBIvalue\"),getValue(\"BIValue\"),\"BI Value\");\r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"txtBIvalue\"), getValue(\"BIValue\"))==false){\r\n\t\t\t\t \r\n\t\t\t \tclearWebEdit(locator_split(\"txtBIvalue\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tsendKeys((locator_split(\"txtBIvalue\")), getValue(\"BIValue\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t // verifyTextPresent(locator_split(\"txtBIindemnityperiod\"), getValue(\"BIIndemnityperiod\"),\"BI Indemnity period\");\r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"txtBIindemnityperiod\"), getValue(\"BIIndemnityperiod\"))==false){\r\n\t\t\t\t \r\n\t\t\t \tclearWebEdit(locator_split(\"txtBIindemnityperiod\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tsendKeys((locator_split(\"txtBIindemnityperiod\")), getValue(\"BIIndemnityperiod\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t // verifyTextPresent(locator_split(\"txtBuildingValue\"), getValue(\"BuildingValue\"),\"Building\");\r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"txtBuildingValue\"), getValue(\"BuildingValue\"))==false){\r\n\t\t\t\t \r\n\t\t\t \tclearWebEdit(locator_split(\"txtBuildingValue\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tsendKeys((locator_split(\"txtBuildingValue\")), getValue(\"BuildingValue\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t // verifyTextPresent(locator_split(\"txtMEvalue\"), getValue(\"MandEvalue\"),\"M+EValue\");\r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"txtMEvalue\"), getValue(\"MandEvalue\"))==false){\r\n\t\t\t\t \r\n\t\t\t \tclearWebEdit(locator_split(\"txtMEvalue\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tsendKeys((locator_split(\"txtMEvalue\")), getValue(\"MandEvalue\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t // verifyTextPresent(locator_split(\"txtcontentvalue\"), getValue(\"Contentvalue\"),\"Content value\");\r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"txtcontentvalue\"), getValue(\"Contentvalue\"))==false){\r\n\t\t\t\t \r\n\t\t\t \tclearWebEdit(locator_split(\"txtcontentvalue\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tsendKeys((locator_split(\"txtcontentvalue\")), getValue(\"Contentvalue\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t //verifyTextPresent(locator_split(\"txtstockinventory\"), getValue(\"Stockvalue\"),\"Stock inventory\");\r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"txtstockinventory\"), getValue(\"Stockvalue\"))==false){\r\n\t\t\t\t \r\n\t\t\t \tclearWebEdit(locator_split(\"txtstockinventory\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tsendKeys((locator_split(\"txtstockinventory\")), getValue(\"Stockvalue\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t // verifyTextPresent(locator_split(\"txtotherPD\"), getValue(\"OtherPD\"),\"Other PD\");\r\n\t\t\t if(getAndVerifyTextvalue(locator_split(\"txtotherPD\"), getValue(\"OtherPD\"))==false){\r\n\t\t\t\t \r\n\t\t\t \tclearWebEdit(locator_split(\"txtotherPD\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tsendKeys((locator_split(\"txtotherPD\")), getValue(\"OtherPD\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t }\r\n\t\t\t //click(locator_split(\"txtLocationnext\"));\r\n\t\t\t\t//clickbylinktext(\"No\");\r\n\t\t\t\r\n\t\t//switchframe(\"PegaGadget2Ifr\");\r\n\t\tsleep(3000);\r\n\t\t//clickbylinktext(\"No\");*/\r\n\t\t\tif(driver.findElement(By.id(\"SectionCompleted\")).isSelected()==true)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Check Box alresy selected\");\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\tSystem.out.println(\"Check box is not selected\");\r\n\t\t\t\tdriver.findElement(By.id(\"SectionCompleted\")).click();\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\r\n\t\t\tReporter.log(\"PASS_MESSAGE:- Report tab is clicked and user is logged in\");\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Report tab is not clicked in\");\r\n\t\t\tthrow new NoSuchElementException(\"The element with\"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"LoginLogout\")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"@Test(dataProvider = \"testData\")\n\tpublic void test1(String Username, String password) {\n\t\tSystem.out.println(Username + \" | \" + password);\n\n//\t\tNavigating to the page\n\t\tdriver.get(\"https://opensource-demo.orangehrmlive.com/\");\n//\t\tEntering USernames and PAsswords stored in exel file\n\t\tdriver.findElement(By.id(\"txtUsername\")).sendKeys(Username);\n\t\tdriver.findElement(By.id(\"txtPassword\")).sendKeys(password);\n\t\tdriver.findElement(By.id(\"btnLogin\")).click();\n\t\ttry {\n\t\t\tThread.sleep(1000);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"public static void testcase1() {\n \r\n \tMainclass method = new Mainclass();\r\n\t\tLocators Loc = new Locators();\r\n\t\tmethod.launchwebapp(\"https://google.com\");\r\n\t\tmethod.sendkeys(Loc.test, \"Java Test\");\r\n\t\tmethod.Gettext(Loc.signin);\r\n\t\tmethod.click(Loc.signin);\r\n\t\t//method.sendkeys(Loc.username, \"[email protected]\");\r\n\t\t//method.click(Loc.Submit);\r\n\t\t//method.sendkeys(Loc.Password, \"Password@123\");\r\n\t\t//method.click(Loc.Submit);\r\n\t\t//method.click(Loc.Loctest);\r\n\t\t//method.sendkeys(Loc.test, \"Test\");\r\n\t\t//String Actual = method.Gettext(Loc.signin);\r\n\t\t//String expected = \"sign in\";\r\n\t\t\r\n\t\t\r\n\t}",
"public static void main(String[] args) {\n\t\tWebDriver driver =new FirefoxDriver();\r\n\t\tdriver.get(\"https://training-support.net/selenium/dynamic-attributes\");\r\n System.out.println(driver.getTitle());\r\n driver.findElement(By.xpath(\"//input[contains(@class,'-username')]\")).sendKeys(\"Sukanya\");\r\n driver.findElement(By.xpath(\"//input[contains(@class,'-password')]\")).sendKeys(\"password\");\r\n driver.findElement(By.xpath(\"//label[text()='Confirm Password']/following-sibling::input\")).sendKeys(\"password\");\r\n driver.findElement(By.xpath(\"//input[starts-with(@class,'email-')]\")).sendKeys(\"[email protected]\");\r\n driver.findElement(By.xpath(\"//button[@type='submit' and text()='Sign Up']\")).click();\r\n System.out.println(driver.findElement(By.id(\"action-confirmation\")).getText());\r\n driver.close();\r\n\t}",
"public void AddLocation(String subtab){\r\n\t\t//String username = getValue(Email);\r\n\t//\tString password = getValue(Password);\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- My Account should be clicked and user should get logged in\");\r\n\t\ttry{\r\n\t\t\tsleep(3000);\r\n\t\t\tclick(locator_split(\"Maintenencetab\"));\r\n\t\t\tsleep(3000);\r\n\t\t\tswitchframe(\"PegaGadget1Ifr\");\r\n\t\t\tsleep(2000);\r\n\t\t\tclick(locator_split(subtab));\r\n\t\t\tsleep(3000);\r\n\t\t\t//selectList(locator_split(\"LstLineofBusiness\"),1);\r\n\t\t\tselectListValue(locator_split(\"LstLineofBusiness\"), \"ENERGY AND ENGINEERED RISK\");\r\n\t\t\tsleep(3000);\r\n\t\t\tsendKeys(locator_split(\"txtlocationName\"), \"KOPPERS INC.\");\r\n\t\t\tclick(locator_split(\"txtlocationselect\"));\r\n\t\t\tsleep(2000);\r\n\t\t\t//click(locator_split(\"Lstlocationselect\"));\r\n\t\t\tsendKeys(locator_split(\"LstPolicyeffectiveDate\"), \"01-Jan-2013 - 201310029\");\r\n\t\t\tclick(locator_split(\"txtlocationselect\"));\r\n\t\t\t//selectListValue(locator_split(\"LstPolicyeffectiveDate\"),\"01-Jan-2013 - 201310029\");\r\n\t\t\t//selectlistname(locator_split(\"LstPolicyeffectiveDate\"));\r\n\t\t\tsleep(3000);\r\n\t\t\tclick(locator_split(\"btnGetLocations\"));\r\n\t\t//\tclick(locator_split(\"btnAddLocations\"));\r\n\t\t/*\tclearWebEdit(locator_split(\"txtLoginNamegrasp\"));\r\n\t\t\t//sendKeys(locator_split(\"txtLoginNamegrasp\"), username);\r\n\t\t\t//sendKeys(locator_split(\"txtpasswordgrasp\"), password);\r\n\t\t\t\r\n\t\t\tsleep(3000);\r\n\t\t\tclick(locator_split(\"btn_privacyok\"));*/\r\n\t\t\tReporter.log(\"PASS_MESSAGE:- Report tab is clicked and user is logged in\");\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Report tab is not clicked in\");\r\n\t\t\tthrow new NoSuchElementException(\"The element with\"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"LoginLogout\")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"@When(\"^user enters username \\\"([^\\\"]*)\\\" and password \\\"([^\\\"]*)\\\"$\")\npublic void user_enters_username_something_and_password_something(String username, String password) throws Throwable {\nLpI.Login(username, password);\n}",
"public void AddSingleLocation(){\r\n\t\t\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- My Account should be clicked and user should get logged in\");\r\n\t\ttry{\r\n\t\t\tsleep(3000);\r\n\t\t\t\r\n\t\t\tclick(locator_split(\"btnAddSingleLocation\"));\r\n\t\t\r\n\t\t\tsendKeys(locator_split(\"txtlocationname\"), getValue(\"Locationname\"));\r\n\t\t\tsendKeys(locator_split(\"txtlocationCurrency\"), getValue(\"LocationCurrency\"));\r\n\t\t\tsendKeys(locator_split(\"txtCityname\"), getValue(\"CityName\"));\r\n\t\t\tsendKeys(locator_split(\"txtcountryname\"), getValue(\"Country\"));\r\n\t\t\tsendKeys(locator_split(\"txtstate\"), getValue(\"State\"));\r\n\t\t\tsleep(3000);\r\n\t\t\tsendKeys(locator_split(\"txtbuildingvalue\"), getValue(\"BuildingValueCurrency\"));\r\n\t\t\tsendKeys(locator_split(\"txtmandevalue\"), getValue(\"MandEvaluecurrency\"));\r\n\t\t\tsendKeys(locator_split(\"txtcontentvalue\"), getValue(\"ContentvalueCurrency\"));\r\n\t\t\tsendKeys(locator_split(\"txtotherpd\"), getValue(\"Stockvaluecurrency\"));\r\n\t\t\tsendKeys(locator_split(\"txtstockvalue\"), getValue(\"OtherPDcurrency\"));\r\n\t\t\tsendKeys(locator_split(\"txtBIValue\"), getValue(\"BIValueCurrency\"));\r\n\t\t\tsendKeys(locator_split(\"txtindemnityperiod\"), getValue(\"BIIndemnityperiod\"));\r\n\t\t\r\n\t\t\tclick(locator_split(\"btnSaveLocation\"));\r\n\t\t\tsleep(5000);\r\n\t\t\tReporter.log(\"PASS_MESSAGE:- Report tab is clicked and user is logged in\");\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Report tab is not clicked in\");\r\n\t\t\tthrow new NoSuchElementException(\"The element with\"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"LoginLogout\")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"@When(\"user logs in with {string} and {string} password\")\n public void user_logs_in_with_and_password(String string, String string2) {\n loginPage.login(string,string2);\n\n }",
"public static void main(String[] args) {\n\t\tString url = \"http://hell.com/?pw=8936,id='fsfds'\";\n\t\t\n\t\tint location = url.indexOf(\"pw=\");\n\t\tString str2 = url.substring(location+7);\n\t\tString str1 = url.substring(0,location+3);\n\t\tSystem.out.println(str1+\"****\"+str2);\n\t\t\n\t}",
"@When(\"user enters correct {string} and {string} and clicks login\")\r\npublic void user_enters_correct_and_and_clicks_login(String string1, String string2) {\n\tuAdminlogin.AdminLogin(string1,string2);\r\n}",
"@When(\"^Enter password as \\\"([^\\\"]*)\\\"$\")\n\tpublic void enter_password_as(String arg1) throws Throwable {\n\t\tpass = arg1;\n\t\tSystem.out.println(userName+\" - \"+ pass);\n\t\tloginPage.loginWithCredentials(userName, pass);\n\t}",
"public void VerifyHomepage(){\r\n\t\t//String username = getValue(Email);\r\n\t//\tString password = getValue(Password);\r\n\r\n\t//\tclass Local {};\r\n\t\t/*Reporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- My Account should be clicked and user should get logged in\");*/\r\n\t\ttry{\r\n\t\t\tsleep(3000);\r\n\t\t\t//driver.findElement(locator_split(\"btn_privacyok\")).click();\r\n\t\tclick(locator_split(\"btn_privacyok\"));\r\n\t\t\t\r\n\t\t\t/*Reporter.log(\"PASS_MESSAGE:- My Account is clicked and user is logged in\");*/\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- User is not logged in\");\r\n\t\t\tthrow new NoSuchElementException(\"The element with\"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"LoginLogout\")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"@Given(\"^User Clicks on url \\\"([^\\\"]*)\\\"$\")\n\tpublic void user_Clicks_on_url(String arg1) throws Throwable {\n\t\tthis.driver.navigate().to(\"https://wallethub.com/profile/test-insurance-company-13732055i\");\n\t}",
"@Test\n\tpublic void loginToOpentaps() {\n\t\tinvokeApp(\"chrome\", \"http://demo1.opentaps.org\");\n\n\t\t// Step 2: Enter user name\n\t\tenterById(\"username\", \"DemoSalesManager\");\n\n\t\t// Step 3: Enter Password\n\t\tenterById(\"password\", \"crmsfa\");\n\n\t\t// Step 4: Click Login\n\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\n\t\t// Step 5: Verify Username\n\t\tverifyTextContainsByXpath(\"//div[@id='form']/h2\", \"Welcome\");\n\t\t\n\t\t// Step 6: Click Logout\n\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\n\n\n\n\t}",
"public static void main(String[] args) {\n\t\tFirefoxDriver driver = new FirefoxDriver();\r\n\t\t\r\n\t\t\r\n\t\t// To load the url\r\n\t\tdriver.get(\"http://demo1.opentaps.org/opentaps/control/main\");\r\n\t\t\r\n\t\t\r\n\t\t//Set implicit wait\r\n\t\t driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\r\n\t\t \r\n\t\t \r\n\t\t //maximize the windos\r\n\t\t driver.manage().window().maximize();\r\n\t\t \r\n\t\t \r\n\t\t //enter user name\r\n\t\t driver.findElementById(\"username\").clear();\r\n\t\t driver.findElementById(\"username\").sendKeys(\"DemoSalesManager\");\r\n\t\t \r\n\t\t //enter user name\r\n\t\t driver.findElementById(\"password\").clear();\r\n\t\t driver.findElementById(\"password\").sendKeys(\"crmsfa\");\r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t driver.findElementByXPath(\"//*[@id='login']/p[3]/input\").click();\r\n\t\t \r\n\t\t \t\r\n\t\tdriver.findElementByLinkText(\"CRM/SFA\").click();\r\n\t \r\n\r\n\t}",
"@Test\n public void sdet() {\n System.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\willi\\\\Desktop\\\\WebdriverJavaCucumber\\\\chromedriver.exe\");\n\n WebDriver driver = new ChromeDriver();\n //WebDriver driver = new FirefoxDriver();\n //open url\n driver.get(\"http://sdettraining.com/trguitransactions/AccountManagement.aspx\");\n// //enter email\n driver.findElement(By.xpath(\"//*[@name = 'ctl00$MainContent$txtUserName']\")).sendKeys(\"[email protected]\");\n// //enter pass SeleniumClass\n driver.findElement(By.xpath(\"//input[@id='MainContent_txtPassword']\")).sendKeys(\"SeleniumClass\");\n// //click Logon\n driver.findElement(By.xpath(\"//input[@id='MainContent_btnLogin']\")).click();\n// //get comfirmation\n\n if (driver.getTitle().equals(\"SDET Training | Account Management\")){\n System.out.println(\"Test passed\");\n }else {\n System.out.println(\"Test failed\");\n //make it really fail if it fils\n fail(\"Test failed\");//junit ..>>import static junit.framework.TestCase.fail;\n }\n\n// String message = driver.findElement(By.id(\"//small[@id='conf_message']\")).getText();\n// System.out.println(\"Confirmation\" + message);\n// //close\n driver.close();\n\n\n\n\n }",
"public void AddAccount(String subtab){\r\n\t\t//String username = getValue(Email);\r\n\t//\tString password = getValue(Password);\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- My Account should be clicked and user should get logged in\");\r\n\t\ttry{\r\n\t\t\tsleep(3000);\r\n\t\t\tclick(locator_split(\"Maintenencetab\"));\r\n\t\t\tsleep(3000);\r\n\t\t\tswitchframe(\"PegaGadget1Ifr\");\r\n\t\t\tsleep(2000);\r\n\t\t\tclick(locator_split(subtab));\r\n\t\t\tsleep(3000);\r\n\t\t\tsendKeys(locator_split(\"txtAccountName\"), getValue(\"Accountname\"));\r\n\t\t\t//selectList(locator_split(\"LstLineofBusiness\"),1);\r\n\t\t\tselectListValue(locator_split(\"LstLineofBusiness\"), \"ENERGY AND ENGINEERED RISK\");\r\n\t\t\tsleep(3000);\r\n\t\t\tsendKeys(locator_split(\"lstOccupancyType\"), getValue(\"Occupancytype\"));\r\n\t\t\tsendKeys(locator_split(\"txtlocationselect\"), getValue(\"BusinessAs\"));\r\n\t\t\tsendKeys(locator_split(\"LstaccountunderWriter\"), getValue(\"Underwriter\"));\r\n\t\t\tsleep(2000);\r\n\t\t\tsendKeys(locator_split(\"LstunderwriterRegion\"), getValue(\"UnderwriterRegion\"));\r\n\t\t\tsleep(2000);\r\n\r\n\t\t\tsendKeys(locator_split(\"LstUnderWriterCountry\"), getValue(\"UnderWriterCountry\"));\r\n\t\t\tsleep(2000);\r\n\r\n\t\t\tsendKeys(locator_split(\"LstUnderWriterBranch\"), getValue(\"UnderWriterBranch\"));\r\n\t\t\tsleep(2000);\r\n\r\n\t\t\tsendKeys(locator_split(\"LstAccountEngineerId\"), getValue(\"AccountEngineer\"));\r\n\t\t\tsleep(2000);\r\n\r\n\t\t\tclearWebEdit(locator_split(\"LstAccountCurrency\"));\r\n\t\t\tsleep(2000);\r\n\t\t\tsendKeys(locator_split(\"LstAccountCurrency\"), getValue(\"Accountcurrency\"));\r\n\t\t\t\r\n\t\t\tsleep(2000);\r\n\t\t\tsendKeys(locator_split(\"txtPolicyInceptionDate\"), getValue(\"PolicyInceptiondate\"));\r\n\t\t\tsleep(2000);\r\n\t\t\tsendKeys(locator_split(\"txtpolicyExpirationDate\"), getValue(\"PolicyExpirydate\"));\r\n\t\t\tsendKeys(locator_split(\"txtAccountPD\"), getValue(\"AccountPD\"));\r\n\t\t\tsleep(3000);\r\n\t\t\tsendKeys(locator_split(\"txtAccountBI\"), getValue(\"AccountBI\"));\r\n\t\t\tsleep(3000);\r\n\t\t\tsendKeys(locator_split(\"txtAccBI\"), getValue(\"AccountBI\"));\r\n\t\t\tsleep(5000);\r\n\t\t\tsendKeys(locator_split(\"txtpolicyLimit\"), getValue(\"PolicyLimit\"));\r\n\t\t\tsleep(5000);\r\n\t\t\tsendKeys(locator_split(\"txtPolicyNumber\"), getValue(\"PolicyNumber\"));\r\n\t\t\tsleep(2000);\r\n\t\t\tsendKeys(locator_split(\"txtpolicyLimit\"), getValue(\"PolicyLimit\"));\r\n\t\t\tsleep(5000);\r\n\t\t\tsendKeys(locator_split(\"LstPolicyStatus\"), getValue(\"Policystatus\"));\r\n\t\t\t//click(locator_split(\"txtlocationselect\"));\r\n\t\t\tsleep(2000);\r\n\t\t\t//click(locator_split(\"Lstlocationselect\"));\r\n\t\t\t\r\n\t\t\tclick(locator_split(\"btnAddAccount\"));\r\n\t\t\tsleep(3000);\r\n\t\t//\tclick(locator_split(\"btnAddLocations\"));\r\n\t\t/*\tclearWebEdit(locator_split(\"txtLoginNamegrasp\"));\r\n\t\t\t//sendKeys(locator_split(\"txtLoginNamegrasp\"), username);\r\n\t\t\t//sendKeys(locator_split(\"txtpasswordgrasp\"), password);\r\n\t\t\t\r\n\t\t\tsleep(3000);\r\n\t\t\tclick(locator_split(\"btn_privacyok\"));*/\r\n\t\t\tsleep(5000);\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tSystem.out.println(getText(locator_split(\"txtAccountID\")));\r\n\t\t\tsleep(5000);\r\n\r\n\t\t\tReporter.log(\"PASS_MESSAGE:- Report tab is clicked and user is logged in\");\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Report tab is not clicked in\");\r\n\t\t\tthrow new NoSuchElementException(\"The element with\"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"LoginLogout\")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"public static void main(String[] args) {\n\n\t\tExtentHtmlReporter htmlReporter=new ExtentHtmlReporter(\"C:\\\\Users\\\\Lenovo\\\\Desktop\\\\supriya\\\\Report\\\\batch.html\");\n\t\tExtentReports report=new ExtentReports();\n\t\treport.attachReporter(htmlReporter);\n\t\tExtentTest logger= report.createTest(\"Aut_02_login to flight App\", \"User able to login succsessfully\");\n\t\tlogger.log(Status.PASS, \"URL Launched\");\n\t\tlogger.log(Status.PASS, \"User Name Entered Successfully\");\n\t\tlogger.log(Status.PASS, \"Password Entered Successfully\");\n\t\tlogger.log(Status.PASS, \"Clic on Login\");\n\t\t\n\t\treport.flush();\n\t\t\n\t}",
"@And(\"^user enters \\\"([^\\\"]*)\\\" as Company Name$\")\n\tpublic void user_enters_as_Company_Name(String arg1) throws Throwable {\n\t\ttry {\n\t\t SeleniumOperations.setText(\"//input[@name='name']\",arg1);\n\t\t HTMLReportGenerator.StepDetails(\"pass\", \"user enters CompanyName\", \"Expected:User should able to enter CompanyName,Actual:User enters CompanyName successfully \");\n\t\t \n\t\t// String op1=\"Expected:User should able to enter Company name:\"+arg1+\",Actual:User entered Company name Successfully,Exception:NA\";\n\t \t//System.out.println(op1);\n\t\t}\n\t\tcatch(Exception ex)\n\t\t{\n\t\t\t HTMLReportGenerator.StepDetails(\"Fail\", \"user enters CompanyName\", \"Expected:User should able to enter CompanyName,Actual:Fail to enters CompanyName\");\n\t\t\t// String op1=\"Expected:User should able to enter Company name:\"+arg1+\",Actual:Fail to enter Company name ,Exception:NA\"+ex.getMessage();\n\t\t //\tSystem.out.println(op1);\n\t\t \n\t\t}\n\t}",
"protected void TextHttp() {\n\t\tLoginBean loginb = new LoginBean();\n\t\tloginb.setPhone(\"15236290644\");\n\t\tActivityDataRequest.getLoginCheck(TagConfig.TAG_MSG,this, loginb);\n\t\t\n\t\tLoginBean loginb2 = new LoginBean();\n\t\tloginb2.setPhone(\"15631001601\");\n\t\tActivityDataRequest.getLoginCheck(2,this, loginb2);\n\t\t\n\t}",
"@Test\r\n\tpublic void login() throws Exception{\r\n\t\t\r\n\t\tSignInPage objSignInPage=new SignInPage(driver);\r\n\t\t\r\n\t\t//insert username and password\r\n\t\tobjSignInPage.signIn(Util_VU.LOGIN_ID,Util_VU.PASSWORD);\r\n\t\t\r\n\t\t//get\r\n\t\tString step2=driver.getTitle();\r\n\t\tSystem.out.println(step2);\r\n\t\t\r\n\t}",
"public static void main(String[] args) {\n String url = \"jdbc:jtds:sqlserver://localhost:1433/DatabaseName=lib4;charset=Chinese_PRC_CS_AI;\";\n\n String eUrl = DESUtil.getEncryptString(url);\n\n System.out.println(eUrl);\n\n String user = \"sa\";\n\n String eUser = DESUtil.getEncryptString(user);\n\n System.out.println(eUser);\n\n String password = \"GHadmin1234\";\n\n String ePass = DESUtil.getEncryptString(password);\n\n System.out.println(ePass);\n\n\n\n\n\n }",
"@When(\"^user insert your information (.*)$\")\n public void userInsertYourInformation(String arg1) {\n }",
"@Given(\"^User is on netbanking landing page$\")\r\n public void user_is_on_netbanking_landing_page() throws Throwable {\n System.out.println(\"Navigated to Login URL\");\r\n }",
"@Test\n\t\tpublic void login() {\n\n\t\t\tlaunchApp(\"chrome\", \"http://demo1.opentaps.org/opentaps/control/main\");\n\t\t\t//Enter username\n\t\t\tenterTextById(\"username\", \"DemoSalesManager\");\n\t\t\t//Enter Password\n\t\t\tenterTextById(\"password\", \"crmsfa\");\n\t\t\t//Click Login\n\t\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\t//Check Browser Title\n\t\t\tverifyBrowserTitle(\"Opentaps Open Source ERP + CRM\");\n\t\t\t//Click Logout\n\t\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\t\n\n\t\t}",
"public static void main(String[] args) throws Exception \r\n\t{\r\n\t\tHelper obj=new Helper();\r\n\t\tobj.driver_path=\"D:\\\\drivers\\\\chromedriver.exe\";\r\n\t\tobj.Open_App();\r\n\t\t\r\n\t\t//Get global variable and assign value at runtime\r\n\t\tobj.UID=\"[email protected]\";\r\n\t\tobj.PWD=\"Hello12345\";\r\n\t\tobj.User_login();\r\n\t\t\r\n\t\r\n\t\tThread.sleep(5000);\r\n\t\tobj.Close_App();\r\n\r\n\t}",
"@Test\n\t@Parameters({\"url\",\"username\",\"password\"})\n\tpublic void parameterAnnoTest(String url ,String username, String password) throws Exception {\t\n\t\t//hit url\n\t\tdriver.get(url);\n\t\t//Enter email & password\n\t\t\t\tdriver.findElement(By.id(\"user-name\")).sendKeys(username);\n\t\t\t\tdriver.findElement(By.id(\"password\")).sendKeys(password);\n\t\t\t\tThread.sleep(2000);\n\n\t\t\t\t//Click on Login button\n\t\t\t\tdriver.findElement(By.xpath(\"//input[@value='LOGIN']\")).click();\n\t\t\t\tThread.sleep(2000);\n\t\t\t\n\t}",
"public void WaterSupplyDetail(){\r\n\t\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- My Account should be clicked and user should get logged in\");\r\n\t\ttry{\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t/*driver.switchTo().defaultContent();\r\n\t\t\t\t\tsleep(3000);\r\n\t\t\t System.out.println(\"switched frame\"+ switchframe(\"PegaGadget2Ifr\"));\r\n\t\t\t click(locator_split(\"tabLocationAssesment\"));\r\n\t\t\t click(locator_split(\"linkclickLocation\"));*/\r\n\t\t\t // driver.findElement(By.xpath(\"//*[@tabindex='4']/a/span\")).click();\r\n\t\t\t // driver.findElement(By.xpath(\"//a[@title='Click here to open Location Assessment']\")).click();\r\n\t\t\tsleep(5000);\r\n\t\t\t driver.switchTo().defaultContent();\r\n\t\t\t System.out.println(\"switched frame\"+ switchframe(\"PegaGadget3Ifr\"));\r\n\t\t\t click(locator_split(\"tabwatersupply\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t click(locator_split(\"btnaddwatersupply\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t selectListValue(locator_split(\"listwatersupplytype\"), getValue(\"WaterSupplyType\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t selectListValue(locator_split(\"listpumpsassociated\"), getValue(\"PumpsAssociated\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t selectListValue(locator_split(\"listwateradequecy\"), getValue(\"Adequecy\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t click(locator_split(\"expandwatersupplydata\"));\r\n\t\t\t sleep(5000);\r\n\t\t\t click(locator_split(\"linkaddrow\"));\r\n\t\t\t sleep(5000);\r\n\t\t\t click(locator_split(\"linkaddrow\"));\r\n\t\t\t sleep(5000);\r\n \t\t\t \r\n\t\t\t sendKeys(locator_split(\"txtwatersupplytstname\"), getValue(\"WaterSupplyTestName\"));\r\n\t\t\t \r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtwatersupplytestdate\"),getValue(\"TestDate\"));\r\n\t\t\t //select[@id='WATER_SUPPLY_TYPE_CD']\r\n\t\t\t \r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtwatersupplytestedby\"),getValue(\"Testedby\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t \r\n\t\t\t sendKeys(locator_split(\"txtstatipressure\"), getValue(\"StaticPressure\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t \r\n\t\t\t sendKeys(locator_split(\"txtresidualpressure\"), getValue(\"ResidualPressure\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t sendKeys(locator_split(\"txtresidualflowrate\"), getValue(\"ResidualFlowRate\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t sendKeys(locator_split(\"txtpressureloss\"), getValue(\"PressureLoss\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t sendKeys(locator_split(\"txtlocationpressurereadings\"), getValue(\"PressureReadings\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t sendKeys(locator_split(\"txtlocationflowreading\"), getValue(\"FlowReadings\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t click(locator_split(\"btnwatersupplysave\"));\r\n\t\t\t sleep(5000);\r\n\t\t\t click(locator_split(\"checkboxclick\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t click(locator_split(\"expandwatersupplygraph\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t selectListValue(locator_split(\"listwatersupplygraph\"), getValue(\"GraphType\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t click(locator_split(\"btnwatersupplysaveall\"));\r\n\t\t\t \r\n\t\t\t// click(locator_split(\"btncopesave\"));\r\n\t\t\t sleep(5000);\r\n\t\t\t \r\n\t\t\t \r\n\t\t\t\t//clickbylinktext(\"No\");\r\n\t\t\t\r\n\t\t//switchframe(\"PegaGadget2Ifr\");\r\n\t\t//\tsleep(3000);\r\n\t\t//clickbylinktext(\"No\");\r\n\t\t\t\r\n\t\t\t\r\n\t\r\n\t\t\tReporter.log(\"PASS_MESSAGE:- Report tab is clicked and user is logged in\");\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Report tab is not clicked in\");\r\n\t\t\tthrow new NoSuchElementException(\"The element with\"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"LoginLogout\")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"@Test\n\n public void verifyRegistrationPageSLT() throws InterruptedException {\n ReadFromPropFile readFromPropFileObj = new ReadFromPropFile(\"RegiProfile.properties\");\n RegisterHealthcareProfPO registerHealthcareProfPOObj = new RegisterHealthcareProfPO(driver);\n\n //**********************Registration Screen************************************//\n\n //1. Click \"Sign in\" button\n Assert.assertTrue(registerHealthcareProfPOObj.clickOnLinkBtn(registerHealthcareProfPOObj.SignIN_xpath),\"Unable to click on SignIn link \");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Click on SignIn link \", \"User should able to click on sign in link\");\n\n //3. Click on \"Click Here\" button for healthcare office.\n Assert.assertTrue(registerHealthcareProfPOObj.clickOnLinkBtn(registerHealthcareProfPOObj.HireReg_xpath),\"Unable to 'Click Here' button\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Click on 'Click Here' button \", \"User should able to Click on 'Click Here' button \");\n\n //4.Enter \"Facility\" name\n Assert.assertTrue(registerHealthcareProfPOObj.enterTextInInputBtn(registerHealthcareProfPOObj.FacilityName_xpath,readFromPropFileObj.getFacilityName()),\"Unable to enter facilityName\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Enter facility name \", \"User should able to enter on facility name \");\n\n //5.Enter \"First name\"\n Assert.assertTrue(registerHealthcareProfPOObj.enterTextInInputBtn(registerHealthcareProfPOObj.FName_xpath, readFromPropFileObj.getFirstName()),\"Unable to enter First Name\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Enter first name \", \"User should able to enter first name \");\n\n //5A.Enter \"last name\"\n Assert.assertTrue(registerHealthcareProfPOObj.enterTextInInputBtn(registerHealthcareProfPOObj.LName_xpath, readFromPropFileObj.getLastName()),\"Unable to get LastName\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Enter last name \", \"User should able to enter on last name \");\n\n //6.Enter EmailID\n Assert.assertTrue(registerHealthcareProfPOObj.enterTextInInputBtn(registerHealthcareProfPOObj.Email_xpath, readFromPropFileObj.getEmail1()),\"Unable to enter emailID\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Enter EmailID \", \"User should able to enter EmailID\");\n\n //7.Enter phone number\n Assert.assertTrue(registerHealthcareProfPOObj.enterTextInInputBtn(registerHealthcareProfPOObj.Phone_xpath, readFromPropFileObj.getphone()),\"Unable to enter ph\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Enter phone number \", \"User should able to enter phone number\");\n\n //8.Enter department\n Assert.assertTrue(registerHealthcareProfPOObj.enterTextInInputBtn(registerHealthcareProfPOObj.Dept_xath, readFromPropFileObj.getDept()),\"Unable to enter Dept\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Enter department \", \"User should able to enter department\");\n\n //9.Enter address\n Assert.assertTrue(registerHealthcareProfPOObj.enterTextInInputBtn(registerHealthcareProfPOObj.Address_xpath, readFromPropFileObj.getAddress()),\"Unable to enter addrees\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Enter address \", \"User should able to enter address\");\n\n //10.Enter city\n Assert.assertTrue(registerHealthcareProfPOObj.enterTextInInputBtn(registerHealthcareProfPOObj.City_xpath, readFromPropFileObj.getCity()),\"Unable to enter city\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Enter department \", \"User should able to enter department\");\n\n ((JavascriptExecutor) driver).executeScript(\"window.scrollBy(0,3000)\");\n\n //11.Select State\n Assert.assertTrue(registerHealthcareProfPOObj.selectFromDropDownBtn(registerHealthcareProfPOObj.State_xpath, registerHealthcareProfPOObj.State1_xpath),\"Unable to select state\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Select state \", \"User should able to select state\");\n\n //12.Enter zip code\n Assert.assertTrue(registerHealthcareProfPOObj.enterTextInInputBtn(registerHealthcareProfPOObj.Zip_xpath, readFromPropFileObj.getZip()),\"Unable to enter zip\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Enter zip code \", \"User should able to enter zip code\");\n\n //13.Click \"Registor Now\" button\n Assert.assertTrue(registerHealthcareProfPOObj.clickOnLinkBtn(registerHealthcareProfPOObj.RegisterNow_xpath),\"Unable to click on register now\");\n ExtentTestManager.getTest().log(LogStatus.PASS, \"Click on 'Register Now'\", \"User should able to Click on 'Register Now' \");\n\n //14.User registered successfully and message should display - \"check inbox to verify your account\".\n String expectedMessage = \"Check inbox to verify your account.\";\n Assert.assertEquals(registerHealthcareProfPOObj.findText(registerHealthcareProfPOObj.VerifyAcct_xpath),expectedMessage);\n ExtentTestManager.getTest().log(LogStatus.PASS, \"User should see toast message 'Check inbox to verify your account'\", \"User able to see the toast message\");\n\n }",
"public void enterURL() throws IOException {\n\t\tLoginSignupCompanyPage sp = new LoginSignupCompanyPage(driver);\n\t\tlog.info(\"enter signup url to create child company\");\n\t\t// driver.get(\"http://www.simplebilling.co.in:8080/signup\");\n\t\tp.getPropertyFile(\"test\", \"configuration.properties\");\n\t\tString url = p.getVal(\"url\");\n\t\tdriver.get(url);\n\t}",
"@Given(\"user is on admin login page\")\r\npublic void user_is_on_admin_login_page() {\n\r\n\tdriver.get(\"http://uniformm1.upskills.in/admin/index.php?route=common/dashboard&token=GojamxBwtSmLEAaHnCBgb3P8yKe4N2vQ\");\r\n\tString curTitle = driver.getTitle();\r\n\t\r\n\tAssert.assertEquals(curTitle, \"Administration\");\r\n}",
"public static void main(String[] args) throws IOException {\nWebDriver driver;\t\r\n//\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"chromedriver.exe\");\r\n//\t\tdriver=new ChromeDriver();\r\n//\t\tdriver.manage().window().maximize();\r\n//\t\tdriver.manage().timeouts().implicitlyWait(30\t,TimeUnit.SECONDS);\r\n//\t\tdriver.get(\"http://newtours.demoaut.com/\");\r\n\t//String[][] data=Excel.getData(\"testData.xlsx\",\"Sheet1\");\r\n//\t\t\t\t\r\n//\t\tfor(int i=1;i<data.length;i++) {\r\n//\t\t\r\n//\t\tString username=data[i][1];\r\n//\t\tString password=data[i][2];\r\n//\t\tdriver.findElement(By.name(\"userName\")).sendKeys(username);\r\n//\t\tdriver.findElement(By.name(\"password\")).sendKeys(password);\r\n\t\t\r\n\t\tSystem.out.println(\"username\");\r\n\t\t}",
"public static void main(String[] args) throws IOException\r\n\t{\n\t\tFileInputStream fis=new FileInputStream(\"D:\\\\QSpiders_2019\\\\html\\\\config.properties.txt\");\r\n\t\t//Create an object of Properties class since getproperty() is a non-static method\r\n\t\tProperties prop=new Properties();\r\n\t\t//load the file into Properties class\r\n\t\tprop.load(fis);\r\n\t\t//read the data from Properties file using Key\r\n\t\tString URL =prop.getProperty(\"url\");\r\n\t\tSystem.out.println(URL);\r\n\t\tSystem.out.println(prop.getProperty(\"username\"));\r\n\t\tSystem.out.println(prop.getProperty(\"password\"));\r\n\t\tSystem.out.println(prop.getProperty(\"browser\"));\r\n\r\n\t}",
"@Test(priority = 1, dataProvider =\"inputData\")\r\n\t\tpublic void Login(String url,String Mob,String Pass ) throws InterruptedException \r\n\t\t\t{\r\n\t\t\tobjBaseClass.LocalBrowserInit(url);\r\n\t\t\t\tobjLoginPageView.Login(Mob,Pass);\r\n\t\t\t\tobjLoginPageView.YesPopup();\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t}",
"@When(\"^enter any value \\\"([^\\\"]*)\\\" in Username field$\")\npublic void enter_any_value_in_Username_field(String arg1) throws Throwable \n{\n\tdriver.findElement(By.id(\"login\")).sendKeys(\"Ankitachaudhari5454Ankitachaudhari5454\");\n \n}",
"@org.junit.Test\r\n\tpublic void login() {\n\t\tParameters parameters = new Parameters();\r\n\t\tparameters.setUrl(\"LoginServlet?action=login\");\r\n\t\tparameters.setList(new ArrayList<NameValuePair>());\r\n\t\tparameters.getList().add(new BasicNameValuePair(\"info\", \"jitl\"));\r\n\t\tparameters.getList().add(new BasicNameValuePair(\"info2\", \"admin\"));\r\n\t\tparameters.getList().add(new BasicNameValuePair(\"info3\", \"admin\"));\r\n\t\t@SuppressWarnings(\"unused\")\r\n\t\tString string = (String) MainUtilityTools.execute(parameters);\r\n\t\tSystem.out.println(string);\r\n\t}",
"@Given(\"Login Functionality\")\n public void Login_Functionality() {\n String url = ConfigurationReader.get(\"url\");\n Driver.get().get(url);\n //login with valid credentials\n loginPage.login();\n }",
"public void loginAsUser() {\n vinyardApp.navigateToUrl(\"http://localhost:8080\");\n vinyardApp.fillUsername(\"user\");\n vinyardApp.fillPassord(\"123\");\n vinyardApp.clickSubmitButton();\n }",
"public void setRegistrationUsername(String Username){\r\n\r\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy_MM_dd_HH_mm_ss\");\r\n\r\n\t\tDate date = new Date();\r\n\r\n\t\tString ldDate=(String) dateFormat.format(date);\r\n\r\n\t\tString USR = getValue(Username);\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+USR);\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- Registration Username is entered\");\r\n\t\ttry{\r\n\r\n\t\t\twaitforElementVisible(locator_split(\"txtRegistrationUsername\"));\r\n\t\t\tsendKeys(locator_split(\"txtRegistrationUsername\"), USR+ldDate+\"@Quill.com\"); \r\n\t\t\tSystem.out.println(\"Username is entered\");\r\n\t\t\tReporter.log(\"PASS_MESSAGE:-User name is entered\");\r\n\r\n\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Confirm password is not entered\");\r\n\t\t\tthrow new NoSuchElementException(\"The element with \"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"txtRegistrationUsername\").toString().replace(\"By.\", \" \")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"@Given(\"^Login to simplilearn$\")\r\n\tpublic void Login_to_simplilearn () throws Throwable\r\n\t{\n\t\t\r\n\t\tSystem.out.println(\" TC002 - Step 1 is passed\");\r\n\t\t\r\n\t}",
"@Test\n public void SignInTest() throws InterruptedException {\n LoginTC login = new LoginTC(driver);\n login.LoginTest();\n\n SignInPagePO signInPage = new SignInPagePO(driver);\n\n\n //Step 1: Click On Users\n Assert.assertEquals(signInPage.clickUsers(), true,\"Opps!! unable to click Users\");\n\n //Step 2 :: Click On Managers\n\n Assert.assertEquals(signInPage.clickManagers(), true,\"Opps!! unable to click Managers\");\n\n //Step 3: Click On addmanager\n\n Assert.assertEquals(signInPage.clickAddmanager(), true,\"Opps!! unable to click addmanager\");\n\n //Step 1 :: Enter valid Username\n\n String firstname=\"testname\";\n Assert.assertEquals(signInPage.enterfirstName(firstname), true,\"Opps!! unable to enter first name\");\n\n //Step 1 :: Enter valid Username\n String lastname=\"testlastname\";\n Assert.assertEquals(signInPage.enterlasttName(lastname), true,\"Opps!! unable to enter last name\");\n\n\n }",
"public static void main(String[] args) {\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"./drivers\\\\chromedriver.exe\");\n\t\t\tChromeDriver driver = new ChromeDriver();\n\t\t\tdriver.get(\"http://leaftaps.com/opentaps/control/login\");\n\t\t\tdriver.manage().window().maximize();\n\t\t\n\t\t//Login details\n\t\t\tdriver.findElementById(\"username\").sendKeys(\"DemoSalesManager\");\n\t\t\tdriver.findElementById(\"password\").sendKeys(\"crmsfa\");\n\t\t\tdriver.findElementByClassName(\"decorativeSubmit\").click();\n\t\t\n\t\t//Navigation to create lead\n\t\t\tdriver.findElementByLinkText(\"CRM/SFA\").click();\n\t\t\tdriver.findElementByLinkText(\"Leads\").click();\n\t\t\tdriver.findElementByLinkText(\"Create Lead\").click();\n\t\t\n\t\t//Enter details to create lead\n\t\t\tdriver.findElementById(\"createLeadForm_companyName\").sendKeys(\"SMGB TECH\");\n\t\t\tdriver.findElementById(\"createLeadForm_firstName\").sendKeys(\"GaneshBabu\");\n\t\t\tdriver.findElementById(\"createLeadForm_lastName\").sendKeys(\"Moni\");\n\t\t\tdriver.findElementByClassName(\"smallSubmit\").click();\n\t}",
"public static void main(String[] args) throws IOException {\n\t\tSystem.out.println(getUrlByKey(\"登录页面\"));\n\t\t\n\t}",
"@JavascriptInterface \n public void ValidSignin(String str,String psw)\n {\n \tString username = str;\n \tString password = psw;\n \t{\n \t\tif ( (username.equals(\"User\")) && (password.equals(\"User\"))){\n \t\tIntent i = new Intent(OasterBBActivity.this,InsuranceService.class);\n startActivity(i);\n \t}else{\n \t\tToast.makeText(getApplicationContext(), \"Username Salah\", Toast.LENGTH_LONG).show();\n \t\t\n \t}\n \t}\n }",
"@Test(dataProvider = \"dp\")\r\n\t public void DataInfo(String user,String pwd,String confpwd) {\nString chromePath=(\"C:\\\\Users\\\\Training_b6b.01.07\\\\Desktop\\\\Selenium\\\\jars\\\\ChromeDriver.exe\");\r\nSystem.setProperty(\"webdriver.chrome.driver\",chromePath);\r\nWebDriver driver=new ChromeDriver();\r\ndriver.get(\"http://www.demoaut.com/\");\r\ndriver.findElement(By.partialLinkText(\"REGISTER\")).click();\r\n \r\n\r\n\r\ndriver.findElement(By.name(\"email\")).sendKeys(user);\r\n\r\ndriver.findElement(By.name(\"password\")).sendKeys(pwd);\r\n\r\ndriver.findElement(By.name(\"confirmPassword\")).sendKeys(confpwd);\r\n\r\n\r\ndriver.close();\r\n}",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Selenium\\\\chromedriver.exe\");\n\t\tWebDriver driver = new ChromeDriver();\n \t\n String baseUrl = \"http://newtours.demoaut.com/\";\n String expectedTitle = \"Welcome: Mercury Tours\";\n String actualTitle = \"\";\n\n // launch Fire fox and direct it to the Base URL\n driver.get(baseUrl);\n\n // get the actual value of the title\n actualTitle = driver.getTitle();\n driver.findElement(By.linkText(\"REGISTER\")).click();\n driver.findElement(By.name(\"firstName\")).sendKeys(\"TestUserFirst\");\n driver.findElement(By.name(\"lastName\")).sendKeys(\"TestUserLast\");\n driver.findElement(By.name(\"phone\")).sendKeys(\"1233214444\");\n driver.findElement(By.name(\"userName\")).sendKeys(\"[email protected]\");\n driver.findElement(By.name(\"address1\")).sendKeys(\"9310 Sandy Spring Cir\");\n driver.findElement(By.name(\"city\")).sendKeys(\"Richmond\");\n driver.findElement(By.name(\"state\")).sendKeys(\"VA\");\n driver.findElement(By.name(\"postalCode\")).sendKeys(\"23294\");\n Select select = new Select(driver.findElement(By.name(\"country\")));\n select.selectByVisibleText(\"UNITED STATES\");\n driver.findElement(By.name(\"email\")).sendKeys(\"[email protected]\");\n driver.findElement(By.name(\"password\")).sendKeys(\"Password1234\");\n driver.findElement(By.name(\"confirmPassword\")).sendKeys(\"Password1234\");\n driver.findElement(By.name(\"register\")).click();\n /*\n * compare the actual title of the page with the expected one and print\n * the result as \"Passed\" or \"Failed\"\n \n if (actualTitle.contentEquals(expectedTitle)){\n System.out.println(\"Test Passed!\");\n } else {\n System.out.println(\"Test Failed\");\n }\n */\n //close Fire fox\n \n driver.close();\n driver.quit();\n \n\t}",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"E:\\\\geckodriver.exe\");\r\n\t\tWebDriver driver=new FirefoxDriver();\r\n\t\tdriver.get(\"https://login.salesforce.com/\");\r\n driver.findElement(By.cssSelector(\"input[id='username']\")).sendKeys(\"shanya@123\");\r\n driver.findElement(By.cssSelector(\"input[id='password']\")).sendKeys(\"1234\");\r\n \r\n\t}",
"public void Enterloginpassword(String PWD){\r\n\t\tString Password = getValue(PWD);\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+Password);\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- Password should be enterd in Login\");\r\n\t\ttry{\r\n\t\t\tsendKeys(locator_split(\"loginpassword\"), Password);\r\n\t\t\tSystem.out.println(\"password is entered\");\r\n\t\t\tReporter.log(\"PASS_MESSAGE:- Password is entered in Login field\");\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Password is not enterd in Login with WebElement \"+elementProperties.getProperty(\"loginpassword\"));\r\n\t\t\te.printStackTrace();\r\n\t\t\tthrow new NoSuchElementException(\"The element with \"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"loginpassword\").toString().replace(\"By.\", \" \")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\t}",
"@Then(\"^the user Login using username and password$\")\r\n\tpublic void the_user_Login_using_username_and_password() throws Throwable {\n\t w.details1();\r\n\t}",
"@Then(\"^verify the login-one \\\"([^\\\"]*)\\\"$\")\n\tpublic void verify_the_login_one(String arg1) throws InterruptedException {\n\t\tThread.sleep(2000);\n\t\tAssert.assertEquals(arg1, driver.getCurrentUrl());\n\t \n\t}",
"private void loginAsAdmin() {\n vinyardApp.navigateToUrl(\"http://localhost:8080\");\n vinyardApp.fillUsername(\"admin\");\n vinyardApp.fillPassord(\"321\");\n vinyardApp.clickSubmitButton();\n }",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Users\\\\Ajay\\\\Documents\\\\chromedriver.exe\");\n\t\tWebDriver driver = new ChromeDriver();\n\t\tdriver.get(\"http://google.com\");\n\t\t//driver.findElement(By.id(\"email\")).sendKeys(\"[email protected]\");\n\t\tdriver.findElement(By.cssSelector( \n\t\t\t\"input#email.inputtext.login_form_input_box\")).sendKeys(\"anumeha\");\n\t\tdriver.findElement(By.id(\"pass\")).sendKeys(\"1234\");\n\t\t//driver.findElement(By.id(\"u_0_b\")).click();\n\t\t//driver.findElement(By.linkText(\"Forgotten account?\")).click();\n\t\tdriver.findElement(By.xpath(\"//*[@id='u_0_b']\")).click();\n\t}",
"private void button1ActionPerformed(ActionEvent e) {\n\t\t String value1=text1.getText();\r\n\t\t String value2=text2.getText();\r\n\t\t if (value1.equals(\"thiru\") && value2.equals(\"thiru\")) {\r\n\t\t NextPage page=new NextPage();\r\n\t\t page.setVisible(true);\r\n\t\t JLabel label = new JLabel(\"Welcome:\"+value1);\r\n\t\t page.getContentPane().add(label);\r\n\t\t }\r\n\t\t else{\r\n\t\t System.out.println(\"enter the valid username and password\");\r\n\t\t JOptionPane.showMessageDialog(this,\"Incorrect login or password\",\r\n\t\t \"Error\",JOptionPane.ERROR_MESSAGE);\r\n\t\t }\r\n\t}",
"@When(\"^valid \\\"(.*)\\\" and \\\"([^\\\"]*)\\\"are given$\")\n\tpublic void valid_and_are_given(String arg1, String arg2) {\n\t\tWebElement username=driver.findElement(By.name(\"username\"));\n\t\tWebElement password=driver.findElement(By.name(\"password\"));\n\t\tusername.sendKeys(arg1);\n\t\tpassword.sendKeys(arg2);\n\t \n\t}",
"@When(\"^enter any value \\\"([^\\\"]*)\\\" in Pass field$\")\npublic void enter_any_value_in_Pass_field(String arg1) throws Throwable \n{\n\t driver.findElement(By.id(\"password\")).sendKeys(\"Password@5454\");\n}",
"public static void main(String[] args) throws MalformedURLException {\n\t\tAndroidDriver<AndroidElement> driver = capabilities();\r\n\t\t//Input Field\r\n\t\tdriver.findElement(By.id(\"com.androidsample.generalstore:id/nameField\")).sendKeys(\"Hello\");\r\n\t\t//Hiding the keyboard\r\n\t\tdriver.hideKeyboard();\r\n\t\t//CheckBox\r\n\t\tdriver.findElement(By.xpath(\"//*[@text='Female']\")).click();\r\n\t\t//DropDown 1.click 2.scrolltoView 3click\r\n\t\tdriver.findElement(By.id(\"android:id/text1\")).click();\r\n\t\tdriver.findElement(MobileBy.AndroidUIAutomator(\"new UiScrollable(new UiSelector()).scrollIntoView(text(\\\"India\\\"));\"));\r\n\t\tdriver.findElement(By.xpath(\"//*[@text='India']\")).click();\r\n\t\t//Click on Lets shop\r\n\t\tdriver.findElement(By.id(\"com.androidsample.generalstore:id/btnLetsShop\")).click(); \r\n\t\t\r\n\t\t//Capture error msg\r\n\t\ttry {\r\n\t\t\tString toastMsg = driver.findElement(By.xpath(\"//android.widget.Toast[1]\")).getAttribute(\"name\");\r\n\t\t\tSystem.out.println(toastMsg);\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t\tSystem.out.println(\"No error message\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"public void executeScript() throws Exception {\n\n nav.ChangeCountry(\"India\");\n nav.SearchFor(\"\");\n pdp.AddToBag();\n pdp.EnterBag();\n bag.CheckOut();\n lgn.LoginWith(\"[email protected]\");\n\n\n\n }",
"public void verifyLogin(String s1)\n\t{\n\t\tUtilityClass.fn_Click(\"usermanagement_plusicon_bt\");\n\t\t\n\t\t//log.info(\"providing mobile number in username input field\");\n\t\t//UtilityClass.fn_Input(\"Loginpage_usernm_Input\", s1);\n\t\t//System.out.println(\"in verifylogin\");\n\t\t\n\t}",
"@Test\n\tpublic void Login()\n\t{\n\t\n\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\work\\\\chromedriver.exe\");\n\tWebDriver d = new ChromeDriver();\n\t\n\td.get(\"https://mail.rediff.com/cgi-bin/login.cgi\");\n\t\n\tRediffLoginPagePOF rl = new RediffLoginPagePOF(d);\n\trl.User().sendKeys(\"hello\");\n\trl.Password().sendKeys(\"hello\");\n\t//rl.Go().click();\n\trl.Home().click();\n\t\n\tRediffHomePage rh = new RediffHomePage(d);\n\trh.Searchtext().sendKeys(\"books\");\n\trh.Searchbtn().click();\n\tSystem.out.println(\"text1\");\n\tSystem.out.println(\"branch1\");\n\t\n\t\t\n\t\n\t\n\t}",
"public static void main(String[] args) {\n\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"D:\\\\\\\\Selenium\\\\\\\\Driver exe\\\\\\\\chromedriver.exe\");\r\n\t\tWebDriver bo=new ChromeDriver();\r\n\t\t\r\n\t\tbo.get(\"http://apps.qaplanet.in/hrm/login.php\");\r\n\t\tbo.findElement(By.xpath(\"//input[@name='txtUserName']\")).sendKeys(\"\");\r\n\t\tbo.findElement(By.xpath(\"//input[@name='txtPassword']\")).sendKeys(\"\");\r\n\t\tbo.findElement(By.xpath(\"//input[@name='Submit']\")).click();\r\n\t //bo.switchTo().alert().accept();//\r\n\t\t\r\n\tString a = bo.switchTo().alert().getText();\r\n\t\t\r\n\t\tSystem.out.println(a);\t\t\r\n\t\t\r\n\t\tif (a.equals(\"User Name not given!\")) {\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"This Test Case is Pass\");\r\n\t\t}\r\n\t\t\r\n\t\telse {\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"This test case is Fail\");\r\n\t\t}\r\n\t\t\r\n\t\tbo.switchTo().alert().dismiss();\r\n\t\tbo.close();\r\n\t\t\r\n\t}",
"@When(\"user enter the username and password\")\n\tpublic void user_enter_the_username_and_password() {\n\t\tSystem.out.println(\"user enter the username and password\");\n\t\tdriver.findElement(By.id(\"txtUsername\")).sendKeys(\"Admin\");\n\t\tdriver.findElement(By.id(\"txtPassword\")).sendKeys(\"admin123\");\n\t \n\t}",
"public void LocationAssesment_COPE(){\r\n\t\tString Tradeoccupancy = getValue(\"TradeOccupancy\");\r\n\tString Account = getValue(\"Account\");\r\n\t boolean flag=false;\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- My Account should be clicked and user should get logged in\");\r\n\t\ttry{\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t/*driver.switchTo().defaultContent();\r\n\t\t\t\t\tsleep(3000);\r\n\t\t\t System.out.println(\"switched frame\"+ switchframe(\"PegaGadget2Ifr\"));\r\n\t\t\t click(locator_split(\"tabLocationAssesment\"));\r\n\t\t\t click(locator_split(\"linkclickLocation\"));*/\r\n\t\t\t // driver.findElement(By.xpath(\"//*[@tabindex='4']/a/span\")).click();\r\n\t\t\t // driver.findElement(By.xpath(\"//a[@title='Click here to open Location Assessment']\")).click();\r\n\t\t\t driver.switchTo().defaultContent();\r\n\t\t\t System.out.println(\"switched frame\"+ switchframe(\"PegaGadget3Ifr\"));\r\n\t\t\t click(locator_split(\"tabcope\"));\r\n\t\t\t //driver.findElement(By.xpath(\"//li[@tabindex='0']/a/span\")).click();\r\n\t\t\t clearWebEdit(locator_split(\"txtStoreyscope\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t sendKeys(locator_split(\"txtStoreyscope\"), getValue(\"Numberofstories\"));\r\n\t\t\t clearWebEdit(locator_split(\"txtbuildingheightcope\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtbuildingheightcope\"),getValue(\"Buildingheight\"));\r\n\t\t\t \r\n\t\t\t selectListValue(locator_split(\"listbasementcope\"), getValue(\"Basement\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t clearWebEdit(locator_split(\"txtyearbuildcope\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtyearbuildcope\"), getValue(\"YearBuild\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t clearWebEdit(locator_split(\"txtyearlastupgradecope\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtyearlastupgradecope\"), getValue(\"LastUpgradeyear\"));\r\n\t\t\t clearWebEdit(locator_split(\"txtbasementfloorelevationcope\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtbasementfloorelevationcope\"), getValue(\"FloorElevation\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t System.out.println(\"Account is\"+Account);\r\n\t\t\t if(Account.equals(\"EEA\"))\r\n\t\t\t {\r\n\t\t\t clearWebEdit(locator_split(\"txttotalareacope\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txttotalareacope\"), getValue(\"TotalAreaSqft\"));\r\n\t\t\t clearWebEdit(locator_split(\"txtfireareacope\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtfireareacope\"),getValue(\"FireArea\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t selectListValue(locator_split(\"listroofcondition\"),getValue(\"Roofcondition\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t \r\n\t\t\t }\r\n\t\t\t if(Account.equals(\"CP\")){\r\n\t\t\t \tSystem.out.println(\"inside CP\");\r\n\t\t\t \tsleep(2000);\r\n\t\t\t \tselectListValue(locator_split(\"listpredominantcope\"), getValue(\"Predominantconstruction\"));\r\n\t\t\t \tsleep(1000);\r\n\t\t\t \tclearWebEdit(locator_split(\"txtis06AA\"));\r\n\t\t\t\t sleep(5000);\r\n\t\t\t\t sendKeys(locator_split(\"txtis06AA\"),getValue(\"ClassAA\"));\r\n\t\t\t\t\tsleep(2000);\r\n\t\t\t\t\t System.out.println(\"Value entered in AA\");\r\n\t\t\t\t\t click(locator_split(\"txtis05A\"));\r\n\t\t\t\t\t sleep(10000);\r\n\t\t\t\t clearWebEdit(locator_split(\"txtis05A\"));\r\n\t\t\t\t sleep(5000);\r\n\t\t\t\t sendKeys(locator_split(\"txtis05A\"),getValue(\"ClassA\"));\r\n\t\t\t\t sleep(2000);\r\n\t\t\t\t click(locator_split(\"txtis04\"));\r\n\t\t\t\t sleep(10000);\r\n\t\t\t\t clearWebEdit(locator_split(\"txtis04\"));\r\n\t\t\t\t sleep(5000);\r\n\t\t\t\t sendKeys(locator_split(\"txtis04\"),getValue(\"ClassB\"));\r\n\t\t\t\t sleep(2000);\r\n\t\t\t\t click(locator_split(\"txtcmd04\"));\r\n\t\t\t\t sleep(10000);\r\n\t\t\t\t clearWebEdit(locator_split(\"txtcmd04\"));\r\n\t\t\t\t sleep(5000);\r\n\t\t\t\t sendKeys(locator_split(\"txtcmd04\"),getValue(\"ClassC\"));\r\n\t\t\t\t sleep(2000);\r\n\t\t\t\t click(locator_split(\"txtis03\"));\r\n\t\t\t\t sleep(10000);\r\n\t\t\t\t clearWebEdit(locator_split(\"txtis03\"));\r\n\t\t\t\t sleep(5000);\r\n\t\t\t\t sendKeys(locator_split(\"txtis03\"),getValue(\"IS03ClassB\"));\r\n\t\t\t\t sleep(2000);\r\n\t\t\t\t click(locator_split(\"txtcmd03\"));\r\n\t\t\t\t sleep(10000);\r\n\t\t\t\t clearWebEdit(locator_split(\"txtcmd03\"));\r\n\t\t\t\t sleep(5000);\r\n\t\t\t\t sendKeys(locator_split(\"txtcmd03\"),getValue(\"CMDISO3ClassC\"));\r\n\t\t\t\t sleep(2000);\r\n\t\t\t\t click(locator_split(\"txtis02\"));\r\n\t\t\t\t sleep(10000);\r\n\t\t\t\t clearWebEdit(locator_split(\"txtis02\"));\r\n\t\t\t\t sleep(5000);\r\n\t\t\t\t sendKeys(locator_split(\"txtis02\"),getValue(\"IS02ClassC\"));\r\n\t\t\t\t sleep(2000);\r\n\t\t\t\t click(locator_split(\"txtis01\"));\r\n\t\t\t\t sleep(10000);\r\n\t\t\t\t clearWebEdit(locator_split(\"txtis01\"));\r\n\t\t\t\t sleep(5000);\r\n\t\t\t\t sendKeys(locator_split(\"txtis01\"),getValue(\"IS01\"));\r\n\t\t\t \t\tsleep(5000);\t \r\n\t\t\t \r\n\t\t\t }\r\n\t\t\t selectListValue(locator_split(\"listtradeoccupancy\"), getValue(\"TradeOccupancy\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t selectListValue(locator_split(\"listhazardgrade\"), getValue(\"Hazardgrade\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t \r\n\t\t\t if (Tradeoccupancy.equals(\"Oil & Chemical\")&& (Account.equals(\"EEA\")))\r\n\t\t\t {\r\n\t\t\t \t sleep(1000);\r\n\t\t\t selectListValue(locator_split(\"listfireindex\"), getValue(\"Fireindex\"));\r\n\t\t\t sleep(1000);\r\n\t\t\t selectListValue(locator_split(\"listexplosionindex\"),getValue(\"Explosionindex\"));\r\n\t\t\t \t\t\r\n\t\t\t sleep(1000);\r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t\tsleep(3000);\r\n\t\t\t clearWebEdit(locator_split(\"txtoperatinghours\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtoperatinghours\"), getValue(\"Operatinghours\"));\r\n\t\t\t sleep(1000);\r\n\t\t\t clearWebEdit(locator_split(\"txtoperatingdays\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtoperatingdays\"), getValue(\"Operatingdays\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t clearWebEdit(locator_split(\"txtautosprinkler\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtautosprinkler\"), getValue(\"Autosprinkler\"));\r\n\t\t\t\tsleep(3000);\r\n\t\t\t clearWebEdit(locator_split(\"txtadequate\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtadequate\"), getValue(\"Adequate\"));\r\n\t\t\t\tsleep(3000);\r\n\t\t\t clearWebEdit(locator_split(\"txtasn\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtasn\"), getValue(\"ASN\"));\r\n\t\t\t\tsleep(3000);\r\n\t\t\t clearWebEdit(locator_split(\"txtdeduction\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t sendKeys(locator_split(\"txtdeduction\"), getValue(\"Deduction\"));\r\n\t\t\t sleep(5000);\r\n\t\t\t click(locator_split(\"txtyearbuildcope\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t \r\n/*WebElement checkbox=driver.findElement(By.xpath(\"//img[contains(@name,'SaveButtonsForCOPE_pyWorkPage')]\")).\r\nsleep(2000);\r\nhighlight(checkbox);*/\r\nSystem.out.println(\"Checkbox status\");\r\nsleep(2000);\r\n/*System.out.println(driver.findElement(By.xpath(\"//img[@src='webwb/lv_unchecked_12144257304.gif!!.gif']\")).isDisplayed());\r\nsleep(2000);\r\nif(driver.findElement(By.xpath(\"//img[@src='webwb/lv_unchecked_12144257304.gif!!.gif']\")).isDisplayed()== true)\r\n{\r\n\tsleep(2000);\r\n\tclick(locator_split(\"checkboxsavecope\"));\r\n\tsleep(2000);\r\n\t//driver.findElement(By.xpath(\"//img[@src='webwb/lv_unchecked_12144257304.gif!!.gif']\")).click();\r\n}else{\r\n\tSystem.out.println(\"Check box already checked\");\r\n}*/\r\n//System.out.println(checkbox.getAttribute(arg0)());\r\n\t\t\t // System.out.println(verifyCheckboxChecked(locator_split(\"checkboxsavecope\")));\r\n\t\t//\tflag=verifyCheckboxChecked(locator_split(\"xpath-//img[contains(@name,'SaveButtonsForCOPE_pyWorkPage')]\"));\r\n\t\t/*\t sleep(2000);\r\n\t\t\t if(!checkbox.isSelected()){\r\n\t\t\t\t System.out.println(\"inside if loop\");\r\n\t\t\t\t checkbox.click();\r\n\t\t\t\t sleep(2000);\r\n\t\t\t }\r\n\t\t\t else{\r\n\t\t\t\t checkbox.click();\r\n\t\t\t\t System.out.println(\"inside else loop\");\r\n\t\t\t\t sleep(2000);\r\n\t\t\t\t \r\n\t\t\t\t \r\n\t\t\t\t checkbox.click();\r\n\t\t\t\t sleep(2000);\r\n\t\t\t }*/\r\n\t\t\t \r\n\t\t\t /* driver.findElement(By.xpath(\"//label[contains(.,'Click here if the Screen is Completed')]\")).click();\r\n\t\t\t Robot r=new Robot();\r\n\t\t\t r.keyPress(java.awt.event.KeyEvent.VK_TAB);\r\n\t\t\t sleep(1000);\r\n\t\t\t r.keyPress(java.awt.event.KeyEvent.VK_ENTER);\r\n\t\t\t sleep(2000);*/\r\n\t\t/*if (flag==true){\r\n\t\t\t System.out.println(\"flag\"+flag);\r\n\t\t\t System.out.println(\"Checked Already\");\r\n\t\t\t sleep(2000);\r\n\t\t\t click(locator_split(\"checkboxsavecope\"));\r\n\t\t\t //sleep(2000);\r\n\t\t\t \t//\t\t click(locator_split(\"checkboxsavecope\"));\r\n\t\t click(locator_split(\"btncopesave\"));\r\n\t\t\t sleep(2000);\r\n\t\t\t }else{\r\n\t\t\t\t\r\n\t\t\t\t sleep(2000);\r\n\t\t\t\t click(locator_split(\"checkboxsavecope\"));\r\n\t\t\t\t sleep(3000);\r\n\t\t\t }\r\n\t\t\t */\r\n\t\t\t \r\n\t\t\t sleep(5000);\r\n\t\t\t if(getValue(\"BROWSER\").equalsIgnoreCase(\"InternetExplorer\")){\r\n\t\t\t System.out.println(\"inside iE loop\");\r\n\t\t\t \tclick(locator_split(\"btncopesave_ie\"));\t\r\n\t\t\t }else{\r\n\t\t\t \tclick(locator_split(\"btncopesave_ie\"));\r\n\t\t\t }\r\n\t\t\r\n\t\t\t sleep(5000);\r\n\t\t\t click(locator_split(\"txtLocationnext\"));\r\n\t\t\t sleep(3000);\r\n\t\t\t\t//clickbylinktext(\"No\");\r\n\t\t\t\r\n\t\t//switchframe(\"PegaGadget2Ifr\");\r\n\t\t//\tsleep(3000);\r\n\t\t//clickbylinktext(\"No\");\r\n\t\t\t\r\n\t\t\t\r\n\t\r\n\t\t\tReporter.log(\"PASS_MESSAGE:- Report tab is clicked and user is logged in\");\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Report tab is not clicked in\");\r\n\t\t\tthrow new NoSuchElementException(\"The element with\"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"LoginLogout\")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"@Test\r\n public void LoginTest() {\n \tSystem. setProperty(\"webdriver.chrome.driver\", \"C:\\\\Libs\\\\chromedriver.exe\");\r\n \t// Initialize browser.\r\n \tWebDriver driver=new ChromeDriver();\r\n driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\r\n driver.get(\"http://www.store.demoqa.com\");\r\n\r\n driver.findElement(By.xpath(\".//*[@id='account']/a\")).click();\r\n driver.findElement(By.id(\"log\")).sendKeys(\"abcdefgh\"); \r\n driver.findElement(By.id(\"pwd\")).sendKeys(\"123456\");\r\n driver.findElement(By.id(\"login\")).click();\r\n //String val = driver.findElement (By.xpath(\"/html/body/div[2]/div/div/div/div/div[1]/article/div/div/div/div[1]/form/p[1]\")).getAttribute();\r\n driver.quit();\r\n }",
"public static void main(String[] args) {\n\t\t\n\t\tWebDriver driver=null;\n\t\t driver= new FirefoxDriver();\n\t\t driver.get(\"http://automationpractice.com/index.php\");\n\t\t System.out.println(\"execution started\");\n\t\t\n\t\tdriver.findElement(By.xpath(\".//*[@id='header']/div[2]/div/div/nav/div[1]/a\")).click();\n\t\tdriver.findElement(By.xpath(\"//input[@id='email']\")).sendKeys(\"[email protected]\");\n\t\tdriver.findElement(By.id(\"passwd\")).sendKeys(\"RAJAN@123\");\n\t\tdriver.findElement(By.name(\"SubmitLogin\")).click();\n\t\tdriver.findElement(By.linkText(\"Sign out\")).click();\n\t\t\n\t}",
"public void EBS_SCM_Scenario1_Login() throws Exception{\n\t\t\n\t\t/*---------------------ATOM CODE-----------------------------------*/\n\t\tSystem.out.println(\"variables in EBS_SCM_Scenario1_Login:\"+variables.getTableName()+\":\"+variables.getReleaseId()+\":\"+variables.getAppId());\n\t \n\t\tAppTestDTO appdata=null;\n\t\tApplicationDB AppDBobj=new ApplicationDB();\n\t\tappdata=AppDBobj.getTestDataForDataId();\n\t\tOutputBean ob=new OutputBean();\n\t\t\n\t\t\n\t\t\n\t\t\ttry\n\t\t\t{\n\t\t\t\tScreenshotName=(appdata.getTestClassName()+\"_\"+appdata.getTestMethodName()+\"-\"+appdata.getDataId());\n\t\t\t\tSystem.out.println(\"Reports Dir in EBS:\"+variables.getReportDir());\n\t\t\t\twriter=report.createlogfile(appdata.getTestMethodName(),appdata.getDataId(),variables.getReportDir());\n\t\t\t\t\n\t\t\ttcStartTime=System.currentTimeMillis();\n\t\t\tstartTime= Calendar.getInstance();\t\t\t\n\t\t\tstrtDateTime= formatter.format(startTime.getTime());\n\t\t\t\n\t\t\tSystem.out.println(\"start time:\"+tcStartTime);\n\t\t\t\n\t\t\t\n\t\t\tif(appdata.getBrowserType().equalsIgnoreCase(\"iexplorer\") || appdata.getBrowserType().equalsIgnoreCase(\"IE\") || appdata.getBrowserType().equalsIgnoreCase(\"InternetExplorer\"))\n\t\t\t{\n\t\t\t\tbrowser.setBrowserType(BrowserType.InternetExplorer);\n\t\t\t}\n\t\t\telse if(appdata.getBrowserType().equalsIgnoreCase(\"ff\") || appdata.getBrowserType().equalsIgnoreCase(\"firefox\"))\n\t\t\t{\n\t\t\t\tbrowser.setBrowserType(BrowserType.Firefox);\n\t\t\t}\n\t\t\tbrowser.launch();\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(\"BrowserId:\"+browser.getBrowserProcessID());\n\t\t\t\n\t\t\t/*---------------------ATOM CODE-----------------------------------*/\n\t\t\t\n\t\t\t//Place your code here \n\t\t\t//web.textBox(\"\").setText(appdata.getKey());\n\t\t\tob=applicationUtility.userLogin(ob,writer,appdata);\n\t\t\t\n\t\t\t//Place your code here \n\t\t\t/*---------------------ATOM CODE-----------------------------------*/\n\t\t\t\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"catch\");\n\t\t\t\t\n\t\t\t\tString errmsg=e.getMessage();\n\t\t\t\tif(errmsg.length() > 500){\n\t\t\t\t\terrmsg=errmsg.substring(0,500);\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t}\n\t\tob.setErrorMsg(errmsg);\n\t\t\tob.setStatus(\"Failed\");\n\t\t\t\t\n\t\t\t\treport.logMessage(writer,ScreenshotName,\"Test Execution Failed\",\"Exception Occurred\", \"Exception Occurred \"+errmsg, \"Failed\");\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tbrowser.close();\n\t\t\t\t\tSystem.out.println(\"finally\");\n\t\t\t\t\t\n\t\t\t\t\ttcendTime=System.currentTimeMillis();\n\t\t\t\t\tendTime = Calendar.getInstance();\t\t\t\t\n\t\t\t\t\tendDateTime = formatter.format(endTime.getTime());\t\n\t\t\t\t\tSystem.out.println(endDateTime);\n\t\t\t\t\tSystem.out.println(\"Screenshot path in tc:\"+scrshotPath);\n\t\t\t\t\tob.setScreenshotPath(scrshotPath);\n\t\t\t\t\t\n\t\t\t\tAppDBobj.ResultMapAndDBUpdate(ob, variables.getTrackId(), Integer.parseInt(variables.getReleaseId()),Integer.parseInt(variables.getAppId()), strtDateTime, endDateTime, appdata);\n\t\t\t\t\t\n\t\t\t\t\treport.after(writer,tcStartTime,tcendTime,appdata.getOsType(),appdata.getBrowserType(),appdata.getBrowserVersion());\t\t\n\t\t\t\t\treport.closewriter(writer);\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t/*---------------------ATOM CODE-----------------------------------*/\n\t\n\t\t}",
"@Given(\"^User should be navigated to the ELEARNING UPSKILL URL$\")\npublic void user_should_be_navigated_to_the_ELEARNING_UPSKILL_URL() throws Throwable \n{\n\tdriver.manage().window().maximize();\n driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\tdriver.get(\"http://elearningm1.upskills.in/\");\n\tThread.sleep(100); \n\tSystem.out.println(\"User is successfully navigated to ELEARNING UPSKILL screen\");\n\t\n \n}",
"private void setUserCredentials() {\n ((EditText) findViewById(R.id.username)).setText(\"harish\");\n ((EditText) findViewById(R.id.password)).setText(\"11111111\");\n PayPalHereSDK.setServerName(\"stage2pph10\");\n }",
"public static void main(String[] args) throws AWTException, InterruptedException {\n\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Users\\\\SatishPothu\\\\Downloads\\\\chromedriver_win32\\\\chromedriver.exe\");\r\n\t\t\r\n\t\tChromeDriver driver = new ChromeDriver();\r\n\t\tdriver.manage().window().maximize();\r\n\t driver.navigate().to(\"http://realestate.upskills.in/wp-admin/\");\r\n\t WebElement username = driver.findElement(By.id(\"user_login\"));\r\n\t WebElement password = driver.findElement(By.id(\"user_pass\"));\r\n\r\n\t username.sendKeys(\"admin\");\r\n\t password.sendKeys(\"adminuser@12345\");\r\n\t \r\n\t \r\n\t Actions ac = new Actions(driver);\t\r\n\t ac.sendKeys(Keys.ENTER).perform();\r\n\t \r\n WebElement link = driver.findElement(By.xpath(\"//a[text()='Howdy, ']\"));\r\n\t \r\n\t ac.contextClick(link).sendKeys(Keys.ARROW_DOWN).build().perform();\r\n\t Robot rob = new Robot();\r\n\t rob.keyPress(KeyEvent.VK_DOWN);\r\n\t Thread.sleep(2000);\r\n\t rob.keyPress(KeyEvent.VK_ENTER);\r\n\t Thread.sleep(2000);\r\n\t rob.keyPress(KeyEvent.VK_CONTROL);\r\n\t Thread.sleep(2000);\r\n\t rob.keyPress(KeyEvent.VK_TAB);\r\n\t Thread.sleep(2000);\r\n\t String url = driver.getCurrentUrl();\r\n\t System.out.println(url);\r\n\t rob.keyPress(KeyEvent.VK_CONTROL);\r\n\t Thread.sleep(2000);\r\n\t rob.keyPress(KeyEvent.VK_TAB);\r\n\t \r\n\t \r\n\t \r\n\t \r\n\t String url1 = driver.getCurrentUrl();\r\n\t System.out.println(url1);\r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t\t\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\r\n\t \r\n\t \r\n\t \r\n\t \r\n\r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}",
"public static void main(String args[]) throws Exception\r\n {\r\n\t HI_login hi= new HI_login();\r\n\t hi.HiLogin();\r\n\t \r\n\t ASP_Page asp=new ASP_Page();\r\n\t asp.VerifyAspPage();\r\n\t\r\n\t/*Acuity_admin_login admin= new Acuity_admin_login();\r\n\tadmin.acuity();\r\n\t*/\r\n\t\r\n\t/* HI_reg hireg=new HI_reg();\r\n\t hireg.hireg();\r\n\t \r\n\t //ASP_reg aspreg= new ASP_reg();\r\n\t// aspreg.aspreg();\r\n\t */\r\n\t\r\n \r\n}",
"public static void main(String[] args) throws AWTException {\n\r\nSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Users\\\\SatishPothu\\\\Downloads\\\\chromedriver_win32\\\\chromedriver.exe\");\r\n\t\t\r\n\t\tWebDriver driver = new ChromeDriver();\r\n\t\tdriver.manage().window().maximize();\r\n\t driver.navigate().to(\"http://elearning.upskills.in/\");\r\n\t WebElement username = driver.findElement(By.xpath(\"//*[@id='login']\"));\r\n\t WebElement password = driver.findElement(By.xpath(\"//*[@id='password']\"));\r\n\t \r\n\t username.sendKeys(\"admin\");\r\n\t password.sendKeys(\"admin@123\");\r\n\t \r\n\t driver.findElement(By.xpath(\"//*[@name='submitAuth']\")).click();\r\n\t \r\n\t driver.findElement(By.xpath(\"//*[@id=\\\"tabs-1\\\"]/div/div[2]/div[2]/ul/li[4]/a\")).click();\r\n\t \t\r\n\tdriver.findElement(By.xpath(\"//*[@id = 'user_import_import_file']\")).sendKeys(\"C:\\\\Users\\\\SatishPothu\\\\Desktop\\\\sel.csv\");\r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t \r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\chromedriver.exe\");\n\t\tWebDriver driver=new ChromeDriver();\n\t\tdriver.get(\"https://phptravels.org/register.php\");\n\t\tdriver.findElement(By.xpath(\"//input[contains(@name,'firstname')]\")).sendKeys(\"Prerna\");\n\t\tdriver.findElement(By.xpath(\"//input[contains(@name,'lastname')]\")).sendKeys(\"Ravi\");\n\t\tdriver.findElement(By.xpath(\"//input[contains(@name,'email')]\")).sendKeys(\"[email protected]\");\n\t\tdriver.findElement(By.xpath(\"//input[contains(@name,'companyname')]\")).sendKeys(\"TCS\");\n\t\tdriver.findElement(By.cssSelector(\"input[id='inputPhone']\")).sendKeys(\"1212121\");\n\t\tdriver.findElement(By.cssSelector(\"input[name='address1']\")).sendKeys(\"thane\");\n\t\tdriver.findElement(By.cssSelector(\"input[name='address2']\")).sendKeys(\"Mumbai\");\n driver.findElement(By.name(\"city\")).sendKeys(\"Pune\");\n \tdriver.findElement(By.cssSelector(\"input[name='state']\")).sendKeys(\"Maharashtra\");\n \tdriver.findElement(By.cssSelector(\"input[name='postcode']\")).sendKeys(\"412306\");\n \tdriver.close();\n \t//Method m=new Method();\n \t//m.validate();\n \t\n\t\n\t\n\t\t//driver.findElement(By.cssSelector(\"a[target*='_blank']\")).click();\n\t\t//driver.findElement(By.linkText(\"Log in\")).click();\n\t}",
"@Test\n\tpublic void data() throws IOException {\n\t\tString expectedtitle = \"Administrator - Home - vtiger CRM 5 - Commercial Open Source CRM\";\n\t\tString actualTitle = driver.getTitle();\n\t\tAssert.assertEquals(actualTitle, expectedtitle);\n\t\t/**\n\t\t * step2:create object of home page\n\t\t */\n\n\t\thp.ClickOnleadModule();\n\t\t/**\n\t\t * step3: create an object of Lead page\n\t\t */\n\n\t\tlp.createlead();\n\t\t/**\n\t\t * step4: select the option of lead page\n\t\t */\n\t\tWebElement selection = lp.getSalutation();\n\t\tlib.select(selection, 1);\n\n\t\t/**\n\t\t * step5:taking the data from excel and put in lead page\n\t\t */\n\t\tString firstname = flib.getExcelData(\"sheet2\", 1, 0) + lib.getRanDomNum();\n\t\tString lastname = flib.getExcelData(\"sheet2\", 1, 1) + lib.getRanDomNum();\n\t\tString company = flib.getExcelData(\"sheet2\", 1, 2) + lib.getRanDomNum();\n\n\t\t/**\n\t\t * step6:putting the data into lead page\n\t\t */\n\n\t\tlp.leadinformation(firstname, lastname, company);\n\t\tlp.savebtn();\n\n\t\t// ld.getClickOnFirstName();\n\t\t// ld.getClickOnLastName();\n\t\t// ld.getClickOnCompany();\n\t}",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.gecko.driver\",\"D:\\\\Sel\\\\geckodriver-v0.26.0-win64\\\\geckodriver.exe\");\n\t\tWebDriver driver=new FirefoxDriver();\n\t\tdriver.get(\"https://login.salesforce.com\");\n\t\tdriver.get(\"https://login.salesforce.com\");\n\t\tdriver.manage().timeouts().pageLoadTimeout(10, TimeUnit.SECONDS);\n\t\tdriver.findElement(By.xpath(\"//*[@id=\\'username\\']\")).sendKeys(\"this is my email\"); // Xpath\n\t\t\n\t\tdriver.findElement(By.name(\"pw\")).sendKeys(\"this is password\");\n\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n\t\t//driver.findElement(By.linkText(\"Forgot account?\")).click();\n\t\tdriver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);\n\t\t\n\t\tdriver.findElement(By.xpath(\"//*[@id=\\'Login\\']\")).click();\n\t\t\n\t\t//String x= driver.findElement(By.cssSelector(\"#error\")).getText();\n\t\t//System.out.println(x);\n\t\tSystem.out.println(driver.findElement(By.cssSelector(\"#error\")).getText());\n\t}",
"public static void main(String[] args) throws Exception \r\n\t{\r\n\t\t\r\n\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"Drivers\\\\geckodriver.exe\");\r\n\t\tWebDriver driver=new FirefoxDriver();\r\n\t\tdriver.get(\"http://outlook.com\");\r\n\t\tdriver.manage().window().maximize();\r\n\t\t\r\n\t\r\n\t\t//Identify Signin Button\r\n\t\tWebElement Signin_btn=driver.findElement(By.xpath(\"(//a[contains(.,'Sign in')])[1]\"));\r\n\t\tSignin_btn.click();\r\n\t\t\r\n\t\r\n\t\t//Identify email \r\n\t\tWebElement Email_editbox=driver.findElement(By.xpath(\"//input[@id='i0116']\"));\r\n\t\tEmail_editbox.clear();\r\n\t\tEmail_editbox.sendKeys(\"[email protected]\"); //Entered valid email\r\n\t\t\r\n\t\t//Click Next button\r\n\t\tWebElement Next_btn=driver.findElement(By.xpath(\"//input[contains(@id,'idSIButton9')]\"));\r\n\t\tNext_btn.click();\r\n\t\tThread.sleep(5000);\r\n\t\t\r\n\t\t\r\n\t\t//Identify webpage\r\n\t\tWebElement Page=driver.findElement(By.tagName(\"body\"));\r\n\t\tString Page_Visible_text=Page.getText();\r\n\t\tSystem.out.println(Page_Visible_text);\r\n\t\t\r\n\t\t\r\n\t\t//Write decision to verify expected text visible at webpage\r\n\t\tif(Page_Visible_text.contains(\"Enter password\"))\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Testpass, Expected text visible at webapge\");\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Expected text not visible at webpage\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\r\n\t}",
"@When(\"^user gives the \\\"([^\\\"]*)\\\"$\")\n\tpublic void user_gives_the(String arg2) throws Throwable {\n\t\tdriver.findElement(By.xpath(\"//input[@name='password']\")).sendKeys(arg2);\n\t\tSystem.out.println(arg2);\n\t}",
"@Before\n public void initValidString() {\n // Specify valid strings\n title = \"This is the best movie out there!\";\n body = \"I do not know how I have gone so long without this movie. It has literally saved my life!\";\n productUPC = \"883904333791\"; //james bond movie\n username = \"[email protected]\";\n password = \"xyxyx\";\n\n // Sign In\n ActivityTestRule<LoginActivity> mActivityRule2 = new ActivityTestRule(LoginActivity.class, false, false);\n Intent intent = new Intent();\n mActivityRule2.launchActivity(intent);\n onView(withId(R.id.email)).perform(typeText(username), closeSoftKeyboard());\n onView(withId(R.id.password)).perform(typeText(password), closeSoftKeyboard());\n onView(withId(R.id.email_sign_in_button)).perform(click());\n\n }",
"public static void main(String[] args) throws Exception {\n\n CloseableHttpClient aDefault = HttpClients.createDefault();\n\n\n /* HttpPost httpPost = new HttpPost(\"http://172.16.18.88:8080/toLogin.do\");\n List<NameValuePair> paramList = new ArrayList<>();\n paramList.add(new BasicNameValuePair(\"email\", \"hf\"));\n paramList.add(new BasicNameValuePair(\"pwd\", \"1234\"));\n paramList.add(new BasicNameValuePair(\"url\", \"\"));\n UrlEncodedFormEntity postEntity = new UrlEncodedFormEntity(paramList, \"UTF-8\");\n httpPost.setEntity(postEntity);\n HttpEntity entity = aDefault.execute(httpPost).getEntity();\n System.out.println(EntityUtils.toString(entity,DEFAULT_CHARSET));*/\n\n\n HttpGet httpGet = new HttpGet(\"http://e-hentai.org\");\n httpGet.setHeader(\"User-Agent\", DEFAULT_USER_AGENT);\n CloseableHttpResponse execute = aDefault.execute(httpGet);\n System.out.println(EntityUtils.toString(execute.getEntity(), DEFAULT_CHARSET));\n\n\n String phone = \"13920266937\";\n String code = \"北京,邢台,上海。\";\n String tplId = \"39638\";\n String url = \"http://v.juhe.cn/sms/send?mobile=\" + phone + \"&tpl_id=\" + tplId + \"&tpl_value=%23code%23%3D\" + code + \"&key=e3d4c483e58d86102bce4e05dcf071c1\";\n String s = httpPost(url);\n System.out.println(s);\n }",
"@Test(priority=1)\r\n\tpublic void loginApp()\r\n\t{\r\n\t\t\r\n\t\tlogger=report.createTest(\"Login To Pymidol\");\r\n\t\r\n\t\tLoginPage loginPage=PageFactory.initElements(driver, LoginPage.class); //it will goto login page check all the locators initialise then it will return object of same class\r\n\t\t\r\n\t\tlogger.info(\"Starting Application\"); //it will provide information about test or test step\r\n\t\t\r\n\t\tloginPage.loginToPymidol(excel.getStringData(\"Login\", 0, 0), excel.getStringData(\"Login\", 0, 1));\r\n\t\t\r\n\t\tlogger.pass(\"Login done Success\");\r\n\t\r\n\t}",
"@Given(\"user on practice automation page\")\n\tpublic void user_on_practice_automation_page() {\n \t\t tools = new ToolsQA();\n \t\t tools.firstName.sendKeys(\"Erk\");\n\t\t\n\t}",
"public static void main(String[] args) {\nWebDriver driver; \r\nSystem.setProperty(\"webdriver.gecko.driver\", \"D:\\\\Utsav\\\\selenium\\\\geckodriver.exe\"); \r\ndriver = new FirefoxDriver();\r\ndriver.get(\"http://demo.automationtesting.in/Register.html\"); \r\n//for username \r\nWebElement uname = driver.findElement(By.xpath(\"/html/body/section/div/div/div[2]/form/div[1]/div[1]/input\"));\r\nuname.sendKeys(\"hello\");\r\nWebElement passwd = driver.findElement(By.cssSelector(\"div.form-group:nth-child(1) > div:nth-child(3) > input:nth-child(1)\"));\r\npasswd.sendKeys(\"hello\");\r\ndriver.findElement(By.xpath(\"/html/body/section/div/div/div[2]/form/div[2]/div/textarea\")).sendKeys(\"baneshwor,ktm\");\r\ndriver.findElement(By.xpath(\"/html/body/section/div/div/div[2]/form/div[3]/div[1]/input\")).sendKeys(\"[email protected]\");\r\ndriver.findElement(By.xpath(\"/html/body/section/div/div/div[2]/form/div[4]/div/input\")).sendKeys(\"9845254255\");\r\ndriver.findElement(By.name(\"radiooptions\")).click(); \r\ndriver.findElement(By.xpath(\"/html/body/section/div/div/div[2]/form/div[5]/div/label[2]/input\")).click();\r\nSelect lang = new Select(driver.findElement(By.xpath(\"//*[@id=\\\"msdd\\\"]\")));\r\nlang.selectByIndex(1);\r\nSelect skills = new Select(driver.findElement(By.xpath(\"//*[@id=\\\"Skills\\\"]\")));\r\nskills.selectByIndex(11);\r\nSelect country= new Select(driver.findElement(By.id(\"countries\"))); \r\ncountry.selectByValue(\"Antarctica\"); \r\nSelect country1= new Select(driver.findElement(By.xpath(\"/html/body/section/div/div/div[2]/form/div[10]/div/span/span[1]/span\"))); \r\ncountry1.selectByIndex(12);\r\nSelect yr= new Select(driver.findElement(By.xpath(\"//*[@id=\\\"yearbox\\\"]\"))); \r\nyr.selectByIndex(5);\r\nSelect mth= new Select(driver.findElement(By.xpath(\"/html/body/section/div/div/div[2]/form/div[11]/div[2]/select\"))); \r\nmth.selectByIndex(4); \r\nSelect day= new Select(driver.findElement(By.xpath(\"//*[@id=\\\"daybox\\\"]\"))); \r\nday.selectByIndex(23);\r\n\r\ndriver.findElement(By.id(\"firstpassword\")).sendKeys(\"hsfdk\");\r\ndriver.findElement(By.id(\"secondpassword\")).sendKeys(\"hsfdk\"); \r\ndriver.findElement(By.xpath(\"//*[@id=\\\"imagesrc\\\"]\")).sendKeys(\"C:\\\\Users\\\\Dream\\\\Desktop\"); \r\ndriver.findElement(By.id(\"submitbtn\")).click();\r\n\r\n\r\n\r\n\r\n\t}",
"public static void main(String[] args) throws InterruptedException {\n\t\t\n\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"//Users//priya//Documents//workspace//testingRequsites//geckodriver\");\n\t\tWebDriver driver = new FirefoxDriver();\n\t\t\n\t\tdriver.get(\"https://profile.oracle.com/myprofile/account/create-account.jspx\");\n\t\tThread.sleep(2000);\n\t\t\n\t\tdriver.findElement(By.name(\"email\")).sendKeys(\"[email protected]\");\n\t\tThread.sleep(4000);\n\t\t\n\t\tdriver.findElement(By.name(\"password\")).sendKeys(\"Pass@1234\");\n\t\tThread.sleep(2000);\n\t\t\n\t\tdriver.findElement(By.name(\"retypePassword\")).sendKeys(\"Pass@1234\");\n\t\tThread.sleep(2000);\n\t\t\n\t\tSelect country = new Select(driver.findElement(By.name(\"country\")));\n\t\tcountry.selectByValue(\"IN\");\n\t\tThread.sleep(2000);\n\t\t\n\t\tdriver.findElement(By.name(\"firstName\")).sendKeys(\"priya\");\n\t\tThread.sleep(3000);\n\t\t\n\t\t\n\t\tdriver.findElement(By.name(\"lastName\")).sendKeys(\"ahin\");\n\t\tThread.sleep(2000);\n\t\t\n\t\t\n\t\tdriver.findElement(By.name(\"jobTitle\")).sendKeys(\"CEO\");\n\t\tThread.sleep(2000);\n\t\t\n\t\t\n\t\tdriver.findElement(By.name(\"workPhone\")).sendKeys(\"1234567889\");\n\t\tThread.sleep(2000);\n\t\t\n\t\t\n\t\tdriver.findElement(By.name(\"companyName\")).sendKeys(\"HomeSweethome\");\n\t\tThread.sleep(2000);\n\t\t\n\t\tdriver.findElement(By.name(\"address1\")).sendKeys(\"jsdgh djfghv \");\n\t\tThread.sleep(2000);\n\t\t\n\t\tdriver.findElement(By.name(\"address1\")).sendKeys(\"sjdh2 sdjbc222\");\n\t\tThread.sleep(2000);\n\t\t\n\t\tdriver.findElement(By.name(\"city\")).sendKeys(\"Pune\");\n\t\tThread.sleep(2000);\n\t\t\n\t\t\n\t\tSelect state = new Select(driver.findElement(By.name(\"state\")));\n\t\tstate.selectByValue(\"20\");\n\t\tThread.sleep(2000);\n\t\t\n\t\tdriver.findElement(By.name(\"postalCode\")).sendKeys(\"411087\");\n\t\tThread.sleep(2000);\n\n\t\tdriver.findElement(By.xpath(\"//span[text()='Create Account']\")).click();\n\t\tThread.sleep(2000);\n\t\tdriver.quit();\n\t\t\n\t\t\n\t}",
"public void setUserName(String UserName){\r\n\t\tString UsrName = getValue(UserName);\r\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy_MM_dd_HH_mm_ss\");\r\n\r\n\t\tDate date = new Date();\r\n\r\n\t\tString ldDate=(String) dateFormat.format(date);\r\n\r\n\t\t//String USR = getValue(Username);\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+UsrName);\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- Username should be entered in Login\");\r\n\t\ttry{\r\n\t\t\tif((countrygroup_username).contains(countries.get(countrycount))){\r\n\t\t\t\tsendKeys(locator_split(\"txtRegistrationUniqueUsername\"), UsrName+ldDate);\t\r\n\t\t\t\tSystem.out.println(\"User Name is entered\");\r\n\t\t\t\tReporter.log(\"PASS_MESSAGE:- Username is entered in username field\");\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tReporter.log(\"PASS_MESSAGE:- Username is not applicable to \" + country);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Username is not entered in Login field with WebElement \"+elementProperties.getProperty(\"txtUserName\"));\r\n\t\t\tthrow new NoSuchElementException(\"The element with \"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"txtRegistrationUniqueUsername\").toString().replace(\"By.\", \" \")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\t}",
"public static void main(String[] args) throws IOException {\n\r\n\t\tLoginHome home=new LoginHome();\r\n\t\thome.readFile();\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"D:/DEVIBALA/chromedriver.exe\");\r\n\t\tWebDriver driver=new ChromeDriver();\r\n\t\tdriver.get(url);\r\n\t\t\r\n\r\n\t\tdriver.findElement(By.name(\"uid\")).sendKeys(username);\r\n\t\tdriver.findElement(By.name(\"password\")).sendKeys(password); \r\n\t\tdriver.findElement(By.name(\"btnLogin\")).click();\r\n\t\t\r\n\t\t\r\n\t\tString title=driver.getTitle();\r\n\t\tSystem.out.println(title);\r\n\t\tFile scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);\r\n\t\t// Now you can do whatever you need to do with it, for example copy somewhere\r\n\t\tFileUtils.copyFile(scrFile, new File(\"D:\\\\screenshot.jpg\"));\r\n\t\t\r\n\t\tif(title.contains(\"Guru99 Bank Manager HomePage\")){\r\n\t\t\tSystem.out.println(\"passed\");\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"failed\");\r\n\t\t}\r\n\r\n\t}",
"public static void main(String[] args) throws Exception {\n\t\t\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"D://Browser_exe//chromedriver.exe\");\r\n\t\tdr = new ChromeDriver();\r\n\t\tdr.manage().window().maximize();\r\n\t\tdr.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\r\n\t\tdr.get(\"http://care.d2h.com/cms/default.aspx\");\r\n\t\tThread.sleep(5000);\r\n\t\tdr.findElement(By.xpath(\"//a[contains(text()='Login')]\")).click();\r\n\t\tString Actual = dr.findElement(By.id(\"rfvUserName\")).getText();\r\n\t\tString ExText = \"Enter Username\";\r\n\t\tAssert.assertEquals(Actual, ExText);\r\n\t\tSystem.out.println(\"Both matched.... Now Enter userName\");\r\n\t\t\r\n\t\tThread.sleep(3000);\r\n\t\tdr.quit();\r\n\t}",
"public static void main(String[] args) {\n\t\tWebDriverManager.chromedriver().setup();\r\n\t\tChromeDriver driver = new ChromeDriver();\r\n\t\tdriver.manage().window().maximize();\r\n\t\tdriver.get(\"http://leaftaps.com/opentaps/control/main\");\r\n\t\tString title = driver.getTitle();\r\n\t\tSystem.out.println(\"Title: \" + title);\r\n\t\tWebElement userName = driver.findElement(By.id(\"username\"));\r\n\t\tuserName.sendKeys(\"demosalesmanager\");\r\n\t\tWebElement passWord = driver.findElement(By.id(\"password\"));\r\n\t\tpassWord.sendKeys(\"crmsfa\");\r\n\t\tWebElement loginButton = driver.findElement(By.className(\"decorativeSubmit\"));\r\n\t\tloginButton.click();\r\n\t\tWebElement crmsfaLink = driver.findElement(By.linkText(\"CRM/SFA\"));\r\n\t\tcrmsfaLink.click();\r\n\t\tWebElement lead = driver.findElement(By.linkText(\"Leads\"));\r\n\t\tlead.click();\r\n\t\tdriver.findElement(By.linkText(\"Find Leads\")).click();\r\n\t\tWebElement firstname= driver.findElement(By.xpath(\"//input[@name='firstName']\"));\r\n\t\tif(firstname.isDisplayed()){\r\n\t\tfirstname.sendKeys(\"Sheriba\");}\r\n\t\tdriver.findElement(By.xpath(\"//button[text()='Find Leads']\")).click();\r\n\t\tdriver.findElement(By.linkText(\"10124\")).click();\r\n\t\tString title1 = driver.getTitle();\r\n\t\tSystem.out.println(\"Title: \" + title1);\r\n\t\tdriver.findElement(By.linkText(\"Edit\")).click();\r\n\t\tdriver.findElement(By.name(\"companyName\")).sendKeys(\"Wipro\");\r\n\t\tdriver.findElement(By.name(\"submitButton\")).click();\r\n\t}",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"D:\\\\Study\\\\selenium\\\\eclipse\\\\chromedriver.exe\");\r\n\t\t\r\n\t\t//Create Driver object for chromeDriver\r\n\t\tWebDriver driverrss =new ChromeDriver();\r\n\t\t\r\n\t\t//Register the URL when we need to perform testing\r\n\t\tdriverrss.get(\"https://login.salesforce.com\");\r\n\t\t\r\n\t\t//Locator supported by selenium\r\n\t\t// 1 - I\r\n\t\t// 2 - ClassName\r\n\t\t// 3 - Name\r\n\t\t// 4 - linkText\r\n\t\t// 5- Xpath\r\n\t\t// 6 - CSS\r\n\t\t\r\n\t\t// To get these locator we can right click inspect on element and copy -- xpath \r\n\t\t\r\n\t\t\r\n\t\t//driverrss.findElement(By.id(\"username\")).sendKeys(\"srai0430\");\r\n\t\tdriverrss.findElement(By.cssSelector(\"#username\")).sendKeys(\"MyName is SUjeet\");\r\n\t\tdriverrss.findElement(By.name(\"pw\")).sendKeys(\"testing\");\r\n\t\t//driverrss.findElement(By.name(\"Login\")).click();\r\n\t\tdriverrss.findElement(By.xpath(\"//*[@id=\\'Login\\']\")).click();\r\n\t\tdriverrss.findElement(By.cssSelector(\"#error\")).getText();\r\n\t\tSystem.out.println(driverrss.findElement(By.cssSelector(\"#error\")).getText());\r\n\t}",
"public void run() throws Exception {\n\t\tweb.window(2,\n\t\t\t\t\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_window}}\").navigate(\n\t\t\t\t\t\t\"http://riyoramgbm02.maaden.com:8050/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE\");\n\t\tweb.window(4,\n\t\t\t\t\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_window}}\").waitForPage(180, true);\n\t\t\n\t\tweb.textBox(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_input_text_unamebean}}\").click();\n\t\t\n\t\tweb.textBox(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_input_text_unamebean}}\").setText(\"PEETHAMBARANS\");\n\t\t\t\t\n\t\tweb.textBox(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_input_password_pwdbean}}\")\n\t\t\t\t.setPassword(deobfuscate(\"vWeMH+MT9Gy3Y8SojsL+Mg==\"));\n\t\n\t\tweb.button(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_button_SubmitButton}}\").click();\n\t\tweb.window(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_window}}\").waitForPage(180, true);\n\t\t\n\t\tweb.link(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.MWSPC_PURCHASING_SUPERUSE}}\").click();\n\t\tweb.window(17,\n\t\t\t\t\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_window}}\").waitForPage(180, true);\n\t\n\t\n\t\tweb.link(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.Purchase_Order}}\").click();\n\t\tweb.window(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_window}}\").waitForPage(180, true);\n\t\t\n\t\tweb.link(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.Purchase_Order_Summary}}\").click();\n\t\tweb.window(28,\n\t\t\t\t\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.web_window_1}}\")\n\t\t\t\t.waitForPage(180,true);\n\t\tforms.captureScreenshot(33);\n\t\t\n\t\t//forms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_FIND_OPERATING_UNIT_0}}\").setFocus();\n\t\tif(forms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_FIND_PO_NUM_0}}\").exists(60, TimeUnit.SECONDS)){\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_FIND_PO_NUM_0}}\").setText(\"741903172\");\n\t\t}\n\t\t\n\t\tString PO_Number = forms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_FIND_PO_NUM_0}}\").getText();\n\t\tinfo(\"PO_Number ->\"+PO_Number);\n\t\t\n\t\tforms.button(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_button_FIND_FIND_0}}\").click();\n\t\tforms.captureScreenshot(38);\n\t\n\t\tforms.button(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.Lines}}\").click();\n\t\tforms.captureScreenshot(41);\n\t\t\n\t\tforms.button(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.Shipment}}\").click();\n\t\tforms.captureScreenshot(44);\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_PO_NUM_0}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_RELEASE_}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_LINE_NUM}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_SHIPMENT}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_ITEM_NUM}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_UNIT_MEA}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_SHIP_TO_}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_SHIPMENT_1}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_START_DA}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_END_DATE}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_QUANTITY}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_QUANTITY}}\").setFocus();\n\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_QUANTITY_1}}\").invokeSoftKey(\"NEXT_FIELD\");\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_QUANTITY_1}}\").setFocus();\n\t\tinfo(\"Quantity Due is : \"+forms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_QUANTITY_1}}\").getText() );\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_QUANTITY_2}}\").setFocus();\n\t\tinfo(\"Quantity Received is : \"+forms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_SHIPMENTS_FOLDER_QUANTITY_2}}\").getText());\n\t\tforms.captureScreenshot();\n\t\tforms.window(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_window_SHIPMENTS_FOLDER}}\").close();\n\t\tforms.captureScreenshot(63);\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_LINES_FOLDER_PURCHASING_O}}\").setFocus();\n\t\t\n//\t\tforms.button(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.Shipment}}\").click();\n//\t\t\n//\t\tforms.window(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_window_SHIPMENTS_FOLDER}}\").activate(true);\n//\t\tforms.captureScreenshot(68);\n//\t\t\n//\t\tforms.window(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_window_SHIPMENTS_FOLDER}}\").close();\n//\t\tforms.captureScreenshot(71);\n//\t\t\n\t\tforms.window(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_window_LINES_FOLDER}}\").close();\n\t\tforms.captureScreenshot(74);\n\t\t\n\t\tforms.window(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_window_HEADERS_FOLDER}}\").close();\n\t\tforms.captureScreenshot(77);\n\t\t\n\t\tforms.textField(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_textField_FIND_OPERATING_UNIT_0}}\").setFocus();\n\t\tforms.captureScreenshot(80);\n\t\t\n\t\tforms.close(81);\n\t\tforms.captureScreenshot(83);\n\t\t\n\t\tforms.choiceBox(\"{{obj.PO_QtyReceived_QtyDue_EligibilityVerification_00122.forms_choiceBox}}\").clickButton(\"OK\");\n\t\t\n\t\t\n\n\t}",
"@When(\"User enters {string} and {string} and clicks submit button\")\n\tpublic void user_enters_and_and_clicks_submit_button(String string, String string2) {\n\t\t driver.findElement(By.xpath(\"//a[@ href='login.htm']\")).click();\n\t\t driver.findElement(By.name(\"userName\")).sendKeys(string);\n\t\t driver.findElement(By.name(\"password\")).sendKeys(string2);\n\t\t driver.findElement(By.name(\"Login\")).click(); \n\t}",
"public void getCredentials(){\n System.out.println(\"Enter Your Credit Card Number\");\n setCreditCardNumber(Integer.parseInt(Menu.getScanner().nextLine()));\n System.out.println(\"Enter your billing address\");\n setBillingAddress(Menu.getScanner().nextLine());\n System.out.println(\"Enter your CVC\");\n setCvc(Integer.parseInt(Menu.getScanner().nextLine()));\n }",
"public void logincredentials() {\n\t\tutil.entertext(prop.getValue(\"locators.text.uname\"), \"admin\");\n\t\tutil.entertext(prop.getValue(\"locators.text.password\"), \"Admin123\");\n\t\tutil.ClickElement(prop.getValue(\"locators.button.regdesk\"));\n\t\tutil.ClickElement(prop.getValue(\"locators.button.login\"));\n\t\tlogreport.info(\"logged into the application\");\n\n\t}",
"@Then(\"^User fill the Login form from given sheetname \\\"([^\\\"]*)\\\" and rownumber (\\\\d+)$\")\r\npublic void user_fill_the_Login_form_from_given_sheetname_and_rownumber(String SheetName, int RowNumber) throws Throwable {\r\n\t\t\r\n\t\t LumensExcelReader reader=new LumensExcelReader();\r\n\t\t \r\n\t\t TC002_LoginValidation_Titleverification login=new TC002_LoginValidation_Titleverification(driver);\r\n\t\t \r\n\t\t List<Map<String,String>> testData =reader.getData(\"C:\\\\Users\\\\91994\\\\test-workspace\\\\LumensWebsite\\\\ExcelTestdata\\\\lumenstestdata.xlsx\",SheetName); \r\n\t\t \r\n\t\t String Username =testData.get(RowNumber).get(\"EmailUsername\");Thread.sleep(2000);\r\n\t\t driver.manage().timeouts().implicitlyWait(30,TimeUnit.SECONDS); \r\n\t\t \r\n\t\t String Password =testData.get(RowNumber).get(\"Password\");Thread.sleep(2000);\r\n\t\t driver.manage().timeouts().implicitlyWait(30,TimeUnit.SECONDS);\r\n\t\t \r\n\t\t login.enterlogincredentials(Username, Password);\r\n\t\t driver.manage().timeouts().implicitlyWait(30,TimeUnit.SECONDS);\r\n}",
"public static void main(String[] args) throws Exception {\n \n ExcelUtils.setExcelFile(Constants.Path_TestData + Constants.File_TestData,\"Sheet1\");\n \t System.out.println(\"Total Number of Rows in the excel is : \"+ExcelUtils.rowCount());\n \t System.out.println(\"Total Number of Columns in the excel is : \"+ExcelUtils.columnCount());\n\n System.setProperty(\"webdriver.gecko.driver\",driverPath);\n driver = new FirefoxDriver();\n \n driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n \n driver.get(Constants.URL);\n \n SignIn_Action.Execute(driver);\n \n System.out.println(\"Login Successfully, now it is the time to Log Off buddy.\");\n \n Home_Page.lnk_LogOut(driver).click(); \n \n driver.quit();\n \n //This is to send the PASS value to the Excel sheet in the result column.\n \n ExcelUtils.setCellData(\"Pass\", 1, 3);\n \n }",
"public static void main(String[] args) throws IOException {\n\t\tin = new Scanner(System.in);\r\n\t\tString email = null;\r\n\t\tString password = null;\r\n\t\tSystem.out.println(\"Please enter your email: \");\r\n\t\temail = in.next();\r\n\t\t\r\n\t\tSystem.out.println(\"Please enter your password: \");\r\n\t\tpassword = in.next();\r\n\t\t\r\n\t\tString urlLink = \"http://localhost/java/java.php?email=\"+email+\"&password=\"+password;\r\n\t\tURL url = new URL(urlLink);\r\n\t\tHttpURLConnection conn = (HttpURLConnection)url.openConnection();\r\n\t\tconn.setRequestMethod(\"GET\");\r\n\t\t\r\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\t\tString line;\r\n\t\t\r\n\t\twhile ((line = in.readLine()) != null){\r\n\t\t\tsb.append(line);\r\n\t\t}\r\n\t\tin.close();\r\n\t\tSystem.out.println(sb.toString());\r\n\t\t\r\n\t}",
"public ManagePropertiesPage reviewProrty(Hashtable<String, String> testData) throws Exception {\n\ttry{\n\t\tcheckElementExistence(driver,By.xpath(\"lblPptyAddressvalue\"),5);\n\t\t/*COC.webAdaptor(Actions.waitForObjectToLoad, \"lblPptyAddressvalue\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblPptybillinfo\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblPptyName\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblPptyNameValue\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblPptyAddress\");\n\t\tCOC.webAdaptor(Actions.waitForText, \"lblPptyAddressvalue\");\n\t\n\t\t\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblMasterAccntno\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblMasterAccntnoValue\");\n\t\tCOC.webAdaptor(Actions.waitForText, \"lblAcntBillgName\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblAcntBillgNameValue\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblAccntMailingadd\");\n\t\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblAccntMailingaddvalue\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblUnit\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblAddress\");\n\n\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblTermsAgg\");\n\t\t*/COC.webAdaptor(Actions.click, \"chkTermsAgg\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblName\");\n\t\tcheckElementExistence(driver,By.xpath(\"inputName\"),5);\n\t\tCOC.webAdaptor(Actions.setText, \"inputName\",testData.get(\"Name\"));\n\t\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblTitle\");\n\t\tcheckElementExistence(driver,By.xpath(\"inputTitle\"),5);\n\t\tCOC.webAdaptor(Actions.setText, \"inputTitle\", testData.get(\"Title\"));\n\t\t\n\t\t/*COC.webAdaptor(Actions.waitForObjectToLoad, \"lblEmail\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lblEmailValue\");\n\t\tCOC.webAdaptor(Actions.waitForObjectToLoad, \"lnkBack\");\n\t\n\t*/\t\n\t\tcheckElementExistence(driver,By.xpath(\"btnSubmit\"),5);\n\t\t//COC.webAdaptor(Actions.waitForObjectToLoad, \"btnSubmit\");\n\t\tCOC.webAdaptor(Actions.click, \"btnSubmit\");\n\t\tThread.sleep(5000);\n\t\t\n\t/*\tFile scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);\n\t\tFileUtils.copyFile(scrFile, new File(\"Screenshots//\" + this.getClass().getSimpleName() + \"_\" +System.currentTimeMillis() +\".png\"));\n\t\tCOCDriverScript.logMessage(\"testStepPass\", \"Selected New Property\");\n\t*/ }catch(Exception e){\n\t\tCOCDriverScript.logMessage(\"testStepFail\", \"Element not found\");\n\t\tSystem.out.println(e.getMessage());\n\t\te.printStackTrace();\n\t\tFile scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);\n\t\tFileUtils.copyFile(scrFile, new File(\"Screenshots//\" + this.getClass().getSimpleName() + \"_\" +System.currentTimeMillis() +\".png\"));\n\t }\n\treturn new ManagePropertiesPage(driver, localData);\n}",
"@Test\t\t\n\tpublic void validuser() {\n\t\tFile file = new File(\"C:\\\\Users\\\\gururaj.ravindra\\\\eclipse-workspace\\\\6D\\\\config.properties\\\\testdata.properties\");\n\t\t \n\t\tFileInputStream fileInput = null;\n\t\ttry {\n\t\t\tfileInput = new FileInputStream(file);\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tProperties prop = new Properties();\n\t\t\n\t\t//load properties file\n\t\ttry {\n\t\t\tprop.load(fileInput);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} \n\t\t\n\t\tWebDriver driver= BrowserFactory.StartBrowser(prop.getProperty(\"browserName\"),prop.getProperty(\"url\"));\n\t\tLoginPage login_page = PageFactory.initElements(driver, LoginPage.class);\n\t\tlogin_page.Validlogin(prop.getProperty(\"username\"),prop.getProperty(\"password\"));\n\t}",
"public final void testScript() throws InterruptedException, IOException\n\t{\n\t\t\t\t//Step 1 - : login to deviceConnect with valid user and verify Devices page.\n\t\t\t\t//**************************************************************************//\n\t\t\t\tisEventSuccessful = Login();\n\t\t\t\t\n\t\t\t\tselectStatus_DI(\"Offline\");\n\n\t\t\t\t//**************************************************************************//\n\t\t\t\t// Step 2 : Click on any device name\n\t\t\t\t//**************************************************************************//\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tstrStepDescription = \"Click on any device name\";\n\t\t\t\tstrExpectedResult = \"Device details page should be displayed\";\n\t\t\t\tif (isEventSuccessful)\n\t\t\t\t{\n\t\t\t\t\tvalues = GoTofirstDeviceDetailsPage();\n\t\t\t\t isEventSuccessful = (boolean) values[0] ;\n\t\t\t\t deviceName =(String) values[1];\n\t\t\t\t\t\n\t\t\t\tif (isEventSuccessful)\n\t\t\t\t{\n\t\t\t\t\tstrActualResult = \"Device details page is displayed\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tstrActualResult = \"Device details page is not displayed\";\n\t\t\t\t}\n\n\t\t\t\treporter.ReportStep(strStepDescription, strExpectedResult, strActualResult, isEventSuccessful);\n\t\t\t\t\n\t\t\t\torgDeviceName=GetTextOrValue(dicOR.get(\"lnkmousehoverDeviceName_DeviceDetailPage\"),\"text\");\n\t\t\t\tSystem.out.println(\"org-------------------------\"+orgDeviceName);\n\t\t\t\t\n\t\t\t\tfor (int loopcounter=1; loopcounter<=5; loopcounter++)\n\t\t\t\t{\n\t\t\t\t\t//**************************************************************************//\n\t\t\t\t\t// Step 3 : Click on Edit link\n\t\t\t\t\t//**************************************************************************//\n\t\t\t\t\tstrStepDescription = \"Click on Edit link\";\n\t\t\t\t\tstrExpectedResult = \"Device name should become editable\";\n\t\t\t\t\tisEventSuccessful = PerformAction(\"lnkEditDeviceName_DeviceDetailPage\",Action.ClickUsingJS);\n\t\t\t\t\tif (isEventSuccessful)\n\t\t\t\t\t{\n\t\t\t\t\t\tisEventSuccessful = PerformAction(\"txtDeviceName\", Action.isEnabled);\n\t\t\t\t\t\tif (isEventSuccessful)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tstrActualResult = \"Device name is editable\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tstrActualResult = \"Device name is not editable\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tstrActualResult = \"Unable to click on Edit link\";\n\t\t\t\t\t}\n\n\t\t\t\t\treporter.ReportStep(strStepDescription, strExpectedResult, strActualResult, isEventSuccessful);\n\t\t\t\t\t\n\t\t\t\t\tif (loopcounter==5)\n\t\t\t\t\t\trenamedText=orgDeviceName;\n\t\t\t\t\telse\n\t\t\t\t\t\trenamedText=\"RenamedDeviceName\"+loopcounter;\n\t\t\t\t\t\n\t\t\t\t\tPerformAction(dicOR.get(\"txtDeviceName\"), Action.Type, renamedText);\n\n\t\t\t\t\t//**************************************************************************//\n\t\t\t\t\t// Step 4 : Verify Save link\n\t\t\t\t\t//**************************************************************************//\n\t\t\t\t\tstrStepDescription = \"Verify Save link\";\n\t\t\t\t\tstrExpectedResult = \"Save link should be present\";\n\t\t\t\t\tisEventSuccessful = PerformAction(\"btnSaveDeviceName_DeviceDetails\", Action.Click);\n\t\t\t\t\tif (isEventSuccessful)\n\t\t\t\t\t{\n\t\t\t\t\t\tstrActualResult = \"Save link is displayed\";\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tstrActualResult = \"Save link is not displayed\";\n\t\t\t\t\t}\n\n\t\t\t\t\treporter.ReportStep(strStepDescription, strExpectedResult, strActualResult, isEventSuccessful);\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tstrStepDescription = \"Verify device is renamed\";\n\t\t\t\t\tstrExpectedResult = \"Devices get renamed instantly. (Should not take too long time)\";\n\t\t\t\t\tcurrentDeviceName=GetTextOrValue(dicOR.get(\"lnkmousehoverDeviceName_DeviceDetailPage\"),\"text\");\n\t\t\t\t\tSystem.out.println(\"----------------------\"+currentDeviceName);\n\t\t\t\t\tif (currentDeviceName.equals(renamedText))\n\t\t\t\t\t{\n\t\t\t\t\t\tisEventSuccessful=true;\n\t\t\t\t\t\tstrActualResult = \"Device gets renamed instantly\";\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tisEventSuccessful=false;\n\t\t\t\t\t\tstrActualResult = \"Device doesn't gets renamed instantly\";\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\treporter.ReportStep(strStepDescription, strExpectedResult, strActualResult, isEventSuccessful);\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t}",
"@Test\n\tpublic void webpageTesting() throws Exception{\n\t\t\n DemoSitePortal homePage = PageFactory.initElements(driver, DemoSitePortal.class);\n homePage.navUserPage();\n homePage.addUserPage.createUser(\"user\", \"user\");\n homePage.navLoginPage();\n homePage.addLoginPage.loginUser(\"user\", \"user\");\n\t\t\n//\t\ttarget = driver.findElement(By.xpath(\"/html/body/div/center/table/tbody/tr[2]/td/div/center/table/tbody/tr/td[2]/p/small/a[3]\"));\n//\t\ttarget.click();\n\t\t\n//\t\tuser = driver.findElement(By.name(\"username\"));\n//\t\tuser.sendKeys(\"guest\");\n//\t\t\n//\t\tpass = driver.findElement(By.name(\"password\"));\n//\t\tpass.sendKeys(\"guest\");\n//\t\t\n//\t\ttarget = driver.findElement(By.name(\"FormsButton2\"));\n//\t\ttarget.click();\n//\t\t\n//\t\ttarget = driver.findElement(By.xpath(\"/html/body/div/center/table/tbody/tr[2]/td/div/center/table/tbody/tr/td[2]/p/small/a[4]\"));\n//\t\ttarget.click();\n//\t\t\n//\t\tuser = driver.findElement(By.name(\"username\"));\n//\t\tuser.sendKeys(\"guest\");\n//\t\t\n//\t\tpass = driver.findElement(By.name(\"password\"));\n//\t\tpass.sendKeys(\"guest\");\n//\t\t\n//\t\ttarget = driver.findElement(By.name(\"FormsButton2\"));\n//\t\ttarget.click();\n\t\t\n\t\t\n\t\t\n\t\tString result = driver.getTitle();\n\t\tassertEquals(\"Login example page to test the PHP MySQL online system\",result);\n\t\t\n\n\t}"
] |
[
"0.64439124",
"0.5995518",
"0.58627015",
"0.58604515",
"0.5854122",
"0.5822784",
"0.5791982",
"0.5788191",
"0.577551",
"0.57654583",
"0.5750409",
"0.5742054",
"0.5686608",
"0.56773686",
"0.565214",
"0.56322694",
"0.5631918",
"0.5623167",
"0.5602239",
"0.55928546",
"0.5575883",
"0.5562596",
"0.55615085",
"0.55614704",
"0.55613154",
"0.5525315",
"0.55168194",
"0.551613",
"0.547487",
"0.54741746",
"0.5460049",
"0.5449271",
"0.5438418",
"0.5432591",
"0.54298484",
"0.5429747",
"0.54238385",
"0.542349",
"0.540503",
"0.5401511",
"0.5391228",
"0.538544",
"0.53668475",
"0.53565615",
"0.5355328",
"0.53509796",
"0.53423136",
"0.53385806",
"0.53364265",
"0.53320915",
"0.53231543",
"0.5322585",
"0.5321248",
"0.5317639",
"0.5314951",
"0.5311248",
"0.53069603",
"0.5305312",
"0.5299253",
"0.529565",
"0.5294349",
"0.5293543",
"0.5292232",
"0.52854425",
"0.5284606",
"0.52819395",
"0.5274504",
"0.52740645",
"0.5267321",
"0.5265769",
"0.52645856",
"0.5262814",
"0.5257812",
"0.5244479",
"0.5242282",
"0.5235202",
"0.523337",
"0.5230581",
"0.52283937",
"0.52258223",
"0.5218339",
"0.52176917",
"0.52125597",
"0.52021295",
"0.51967824",
"0.5191829",
"0.51897466",
"0.5186062",
"0.51814073",
"0.5176347",
"0.51730174",
"0.5171757",
"0.51703674",
"0.5168264",
"0.5167833",
"0.51663446",
"0.5161701",
"0.5154484",
"0.5150591",
"0.5148108",
"0.51457983"
] |
0.0
|
-1
|
GET X3D This method will return the X3D for the Cell. It runs through each of its components and collects up their representations and then assembles them into one unified X3D model.
|
public String getX3D(boolean snipet) {
// Assemble the Feet
String header = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<!DOCTYPE X3D PUBLIC \"ISO//Web3D//DTD X3D 3.0//EN\" \"http://www.web3d.org/specifications/x3d-3.0.dtd\">\n " +
"<X3D profile='Immersive' >\n" +
"<head>\n" +
"<meta name='BioMightImage' content='Feet.jpg'/>\n" +
"<meta name='ExportTime' content='7:45:30'/>\n" +
"<meta name='ExportDate' content='08/15/2008'/>\n" +
"<meta name='BioMight Version' content='1.0'/>\n" +
"</head>\n" +
"<Scene>\n" +
"<WorldInfo\n" +
"title='Feet'\n" +
"info='\"BioMight Generated X3D\"'/>\n";
String body = "";
System.out.println("Assembling X3D for Feets");
// Run through the collection of Feets and assemble the X3D for each
for (int i=0; i<feet.size(); i++)
{
// Get the information for the eye
Foot foot = (Foot) feet.get(i);
System.out.println("Getting X3D for Foot");
body += foot.getX3D(true);
}
//System.out.println("Feet X3D: " + body);
String footer = "</Scene>" + "</X3D>\n";
if (snipet)
return body;
else
return header + body + footer;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public X3DObject getX3dModel()\n {\t \n\t return x3dModel;\n }",
"public int getXD3 ()\n\t{\n\t\treturn xDimension3;\n\t}",
"@java.lang.Override\n public godot.wire.Wire.Vector3 getX() {\n return x_ == null ? godot.wire.Wire.Vector3.getDefaultInstance() : x_;\n }",
"public godot.wire.Wire.Vector3 getX() {\n if (xBuilder_ == null) {\n return x_ == null ? godot.wire.Wire.Vector3.getDefaultInstance() : x_;\n } else {\n return xBuilder_.getMessage();\n }\n }",
"public godot.wire.Wire.Vector3OrBuilder getXOrBuilder() {\n if (xBuilder_ != null) {\n return xBuilder_.getMessageOrBuilder();\n } else {\n return x_ == null ?\n godot.wire.Wire.Vector3.getDefaultInstance() : x_;\n }\n }",
"public String getX3RealStr() {\n this.polySolve();\n return this.x3real;\n }",
"public String getX3D(boolean snipet) {\r\n\t\t\r\n\t\t// Assembe the Eye\r\n\t\tString header = \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n\" +\r\n\t\t\"<!DOCTYPE X3D PUBLIC \\\"ISO//Web3D//DTD X3D 3.0//EN\\\" \\\"http://www.web3d.org/specifications/x3d-3.0.dtd\\\">\\n \" +\r\n\t\t\"<X3D profile='Immersive' >\\n\" +\r\n\t\t\"<head>\\n\" +\r\n\t\t \"<meta name='BioMightImage' content='Eye.jpg'/>\\n\" +\r\n\t\t \"<meta name='ExportTime' content='7:45:30'/>\\n\" +\r\n\t\t \"<meta name='ExportDate' content='08/15/2008'/>\\n\" +\r\n\t\t \"<meta name='BioMight Version' content='1.0'/>\\n\" + \r\n\t\t\"</head>\\n\" +\r\n\t\t\"<Scene>\\n\" +\r\n\t\t\"<WorldInfo\\n\" +\r\n\t\t\"title='Eye'\\n\" +\r\n\t\t\"info='\\\"BioMight Generated X3D\\\"'/>\\n\";\t\t\r\n\r\n\t\tint view = Constants.VIEW_FLOATING;\r\n\t\tString body = \"\";\r\n\t\tif (view == Constants.VIEW_FLOATING)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Getting composite X3D for eye\");\r\n\t\t\tbody = \t\t\t\t\r\n\t\t\t\tpupil.getX3D(true) +\r\n\t\t\t\tsclera.getX3D(true) +\r\n\t\t\t\tiris.getX3D(true); \r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\tbody = \"\";\r\n\t\t\t/*\r\n\t\t\tcone.getX3D(true) +\r\n\t\t\tcornea.getX3D(true) +\r\n\t\t\tconjuctiva.getX3D(true) +\r\n\t\t\thorizontalCell.getX3D(true) +\r\n\t\t\tamacrineCell.getX3D(true) +\r\n\t\t\tbiPolarCell.getX3D(true) +\r\n\t\t\tganglionCell.getX3D(true) +\r\n\t\t\tlens.getX3D(true) +\r\n\t\t\tmacula.getX3D(true) +\r\n\t\t\topticDisc.getX3D(true) +\r\n\t\t\tpupil.getX3D(true) +\r\n\t\t\tpupilMargin.getX3D(true) +\r\n\t\t\tpupilSphincter.getX3D(true) + \r\n\t\t\tretina.getX3D(true) +\r\n\t\t\tsclera.getX3D(true) +\r\n\t\t\tvitreousHumor.getX3D(true) +\r\n\t\t\tlateralRectusMuscle.getX3D(true) +\r\n\t\t\tzonularFibers.getX3D(true) +\r\n\t\t\tuvea.getX3D(true) +\r\n\t\t\thyaloidCanal.getX3D(true) +\r\n\t\t\tsuspensoryLigament.getX3D(true);\r\n\t\t\t*/\r\n\t\t}\t\r\n\t\t//System.out.println(\"Eye X3D: \" + body);\t\t\r\n\t\t\r\n\t\tString footer = \"</Scene>\" + \"</X3D>\\n\";\r\n\t\t\r\n\t\tif (snipet)\r\n\t\t\treturn body;\t\t\t\r\n\t\telse\t\r\n\t\t\treturn header + body + footer;\r\n\t}",
"@Override\n public ThreeModelGetResponse get3d(String tokens) throws ThreeDimensionNotExistException, SystemException {\n return new ThreeModelGetResponse(threeDimensionDataService.get3d(tokens));\n }",
"@java.lang.Override\n public godot.wire.Wire.Vector3OrBuilder getXOrBuilder() {\n return getX();\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n godot.wire.Wire.Vector3, godot.wire.Wire.Vector3.Builder, godot.wire.Wire.Vector3OrBuilder> \n getXFieldBuilder() {\n if (xBuilder_ == null) {\n xBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n godot.wire.Wire.Vector3, godot.wire.Wire.Vector3.Builder, godot.wire.Wire.Vector3OrBuilder>(\n getX(),\n getParentForChildren(),\n isClean());\n x_ = null;\n }\n return xBuilder_;\n }",
"public double getSolutionX3() {\n this.polySolve();\n if (this.degree < 3) {\n return 0010;\n } else {\n if (this.real) {\n return this.x3;\n } else {\n return 0010;\n }\n }\n }",
"public GraphX getGraphX() {\r\n return graphX;\r\n }",
"public final void initialize()\n {\n x3dModel = new X3DObject().setProfile(\"Immersive\").setVersion(\"3.3\")\n .setHead(new headObject()\n .addComponent(new componentObject().setName(\"Navigation\").setLevel(3))\n .addUnit(new unitObject().setName(\"AngleUnitConversion\").setConversionFactor(1.0).setCategory(\"angle\"))\n .addUnit(new unitObject().setName(\"LengthUnitConversion\").setConversionFactor(1.0).setCategory(\"length\"))\n .addMeta(new metaObject().setName(\"title\").setContent(\"HelloWorldProgramOutput.x3d\"))\n .addMeta(new metaObject().setName(\"description\").setContent(\"Example HelloWorldProgram creates an X3D model using the X3D Java Scene Access Interface (SAI) Library\"))\n .addMeta(new metaObject().setName(\"reference\").setContent(\"http://www.web3d.org/specifications/java/X3DJSAIL.html\"))\n .addMeta(new metaObject().setName(\"generator\").setContent(\"HelloWorldProgramOutput.java\"))\n .addMeta(new metaObject().setName(\"created\").setContent(\"6 September 2016\"))\n .addMeta(new metaObject().setName(\"modified\").setContent(\"29 May 2017\"))\n .addMeta(new metaObject().setName(\"generator\").setContent(\"X3D Java Scene Access Interface Library (X3DJSAIL)\"))\n .addMeta(new metaObject().setName(\"generator\").setContent(\"http://www.web3d.org/specifications/java/examples/HelloWorldProgram.java\"))\n .addMeta(new metaObject().setName(\"generator\").setContent(\"Netbeans http://www.netbeans.org\"))\n .addMeta(new metaObject().setName(\"creator\").setContent(\"Don Brutzman\"))\n .addMeta(new metaObject().setName(\"reference\").setContent(\"https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples/HelloWorldProgramOutput.x3d\"))\n .addMeta(new metaObject().setName(\"reference\").setContent(\"Console output, ClassicVRML encoding, VRML97 encoding and pretty-print documentation:\"))\n .addMeta(new metaObject().setName(\"reference\").setContent(\"HelloWorldProgramOutput.txt\"))\n .addMeta(new metaObject().setName(\"reference\").setContent(\"HelloWorldProgramOutput.x3dv\"))\n .addMeta(new metaObject().setName(\"reference\").setContent(\"HelloWorldProgramOutput.wrl\"))\n .addMeta(new metaObject().setName(\"reference\").setContent(\"HelloWorldProgramOutput.html\"))\n .addMeta(new metaObject().setName(\"X3dValidator\").setContent(\"https://savage.nps.edu/X3dValidator?url=http://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3d\"))\n .addMeta(new metaObject().setName(\"identifier\").setContent(\"http://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3d\"))\n .addMeta(new metaObject().setName(\"license\").setContent(\"../license.html\"))\n .addMeta(new metaObject().setName(\"SpecialTest\").setContent(\"tested sat: name value cannot contain embedded space character\"))\n .addComments(\" comment #1 \")\n .addComments(\" comment #2 \")\n .addComments(\" comment #3 \")\n .addComments(\" comment #4 \"))\n .setScene(new SceneObject()\n .addChild(new ViewpointGroupObject().setDescription(\"Available viewpoints\")\n .addChild(new ViewpointObject(\"DefaultView\").setDescription(\"Hello X3DJSAIL\"))\n .addChild(new ViewpointObject(\"TopDownView\").setDescription(\"top-down view from above\").setPosition(0.0f,100.0f,0.0f).setOrientation(1.0f,0.0f,0.0f,-1.570796f)))\n .addChild(new WorldInfoObject(\"WorldInfoDEF\").setTitle(\"HelloWorldProgram produced by X3D Java SAI Library (X3DJSAIL)\"))\n .addChild(new WorldInfoObject().setUSE(\"WorldInfoDEF\"))\n .addChild(new WorldInfoObject().setUSE(\"WorldInfoDEF\"))\n .addMetadata(new MetadataStringObject(\"scene.addChildMetadataObject\").setName(\"test\"))\n .addChild(new LayerSetObject(\"scene.addChildLayerSetObjectTest\"))\n .addChild(new TransformObject(\"LogoGeometryTransform\").setTranslation(0.0f,1.5f,0.0f)\n .addChild(new AnchorObject().setDescription(\"select for X3D Java SAI Library (X3DJSAIL) description\").setUrl(new MFStringObject(\"\\\"../X3DJSAIL.html\\\" \\\"http://www.web3d.org/specifications/java/X3DJSAIL.html\\\"\"))\n .addChild(new ShapeObject(\"BoxShape\")\n .setAppearance(new AppearanceObject()\n .setMaterial(new MaterialObject(\"GreenMaterial\").setDiffuseColor(0.0f,1.0f,1.0f).setTransparency(0.1f).setEmissiveColor(0.8f,0.0f,0.0f))\n .setTexture(new ImageTextureObject().setUrl(new MFStringObject(\"\\\"images/X3dJavaSceneAccessInterfaceSaiLibrary.png\\\" \\\"http://www.web3d.org/specifications/java/examples/images/X3dJavaSceneAccessInterfaceSaiLibrary.png\\\"\"))))\n .setGeometry(new BoxObject(\"test-NMTOKEN_regex.0123456789\").setCssClass(\"textured\")))))\n .addChild(new ShapeObject(\"LineShape\")\n .setAppearance(new AppearanceObject()\n .setMaterial(new MaterialObject().setEmissiveColor(0.6f,0.19607843f,0.8f)))\n .setGeometry(new IndexedLineSetObject().setCoordIndex(new int[] {0,1,2,3,4,0})\n .setCoord(new CoordinateObject().setPoint(new MFVec3fObject(new float[] {0.0f,1.5f,0.0f,2.0f,1.5f,0.0f,2.0f,1.5f,-2.0f,-2.0f,1.5f,-2.0f,-2.0f,1.5f,0.0f,0.0f,1.5f,0.0f})))))\n .addChild(new PositionInterpolatorObject(\"BoxPathAnimator\").setKey(new float[] {0.0f,0.125f,0.375f,0.625f,0.875f,1.0f}).setKeyValue(new MFVec3fObject(new float[] {0.0f,1.5f,0.0f,2.0f,1.5f,0.0f,2.0f,1.5f,-2.0f,-2.0f,1.5f,-2.0f,-2.0f,1.5f,0.0f,0.0f,1.5f,0.0f})))\n .addChild(new TimeSensorObject(\"OrbitClock\").setCycleInterval(8.0).setLoop(true))\n .addChild(new ROUTEObject().setFromNode(\"OrbitClock\").setFromField(\"fraction_changed\").setToNode(\"BoxPathAnimator\").setToField(\"set_fraction\"))\n .addChild(new ROUTEObject().setFromNode(\"BoxPathAnimator\").setFromField(\"value_changed\").setToNode(\"LogoGeometryTransform\").setToField(\"set_translation\"))\n .addChild(new TransformObject(\"TextTransform\").setTranslation(0.0f,-1.5f,0.0f)\n .addChild(new ShapeObject()\n .setAppearance(new AppearanceObject()\n .setMaterial(new MaterialObject().setUSE(\"GreenMaterial\")))\n .setGeometry(new TextObject().setString(new MFStringObject(\"\\\"X3D Java\\\" \\\"SAI Library\\\" \\\"X3DJSAIL\\\"\"))\n .setMetadata(new MetadataSetObject().setName(\"EscapedQuotationMarksMetadataSet\")\n .addValue(new MetadataStringObject().setName(\"escapedQuotesTest1\").setValue(new MFStringObject(\"\\\"escaped quotation marks example 1: He said, \\\\\\\"Immel did it!\\\\\\\"\\\"\")))\n .addValue(new MetadataStringObject().setName(\"escapedQuotesTest2\").setValue(new MFStringObject(\"\\\"escaped quotation marks example 2: He said, "Immel did it!"\\\"\"))))\n .setFontStyle(new FontStyleObject().setJustify(new MFStringObject(\"\\\"MIDDLE\\\" \\\"MIDDLE\\\"\")))\n .addComments(\" escaped quotation marks example 3: He said, \\\"Immel did it!\\\" \")\n .addComments(\" escaped quotation marks example 4: He said, "Immel did it!" \")))\n .addChild(new CollisionObject()\n .addComments(\" test containerField='proxy' \")\n .setProxy(new ShapeObject(\"ProxyShape\")\n .setGeometry(new TextObject().setString(new MFStringObject(\"\\\"One, Two, Three\\\" \\\"\\\" \\\"He said, \\\\\\\"Immel did it!\\\\\\\"\\\"\")))\n .addComments(\" alternative XML encoding: Text string='\\\"One, Two, Three\\\" \\\"\\\" \\\"He said, \\\\"Immel did it!\\\\"\\\"' \")\n .addComments(\" alternative Java source: .setString(new String [] {\\\"One, Two, Three\\\", \\\"\\\", \\\"He said, \\\\\\\"Immel did it!\\\\\\\"\\\"}) \")\n .addComments(\" reference: http://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/StringArrayEncodingExamplesIndex.html \")))\n .addComments(\" It's a beautiful world \")\n .addComments(\" ... for you! \")\n .addComments(\" https://en.wikipedia.org/wiki/Beautiful_World_(Devo_song) \"))\n .addComments(\" repeatedly spin 180 degrees as a readable special effect \")\n .addChild(new OrientationInterpolatorObject(\"SpinInterpolator\").setKey(new float[] {0.0f,0.5f,1.0f}).setKeyValue(new MFRotationObject(new float[] {0.0f,1.0f,0.0f,4.712389f,0.0f,1.0f,0.0f,0.0f,0.0f,1.0f,0.0f,1.5707964f})))\n .addChild(new TimeSensorObject(\"SpinClock\").setCycleInterval(5.0).setLoop(true))\n .addChild(new ROUTEObject().setFromNode(\"SpinClock\").setFromField(\"fraction_changed\").setToNode(\"SpinInterpolator\").setToField(\"set_fraction\"))\n .addChild(new ROUTEObject().setFromNode(\"SpinInterpolator\").setFromField(\"value_changed\").setToNode(\"TextTransform\").setToField(\"rotation\"))\n .addChild(new GroupObject(\"BackgroundGroup\")\n .addChild(new BackgroundObject(\"GradualBackground\"))\n .addChild(new ScriptObject(\"colorTypeConversionScript\").setSourceCode(\n\"<![CDATA[\" + \"\\n\" +\n\"\\n\" + \n\"\\n\" + \n\"ecmascript:\" + \"\\n\" + \n\"\\n\" + \n\"function colorInput (eventValue) // Example source code\" + \"\\n\" + \n\"{\" + \"\\n\" + \n\" colorsOutput = new MFColor(eventValue); // assigning value sends output event\" + \"\\n\" + \n\"// Browser.print('colorInput=' + eventValue + ', colorsOutput=' + colorsOutput + '\\\\n');\" + \"\\n\" + \n\"}\" + \"\\n\" + \"]]>\"\n)\n .addField(new fieldObject().setAccessType(\"inputOnly\").setName(\"colorInput\").setType(\"SFColor\"))\n .addField(new fieldObject().setAccessType(\"outputOnly\").setName(\"colorsOutput\").setType(\"MFColor\")))\n .addChild(new ColorInterpolatorObject(\"ColorAnimator\").setKey(new float[] {0.0f,0.5f,1.0f}).setKeyValue(new MFColorObject(new float[] {0.9411765f,1.0f,1.0f,0.29411766f,0.0f,0.50980395f,0.9411765f,1.0f,1.0f}))\n .addComments(\" AZURE to INDIGO and back again \"))\n .addChild(new TimeSensorObject(\"ColorClock\").setCycleInterval(60.0).setLoop(true))\n .addChild(new ROUTEObject().setFromNode(\"colorTypeConversionScript\").setFromField(\"colorsOutput\").setToNode(\"GradualBackground\").setToField(\"skyColor\"))\n .addChild(new ROUTEObject().setFromNode(\"ColorAnimator\").setFromField(\"value_changed\").setToNode(\"colorTypeConversionScript\").setToField(\"colorInput\"))\n .addChild(new ROUTEObject().setFromNode(\"ColorClock\").setFromField(\"fraction_changed\").setToNode(\"ColorAnimator\").setToField(\"set_fraction\")))\n .addChild(new ProtoDeclareObject().setName(\"ArtDeco01Material\").setAppinfo(\"tooltip: ArtDeco01 prototype is a Material node\")\n .setProtoInterface(new ProtoInterfaceObject()\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"description\").setType(\"SFString\").setValue(\"ArtDeco01 prototype is a Material node\").setAppinfo(\"tooltip for descriptionField\"))\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"enabled\").setType(\"SFBool\").setValue(\"true\")))\n .setProtoBody(new ProtoBodyObject()\n .addComments(\" Initial node of ProtoBody determines prototype node type \")\n .addChild(new MaterialObject().setShininess(0.127273f).setAmbientIntensity(0.25f).setSpecularColor(0.276305f,0.11431f,0.139857f).setDiffuseColor(0.282435f,0.085159f,0.134462f))\n .addComments(\" [HelloWorldProgram diagnostic] should be connected to scene graph: ArtDeco01ProtoDeclare.getNodeType()=\\\"Material\\\" \")\n .addComments(\" presence of follow-on TouchSensor shows that additional nodes are allowed in ProtoBody after initial node, regardless of node types \")\n .addChild(new TouchSensorObject().setDescription(\"within ProtoBody\")\n .setIS(new ISObject()\n .addConnect(new connectObject().setNodeField(\"description\").setProtoField(\"description\"))\n .addConnect(new connectObject().setNodeField(\"enabled\").setProtoField(\"enabled\"))))))\n .addChild(new ExternProtoDeclareObject().setName(\"ArtDeco02Material\").setAppinfo(\"this is a different Material node\").setUrl(new MFStringObject(\"\\\"http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3d#ArtDeco02\\\" \\\"http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3dv#ArtDeco02\\\"\"))\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"description\").setType(\"SFString\").setAppinfo(\"tooltip for descriptionField\"))\n .addComments(\" [HelloWorldProgram diagnostic] ArtDeco02ExternProtoDeclare.getNodeType()=\\\"ERROR_UNKNOWN_EXTERNPROTODECLARE_NODE_TYPE: ExternProtoDeclare name='ArtDeco02Material' type cannot be remotely accessed at run time, TODO X3DJSAIL needs to add further capability.\\\" \"))\n .addComments(\" Tested ArtDeco01ProtoInstance, ArtDeco02ProtoInstance for improper node type when ProtoInstance is added in wrong place \")\n .addChild(new ShapeObject(\"TestShape1\")\n .setAppearance(new AppearanceObject(\"TestAppearance1\")\n .setMaterial(new ProtoInstanceObject().setName(\"ArtDeco01\")\n .addFieldValue(new fieldValueObject().setName(\"description\").setValue(\"ArtDeco01 can substitute for a Material node\"))\n .addComments(\" [HelloWorldProgram diagnostic] ArtDeco01ProtoInstance.getNodeType()=\\\"ERROR_UNKNOWN_PROTOINSTANCE_NODE_TYPE: ProtoInstance name='ArtDeco01' has no corresponding ProtoDeclareObject or ExternProtoDeclareObject to provide type.\\\" \"))\n .addComments(\" ArtDeco01 Material prototype goes here... \"))\n .setGeometry(new SphereObject().setRadius(0.001f)))\n .addChild(new ShapeObject(\"TestShape2\")\n .setAppearance(new AppearanceObject(\"TestAppearance2\")\n .setMaterial(new ProtoInstanceObject().setName(\"ArtDeco02\")\n .addFieldValue(new fieldValueObject().setName(\"description\").setValue(\"ArtDeco02 can substitute for another Material node\"))\n .addComments(\" [HelloWorldProgram diagnostic] ArtDeco02ProtoInstance.getNodeType()=\\\"ERROR_UNKNOWN_PROTOINSTANCE_NODE_TYPE: ProtoInstance name='ArtDeco02' has no corresponding ProtoDeclareObject or ExternProtoDeclareObject to provide type.\\\" \"))\n .addComments(\" ArtDeco02 Material prototype goes here... \"))\n .setGeometry(new ConeObject().setBottomRadius(0.001f).setHeight(0.001f)))\n .addChild(new InlineObject(\"inlineSceneDef\").setUrl(new MFStringObject(\"\\\"someOtherScene.x3d\\\"\")))\n .addChild(new IMPORTObject().setImportedDEF(\"WorldInfoDEF\").setInlineDEF(\"inlineSceneDef\").setAS(\"WorldInfoDEF2\"))\n .addChild(new EXPORTObject().setLocalDEF(\"WorldInfoDEF\").setAS(\"WorldInfoDEF3\"))\n .addChild(new ProtoDeclareObject().setName(\"MaterialModulator\").setAppinfo(\"mimic a Material node and modulate fields as an animation effect\").setDocumentation(\"http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/MaterialModulatorIndex.html\")\n .setProtoInterface(new ProtoInterfaceObject()\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"enabled\").setType(\"SFBool\").setValue(\"true\"))\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"diffuseColor\").setType(\"SFColor\").setValue(\"0 0 0\"))\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"emissiveColor\").setType(\"SFColor\").setValue(\"0.05 0.05 0.5\"))\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"specularColor\").setType(\"SFColor\").setValue(\"0 0 0\"))\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"transparency\").setType(\"SFFloat\").setValue(\"0.0\"))\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"shininess\").setType(\"SFFloat\").setValue(\"0.0\"))\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"ambientIntensity\").setType(\"SFFloat\").setValue(\"0.0\")))\n .setProtoBody(new ProtoBodyObject()\n .addChild(new MaterialObject(\"MaterialNode\")\n .setIS(new ISObject()\n .addConnect(new connectObject().setNodeField(\"diffuseColor\").setProtoField(\"diffuseColor\"))\n .addConnect(new connectObject().setNodeField(\"emissiveColor\").setProtoField(\"emissiveColor\"))\n .addConnect(new connectObject().setNodeField(\"specularColor\").setProtoField(\"specularColor\"))\n .addConnect(new connectObject().setNodeField(\"transparency\").setProtoField(\"transparency\"))\n .addConnect(new connectObject().setNodeField(\"shininess\").setProtoField(\"shininess\"))\n .addConnect(new connectObject().setNodeField(\"ambientIntensity\").setProtoField(\"ambientIntensity\"))))\n .addComments(\" Only first node (the node type) is renderable, others are along for the ride \")\n .addChild(new ScriptObject(\"MaterialModulatorScript\").setSourceCode(\n\"<![CDATA[\" + \"\\n\" +\n\"\\n\" + \n\"\\n\" + \n\"ecmascript:\" + \"\\n\" + \n\"function initialize ()\" + \"\\n\" + \n\"{\" + \"\\n\" + \n\" newColor = diffuseColor; // start with correct color\" + \"\\n\" + \n\"}\" + \"\\n\" + \n\"function set_enabled (newValue)\" + \"\\n\" + \n\"{\" + \"\\n\" + \n\"\tenabled = newValue;\" + \"\\n\" + \n\"}\" + \"\\n\" + \n\"function clockTrigger (timeValue)\" + \"\\n\" + \n\"{\" + \"\\n\" + \n\" if (!enabled) return;\" + \"\\n\" + \n\" red = newColor.r;\" + \"\\n\" + \n\" green = newColor.g;\" + \"\\n\" + \n\" blue = newColor.b;\" + \"\\n\" + \n\" \" + \"\\n\" + \n\" // note different modulation rates for each color component, % is modulus operator\" + \"\\n\" + \n\" newColor = new SFColor ((red + 0.02) % 1, (green + 0.03) % 1, (blue + 0.04) % 1);\" + \"\\n\" + \n\"\tif (enabled)\" + \"\\n\" + \n\"\t{\" + \"\\n\" + \n\"\t\tBrowser.print ('diffuseColor=(' + red + ',' + green + ',' + blue + ') newColor=' + newColor.toString() + '\\\\n');\" + \"\\n\" + \n\"\t}\" + \"\\n\" + \n\"}\" + \"\\n\" + \"]]>\"\n)\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"enabled\").setType(\"SFBool\"))\n .addField(new fieldObject().setAccessType(\"inputOutput\").setName(\"diffuseColor\").setType(\"SFColor\"))\n .addField(new fieldObject().setAccessType(\"outputOnly\").setName(\"newColor\").setType(\"SFColor\"))\n .addField(new fieldObject().setAccessType(\"inputOnly\").setName(\"clockTrigger\").setType(\"SFTime\"))\n .setIS(new ISObject()\n .addConnect(new connectObject().setNodeField(\"enabled\").setProtoField(\"enabled\"))\n .addConnect(new connectObject().setNodeField(\"diffuseColor\").setProtoField(\"diffuseColor\"))))))\n .addComments(\" Test success: declarative statement createDeclarativeShapeTests() \")\n .addChild(new GroupObject(\"DeclarativeGroupExample\")\n .addChild(new ShapeObject()\n .setMetadata(new MetadataStringObject(\"FindableMetadataStringTest\").setName(\"findThisNameValue\").setValue(new MFStringObject(\"\\\"test case\\\"\")))\n .setAppearance(new AppearanceObject(\"DeclarativeAppearanceExample\")\n .setMaterial(new ProtoInstanceObject(\"MyMaterialModulator\", \"MaterialModulator\").setDEF(\"MyMaterialModulator\").setName(\"MaterialModulator\"))\n .addComments(\" DeclarativeMaterialExample gets overridden by subsequently added MaterialModulator ProtoInstance \"))\n .setGeometry(new ConeObject().setBottomRadius(0.05f).setHeight(0.1f).setBottom(false)))\n .addComments(\" Test success: declarativeGroup.addChild() singleton pipeline method \"))\n .addComments(\" Test success: declarative statement addChild() \")\n .addComments(new String[] {\" Test success: x3dModel.findNodeByDEF(DeclarativeAppearanceExample) = <Appearance DEF='DeclarativeAppearanceExample'/> i.e.\",\n\"<Appearance DEF='DeclarativeAppearanceExample'>\",\n\" <ProtoInstance DEF='MyMaterialModulator' name='MaterialModulator' containerField='material'/>\",\n\" <!- - DeclarativeMaterialExample gets overridden by subsequently added MaterialModulator ProtoInstance - ->\",\n\"</Appearance> \"})\n .addComments(\" Test success: x3dModel.findElementByNameValue(findThisNameValue) = <MetadataString DEF='FindableMetadataStringTest' name='findThisNameValue' value='\\\"test case\\\"'/> \")\n .addComments(\" Test success: x3dModel.findElementByNameValue(\\\"ArtDeco01Material\\\", \\\"ProtoDeclare\\\") found \")\n .addComments(\" Test success: x3dModel.findElementByNameValue(\\\"MaterialModulator\\\", \\\"ProtoDeclare\\\") found \")\n .addComments(\" Test success: x3dModel.findElementByNameValue(\\\"MaterialModulator\\\", \\\"ProtoInstance\\\") found \")\n .addChild(new GroupObject(\"TestFieldObjectsGroup\")\n .addComments(\" testFieldObjects() results \")\n .addComments(\" SFBool default=true, true=true, false=false, negate()=true \")\n .addComments(\" MFBool default=, initial=true false true, negate()=false true false \")\n .addComments(\" SFFloat default=0.0, initial=1.0, setValue(2)=2.0, setValue(3.0f)=3.0, setValue(4.0)=4.0 \")\n .addComments(\" MFFloat default=, initial=1 2 3, append(5)=1 2 3 5, inserts(3,4)(0,0)=0 1 2 3 4 5, append(6)=0 1 2 3 4 5 6, size()=7 \")\n .addComments(\" ... get1Value[3]=3.0, remove[1]=0 2 3 4 5 6, set1Value(0,10)=10 2 3 4 5 6, multiply(2)=20 4 6 8 10 12, clear= \")\n .addComments(\" SFVec3f default=0 0 0, initial=1 2 3, setValue=4 5 6, multiply(2)=8 10 12, normalize()=0.45584232 0.5698029 0.68376344 \"))\n .addChild(new SoundObject()\n .setSource(new AudioClipObject().setUrl(new MFStringObject(\"\\\"chimes.wav\\\" \\\"http://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/AudioClip/chimes.wav\\\"\")))\n .addComments(\" Scene example fragment from http://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/AudioClip/default.x3d \"))\n .addChild(new SoundObject()\n .setSource(new MovieTextureObject().setUrl(new MFStringObject(\"\\\"mpgsys.mpg\\\" \\\"http://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/MovieTexture/mpgsys.mpg\\\"\")))\n .addComments(\" Scene example fragment from http://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/MovieTexture/mpeg1-systems.x3d \")\n .addComments(\" Expected containerField='source', allowed containerField values=\\\"texture\\\" \\\"source\\\" \\\"back\\\" \\\"bottom\\\" \\\"front\\\" \\\"left\\\" \\\"right\\\" \\\"top\\\" \\\"backTexture\\\" \\\"bottomTexture\\\" \\\"frontTexture\\\" \\\"leftTexture\\\" \\\"rightTexture\\\" \\\"topTexture\\\" \")));\n }",
"public String getX3D(boolean snipet) {\r\n\t\t\r\n\t\t// Assemble the Arm\r\n\t\tString header = \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n\" +\r\n\t\t\"<!DOCTYPE X3D PUBLIC \\\"ISO//Web3D//DTD X3D 3.0//EN\\\" \\\"http://www.web3d.org/specifications/x3d-3.0.dtd\\\">\\n \" +\r\n\t\t\"<X3D profile='Immersive' >\\n\" +\r\n\t\t\"<head>\\n\" +\r\n\t\t \"<meta name='BioMightImage' content='Arm.jpg'/>\\n\" +\r\n\t\t \"<meta name='ExportTime' content='7:45:30'/>\\n\" +\r\n\t\t \"<meta name='ExportDate' content='08/15/2008'/>\\n\" +\r\n\t\t \"<meta name='BioMight Version' content='1.0'/>\\n\" + \r\n\t\t\"</head>\\n\" +\r\n\t\t\"<Scene>\\n\" +\r\n\t\t\"<WorldInfo\\n\" +\r\n\t\t\"title='Arm'\\n\" +\r\n\t\t\"info='\\\"BioMight Generated X3D\\\"'/>\\n\";\t\t\r\n\t\t\r\n\t\tString body = \r\n\t\t\tepithelium.getX3D(true) + \r\n\t\t\thumerus.getX3D(true) + \r\n\t\t\tbrachialArtery.getX3D(true) +\r\n\t\t\tdeepBrachialArtery.getX3D(true) +\r\n\t\t\tanteriorCircumflexHumeralArtery.getX3D(true) +\r\n\t\t\tposteriorCircumflexHumeralArtery.getX3D(true) +\r\n\t\t\tsuperiorUlnarCollateralArtery.getX3D(true) +\r\n\t\t\tinferiorUlnarCollateralArtery.getX3D(true) +\r\n\t\t\tmiddleCollateralArtery.getX3D(true) +\r\n\t\t\tradialCollateralArtery.getX3D(true) +\r\n\t\t\tbrachialVein.getX3D(true) +\r\n\t\t\tbasilicVein.getX3D(true) +\r\n\t\t\tcephalicVein.getX3D(true) +\r\n\t\t\tbrachialisMuscle.getX3D(true) +\r\n\t\t\tbicepsBrachiiMuscle.getX3D(true) + \r\n\t\t\ttricepsBrachiiMuscle.getX3D(true) +\r\n\t\t\tbrachioradialisMuscle.getX3D(true) +\r\n\t\t\textensorCarpiRadialisBrevisMuscle.getX3D(true) +\r\n\t\t\textensorCarpiRadialisLongusMuscle.getX3D(true) +\r\n\t\t\textensorCarpiUlnarisMuscle.getX3D(true) +\r\n\t\t\tpalmarisLongusMuscle.getX3D(true) ;\r\n\t\t\t/***\r\n\t\t\textensorDigitiMinimiMuscle.getX3D(true) +\r\n\t\t\textensorDigitorumMuscle.getX3D(true) +\r\n\t\t\textensorPollicisLongusMuscle.getX3D(true) +\r\n\t\t\tflexorDigitorumProfundusMuscle.getX3D(true) +\r\n\t\t\tflexorDigitorumSuperficialisMuscle.getX3D(true) +\r\n\t\t\tflexorPollicisLongusMuscle.getX3D(true) +\r\n\t\t\tflexorPollicisBrevisMuscle.getX3D(true)+\r\n\t\t\tannularLigament.getX3D(true) ; \r\n\t\t\t****/\r\n\t\r\n\t\t//System.out.println(\"Arm X3D: \" + body);\t\t\r\n\t\r\n\t\tString footer = \"</Scene>\" + \"</X3D>\\n\";\r\n\t\t\r\n\t\tif (snipet)\r\n\t\t\treturn body;\t\t\t\r\n\t\telse\t\r\n\t\t\treturn header + body + footer;\r\n\t}",
"public int get3dXtiles(int framenum)\n\t\t{ return dims[(framenum >> 5)&1]; }",
"synchronized public VectorString3D asVectorString3D() {\n \t\t// local pointers, since they may be transformed\n \t\tint n_points = this.n_points;\n \t\tdouble[][] p = this.p;\n \t\tif (!this.at.isIdentity()) {\n \t\t\tfinal Object[] ob = getTransformedData();\n \t\t\tp = (double[][])ob[0];\n \t\t\tn_points = p[0].length;\n \t\t}\n \t\tdouble[] z_values = new double[n_points];\n \t\tfor (int i=0; i<n_points; i++) {\n \t\t\tz_values[i] = layer_set.getLayer(p_layer[i]).getZ();\n \t\t}\n \n \t\tfinal double[] px = p[0];\n \t\tfinal double[] py = p[1];\n \t\tfinal double[] pz = z_values;\n \t\tVectorString3D vs = null;\n \t\ttry {\n \t\t\tvs = new VectorString3D(px, py, pz, false);\n \t\t} catch (Exception e) { IJError.print(e); }\n \t\treturn vs;\n \t}",
"public boolean is3D() {\n return _is3D;\n }",
"@Override\n\tpublic EuclidianView3D getEuclidianView3D() {\n\t\tif (this.euclidianView3D == null) {\n\t\t\tinitEuclidianController3D();\n\t\t\tif (euclidianController3D.hasInput3D()) {\n\t\t\t\teuclidianView3D = new EuclidianViewInput3D(\n\t\t\t\t\t\teuclidianController3D, getSettings().getEuclidian(3));\n\t\t\t} else {\n\t\t\t\teuclidianView3D = new EuclidianView3DD(euclidianController3D,\n\t\t\t\t\t\tgetSettings().getEuclidian(3));\n\t\t\t}\n\t\t}\n\t\treturn euclidianView3D;\n\t}",
"public Point3D getD() {\r\n return d;\r\n }",
"public void Compute3d(long With3d) {\n OCCwrapJavaJNI.BRepAlgo_NormalProjection_Compute3d__SWIG_0(swigCPtr, this, With3d);\n }",
"public int getDimX ()\n {\n return m_dim_x;\n }",
"public double getX3AddSolution() {\n this.polyAddSolve();\n return this.x3add;\n }",
"public double getX3SubSolution() {\n this.polySubSolve();\n return this.x3sub;\n }",
"public int getDimX() {\r\n return dimX;\r\n }",
"public godot.wire.Wire.Vector3.Builder getXBuilder() {\n \n onChanged();\n return getXFieldBuilder().getBuilder();\n }",
"public double GetX(){\n return this._X;\n }",
"public double[][][] getProjected3DObject(double xTheta, double yTheta, double zTheta, double zoom) {\n \tdouble[][][] projected3DObject = new double[triangles.size()][3][2];\n \tfor (int i = 0; i < triangles.size(); i++){\n\t projected3DObject[i] = triangles.get(i).getProjectedTriangle(xTheta, yTheta, zTheta, zoom, getMax(), getMin());\n \t}\n \treturn projected3DObject;\n }",
"public String getX3SubRealStr() {\n this.polySubSolve();\n return this.x3realsub;\n }",
"public java.lang.Number getComponent3AsNumber() {\n\t\treturn SwiftFormatUtils.getNumber(getComponent(3));\n\t}",
"public float getX() {\n return internalGroup.getX();\n }",
"public double getXCoordinates() { return xCoordinates; }",
"public org.pdfclown.documents.contents.xObjects.XObject getXObject(\n )\n {return xObject;}",
"public Object getCurrentCellX() {\n\t\treturn x;\n\t}",
"@Basic\n\tpublic double getXCoordinate() {\n\t\treturn this.x;\n\t}",
"public int getXD1 ()\n\t{\n\t\treturn xDimension1;\n\t}",
"public XDimension Xdimension() throws java.io.IOException {\n return new XDimension(u16(),u16());\n }",
"public Point3D getC() {\r\n return c;\r\n }",
"com.google.protobuf.ByteString\n getXBytes();",
"int getDimX(){\n\t\treturn dimx;\n\t}",
"@Basic\n\tpublic double getX() {\n\t\treturn this.x;\n\t}",
"@java.lang.Override\n public godot.wire.Wire.Vector2 getX() {\n return x_ == null ? godot.wire.Wire.Vector2.getDefaultInstance() : x_;\n }",
"protected Number getX() {\n return this.xCoordinate;\n }",
"public float getX() { return xCoordinate;}",
"public Vector3D(double x, double y, double z) {\n this.xCoord = x;\n this.yCoord = y;\n this.zCoord = z;\n }",
"@java.lang.Override\n public float getX() {\n return x_;\n }",
"public AbstractCube7Idx3D() {\n super(7, 8, 5 * 12, 5 * 5 * 6, 1);\n init();\n }",
"@java.lang.Override\n public float getX() {\n return x_;\n }",
"@java.lang.Override\n public float getX() {\n return x_;\n }",
"@java.lang.Override\n public float getX() {\n return x_;\n }",
"@java.lang.Override\n public float getX() {\n return x_;\n }",
"public float[][] getDxGrid() {\n if ((dxgrid == null) || (dxgrid.length == 0)) {\n ParameterValueGroup WarpParams = globalValues.WarpGridParameters;\n final int xNumCells = WarpParams.parameter(\"xNumCells\").intValue();\n final int yNumCells = WarpParams.parameter(\"yNumCells\").intValue();\n final int xStep = WarpParams.parameter(\"xStep\").intValue();\n final int yStep = WarpParams.parameter(\"yStep\").intValue();\n\n final float[] warpPositions = getGrid();\n dxgrid = new float[yNumCells + 1][xNumCells + 1];\n\n for (int i = 0; i <= WarpParams.parameter(\"yNumCells\").intValue(); i++) {\n for (int j = 0; j <= WarpParams.parameter(\"xNumCells\").intValue(); j++) {\n dxgrid[i][j] = (float) warpPositions[(int) ((i * (1 + xNumCells) * 2) + (2 * j))]\n - (j * xStep);\n }\n }\n }\n\n return dxgrid;\n }",
"public Vertex3D(double x, double y, double z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"@Override\n\tpublic boolean is3D() {\n\t\treturn true;\n\t}",
"public org.astrogrid.stc.coords.v1_10.beans.Double3Type[] xgetPointArray()\n {\n synchronized (monitor())\n {\n check_orphaned();\n java.util.List targetList = new java.util.ArrayList();\n get_store().find_all_element_users(POINT$0, targetList);\n org.astrogrid.stc.coords.v1_10.beans.Double3Type[] result = new org.astrogrid.stc.coords.v1_10.beans.Double3Type[targetList.size()];\n targetList.toArray(result);\n return result;\n }\n }",
"com.google.protobuf.ByteString\n getC3Bytes();",
"@Override\n\tpublic Column getChunk(int cubeX, int cubeZ) {\n\t\tColumn column = this.loadedColumns.get(AddressTools.getAddress(cubeX, cubeZ));\n\t\tif (column != null) {\n\t\t\treturn column;\n\t\t}\n\t\t\n\t\treturn this.blankColumn;\n\t}",
"public double getxCoordinate() {\n return xCoordinate;\n }",
"@java.lang.Override\n public float getX() {\n return x_;\n }",
"@java.lang.Override\n public float getX() {\n return x_;\n }",
"@java.lang.Override\n public float getX() {\n return x_;\n }",
"public double[][] getPixelCoordinates(){\n return m_pdX;\n }",
"public static Point3DBasics newXZOnlyPoint3DBasics()\n {\n return new Point3DBasics()\n {\n private double x, z;\n\n @Override\n public double getX()\n {\n return x;\n }\n\n @Override\n public double getY()\n {\n return 0.0;\n }\n\n @Override\n public double getZ()\n {\n return z;\n }\n\n @Override\n public void setX(double x)\n {\n this.x = x;\n }\n\n @Override\n public void setY(double y)\n {\n }\n\n @Override\n public void setZ(double z)\n {\n this.z = z;\n }\n\n @Override\n public String toString()\n {\n return EuclidCoreIOTools.getTuple3DString(this);\n }\n };\n }",
"Point3D (double x, double y, double z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public int getGridX() {\r\n\t\treturn gridX;\r\n\t}",
"public float getX() {\n return x_;\n }",
"public Vector3D(float x, float y, float z)\r\n\t{\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t\tthis.z = z;\r\n\t}",
"public Vector3D(double x, double y, double z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public Float getX() {\n return _x;\n }",
"public final double getX() {\n return x;\n }",
"@Override\n\tpublic float getX() \n\t{\n\t\treturn _x;\n\t}",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public com.google.protobuf.ByteString\n getXBytes() {\n java.lang.Object ref = x_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n x_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public float getX() {\n return this.x;\n }",
"@Override\n\tpublic Column loadChunk(int cubeX, int cubeZ) {\n\t\treturn getChunk(cubeX, cubeZ);\n\t}",
"public double getX() {\n\t\t//throw new UnsupportedOperationException(\"TODO - implement\");\n\t\treturn pX;\n\t}",
"public Point3d get3DCenter() {\n double xOfCenter = 0;\n double yOfCenter = 0;\n double zOfCenter = 0;\n for (IAtom atom : atoms) {\n xOfCenter += atom.getPoint3d().x;\n yOfCenter += atom.getPoint3d().y;\n zOfCenter += atom.getPoint3d().z;\n }\n\n return new Point3d(xOfCenter / getAtomCount(),\n yOfCenter / getAtomCount(),\n zOfCenter / getAtomCount());\n }",
"public final double getX() {\n return x;\n }",
"public float getX() {\n return x_;\n }",
"@Override\n\tpublic float getX() {\n\t\treturn currnet().getX();\n\t}",
"@Override\n\tpublic float getX() {\n\t\treturn this.x;\n\t}",
"public com.google.protobuf.ByteString\n getXBytes() {\n java.lang.Object ref = x_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n x_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public double getX() {\r\n\t\t//throw new UnsupportedOperationException(\"TODO - implement\");\r\n\t\treturn pX;\r\n\t}",
"public double getX() {\n\t\t\t\treturn x;\n\t\t\t}",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public double getX() {\n return x_;\n }",
"public Point3D normalize() {\n\t\treturn this.divide(Math.sqrt(x*x + y*y + z*z));\n\t}",
"public double getXCoordinate() {\n return xCoordinate;\n }"
] |
[
"0.70887077",
"0.64578456",
"0.5954983",
"0.5939825",
"0.56911004",
"0.56317955",
"0.5542174",
"0.55346525",
"0.53795326",
"0.52833986",
"0.52527094",
"0.51508886",
"0.51473093",
"0.51126564",
"0.51080495",
"0.5105034",
"0.5100475",
"0.50886375",
"0.5053627",
"0.50323087",
"0.50180477",
"0.5016945",
"0.4992196",
"0.49893785",
"0.49792945",
"0.49675378",
"0.4963126",
"0.4948359",
"0.49358898",
"0.49212533",
"0.49090853",
"0.49080718",
"0.49022505",
"0.48709387",
"0.4865928",
"0.48293638",
"0.4819626",
"0.48049718",
"0.48047334",
"0.47980404",
"0.47864592",
"0.47790492",
"0.47683895",
"0.47678342",
"0.47619346",
"0.47411713",
"0.47391018",
"0.47391018",
"0.47391018",
"0.47391018",
"0.47280508",
"0.47272366",
"0.47177908",
"0.47155094",
"0.4707675",
"0.47034687",
"0.47017068",
"0.46981907",
"0.46981907",
"0.46981907",
"0.4694157",
"0.46799594",
"0.46731895",
"0.46730602",
"0.4672653",
"0.4671203",
"0.4668911",
"0.46666437",
"0.46548873",
"0.46429914",
"0.46422252",
"0.46422252",
"0.46422252",
"0.46422252",
"0.46422252",
"0.46422252",
"0.46422252",
"0.46422252",
"0.46400404",
"0.46372837",
"0.46340403",
"0.4633668",
"0.46331486",
"0.46324277",
"0.46285525",
"0.46241954",
"0.46238297",
"0.46229517",
"0.46213683",
"0.46201098",
"0.46200207",
"0.46189415",
"0.46189415",
"0.46189415",
"0.46189415",
"0.46189415",
"0.46189415",
"0.46189415",
"0.46166408",
"0.4614431"
] |
0.5911613
|
4
|
SETUP DEFAULT BOUNDBOXES Setup the Default Bounding Boxes for the Feet. The routine will return a set of bound boxes
|
private BioMightBoundBoxes setupDefaultBoundBoxes()
{
// Set up the collection to hold the Bounding Boxes
BioMightBoundBoxes bioBoundBoxes = null;
// Initialize the position of the bounding box vars
BigDecimal xPos = new BigDecimal(0.0);
BigDecimal yPos = new BigDecimal(0.0);
BigDecimal zPos= new BigDecimal(0.0);
// Set to base 1x1x1 cube
BigDecimal xVector= new BigDecimal(1.0);
BigDecimal yVector= new BigDecimal(1.0);
BigDecimal zVector= new BigDecimal(1.0);
// Initialize a BoundBox
BioMightBoundBox bioBoundBox = null;
// Initialize Connectors
BioMightConnectors bioMightConnectors = null;
// Initialize a Connector
BioMightConnector bioMightConnector= null;
double circumference = 0.0;
double[] startPos = {0.0, 0.0, 0.0};
double[][] startPoints = null;
//*********************************************************************
// LEFT FOOT BOUNDBOX
// Set up the Bounding Box for the Feet
// The connector for this will come from the incoming Bound Box
// Both are defined like and bolt and they lock into position at the
// interestion of both connectors
//**********************************************************************
xPos = new BigDecimal(0.0);
yPos = new BigDecimal(-65.0);
zPos= new BigDecimal(3.0);
xVector= new BigDecimal(1.0);
yVector= new BigDecimal(4.0);
zVector= new BigDecimal(1.0);
bioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);
bioMightConnectors = new BioMightConnectors();
// Feet Epithelium Connector
circumference = 0.3;
startPos = getStartPoints(-2.0, -65.0, -1.0);
startPoints = BioGraphics.octogonYPlane(startPos, circumference);
bioMightConnector = new BioMightConnector(startPoints, Constants.FootEpitheliumRef,"connType");
bioMightConnectors.setBioMightConnector(Constants.FootEpitheliumRef, bioMightConnector);
// Associate the connector on the Box
bioBoundBox.setBioMightConnectors(bioMightConnectors);
// Put the Bounding Box in the collection
bioBoundBoxes.setBoundingBox(Constants.LeftFootRef, bioBoundBox);
//********************************************************************* er
// RIGHT CNEMES BOUNDBOX
// Set up the Bounding Box for the Foot
// On a porportioned human, the
//**********************************************************************
xPos = new BigDecimal(0.0);
yPos = new BigDecimal(-14.0);
zPos= new BigDecimal(-3.0);
xVector= new BigDecimal(1.0);
yVector= new BigDecimal(4.0);
zVector= new BigDecimal(1.0);
bioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);
bioMightConnectors = new BioMightConnectors();
// Foot Epithelium Connector
circumference = 0.3;
startPos = getStartPoints(2.0, -65.0, -1.0);
startPoints = BioGraphics.octogonYPlane(startPos, circumference);
bioMightConnector = new BioMightConnector(startPoints, Constants.FootEpitheliumRef,"connType");
bioMightConnectors.setBioMightConnector(Constants.FootEpitheliumRef, bioMightConnector);
// Associate the connector on the Box
bioBoundBox.setBioMightConnectors(bioMightConnectors);
// Put the Bounding Box in the collection
bioBoundBoxes.setBoundingBox(Constants.RightFootRef, bioBoundBox);
// return the collection that holds both foot bound boxes
return (bioBoundBoxes);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private HashMap setupBoundBoxes(BioMightBoundBoxes bioMightBoundBoxesIn) \r\n\t{\r\n\t\t// Set up the bounding boxes for the various components\r\n\t\t// The various components locations will be driven by the\r\n\t\t// bounding boxes\r\n\t\tHashMap boundingBoxesMap = new HashMap();\r\n\t\r\n\t\t// Initialize the position of the bounding box vars\r\n\t\tBigDecimal xPos = new BigDecimal(0.0);\r\n\t\tBigDecimal yPos = new BigDecimal(0.0);\r\n\t\tBigDecimal zPos= new BigDecimal(0.0);\r\n\t\t\r\n\t\t// Set to base 1x1x1 cube\r\n\t\tBigDecimal xVector= new BigDecimal(1.0);\r\n\t\tBigDecimal yVector= new BigDecimal(1.0); \r\n\t\tBigDecimal zVector= new BigDecimal(1.0);\r\n\t\r\n\t\t// Initialize the BoundBoxes. These will have a bound\r\n\t\t// box for each foot by default\r\n\t\tBioMightBoundBoxes bioBoundBoxes = null;\r\n\t\r\n\t\t// Initialize the BoundBox\r\n\t\tBioMightBoundBox bioBoundBox = null;\r\n\t\r\n\t\t// Initialize the Connectors \r\n\t\tBioMightConnectors bioMightConnectors = null; \r\n\r\n\t\t// Initialize the Connector \r\n\t\tBioMightConnector bioMightConnector= null;\r\n\t\r\n\t\tdouble circumference = 0.0;\r\n\t\tdouble[] startPos = {0.0, 0.0, 0.0};\r\n\t\tdouble[][] startPoints = null;\r\n\t\tdouble[] endPos = {0.0, 0.0, 0.0};\r\n\t\tdouble[][] endPoints = null;\r\n\t\r\n\t\t// Use the information in the incoming Bound Box\r\n\t\t// to orientate the inner bound boxes\r\n\t\tif (bioMightBoundBoxesIn != null)\r\n\t\t{\r\n\t\t\t// In the default instance,there will be two bound boxes\r\n\t\t\tBioMightBoundBox bioMightBoundBoxTemp = bioMightBoundBoxesIn.getBoundingBox(Constants.LeftFootRef);\r\n\t\t\tSystem.out.println(\"LeftFoot - SetupBoundBoxes - Incoming BoundBox: \" + \r\n\t\t\t\t\tbioMightBoundBoxTemp.getXPos() + \" \" +\r\n\t\t\t\t\tbioMightBoundBoxTemp.getYPos() + \" \" +\r\n\t\t\t\t\tbioMightBoundBoxTemp.getZPos());\r\n\r\n\t\t\t// In the default instance,there will be two bound boxes\r\n\t\t\tbioMightBoundBoxTemp = bioMightBoundBoxesIn.getBoundingBox(Constants.RightFootRef);\r\n\t\t\tSystem.out.println(\"RightFoot - SetupBoundBoxes - Incoming BoundBox: \" + \r\n\t\t\t\t\tbioMightBoundBoxTemp.getXPos() + \" \" +\r\n\t\t\t\t\tbioMightBoundBoxTemp.getYPos() + \" \" +\r\n\t\t\t\t\tbioMightBoundBoxTemp.getZPos());\t\t\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Feet SetupBoundBoxes - Incoming BoundBoxes are Null\");\r\n\t\t}\r\n\t\r\n\t\r\n\t\tbioBoundBoxes = new BioMightBoundBoxes();\r\n\t\t\t\r\n\t\t//********************************************************************* \r\n\t\t// LEFT FOOT EPITHELIUM BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Feet\r\n\t\t// The connector for this will come from the incoming Bound Box\r\n\t\t// Both are defined like and bolt and they lock into position at the\r\n\t\t// interestion of both connectors\r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(1.0);\r\n\t\tyPos = new BigDecimal(-48.0);\r\n\t\tzPos= new BigDecimal(0.0);\r\n\t\r\n\t\txVector= new BigDecimal(1.0);\r\n\t\tyVector= new BigDecimal(4.0); \r\n\t\tzVector= new BigDecimal(1.0);\r\n\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\r\n\t\t// Feet Epithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(1.0, -65.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tendPos = getEndPoints(1.0, -67.50, -1.0);\r\n\t\tendPoints = BioGraphics.octogonYPlane(endPos, circumference);\r\n\t\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, endPoints, Constants.FootEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.FootEpitheliumRef, bioMightConnector);\r\n\t\t\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\t// Put the Bounding Box into the Collection of Bounding Boxes \r\n\t\tSystem.out.println(\"Adding - LeftBoundBox to bioBoundBoxes\"); \r\n\t\tbioBoundBoxes.setBoundingBox(Constants.FootEpitheliumRef, bioBoundBox);\r\n\t\t\r\n\t\t// Put the BioMight BoundBoxes for the Left Foot into the BoundingBoxMap \r\n\t\tboundingBoxesMap.put(Constants.LeftFootRef, bioBoundBoxes);\r\n\t\tSystem.out.println(\"Adding - Left Foot bioBoundBoxes into BoxesMap\"); \r\n\r\n\t\r\n\t\tbioBoundBoxes = new BioMightBoundBoxes();\r\n\t\t\t\r\n\t\t//********************************************************************* \r\n\t\t// RIGHT FOOT EPITHELIUM BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Feet\r\n\t\t// The connector for this will come from the incoming Bound Box\r\n\t\t// Both are defined like and bolt and they lock into position at the\r\n\t\t// interestion of both connectors\r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(-8.0);\r\n\t\tyPos = new BigDecimal(-65.0);\r\n\t\tzPos= new BigDecimal(-1.0);\r\n\t\r\n\t\txVector= new BigDecimal(1.0);\r\n\t\tyVector= new BigDecimal(4.0); \r\n\t\tzVector= new BigDecimal(1.0);\r\n\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\r\n\t\t// Feet Epithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(-1.0, -65.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tendPos = getEndPoints(-1.0, -67.50, -1.0);\r\n\t\tendPoints = BioGraphics.octogonYPlane(endPos, circumference);\r\n\t\t\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, endPoints, Constants.FootEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.FootEpitheliumRef, bioMightConnector);\r\n\t\t\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\t\t\r\n\t\t\r\n\t\t// Put the Bounding Box into the Collection of Bounding Boxes \r\n\t\tSystem.out.println(\"Adding - RightBoundBox to bioBoundBoxes\"); \r\n\t\tbioBoundBoxes.setBoundingBox(Constants.FootEpitheliumRef, bioBoundBox);\t\t\r\n\r\n\t\t// Put the BioMight BoundBoxes for the Left Shoulder into the BoundingBoxMap \r\n\t\tboundingBoxesMap.put(Constants.RightFootRef, bioBoundBoxes);\r\n\t\tSystem.out.println(\"Adding - Right Foot bioBoundBoxes into BoxesMap\"); \r\n\r\n\t\treturn (boundingBoxesMap);\r\n\t}",
"private HashMap setupBoundBoxes(BioMightBoundBox bioMightBoundBoxIn) \r\n\t{\r\n\t\t// Set up the bounding boxes for the various components\r\n\t\t// The various components locations will be driven by the\r\n\t\t// bounding boxes\r\n\t\tHashMap boundingBoxMap = new HashMap();\r\n\t\t\r\n\t\t// Initialize the position of the bounding box vars\r\n\t\tBigDecimal xPos = new BigDecimal(0.0);\r\n\t\tBigDecimal yPos = new BigDecimal(0.0);\r\n\t\tBigDecimal zPos= new BigDecimal(0.0);\r\n\t\t\t\r\n\t\t// Set to base 1x1x1 cube\r\n\t\tBigDecimal xVector= new BigDecimal(1.0);\r\n\t\tBigDecimal yVector= new BigDecimal(1.0); \r\n\t\tBigDecimal zVector= new BigDecimal(1.0);\r\n\r\n\t\t// Initialize the BoundBoxes. This is used for\r\n\t\t// collections such as arms, legs,lungs,etc\r\n\t\tBioMightBoundBoxes bioBoundBoxes = null;\r\n\t\r\n\t\t// Initialize the BoundBox\r\n\t\tBioMightBoundBox bioBoundBox = null;\r\n\r\n\t\t// Initialize the Connectors \r\n\t\tBioMightConnectors bioMightConnectors = null; \r\n\r\n\t\t// Initialize the Connector \r\n\t\tBioMightConnector bioMightConnector= null;\r\n\t\t\r\n\t\tdouble circumference = 0.0;\r\n\t\tdouble[] startPos = {0.0, 0.0, 0.0};\r\n\t\tdouble[][] startPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\t\r\n\t\t// Use the information in the incomiing Bound Box\r\n\t\t// to orientate the inner bound boxes\r\n\t\tif (bioMightBoundBoxIn != null)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Arm - SetupBoundBoxes - Incoming BoundBox: \" + \r\n\t\t\t\t\tbioMightBoundBoxIn.getXPos() + \" \" +\r\n\t\t\t\t\tbioMightBoundBoxIn.getYPos() + \" \" +\r\n\t\t\t\t\tbioMightBoundBoxIn.getZPos());\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t//********************************************************************* \r\n\t\t// EPITHELIUM BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Arm\r\n\t\t// The connector for this will come from the incoming Bound Box\r\n\t\t// Both are defined like and bolt and they lock into position at the\r\n\t\t// interestion of both connectors\r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(0.0);\r\n\t\tyPos = new BigDecimal(-12.0);\r\n\t\tzPos= new BigDecimal(-1.0);\r\n\t\t\r\n\t\txVector= new BigDecimal(9.0);\r\n\t\tyVector= new BigDecimal(8.0); \r\n\t\tzVector= new BigDecimal(4.0);\r\n\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\r\n\t\t// Arm Epithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -9.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"ArmEpithelialCell\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"ArmEpithelialCell\", bioMightConnector);\r\n\t\t\t\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\tboundingBoxMap.put(Constants.ArmEpitheliumRef, bioBoundBox);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t\t//********************************************************************* \r\n\t\t// ARMS BOUND BOXES\r\n\t\t// Set up the Bounding Box for the Bronchi\r\n\t\t// On a porportioned human, the Bronchi are located in the --- \r\n\t\t//**********************************************************************\r\n\t\t\r\n\t\t//********************************************************************* \r\n\t\t// LEFT ARMS BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Left Arm\r\n\t\t// On a porportioned human, the Bronchi are located in the --- \r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(1.0);\r\n\t\tyPos = new BigDecimal(-11.0);\r\n\t\tzPos= new BigDecimal(-3.5);\r\n\t\t\r\n\t\txVector= new BigDecimal(2.0);\r\n\t\tyVector= new BigDecimal(2.0); \r\n\t\tzVector= new BigDecimal(2.0);\r\n\r\n\t\tbioBoundBoxes = new BioMightBoundBoxes();\r\n\t\t\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\t\r\n\t\t// ArmEpithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -8.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.ArmEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.ArmEpitheliumRef, bioMightConnector);\r\n\t\t\t\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\t\r\n\t\t// Put the Bounding Box into the Collection of Bounding Boxes \r\n\t\tbioBoundBoxes.setBoundingBox(Constants.LeftArmRef, bioBoundBox);\t\r\n\r\n\t\t//********************************************************************* \r\n\t\t// RIGHT ARMS BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Bronchi\r\n\t\t// On a porportioned human, the Bronchi are located in the --- \r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(-1.0);\r\n\t\tyPos = new BigDecimal(-11.0);\r\n\t\tzPos= new BigDecimal(-3.5);\r\n\t\t\r\n\t\txVector= new BigDecimal(2.0);\r\n\t\tyVector= new BigDecimal(2.0); \r\n\t\tzVector= new BigDecimal(2.0);\r\n\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\t\r\n\t\t// ArmEpithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -8.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.ArmEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.ArmEpitheliumRef, bioMightConnector);\r\n\t\t\t\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\t// Put the Bounding Box into the Collection of Bounding Boxes \r\n\t\tbioBoundBoxes.setBoundingBox(Constants.RightArmRef, bioBoundBox);\t\t\r\n\r\n\t\t// Put the BioMight BoundBoxes for the Bronchi \r\n\t\t// into the BoundingBoxMap \r\n\t\tboundingBoxMap.put(Constants.BronchiRef, bioBoundBoxes);\t\t\r\n\t\t\r\n\t\t\r\n\t\treturn (boundingBoxMap);\r\n\t}",
"protected Envelope[] getBoundingBoxes( Element element, CoordinateSystem defaultCoordinateSystem )\n throws XMLParsingException,\n InvalidParameterValueException {\n\n List<Node> boundingBoxList = XMLTools.getNodes( element, PRE_OWS + \"BoundingBox\", nsContext );\n\n List<Envelope> bboxesList = new ArrayList<Envelope>( boundingBoxList.size() );\n\n for ( int i = 0; i < boundingBoxList.size(); i++ ) {\n bboxesList.add( parseBoundingBox( (Element) boundingBoxList.get( i ), defaultCoordinateSystem ) );\n }\n\n // The ogc_wpvs schema says: wgs84 is mandatory therefore-> not checking parents to use it's\n // bboxes.\n\n // if ( parent != null ) {\n // Envelope[] boundingBoxes = parent.getBoundingBoxes();\n // for ( int i = 0; i < boundingBoxes.length; i++ ) {\n // bboxesList.add( boundingBoxes[i] );\n // }\n // }\n\n Envelope[] boxes = bboxesList.toArray( new Envelope[bboxesList.size()] );\n return boxes;\n }",
"private BioMightBoundBox setupDefaultBoundBox(String parentID) \r\n\t{\r\n\t\t// Initialize the position of the bounding box vars\r\n\t\tBigDecimal xPos = new BigDecimal(0.0);\r\n\t\tBigDecimal yPos = new BigDecimal(0.0);\r\n\t\tBigDecimal zPos= new BigDecimal(0.0);\r\n\t\t\r\n\t\t// Set to base 1x1x1 cube\r\n\t\tBigDecimal xVector= new BigDecimal(1.0);\r\n\t\tBigDecimal yVector= new BigDecimal(1.0); \r\n\t\tBigDecimal zVector= new BigDecimal(1.0);\r\n\t\r\n\t\t// Initialize the BoundBox\r\n\t\tBioMightBoundBox bioBoundBox = null;\r\n\t\r\n\t\t// Initialize the Connectors \r\n\t\tBioMightConnectors bioMightConnectors = null; \r\n\r\n\t\t// Initialize the Connector \r\n\t\tBioMightConnector bioMightConnector= null;\r\n\t\r\n\t\tdouble circumference = 0.0;\r\n\t\tdouble[] startPos = {0.0, 0.0, 0.0};\r\n\t\tdouble[][] startPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\t\r\n\t\t\r\n\t\t//**********************************************************************\r\n\t\t// ARMS BOUND BOX\t\t\r\n\t\t//\r\n\t\t// Set up the Bounding Box for the Arms\r\n\t\t// For default model, length of arms is 4.5\r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(0.0);\r\n\t\tyPos = new BigDecimal(-15.0);\r\n\t\tzPos= new BigDecimal(-5.0);\r\n\t\r\n\t\txVector= new BigDecimal(11.5);\r\n\t\tyVector= new BigDecimal(6.0); \r\n\t\tzVector= new BigDecimal(5.0);\r\n\t\t\r\n\t\t// Setup the boundbox\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\t// Set up its connectors\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\r\n\t\t//********************************************\r\n\t\t// ARM - ORGAN CONNECTORS\r\n\t\t//********************************************\r\n\t\r\n\t\t// EpitheliumTissue Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.ArmEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.ArmEpitheliumRef, bioMightConnector);\r\n\t\r\n\t\t//********************************************\t\r\n\t\t// ARMS - VASCULAR CONNECTORS \r\n\t\t//********************************************\r\n\t\r\n\t\t// InternalCarotidArteryEpithelium\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"InternalCarotidArteryEpithelium\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"InternalCarotidArteryEpithelium\", bioMightConnector);\r\n\t\r\n\t\t// ExternalCarotidArteryEpithelium \r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"ExternalCarotidArteryEpithelium\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"ExternalCarotidArteryEpithelium\", bioMightConnector);\r\n\t\r\n\t\t//********************************************\r\n\t\t// ARMS - MUSCULAR CONNECTORS\r\n\t\t//********************************************\r\n\r\n\t\r\n\t\t//********************************************\r\n\t\t// ARMS - SKELETAL CONNECTORS\r\n\t\t//********************************************\r\n\r\n\t\t// ThoracicVertebrae T6 \r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"CervicalVertebrae\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"CervicalVertebrae\", bioMightConnector);\r\n\t\t\r\n\t\t\r\n\t\t// Stuff the Connectors into the Bounding Box \r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\treturn (bioBoundBox);\t\r\n\t}",
"public BoundingBox()\n\t{\n\t\tcenter = new Vector2(0.0, 0.0);\n\t\twidth = 1.0;\n\t\theight = 1.0;\n\t}",
"protected Envelope parseBoundingBox( Element element, CoordinateSystem defaultCoordinateSystem )\n throws XMLParsingException,\n InvalidParameterValueException {\n\n // Envelope env = getWGS84BoundingBoxType( element );\n\n String crsAtt = element.getAttribute( \"crs\" );\n CoordinateSystem crs = null;\n if ( crsAtt == null ) {\n crs = defaultCoordinateSystem;\n } else {\n try {\n crs = CRSFactory.create( crsAtt );\n } catch ( UnknownCRSException e ) {\n throw new InvalidParameterValueException( e.getMessage() );\n }\n }\n\n double[] lowerCorner = XMLTools.getRequiredNodeAsDoubles( element,\n PRE_OWS + \"LowerCorner/text()\",\n nsContext,\n \" \" );\n if ( lowerCorner.length < 2 ) {\n throw new XMLParsingException( Messages.getMessage( \"WPVS_NO_VALID_BBOX_POINT\", PRE_OWS + \"LowerCorner\" ) );\n }\n double[] upperCorner = XMLTools.getRequiredNodeAsDoubles( element,\n PRE_OWS + \"UpperCorner/text()\",\n nsContext,\n \" \" );\n if ( upperCorner.length < 2 ) {\n throw new XMLParsingException( Messages.getMessage( \"WPVS_NO_VALID_BBOX_POINT\", PRE_OWS + \"UpperCorner\" ) );\n }\n if ( upperCorner.length != lowerCorner.length ) {\n throw new XMLParsingException( Messages.getMessage( \"WPVS_DIFFERENT_BBOX_DIMENSIONS\",\n PRE_OWS + \"LowerCorner\",\n PRE_OWS + \"UpperCorner\" ) );\n }\n\n for ( int i = 0; i < upperCorner.length; ++i ) {\n if ( lowerCorner[i] >= upperCorner[i] ) {\n throw new InvalidParameterValueException( Messages.getMessage( \"WPVS_WRONG_BBOX_POINT_POSITIONS\",\n new Integer( i ),\n new Double( lowerCorner[i] ),\n PRE_OWS + \"LowerCorner\",\n new Double( upperCorner[i] ),\n PRE_OWS + \"UpperCorner\" ) );\n\n }\n }\n\n return GeometryFactory.createEnvelope( lowerCorner[0], lowerCorner[1], upperCorner[0], upperCorner[1], crs );\n\n }",
"public void buildInitialBand()\r\n\t{\n\t\r\n\tint bl = boundary.size();\r\n\tfor(int i=0; i<bl; i++) \r\n\t\t{\r\n\t\tInt2d bCur = boundary.get(i);\r\n\t\t//System.out.println(bCur.x + \", \" + bCur.y + \": size = \" + heap.size());\r\n\t\t\r\n\t\ttestPointsAround(bCur.x,bCur.y);\r\n\t\t}\r\n\t\r\n\t}",
"public void constructBoundingBox()\r\n\t{\n\t\tdouble a = m_Qmin.x;\r\n\t\tdouble b = m_Qmin.y;\r\n\t\tdouble c = m_Qmin.z;\r\n\r\n\t\tdouble d = m_Qmax.x;\r\n\t\tdouble e = m_Qmax.y;\r\n\t\tdouble f = m_Qmax.z;\r\n\r\n\t\t//constructing the vertexes of the bounding box\r\n\t\tSceneVertex A = new SceneVertex( new Vector3d(a, b, c));\r\n\t\tSceneVertex B = new SceneVertex( new Vector3d(d, b, c));\r\n\t\tSceneVertex C = new SceneVertex( new Vector3d(d, b, f));\r\n\t\tSceneVertex D = new SceneVertex( new Vector3d(d, e, f));\r\n\t\tSceneVertex E = new SceneVertex( new Vector3d(a, e, f));\r\n\t\tSceneVertex F = new SceneVertex( new Vector3d(a, e, c));\r\n\t\tSceneVertex G = new SceneVertex( new Vector3d(d, e, c));\r\n\t\tSceneVertex H = new SceneVertex( new Vector3d(a, b, f));\r\n\r\n\r\n\t\t// building the vertices arrays for the faces\r\n\t\tArrayList<SceneVertex> verArrP0front = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP0front.add(A);\r\n\t\tverArrP0front.add(B);\r\n\t\tverArrP0front.add(G);\r\n\t\tverArrP0front.add(F);\r\n\t\t\r\n\t\tArrayList<SceneVertex> verArrP1left = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP1left.add(A);\r\n\t\tverArrP1left.add(F);\r\n\t\tverArrP1left.add(E);\r\n\t\tverArrP1left.add(H);\r\n\t\t\r\n\t\tArrayList<SceneVertex> verArrP2back = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP2back.add(H);\r\n\t\tverArrP2back.add(C);\r\n\t\tverArrP2back.add(D);\r\n\t\tverArrP2back.add(E);\r\n\t\t\r\n\t\tArrayList<SceneVertex> verArrP3right = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP3right.add(G);\r\n\t\tverArrP3right.add(D);\r\n\t\tverArrP3right.add(C);\r\n\t\tverArrP3right.add(B);\r\n\t\t\r\n\t\tArrayList<SceneVertex> verArrP4bottom = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP4bottom.add(A);\r\n\t\tverArrP4bottom.add(H);\r\n\t\tverArrP4bottom.add(C);\r\n\t\tverArrP4bottom.add(B);\r\n\r\n\t\tArrayList<SceneVertex> verArrP5top = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP5top.add(F);\r\n\t\tverArrP5top.add(G);\r\n\t\tverArrP5top.add(D);\r\n\t\tverArrP5top.add(E);\r\n\t\t\r\n\t\t// creating BoundingBox\r\n\t\tm_BoundingBox = new SceneNode(DrawingMode.GL_LINE, \"BoundingBox\", null);\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP0front, \"FRONT\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP1left, \"LEFT\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP2back, \"BACK\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP3right, \"RIGHT\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP4bottom, \"BOTTOM\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP5top, \"TOP\"));\r\n\r\n\t\t\r\n\t}",
"public GJBox2D boundingBox() {\n\t\tdouble xmin = Double.MAX_VALUE;\n\t\tdouble ymin = Double.MAX_VALUE;\n\t\tdouble xmax = Double.MIN_VALUE;\n\t\tdouble ymax = Double.MIN_VALUE;\n\n\t\t// coordinates of current point\n\t\tdouble x, y;\n\t\t\n\t\t// Iterate on each control point of each segment\n\t\tfor (Segment seg : this.segments) {\n\t\t\tfor (GJPoint2D p : seg.controlPoints()) {\n\t\t\t\t// get current coordinates\n\t\t\t\tx = p.x();\n\t\t\t\ty = p.y();\n\t\t\t\t\n\t\t\t\t// update bounds\n\t\t\t\txmin = Math.min(xmin, x);\n\t\t\t\tymin = Math.min(ymin, y);\n\t\t\t\txmax = Math.max(xmax, x);\n\t\t\t\tymax = Math.max(ymax, y);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// createFromCollection a new GJBox2D with the bounds\n\t\treturn new GJBox2D(xmin, xmax, ymin, ymax);\n\t}",
"@External\r\n\t@ClientFunc\r\n\tpublic MetaVar SetBBox(MetaVarVector boxMinVar,MetaVarVector boxMaxVar);",
"public void computeBoundingBox() {\n\taveragePosition = new Point3(center);\n tMat.rightMultiply(averagePosition);\n \n minBound = new Point3(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);\n maxBound = new Point3(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);\n // Initialize\n Point3[] v = new Point3[8];\n for (int i = 0; i < 8; i++)\n \tv[i] = new Point3(center);\n // Vertices of the box\n v[0].add(new Vector3(-radius, -radius, -height/2.0));\n v[1].add(new Vector3(-radius, radius, -height/2.0));\n v[2].add(new Vector3(radius, -radius, -height/2.0));\n v[3].add(new Vector3(radius, radius, -height/2.0));\n v[4].add(new Vector3(-radius, -radius, height/2.0));\n v[5].add(new Vector3(-radius, radius, height/2.0));\n v[6].add(new Vector3(radius, -radius, height/2.0));\n v[7].add(new Vector3(radius, radius, height/2.0));\n // Update minBound and maxBound\n for (int i = 0; i < 8; i++)\n {\n \ttMat.rightMultiply(v[i]);\n \tif (v[i].x < minBound.x)\n \t\tminBound.x = v[i].x;\n \tif (v[i].x > maxBound.x)\n \t\tmaxBound.x = v[i].x;\n \tif (v[i].y < minBound.y)\n \t\tminBound.y = v[i].y;\n \tif (v[i].y > maxBound.y)\n \t\tmaxBound.y = v[i].y;\n \tif (v[i].z < minBound.z)\n \t\tminBound.z = v[i].z;\n \tif (v[i].z > maxBound.z)\n \t\tmaxBound.z = v[i].z;\n }\n \n }",
"public void addBoundingBox() {\n abstractEditor.drawNewShape(new EBoundingBoxDT());\n }",
"public void initializeBoundary() {\n\n\t\tthis.subNetGenes = getSubNetGenes(species, xmlFile);\n\t\tthis.subNetwork = getSubNetwork(subNetGenes, oriGraphFile);\n\t\t\n\t\tSet<String> comSubNetGenes = Sets.newHashSet();\n\t\tcomSubNetGenes.addAll(this.subNetwork.keySet());\n\t\tcomSubNetGenes.addAll(this.subNetwork.values());\n\t\t\n\t\ttotalSubGeneCount = comSubNetGenes.size();\n\t\t\n\t\tcountBoundaryEdges(comSubNetGenes, oriGraphFile);\n\t\t\n\t\t\n\n\t}",
"public ReferencedEnvelope getBounds(){\n if(bounds==null){\n // Create Null envelope\n this.bounds = new ReferencedEnvelope(getCRS());\n // First try to find the BBOX definition in the gisNode directly\n try{\n if(gisNode.hasProperty(INeoConstants.PROPERTY_BBOX_NAME)){\n double[] bbox = (double[])gisNode.getProperty(INeoConstants.PROPERTY_BBOX_NAME);\n this.bounds = new ReferencedEnvelope(bbox[0],bbox[1],bbox[2],bbox[3],crs);\n }else{\n System.err.println(\"No BBox defined in the GeoNeo object\");\n }\n }catch(Exception bbox_e){\n System.err.println(\"Failed to interpret BBOX: \"+bbox_e.getMessage());\n bbox_e.printStackTrace(System.err);\n }\n // Secondly, if bounds is still empty, try find all feature geometries and calculate bounds\n try{\n if(this.bounds.isNull()){\n // Try to create envelope from any data referenced by the gisNode\n for(GeoNode node:getGeoNodes()){\n //TODO: support high dimensions\n this.bounds.expandToInclude(node.getCoords()[0], node.getCoords()[1]);\n }\n }\n }catch(Exception bbox_e){\n System.err.println(\"Failed to interpret BBOX: \"+bbox_e.getMessage());\n bbox_e.printStackTrace(System.err);\n }\n }\n return bounds;\n }",
"@Override\n public void addDefaultElements() {\n addNearestNeighbours(getSoftwareSystem(), CustomElement.class);\n addNearestNeighbours(getSoftwareSystem(), Person.class);\n addNearestNeighbours(getSoftwareSystem(), SoftwareSystem.class);\n }",
"public void setInfiniteBoundingbox()\n\t{\n\t\tinf_bb = true;\n\t\tif (transfh != null) {\n\t\t\ttransfh.setInfiniteBoundingbox();\n\t\t}\n\t}",
"public static String bboxVertices(){\n \treturn \"0.5 0.5 0.5 0.5 0.5 -0.5 0.5 -0.5 0.5 0.5 -0.5 -0.5 -0.5 0.5 0.5 -0.5 0.5 -0.5 -0.5 -0.5 0.5 -0.5 -0.5 -0.5\";\n }",
"private void calcBoxVerts() {\n\t\tif (verts != null) {\n\t\t\tdouble minX = verts[0].getElement(0);\n\t\t\tdouble maxX = minX;\n\t\t\tdouble minY = verts[0].getElement(1);\n\t\t\tdouble maxY = minY;\n\t\t\tdouble minZ = verts[0].getElement(2);\n\t\t\tdouble maxZ = minZ;\n\t\t\tfor (int i = 1; i < verts.length; i++) {\n\t\t\t\tif (verts[i].getElement(0) < minX) {\n\t\t\t\t\tminX = verts[i].getElement(0);\n\t\t\t\t} else if (verts[i].getElement(0) > maxX) {\n\t\t\t\t\tmaxX = verts[i].getElement(0);\n\t\t\t\t}\n\t\t\t\tif (verts[i].getElement(1) < minY) {\n\t\t\t\t\tminY = verts[i].getElement(1);\n\t\t\t\t} else if (verts[i].getElement(1) > maxY) {\n\t\t\t\t\tmaxY = verts[i].getElement(1);\n\t\t\t\t}\n\t\t\t\tif (verts[i].getElement(2) < minZ) {\n\t\t\t\t\tminZ = verts[i].getElement(2);\n\t\t\t\t} else if (verts[i].getElement(2) > maxZ) {\n\t\t\t\t\tmaxZ = verts[i].getElement(2);\n\t\t\t\t}\n\t\t\t}\n\t\t\tVector[] boxVerts = new Vector[8];\n\t\t\tboxVerts[0] = new Vector(3);\n\t\t\tboxVerts[0].setElements(new double[] {minX, minY, minZ});\n\t\t\tboxVerts[1] = new Vector(3);\n\t\t\tboxVerts[1].setElements(new double[] {maxX, minY, minZ});\n\t\t\tboxVerts[2] = new Vector(3);\n\t\t\tboxVerts[2].setElements(new double[] {minX, minY, maxZ});\n\t\t\tboxVerts[3] = new Vector(3);\n\t\t\tboxVerts[3].setElements(new double[] {maxX, minY, maxZ});\n\t\t\tboxVerts[4] = new Vector(3);\n\t\t\tboxVerts[4].setElements(new double[] {minX, maxY, minZ});\n\t\t\tboxVerts[5] = new Vector(3);\n\t\t\tboxVerts[5].setElements(new double[] {maxX, maxY, minZ});\n\t\t\tboxVerts[6] = new Vector(3);\n\t\t\tboxVerts[6].setElements(new double[] {minX, maxY, maxZ});\n\t\t\tboxVerts[7] = new Vector(3);\n\t\t\tboxVerts[7].setElements(new double[] {maxX, maxY, maxZ});\n\t\t\tthis.boxVerts = boxVerts;\n\t\t} else {\n\t\t\tthis.boxVerts = null;\n\t\t}\n\t}",
"private static native long createEdgeBoxes_0(float alpha, float beta, float eta, float minScore, int maxBoxes, float edgeMinMag, float edgeMergeThr, float clusterMinMag, float maxAspectRatio, float minBoxArea, float gamma, float kappa);",
"private void updateBoxes(){\n if(model.getMap() != null) {\n DoubleVec position = invModelToView(new DoubleVec(canvas.getWidth()*0.5,canvas.getHeight()*0.5));\n inner = new Rectangle(position, 1.0/zoomFactor * fi * canvas.getWidth(), 1.0/zoomFactor * fi * canvas.getHeight(), 0);\n outer = new Rectangle(position, 1.0/zoomFactor * fo * canvas.getWidth(), 1.0/zoomFactor * fo * canvas.getHeight(), 0);\n }\n }",
"private void setUpCollisionBox()\n {\n \txLeftOffsetCollisionBox = width/COLLISION_WIDTH_DIV;\n \tcollisionBoxHeight = height - COLLISION_BOX_H_OFFSET;\n \n \tcollisionBox = new Rectangle(\n\t\t\t\t \t\txPos, \n\t\t\t\t \t\tyPos, \n\t\t\t\t \t\t(int)width / 2,\n\t\t\t\t \t\tcollisionBoxHeight);\n }",
"@Override\r\n public void getBoxes(IPartCollisionHelper box) {\n box.addBox(4, 4, 12, 12, 12, 14);\r\n box.addBox(6, 6, 11, 10, 10, 12);\r\n }",
"public static void main(String[] args) {\n\t\tint numberCoords = 4;\n\t\tdouble[] boundBox = new double[4];\n\t\t\n\t\t\n\t\t\t\tif(args.length > 0){\n\t\t\tif(args.length < 4){\n\t\t\t\tSystem.err.println(\"not correct number of arguments\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\tdouble args0 = Double.parseDouble(args[0]);\n\t\t\tdouble args1 = Double.parseDouble(args[1]);\n\t\t\tdouble args2 = Double.parseDouble(args[2]);\n\t\t\tdouble args3 = Double.parseDouble(args[3]);\n\t\t\t\n\t\t\tboundBox[0] = args0; //southwest\n\t\t\tboundBox[1] = args1;\n\t\t\tboundBox[2] = args2; //northeast 42.7125\n\t\t\tboundBox[3] = args3;\n\t\t}else{\n\t\t\n\t\t\n\t\tSystem.out.println(\"Enter the four coordinate for the bounding box: \\n\");\n\t\t//ask user for the bounding box\n\t\tfor(int i = 0; i < numberCoords; i++){\n\t\t\t\n\t\t\t//getting user input\n\t\t\tScanner reader = new Scanner(System.in); // Reading from System.in\n\t\t\t\n\t\t\tif(i < 2){\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(\"lat1: \");\n\t\t\t\tif(i==1)\n\t\t\t\t\tSystem.out.println(\"long1: \");\n\t\t\t}else{\n\t\t\t\tif(i==2)\n\t\t\t\t\tSystem.out.println(\"lat2: \");\n\t\t\t\tif(i==3)\n\t\t\t\t\tSystem.out.println(\"long2: \");\n\t\t\t}\n\t\t\tboundBox[i] = reader.nextInt(); \n\t\t}\n\t\t\n\t }\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// random bounding box coordinates\n\t\t//South Latitude, West Longitude, North Latitude, East Longitude\n\t\t// 45.219,-122.325,47.610,-122.107\n\t\tboundBox[0] = 42.712439; //southwest\n\t\tboundBox[1] = -71.693370;\n\t\tboundBox[2] = 42.712439; //northeast 42.7125\n\t\tboundBox[3] = -71.693370;\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tAerialData aData = null;\n\t\tdouble currentLat;\n\t\tdouble currentLong;\n\t\tdouble[] currentCenter = new double[]{boundBox[0], boundBox[1]};\n\t\tString centerString;\n\t\tString data;\n\t\tString image;\n\t\t\n\t\t// get all of the images and put in a 2D array\n\t\tArrayList<ArrayList<BufferedImage>> listOfListImages = new ArrayList<ArrayList<BufferedImage>>(); \n\t\t\n\t\twhile(currentCenter[0] <= boundBox[2]){\n\t\t\t\n\t\t\t// resetting the current long\n\t\t\tcurrentCenter[1] = boundBox[1];\n\t\t\t\n\t\t\t// the row we will add images to\n\t\t\tArrayList<BufferedImage> currentRow = new ArrayList<BufferedImage>(); \n\t\t\t\n\t\t\twhile(currentCenter[1] <= boundBox[3]){\n\t\t\t\t\n\t\t\t\t// this is the start point\n\t\t\t\tcenterString = currentCenter[0] + \",\" + currentCenter[1];\n\t\t\t\t\n\t\t\t\t// build request for image\n\t\t\t\tdata = buildRequest(centerString,\"1\");\n\t\t\t\timage = buildRequest(centerString,\"0\");\n\t\t\t\t\n\t\t\t\t// creating the image\n\t\t\t\taData = new AerialData(data);\n\t\t\t\tAerialImage aImage = new AerialImage(image);\n\t\t\t\t\n\t\t\t\t//adding the new image to the list\n\t\t\t\tcurrentRow.add(aImage.getImage());\n\t\t\t\t\n\t\t\t\t// incrementing the longitude\n\t\t\t\tcurrentCenter[1] = aData.getNextLong();\n\t\t\t}\n\t\t\t\n\t\t\tif(aData == null){\n\t\t\t// incrementing the longitude\n\t\t\tSystem.err.println(\"there is not image in those bounds\");\n\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcurrentCenter[0] = aData.getNextLat();\n\t\t\tlistOfListImages.add(currentRow);\n\t\t}\n\t\t\n\t\t//could to checking to make sure all columns are same number\n\t\t\n\t\t// number of pixels in image is 350\n\t\tint numberPixelsImage = 350;\n\t\t\n\t\t//add all the images togethere\n\t\t// width is the number of column * 350\n\t\tint width = listOfListImages.get(0).size() * 350;\n\t\t//height is the number of rows * 350\n\t\tint height = listOfListImages.size() * 350;\n\t\t\n\t\t// the new image that we will layer\n\t\tBufferedImage combined = new BufferedImage(width, height, listOfListImages.get(0).get(0).getType());\n\t\t\n\t\tGraphics graphics = combined.getGraphics();\n\t\t\n\t\tint yIndex = 0;\n\t\tint yCounter = 0;\n\t\t\n\t\tfor(int j = listOfListImages.size() - 1; j > -1; --j){\n\t\t\t\n\t\t\tfor(int i = 0; i < listOfListImages.get(j).size(); ++i){\n\t\t\t\t\n\t\t\tint xIndex = i * 350;\n\t\t\t// loop through adding the images to the finalImage\n\t\t\tgraphics.drawImage(listOfListImages.get(j).get(i), xIndex, yIndex, null);\n\n\t\t\t}\n\t\t\t\n\t\t\tyCounter++;\n\t\t\tyIndex = yCounter * 350;\n\t\t\t\n\t\t}\n\t\t\n\t\t// saving the final image\n\t\ttry {\n\t\t\tImageIO.write(combined, \"jpg\", new File(\"combined.jpeg\"));\n\t\t} catch (IOException e) {\n\t\t\t\tSystem.err.println(\"could not save image\");\n\t\t\t\te.printStackTrace();\n\t\t}\n\t\t\t\n\t}",
"private void addBoundingWalls() {\n\t\taddWall(new Line(new Vector2(0,0),new Vector2(getWidth(),0)));\n\t\taddWall(new Line(new Vector2(getWidth(),0), new Vector2(getWidth(),getHeight())));\n\t\taddWall(new Line(new Vector2(getWidth(),getHeight()),new Vector2(0,getHeight())));\n\t\taddWall(new Line(new Vector2(0,getHeight()),new Vector2(0,0)));\n\t}",
"@Before\n public void setUp() {\n defaultColor1 = new Color(10, 10, 10);\n defaultPosition1 = new Position(0, 100);\n defaultSize1 = new Size(20, 20);\n defaultShape1 = new Rectangle(defaultColor1, defaultPosition1, defaultSize1);\n defaultColor2 = new Color(100, 100, 100);\n defaultPosition2 = new Position(50, 50);\n defaultSize2 = new Size(25, 25);\n defaultShape2 = new Oval(defaultColor2, defaultPosition2, defaultSize2);\n }",
"public BoundingBox(double minX, double minY, double maxX, double maxY) {\r\n this.setMinX(minX);\r\n this.setMinY(minY);\r\n this.setMaxX(maxX);\r\n this.setMaxY(maxY);\r\n }",
"@Override\n\tpublic void computeBBox(SoAction action, SbBox3f box, SbVec3f center) {\n\n\t}",
"public ArrayList<Object> defaultBoxTypes(){\n\t\t//ColourPrintOptions Properties\n\t\t//All colour option types available in the ColourPrintOption enum\n\t\tint[] colour = new int[]{ColourPrintOption.NoColour.getColOpt(), \n\t\t\t\tColourPrintOption.OneColour.getColOpt(),ColourPrintOption.TwoColour.getColOpt()};\n\t\t\n\t\t//All colour option percentage cost available in the ColourPrintOption enum\n\t\tdouble[] colPerc = new double[]{ColourPrintOption.NoColour.getPercentage(), \n\t\t\t\tColourPrintOption.OneColour.getPercentage(),ColourPrintOption.TwoColour.getPercentage()};\n\t\t\n\t\tArrayList<BoxType> boxes = new ArrayList<BoxType>();\t\t\n\t\t//Hardcoded initial box type values\t\t\n\t\t//Box Type | Grade | ColourPrintOption | ColourPrintOption% | ReinBottom | ReinfCorn | Reinf% | IsActive\n\t\tboxes.add(new BoxType(\"1\",\"1\", colour[0], colPerc[0], false, false, 0.00, true));\n\t\tboxes.add(new BoxType(\"1\",\"2\", colour[0], colPerc[0], false, false, 0.00, true));\n\t\tboxes.add(new BoxType(\"1\",\"3\", colour[0], colPerc[0], false, false, 0.00, true));\n\t\tboxes.add(new BoxType(\"2\",\"2\", colour[1], colPerc[1], false, false, 12.00, true));\n\t\tboxes.add(new BoxType(\"2\",\"3\", colour[1], colPerc[1], false, false, 12.00, true));\n\t\tboxes.add(new BoxType(\"2\",\"4\", colour[1], colPerc[1], false, false, 12.00, true));\n\t\tboxes.add(new BoxType(\"3\",\"2\",colour[2], colPerc[2], false, false, 15.00, true));\n\t\tboxes.add(new BoxType(\"3\",\"3\",colour[2], colPerc[2], false, false, 15.00, true));\n\t\tboxes.add(new BoxType(\"3\",\"4\",colour[2], colPerc[2], false, false, 15.00, true));\n\t\tboxes.add(new BoxType(\"3\",\"5\",colour[2], colPerc[2], false, false, 15.00, true));\n\t\tboxes.add(new BoxType(\"4\",\"2\", colour[2], colPerc[2], true, false, 15.00, true));\n\t\tboxes.add(new BoxType(\"4\",\"3\", colour[2], colPerc[2], true, false, 15.00, true));\n\t\tboxes.add(new BoxType(\"4\",\"4\", colour[2], colPerc[2], true, false, 15.00, true));\n\t\tboxes.add(new BoxType(\"4\",\"5\", colour[2], colPerc[2], true, false, 15.00, true));\n\t\tboxes.add(new BoxType(\"5\",\"3\", colour[2], colPerc[2], true, true, 25.00, true));\n\t\tboxes.add(new BoxType(\"5\",\"4\", colour[2], colPerc[2], true, true, 25.00, true));\n\t\tboxes.add(new BoxType(\"5\",\"5\", colour[2], colPerc[2], true, true, 25.00, true));\n\t\t\n\t\tArrayList<Object> btList = new ArrayList<Object>();\n\t\t\n\t\tfor(int i=0; i < boxes.size(); i++){\n\t\t\tbtList.add(boxes.get(i).getBoxType() +\",\" + boxes.get(i).getCardGrade() \n\t\t\t\t\t+\",\" + boxes.get(i).getColourOption() + \",\" + boxes.get(i).getColourOptionPercentage()\n\t\t\t\t\t+ \",\" + boxes.get(i).isReinfBottom() + \",\" + boxes.get(i).isReinfCorn() + \",\" \n\t\t\t\t\t+ boxes.get(i).getReinfPercentage() + \",\" + boxes.get(i).isActive + \", \\n\");\t\n\t\t}\n\t\treturn btList;\n\t}",
"private void setBox(){\n\t\tif((this.row >= 0 && this.row <= 2) && \n\t\t (this.column >= 0 && this.column <= 2)){\n\t\t\t\t\tthis.box = 1;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 0 && this.row <= 2) && \n\t\t (this.column >= 3 && this.column <= 5)){\n\t\t\t\t\tthis.box = 2;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 0 && this.row <= 2) && \n\t\t (this.column >= 6 && this.column <= 8)){\n\t\t\t\t\tthis.box = 3;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 3 && this.row <= 5) && \n\t\t (this.column >= 0 && this.column <= 2)){\n\t\t\t\t\tthis.box = 4;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 3 && this.row <= 5) && \n\t\t (this.column >= 3 && this.column <= 5)){\n\t\t\t\t\tthis.box = 5;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 3 && this.row <= 5) && \n\t\t (this.column >= 6 && this.column <= 8)){\n\t\t\t\t\tthis.box = 6;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 6 && this.row <= 8) && \n\t\t (this.column >= 0 && this.column <= 2)){\n\t\t\t\t\tthis.box = 7;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 6 && this.row <= 8) && \n\t\t (this.column >= 3 && this.column <= 5)){\n\t\t\t\t\tthis.box = 8;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 6 && this.row <= 8) && \n\t\t (this.column >= 6 && this.column <= 8)){\n\t\t\t\t\tthis.box = 9;\n\t\t\t\t\treturn;\n\t\t}\n\t}",
"public void testGetBoundingBox(){\r\n\t\tdouble xc = 0;\r\n\t\tdouble yc = 0;\r\n\t\tdouble r = 10;\r\n\t\tdouble r2 = r*Math.sqrt(2)/2;\r\n\t\tdouble t0 = PI/4;\r\n\t\tdouble t1 = 3*PI/4;\r\n\t\tdouble t2 = 5*PI/4;\r\n\t\tdouble t3 = 7*PI/4;\r\n\t\tdouble dt = PI/2;\r\n\t\t\r\n\t\t// declare variables\r\n\t\tCircleArc2D arc0, arc1, arc2, arc3;\r\n\t\tBox2D box0, box1, box2, box3;\r\n\t\tBox2D bounds0, bounds1, bounds2, bounds3;\r\n\t\t\r\n\t\t// top\r\n\t\tarc0 \t= new CircleArc2D(xc, yc, r, t0, dt);\r\n\t\tbox0 \t= new Box2D(xc-r2, xc+r2, r2, r);\r\n\t\tbounds0 = arc0.boundingBox();\r\n\t\tassertTrue(box0.almostEquals(bounds0, Shape2D.ACCURACY));\r\n\r\n\t\t// left\r\n\t\tarc1 \t= new CircleArc2D(xc, yc, r, t1, dt);\r\n\t\tbox1 \t= new Box2D(xc-r, xc-r2, -r2, r2);\r\n\t\tbounds1 = arc1.boundingBox();\r\n\t\tassertTrue(box1.almostEquals(bounds1, Shape2D.ACCURACY));\r\n\r\n\t\t// bottom\r\n\t\tarc2 \t= new CircleArc2D(xc, yc, r, t2, dt);\r\n\t\tbox2 \t= new Box2D(xc-r2, xc+r2, -r, -r2);\r\n\t\tbounds2 = arc2.boundingBox();\r\n\t\tassertTrue(box2.almostEquals(bounds2, Shape2D.ACCURACY));\r\n\r\n\t\t// right\r\n\t\tarc3 \t= new CircleArc2D(xc, yc, r, t3, dt);\r\n\t\tbox3 \t= new Box2D(r2, r, -r2, r2);\r\n\t\tbounds3 = arc3.boundingBox();\r\n\t\tassertTrue(box3.almostEquals(bounds3, Shape2D.ACCURACY));\r\n\r\n\t\t/// circle arcs with extent 3*pi/2\r\n\t\tdt = 3*PI/2;\r\n\t\t\r\n\t\t// top\r\n\t\tarc0 \t= new CircleArc2D(xc, yc, r, t3, dt);\r\n\t\tbox0 \t= new Box2D(xc-r, xc+r, -r2, r);\r\n\t\tbounds0 = arc0.boundingBox();\r\n\t\tassertTrue(box0.almostEquals(bounds0, Shape2D.ACCURACY));\r\n\r\n\t\t// left\r\n\t\tarc1 \t= new CircleArc2D(xc, yc, r, t0, dt);\r\n\t\tbox1 \t= new Box2D(xc-r, xc+r2, -r, r);\r\n\t\tbounds1 = arc1.boundingBox();\r\n\t\tassertTrue(box1.almostEquals(bounds1, Shape2D.ACCURACY));\r\n\r\n\t\t// bottom\r\n\t\tarc2 \t= new CircleArc2D(xc, yc, r, t1, dt);\r\n\t\tbox2 \t= new Box2D(xc-r, xc+r, -r, r2);\r\n\t\tbounds2 = arc2.boundingBox();\r\n\t\tassertTrue(box2.almostEquals(bounds2, Shape2D.ACCURACY));\r\n\r\n\t\t// right\r\n\t\tarc3 \t= new CircleArc2D(xc, yc, r, t2, dt);\r\n\t\tbox3 \t= new Box2D(-r2, r, -r, r);\r\n\t\tbounds3 = arc3.boundingBox();\r\n\t\tassertTrue(box3.almostEquals(bounds3, Shape2D.ACCURACY));\r\n\t\r\n\t}",
"public static void generateDefaults() {\n Building temp = BuildingList.getBuilding(0);\n SubAreas temp2 = temp.getSubArea(1);\n temp2.createFireSensor();\n temp2.createMotionSensor();\n temp2 = temp.getSubArea(2);\n temp2.createMotionSensor();\n temp2 = temp.getSubArea(3);\n temp2.createMotionSensor();\n temp2.createFireSensor();\n temp2 = temp.getSubArea(5);\n temp2.createFireSensor();\n temp2 = temp.getSubArea(6);\n temp2.createFireSensor();\n temp2.createMotionSensor();\n }",
"@Override\n \tpublic Rectangle2D GetBoundingBox() {\n\t\treturn null;\n \t}",
"private List<Box> initBoxes(List<Integer> deadBoxes){\n List<Box> boxes = new ArrayList<>();\n\n for(int x=0;x<16;x++){\n boxes.add(new Box(x + 1, grid[x]));\n }\n\n\n /**\n * 1 2 3 4\n * 5 6 7 8\n * 9 10 11 12\n * 13 14 15 16\n */\n\n //first row\n addNeighbours(1, new int[]{2,5,6}, boxes);\n addNeighbours(2,new int[]{1,3,5,6,7}, boxes);\n addNeighbours(3,new int[]{2,4,6,7,8}, boxes);\n addNeighbours(4,new int[]{3,7,8}, boxes);\n addNeighbours(5,new int[]{1,2,6,9,10}, boxes);\n addNeighbours(6,new int[]{1,2,3,5,7,9,10,11}, boxes);\n addNeighbours(7,new int[]{2,3,4,6,8,10,11,12}, boxes);\n addNeighbours(8,new int[]{3,4,7,11,12}, boxes);\n addNeighbours(9,new int[]{5,6,10,13,14}, boxes);\n addNeighbours(10,new int[]{5,6,7,9,11,13,14,15}, boxes);\n addNeighbours(11,new int[]{6,7,8,10,12,14,15,16}, boxes);\n addNeighbours(12,new int[]{7,8,11,15,16}, boxes);\n addNeighbours(13,new int[]{9,10,14}, boxes);\n addNeighbours(14,new int[]{9,10,11,13,15}, boxes);\n addNeighbours(15,new int[]{10,11,12,14,16}, boxes);\n addNeighbours(16,new int[]{11,12,15}, boxes);\n\n return removeBoxes(boxes,deadBoxes);\n }",
"public final BoundingBox getBounds() {\n\t\tif (bounds==null) {\n\t\t\tint srsID =( (Geometry)this.get(0).getDefaultGeometry()).getSRID();\n\t\t\tBoundingBox re = new BoundingBoxImpl(\"\"+srsID);\n\t\t\tfor (SimpleFeature f : this) {\n\t\t\t\tre.include(f.getBounds());\n\t\t\t}\n\t\t\tbounds = re;\n\t\t}\n\t\treturn bounds;\n\t}",
"private ArrayList<Figure> getBoxData(){\n ArrayList<Figure> box = new ArrayList<>();\n box.addAll(getCircleData());\n box.addAll(getRectangleData());\n\n return box;\n }",
"public ArrayList<Object> validateDefaultBoxTypes(){\n\t\tArrayList<Object> btList = new ArrayList<Object>();\n\t\t\n\t\tif(getList(PRODUCT_PATH)==null){\n\t\t\tbtList.addAll(defaultBoxTypes());\n\t\t\t\n\t\t\treturn btList;\n\t\t}\n\t\t\n\t\tfor(int i=0; i< defaultBoxTypes().size(); i++){\n\t\t\t\n\t\t\tif(defaultBoxTypes().get(i).equals(getList(PRODUCT_PATH).iterator())){\n\t\t\t\n\t\t\t}else{\n\t\t\t\tbtList.add(defaultBoxTypes().get(i));\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(btList.size()<0){\n\t\t\treturn null;\n\t\t}else{\n\t\t\treturn btList;\n\t\t}\n\t}",
"private void init() {\n \t\t// Initialise border cells as already visited\n \t\tfor (int x = 0; x < size + 2; x++) {\n \t\t\tvisited[x][0] = true;\n \t\t\tvisited[x][size + 1] = true;\n \t\t}\n \t\tfor (int y = 0; y < size + 2; y++) {\n \t\t\tvisited[0][y] = true;\n \t\t\tvisited[size + 1][y] = true;\n \t\t}\n \t\t\n \t\t\n \t\t// Initialise all walls as present\n \t\tfor (int x = 0; x < size + 2; x++) {\n \t\t\tfor (int y = 0; y < size + 2; y++) {\n \t\t\t\tnorth[x][y] = true;\n \t\t\t\teast[x][y] = true;\n \t\t\t\tsouth[x][y] = true;\n \t\t\t\twest[x][y] = true;\n \t\t\t}\n \t\t}\n \t}",
"public void createMinimap() {\n if (gameField.getFields().size() == 1024) {\n rootSize = 32;\n blockSize = 8;\n } else { //if size == 64^2 == 4096\n rootSize = 64;\n blockSize = 4;\n }\n int magnification = gameFieldController.getMagnification();\n if (AdvancedWarsApplication.getInstance().getGameScreenCon().base.getScene() != null) {\n positionBoxSizeX = blockSize *\n (AdvancedWarsApplication.getInstance().getGameScreenCon().base.getScene().getWidth() / (rootSize * magnification));\n\n positionBoxSizeY = blockSize *\n (AdvancedWarsApplication.getInstance().getGameScreenCon().base.getScene().getHeight() / (rootSize * magnification));\n } else {\n //for offline test\n positionBoxSizeX = (blockSize * 1920) / (rootSize * magnification);\n positionBoxSizeY = (blockSize * 1080) / (rootSize * magnification);\n }\n\n for (int i = 0; i < rootSize; ++i) {\n for (int j = 0; j < rootSize; ++j) {\n Field currentField = gameField.getFields().get(i * rootSize + j);\n Rectangle rectangle = new Rectangle(blockSize, blockSize);\n if (!currentField.getType().equals(\"Grass\")) {\n if (currentField.getType().equals(\"Water\")) {\n rectangle.setFill(Color.rgb(11, 89, 139));\n } else if (currentField.getType().equals(\"Forest\")) {\n rectangle.setFill(Color.rgb(38, 106, 0));\n } else { //if currentField equals Mountain\n rectangle.setFill(Color.rgb(95, 111, 54));\n }\n rectangle.relocate((i * blockSize) + 1, (j * blockSize) + 1);\n drawPane.getChildren().add(rectangle);\n }\n }\n }\n Rectangle rect = new Rectangle(positionBoxSizeX, positionBoxSizeY);\n Rectangle clip = new Rectangle(1, 1, positionBoxSizeX - 2, positionBoxSizeY - 2);\n positionBox = Shape.subtract(rect, clip);\n positionBox.setFill(Color.WHITE);\n drawPane.getChildren().add(positionBox);\n isCreated = true;\n }",
"private void initializeComboboxes() {\n ObservableList<Integer> options = FXCollections.observableArrayList(vertexesCurrentlyOnScreen);\n startingVertex = new ComboBox<>(options);\n finalVertex = new ComboBox<>(options);\n startingVertex.setBorder((new Border(new BorderStroke(Color.LIGHTGRAY, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(1.5)))));\n finalVertex.setBorder(new Border(new BorderStroke(Color.LIGHTGRAY, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(1.5))));\n }",
"public Box[][] getBoxes() {\n \treturn boxes;\n }",
"public PickBounds() {\n\tbounds = null;\n }",
"public BoundingBox3d() {\n reset();\n }",
"private void setUpBlocks() {\n\t\tdouble xStart=0;\n\t\tdouble midPoint = getWidth()/2;\n\t\tint yStart = BRICK_Y_OFFSET;\t\n\t\t\n\t\tfor(int i = 0; i < NBRICK_ROWS; i++) {\n\t\t\t\n\t\t\txStart = midPoint - (NBRICKS_PER_ROW/2 * BRICK_WIDTH) - BRICK_WIDTH/2;\n\t\t\tlayRowOfBricks(xStart, yStart, i);\n\t\t\tyStart += BRICK_HEIGHT + BRICK_SEP;\n\t\t}\t\n\t}",
"private void initialiseBags() {\r\n\t\t//Player one bag\r\n\t\taddToBag1(GridSquare.Type.a, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.b, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.c, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.d, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.e, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.f, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.g, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.h, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.i, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.j, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.k, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.l, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.m, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.n, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.o, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.p, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.q, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.r, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.s, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.t, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.u, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.v, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.w, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.x, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\t\r\n\t\t//Player two bag\r\n\t\taddToBag2(GridSquare.Type.A, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.B, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.C, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.D, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.E, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.F, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.G, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.H, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.I, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.J, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.K, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.L, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.M, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.N, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.O, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.P, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.Q, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.R, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.S, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.T, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.U, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.V, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.W, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.X, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t}",
"@Disabled(\"DAQ-2088 Fails because expecting units\")\n\t@Test\n\tpublic void checkInitialValues() throws Exception {\n\t\tassertEquals(bbox.getxAxisName(), bot.table(0).cell(0, 1));\n\t\tassertEquals(bbox.getxAxisStart()+\" mm\", bot.table(0).cell(1, 1));\n\t\tassertEquals(bbox.getxAxisLength()+\" mm\", bot.table(0).cell(2, 1));\n\t\tassertEquals(bbox.getyAxisName(), bot.table(0).cell(3, 1));\n\t\tassertEquals(bbox.getyAxisStart()+\" K\", bot.table(0).cell(4, 1));\n\t\tassertEquals(bbox.getyAxisLength()+\" K\", bot.table(0).cell(5, 1));\n\n\t}",
"private Board()\r\n {\r\n this.grid = new Box[Config.GRID_SIZE][Config.GRID_SIZE];\r\n \r\n for(int i = 0; i < Config.NB_WALLS; i++)\r\n {\r\n this.initBoxes(Wall.ID);\r\n }\r\n \r\n for(int i = 0; i < Config.NB_CHAIR; i++)\r\n {\r\n this.initBoxes(Chair.ID);\r\n }\r\n \r\n for(int i = 0; i < Config.NB_PLAYER; i++)\r\n {\r\n this.initBoxes(Chair.ID);\r\n }\r\n }",
"public void drawBoundingBoxes(Graphics g)\n\t{\n\t\tGraphics2D g2d = (Graphics2D) g;\n\t\t/*g2d.drawRect(0,0, originalBbox.getPoint(2).x - originalBbox.getPoint(0).x,\n \t\toriginalBbox.getPoint(2).y - originalBbox.getPoint(0).y);*/\n\t\t//g2d.drawRect(bbox.getPoint(0).x, bbox.getPoint(0).y, bbox.getPoint(2).x - bbox.getPoint(0).x,\n //\t\tbbox.getPoint(2).y - bbox.getPoint(0).y);\n\t\tg2d.setColor(new Color(0,255,0));\n\t\tg2d.drawPolygon(bbox.getXs(), bbox.getYs(), bbox.getNumPoints());\n\t}",
"private void setBoundingBox(Vector<Triangle_dt> triangulation) {\n\t\tfor (Integer i = 0; i < triangulation.size(); i++) {\n\t\t\tTriangle_dt currentTriangle = triangulation.get(i);\n\t\t\tPoint_dt p1 = currentTriangle.p1();\n\t\t\tPoint_dt p2 = currentTriangle.p2();\n\t\t\tPoint_dt p3 = currentTriangle.p3();\n\t\t\t\n\t\t\tupdateBoundingBox(p1);\n\t\t\tupdateBoundingBox(p2);\n\t\t\tif (p3 != null) {\n\t\t\t\tupdateBoundingBox(p3);\n\t\t\t}\n\t\t}\n\t}",
"private void setSizeBox() {\n\t\t\tthis.leftX = pointsSubStroke.get(0).getX();\n\t\t\tthis.righX = pointsSubStroke.get(0).getX();\n\t\t\tthis.topY = pointsSubStroke.get(0).getY();\n\t\t\tthis.bottomY = pointsSubStroke.get(0).getY();\n\t\t\t\n\t\t\tfor(int i = 0; i < pointsSubStroke.size();i++) {\n\t\t\t\tdouble x = pointsSubStroke.get(i).getX();\n\t\t\t\tdouble y = pointsSubStroke.get(i).getX();\n\t\t\t\t\n\t\t\t\tthis.leftX = Math.min(x, leftX);\n\t\t\t\tthis.righX = Math.max(x, righX);\n\t\t\t\tthis.topY = Math.min(y, topY);\n\t\t\t\tthis.bottomY = Math.max(y, bottomY);\n\t\t\t}\n\t\t}",
"public BoundingBox getBoundingBox ( ) {\n\t\t// TODO: backwards compatibility required\n\t\treturn invokeSafe ( \"getBoundingBox\" );\n\t}",
"public void setBoxes(PokemonBox[] boxes)\n\t{\n\t\tm_boxes = boxes;\n\t}",
"public Rect getBBox() throws PDFNetException {\n/* 857 */ return new Rect(GetBBox(this.a));\n/* */ }",
"public void calculateBoundsAABB() {\n\t\tsuper.minY = 0;\n\t\tradius = 0;\n\t\tmaxY = 0;\n\t\tminX = 999999;\n\t\tmaxX = -999999;\n\t\tmaxZ = -99999;\n\t\tminZ = 99999;\n\t\tfor (int j = 0; j < vertexCount; j++) {\n\t\t\tint x = vertexX[j];\n\t\t\tint y = vertexY[j];\n\t\t\tint z = vertexZ[j];\n\t\t\tif (x < minX) {\n\t\t\t\tminX = x;\n\t\t\t}\n\t\t\tif (x > maxX) {\n\t\t\t\tmaxX = x;\n\t\t\t}\n\t\t\tif (z < minZ) {\n\t\t\t\tminZ = z;\n\t\t\t}\n\t\t\tif (z > maxZ) {\n\t\t\t\tmaxZ = z;\n\t\t\t}\n\t\t\tif (-y > super.minY) {\n\t\t\t\tsuper.minY = -y;\n\t\t\t}\n\t\t\tif (y > maxY) {\n\t\t\t\tmaxY = y;\n\t\t\t}\n\t\t\tint radiusSqr = (x * x) + (z * z);\n\t\t\tif (radiusSqr > radius) {\n\t\t\t\tradius = radiusSqr;\n\t\t\t}\n\t\t}\n\t\tradius = (int) Math.sqrt(radius);\n\t\tminDepth = (int) Math.sqrt((radius * radius) + (super.minY * super.minY));\n\t\tmaxDepth = minDepth + (int) Math.sqrt((radius * radius) + (maxY * maxY));\n\t}",
"protected void setBBox( org.geotools.data.wms.request.GetMapRequest getMap, Envelope envelope ) {\n String version = getMap.getProperties().getProperty( Request.VERSION );\n boolean forceXY = version == null || !version.startsWith( \"1.3\" );\n String srsName = CRS.toSRS( envelope.getCoordinateReferenceSystem() );\n \n CoordinateReferenceSystem crs = AbstractGetMapRequest.toServerCRS( srsName, forceXY );\n Envelope bbox = null;\n try {\n bbox = CRS.transform( envelope, crs );\n } \n catch (TransformException e) {\n bbox = envelope;\n }\n // FIXME\n String s = srsName.contains( \"31468\" ) && version.startsWith( \"1.3\" )\n ? Joiner.on( ',' ).join( bbox.getMinimum(1), bbox.getMinimum(0), bbox.getMaximum(1), bbox.getMaximum(0) )\n : Joiner.on( ',' ).join( bbox.getMinimum(0), bbox.getMinimum(1), bbox.getMaximum(0), bbox.getMaximum(1) );\n //log.info( \"Requested BBOX: \" + s );\n getMap.setBBox( s );\n }",
"public AxisAlignedBB getBoundingBox()\r\n {\r\n return null;\r\n }",
"@Override\n\tpublic AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) \n\t{\n\t\treturn BOUNDING_BOX;\n\t}",
"private void generateBoxGeom()\n {\n // textures all share the same array, so process separately.\n textureBuffer = createBuffer(BOX_TEX_COORDS.length);\n textureBuffer.put(BOX_TEX_COORDS);\n textureBuffer.rewind();\n\n vertexBuffer = new FloatBuffer[6];\n normalBuffer = new FloatBuffer[6];\n\n for(int i = 0; i < 6; i++)\n {\n vertexBuffer[i] = createBuffer(12);\n normalBuffer[i] = createBuffer(12);\n }\n\n vertexBuffer[POSITIVE_X].put(RIGHT_BOX_COORDS);\n normalBuffer[POSITIVE_X].put(RIGHT_BOX_NORMALS);\n\n vertexBuffer[NEGATIVE_X].put(LEFT_BOX_COORDS);\n normalBuffer[NEGATIVE_X].put(LEFT_BOX_NORMALS);\n\n vertexBuffer[POSITIVE_Y].put(TOP_BOX_COORDS);\n normalBuffer[POSITIVE_Y].put(TOP_BOX_NORMALS);\n\n vertexBuffer[NEGATIVE_Y].put(BOTTOM_BOX_COORDS);\n normalBuffer[NEGATIVE_Y].put(BOTTOM_BOX_NORMALS);\n\n vertexBuffer[POSITIVE_Z].put(BACK_BOX_COORDS);\n normalBuffer[POSITIVE_Z].put(BACK_BOX_NORMALS);\n\n vertexBuffer[NEGATIVE_Z].put(FRONT_BOX_COORDS);\n normalBuffer[NEGATIVE_Z].put(FRONT_BOX_NORMALS);\n\n for(int i = 0; i < 6; i++)\n {\n vertexBuffer[i].rewind();\n normalBuffer[i].rewind();\n }\n }",
"public int[] getBoxes() { return boxes; }",
"protected Box getGroupBounds (int idx)\n {\n if (_groupBounds.length <= idx) {\n Box[] obounds = _groupBounds;\n _groupBounds = new Box[idx + 1];\n System.arraycopy(obounds, 0, _groupBounds, 0, obounds.length);\n for (int ii = obounds.length; ii < _groupBounds.length; ii++) {\n _groupBounds[ii] = new Box();\n }\n }\n return _groupBounds[idx];\n }",
"private Coordinate[] generateBoundingBox(final Geometry geometry) {\n if (geometry == null || geometry.getCoordinates() == null || geometry.getCoordinates().length == 0) {\n return new Coordinate[]{new Coordinate(0,0),new Coordinate(0,0)};\n }\n final Coordinate firstPoint = geometry.getCoordinates()[0];\n double minLat = firstPoint.y;\n double minLon = firstPoint.x;\n double maxLat = firstPoint.y;\n double maxLon = firstPoint.x;\n for (final Coordinate coordinate : geometry.getCoordinates()) {\n if (coordinate.x < minLon) {\n minLon = coordinate.x;\n }\n if (coordinate.y < minLat) {\n minLat = coordinate.y;\n }\n if (coordinate.x > maxLon) {\n maxLon = coordinate.x;\n }\n if (coordinate.y > maxLat) {\n maxLat = coordinate.y;\n }\n }\n return new Coordinate[]{\n new Coordinate(minLon, minLat),\n new Coordinate(maxLon, maxLat)\n };\n }",
"public void computeStoredBounds()\n {\n computeSRectangleBound();\n computeCircleBound();\n }",
"private void initExplorationBounds() {\n switch (configuration.getCoverageCriteria()) {\n case GOAL_COVERAGE:\n case BRANCH_COVERAGE:\n configuration.setObjectScope(configuration.isIncrementalLoopUnroll() ?\n FajitaConfiguration.INITIAL_INCREMENTAL_OBJECT_SCOPE :\n configuration.getMaximumObjectScope()\n );\n configuration.setLoopUnroll(configuration.isIncrementalLoopUnroll() ?\n FajitaConfiguration.INITIAL_INCREMENAL_LOOP_UNROLL :\n configuration.getMaximumLoopUnroll()\n );\n break;\n case CLASS_COVERAGE:\n case DUAL_CLASS_BRANCH_COVERAGE:\n configuration.setObjectScope(configuration.getMaximumObjectScope());\n configuration.setLoopUnroll(configuration.getMaximumLoopUnroll());\n break;\n }\n }",
"private Object setupDefaultPrototype() {\n }",
"private void actualizaHitbox() {\n hitbox = new Rect((int)(posX + 0.2 * bala.getWidth()), (int)(posY + 0.2 * bala.getHeight()), (int)(posX + 0.8 * bala.getWidth()), (int)(posY + 0.8 * bala.getHeight()));\n }",
"@Override\n\tpublic void createParametersBounds() {\n\t\tMap<String, List<Double>> parametersBounds = new HashMap<String, List<Double>>();\n\t\tparametersBounds.put(PROBCATCH_PARAMETER_LABEL_GUI, probCatchBounds);\n\t\tsetParametersBounds(parametersBounds);\n\t}",
"public Rectangle getBoundingBox() {\n return new Rectangle(this);\r\n }",
"public DrawGraphics() {\r\n box = new BouncingBox(200, 50, Color.RED);\r\n\tbox.setMovementVector(1,1);\r\n\r\n\tboxes = new ArrayList<BouncingBox>();\r\n\tboxes.add(new BouncingBox(35,40, Color.BLUE));\r\n\tboxes.get(0).setMovementVector(2,-1);\r\n\tboxes.add(new BouncingBox(120,80, Color.GREEN));\r\n\tboxes.get(1).setMovementVector(-1,2);\r\n\tboxes.add(new BouncingBox(500,80, Color.PINK));\r\n\tboxes.get(2).setMovementVector(-2,-2);\r\n }",
"private void updateBoundingBox(GM_Object geo) {\r\n double minx_ = 0; double miny_ = 0;\r\n double maxx_ = 0; double maxy_ = 0;\r\n \r\n if ( geo instanceof GM_Point ) {\r\n minx_ = ((GM_Point)geo).getX();\r\n miny_ = ((GM_Point)geo).getY();\r\n maxx_ = ((GM_Point)geo).getX();\r\n maxy_ = ((GM_Point)geo).getY();\r\n } else {\r\n GM_Envelope tmp = geo.getEnvelope();\r\n minx_ = tmp.getMin().getX();\r\n miny_ = tmp.getMin().getY();\r\n maxx_ = tmp.getMax().getX();\r\n maxy_ = tmp.getMax().getY();\r\n }\r\n \r\n if ( minx_ < minx ) minx = minx_;\r\n if ( maxx_ > maxx ) maxx = maxx_;\r\n if ( miny_ < miny ) miny = miny_;\r\n if ( maxy_ > maxy ) maxy = maxy_;\r\n }",
"protected void computeBounds() {\r\n bounds = new Rectangle(layout.location.x - icon.getIconWidth() / 2,\r\n layout.location.y - icon.getIconHeight() / 2, icon.getIconWidth(), icon.getIconHeight()).union(labelBox)\r\n .union(ports[0].getBounds()).union(ports[1].getBounds()).union(ports[2].getBounds())\r\n .union(component.getType() == TemplateComponent.TYPE_CHANNEL\r\n ? ports[3].getBounds().union(supHalo.getBounds())\r\n : ports[3].getBounds());\r\n }",
"@Override\n\tpublic BoundaryRectangle getBoundingBox() {\n\t\treturn new BoundaryRectangle(0, 0, drawView.getWidth(), drawView.getHeight());\n\t}",
"public Rectangle getBounds() {\n\t\tRectangle Box = new Rectangle(x, y, 48, 48);\n\t\treturn Box;\n\t}",
"public void testHandlesBlankBoxes()\n {\n byte[] grid = new byte[]\n {\n 5, 4, 0, 0, 2, 0, 9, 6, 8, 0, 0, 2, 9, 8, 0, 0, 4, 0, 6, 9, 0, 0, 5,\n 4, 2, 0, 0, 8, 0, 0, 0, 0, 9, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 7, 0, 1, 0, 0, 0, 0, 3, 0, 0, 1, 4, 3, 0, 0, 5, 9, 0, 5, 0, 0, 1, 2,\n 3, 0, 0, 7, 3, 4, 0, 9, 0, 0, 8, 2\n };\n final GridSolver cs = new GridSolver(grid);\n Thread test = new Thread(\"BlankBoxes\")\n {\n public void run()\n {\n cs.solveGrid();\n }\n };\n\n test.start();\n\n try\n {\n test.join(27000);\n }\n catch (Exception e)\n {\n }\n\n assertFalse(test.isAlive());\n assertTrue(new GridChecker(cs.getDataSolution()).checkGrid());\n }",
"void setBox();",
"private void setUsedValueInBoxes() {\n \n setUsedValuesByBox(1,3,1,3);\n setUsedValuesByBox(1,3,4,6);\n setUsedValuesByBox(1,3,7,9);\n setUsedValuesByBox(4,6,1,3);\n setUsedValuesByBox(4,6,4,6);\n setUsedValuesByBox(4,6,7,9);\n setUsedValuesByBox(7,9,1,3);\n setUsedValuesByBox(7,9,4,6);\n setUsedValuesByBox(7,9,7,9);\n }",
"public void updateBounds() {\n\t\tswitch (this.species){\n\t\tcase HOGCHOKER:\n\t\tcase SILVERSIDE:\n\t\tcase FLOUNDER:\n\t\t\tthis.topYBound = frameHeight / 3 * 2;\n\t\t\tthis.bottomYBound = frameHeight - imageHeight - frameBarSize;\n\t\t\tbreak;\n\t\tcase PERCH: \n\t\tcase MINNOW: \n\t\tcase WEAKFISH:\n\t\t\tthis.topYBound = frameHeight / 3;\n\t\t\tthis.bottomYBound = frameHeight / 3 * 2 - imageHeight;\n\t\t\tbreak;\n\n\t\tcase MENHADEN:\n\t\tcase MUMMICHOG:\n\t\t\tthis.topYBound = 0;\n\t\t\tthis.bottomYBound = frameHeight / 3 - imageHeight;\n\t\t\tbreak;\n\t\tcase GOLD:\n\t\tdefault:\n\t\t\ttopYBound = 0;\n\t\t\tbottomYBound = frameHeight;\n\t\t}\n\t}",
"public GeographicBoundingBox getBoundingBox()\r\n {\r\n return myBoundingBox;\r\n }",
"public void createDefaultClans() {\n\n\t\t// Loop through all subclans (tribes)\n\t\tfor (Subclan sub : Subclan.values()) {\n\n\t\t\t// Flag for whether a default clan for that tribe exists\n\t\t\tboolean exists = false;\n\n\t\t\t// Loop through every clan with that tribe\n\t\t\tfor (Clan c : clans.stream().filter(c -> c.getSubclan().equals(sub)).collect(Collectors.toList())) {\n\t\t\t\tif (c.getID().equals(DEFAULT_CLAN_ID)) {\n\t\t\t\t\texists = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!exists) {\n\t\t\t\tcreateClan(DEFAULT_CLAN_ID, sub);\n\t\t\t}\n\t\t}\n\t}",
"public static Envelope createSafeBBOX(String bboxInput) throws InvalidParameterValueException{\n \t\n \tString[] splittedBBOX = bboxInput.split(\",\");\t\t\n \n \tif ( splittedBBOX.length != 4 ) {\n \t \n \tString message = \"Parameter 'BBOX' is not valid\" ;\n \tthrow new InvalidParameterValueException( message ) ;\n \t\n }\n \n \tdouble minx = Double.parseDouble( splittedBBOX[0] ) ; \n \tdouble maxx = Double.parseDouble( splittedBBOX[2] ) ; \n \t\n \tif ( minx >= maxx ) {\n \n \t\tString message = \"Paremeter 'BBOX' is not valid: \";\n \tmessage = \"\\n 'minx < maxx' is required , found (\" + minx +\">=\" +maxx+\")\";\n throw new InvalidParameterValueException( message );\n \n }\n \t\n \tdouble miny = Double.parseDouble( splittedBBOX[1] );\n \tdouble maxy = Double.parseDouble( splittedBBOX[3] );\n \t\n \tif ( miny >= maxy) {\n \n \t\t\tString message = \"Paremeter 'BBOX' is not valid: \" \n \t\t\t + \"\\n 'miny < maxy' is required found (\" + miny +\">=\" +maxy+\")\";\n throw new InvalidParameterValueException( message );\n \n \t}\n\n Envelope env = GeometryFactory.createEnvelope(minx, miny, maxx, maxy, null);\n return env;\n }",
"public void setBoxWeights(float boxVal, int itmin, int itmax, int ixmin, int ixmax, \n int ntf, int nx) {\n float[][] w = zerofloat(ntf,nx);\n for (int ix = ixmin; ix<=ixmax; ++ix) {\n for (int it=itmin; it<=itmax; ++it) { \n w[ix][it] = boxVal;\n }\n }\n _w2D = w;\n _weights = true;\n }",
"public void setBoxWeights(float boxVal, int itmin, int itmax, int ntf) {\n float[] w = zerofloat(ntf);\n for (int i=itmin; i<=itmax; ++i) {\n w[i] = boxVal;\n }\n _w1D = w;\n _weights = true;\n }",
"public void setDefaultValues() {\n\t\ttfRow = new JTextField();\n\t\ttfRow.setText(\"0\");\n\t\ttfCol = new JTextField();\n\t\ttfCol.setText(\"0\");\n\t\tfor (int i = 0; i < 7; i++) {\n\t\t\ttfWest[i] = new JTextField();\n\t\t\ttfWest[i].setText(\"0\");\n\t\t\t;\n\t\t\ttfWest[i].setPreferredSize(new Dimension(50, 20));\n\t\t\ttfSouth[i] = new JTextField();\n\t\t\ttfSouth[i].setText(\"0\");\n\t\t\t;\n\t\t}\n\t\tfor (int row = 0; row < lblCenter.length; row++) {\n\t\t\tfor (int col = 0; col < lblCenter[row].length; col++) {\n\t\t\t\tlblCenter[row][col] = new JLabel(\"0\");\n\t\t\t\tlblCenter[row][col].setPreferredSize(new Dimension(30, 30));\n\t\t\t\tlblCenter[row][col].setHorizontalAlignment(JLabel.CENTER);\n\t\t\t\tlblCenter[row][col].setBackground(new java.awt.Color(150, 150, 150));\n\t\t\t\tlblCenter[row][col].setOpaque(true);\n\t\t\t}\n\t\t}\n\t}",
"private void initBorderPositions(int blockX0, int blockY0, int blockWidth, int blockHeight) {\n\t\t// Top\n\t\tborderTopXMin = blockX0;\n\t\tborderTopXMax = blockX0 + blockWidth;\n\t\tborderTopYMin = blockY0;\n\t\tborderTopYMax = blockY0 + DEFAULT_BORDER_WEIGHT;\n\t\t// Right\n\t\tborderRightXMin = blockX0 + blockWidth - DEFAULT_BORDER_WEIGHT;\n\t\tborderRightXMax = blockX0 + blockWidth;\n\t\tborderRightYMin = blockY0;\n\t\tborderRightYMax = blockY0 + blockHeight;\n\t\t// Bottom\n\t\tborderBottomXMin = blockX0;\n\t\tborderBottomXMax = blockX0 + blockWidth;\n\t\tborderBottomYMin = blockY0 + blockHeight - DEFAULT_BORDER_WEIGHT;\n\t\tborderBottomYMax = blockY0 + blockHeight;\n\t\t// Left\n\t\tborderLeftXMin = blockX0;\n\t\tborderLeftXMax = blockX0 + DEFAULT_BORDER_WEIGHT;\n\t\tborderLeftYMin = blockY0;\n\t\tborderLeftYMax = blockY0 + blockHeight;\n\t}",
"private void updateBoundingBox()\n\t{\n\t\tif (this.facingDirection != null)\n\t\t{\n\t\t\tdouble d0 = (double) this.hangingPosition.getX() + 0.5D;\n\t\t\tdouble d1 = (double) this.hangingPosition.getY() + 0.5D;\n\t\t\tdouble d2 = (double) this.hangingPosition.getZ() + 0.5D;\n\t\t\tdouble d3 = 0.46875D;\n\t\t\tdouble d4 = this.someFunc(this.getWidthPixels());\n\t\t\tdouble d5 = this.someFunc(this.getHeightPixels());\n\t\t\td0 = d0 - (double) this.facingDirection.getFrontOffsetX() * 0.46875D;\n\t\t\td2 = d2 - (double) this.facingDirection.getFrontOffsetZ() * 0.46875D;\n\t\t\td1 = d1 + d5;\n\t\t\tEnumFacing enumfacing = this.facingDirection.rotateYCCW();\n\t\t\td0 = d0 + d4 * (double) enumfacing.getFrontOffsetX();\n\t\t\td2 = d2 + d4 * (double) enumfacing.getFrontOffsetZ();\n\t\t\tthis.posX = d0;\n\t\t\tthis.posY = d1;\n\t\t\tthis.posZ = d2;\n\t\t\tdouble d6 = (double) this.getWidthPixels();\n\t\t\tdouble d7 = (double) this.getHeightPixels();\n\t\t\tdouble d8 = (double) this.getWidthPixels();\n\n\t\t\tif (this.facingDirection.getAxis() == EnumFacing.Axis.Z)\n\t\t\t{\n\t\t\t\td8 = 1.0D;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\td6 = 1.0D;\n\t\t\t}\n\n\t\t\t// ???\n\n\t\t\td6 = d6 / (this.getWidthPixels() / this.blocksToTakeUp() * 2D);\n\t\t\td7 = d7 / (this.getHeightPixels() / this.blocksToTakeUp() * 2D);\n\t\t\td8 = d8 / (this.getWidthPixels() / this.blocksToTakeUp() * 2D);\n\t\t\tthis.setEntityBoundingBox(new AxisAlignedBB(d0 - d6, d1 - d7, d2 - d8, d0 + d6, d1 + d7, d2 + d8));\n\t\t}\n\t}",
"public Rectangle getBoundingBox() {\n\t\treturn getBounds();\n\t}",
"private void loadBoxes() {\n\t\tBoxPanel.add(userNumTextBox);\n\t\tBoxPanel.add(userRdTextBox);\n\t\tBoxPanel.add(searchUser);\n\t\tRootPanel.get(\"box-window\").add(BoxPanel);\n\t\tuserNumTextBox.setFocus(true);\n\t\tuserRdTextBox.setFocus(true);\n\n\t\t// listen for mouse click on search key (to find user location)\n\t\tsearchUser.addClickHandler(new ClickHandler() {\n\t\t\tpublic void onClick(ClickEvent event) {\n\n\t\t\t\tfinal String num = userNumTextBox.getText().trim();\n\t\t\t\tuserNumTextBox.setFocus(true);\n\t\t\t\tfinal String rd = userRdTextBox.getText();\n\t\t\t\tuserRdTextBox.setFocus(true);\n\t\t\t\tul = new UserLocation(num, rd);\n\t\t\t\t// logger.log(Level.INFO, \"LatLong\" + \" \" + ul.getLat() + \",\" +\n\t\t\t\t// ul.getLong());\n\n\t\t\t}\n\t\t});\n\t}",
"private void init() {\r\n setTitle(\"Crop Boundary Pixels\");\r\n setSize(350, 230);\r\n setForeground(Color.black);\r\n\r\n Box contentBox = new Box(BoxLayout.Y_AXIS);\r\n JPanel optionPanel = new JPanel();\r\n\r\n // make border\r\n optionPanel.setBorder(buildTitledBorder(\"Pixels Around Image\"));\r\n contentBox.add(optionPanel);\r\n\r\n // set layout\r\n GridBagLayout gbl = new GridBagLayout();\r\n GridBagConstraints gbc = new GridBagConstraints();\r\n optionPanel.setLayout(gbl);\r\n\r\n gbc.anchor = GridBagConstraints.NORTHWEST;\r\n // make content, place into layout\r\n\r\n // left\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n\r\n JLabel leftSideLabel = new JLabel(\"Pixels on the left side:\");\r\n leftSideLabel.setFont(serif12);\r\n leftSideLabel.setForeground(Color.black);\r\n leftSideLabel.setRequestFocusEnabled(false);\r\n gbc.gridwidth = 2;\r\n gbl.setConstraints(leftSideLabel, gbc);\r\n optionPanel.add(leftSideLabel);\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n\r\n leftSideInput = new JTextField(\"0\", 4);\r\n leftSideInput.addActionListener(this);\r\n MipavUtil.makeNumericsOnly(leftSideInput, false);\r\n\r\n gbc.gridwidth = GridBagConstraints.REMAINDER;\r\n gbl.setConstraints(leftSideInput, gbc);\r\n optionPanel.add(leftSideInput);\r\n\r\n // right\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n\r\n JLabel rightSideLabel = new JLabel(\"Pixels on the right side:\");\r\n rightSideLabel.setFont(serif12);\r\n rightSideLabel.setForeground(Color.black);\r\n rightSideLabel.setRequestFocusEnabled(false);\r\n gbc.gridwidth = 2;\r\n gbl.setConstraints(rightSideLabel, gbc);\r\n optionPanel.add(rightSideLabel);\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n\r\n rightSideInput = new JTextField(\"0\", 4);\r\n rightSideInput.addActionListener(this);\r\n MipavUtil.makeNumericsOnly(rightSideInput, false);\r\n\r\n gbc.gridwidth = GridBagConstraints.REMAINDER;\r\n gbl.setConstraints(rightSideInput, gbc);\r\n optionPanel.add(rightSideInput);\r\n\r\n // top\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n\r\n JLabel topLabel = new JLabel(\"Pixels on top:\");\r\n topLabel.setFont(serif12);\r\n topLabel.setForeground(Color.black);\r\n topLabel.setRequestFocusEnabled(false);\r\n gbc.gridwidth = 2;\r\n gbl.setConstraints(topLabel, gbc);\r\n optionPanel.add(topLabel);\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n topInput = new JTextField(\"0\", 4);\r\n topInput.addActionListener(this);\r\n MipavUtil.makeNumericsOnly(topInput, false);\r\n gbc.gridwidth = GridBagConstraints.REMAINDER;\r\n gbl.setConstraints(topInput, gbc);\r\n optionPanel.add(topInput);\r\n\r\n // bottom\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n\r\n JLabel bottomLabel = new JLabel(\"Pixels on bottom:\");\r\n bottomLabel.setFont(serif12);\r\n bottomLabel.setForeground(Color.black);\r\n bottomLabel.setRequestFocusEnabled(false);\r\n gbc.gridwidth = 2;\r\n gbl.setConstraints(bottomLabel, gbc);\r\n optionPanel.add(bottomLabel);\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n bottomInput = new JTextField(\"0\", 4);\r\n bottomInput.addActionListener(this);\r\n MipavUtil.makeNumericsOnly(bottomInput, false);\r\n gbc.gridwidth = GridBagConstraints.REMAINDER;\r\n gbl.setConstraints(bottomInput, gbc);\r\n optionPanel.add(bottomInput);\r\n\r\n // front\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n\r\n JLabel frontLabel = new JLabel(\"Slices at the front of image:\");\r\n frontLabel.setFont(serif12);\r\n frontLabel.setForeground(Color.black);\r\n frontLabel.setRequestFocusEnabled(false);\r\n gbc.gridwidth = 2; // GridBagConstraints.RELATIVE;\r\n gbl.setConstraints(frontLabel, gbc);\r\n optionPanel.add(frontLabel);\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n frontInput = new JTextField(\"0\", 4);\r\n frontInput.addActionListener(this);\r\n MipavUtil.makeNumericsOnly(frontInput, false);\r\n gbc.gridwidth = GridBagConstraints.REMAINDER;\r\n gbl.setConstraints(frontInput, gbc);\r\n optionPanel.add(frontInput);\r\n\r\n // back\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n\r\n JLabel backLabel = new JLabel(\"Slices at the back of image:\");\r\n backLabel.setFont(serif12);\r\n backLabel.setForeground(Color.black);\r\n backLabel.setRequestFocusEnabled(false);\r\n gbc.gridwidth = 2; // GridBagConstraints.RELATIVE;\r\n gbl.setConstraints(backLabel, gbc);\r\n optionPanel.add(backLabel);\r\n optionPanel.add(Box.createHorizontalStrut(10));\r\n backInput = new JTextField(\"0\", 4);\r\n backInput.addActionListener(this);\r\n MipavUtil.makeNumericsOnly(backInput, false);\r\n gbc.gridwidth = GridBagConstraints.REMAINDER;\r\n gbl.setConstraints(backInput, gbc);\r\n optionPanel.add(backInput);\r\n\r\n // image destination select\r\n JPanel destPanel = new JPanel(); // panel carries no content but box & border\r\n destPanel.setBorder(buildTitledBorder(\"Select Destination\"));\r\n\r\n Box destinationBox = new Box(BoxLayout.Y_AXIS);\r\n\r\n destinationGroup = new ButtonGroup();\r\n newImage = new JRadioButton(\"New Image\", true);\r\n newImage.setFont(serif12);\r\n newImage.addActionListener(this);\r\n destinationGroup.add(newImage);\r\n destinationBox.add(newImage);\r\n newImage.setEnabled(true);\r\n\r\n replaceImage = new JRadioButton(\"Replace Image\", false);\r\n replaceImage.setFont(serif12);\r\n replaceImage.addActionListener(this);\r\n destinationGroup.add(replaceImage);\r\n destinationBox.add(replaceImage);\r\n replaceImage.setEnabled(true);\r\n destPanel.add(destinationBox);\r\n contentBox.add(destPanel);\r\n\r\n // test speed panel (choice 1: algo has personal buff, imported into img,\r\n // choice 2: algo calcs where to insert a row. methinks fewer loops)\r\n /*\r\n * JPanel loopingTestPanel = new JPanel(); loopingTestPanel.setBorder(buildTitledBorder(\"Looping test\")); Box\r\n * loopingTestBox = new Box(BoxLayout.Y_AXIS); loopingGroup = new ButtonGroup(); noBuffer = new JRadioButton(\"No\r\n * Buffer\", true); noBuffer.setFont(serif12); noBuffer.addActionListener(this); loopingGroup.add(noBuffer);\r\n * loopingTestBox.add(noBuffer); usingBuffer = new JRadioButton(\"Uses Buffer\", false);\r\n * usingBuffer.setFont(serif12); usingBuffer.addActionListener(this); loopingGroup.add(usingBuffer);\r\n * loopingTestBox.add(usingBuffer); loopingTestPanel.add(loopingTestBox); contentBox.add(loopingTestPanel);\r\n */\r\n // end looping test display\r\n\r\n /*\r\n * JPanel OKCancelPanel = new JPanel(new FlowLayout()); OKButton = buildOKButton(); OKCancelPanel.add(OKButton);\r\n *\r\n * cancelButton = buildCancelButton(); OKCancelPanel.add(cancelButton); contentBox.add(OKCancelPanel);\r\n */\r\n contentBox.add(buildButtons());\r\n\r\n // if this is a 2D image, turn off slice margins\r\n if (image.getNDims() == 2) {\r\n frontLabel.setEnabled(false);\r\n frontInput.setEnabled(false);\r\n backLabel.setEnabled(false);\r\n backInput.setEnabled(false);\r\n }\r\n\r\n mainDialogPanel.add(contentBox);\r\n getContentPane().add(mainDialogPanel);\r\n\r\n pack();\r\n setVisible(true);\r\n }",
"public void testBug1766646B() {\n XYBlockRenderer r = new XYBlockRenderer();\n Range range = r.findRangeBounds(null);\n DefaultXYZDataset emptyDataset = new DefaultXYZDataset();\n range = r.findRangeBounds(emptyDataset);\n }",
"private void boxCreator(int[] pos, int width, int height) {\n for (int x = pos[0]; x < pos[0] + width; x++) {\n tiles[x][pos[1]] = Tileset.WALL;\n }\n for (int y = pos[1]; y < pos[1] + height; y++) {\n tiles[pos[0]][y] = Tileset.WALL;\n }\n for (int x = pos[0]; x < pos[0] + width; x++) {\n tiles[x][pos[1] + height] = Tileset.WALL;\n }\n for (int y = pos[1]; y < pos[1] + height + 1; y++) {\n tiles[pos[0] + width][y] = Tileset.WALL;\n }\n for (int y = pos[1] + 1; y < pos[1] + height; y++) {\n for (int x = pos[0] + 1; x < pos[0] + width; x++) {\n tiles[x][y] = Tileset.FLOWER;\n }\n }\n }",
"public BRectangle2D\ngetNucSymbolBoundingBox()\nthrows Exception\n{\n\tBRectangle2D rect = (BRectangle2D)\n\t\tthis.getNucDrawObject().getBoundingBox().clone();\n\tif (rect == null)\n\t\treturn (null);\n\t\n\trect.setRect(rect.getX() + this.getX(), rect.getY() - this.getY(),\n\t\trect.getWidth(), rect.getHeight());\n\treturn (rect);\n}",
"public List<Float> getBoundingsOfCell() {\n\n\t\tfloat minXPoint = Float.POSITIVE_INFINITY;\n\t\tfloat maxXPoint = Float.NEGATIVE_INFINITY;\n\t\tfloat minYPoint = Float.POSITIVE_INFINITY;\n\t\tfloat maxYPoint = Float.NEGATIVE_INFINITY;\n\n\t\tfor (int i = 0; i < face.edges().size(); i++) {\n\n\t\t\tDCEL_Edge e = (DCEL_Edge) face.edges().get(i);\n\n\t\t\tArc2_Sweep arc = (Arc2_Sweep) e.reference;\n\n\t\t\t// Looking for most left located point of cell\n\t\t\tif (minXPoint > arc.minX().x) {\n\t\t\t\tminXPoint = arc.minX().x;\n\t\t\t}\n\t\t\t// Looking for most right located point of cell\n\t\t\tif (maxXPoint < arc.maxX().x) {\n\t\t\t\tmaxXPoint = arc.maxX().x;\n\t\t\t}\n\t\t\t// Looking for highest located point of cell\n\t\t\tif (minYPoint > arc.minY().y) {\n\t\t\t\tminYPoint = arc.minY().y;\n\t\t\t}\n\t\t\t// Looking for lowest located point of cell\n\t\t\tif (maxYPoint < arc.maxY().y) {\n\t\t\t\tmaxYPoint = arc.maxY().y;\n\t\t\t}\n\n\t\t}\n\n\t\tList<Float> boundings = new ArrayList<Float>();\n\t\tboundings.add(minXPoint);\n\t\tboundings.add(maxXPoint);\n\t\tboundings.add(minYPoint);\n\t\tboundings.add(maxYPoint);\n\t\treturn boundings;\n\n\t}",
"public void testBug1766646A() {\n XYBlockRenderer r = new XYBlockRenderer();\n Range range = r.findDomainBounds(null);\n DefaultXYZDataset emptyDataset = new DefaultXYZDataset();\n range = r.findDomainBounds(emptyDataset);\n }",
"public void updateBoundaries() {\n\t\t\n\t\tLOG.log(\"Updating boundaries.\");\n\t\t\n\t\tif (Program.WINDOW_MANAGER != null) {\n\t\t\t\n\t\t\tthis.setBounds(\n\t\t\t\tProgram.WINDOW_MANAGER.getScreenWidth() / 2 - this.getSize().width / 2,\n\t\t\t\tProgram.WINDOW_MANAGER.getScreenHeight() / 2 - this.getSize().height / 2,\n\t\t\t\tBOUNDS_LENGTH,\n\t\t\t\tBOUNDS_WIDTH\n\t\t\t);\n\t\t\tthis.setLocationRelativeTo(null);\n\t\t\t\n\t\t} else {\n\t\t\tthis.setBounds(10, 10, BOUNDS_LENGTH, BOUNDS_WIDTH);\n\t\t}\n\t}",
"public void\nrayPickBoundingBox(SoRayPickAction action, final SbBox3f bbox)\n//\n////////////////////////////////////////////////////////////////////////\n{\n // Save the state so we don't affect the real complexity\n action.getState().push();\n\n // Change the complexity\n SoComplexityElement.set(action.getState(), 0.0f);\n SoComplexityTypeElement.set(action.getState(),\n SoComplexityTypeElement.Type.OBJECT_SPACE);\n\n // Change the current matrix to scale and translate the cube to the\n // correct spot. (We can't just use an extra matrix passed to\n // computeObjectSpaceRay(), since the points generated by\n // generatePrimitives() have to be transformed, not just the ray.)\n final SbVec3fSingle size = new SbVec3fSingle();\n bbox.getSize(size);\n\n // If any of the dimensions is 0, beef it up a little bit to avoid\n // scaling by 0\n if (size.getValueRead()[0] == 0.0)\n size.getValue()[0] = 0.00001f;\n if (size.getValueRead()[1] == 0.0)\n size.getValue()[1] = 0.00001f;\n if (size.getValueRead()[2] == 0.0)\n size.getValue()[2] = 0.00001f;\n\n SoModelMatrixElement.translateBy(action.getState(), this,\n bbox.getCenter());\n SoModelMatrixElement.scaleBy(action.getState(), this,\n size.operator_mul(0.5f));\n\n // Compute the picking ray in the space of the shape\n computeObjectSpaceRay(action);\n\n // Pick using primitive generation. Make sure we know that we are\n // picking on just a bounding box of another shape, so details\n // won't be created.\n pickingBoundingBox = true;\n generatePrimitives(action);\n\n // Restore the state\n action.getState().pop();\n}",
"public BoundingBox3d transform(SpaceTransformer transformers) {\n return new BoundingBox3d(transformers.getX().compute(xmin), transformers.getX().compute(xmax),\n transformers.getY().compute(ymin), transformers.getY().compute(ymax),\n transformers.getZ().compute(zmin), transformers.getZ().compute(zmax));\n }",
"public void populate() { \n \n // make some grounds\n ground1 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground1.setPosition(new Vec2(-380, -200));\n \n Body ground2 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground2.setPosition(new Vec2(-0, -200));\n\n Body ground3 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground3.setPosition(new Vec2(300, -100));\n \n // make a moving platform \n Body movingPlatform = new SlidingPlatform(world, PolygonShape.makeBox(100, 5), new Vec2(130, 0), 2);\n movingPlatform.setPosition(new Vec2(-260, -150));\n \n // make some bottles\n Bottle bottle1 = new Bottle(game);\n bottle1.putOn(ground1);\n bottle1.setName(\"bottle1\");\n \n Bottle bottle2 = new Bottle(game);\n bottle2.putOn(ground2);\n bottle2.setName(\"bottle2\");\n \n Bottle bottle3 = new Bottle(game);\n bottle3.putOn(ground3);\n bottle3.setName(\"bottle3\");\n \n // show dialog with information about level\n JOptionPane.showMessageDialog(frame, \"Press N or M to throw bottles to kill Boxies.\", \"Level instructions:\", JOptionPane.PLAIN_MESSAGE);\n \n // make some boxies\n Boxy boxy1 = new Boxy(game);\n boxy1.setName(\"boxy1\");\n Vec2 vec1 = new Vec2(100, 0);\n boxy1.move(vec1);\n\n Boxy boxy2 = new Boxy(game);\n boxy2.setName(\"boxy2\");\n Vec2 vec2 = new Vec2(-100, 200);\n boxy2.move(vec2);\n\n Boxy boxy3 = new Boxy(game);\n boxy3.setName(\"boxy3\");\n Vec2 vec3 = new Vec2(-400, 200);\n boxy3.move(vec3);\n \n }",
"public Shape getBgetBoundingBox() {\r\n\t\t\r\n\t\tEllipse2D elilipse = new Ellipse2D.Double(0, 0, imageWidth, imageHeight);\r\n\t\tAffineTransform at = new AffineTransform(); \r\n\t\tat.translate(locationX, locationY);\r\n\t\tat.rotate(Math.toRadians(angle*sizeAngles));\r\n\t\t at.scale(0.5, 0.5);\r\n\t\tat.translate(-imageWidth/2, -imageHeight/2);\r\n\t\t\r\n\t\tShape rotatedRect = at.createTransformedShape(elilipse);\r\n\t\treturn rotatedRect;\r\n\t}",
"private void initDefaults() {\n _nodeFadeSourceColor = _defNodeFadeSourceColor;\n _nodeFadeDestinationColor = _defNodeFadeDestinationColor;\n\n _nodeStrokeSourceColor = _defNodeStrokeSourceColor;\n _nodeStrokeDestinationColor = _defNodeStrokeDestinationColor;\n\n _nodeStrokeSourceWidth = _defNodeStrokeSourceWidth;\n _nodeStrokeDestinationWidth = _defNodeStrokeDestinationWidth;\n\n _supportEdgeFadeSourceColor = _defSupportEdgeFadeSourceColor;\n _supportEdgeFadeDestinationColor = _defSupportEdgeFadeDestinationColor;\n\n _refuteEdgeFadeSourceColor = _defRefuteEdgeFadeSourceColor;\n _refuteEdgeFadeDestinationColor = _defRefuteEdgeFadeDestinationColor;\n\n _edgeStrokeSourceWidth = _defEdgeStrokeSourceWidth;\n _edgeStrokeDestinationWidth = _defEdgeStrokeDestinationWidth;\n\n _curvedLines = _defCurvedLines;\n\n _manualBackgroundColor = _defManualBackgroundColor;\n\n _realTimeSliderResponse = _defRealTimeSliderResponse;\n }",
"void resetHitboxCenter() {\n _hitboxCenter = new PVector(0, 0);\n }",
"@Override\n\tpublic BoundingSphereTree getBoundingSpheres() {\n\t\tthis.boundingSphere.setSphereColore3d(1,0,0);\n\t\tboundingSphereTree.setBoundingSphere(this.boundingSphere);\n\t\tboundingSphereTree.getList().add(wheels.getlWheel().getBoundingSphereTree());\n\t\tboundingSphereTree.getList().add(wheels.getrWheel().getBoundingSphereTree());\n\t\treturn boundingSphereTree;\n\t}",
"protected void computeBounds(List<? extends Drawable> outlines, Drawable plane) {\n this.bbox = new BoundingBox3d();\n\n if (plane.getBounds() != null && !plane.getBounds().isReset()) {\n bbox.add(plane.getBounds());\n }\n\n for (Drawable outline : outlines) {\n if (outline.getBounds() != null && !outline.getBounds().isReset()) {\n bbox.add(outline.getBounds());\n }\n }\n }"
] |
[
"0.6794962",
"0.6608531",
"0.6531819",
"0.63683176",
"0.61021894",
"0.59626245",
"0.59441197",
"0.58493197",
"0.5844816",
"0.58221465",
"0.5786644",
"0.5676765",
"0.56752586",
"0.56597614",
"0.55685556",
"0.55456376",
"0.55029356",
"0.54989994",
"0.5426104",
"0.5419185",
"0.5408767",
"0.5397268",
"0.5381774",
"0.5354592",
"0.53511727",
"0.53425825",
"0.53420657",
"0.5334145",
"0.5323343",
"0.53120726",
"0.53053534",
"0.5297366",
"0.5265653",
"0.5260664",
"0.5236126",
"0.5217552",
"0.521604",
"0.5196732",
"0.518718",
"0.5181537",
"0.5181286",
"0.5165853",
"0.5155736",
"0.5136424",
"0.51345044",
"0.51219445",
"0.510531",
"0.5099851",
"0.5089102",
"0.5082247",
"0.5060894",
"0.504709",
"0.5040462",
"0.50397927",
"0.50263524",
"0.502188",
"0.5007395",
"0.50071144",
"0.5004612",
"0.4979883",
"0.49790537",
"0.4969063",
"0.4965156",
"0.4952232",
"0.49406713",
"0.49316606",
"0.4915162",
"0.49143714",
"0.49105015",
"0.49101627",
"0.49032143",
"0.4892865",
"0.48923546",
"0.4891255",
"0.48911637",
"0.48895368",
"0.48894587",
"0.4888742",
"0.48839983",
"0.48791286",
"0.48787373",
"0.48785323",
"0.487518",
"0.48724487",
"0.4866539",
"0.48565844",
"0.48561028",
"0.48558745",
"0.4855018",
"0.48536366",
"0.4849751",
"0.4814013",
"0.48121524",
"0.48111093",
"0.48076105",
"0.48070264",
"0.4806722",
"0.48040813",
"0.48012558",
"0.48008746"
] |
0.7996336
|
0
|
SETUP BOUND BOXES Setup the Internal Bounding Boxes for the Feet. This divides the Feet into its vascular,muscular,tissue components As we are working with a collection, the hashmap will not contain a bunch of bound boxes with connectors. It will contain two BioMightBoxes. Each BioMightBox has a hashmap. with it will have all the inner connectors that are needed.
|
private HashMap setupBoundBoxes(BioMightBoundBoxes bioMightBoundBoxesIn)
{
// Set up the bounding boxes for the various components
// The various components locations will be driven by the
// bounding boxes
HashMap boundingBoxesMap = new HashMap();
// Initialize the position of the bounding box vars
BigDecimal xPos = new BigDecimal(0.0);
BigDecimal yPos = new BigDecimal(0.0);
BigDecimal zPos= new BigDecimal(0.0);
// Set to base 1x1x1 cube
BigDecimal xVector= new BigDecimal(1.0);
BigDecimal yVector= new BigDecimal(1.0);
BigDecimal zVector= new BigDecimal(1.0);
// Initialize the BoundBoxes. These will have a bound
// box for each foot by default
BioMightBoundBoxes bioBoundBoxes = null;
// Initialize the BoundBox
BioMightBoundBox bioBoundBox = null;
// Initialize the Connectors
BioMightConnectors bioMightConnectors = null;
// Initialize the Connector
BioMightConnector bioMightConnector= null;
double circumference = 0.0;
double[] startPos = {0.0, 0.0, 0.0};
double[][] startPoints = null;
double[] endPos = {0.0, 0.0, 0.0};
double[][] endPoints = null;
// Use the information in the incoming Bound Box
// to orientate the inner bound boxes
if (bioMightBoundBoxesIn != null)
{
// In the default instance,there will be two bound boxes
BioMightBoundBox bioMightBoundBoxTemp = bioMightBoundBoxesIn.getBoundingBox(Constants.LeftFootRef);
System.out.println("LeftFoot - SetupBoundBoxes - Incoming BoundBox: " +
bioMightBoundBoxTemp.getXPos() + " " +
bioMightBoundBoxTemp.getYPos() + " " +
bioMightBoundBoxTemp.getZPos());
// In the default instance,there will be two bound boxes
bioMightBoundBoxTemp = bioMightBoundBoxesIn.getBoundingBox(Constants.RightFootRef);
System.out.println("RightFoot - SetupBoundBoxes - Incoming BoundBox: " +
bioMightBoundBoxTemp.getXPos() + " " +
bioMightBoundBoxTemp.getYPos() + " " +
bioMightBoundBoxTemp.getZPos());
}
else
{
System.out.println("Feet SetupBoundBoxes - Incoming BoundBoxes are Null");
}
bioBoundBoxes = new BioMightBoundBoxes();
//*********************************************************************
// LEFT FOOT EPITHELIUM BOUNDBOX
// Set up the Bounding Box for the Feet
// The connector for this will come from the incoming Bound Box
// Both are defined like and bolt and they lock into position at the
// interestion of both connectors
//**********************************************************************
xPos = new BigDecimal(1.0);
yPos = new BigDecimal(-48.0);
zPos= new BigDecimal(0.0);
xVector= new BigDecimal(1.0);
yVector= new BigDecimal(4.0);
zVector= new BigDecimal(1.0);
bioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);
bioMightConnectors = new BioMightConnectors();
// Feet Epithelium Connector
circumference = 0.3;
startPos = getStartPoints(1.0, -65.0, -1.0);
startPoints = BioGraphics.octogonYPlane(startPos, circumference);
endPos = getEndPoints(1.0, -67.50, -1.0);
endPoints = BioGraphics.octogonYPlane(endPos, circumference);
bioMightConnector = new BioMightConnector(startPoints, endPoints, Constants.FootEpitheliumRef,"connType");
bioMightConnectors.setBioMightConnector(Constants.FootEpitheliumRef, bioMightConnector);
bioBoundBox.setBioMightConnectors(bioMightConnectors);
// Put the Bounding Box into the Collection of Bounding Boxes
System.out.println("Adding - LeftBoundBox to bioBoundBoxes");
bioBoundBoxes.setBoundingBox(Constants.FootEpitheliumRef, bioBoundBox);
// Put the BioMight BoundBoxes for the Left Foot into the BoundingBoxMap
boundingBoxesMap.put(Constants.LeftFootRef, bioBoundBoxes);
System.out.println("Adding - Left Foot bioBoundBoxes into BoxesMap");
bioBoundBoxes = new BioMightBoundBoxes();
//*********************************************************************
// RIGHT FOOT EPITHELIUM BOUNDBOX
// Set up the Bounding Box for the Feet
// The connector for this will come from the incoming Bound Box
// Both are defined like and bolt and they lock into position at the
// interestion of both connectors
//**********************************************************************
xPos = new BigDecimal(-8.0);
yPos = new BigDecimal(-65.0);
zPos= new BigDecimal(-1.0);
xVector= new BigDecimal(1.0);
yVector= new BigDecimal(4.0);
zVector= new BigDecimal(1.0);
bioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);
bioMightConnectors = new BioMightConnectors();
// Feet Epithelium Connector
circumference = 0.3;
startPos = getStartPoints(-1.0, -65.0, -1.0);
startPoints = BioGraphics.octogonYPlane(startPos, circumference);
endPos = getEndPoints(-1.0, -67.50, -1.0);
endPoints = BioGraphics.octogonYPlane(endPos, circumference);
bioMightConnector = new BioMightConnector(startPoints, endPoints, Constants.FootEpitheliumRef,"connType");
bioMightConnectors.setBioMightConnector(Constants.FootEpitheliumRef, bioMightConnector);
bioBoundBox.setBioMightConnectors(bioMightConnectors);
// Put the Bounding Box into the Collection of Bounding Boxes
System.out.println("Adding - RightBoundBox to bioBoundBoxes");
bioBoundBoxes.setBoundingBox(Constants.FootEpitheliumRef, bioBoundBox);
// Put the BioMight BoundBoxes for the Left Shoulder into the BoundingBoxMap
boundingBoxesMap.put(Constants.RightFootRef, bioBoundBoxes);
System.out.println("Adding - Right Foot bioBoundBoxes into BoxesMap");
return (boundingBoxesMap);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private HashMap setupBoundBoxes(BioMightBoundBox bioMightBoundBoxIn) \r\n\t{\r\n\t\t// Set up the bounding boxes for the various components\r\n\t\t// The various components locations will be driven by the\r\n\t\t// bounding boxes\r\n\t\tHashMap boundingBoxMap = new HashMap();\r\n\t\t\r\n\t\t// Initialize the position of the bounding box vars\r\n\t\tBigDecimal xPos = new BigDecimal(0.0);\r\n\t\tBigDecimal yPos = new BigDecimal(0.0);\r\n\t\tBigDecimal zPos= new BigDecimal(0.0);\r\n\t\t\t\r\n\t\t// Set to base 1x1x1 cube\r\n\t\tBigDecimal xVector= new BigDecimal(1.0);\r\n\t\tBigDecimal yVector= new BigDecimal(1.0); \r\n\t\tBigDecimal zVector= new BigDecimal(1.0);\r\n\r\n\t\t// Initialize the BoundBoxes. This is used for\r\n\t\t// collections such as arms, legs,lungs,etc\r\n\t\tBioMightBoundBoxes bioBoundBoxes = null;\r\n\t\r\n\t\t// Initialize the BoundBox\r\n\t\tBioMightBoundBox bioBoundBox = null;\r\n\r\n\t\t// Initialize the Connectors \r\n\t\tBioMightConnectors bioMightConnectors = null; \r\n\r\n\t\t// Initialize the Connector \r\n\t\tBioMightConnector bioMightConnector= null;\r\n\t\t\r\n\t\tdouble circumference = 0.0;\r\n\t\tdouble[] startPos = {0.0, 0.0, 0.0};\r\n\t\tdouble[][] startPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\t\r\n\t\t// Use the information in the incomiing Bound Box\r\n\t\t// to orientate the inner bound boxes\r\n\t\tif (bioMightBoundBoxIn != null)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Arm - SetupBoundBoxes - Incoming BoundBox: \" + \r\n\t\t\t\t\tbioMightBoundBoxIn.getXPos() + \" \" +\r\n\t\t\t\t\tbioMightBoundBoxIn.getYPos() + \" \" +\r\n\t\t\t\t\tbioMightBoundBoxIn.getZPos());\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t//********************************************************************* \r\n\t\t// EPITHELIUM BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Arm\r\n\t\t// The connector for this will come from the incoming Bound Box\r\n\t\t// Both are defined like and bolt and they lock into position at the\r\n\t\t// interestion of both connectors\r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(0.0);\r\n\t\tyPos = new BigDecimal(-12.0);\r\n\t\tzPos= new BigDecimal(-1.0);\r\n\t\t\r\n\t\txVector= new BigDecimal(9.0);\r\n\t\tyVector= new BigDecimal(8.0); \r\n\t\tzVector= new BigDecimal(4.0);\r\n\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\r\n\t\t// Arm Epithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -9.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"ArmEpithelialCell\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"ArmEpithelialCell\", bioMightConnector);\r\n\t\t\t\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\tboundingBoxMap.put(Constants.ArmEpitheliumRef, bioBoundBox);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t\t//********************************************************************* \r\n\t\t// ARMS BOUND BOXES\r\n\t\t// Set up the Bounding Box for the Bronchi\r\n\t\t// On a porportioned human, the Bronchi are located in the --- \r\n\t\t//**********************************************************************\r\n\t\t\r\n\t\t//********************************************************************* \r\n\t\t// LEFT ARMS BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Left Arm\r\n\t\t// On a porportioned human, the Bronchi are located in the --- \r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(1.0);\r\n\t\tyPos = new BigDecimal(-11.0);\r\n\t\tzPos= new BigDecimal(-3.5);\r\n\t\t\r\n\t\txVector= new BigDecimal(2.0);\r\n\t\tyVector= new BigDecimal(2.0); \r\n\t\tzVector= new BigDecimal(2.0);\r\n\r\n\t\tbioBoundBoxes = new BioMightBoundBoxes();\r\n\t\t\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\t\r\n\t\t// ArmEpithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -8.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.ArmEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.ArmEpitheliumRef, bioMightConnector);\r\n\t\t\t\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\t\r\n\t\t// Put the Bounding Box into the Collection of Bounding Boxes \r\n\t\tbioBoundBoxes.setBoundingBox(Constants.LeftArmRef, bioBoundBox);\t\r\n\r\n\t\t//********************************************************************* \r\n\t\t// RIGHT ARMS BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Bronchi\r\n\t\t// On a porportioned human, the Bronchi are located in the --- \r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(-1.0);\r\n\t\tyPos = new BigDecimal(-11.0);\r\n\t\tzPos= new BigDecimal(-3.5);\r\n\t\t\r\n\t\txVector= new BigDecimal(2.0);\r\n\t\tyVector= new BigDecimal(2.0); \r\n\t\tzVector= new BigDecimal(2.0);\r\n\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\t\r\n\t\t// ArmEpithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -8.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.ArmEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.ArmEpitheliumRef, bioMightConnector);\r\n\t\t\t\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\t// Put the Bounding Box into the Collection of Bounding Boxes \r\n\t\tbioBoundBoxes.setBoundingBox(Constants.RightArmRef, bioBoundBox);\t\t\r\n\r\n\t\t// Put the BioMight BoundBoxes for the Bronchi \r\n\t\t// into the BoundingBoxMap \r\n\t\tboundingBoxMap.put(Constants.BronchiRef, bioBoundBoxes);\t\t\r\n\t\t\r\n\t\t\r\n\t\treturn (boundingBoxMap);\r\n\t}",
"private BioMightBoundBoxes setupDefaultBoundBoxes() \r\n\t{\r\n\t\t// Set up the collection to hold the Bounding Boxes\r\n\t\tBioMightBoundBoxes bioBoundBoxes = null;\r\n\t\r\n\t\t// Initialize the position of the bounding box vars\r\n\t\tBigDecimal xPos = new BigDecimal(0.0);\r\n\t\tBigDecimal yPos = new BigDecimal(0.0);\r\n\t\tBigDecimal zPos= new BigDecimal(0.0);\r\n\t\t\r\n\t\t// Set to base 1x1x1 cube\r\n\t\tBigDecimal xVector= new BigDecimal(1.0);\r\n\t\tBigDecimal yVector= new BigDecimal(1.0); \r\n\t\tBigDecimal zVector= new BigDecimal(1.0);\r\n\t\r\n\t\t// Initialize a BoundBox\r\n\t\tBioMightBoundBox bioBoundBox = null;\r\n\t\r\n\t\t// Initialize Connectors \r\n\t\tBioMightConnectors bioMightConnectors = null; \r\n\r\n\t\t// Initialize a Connector \r\n\t\tBioMightConnector bioMightConnector= null;\r\n\t\r\n\t\tdouble circumference = 0.0;\r\n\t\tdouble[] startPos = {0.0, 0.0, 0.0};\r\n\t\tdouble[][] startPoints = null;\r\n\t\r\n\t\t//********************************************************************* \r\n\t\t// LEFT FOOT BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Feet\r\n\t\t// The connector for this will come from the incoming Bound Box\r\n\t\t// Both are defined like and bolt and they lock into position at the\r\n\t\t// interestion of both connectors\r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(0.0);\r\n\t\tyPos = new BigDecimal(-65.0);\r\n\t\tzPos= new BigDecimal(3.0);\r\n\t\r\n\t\txVector= new BigDecimal(1.0);\r\n\t\tyVector= new BigDecimal(4.0); \r\n\t\tzVector= new BigDecimal(1.0);\r\n\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\r\n\t\t// Feet Epithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(-2.0, -65.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.FootEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.FootEpitheliumRef, bioMightConnector);\r\n\t\t\r\n\t\t// Associate the connector on the Box\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\t// Put the Bounding Box in the collection\r\n\t\tbioBoundBoxes.setBoundingBox(Constants.LeftFootRef, bioBoundBox);\r\n\t\r\n\t\r\n\t\t//********************************************************************* er\r\n\t\t// RIGHT CNEMES BOUNDBOX\r\n\t\t// Set up the Bounding Box for the Foot\r\n\t\t// On a porportioned human, the \r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(0.0);\r\n\t\tyPos = new BigDecimal(-14.0);\r\n\t\tzPos= new BigDecimal(-3.0);\r\n\t\r\n\t\txVector= new BigDecimal(1.0);\r\n\t\tyVector= new BigDecimal(4.0); \r\n\t\tzVector= new BigDecimal(1.0);\r\n\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\r\n\t\t// Foot Epithelium Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(2.0, -65.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.FootEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.FootEpitheliumRef, bioMightConnector);\r\n\t\r\n\t\t// Associate the connector on the Box\r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\t// Put the Bounding Box in the collection\r\n\t\tbioBoundBoxes.setBoundingBox(Constants.RightFootRef, bioBoundBox);\r\n\t\r\n\t\t// return the collection that holds both foot bound boxes\r\n\t\treturn (bioBoundBoxes);\r\n\t}",
"private BioMightBoundBox setupDefaultBoundBox(String parentID) \r\n\t{\r\n\t\t// Initialize the position of the bounding box vars\r\n\t\tBigDecimal xPos = new BigDecimal(0.0);\r\n\t\tBigDecimal yPos = new BigDecimal(0.0);\r\n\t\tBigDecimal zPos= new BigDecimal(0.0);\r\n\t\t\r\n\t\t// Set to base 1x1x1 cube\r\n\t\tBigDecimal xVector= new BigDecimal(1.0);\r\n\t\tBigDecimal yVector= new BigDecimal(1.0); \r\n\t\tBigDecimal zVector= new BigDecimal(1.0);\r\n\t\r\n\t\t// Initialize the BoundBox\r\n\t\tBioMightBoundBox bioBoundBox = null;\r\n\t\r\n\t\t// Initialize the Connectors \r\n\t\tBioMightConnectors bioMightConnectors = null; \r\n\r\n\t\t// Initialize the Connector \r\n\t\tBioMightConnector bioMightConnector= null;\r\n\t\r\n\t\tdouble circumference = 0.0;\r\n\t\tdouble[] startPos = {0.0, 0.0, 0.0};\r\n\t\tdouble[][] startPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\t\r\n\t\t\r\n\t\t//**********************************************************************\r\n\t\t// ARMS BOUND BOX\t\t\r\n\t\t//\r\n\t\t// Set up the Bounding Box for the Arms\r\n\t\t// For default model, length of arms is 4.5\r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(0.0);\r\n\t\tyPos = new BigDecimal(-15.0);\r\n\t\tzPos= new BigDecimal(-5.0);\r\n\t\r\n\t\txVector= new BigDecimal(11.5);\r\n\t\tyVector= new BigDecimal(6.0); \r\n\t\tzVector= new BigDecimal(5.0);\r\n\t\t\r\n\t\t// Setup the boundbox\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\t// Set up its connectors\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\r\n\t\t//********************************************\r\n\t\t// ARM - ORGAN CONNECTORS\r\n\t\t//********************************************\r\n\t\r\n\t\t// EpitheliumTissue Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.ArmEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.ArmEpitheliumRef, bioMightConnector);\r\n\t\r\n\t\t//********************************************\t\r\n\t\t// ARMS - VASCULAR CONNECTORS \r\n\t\t//********************************************\r\n\t\r\n\t\t// InternalCarotidArteryEpithelium\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"InternalCarotidArteryEpithelium\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"InternalCarotidArteryEpithelium\", bioMightConnector);\r\n\t\r\n\t\t// ExternalCarotidArteryEpithelium \r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"ExternalCarotidArteryEpithelium\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"ExternalCarotidArteryEpithelium\", bioMightConnector);\r\n\t\r\n\t\t//********************************************\r\n\t\t// ARMS - MUSCULAR CONNECTORS\r\n\t\t//********************************************\r\n\r\n\t\r\n\t\t//********************************************\r\n\t\t// ARMS - SKELETAL CONNECTORS\r\n\t\t//********************************************\r\n\r\n\t\t// ThoracicVertebrae T6 \r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"CervicalVertebrae\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"CervicalVertebrae\", bioMightConnector);\r\n\t\t\r\n\t\t\r\n\t\t// Stuff the Connectors into the Bounding Box \r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\treturn (bioBoundBox);\t\r\n\t}",
"public void initializeBoundary() {\n\n\t\tthis.subNetGenes = getSubNetGenes(species, xmlFile);\n\t\tthis.subNetwork = getSubNetwork(subNetGenes, oriGraphFile);\n\t\t\n\t\tSet<String> comSubNetGenes = Sets.newHashSet();\n\t\tcomSubNetGenes.addAll(this.subNetwork.keySet());\n\t\tcomSubNetGenes.addAll(this.subNetwork.values());\n\t\t\n\t\ttotalSubGeneCount = comSubNetGenes.size();\n\t\t\n\t\tcountBoundaryEdges(comSubNetGenes, oriGraphFile);\n\t\t\n\t\t\n\n\t}",
"private void updateBoxes(){\n if(model.getMap() != null) {\n DoubleVec position = invModelToView(new DoubleVec(canvas.getWidth()*0.5,canvas.getHeight()*0.5));\n inner = new Rectangle(position, 1.0/zoomFactor * fi * canvas.getWidth(), 1.0/zoomFactor * fi * canvas.getHeight(), 0);\n outer = new Rectangle(position, 1.0/zoomFactor * fo * canvas.getWidth(), 1.0/zoomFactor * fo * canvas.getHeight(), 0);\n }\n }",
"public void constructBoundingBox()\r\n\t{\n\t\tdouble a = m_Qmin.x;\r\n\t\tdouble b = m_Qmin.y;\r\n\t\tdouble c = m_Qmin.z;\r\n\r\n\t\tdouble d = m_Qmax.x;\r\n\t\tdouble e = m_Qmax.y;\r\n\t\tdouble f = m_Qmax.z;\r\n\r\n\t\t//constructing the vertexes of the bounding box\r\n\t\tSceneVertex A = new SceneVertex( new Vector3d(a, b, c));\r\n\t\tSceneVertex B = new SceneVertex( new Vector3d(d, b, c));\r\n\t\tSceneVertex C = new SceneVertex( new Vector3d(d, b, f));\r\n\t\tSceneVertex D = new SceneVertex( new Vector3d(d, e, f));\r\n\t\tSceneVertex E = new SceneVertex( new Vector3d(a, e, f));\r\n\t\tSceneVertex F = new SceneVertex( new Vector3d(a, e, c));\r\n\t\tSceneVertex G = new SceneVertex( new Vector3d(d, e, c));\r\n\t\tSceneVertex H = new SceneVertex( new Vector3d(a, b, f));\r\n\r\n\r\n\t\t// building the vertices arrays for the faces\r\n\t\tArrayList<SceneVertex> verArrP0front = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP0front.add(A);\r\n\t\tverArrP0front.add(B);\r\n\t\tverArrP0front.add(G);\r\n\t\tverArrP0front.add(F);\r\n\t\t\r\n\t\tArrayList<SceneVertex> verArrP1left = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP1left.add(A);\r\n\t\tverArrP1left.add(F);\r\n\t\tverArrP1left.add(E);\r\n\t\tverArrP1left.add(H);\r\n\t\t\r\n\t\tArrayList<SceneVertex> verArrP2back = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP2back.add(H);\r\n\t\tverArrP2back.add(C);\r\n\t\tverArrP2back.add(D);\r\n\t\tverArrP2back.add(E);\r\n\t\t\r\n\t\tArrayList<SceneVertex> verArrP3right = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP3right.add(G);\r\n\t\tverArrP3right.add(D);\r\n\t\tverArrP3right.add(C);\r\n\t\tverArrP3right.add(B);\r\n\t\t\r\n\t\tArrayList<SceneVertex> verArrP4bottom = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP4bottom.add(A);\r\n\t\tverArrP4bottom.add(H);\r\n\t\tverArrP4bottom.add(C);\r\n\t\tverArrP4bottom.add(B);\r\n\r\n\t\tArrayList<SceneVertex> verArrP5top = new ArrayList<SceneVertex>(4);\r\n\t\tverArrP5top.add(F);\r\n\t\tverArrP5top.add(G);\r\n\t\tverArrP5top.add(D);\r\n\t\tverArrP5top.add(E);\r\n\t\t\r\n\t\t// creating BoundingBox\r\n\t\tm_BoundingBox = new SceneNode(DrawingMode.GL_LINE, \"BoundingBox\", null);\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP0front, \"FRONT\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP1left, \"LEFT\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP2back, \"BACK\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP3right, \"RIGHT\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP4bottom, \"BOTTOM\"));\r\n\t\tm_BoundingBox.addChild( new ScenePolygon(verArrP5top, \"TOP\"));\r\n\r\n\t\t\r\n\t}",
"public void buildInitialBand()\r\n\t{\n\t\r\n\tint bl = boundary.size();\r\n\tfor(int i=0; i<bl; i++) \r\n\t\t{\r\n\t\tInt2d bCur = boundary.get(i);\r\n\t\t//System.out.println(bCur.x + \", \" + bCur.y + \": size = \" + heap.size());\r\n\t\t\r\n\t\ttestPointsAround(bCur.x,bCur.y);\r\n\t\t}\r\n\t\r\n\t}",
"public void computeBoundingBox() {\n\taveragePosition = new Point3(center);\n tMat.rightMultiply(averagePosition);\n \n minBound = new Point3(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);\n maxBound = new Point3(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);\n // Initialize\n Point3[] v = new Point3[8];\n for (int i = 0; i < 8; i++)\n \tv[i] = new Point3(center);\n // Vertices of the box\n v[0].add(new Vector3(-radius, -radius, -height/2.0));\n v[1].add(new Vector3(-radius, radius, -height/2.0));\n v[2].add(new Vector3(radius, -radius, -height/2.0));\n v[3].add(new Vector3(radius, radius, -height/2.0));\n v[4].add(new Vector3(-radius, -radius, height/2.0));\n v[5].add(new Vector3(-radius, radius, height/2.0));\n v[6].add(new Vector3(radius, -radius, height/2.0));\n v[7].add(new Vector3(radius, radius, height/2.0));\n // Update minBound and maxBound\n for (int i = 0; i < 8; i++)\n {\n \ttMat.rightMultiply(v[i]);\n \tif (v[i].x < minBound.x)\n \t\tminBound.x = v[i].x;\n \tif (v[i].x > maxBound.x)\n \t\tmaxBound.x = v[i].x;\n \tif (v[i].y < minBound.y)\n \t\tminBound.y = v[i].y;\n \tif (v[i].y > maxBound.y)\n \t\tmaxBound.y = v[i].y;\n \tif (v[i].z < minBound.z)\n \t\tminBound.z = v[i].z;\n \tif (v[i].z > maxBound.z)\n \t\tmaxBound.z = v[i].z;\n }\n \n }",
"@Override\r\n public void getBoxes(IPartCollisionHelper box) {\n box.addBox(4, 4, 12, 12, 12, 14);\r\n box.addBox(6, 6, 11, 10, 10, 12);\r\n }",
"private void updateBoundingBox()\n\t{\n\t\tif (this.facingDirection != null)\n\t\t{\n\t\t\tdouble d0 = (double) this.hangingPosition.getX() + 0.5D;\n\t\t\tdouble d1 = (double) this.hangingPosition.getY() + 0.5D;\n\t\t\tdouble d2 = (double) this.hangingPosition.getZ() + 0.5D;\n\t\t\tdouble d3 = 0.46875D;\n\t\t\tdouble d4 = this.someFunc(this.getWidthPixels());\n\t\t\tdouble d5 = this.someFunc(this.getHeightPixels());\n\t\t\td0 = d0 - (double) this.facingDirection.getFrontOffsetX() * 0.46875D;\n\t\t\td2 = d2 - (double) this.facingDirection.getFrontOffsetZ() * 0.46875D;\n\t\t\td1 = d1 + d5;\n\t\t\tEnumFacing enumfacing = this.facingDirection.rotateYCCW();\n\t\t\td0 = d0 + d4 * (double) enumfacing.getFrontOffsetX();\n\t\t\td2 = d2 + d4 * (double) enumfacing.getFrontOffsetZ();\n\t\t\tthis.posX = d0;\n\t\t\tthis.posY = d1;\n\t\t\tthis.posZ = d2;\n\t\t\tdouble d6 = (double) this.getWidthPixels();\n\t\t\tdouble d7 = (double) this.getHeightPixels();\n\t\t\tdouble d8 = (double) this.getWidthPixels();\n\n\t\t\tif (this.facingDirection.getAxis() == EnumFacing.Axis.Z)\n\t\t\t{\n\t\t\t\td8 = 1.0D;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\td6 = 1.0D;\n\t\t\t}\n\n\t\t\t// ???\n\n\t\t\td6 = d6 / (this.getWidthPixels() / this.blocksToTakeUp() * 2D);\n\t\t\td7 = d7 / (this.getHeightPixels() / this.blocksToTakeUp() * 2D);\n\t\t\td8 = d8 / (this.getWidthPixels() / this.blocksToTakeUp() * 2D);\n\t\t\tthis.setEntityBoundingBox(new AxisAlignedBB(d0 - d6, d1 - d7, d2 - d8, d0 + d6, d1 + d7, d2 + d8));\n\t\t}\n\t}",
"private void initialiseBags() {\r\n\t\t//Player one bag\r\n\t\taddToBag1(GridSquare.Type.a, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.b, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.c, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.d, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.e, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.f, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.g, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.h, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.i, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.j, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.k, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.l, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.m, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.n, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.o, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.p, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.q, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.r, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.s, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.t, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.u, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag1(GridSquare.Type.v, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag1(GridSquare.Type.w, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag1(GridSquare.Type.x, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\t\r\n\t\t//Player two bag\r\n\t\taddToBag2(GridSquare.Type.A, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.B, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.C, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.D, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.E, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.F, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.G, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.H, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.I, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.J, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.K, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.L, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.M, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.N, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.O, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.P, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.Q, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.R, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.S, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.T, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.U, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY, GridSquare.Type.HORIZONTAL_SWORD);\r\n\t\taddToBag2(GridSquare.Type.V, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.EMPTY, GridSquare.Type.EMPTY);\r\n\t\taddToBag2(GridSquare.Type.W, GridSquare.Type.VERTICAL_SWORD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t\taddToBag2(GridSquare.Type.X, GridSquare.Type.EMPTY, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD, GridSquare.Type.SHIELD);\r\n\t}",
"public void addBoundingBox() {\n abstractEditor.drawNewShape(new EBoundingBoxDT());\n }",
"@Override\n\tpublic void buildBVH() {\n\t\tif(this.bvhObjList.size()<=4) {\n\t\t}else {\n\t\t BVH nebt1 = new BVH(this.bvHi);\n\t\t BVH nebt2 = new BVH(this.bvHi);\n\t\tint tmp = this.calculateSplitDimension(this.bvhBox.getMax().sub(this.bvhBox.getMin()));\n\t\tfloat splitpos;\n\t\tif(tmp==0) {\n\t\t\tsplitpos = this.calculateMinMax().b.avg(this.calculateMinMax().a).x();\n\t\t}else if(tmp==1) {\n\t\t\tsplitpos = this.calculateMinMax().b.avg(this.calculateMinMax().a).y();\n\t\t}else {\n\t\t\tsplitpos = this.calculateMinMax().b.avg(this.calculateMinMax().a).z();\n\t\t\t\n\t\t}\n\t\tthis.distributeObjects(nebt1, nebt2, tmp, splitpos);\n\t\tthis.bvHi.add(nebt1);\n\t\tthis.neb1 = bvHi.indexOf(nebt1);\n\t\tthis.bvHi.add(nebt2);\n\t\tthis.neb2 = bvHi.indexOf(nebt2);\n\t\tnebt2.buildBVH();\n\t\tnebt1.buildBVH();\n\n\t\t}\n\t}",
"private void setBoundingBox(Vector<Triangle_dt> triangulation) {\n\t\tfor (Integer i = 0; i < triangulation.size(); i++) {\n\t\t\tTriangle_dt currentTriangle = triangulation.get(i);\n\t\t\tPoint_dt p1 = currentTriangle.p1();\n\t\t\tPoint_dt p2 = currentTriangle.p2();\n\t\t\tPoint_dt p3 = currentTriangle.p3();\n\t\t\t\n\t\t\tupdateBoundingBox(p1);\n\t\t\tupdateBoundingBox(p2);\n\t\t\tif (p3 != null) {\n\t\t\t\tupdateBoundingBox(p3);\n\t\t\t}\n\t\t}\n\t}",
"private void setBox(){\n\t\tif((this.row >= 0 && this.row <= 2) && \n\t\t (this.column >= 0 && this.column <= 2)){\n\t\t\t\t\tthis.box = 1;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 0 && this.row <= 2) && \n\t\t (this.column >= 3 && this.column <= 5)){\n\t\t\t\t\tthis.box = 2;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 0 && this.row <= 2) && \n\t\t (this.column >= 6 && this.column <= 8)){\n\t\t\t\t\tthis.box = 3;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 3 && this.row <= 5) && \n\t\t (this.column >= 0 && this.column <= 2)){\n\t\t\t\t\tthis.box = 4;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 3 && this.row <= 5) && \n\t\t (this.column >= 3 && this.column <= 5)){\n\t\t\t\t\tthis.box = 5;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 3 && this.row <= 5) && \n\t\t (this.column >= 6 && this.column <= 8)){\n\t\t\t\t\tthis.box = 6;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 6 && this.row <= 8) && \n\t\t (this.column >= 0 && this.column <= 2)){\n\t\t\t\t\tthis.box = 7;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 6 && this.row <= 8) && \n\t\t (this.column >= 3 && this.column <= 5)){\n\t\t\t\t\tthis.box = 8;\n\t\t\t\t\treturn;\n\t\t}\n\t\tif((this.row >= 6 && this.row <= 8) && \n\t\t (this.column >= 6 && this.column <= 8)){\n\t\t\t\t\tthis.box = 9;\n\t\t\t\t\treturn;\n\t\t}\n\t}",
"public BoundingBox()\n\t{\n\t\tcenter = new Vector2(0.0, 0.0);\n\t\twidth = 1.0;\n\t\theight = 1.0;\n\t}",
"private void setUpCollisionBox()\n {\n \txLeftOffsetCollisionBox = width/COLLISION_WIDTH_DIV;\n \tcollisionBoxHeight = height - COLLISION_BOX_H_OFFSET;\n \n \tcollisionBox = new Rectangle(\n\t\t\t\t \t\txPos, \n\t\t\t\t \t\tyPos, \n\t\t\t\t \t\t(int)width / 2,\n\t\t\t\t \t\tcollisionBoxHeight);\n }",
"private void setUpBlocks() {\n\t\tdouble xStart=0;\n\t\tdouble midPoint = getWidth()/2;\n\t\tint yStart = BRICK_Y_OFFSET;\t\n\t\t\n\t\tfor(int i = 0; i < NBRICK_ROWS; i++) {\n\t\t\t\n\t\t\txStart = midPoint - (NBRICKS_PER_ROW/2 * BRICK_WIDTH) - BRICK_WIDTH/2;\n\t\t\tlayRowOfBricks(xStart, yStart, i);\n\t\t\tyStart += BRICK_HEIGHT + BRICK_SEP;\n\t\t}\t\n\t}",
"private void updateBoundingBox() {\n // TODO(sonpham): Optimize this. There is an amazing amount of repetition in this code.\n double downUnitX = MathUtils.quickCos((float) (anchorAngle + Math.PI));\n double downUnitY = MathUtils.quickSin((float) (anchorAngle + Math.PI));\n double sideUnitX = MathUtils.quickCos((float) (anchorAngle + Math.PI / 2));\n double sideUnitY = MathUtils.quickSin((float) (anchorAngle + Math.PI / 2));\n\n double aliveHeight = aliveTroopsMap.size() * 1.0 / width * unitStats.spacing;\n double fullToAliveRatio = 1.0 * troops.size() / aliveTroopsMap.size() ;\n\n double topLeftX = averageX - downUnitX * aliveHeight / 2 - sideUnitX * unitStats.spacing * width / 2;\n double topLeftY = averageY - downUnitY * aliveHeight / 2 - sideUnitY * unitStats.spacing * width / 2;\n\n double topRightX = averageX - downUnitX * aliveHeight / 2 + sideUnitX * unitStats.spacing * width / 2;\n double topRightY = averageY - downUnitY * aliveHeight / 2 + sideUnitY * unitStats.spacing * width / 2;\n\n double healthBotLeftX = averageX + downUnitX * aliveHeight / 2 - sideUnitX * unitStats.spacing * width / 2;\n double healthBotLeftY = averageY + downUnitY * aliveHeight / 2 - sideUnitY * unitStats.spacing * width / 2;\n\n double healthBotRightX = averageX + downUnitX * aliveHeight / 2 + sideUnitX * unitStats.spacing * width / 2;\n double healthBotRightY = averageY + downUnitY * aliveHeight / 2 + sideUnitY * unitStats.spacing * width / 2;\n\n double botLeftX = (healthBotLeftX - topLeftX) * fullToAliveRatio + topLeftX;\n double botLeftY = (healthBotLeftY - topLeftY) * fullToAliveRatio + topLeftY;\n\n double botRightX = (healthBotRightX - topRightX) * fullToAliveRatio + topRightX;\n double botRightY = (healthBotRightY - topRightY) * fullToAliveRatio + topRightY;\n\n aliveBoundingBox[0][0] = topLeftX; aliveBoundingBox[0][1] = topLeftY;\n aliveBoundingBox[1][0] = topRightX; aliveBoundingBox[1][1] = topRightY;\n aliveBoundingBox[2][0] = healthBotRightX; aliveBoundingBox[2][1] = healthBotRightY;\n aliveBoundingBox[3][0] = healthBotLeftX; aliveBoundingBox[3][1] = healthBotLeftY;\n\n boundingBox[0][0] = topLeftX; boundingBox[0][1] = topLeftY;\n boundingBox[1][0] = topRightX; boundingBox[1][1] = topRightY;\n boundingBox[2][0] = botRightX; boundingBox[2][1] = botRightY;\n boundingBox[3][0] = botLeftX; boundingBox[3][1] = botLeftY;\n }",
"private void fillDataStructures()\n \t{\n \t\tfor (Field field : fields) {\n \t\t\tif (field.object != null) {\n \t\t\t\tObject o = field.object;\n \t\t\t\tif (o instanceof Agent) {\n \t\t\t\t\tagents.add((Agent)o);\n \t\t\t\t\t((Agent) o).td = this;\n \t\t\t\t} else { // Box\n \t\t\t\t\tboxes.add((Box)o);\n \t\t\t\t\t((Box) o).td = this;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\t\n \t\t\n \t\t// sort boxes and agents by color\n \t\tfor (int i=0; i<8; i++) {\n \t\t\tboxesByColor.add(new ArrayList<Box>());\n \t\t\tagentsByColor.add(new ArrayList<Agent>());\n \t\t\tgoalsByColor.add(new ArrayList<Goal>());\n \t\t}\n \t\tfor (Box box : boxes) {\n \t\t\tboxesByColor.get(box.color.ordinal()).add(box);\n \t\t}\n \t\tfor (Agent agent : agents) {\n \t\t\tagentsByColor.get(agent.color.ordinal()).add(agent);\n \t\t}\n \t\tfor (Goal goal : goals) {\n \t\t\tgoalsByColor.get(goal.color.ordinal()).add(goal);\n \t\t}\n \n \t\t\n \t\t// sort boxes and goals by ID\n \t\tfor (Box box : boxes) {\n \t\t\tif (boxesByID.get(box.id) == null) {\n \t\t\t\tboxesByID.put(box.id,new ArrayList<Box>());\n \t\t\t}\n \t\t\tboxesByID.get(box.id).add(box);\n \t\t}\n \t\tfor (Goal goal : goals) {\n \t\t\tif (goalsByID.get(goal.id) == null) {\n \t\t\t\tgoalsByID.put(goal.id,new ArrayList<Goal>());\n \t\t\t}\n \t\t\tgoalsByID.get(goal.id).add(goal);\n \t\t}\n \n \t\t\n \t\t// sort boxes and agents by Node\n \t\tfor (Node node : graph) {\n \t\t\tboxesByNode.put(node, new ArrayList<Box>());\n \t\t\tagentsByNode.put(node,new ArrayList<Agent>());\n \t\t}\n \t\tfor (Box box : boxes) {\n \t\t\tNode node = box.atField.node;\n \t\t\tboxesByNode.get(node).add(box);\n \t\t}\n \t\tfor (Agent agent : agents) {\n \t\t\tNode node = agent.atField.node;\n \t\t\tagentsByNode.get(node).add(agent);\n \t\t}\n \t}",
"protected void populate (int topSlots, long flipBits, long ballBits, long holeBits)\n {\n // switches each level + triangular number\n int flipCount = HEIGHT * topSlots/2 + (HEIGHT * (HEIGHT-1))/2;\n // create the flips and slots arrays\n _flips = new Flip[flipCount];\n slots = new Slot[topSlots];\n _holes.clear();\n\n // decode the bits and configure each flip/ball and holes\n for (int ii=0; ii < flipCount; ii++) {\n Flip flip = _flips[ii] = new Flip();\n long mask = (((long) 1) << ii);\n flip.leftPosition = (mask & flipBits) != 0;\n if ((mask & ballBits) != 0) {\n flip.ball = new Ball(topSlots, flip, ii);\n }\n }\n\n // populate the slots along the top\n for (int ii=0; ii < topSlots; ii++) {\n slots[ii] = new Slot();\n slots[ii].dest = _flips[ii / 2];\n }\n\n // connect the flips, slots, buckets all together\n int dex = 0;\n int bucketDex = 0;\n int slotDex = 0;\n for (int height = 0; height < HEIGHT; height++) {\n int flipsOnRow = topSlots/2 + height;\n for (int ii=0; ii < flipsOnRow; ii++) {\n Flip flip = _flips[dex];\n flip.left = new Slot(topSlots, slotDex++, holeBits, _holes);\n flip.right = new Slot(topSlots, slotDex++, holeBits, _holes);\n\n if (height < HEIGHT - 1) {\n flip.left.dest = _flips[dex + flipsOnRow];\n flip.right.dest = _flips[dex + flipsOnRow + 1];\n } else {\n // at the end, attach an extra slot, then the bucket\n Slot s = new Slot();\n s.dest = new Bucket(bucketDex++);\n flip.left.dest = s;\n s = new Slot();\n s.dest = new Bucket(bucketDex++);\n flip.right.dest = s;\n }\n dex++;\n }\n }\n }",
"public void testGetBoundingBox(){\r\n\t\tdouble xc = 0;\r\n\t\tdouble yc = 0;\r\n\t\tdouble r = 10;\r\n\t\tdouble r2 = r*Math.sqrt(2)/2;\r\n\t\tdouble t0 = PI/4;\r\n\t\tdouble t1 = 3*PI/4;\r\n\t\tdouble t2 = 5*PI/4;\r\n\t\tdouble t3 = 7*PI/4;\r\n\t\tdouble dt = PI/2;\r\n\t\t\r\n\t\t// declare variables\r\n\t\tCircleArc2D arc0, arc1, arc2, arc3;\r\n\t\tBox2D box0, box1, box2, box3;\r\n\t\tBox2D bounds0, bounds1, bounds2, bounds3;\r\n\t\t\r\n\t\t// top\r\n\t\tarc0 \t= new CircleArc2D(xc, yc, r, t0, dt);\r\n\t\tbox0 \t= new Box2D(xc-r2, xc+r2, r2, r);\r\n\t\tbounds0 = arc0.boundingBox();\r\n\t\tassertTrue(box0.almostEquals(bounds0, Shape2D.ACCURACY));\r\n\r\n\t\t// left\r\n\t\tarc1 \t= new CircleArc2D(xc, yc, r, t1, dt);\r\n\t\tbox1 \t= new Box2D(xc-r, xc-r2, -r2, r2);\r\n\t\tbounds1 = arc1.boundingBox();\r\n\t\tassertTrue(box1.almostEquals(bounds1, Shape2D.ACCURACY));\r\n\r\n\t\t// bottom\r\n\t\tarc2 \t= new CircleArc2D(xc, yc, r, t2, dt);\r\n\t\tbox2 \t= new Box2D(xc-r2, xc+r2, -r, -r2);\r\n\t\tbounds2 = arc2.boundingBox();\r\n\t\tassertTrue(box2.almostEquals(bounds2, Shape2D.ACCURACY));\r\n\r\n\t\t// right\r\n\t\tarc3 \t= new CircleArc2D(xc, yc, r, t3, dt);\r\n\t\tbox3 \t= new Box2D(r2, r, -r2, r2);\r\n\t\tbounds3 = arc3.boundingBox();\r\n\t\tassertTrue(box3.almostEquals(bounds3, Shape2D.ACCURACY));\r\n\r\n\t\t/// circle arcs with extent 3*pi/2\r\n\t\tdt = 3*PI/2;\r\n\t\t\r\n\t\t// top\r\n\t\tarc0 \t= new CircleArc2D(xc, yc, r, t3, dt);\r\n\t\tbox0 \t= new Box2D(xc-r, xc+r, -r2, r);\r\n\t\tbounds0 = arc0.boundingBox();\r\n\t\tassertTrue(box0.almostEquals(bounds0, Shape2D.ACCURACY));\r\n\r\n\t\t// left\r\n\t\tarc1 \t= new CircleArc2D(xc, yc, r, t0, dt);\r\n\t\tbox1 \t= new Box2D(xc-r, xc+r2, -r, r);\r\n\t\tbounds1 = arc1.boundingBox();\r\n\t\tassertTrue(box1.almostEquals(bounds1, Shape2D.ACCURACY));\r\n\r\n\t\t// bottom\r\n\t\tarc2 \t= new CircleArc2D(xc, yc, r, t1, dt);\r\n\t\tbox2 \t= new Box2D(xc-r, xc+r, -r, r2);\r\n\t\tbounds2 = arc2.boundingBox();\r\n\t\tassertTrue(box2.almostEquals(bounds2, Shape2D.ACCURACY));\r\n\r\n\t\t// right\r\n\t\tarc3 \t= new CircleArc2D(xc, yc, r, t2, dt);\r\n\t\tbox3 \t= new Box2D(-r2, r, -r, r);\r\n\t\tbounds3 = arc3.boundingBox();\r\n\t\tassertTrue(box3.almostEquals(bounds3, Shape2D.ACCURACY));\r\n\t\r\n\t}",
"protected void createMaps() {\n\t\tBlueSchellingCell bCell = new BlueSchellingCell();\n\t\tOrangeSchellingCell oCell = new OrangeSchellingCell();\n\t\tEmptyCell eCell = new EmptyCell();\n\t\tTreeCell tCell = new TreeCell();\n\t\tBurningTreeCell bTCell = new BurningTreeCell();\n\t\tEmptyLandCell eLCell = new EmptyLandCell();\n\n\t\tLiveCell lCell = new LiveCell();\n\t\tDeadCell dCell = new DeadCell();\n\t\tGreenRPSCell gcell = new GreenRPSCell();\n\t\tRedRPSCell rcell = new RedRPSCell();\n\t\tBlueRPSCell blcell = new BlueRPSCell();\n\t\tWhiteRPSCell wcell = new WhiteRPSCell();\n\n\t\tFishCell fCell = new FishCell();\n\t\tSharkCell sCell = new SharkCell();\n\n\t\tAntGroupCell aCell = new AntGroupCell();\n\n\t\tsegregation.put('b', bCell);\n\t\tsegregation.put('o', oCell);\n\t\tsegregation.put('e', eCell);\n\n\t\tgameOfLife.put('l', lCell);\n\t\tgameOfLife.put('d', dCell);\n\n\t\trps.put('g', gcell);\n\t\trps.put('r', rcell);\n\t\trps.put('b', blcell);\n\t\trps.put('w', wcell);\n\n\t\tspreadingWildfire.put('t', tCell);\n\t\tspreadingWildfire.put('b', bTCell);\n\t\tspreadingWildfire.put('e', eLCell);\n\n\t\twaTor.put('f', fCell);\n\t\twaTor.put('s', sCell);\n\t\twaTor.put('e', eCell);\n\n\t\tforagingAnts.put('a', aCell);\n\t\tforagingAnts.put('e', eCell);\n\t\tinitExportMap();\n\n\t\tinitCountMap();\n\t}",
"private void init() {\n \t\t// Initialise border cells as already visited\n \t\tfor (int x = 0; x < size + 2; x++) {\n \t\t\tvisited[x][0] = true;\n \t\t\tvisited[x][size + 1] = true;\n \t\t}\n \t\tfor (int y = 0; y < size + 2; y++) {\n \t\t\tvisited[0][y] = true;\n \t\t\tvisited[size + 1][y] = true;\n \t\t}\n \t\t\n \t\t\n \t\t// Initialise all walls as present\n \t\tfor (int x = 0; x < size + 2; x++) {\n \t\t\tfor (int y = 0; y < size + 2; y++) {\n \t\t\t\tnorth[x][y] = true;\n \t\t\t\teast[x][y] = true;\n \t\t\t\tsouth[x][y] = true;\n \t\t\t\twest[x][y] = true;\n \t\t\t}\n \t\t}\n \t}",
"@Override\n\tpublic void computeBBox(SoAction action, SbBox3f box, SbVec3f center) {\n\n\t}",
"private void resizeBs() {\n int newSize = (buildingXs.length * 2);\n int[] newXs = new int[newSize];\n int[] newYs = new int[newSize];\n int[] newEnt = new int[newSize];\n int[] newFloors = new int[newSize];\n int[] newTypes = new int[newSize];\n int[][][] newApi = new int[newSize][][];\n System.arraycopy(buildingXs, 0, newXs, 0, buildingCount);\n System.arraycopy(buildingYs, 0, newYs, 0, buildingCount);\n System.arraycopy(buildingEntrances, 0, newEnt, 0, buildingCount);\n System.arraycopy(buildingFloors, 0, newFloors, 0, buildingCount);\n System.arraycopy(buildingTypes, 0, newTypes, 0, buildingCount);\n for (int i = 0; i < buildingCount; i++)\n newApi[i] = buildingApi[i];\n\n buildingXs = newXs;\n buildingYs = newYs;\n buildingEntrances = newEnt;\n buildingFloors = newFloors;\n buildingTypes = newTypes;\n buildingApi = newApi;\n }",
"public void setInfiniteBoundingbox()\n\t{\n\t\tinf_bb = true;\n\t\tif (transfh != null) {\n\t\t\ttransfh.setInfiniteBoundingbox();\n\t\t}\n\t}",
"private Board()\r\n {\r\n this.grid = new Box[Config.GRID_SIZE][Config.GRID_SIZE];\r\n \r\n for(int i = 0; i < Config.NB_WALLS; i++)\r\n {\r\n this.initBoxes(Wall.ID);\r\n }\r\n \r\n for(int i = 0; i < Config.NB_CHAIR; i++)\r\n {\r\n this.initBoxes(Chair.ID);\r\n }\r\n \r\n for(int i = 0; i < Config.NB_PLAYER; i++)\r\n {\r\n this.initBoxes(Chair.ID);\r\n }\r\n }",
"public GJBox2D boundingBox() {\n\t\tdouble xmin = Double.MAX_VALUE;\n\t\tdouble ymin = Double.MAX_VALUE;\n\t\tdouble xmax = Double.MIN_VALUE;\n\t\tdouble ymax = Double.MIN_VALUE;\n\n\t\t// coordinates of current point\n\t\tdouble x, y;\n\t\t\n\t\t// Iterate on each control point of each segment\n\t\tfor (Segment seg : this.segments) {\n\t\t\tfor (GJPoint2D p : seg.controlPoints()) {\n\t\t\t\t// get current coordinates\n\t\t\t\tx = p.x();\n\t\t\t\ty = p.y();\n\t\t\t\t\n\t\t\t\t// update bounds\n\t\t\t\txmin = Math.min(xmin, x);\n\t\t\t\tymin = Math.min(ymin, y);\n\t\t\t\txmax = Math.max(xmax, x);\n\t\t\t\tymax = Math.max(ymax, y);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// createFromCollection a new GJBox2D with the bounds\n\t\treturn new GJBox2D(xmin, xmax, ymin, ymax);\n\t}",
"@Override\r\n protected void computeBox ()\r\n {\r\n // Stem or similar info\r\n Rectangle newBox = new Rectangle(getTailLocation());\r\n newBox.add(getHeadLocation());\r\n\r\n // Each and every note\r\n for (TreeNode n : getNotes()) {\r\n Note note = (Note) n;\r\n\r\n newBox.add(note.getBox());\r\n }\r\n\r\n setBox(newBox);\r\n }",
"protected void computeBounds() {\r\n bounds = new Rectangle(layout.location.x - icon.getIconWidth() / 2,\r\n layout.location.y - icon.getIconHeight() / 2, icon.getIconWidth(), icon.getIconHeight()).union(labelBox)\r\n .union(ports[0].getBounds()).union(ports[1].getBounds()).union(ports[2].getBounds())\r\n .union(component.getType() == TemplateComponent.TYPE_CHANNEL\r\n ? ports[3].getBounds().union(supHalo.getBounds())\r\n : ports[3].getBounds());\r\n }",
"private void setUsedValueInBoxes() {\n \n setUsedValuesByBox(1,3,1,3);\n setUsedValuesByBox(1,3,4,6);\n setUsedValuesByBox(1,3,7,9);\n setUsedValuesByBox(4,6,1,3);\n setUsedValuesByBox(4,6,4,6);\n setUsedValuesByBox(4,6,7,9);\n setUsedValuesByBox(7,9,1,3);\n setUsedValuesByBox(7,9,4,6);\n setUsedValuesByBox(7,9,7,9);\n }",
"private static native long createEdgeBoxes_0(float alpha, float beta, float eta, float minScore, int maxBoxes, float edgeMinMag, float edgeMergeThr, float clusterMinMag, float maxAspectRatio, float minBoxArea, float gamma, float kappa);",
"private void placeBombs() {\n\t\tfor (int i = 0; i < NUM_BOMBS; i++) {\n\t\t\tplaceBomb();\n\t\t}\n\t}",
"public void setBoxSize(int bs) {\n\t\tthis.boxSize = bs;\n\t}",
"private void setSizeBox() {\n\t\t\tthis.leftX = pointsSubStroke.get(0).getX();\n\t\t\tthis.righX = pointsSubStroke.get(0).getX();\n\t\t\tthis.topY = pointsSubStroke.get(0).getY();\n\t\t\tthis.bottomY = pointsSubStroke.get(0).getY();\n\t\t\t\n\t\t\tfor(int i = 0; i < pointsSubStroke.size();i++) {\n\t\t\t\tdouble x = pointsSubStroke.get(i).getX();\n\t\t\t\tdouble y = pointsSubStroke.get(i).getX();\n\t\t\t\t\n\t\t\t\tthis.leftX = Math.min(x, leftX);\n\t\t\t\tthis.righX = Math.max(x, righX);\n\t\t\t\tthis.topY = Math.min(y, topY);\n\t\t\t\tthis.bottomY = Math.max(y, bottomY);\n\t\t\t}\n\t\t}",
"@Override\n public void setUpCollision(Collision collisionPoints){\n //Walls at the bottom\n collisionPoints.addBoxCollision(2,39,32,15,flicker);\n collisionPoints.addBoxCollision(41,39,35,15,flicker);\n collisionPoints.addBoxCollision(34,40,7,1,flicker);\n //Walls sides\n collisionPoints.addBoxCollision(2,1,11,37,flicker);\n collisionPoints.addBoxCollision(62,14,11,36,flicker);\n collisionPoints.addBoxCollision(2,1,74,12,flicker);\n\n //DETAIL\n //Front\n collisionPoints.addBoxCollision(33,14,8,4,flicker);\n //Seats left\n collisionPoints.addBoxCollision(14,21,17,3,flicker);\n collisionPoints.addBoxCollision(14,26,17,3,flicker);\n collisionPoints.addBoxCollision(14,31,17,3,flicker);\n collisionPoints.addBoxCollision(14,36,17,3,flicker);\n //Seats right\n collisionPoints.addBoxCollision(43,21,19,3,flicker);\n collisionPoints.addBoxCollision(43,26,19,3,flicker);\n collisionPoints.addBoxCollision(43,31,19,3,flicker);\n collisionPoints.addBoxCollision(43,36,19,3,flicker);\n }",
"public void setBorderStyle(PDBorderStyleDictionary bs) {\n/* 376 */ getCOSObject().setItem(COSName.BS, bs);\n/* */ }",
"public void preSetup(){\n // Any of your pre setup before the loop starts should go here\n \n // border\n blocks[0] = new Rectangle(0, 0, 25, 600);\n blocks[1] = new Rectangle(775, 0, 25, 600);\n blocks[2] = new Rectangle(0, 0, 800, 25);\n blocks[3] = new Rectangle(0, 575, 800, 25);\n \n // starting room\n // right wall\n blocks[5] = new Rectangle(WIDTH / 2 + 75, 400, 25, 150);\n // left wall\n blocks[10] = new Rectangle(WIDTH / 2 - 100, 400, 25, 150);\n // centre\n blocks[7] = new Rectangle(WIDTH / 2 - 10, 450, 20, 150);\n // top wall\n blocks[11] = new Rectangle(WIDTH / 2 - 50, 400, 100, 25);\n \n \n // remember to copy to the other side\n // cover (west)\n blocks[4] = new Rectangle(200, 200, 25, 75);\n blocks[6] = new Rectangle(200 , 400, 25, 75);\n blocks[8] = new Rectangle(200, 310, 25, 50);\n blocks[9] = new Rectangle(200, 0, 25, 170);\n blocks[17] = new Rectangle(200 - 50, 145, 70, 25);\n blocks[23] = new Rectangle(0, 60, 100, 24);\n blocks[24] = new Rectangle(70, 500, 24, 100);\n blocks[25] = new Rectangle(70, 500, 80, 24);\n blocks[26] = new Rectangle();\n \n \n // cover (east)\n blocks[15] = new Rectangle(WIDTH - 225, 200, 25, 75);\n blocks[14] = new Rectangle(WIDTH - 225 , 400, 25, 75);\n blocks[13] = new Rectangle(WIDTH - 225, 310, 25, 50);\n blocks[12] = new Rectangle(WIDTH - 225, 0, 25, 170);\n blocks[16] = new Rectangle(WIDTH - 225, 145, 70, 25);\n blocks[27] = new Rectangle(WIDTH - 100, 60, 100, 24);\n blocks[28] = new Rectangle(WIDTH - 94, 500, 24, 100);\n blocks[29] = new Rectangle(WIDTH - 94 - (80-24), 500, 80, 24);\n blocks[30] = new Rectangle();\n \n // cover (middle)\n // vertical\n blocks[18] = new Rectangle(WIDTH/ 2 - 10, 150, 20, 125);\n blocks[22] = new Rectangle(WIDTH/ 2 - 10, 300, 20, 50);\n // horizontal\n blocks[19] = new Rectangle(WIDTH/ 2 - 100, 175, 200, 20);\n blocks[20] = new Rectangle(WIDTH/ 2 - 100, 225, 200, 20);\n blocks[21] = new Rectangle(WIDTH/ 2 - 100, 350, 200, 20);\n \n \n // extras\n blocks[31] = new Rectangle();\n blocks[32] = new Rectangle();\n \n // flag on the level\n flag[0] = new Rectangle((int)(Math.random()*((WIDTH - 40) - 40 + 1)) + 40, (int)(Math.random()*((HEIGHT - 40) - 40 + 1)) + 40, 35, 26);\n flagPole[0] = new Rectangle(flag[0].x, flag[0].y, 4, 45);\n flagLogo[0] = new Rectangle(flag[0].x + 15, flag[0].y + (13/2), 20, 15);\n \n }",
"private void BScreate() {\n\n\t\tint sum=0;//全枝数のカウント\n\t\tfor(int i=0;i<banknode;i++) sum+=Bank.get(i).deg;\n\n\t\t//e,d,nの決定\n\t\tif(NW==\"BA\"){\n\t\tfor(int i=0;i<banknode;i++) {\n\t\t\tBank.get(i).totalassets=E*((double)Bank.get(i).deg/(double)sum);\n\t\t\tBank.get(i).n=Bank.get(i).totalassets*Bank.get(i).CAR;\n\t\t\tBank.get(i).d=Bank.get(i).totalassets-Bank.get(i).n;\n\t\t\tBank.get(i).buffer=Bank.get(i).totalassets;\n\t\t}\n\t\t}\n\n\t\tif(NW==\"CM\"){\n\t\t\tfor(int i=0;i<banknode;i++){\n\t\t\t\tBank.get(i).totalassets=E/banknode;\n\t\t\t\tBank.get(i).n=Bank.get(i).totalassets*asyCAR;\n\t\t\t\tBank.get(i).forcelev=megaCAR;\n\t\t\t\tBank.get(i).d=Bank.get(i).totalassets-Bank.get(i).n;\n\t\t\t\tBank.get(i).buffer=Bank.get(i).totalassets;\n\t\t\t}\n\n\t\t}\n\n\t}",
"protected void setBBox( org.geotools.data.wms.request.GetMapRequest getMap, Envelope envelope ) {\n String version = getMap.getProperties().getProperty( Request.VERSION );\n boolean forceXY = version == null || !version.startsWith( \"1.3\" );\n String srsName = CRS.toSRS( envelope.getCoordinateReferenceSystem() );\n \n CoordinateReferenceSystem crs = AbstractGetMapRequest.toServerCRS( srsName, forceXY );\n Envelope bbox = null;\n try {\n bbox = CRS.transform( envelope, crs );\n } \n catch (TransformException e) {\n bbox = envelope;\n }\n // FIXME\n String s = srsName.contains( \"31468\" ) && version.startsWith( \"1.3\" )\n ? Joiner.on( ',' ).join( bbox.getMinimum(1), bbox.getMinimum(0), bbox.getMaximum(1), bbox.getMaximum(0) )\n : Joiner.on( ',' ).join( bbox.getMinimum(0), bbox.getMinimum(1), bbox.getMaximum(0), bbox.getMaximum(1) );\n //log.info( \"Requested BBOX: \" + s );\n getMap.setBBox( s );\n }",
"public void setup() {\r\n\r\n\t\tfor (int i = 0; i < 5; i++) {\r\n\t\t\tthis.bag.add(new Gem(1));\r\n\t\t}\r\n\t\tthis.bag.add(new Crash());\r\n\t}",
"public void createMinimap() {\n if (gameField.getFields().size() == 1024) {\n rootSize = 32;\n blockSize = 8;\n } else { //if size == 64^2 == 4096\n rootSize = 64;\n blockSize = 4;\n }\n int magnification = gameFieldController.getMagnification();\n if (AdvancedWarsApplication.getInstance().getGameScreenCon().base.getScene() != null) {\n positionBoxSizeX = blockSize *\n (AdvancedWarsApplication.getInstance().getGameScreenCon().base.getScene().getWidth() / (rootSize * magnification));\n\n positionBoxSizeY = blockSize *\n (AdvancedWarsApplication.getInstance().getGameScreenCon().base.getScene().getHeight() / (rootSize * magnification));\n } else {\n //for offline test\n positionBoxSizeX = (blockSize * 1920) / (rootSize * magnification);\n positionBoxSizeY = (blockSize * 1080) / (rootSize * magnification);\n }\n\n for (int i = 0; i < rootSize; ++i) {\n for (int j = 0; j < rootSize; ++j) {\n Field currentField = gameField.getFields().get(i * rootSize + j);\n Rectangle rectangle = new Rectangle(blockSize, blockSize);\n if (!currentField.getType().equals(\"Grass\")) {\n if (currentField.getType().equals(\"Water\")) {\n rectangle.setFill(Color.rgb(11, 89, 139));\n } else if (currentField.getType().equals(\"Forest\")) {\n rectangle.setFill(Color.rgb(38, 106, 0));\n } else { //if currentField equals Mountain\n rectangle.setFill(Color.rgb(95, 111, 54));\n }\n rectangle.relocate((i * blockSize) + 1, (j * blockSize) + 1);\n drawPane.getChildren().add(rectangle);\n }\n }\n }\n Rectangle rect = new Rectangle(positionBoxSizeX, positionBoxSizeY);\n Rectangle clip = new Rectangle(1, 1, positionBoxSizeX - 2, positionBoxSizeY - 2);\n positionBox = Shape.subtract(rect, clip);\n positionBox.setFill(Color.WHITE);\n drawPane.getChildren().add(positionBox);\n isCreated = true;\n }",
"public void initialize(Collection<Bookshelf> basis)\n\t throws IllegalArgumentException {\n\n\tif (null == basis)\n\t throw new IllegalArgumentException(\"input cannot be null.\");\n\n\tIterator<Bookshelf> shelfs = basis.iterator();\n\n\tBookshelf masterShelf = BookshelfOperations.union(basis);\n\n\tidPairs = identifyInputs(masterShelf); // tag | property -> neuron #\n\tthis.numShelfs = basis.size();\n\tint numBooks = masterShelf.size();\n\n\tint i = 0;\n\tdouble[][] inputValues = new double[numBooks][numTags];\n\n\twhile (shelfs.hasNext()) {\n\n\t Bookshelf shelf = shelfs.next();\n\t Iterator<Book> books = shelf.iterator();\n\n\t // System.out.println(\"numShelfs: \" + String.valueOf(numShelfs));\n\n\t while (books.hasNext()) {\n\n\t\tBook book = books.next();\n\t\tIterator<Map.Entry<String, Integer>> tags = book\n\t\t\t.enumerateTags().iterator();\n\n\t\twhile (tags.hasNext()) {\n\n\t\t Map.Entry<String, Integer> tag = tags.next();\n\t\t int index = idPairs.get(tag.getKey());\n\n\t\t if (index > numTags) {\n\t\t\tSystem.out.println(\"ERROR: INDEX OUT OF BOUNDS!\");\n\t\t\tSystem.out.println(\"name: \" + tag.getKey() + \" index: \"\n\t\t\t\t+ index);\n\t\t\tSystem.out.println(\"numTags: \" + numTags);\n\n\t\t } else if (index == numTags) {\n\t\t\t// System.out.println(\"__OTHER__ detected!\");\n\t\t\tinputValues[i][index] += ((double) tag.getValue() / (double) maxTagMag);\n\t\t } else {\n\t\t\tinputValues[i][index] = ((double) tag.getValue() / (double) maxTagMag);\n\t\t }\n\t\t}\n\t\t++i;\n\t }\n\t}\n\n\tNeuralDataSet data = new BasicNeuralDataSet(inputValues, null);\n\n\tbrain = generateBrain(numTags, numShelfs);\n\ttrain(data);\n\n\tflatShelfs = new HashMap<Integer, FlatShelf>();\n\n\tfor (Bookshelf s : basis) {\n\t FlatShelf fs = new FlatShelf(s);\n\t flatShelfs.put(checkBook(fs), fs);\n\t}\n\n\tcurrentWeights = new ButlerWeights(brain.getStructure().getSynapses()\n\t\t.get(0).getMatrix(), numTags, flatShelfs, idPairs);\n\t// initialized = true;\n }",
"public void update(Box b) {\n\t\tint row1 = b.y1 / spec.rowHeight, col1 = b.x1 / spec.colWidth,\n\t\t\trow2 = b.y2 / spec.rowHeight, col2 = b.x2 / spec.colWidth;\n\t\t// add the box to all impacted cells\n\t\tfor (int row=row1; row<=row2; row++)\n\t\t\tfor (int col=col1; col<=col2; col++)\n\t\t cells.get(row * spec.cols + col).add(b);\n\t}",
"private void createBorders() {\r\n // Upper border rectangle\r\n Rectangle topRecFrame = new Rectangle(new Point(0, 0), WITH, SIZE + 20);\r\n // Left border rectangle\r\n Rectangle leftRecFrame = new Rectangle(new Point(0, SIZE + 21), SIZE, HEIGHT);\r\n // Right border rectangle\r\n Rectangle rightRecFrame = new Rectangle(new Point(WITH - SIZE, SIZE + 21), SIZE, HEIGHT);\r\n // Rectangle for block on top of upper block for the score\r\n Rectangle topRecScore = new Rectangle(new Point(0, 0), WITH, 20);\r\n Block topScore = new Block(topRecScore, Color.LIGHT_GRAY, 0);\r\n Block topFrame = new Block(topRecFrame, Color.GRAY, 0);\r\n Block leftFrame = new Block(leftRecFrame, Color.gray, 0);\r\n Block rightFrame = new Block(rightRecFrame, Color.gray, 0);\r\n topFrame.addToGame(this);\r\n leftFrame.addToGame(this);\r\n rightFrame.addToGame(this);\r\n topScore.addToGame(this);\r\n\r\n }",
"public void populate() { \n \n // make some grounds\n ground1 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground1.setPosition(new Vec2(-380, -200));\n \n Body ground2 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground2.setPosition(new Vec2(-0, -200));\n\n Body ground3 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground3.setPosition(new Vec2(300, -100));\n \n // make a moving platform \n Body movingPlatform = new SlidingPlatform(world, PolygonShape.makeBox(100, 5), new Vec2(130, 0), 2);\n movingPlatform.setPosition(new Vec2(-260, -150));\n \n // make some bottles\n Bottle bottle1 = new Bottle(game);\n bottle1.putOn(ground1);\n bottle1.setName(\"bottle1\");\n \n Bottle bottle2 = new Bottle(game);\n bottle2.putOn(ground2);\n bottle2.setName(\"bottle2\");\n \n Bottle bottle3 = new Bottle(game);\n bottle3.putOn(ground3);\n bottle3.setName(\"bottle3\");\n \n // show dialog with information about level\n JOptionPane.showMessageDialog(frame, \"Press N or M to throw bottles to kill Boxies.\", \"Level instructions:\", JOptionPane.PLAIN_MESSAGE);\n \n // make some boxies\n Boxy boxy1 = new Boxy(game);\n boxy1.setName(\"boxy1\");\n Vec2 vec1 = new Vec2(100, 0);\n boxy1.move(vec1);\n\n Boxy boxy2 = new Boxy(game);\n boxy2.setName(\"boxy2\");\n Vec2 vec2 = new Vec2(-100, 200);\n boxy2.move(vec2);\n\n Boxy boxy3 = new Boxy(game);\n boxy3.setName(\"boxy3\");\n Vec2 vec3 = new Vec2(-400, 200);\n boxy3.move(vec3);\n \n }",
"private void addBoundingWalls() {\n\t\taddWall(new Line(new Vector2(0,0),new Vector2(getWidth(),0)));\n\t\taddWall(new Line(new Vector2(getWidth(),0), new Vector2(getWidth(),getHeight())));\n\t\taddWall(new Line(new Vector2(getWidth(),getHeight()),new Vector2(0,getHeight())));\n\t\taddWall(new Line(new Vector2(0,getHeight()),new Vector2(0,0)));\n\t}",
"private void placesInit()\n {\n\n for(Map.Entry<String,Place> placeEntry: placesMap.entrySet())\n {\n addPlace(placeEntry.getKey(),placeEntry.getValue());\n }\n\n }",
"public void updateBounds() {\n\t\tswitch (this.species){\n\t\tcase HOGCHOKER:\n\t\tcase SILVERSIDE:\n\t\tcase FLOUNDER:\n\t\t\tthis.topYBound = frameHeight / 3 * 2;\n\t\t\tthis.bottomYBound = frameHeight - imageHeight - frameBarSize;\n\t\t\tbreak;\n\t\tcase PERCH: \n\t\tcase MINNOW: \n\t\tcase WEAKFISH:\n\t\t\tthis.topYBound = frameHeight / 3;\n\t\t\tthis.bottomYBound = frameHeight / 3 * 2 - imageHeight;\n\t\t\tbreak;\n\n\t\tcase MENHADEN:\n\t\tcase MUMMICHOG:\n\t\t\tthis.topYBound = 0;\n\t\t\tthis.bottomYBound = frameHeight / 3 - imageHeight;\n\t\t\tbreak;\n\t\tcase GOLD:\n\t\tdefault:\n\t\t\ttopYBound = 0;\n\t\t\tbottomYBound = frameHeight;\n\t\t}\n\t}",
"private void prepare()\n {\n Block block = new Block(10);\n addObject(block,372,150);\n Wall wall = new Wall();\n addObject(wall,52,167);\n Wall wall2 = new Wall();\n addObject(wall2,160,167);\n Wall wall3 = new Wall();\n addObject(wall3,550,167);\n Wall wall4 = new Wall();\n addObject(wall4,650,167);\n Wall wall5 = new Wall();\n addObject(wall5,750,167);\n block.setLocation(306,171);\n Robot robot = new Robot();\n addObject(robot,48,51);\n Pizza pizza = new Pizza();\n addObject(pizza,550,60);\n Pizza pizza2 = new Pizza();\n addObject(pizza2,727,53);\n Pizza pizza3 = new Pizza();\n addObject(pizza3,364,303);\n Pizza pizza4 = new Pizza();\n addObject(pizza4,224,400);\n Pizza pizza5 = new Pizza();\n addObject(pizza5,622,395);\n ScorePanel scorePanel = new ScorePanel();\n addObject(scorePanel,106,525);\n Home home = new Home();\n addObject(home,717,521);\n\n block.setLocation(344,173);\n pizza3.setLocation(394,297);\n Pizza pizza6 = new Pizza();\n addObject(pizza6,711,265);\n Pizza pizza7 = new Pizza();\n addObject(pizza7,68,276);\n\n }",
"private void generateBoxGeom()\n {\n // textures all share the same array, so process separately.\n textureBuffer = createBuffer(BOX_TEX_COORDS.length);\n textureBuffer.put(BOX_TEX_COORDS);\n textureBuffer.rewind();\n\n vertexBuffer = new FloatBuffer[6];\n normalBuffer = new FloatBuffer[6];\n\n for(int i = 0; i < 6; i++)\n {\n vertexBuffer[i] = createBuffer(12);\n normalBuffer[i] = createBuffer(12);\n }\n\n vertexBuffer[POSITIVE_X].put(RIGHT_BOX_COORDS);\n normalBuffer[POSITIVE_X].put(RIGHT_BOX_NORMALS);\n\n vertexBuffer[NEGATIVE_X].put(LEFT_BOX_COORDS);\n normalBuffer[NEGATIVE_X].put(LEFT_BOX_NORMALS);\n\n vertexBuffer[POSITIVE_Y].put(TOP_BOX_COORDS);\n normalBuffer[POSITIVE_Y].put(TOP_BOX_NORMALS);\n\n vertexBuffer[NEGATIVE_Y].put(BOTTOM_BOX_COORDS);\n normalBuffer[NEGATIVE_Y].put(BOTTOM_BOX_NORMALS);\n\n vertexBuffer[POSITIVE_Z].put(BACK_BOX_COORDS);\n normalBuffer[POSITIVE_Z].put(BACK_BOX_NORMALS);\n\n vertexBuffer[NEGATIVE_Z].put(FRONT_BOX_COORDS);\n normalBuffer[NEGATIVE_Z].put(FRONT_BOX_NORMALS);\n\n for(int i = 0; i < 6; i++)\n {\n vertexBuffer[i].rewind();\n normalBuffer[i].rewind();\n }\n }",
"public void generate() {\n\t\t\n\t\t// For this system, there are three particles per cell:\n\t\tint nx = size[0][0];\n\t\tint ny = size[0][0];\n\t\tint nz = size[0][0];\n\t\tint nc = nx*ny*nz;\n\t\tn = 3*nc;\n\n\t\t\n\t\t// The AB2 Lattice:\n\t\tAB2Lattice ab2 = new AB2Lattice();\n\t\tab2.setSizeInCells(nx,ny,nz);\n\t\t\n\t\t// Stick them in the latt member:\n\t\tlatt = new VectorD3[2][];\n\t\tlatt[0] = new VectorD3[n];\n\t\tSystem.arraycopy(ab2.getLattice(0),0,latt[0], 0, nx*ny*nz);\n\t\tSystem.arraycopy(ab2.getLattice(1),0,latt[0], nx*ny*nz, 2*nx*ny*nz);\n\t\tlatt_name[0] = \"AB2\";\n\t\tab2.saveAsXYZ(\"initAB2\");\n\t\tab2.saveAsWRL(\"initAB2\");\n\t\t\n\t\t// Build the A and B lattices, A first, then B second:\n\n\t\t// The seperate A and B2 lattices\n\t\tFaceCentredCubicABCLattice fcca = new FaceCentredCubicABCLattice();\n\t\tFaceCentredCubicABCLattice fccb = new FaceCentredCubicABCLattice();\n\t\tfcca.setSizeInCells(nx,ny,nz);\n\t\t\n\t\t// B lattice requires more care:\n\t\tNtp = 2*nx*ny*nz;\n\t\tint nbx = (int) Math.round(Math.pow(Ntp,1.0/3.0));\n\t\tint nby = nbx;\n\t\tint nbz = nbx;\n\t\tif( nbx*nby*nbz != 2*nx*ny*nz ) {\n\t\t\t// Warn that we cannot create a sensible B-phase with this number of particles:\n\t\t\tSystem.out.println(\" H WARNING: AB2Fcc2SwitchMap cannot create a cubic B-FCC phase with \"+(2*nx*ny*nz)+\" particles.\");\n\t\t\t// Fall back to a system that is simply twice as long in one dimension (z):\n\t\t\tnbx = nx;\n\t\t\tnby = ny;\n\t\t\tnbz = 2*nz;\n\t\t\tSystem.out.println(\" H WARNING: AB2Fcc2SwitchMap creating a phase that is twice as long in the z-direction: [\"+nbx+\",\"+nby+\",\"+nbz+\"].\");\n\t\t}\n\t\t// Create the new system at the new size:\n\t\tfccb.setSizeInCells(nbx,nby,nbz);\n\n\t\t// Copy the two FCC lattices into the 1th phase:\n\t\tlatt[1] = new VectorD3[n];\n\t\tlatt_name[1] = \"2.FCC\";\n\t\tSystem.arraycopy(fcca.getLattice(), 0, latt[1], 0, nx*ny*nz);\n\t\tSystem.arraycopy(fccb.getLattice(), 0, latt[1], nx*ny*nz, Ntp);\n\n\t\t// Set up the dimensions of the third-phase box:\n\t\tboxT.x = fccb.getBasicUnitCell()[0]*nbx;\n\t\tboxT.y = fccb.getBasicUnitCell()[1]*nby;\n\t\tboxT.z = fccb.getBasicUnitCell()[2]*nbz;\n\n\t\t/* Define distances between neighbouring atoms in the same stacking plane \n\t\t * taking advantage of the fact that both lattices have the same Unit Cell: */\n\t\tdouble[] c_uc = new double[3];\n\t\tc_uc = fcca.getUnitCell();\n\t\tSystem.out.println(\" H DEBUG FCC UC [ \"+c_uc[0]+\" \"+c_uc[1]+\" \"+c_uc[2]);\n\t\tc_uc = ab2.getUnitCell();\n\t\tSystem.out.println(\" H DEBUG AB2 UC [ \"+c_uc[0]+\" \"+c_uc[1]+\" \"+c_uc[2]);\n\t\tuc.x = c_uc[0];\n\t\tuc.y = c_uc[1];\n\t\tuc.z = c_uc[2];\n\t\t\n\t\t// Put the lattices in the class members, for later use:\n\t\tlats[0] = (Lattice)ab2;\n\t\tlats[1] = (Lattice)fcca;\n\t\tlatT = (Lattice)fccb;\n\n\t}",
"public void binMasses()\n\t{\n\t\t//Create arrays\n\t\tcreateBins(calcArraySize(massBinSize,minMass, maxMass));\n\n\t\t//Check if any spectra from each polarity has been created\n\t\tif (librarySpectra.size()>0)\n\t\t{\n\t\t\t//Populate count array to correctly initialize array size for positive library spectra\n\t\t\tfor (int i=0; i<librarySpectra.size(); i++)\n\t\t\t{\n\t\t\t\tcountBin[findBinIndex(librarySpectra.get(i).precursor,massBinSize,minMass)] ++;\n\t\t\t}\n\t\t\tupdateProgress(17,\"% - Creating Composite Library\",true);\n\n\t\t\t//Use count bin to initialize new arrays to place positive spectra into hash table\n\t\t\tfor (int i=0; i<countBin.length; i++)\n\t\t\t{\n\t\t\t\tmassBin[i] = new LibrarySpectrum[countBin[i]];\n\t\t\t}\n\t\t\tupdateProgress(33,\"% - Creating Composite Library\",true);\n\n\n\t\t\t//Populate spectrum arrays for positive spectra\n\t\t\tfor (int i=0; i<librarySpectra.size(); i++)\n\t\t\t{\n\t\t\t\tmassBin[findBinIndex(librarySpectra.get(i).precursor,massBinSize,minMass)]\n\t\t\t\t\t\t[addedBin[findBinIndex(librarySpectra.get(i).precursor,massBinSize,minMass)]] = librarySpectra.get(i);\n\t\t\t\taddedBin[findBinIndex(librarySpectra.get(i).precursor,massBinSize,minMass)]++;\n\t\t\t}\n\t\t\tupdateProgress(50,\"% - Creating Composite Library\",true);\n\t\t}\n\t}",
"public Box2DCollisionCreator(GameScreen screen) {\n world = screen.getWorld(); //Sets world to the GameScreen's World instance.\n\n\n //Sets map to the correct TiledMap instance, based on whether the Box2D boundaries are being created for\n // Level1 or Level2\n if (screen instanceof Level1Screen)\n map = ((Level1Screen) screen).getMap();\n else\n map = ((Level3Screen) screen).getMap();\n\n //Creates body and fixture variables which assign Objects their states within the world\n BodyDef bdef = new BodyDef();\n PolygonShape shape = new PolygonShape();\n FixtureDef fdef = new FixtureDef();\n Body body;\n\n //Sets body and fixture variables to it's respective values based on the TiledMap's MapObject instance's information.\n for (MapObject object : map.getLayers().get(3).getObjects().getByType(RectangleMapObject.class)) {\n Rectangle rect = ((RectangleMapObject) object).getRectangle();\n\n //The static bodies that represent the ground are made\n bdef.type = BodyDef.BodyType.StaticBody;\n bdef.position.set((rect.getX() + rect.getWidth() / 2) / Safety4Kids.PPM, (rect.getY() + rect.getHeight() / 2) / Safety4Kids.PPM);\n //the bodies are added to the game world\n body = world.createBody(bdef);\n\n shape.setAsBox(rect.getWidth() / 2 / Safety4Kids.PPM, rect.getHeight() / 2 / Safety4Kids.PPM);\n fdef.shape = shape;\n fdef.filter.categoryBits = B2DConstants.BIT_OBJECT;\n body.createFixture(fdef);\n }\n\n }",
"private void boxCreator(int[] pos, int width, int height) {\n for (int x = pos[0]; x < pos[0] + width; x++) {\n tiles[x][pos[1]] = Tileset.WALL;\n }\n for (int y = pos[1]; y < pos[1] + height; y++) {\n tiles[pos[0]][y] = Tileset.WALL;\n }\n for (int x = pos[0]; x < pos[0] + width; x++) {\n tiles[x][pos[1] + height] = Tileset.WALL;\n }\n for (int y = pos[1]; y < pos[1] + height + 1; y++) {\n tiles[pos[0] + width][y] = Tileset.WALL;\n }\n for (int y = pos[1] + 1; y < pos[1] + height; y++) {\n for (int x = pos[0] + 1; x < pos[0] + width; x++) {\n tiles[x][y] = Tileset.FLOWER;\n }\n }\n }",
"private void initializeComboboxes() {\n ObservableList<Integer> options = FXCollections.observableArrayList(vertexesCurrentlyOnScreen);\n startingVertex = new ComboBox<>(options);\n finalVertex = new ComboBox<>(options);\n startingVertex.setBorder((new Border(new BorderStroke(Color.LIGHTGRAY, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(1.5)))));\n finalVertex.setBorder(new Border(new BorderStroke(Color.LIGHTGRAY, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(1.5))));\n }",
"public List<Box> packThings (List<Thing> things){\n List<Box> boxes = new ArrayList<Box>();\r\n \r\n for (Thing thing : things){\r\n Box box = new Box(boxesVolume); //creates new box with specified volume\r\n box.addThing(thing); //adds things to the Box\r\n boxes.add(box); //adds box to list of boxes\r\n }\r\n \r\n return boxes;\r\n }",
"public void initializeBarriers() {\n // Initialize an entry barrier that ensures all threads in the\n // thread pool start running at the same time.\n // TODO -- you fill in here.\n \n\n // Initialize an exit barrier to ensure the waiter thread\n // doesn't finish until all the Beings finish gazing.\n // TODO -- you fill in here.\n \n\n // Iterate through all the Beings and set their barriers\n // accordingly.\n // TODO -- you fill in here.\n \n }",
"public void addBox()\n {\n if(Student.sittingRia==false) {\n box = new BoxRia(\"chalkboard.png\",4,2);\n addObject(box,box.myRow,box.mySeat);\n chalk = new BoxRia(\"chalk.png\",0,0);\n addObject(chalk,2,3);\n }\n }",
"private List<Box> initBoxes(List<Integer> deadBoxes){\n List<Box> boxes = new ArrayList<>();\n\n for(int x=0;x<16;x++){\n boxes.add(new Box(x + 1, grid[x]));\n }\n\n\n /**\n * 1 2 3 4\n * 5 6 7 8\n * 9 10 11 12\n * 13 14 15 16\n */\n\n //first row\n addNeighbours(1, new int[]{2,5,6}, boxes);\n addNeighbours(2,new int[]{1,3,5,6,7}, boxes);\n addNeighbours(3,new int[]{2,4,6,7,8}, boxes);\n addNeighbours(4,new int[]{3,7,8}, boxes);\n addNeighbours(5,new int[]{1,2,6,9,10}, boxes);\n addNeighbours(6,new int[]{1,2,3,5,7,9,10,11}, boxes);\n addNeighbours(7,new int[]{2,3,4,6,8,10,11,12}, boxes);\n addNeighbours(8,new int[]{3,4,7,11,12}, boxes);\n addNeighbours(9,new int[]{5,6,10,13,14}, boxes);\n addNeighbours(10,new int[]{5,6,7,9,11,13,14,15}, boxes);\n addNeighbours(11,new int[]{6,7,8,10,12,14,15,16}, boxes);\n addNeighbours(12,new int[]{7,8,11,15,16}, boxes);\n addNeighbours(13,new int[]{9,10,14}, boxes);\n addNeighbours(14,new int[]{9,10,11,13,15}, boxes);\n addNeighbours(15,new int[]{10,11,12,14,16}, boxes);\n addNeighbours(16,new int[]{11,12,15}, boxes);\n\n return removeBoxes(boxes,deadBoxes);\n }",
"public void initConstraints() {\n\n\t\tfor (int i = 0; i < Sudoku.ROWS; i++) {\n\t\t\tfor (int j = 0; j < Sudoku.COLUMNS; j++) {\n\t\t\t\t// set row constraints\n\t\t\t\tfor (int row = 0; row < Sudoku.ROWS; row++) {\n\t\t\t\t\tif (row != j)\n\t\t\t\t\t\tSudoku.grid[i][j].constraints.add(new Constraint(i, row));\n\t\t\t\t}\n\t\t\t\t// set column constraints\n\t\t\t\tfor (int col = 0; col < Sudoku.COLUMNS; ++col) {\n\t\t\t\t\tif (col != i)\n\t\t\t\t\t\tSudoku.grid[i][j].constraints.add(new Constraint(col, j));\n\t\t\t\t}\n\n\t\t\t\t// set box constraints\n\t\t\t\tint top_row = (i/3) * 3;\n\t\t\t\tint bottom_row = top_row + 3;\n\t\t\t\tint left_col = (j/3) * 3;\n\t\t\t\tint right_col = left_col + 3;\n\t\t\t\tfor (int row_unit = top_row; row_unit < bottom_row; row_unit++) {\n\t\t\t\t\tfor (int col_unit = left_col; col_unit < right_col; col_unit++) {\n\t\t\t\t\t\tif (row_unit != i && col_unit != j) {\n\t\t\t\t\t\t\tSudoku.grid[i][j].constraints.add(new Constraint(row_unit, col_unit));\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}",
"public void createSideBlocks() {\n Fill fill = new FillColor(Color.darkGray);\n Block topB = new Block(new Rectangle(new Point(0, 0), 800, 45), fill);\n Block rightB = new Block(new Rectangle(new Point(775, 25), 25, 576), fill);\n Block leftB = new Block(new Rectangle(new Point(0, 25), 25, 576), fill);\n //add each screen-side block to game and set 1 hitpoint.\n topB.addToGame(this);\n topB.setHitPoints(1);\n rightB.addToGame(this);\n rightB.setHitPoints(1);\n leftB.addToGame(this);\n leftB.setHitPoints(1);\n }",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<Shape> shapes = new ArrayList<>();\n //System.out.println(\"Please enter the bin capacity\");\n Shape container = new Shape();\n container.containerPrompt();\n container.containerVolume();\n int binCapacity = container.containerVolume();\n //insert three items here\n System.out.println(\"How many cubes do want to store: 1, 2 or 3 \");\n int choice = scanner.nextInt();\n while (choice-- >0){\n Shape object = new Shape();\n object.objectPrompt();\n shapes.add(object);\n\n /*\n object.objectVolume();\n int one = object.containerVolume();*/\n }\n\n /*switch (choice){\n case 1:\n Shape shape1 = new Shape();\n shape1.objectPrompt();\n shape1.objectVolume();\n int one = shape1.containerVolume();\n break;\n case 2:\n Shape shape2 = new Shape();\n shape2.objectPrompt();\n shape2.objectVolume();\n int two = shape2.containerVolume();\n\n Shape shape3 = new Shape();\n shape3.objectPrompt();\n shape3.objectVolume();\n int one = shape1.containerVolume();\n break;\n\n case 3:\n Shape shape1 = new Shape();\n shape1.objectPrompt();\n shape1.objectVolume();\n int one = shape1.containerVolume();\n break;\n default:\n }*/\n List<Integer> items=new ArrayList<>();\n\n for (Shape shape: shapes){\n items.add(shape.containerVolume());\n System.out.println(shape.containerVolume());\n }\n\n\n\n //List<Integer> items = Arrays.asList(shapes.get(0).containerVolume());\n //insert the bin capacity\n // int binCapacity = 5;\n CheckBin algorithm = new CheckBin(items, binCapacity);\n algorithm.solvingBinPackingProblem();\n algorithm.showResults();\n // System.out.println(\"This is after committing\");\n\n\n }",
"protected void boxOfMortys() {\n Triple pos1, pos2, pos3, pos4, pos5, pos6, pos7, pos8, col1, col2, col3, col4;\n\n pos1 = new Triple(-10, -10, 0);\n pos2 = new Triple(110, -10, 0);\n pos3 = new Triple(110, -10, 120);\n pos4 = new Triple(-10, -10, 120);\n pos5 = new Triple(-10, 110, 0);\n pos6 = new Triple(110, 110, 0);\n pos7 = new Triple(110, 110, 120);\n pos8 = new Triple(-10, 110, 120);\n\n // Front Triangles\n frozenSoups.addTri( new Triangle(new Vertex(pos1, 0, 0),\n new Vertex(pos2, 1, 0),\n new Vertex(pos3, 1, 1),\n 22 ) );\n\n frozenSoups.addTri( new Triangle(new Vertex(pos3, 1, 1),\n new Vertex(pos4, 0, 1),\n new Vertex(pos1, 0, 0),\n 22 ) );\n\n // Left Triangles\n frozenSoups.addTri( new Triangle(new Vertex(pos1, 0, 0),\n new Vertex(pos5, 1, 0),\n new Vertex(pos8, 1, 1),\n 22 ) );\n\n frozenSoups.addTri( new Triangle(new Vertex(pos8, 1, 1),\n new Vertex(pos4, 0, 1),\n new Vertex(pos1, 0, 0),\n 22 ) );\n\n // Right Triangles\n frozenSoups.addTri( new Triangle(new Vertex(pos2, 0, 0),\n new Vertex(pos6, 1, 0),\n new Vertex(pos7, 1, 1),\n 22 ) );\n\n frozenSoups.addTri( new Triangle(new Vertex(pos7, 1, 1),\n new Vertex(pos3, 0, 1),\n new Vertex(pos2, 0, 0),\n 22 ) );\n\n // Back Triangles\n frozenSoups.addTri( new Triangle(new Vertex(pos5, 0, 0),\n new Vertex(pos6, 1, 0),\n new Vertex(pos7, 1, 1),\n 22 ) );\n\n frozenSoups.addTri( new Triangle(new Vertex(pos7, 1, 1),\n new Vertex(pos8, 0, 1),\n new Vertex(pos5, 0, 0),\n 22 ) );\n\n // Top Triangles\n// frozenSoups.addTri( new Triangle(new Vertex(pos4, 0, 0),\n// new Vertex(pos3, 0, 1),\n// new Vertex(pos7, 1, 1),\n// 20 ) );\n\n// frozenSoups.addTri( new Triangle(new Vertex(pos7, 0, 0),\n// new Vertex(pos8, 1, 0),\n// new Vertex(pos4, 1, 1),\n// 20 ) );\n }",
"@Override\r\n\tpublic void process() {\n\t\tSystem.out.println(\"this is CompositeBOx \" + this.toString());\r\n\t\tfinal Iterator it = mBoxList.iterator();\r\n\t\twhile(it.hasNext())\r\n\t\t{\r\n\t\t\tIBox box = (IBox)it.next();\r\n\t\t\tbox.process();\r\n\t\t}\r\n\t}",
"public void InitializeConstraints(boundkey[] bkc, double[] blc, NodesVector nvector, PipesVector pvector,\n\t\t\tTapsVector tvector, double outflow, double PrixMax, double lcom) {\n\t\tNodes nodes;\n\t\tPipes pipes;\n\t\tTaps taps;\n\n\t\t/* Contraintes sur les Nodes - taps */\n\t\tfor (int i = 0; i < (NbNodes - NbTaps - 1); i++) {\n\t\t\tnodes = (Nodes) nvector.elementAt(i + 1);\n\t\t\tCste[i] = -nodes.height;\n\t\t\tbkc[i] = mosek.boundkey.up;\n\t\t\tblc[i] = -1.0e30;\n\t\t}\n\n\t\t/* Contraintes sur les Taps */\n\t\tfor (int i = NbNodes - NbTaps - 1; i < (NbNodes - 1); i++) {\n\t\t\tnodes = (Nodes) nvector.elementAt(i + 1);\n\t\t\ttaps = (Taps) tvector.elementAt(i - (NbNodes - NbTaps - 1));\n\n\t\t\tif (taps.orifice == Orifices.MAXDIAM) {\n\t\t\t\tCste[i] = -nodes.height - ((outflow * outflow) / taps.faucetCoef);\n\t\t\t} else {\n\t\t\t\tCste[i] = (-nodes.height\n\t\t\t\t\t\t- (outflow * outflow * ((1 / taps.faucetCoef) + Math.pow(CoefOrif / taps.orifice, 4))));\n\t\t\t}\n\n\t\t\tbkc[i] = mosek.boundkey.up;\n\t\t\tblc[i] = -1.0e30;\n\t\t}\n\n\t\t/* Contraintes sur les longueurs des Pipes */\n\t\tfor (int i = NbNodes - 1; i < (m - 1); i++) {\n\t\t\tpipes = (Pipes) pvector.elementAt(i - NbNodes + 1);\n\n\t\t\tCste[i] = pipes.length;\n\n\t\t\tbkc[i] = mosek.boundkey.fx;\n\t\t\tblc[i] = Cste[i];\n\t\t}\n\n\t\t/* contrainte de prix max */\n\t\tCste[m - 1] = PrixMax;\n\t\tbkc[m - 1] = mosek.boundkey.up;\n\t\tblc[m - 1] = -1.0e30;\n\t}",
"static void setItemsAndContainers (){\n\t \t/**Add containers to places*/\n\t \tLocation.places[0].addContainer(Container.depths);\n\t \tLocation.places[1].addContainer(Container.secondaryInv);\n\t \tLocation.places[4].addContainer(Container.SRCloset);\n\t \tLocation.places[6].addContainer(Container.couch1);\n\t\t Location.places[6].addContainer(Container.couch2);\n\t\t Location.places[6].addContainer(Container.couch3);\n\t\t Location.places[6].addContainer(Container.couch4);\n\t\t Location.places[13].addContainer(Container.closetBathroom);\n Location.places[15].addContainer(Container.K1Couch);\n Location.places[16].addContainer(Container.fridge);\n Location.places[23].addContainer(Container.autoAisle);\n Location.places[24].addContainer(Container.aisle15B);\n Location.places[26].addContainer(Container.bb);\n\t\t \n\t\t /**Add items to places*/\n\t\t Location.places[0].addItem(Item.grabber);\n\t\t Location.places[1].addItem(Item.parcans);\n\t\t Location.places[3].addItem(Item.bookbag);\n\t\t Location.places[4].addItem(Item.ladder);\n\t\t Location.places[7].addItem(Item.drill);\n\t\t Location.places[7].addItem(Item.screws);\n\t\t Location.places[7].addItem(Item.pipe);\n\t\t Location.places[7].addItem(Item.twobyfour);\n\t\t Location.places[8].addItem(Item.rope);\n\t\t Location.places[11].addItem(Item.car);\n\t\t Location.places[12].addItem(Item.twentyDollars);\n\t\t Location.places[16].addItem(Item.tupperware);\n\t\t Location.places[18].addItem(Item.bottle);\n Location.places[19].addItem(Item.plunger);\n Location.places[20].addItem(Item.map);\n Location.places[21].addItem(Item.magnet);\n Location.places[23].addItem(Item.avocados);\n Location.places[25].addItem(Item.noodles);\n\t\t Location.places[26].addItem(Item.Unibrow); \n\t\t \n\t\t /**test purposes*/\n\t\t Location.places[10].addItem(Item.otherWrench);\n//\t\t Location.places[0].addItem(Item.repellent);\n//\t\t Location.places[7].addItem(Item.repellent);\n// Location.places[7].addItem(Item.wrench);\n Location.places[7].addItem(Item.keys);\n\t\t \n\t\t /**Adds items in containers*/\n\t\t Container.setItemsInContainers();\n\t\t }",
"private void calcBoxVerts() {\n\t\tif (verts != null) {\n\t\t\tdouble minX = verts[0].getElement(0);\n\t\t\tdouble maxX = minX;\n\t\t\tdouble minY = verts[0].getElement(1);\n\t\t\tdouble maxY = minY;\n\t\t\tdouble minZ = verts[0].getElement(2);\n\t\t\tdouble maxZ = minZ;\n\t\t\tfor (int i = 1; i < verts.length; i++) {\n\t\t\t\tif (verts[i].getElement(0) < minX) {\n\t\t\t\t\tminX = verts[i].getElement(0);\n\t\t\t\t} else if (verts[i].getElement(0) > maxX) {\n\t\t\t\t\tmaxX = verts[i].getElement(0);\n\t\t\t\t}\n\t\t\t\tif (verts[i].getElement(1) < minY) {\n\t\t\t\t\tminY = verts[i].getElement(1);\n\t\t\t\t} else if (verts[i].getElement(1) > maxY) {\n\t\t\t\t\tmaxY = verts[i].getElement(1);\n\t\t\t\t}\n\t\t\t\tif (verts[i].getElement(2) < minZ) {\n\t\t\t\t\tminZ = verts[i].getElement(2);\n\t\t\t\t} else if (verts[i].getElement(2) > maxZ) {\n\t\t\t\t\tmaxZ = verts[i].getElement(2);\n\t\t\t\t}\n\t\t\t}\n\t\t\tVector[] boxVerts = new Vector[8];\n\t\t\tboxVerts[0] = new Vector(3);\n\t\t\tboxVerts[0].setElements(new double[] {minX, minY, minZ});\n\t\t\tboxVerts[1] = new Vector(3);\n\t\t\tboxVerts[1].setElements(new double[] {maxX, minY, minZ});\n\t\t\tboxVerts[2] = new Vector(3);\n\t\t\tboxVerts[2].setElements(new double[] {minX, minY, maxZ});\n\t\t\tboxVerts[3] = new Vector(3);\n\t\t\tboxVerts[3].setElements(new double[] {maxX, minY, maxZ});\n\t\t\tboxVerts[4] = new Vector(3);\n\t\t\tboxVerts[4].setElements(new double[] {minX, maxY, minZ});\n\t\t\tboxVerts[5] = new Vector(3);\n\t\t\tboxVerts[5].setElements(new double[] {maxX, maxY, minZ});\n\t\t\tboxVerts[6] = new Vector(3);\n\t\t\tboxVerts[6].setElements(new double[] {minX, maxY, maxZ});\n\t\t\tboxVerts[7] = new Vector(3);\n\t\t\tboxVerts[7].setElements(new double[] {maxX, maxY, maxZ});\n\t\t\tthis.boxVerts = boxVerts;\n\t\t} else {\n\t\t\tthis.boxVerts = null;\n\t\t}\n\t}",
"private void drawBox(Graphics window, int hsBtoRGB, int x, int y) {\n\t\t\n\t}",
"public void\nGLRenderBoundingBox(SoGLRenderAction action, final SbBox3f bbox)\n//\n////////////////////////////////////////////////////////////////////////\n{\n int face, vert;\n final SoMaterialBundle mb = new SoMaterialBundle(action);\n final SbVec3f scale = new SbVec3f(), tmp = new SbVec3f();\n\n // Make sure textures are disabled, just to speed things up\n action.getState().push();\n SoGLMultiTextureEnabledElement.set(action.getState(),this,0, false);\n\n // Make sure first material is sent if necessary\n mb.sendFirst();\n\n // Scale and translate the cube to the correct spot\n final SbVec3f translate = bbox.getCenter();\n final SbVec3f size = new SbVec3f();\n bbox.getSize(size);\n scale.copyFrom(size.operator_mul(0.5f));\n\n GL2 gl2 = Ctx.get(SoGLCacheContextElement.get(action.getState())); \n \n for (face = 0; face < 6; face++) {\n\n if (! mb.isColorOnly())\n gl2.glNormal3fv(normals[face].getValueRead(),0);\n\n gl2.glBegin(GL2.GL_POLYGON);\n\n for (vert = 0; vert < 4; vert++)\n gl2.glVertex3fv((SCALE(verts[face][vert],tmp,scale).operator_add(translate)).getValueRead(),0);\n\n gl2.glEnd();\n }\n\n // Restore state\n action.getState().pop();\n mb.destructor(); // java port\n}",
"public void buildMap() {\n // CUBES ENGINE INITIALIZATION MOVED TO APPSTATE METHOD\n // Here we init cubes engine\n CubesTestAssets.registerBlocks();\n CubesSettings blockSettings = CubesTestAssets.getSettings(this.app);\n blockSettings.setBlockSize(5);\n //When blockSize = 5, global coords should be multiplied by 3 \n this.blockScale = 3.0f;\n this.halfBlockStep = 0.5f;\n \n testTerrain = new BlockTerrainControl(CubesTestAssets.getSettings(this.app), new Vector3Int(4, 1, 4));\n testNode = new Node();\n int wallHeight = 3;\n //testTerrain.setBlockArea(new Vector3Int(0, 0, 0), new Vector3Int(32, 1, 64), CubesTestAssets.BLOCK_STONE);\n this.testTerrain.setBlockArea( new Vector3Int(3,0,43), new Vector3Int(10,1,10), CubesTestAssets.BLOCK_STONE); // Zone 1 Floor\n this.testTerrain.setBlockArea( new Vector3Int(3,1,43), new Vector3Int(10,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // South Wall\n this.testTerrain.setBlockArea( new Vector3Int(3,1,52), new Vector3Int(10,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // North Wall\n this.testTerrain.setBlockArea( new Vector3Int(3,1,43), new Vector3Int(1,wallHeight,10), CubesTestAssets.BLOCK_WOOD); // West Wall\n this.testTerrain.setBlockArea( new Vector3Int(12,1,43), new Vector3Int(1,wallHeight,10), CubesTestAssets.BLOCK_WOOD); // East Wall\n \n this.testTerrain.removeBlockArea( new Vector3Int(12,1,46), new Vector3Int(1,wallHeight,4)); // Door A\n \n this.testTerrain.setBlockArea( new Vector3Int(12,0,45), new Vector3Int(13,1,6), CubesTestAssets.BLOCK_STONE); // Zone 2 Floor A\n this.testTerrain.setBlockArea( new Vector3Int(12,1,45), new Vector3Int(8,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // South Wall\n this.testTerrain.setBlockArea( new Vector3Int(12,1,50), new Vector3Int(13,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // North Wall\n this.testTerrain.setBlockArea(new Vector3Int(19,0,42), new Vector3Int(6,1,3), CubesTestAssets.BLOCK_STONE); // Zone 2 Floor B\n this.testTerrain.setBlockArea( new Vector3Int(19,1,42), new Vector3Int(1,wallHeight,3), CubesTestAssets.BLOCK_WOOD); //\n this.testTerrain.setBlockArea( new Vector3Int(24,1,42), new Vector3Int(1,wallHeight,9), CubesTestAssets.BLOCK_WOOD); //\n \n this.testTerrain.setBlockArea( new Vector3Int(15,0,26), new Vector3Int(18,1,17), CubesTestAssets.BLOCK_STONE); // Zone 3 Floor\n this.testTerrain.setBlockArea( new Vector3Int(15,1,42), new Vector3Int(18,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // South Wall\n this.testTerrain.setBlockArea( new Vector3Int(15,1,26), new Vector3Int(18,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // North Wall\n this.testTerrain.setBlockArea( new Vector3Int(15,1,26), new Vector3Int(1,wallHeight,17), CubesTestAssets.BLOCK_WOOD); // West Wall\n this.testTerrain.setBlockArea( new Vector3Int(32,1,26), new Vector3Int(1,wallHeight,17), CubesTestAssets.BLOCK_WOOD); // East Wall\n \n this.testTerrain.removeBlockArea( new Vector3Int(20,1,42), new Vector3Int(4,wallHeight,1)); // Door B\n this.testTerrain.removeBlockArea( new Vector3Int(15,1,27), new Vector3Int(1,wallHeight,6)); // Door C\n \n this.testTerrain.setBlockArea( new Vector3Int(10,0,26), new Vector3Int(5,1,8), CubesTestAssets.BLOCK_STONE); // Zone 4 Floor A\n this.testTerrain.setBlockArea( new Vector3Int(10,1,26), new Vector3Int(5,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // South Wall\n this.testTerrain.setBlockArea( new Vector3Int(3,0,18), new Vector3Int(8,1,16), CubesTestAssets.BLOCK_STONE); // Zone 4 Floor B\n this.testTerrain.setBlockArea( new Vector3Int(3,1,18), new Vector3Int(1,wallHeight,16), CubesTestAssets.BLOCK_WOOD); // East Wall\n this.testTerrain.setBlockArea( new Vector3Int(10,1,18), new Vector3Int(1,wallHeight,9), CubesTestAssets.BLOCK_WOOD); // West Wall\n this.testTerrain.setBlockArea( new Vector3Int(3,1,33), new Vector3Int(13,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // North Wall\n \n this.testTerrain.setBlockArea( new Vector3Int(1,0,5), new Vector3Int(26,1,14), CubesTestAssets.BLOCK_STONE); // Zone 5\n this.testTerrain.setBlockArea( new Vector3Int(1,1,18), new Vector3Int(26,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // South Wall\n this.testTerrain.setBlockArea( new Vector3Int(1,1,5), new Vector3Int(26,wallHeight,1), CubesTestAssets.BLOCK_WOOD); // North Wall\n this.testTerrain.setBlockArea( new Vector3Int(1,1,5), new Vector3Int(1,wallHeight,14), CubesTestAssets.BLOCK_WOOD); // West Wall\n this.testTerrain.setBlockArea( new Vector3Int(26,1,5), new Vector3Int(1,wallHeight,14), CubesTestAssets.BLOCK_WOOD); // East Wall\n \n this.testTerrain.removeBlockArea( new Vector3Int(4,1,18), new Vector3Int(6,wallHeight,1)); // Door E\n \n // Populate the world with spawn points\n this.initSpawnPoints();\n \n //Add voxel world/map to collisions\n testTerrain.addChunkListener(new BlockChunkListener(){\n @Override\n public void onSpatialUpdated(BlockChunkControl blockChunk){\n Geometry optimizedGeometry = blockChunk.getOptimizedGeometry_Opaque();\n phyTerrain = optimizedGeometry.getControl(RigidBodyControl.class);\n if(phyTerrain == null){\n phyTerrain = new RigidBodyControl(0);\n optimizedGeometry.addControl(phyTerrain);\n bulletAppState.getPhysicsSpace().add(phyTerrain);\n }\n phyTerrain.setCollisionShape(new MeshCollisionShape(optimizedGeometry.getMesh()));\n }\n });\n \n testNode.addControl(testTerrain);\n rootNode.attachChild(testNode);\n }",
"void initializeGrid() {\n int maxBombs = GridHelper.getMaxBombs((int)Math.pow(hiddenGrid.length, 2.0)); // A: How many bombs CAN this have?\n bombsPlaced = 0; // B: How many bombs DOES this have?\n int cycleCap = randomCycleCap(); // C: Sets cycleCap to a randomly generated number between 0 and 15,\n int cycleCellCount = 0; // D: cycleCap starts at zero and goes up\n\n for (int i = 0; i < hiddenGrid.length; i++) {\n for (int j = 0; j < hiddenGrid[i].length; j++) {\n\n if (hiddenGrid[i][j] == null) {\n setCell(i, j, 0); // a: initializes the null value to 0\n }\n if((cycleCellCount == cycleCap) && (bombsPlaced < maxBombs)){\n placeBomb(i, j, -1); // a: turns this cell into a bomb, increments cells around it\n cycleCellCount = 0; // b: Restarts the 'cycle counter'\n cycleCap = randomCycleCap(); // c: Gives us a new number to 'count down' to, to place the next bomb\n } else{\n ++cycleCellCount; // a. Moves to the next cell in the 'cycle' having done nothing\n }\n }\n }\n System.out.println(\"Bombs placed: \" + bombsPlaced);\n }",
"public void effacerBoules(Groupe bs) {\n\t\t\tfor(Boule b:bs) {\n\t\t\t\tcolonnes.get(b.posx).effacer(b.posy);\n\t\t\t}\n\t\t}",
"public void setup() {\n\t\tsize(1300, 800);\n\t\tint seed = 4346;\n\t\tran = new Random(seed);\n\t\trandompolys = randomPolygons(210);// prepare the input polygons\n\n\t\tDouble segment_len = useAbey ? null : segment_max_length;\n\t\tPack pack = new Pack(randompolys, margin, segment_len, rotSteps, WID, HEI, preferX);\n\t\tpack.packOneSheet(useAbey);\n\t\tpacks.add(pack);\n\n\t\tfor (int i = 0; i < 100; i++) { // packing one sheet after another, 100 is estimated\n\t\t\tint size = packs.size();\n\t\t\tif (packs.get(size - 1).isEmpty()) {\n\t\t\t\tprintln(size + \" sheets\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tpack = packs.get(size - 1).clone();\n\t\t\tpack.packOneSheet(useAbey);\n\t\t\tpacks.add(pack);\n\t\t}\n\t\treport();\n\t}",
"private VBox createBottomOrderBox() {\n\t\tVBox v = new VBox();\n\t\tVBox.setMargin(v, new Insets(5));\n\t\tv.setStyle(\"-fx-border-color: black; \"\n\t\t\t\t+ \"-fx-background-color: gainsboro\");\n\t\tLabel l1 = new Label(\"Please Check Applicable Storage Shelves\");\n\t\tv.getChildren().add(l1);\n\t\t//Iterate into lines of 5 lables and checkboxes\n\t\tfor (int i = 0; i < cf.getShelf().size(); i += 5) {\n\t\t\t\n\t\t\t/*\n\t\t\t * Create the HBox to store up to 5\n\t\t\t * CheckBoxes. Align its contents to the center.\n\t\t\t */\n\t\t\tHBox h = new HBox();\n\t\t\th.setSpacing(10);\n\t\t\tHBox.setMargin(h, new Insets(5));\n\t\t\th.setPadding(new Insets(5));\n\t\t\th.setAlignment(Pos.CENTER);\n\t\t\t/*\n\t\t\t * Decide what to iterate on:\n\t\t\t * If there are >= 5 shelves remaining, \n\t\t\t * iterate against 5. If there are less than 5 \n\t\t\t * shelves, iterate against no.Shelves remaining.\n\t\t\t * This allows blocks of 5 checkboxes and a final\n\t\t\t * dynamicly sized block for the remaining amount.\n\t\t\t */\n\t\t\tif ((cf.getShelf().size()-i) >= 5) {\n\t\t\t\t//For the next 5 StorageShelves\n\t\t\t\tfor (int j = i; j < i+5; j++) {\n\t\t\t\t\tCheckBox cb = new CheckBox();\n\t\t\t\t\t//Set the CheckBox's text to the Shelf it represents.\n\t\t\t\t\tcb.setText(cf.getShelf().get(j).getuID());\n\n\t\t\t\t\t// Add the checkbox to currentOrder's array to be referenced later.\n\t\t\t\t\tcurrentOrder.addBox(cb);\n\t\t\t\t\t\n\t\t\t\t\t//Add checkbox to Hbox for displaying\n\t\t\t\t\th.getChildren().add(cb);\n\t\t\t\t}\n\t\t\t} else if ((cf.getShelf().size()-i) < 5) {\n\t\t\t\t//For the remaining number of shelves\n\t\t\t\tfor (int j = i; j < cf.getShelf().size(); j++) {\n\t\t\t\t\tCheckBox cb = new CheckBox();\n\t\t\t\t\t//Set the CheckBox's text to the Shelf it represents.\n\t\t\t\t\tcb.setText(cf.getShelf().get(j).getuID());\n\n\t\t\t\t\t// Add the checkbox to currentOrder's array to be referenced later.\n\t\t\t\t\tcurrentOrder.addBox(cb);\n\t\t\t\t\t//Add checkbox to Hbox for displaying\n\t\t\t\t\th.getChildren().add(cb);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"OrderBox Error Found!\");\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\t//Add HBox and its contents into the VBox\n\t\t\tv.getChildren().add(h);\n\t\t}\n\t\treturn v;\n\t}",
"private void initializeTBoxAxioms(Set<OWLSubClassOfAxiom> normalizedAxioms) {\n\t\tfor (OWLSubClassOfAxiom axiom : normalizedAxioms) {\n\t\t\tOWLClassExpression subClass = axiom.getSubClass();\n\t\t\tOWLClassExpression superClass = axiom.getSuperClass();\n\n\t\t\tif ((subClass.getClassExpressionType().equals(ClassExpressionType.OBJECT_INTERSECTION_OF)\n\t\t\t\t\t\t|| subClass.getClassExpressionType().equals(ClassExpressionType.OWL_CLASS) || subClass.isOWLThing())\n\t\t\t\t\t\t&& (superClass.getClassExpressionType().equals(ClassExpressionType.OBJECT_UNION_OF)\n\t\t\t\t\t\t\t\t\t|| superClass.getClassExpressionType().equals(ClassExpressionType.OWL_CLASS) || superClass.isOWLNothing())) {\n\n\t\t\t\tif (subClass.getClassExpressionType().equals(ClassExpressionType.OBJECT_INTERSECTION_OF))\n\t\t\t\t\tfor (OWLClassExpression conjunct : subClass.asConjunctSet())\n\t\t\t\t\t\tif (!conjunct.getClassExpressionType().equals(ClassExpressionType.OWL_CLASS))\n\t\t\t\t\t\t\tSystem.out.println(\"WARNING!!! Unrecognized OBJECT_INTERSECTION_OF subclass at initializeTBoxAxioms at NFSRIQOntology.java\" + \"\\n\" + \" -> \" + axiom\n\t\t\t\t\t\t\t\t\t\t+ \" -> \" + subClass.getClassExpressionType() + \"\\n -> \" + subClass + \"\\n\");\n\n\t\t\t\tif (subClass.getClassExpressionType().equals(ClassExpressionType.OBJECT_UNION_OF))\n\t\t\t\t\tfor (OWLClassExpression disjunct : superClass.asDisjunctSet())\n\t\t\t\t\t\tif (!disjunct.getClassExpressionType().equals(ClassExpressionType.OWL_CLASS))\n\t\t\t\t\t\t\tSystem.out.println(\"WARNING!!! Unrecognized OBJECT_UNION_OF subclass at initializeTBoxAxioms at NFSRIQOntology.java\" + \"\\n\" + \" -> \" + axiom + \" -> \"\n\t\t\t\t\t\t\t\t\t\t+ superClass.getClassExpressionType() + \"\\n -> \" + superClass + \"\\n\");\n\n\t\t\t\tintDisjAxioms.add(axiom);\n\n\t\t\t} else if (subClass.getClassExpressionType().equals(ClassExpressionType.OWL_CLASS)) {\n\n\t\t\t\tswitch (Srd.conceptTypeToString(superClass)) {\n\t\t\t\tcase Srd.allValuesFrom + Srd.className:\n\t\t\t\tcase Srd.allValuesFrom + Srd.bottom:\n\t\t\t\t\t// A sqs forall R.B\n\t\t\t\t\tunivAxioms.add(axiom);\n\t\t\t\t\tbreak;\n\t\t\t\tcase Srd.maxCardinality + Srd.className:\n\t\t\t\tcase Srd.maxCardinality + Srd.top:\n\t\t\t\t\t// A sqs < n R.B\n\t\t\t\t\tmaxCardAxioms.add(axiom);\n\t\t\t\t\tbreak;\n\t\t\t\tcase Srd.minCardinality + Srd.className:\n\t\t\t\tcase Srd.minCardinality + Srd.top:\n\t\t\t\t\t// A sqs > n R.B\n\t\t\t\t\tminCardAxioms.add(axiom);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tSystem.out.println(\"WARNING!!! Unrecognized superClass ClassExpressionType at initializeAxioms at NFSRIQOntology.java\" + \"\\n\" + \" -> \" + axiom + \"\\n\" + \" -> \"\n\t\t\t\t\t\t\t\t+ superClass.getClassExpressionType() + \"\\n -> \" + superClass + \"\\n\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t} else\n\t\t\t\tSystem.out.println(\"WARNING!!! Unrecognized type of axiom at initializeTBoxAxioms at NFSRIQOntology.java\" + \"\\n\" + \" -> \" + axiom + \"\\n\");\n\n\t\t}\n\t}",
"public void initGui() {\r\n boolean var10000 = method_1147();\r\n this.buttonList.clear();\r\n this.field_985 = this.height / 4 - 52;\r\n boolean var1 = var10000;\r\n this.field_986 = this.height - 29;\r\n bcb var10001 = new bcb;\r\n var10001.method_748(1, this.width / 2 - 98, this.method_1143(1), 60, 20, String.valueOf(class_687.field_2947));\r\n this.field_972 = var10001;\r\n var10001 = new bcb;\r\n var10001.method_748(2, this.width / 2 + 102, this.method_1143(1), 60, 20, String.valueOf(class_687.field_2946));\r\n this.field_973 = var10001;\r\n var10001 = new bcb;\r\n var10001.method_748(3, this.width / 2 + 2, this.method_1143(2), 60, 20, String.valueOf(class_687.field_2948));\r\n this.field_974 = var10001;\r\n class_157 var4 = new class_157;\r\n int var10004 = this.width / 2 + 2;\r\n int var10005 = this.method_1143(3);\r\n String[] var3 = field_989;\r\n var4.method_833(50, var10004, var10005, 150, 20, \"X Pos: \", 1.0F, (float)(this.width - 25), (float)class_687.field_2949, true);\r\n this.field_979 = var4;\r\n var4 = new class_157;\r\n var4.method_833(60, this.width / 2 + 2, this.method_1143(4), 150, 20, \"Y Pos: \", 1.0F, (float)(this.height - 8), (float)class_687.field_2950, true);\r\n this.field_980 = var4;\r\n var10001 = new bcb;\r\n var10001.method_748(4, this.width / 2 + 2, this.method_1143(5), 60, 20, String.valueOf(class_687.field_2951));\r\n this.field_975 = var10001;\r\n var10001 = new bcb;\r\n var10001.method_748(5, this.width / 2 + 2, this.method_1143(6), 60, 20, String.valueOf(class_687.field_2952));\r\n this.field_976 = var10001;\r\n var4 = new class_157;\r\n var4.method_833(70, this.width / 2 + 2, this.method_1143(7), 150, 20, \"x\", 0.0F, 10.0F, (float)class_687.field_2953, false);\r\n this.field_981 = var4;\r\n var10001 = new bcb;\r\n var10001.method_748(100, this.width / 2 - 155, this.field_986, 150, 20, \"Sauvegarder\");\r\n this.field_977 = var10001;\r\n var10001 = new bcb;\r\n var10001.method_748(110, this.width / 2 + 5, this.field_986, 150, 20, \"Annuler\");\r\n this.field_978 = var10001;\r\n this.buttonList.add(this.field_972);\r\n this.buttonList.add(this.field_973);\r\n this.buttonList.add(this.field_974);\r\n this.buttonList.add(this.field_979);\r\n this.buttonList.add(this.field_980);\r\n this.buttonList.add(this.field_975);\r\n this.buttonList.add(this.field_976);\r\n this.buttonList.add(this.field_981);\r\n this.buttonList.add(this.field_977);\r\n this.buttonList.add(this.field_978);\r\n if(!var1) {\r\n int var2 = class_689.method_3977();\r\n ++var2;\r\n class_689.method_3975(var2);\r\n }\r\n\r\n }",
"public void init(Map<String, String> attributes) {\r\n\r\n\t\tif (attributes.containsKey(\"p0\"))\r\n\t\t\tp0 = new Vec(attributes.get(\"p0\"));\r\n\t\tif (attributes.containsKey(\"p1\"))\r\n\t\t\tp1 = new Vec(attributes.get(\"p1\"));\r\n\t\tif (attributes.containsKey(\"p2\"))\r\n\t\t\tp2 = new Vec(attributes.get(\"p2\"));\r\n\t\tif (attributes.containsKey(\"p3\"))\r\n\t\t\tp3 = new Vec(attributes.get(\"p3\"));\r\n\r\n\t\tp4 = Vec.add(Vec.add(Vec.sub(p1, p0), Vec.sub(p3, p0)), p0);\r\n\t\tp5 = Vec.add(Vec.add(Vec.sub(p2, p0), Vec.sub(p3, p0)), p0);\r\n\t\tp6 = Vec.add(Vec.add(Vec.sub(p5, p3), Vec.sub(p4, p3)), p3);\r\n\r\n\t\tbase = new Rectangle(p0, p1, p3, attributes);\r\n\t\tfacep0p2p1 = new Rectangle(p0, p2, p1, attributes);\r\n\t\tfacep0p2p3 = new Rectangle(p0, p2, p3, attributes);\r\n\t\tfacep3p4p5 = new Rectangle(p3, p5, p4, attributes);\r\n\t\tfacep4p1p6 = new Rectangle(p4, p1, p6, attributes);\r\n\t\ttop = new Rectangle(p5, p2, p6, attributes);\r\n\r\n\t\tsuper.init(attributes);\r\n\t}",
"public static void main(String[] args) {\n\t\tint numberCoords = 4;\n\t\tdouble[] boundBox = new double[4];\n\t\t\n\t\t\n\t\t\t\tif(args.length > 0){\n\t\t\tif(args.length < 4){\n\t\t\t\tSystem.err.println(\"not correct number of arguments\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\tdouble args0 = Double.parseDouble(args[0]);\n\t\t\tdouble args1 = Double.parseDouble(args[1]);\n\t\t\tdouble args2 = Double.parseDouble(args[2]);\n\t\t\tdouble args3 = Double.parseDouble(args[3]);\n\t\t\t\n\t\t\tboundBox[0] = args0; //southwest\n\t\t\tboundBox[1] = args1;\n\t\t\tboundBox[2] = args2; //northeast 42.7125\n\t\t\tboundBox[3] = args3;\n\t\t}else{\n\t\t\n\t\t\n\t\tSystem.out.println(\"Enter the four coordinate for the bounding box: \\n\");\n\t\t//ask user for the bounding box\n\t\tfor(int i = 0; i < numberCoords; i++){\n\t\t\t\n\t\t\t//getting user input\n\t\t\tScanner reader = new Scanner(System.in); // Reading from System.in\n\t\t\t\n\t\t\tif(i < 2){\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(\"lat1: \");\n\t\t\t\tif(i==1)\n\t\t\t\t\tSystem.out.println(\"long1: \");\n\t\t\t}else{\n\t\t\t\tif(i==2)\n\t\t\t\t\tSystem.out.println(\"lat2: \");\n\t\t\t\tif(i==3)\n\t\t\t\t\tSystem.out.println(\"long2: \");\n\t\t\t}\n\t\t\tboundBox[i] = reader.nextInt(); \n\t\t}\n\t\t\n\t }\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// random bounding box coordinates\n\t\t//South Latitude, West Longitude, North Latitude, East Longitude\n\t\t// 45.219,-122.325,47.610,-122.107\n\t\tboundBox[0] = 42.712439; //southwest\n\t\tboundBox[1] = -71.693370;\n\t\tboundBox[2] = 42.712439; //northeast 42.7125\n\t\tboundBox[3] = -71.693370;\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tAerialData aData = null;\n\t\tdouble currentLat;\n\t\tdouble currentLong;\n\t\tdouble[] currentCenter = new double[]{boundBox[0], boundBox[1]};\n\t\tString centerString;\n\t\tString data;\n\t\tString image;\n\t\t\n\t\t// get all of the images and put in a 2D array\n\t\tArrayList<ArrayList<BufferedImage>> listOfListImages = new ArrayList<ArrayList<BufferedImage>>(); \n\t\t\n\t\twhile(currentCenter[0] <= boundBox[2]){\n\t\t\t\n\t\t\t// resetting the current long\n\t\t\tcurrentCenter[1] = boundBox[1];\n\t\t\t\n\t\t\t// the row we will add images to\n\t\t\tArrayList<BufferedImage> currentRow = new ArrayList<BufferedImage>(); \n\t\t\t\n\t\t\twhile(currentCenter[1] <= boundBox[3]){\n\t\t\t\t\n\t\t\t\t// this is the start point\n\t\t\t\tcenterString = currentCenter[0] + \",\" + currentCenter[1];\n\t\t\t\t\n\t\t\t\t// build request for image\n\t\t\t\tdata = buildRequest(centerString,\"1\");\n\t\t\t\timage = buildRequest(centerString,\"0\");\n\t\t\t\t\n\t\t\t\t// creating the image\n\t\t\t\taData = new AerialData(data);\n\t\t\t\tAerialImage aImage = new AerialImage(image);\n\t\t\t\t\n\t\t\t\t//adding the new image to the list\n\t\t\t\tcurrentRow.add(aImage.getImage());\n\t\t\t\t\n\t\t\t\t// incrementing the longitude\n\t\t\t\tcurrentCenter[1] = aData.getNextLong();\n\t\t\t}\n\t\t\t\n\t\t\tif(aData == null){\n\t\t\t// incrementing the longitude\n\t\t\tSystem.err.println(\"there is not image in those bounds\");\n\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcurrentCenter[0] = aData.getNextLat();\n\t\t\tlistOfListImages.add(currentRow);\n\t\t}\n\t\t\n\t\t//could to checking to make sure all columns are same number\n\t\t\n\t\t// number of pixels in image is 350\n\t\tint numberPixelsImage = 350;\n\t\t\n\t\t//add all the images togethere\n\t\t// width is the number of column * 350\n\t\tint width = listOfListImages.get(0).size() * 350;\n\t\t//height is the number of rows * 350\n\t\tint height = listOfListImages.size() * 350;\n\t\t\n\t\t// the new image that we will layer\n\t\tBufferedImage combined = new BufferedImage(width, height, listOfListImages.get(0).get(0).getType());\n\t\t\n\t\tGraphics graphics = combined.getGraphics();\n\t\t\n\t\tint yIndex = 0;\n\t\tint yCounter = 0;\n\t\t\n\t\tfor(int j = listOfListImages.size() - 1; j > -1; --j){\n\t\t\t\n\t\t\tfor(int i = 0; i < listOfListImages.get(j).size(); ++i){\n\t\t\t\t\n\t\t\tint xIndex = i * 350;\n\t\t\t// loop through adding the images to the finalImage\n\t\t\tgraphics.drawImage(listOfListImages.get(j).get(i), xIndex, yIndex, null);\n\n\t\t\t}\n\t\t\t\n\t\t\tyCounter++;\n\t\t\tyIndex = yCounter * 350;\n\t\t\t\n\t\t}\n\t\t\n\t\t// saving the final image\n\t\ttry {\n\t\t\tImageIO.write(combined, \"jpg\", new File(\"combined.jpeg\"));\n\t\t} catch (IOException e) {\n\t\t\t\tSystem.err.println(\"could not save image\");\n\t\t\t\te.printStackTrace();\n\t\t}\n\t\t\t\n\t}",
"public void billeObstacles() {\n\t\t// Décomposition de la bille\n\t\t// 2 3 4\n\t\t// 1 5\n\t\t// 8 7 6 \n\n\t\t// Parcours des briques pour vérifier les contacts\n\t\tListIterator <Obstacle> iter = niveauEnCours.grilleObstacles.listIterator(0);\n\t\tint contact = 0;\n\n\t\twhile (iter.hasNext() && contact == 0) {\n\t\t\tObstacle b = iter.next();\n\n\t\t\t// Étude des contacts avec les 8 points de la bille\n\t\t\t// Contact GaucheHaut de la bille\n\t\t\tdouble[] q = billeEnCours.GH();\n\t\t\tif (((q[1] <= b.bas) && (q[1] >= b.haut)) && ((q[0] <= b.droite) && (q[0] >= b.gauche))) {\n\t\t\t\tcontact = 2;\n\t\t\t}\n\n\t\t\t// Contact DroiteHaut de la bille\n\t\t\tif (contact == 0) {\n\t\t\t\tq = billeEnCours.DH();\n\t\t\t\tif (((q[1] <= b.bas) && (q[1] >= b.haut)) && ((q[0] <= b.droite) && (q[0] >= b.gauche))) {\n\t\t\t\t\tcontact = 4;\n\t\t\t\t}\n\t\t\t}\n\n\t\t // Contact GaucheBas de la bille\n\t\t\tif (contact == 0) {\n\t\t\t\tq = billeEnCours.GB();\n\t\t\t\tif (((q[1] <= b.bas) && (q[1] >= b.haut)) && ((q[0] <= b.droite) && (q[0] >= b.gauche))) {\n\t\t\t\t\tcontact = 8;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Contact DroiteBas de la bille\n\t\t\tif (contact == 0) {\n\t\t\t\tq = billeEnCours.DB();\n\t\t\t\tif (((q[1] <= b.bas) && (q[1] >= b.haut)) && ((q[0] <= b.droite) && (q[0] >= b.gauche))) {\n\t\t\t\t\tcontact = 6;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Contact haut de la bille\n\t\t\tint[] p = billeEnCours.MH();\n\t\t\tif (contact == 0) {\n\t\t\t\tif (p[1] <= b.bas && p[1] >= b.haut && p[0] <= b.droite && p[0] >= b.gauche) {\n\t\t\t\t\tcontact = 3;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Contact bas de la bille\n\t\t\tif (contact == 0) {\n\t\t\t\tp = billeEnCours.MB();\n\t\t\t\tif (((p[1] <= b.bas) && (p[1] >= b.haut)) && ((p[0] <= b.droite) && (p[0] >= b.gauche))) {\n\t\t\t\t\tcontact = 7;\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Contact droite de la bille\n\t\t\tif (contact == 0) {\n\t\t\t\tp = billeEnCours.DM();\n\t\t\t\tif (((p[1] <= b.bas) && (p[1] >= b.haut)) && ((p[0] <= b.droite) && (p[0] >= b.gauche))) {\n\t\t\t\t\tcontact = 5;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Contact gauche de la bille\n\t\t\tif (contact == 0) {\n\t\t\t\tp = billeEnCours.GM();\n\t\t\t\tif (((p[1] <= b.bas) && (p[1] >= b.haut)) && ((p[0] <= b.droite) && (p[0] >= b.gauche))) {\n\t\t\t\t\tcontact = 1;\t\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t\t// Mise à jour de la vitesse \n\n\t\t\t// Rencontre d'un coin\n\t\t\tif ((((contact == 2) || (contact == 4))) || ((contact == 8) || (contact == 6))) {\n\t\t\t\tbilleEnCours.demiTour();\n\t\t\t}\n\n\t\t\t// Contact Classique\n\t\t\t// Gauche - Droite\n\t\t\tif ((contact == 1) || (contact == 5)) {\n\t\t\t\tint[] nv = {- billeEnCours.renvoyerVitesse()[0], billeEnCours.renvoyerVitesse()[1]};\n\t\t\t\tbilleEnCours.changeVitesse(nv);\n\t\t\t}\n\n\t\t\t// Haut - Bas\n\t\t\tif ((contact == 3) || (contact == 7)) {\n\t\t\t\tint[] nv = {billeEnCours.renvoyerVitesse()[0], - billeEnCours.renvoyerVitesse()[1]};\n\t\t\t\tbilleEnCours.changeVitesse(nv);\n\t\t\t}\t\t\t\n\t}",
"private void generateBoxes(int height, int length) {\n\t\tint boxId;\n\t\t\n\t\tfor (int i=0; i<squares.length; i++) {\n\t\t\tfor (int j=0; j<squares[i].length; j++) {\n\t\t\t\tboxId=j/length+((i/height)*height);\n\t\t\t\t\n\t\t\t\tif (boxes[boxId]==null)\n\t\t\t\t\tboxes[boxId]=new Box(height*length);\n\t\t\t\tboxes[boxId].add(squares[i][j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i=0; i<boxes.length; i++) {\n\t\t\tboxes[i].setInitials();\n\t\t}\n\t}",
"public static void main(String[] args) {\n int[] boxcap = {100,100,50,200,250};\n int[] items = {10,25,50,50,30,30,50,40,10,50,10,50,40};\n int i, j;\n\n // // create boxes\n // Box[] boxes = new Box[boxcap.length];\n // for (i = 0; i <= boxcap.length; i++) {\n // try{\n // boxes[i] = new Box(boxcap[i]);\n // throw new BoxFullException(\"Array Index Out of Bounds Exception!\");\n // //boxes[i] = new Box(boxcap[i]);\n //\n // } catch (BoxFullException e){\n // System.out.println(\"Caught Exception in method: \"+e);\n //\n // }\n // }\n\n\n // create boxes\n \tBox[] boxes = new Box[boxcap.length];\n \tfor (i = 0; i <= boxcap.length; i++) {\n try {\n \t boxes[i] = new Box(boxcap[i]);\n } catch (ArrayIndexOutOfBoundsException e){\n System.out.println(\"Caught exception in main: \"+e);\n }\n \t}\n\n // add items to boxes\n i = 0; // box index\n j = 0; // item index\n try{\n while (j < items.length) {\n boxes[i].add(items[j]);\n j++;\n }\n }catch (BoxFullException e){\n System.out.println(\"Caught exception in WHILE: \"+e);\n }\n\n\n // print items in boxes\n for (i = 0; i < boxes.length; i++) {\n for (j = 0; j < items.length; j++) {\n try{\n System.out.printf(\"Box %d item %d: size %d.\\n\",\n i,j,boxes[i].getItem(j));\n } catch (IndexOutOfBoundsException e){\n System.out.println(\"Caught exception in PRINT BOX: \"+e);\n\n\n }\n }\n }\n }",
"private void createGWBuildings()\n\t{\n\t\t//Generate block 0 (50x50)\n\t\t//(7,7)-(57,57)\n\t\tmakeBlocker0();\n\n\t\t//Generate block 1 (50x50)\n\t\t//(64,7)-(114,57)\n\t\tmakeSEH();\n\t\tmakeFullBright();\n\t\tmakeKennedy();\n\t\tmakeMunson();\n\n\t\t//Generate block 2 (80x50)\n\t\t//(121,7)-(201,57)\n\t\tmakeAcademicCenter();\n\t\tmakeRomePhilips();\n\t\tmakeDistrict();\n\t\tmakeMarvin();\n\t\tmakeLafayette();\n\n\t\t//Generate block 3 (65x50)\n\t\t//(208,7)-(273,57)\n\t\tmake2000Penn();\n\t\tmakeSMPA();\n\t\tmakeBlocker3();\n\n\t\t//Generate block 4 (63x50)\n\t\t//(280,7)-(343,57)\n\t\tmakeBlocker4();\n\n\t\t//Generate block 5 (50x60)\n\t\t//(7,64)-(57,124)\n\t\tmakeAmsterdam();\n\t\tmakeHealWell();\n\t\tmakeBlocker5();\n\n\t\t//Generate block 6 (50x60)\n\t\t//(64,64)-(114,124)\n\t\tmakeTompkins();\n\t\tmakeMadison();\n\t\tmakeDuquesAndFunger();\n\n\t\t//Generate block 7 (80x60)\n\t\t//(121,64)-(201,124)\n\t\tmakeGelman();\n\t\tmakeLisner();\n\t\tmakeStaughton();\n\t\tmakeMonroe();\n\n\t\t//Generate block 8 (65x60)\n\t\t//(208,64)-(273,124)\n\t\tmakeCorcoran();\n\t\tmakeLawSchool();\n\t\tmakeLisnerHall();\n\t\tmakeTextileMuseum();\n\n\t\t//Generate block 9 (63x60)\n\t\t//(280,64)-(343,124)\n\t\tmakeBlocker9();\n\n\t\t//Generate block 10 (50x50)\n\t\t//(7,131)-(57,181)\n\t\tmakeShenkman();\n\t\tmakeBlocker10();\n\n\t\t//Generate block 11 (50x50)\n\t\t//(64,131)-(114,181)\n\t\tmakeTownHouses();\n\t\tmakeSmithCenter();\n\n\t\t//Generate block 12 (80x50)\n\t\t//(121,131)-(201,181)\n\t\tmakeSouthHall();\n\t\tmakeGuthridge();\n\t\tmakeBlocker12();\n\n\t\t//Generate block 13 (65x50)\n\t\t//(208,131)-(273,181)\n\t\tmakeBlocker13();\n\t\tmakeFSK();\n\t\tmakePatomac();\n\n\t\t//Generate block 14 (63x50)\n\t\t//(280,131)-(343,181)\n\t\tmakeBlocker14();\n\n\t\t//Generate block 15 (50x57)\n\t\t//(7,188)-(57,245)\n\t\tmakeBlocker15();\n\n\t\t//Generate block 16 (50x57)\n\t\t//(64,188)-(114,245)\n\t\tmakeIHouse();\n\t\tmakeBlocker16();\n\n\t\t//Generate block 17 (80x57)\n\t\t//(121,188)-(201,245)\n\t\tmakeBlocker17();\n\t\tmakeDakota();\n\n\t\t//Generate block 18 (65x57)\n\t\t//(208,188)-(273,245)\n\t\tmakeBlocker18();\n\n\t\t//Generate block 19 (63x57)\n\t\t//(280,188)-(343,245)\n\t\tmakeBlocker19();\n\t\tmakeElliot();\n\t\tmakeThurston();\n\t}",
"public void setupWorld()\r\n\t{\r\n\t\t//build walls\r\n\t\twall1.add(new PointD(-500, 500));\r\n\t\twall1.add(new PointD(-490, 500));\r\n\t\twall1.add(new PointD(-490, -500));\r\n\t\twall1.add(new PointD(-500, -500));\r\n\r\n\t\twall2.add(new PointD(-500, 500));\r\n\t\twall2.add(new PointD(2000, 500));\r\n\t\twall2.add(new PointD(2000, 490));\r\n\t\twall2.add(new PointD(-500, 490));\r\n\t\t\r\n\t\twall3.add(new PointD(2000, 500));\r\n\t\twall3.add(new PointD(1990, 500));\r\n\t\twall3.add(new PointD(1990, -500));\r\n\t\twall3.add(new PointD(2000, -500));\r\n\r\n\t\twall4.add(new PointD(-500, -500));\r\n\t\twall4.add(new PointD(2000, -500));\r\n\t\twall4.add(new PointD(2000, -490));\r\n\t\twall4.add(new PointD(-500, -490));\r\n\r\n\t\tobjects.add(wall1);\r\n\t\tobjects.add(wall2);\r\n\t\tobjects.add(wall3);\r\n\t\tobjects.add(wall4);\r\n\t\t\r\n\t\t\r\n\t\t//add people\r\n\t\tGameVars.people = people;\r\n\t\tGameVars.aSquare = aSquare;\r\n\t\t\r\n\t\tobjects.add(grandson.boundary);\r\n\t\tpeople.add(grandson);\r\n\t\t\r\n\t\tobjects.add(son.boundary);\r\n\t\tpeople.add(son);\r\n\t\t\r\n\t\tobjects.add(triangle.boundary);\r\n\t\tpeople.add(triangle);\r\n\r\n\t\tobjects.add(wife.boundary);\r\n\t\tpeople.add(wife);\r\n\r\n\t\tobjects.add(runaway.boundary);\r\n\t\tpeople.add(runaway);\r\n\t\t\r\n\t\t\r\n\t\t//set aSquare's position\r\n\t\taSquare.rotate(220);\r\n\t\t\r\n\t}",
"public void testBuildInBlk(){\n\t\tSet<String> names = testDataMap.keySet();\n\t\tfor(String sn:names){\n\t\t\tSecDef mainSd = sdQuery.get(sn, 1, TimeUnit.SECONDS);\n\t\t\tSecDef[] underlyingSds = \n\t\t\t\t\tqm.getUnderlyingSecDefs(sn, 1, TimeUnit.SECONDS).toArray(new SecDef[]{});\n\t\t\tUnderlyingInfo underInputsMap = getAllInfo();\n\t\t\tCalendar evaluationDate = Calendar.getInstance();\n\t\t\tInBlk inBlk = new InBlk(\n\t\t\t\t\tmainSd, underlyingSds, \n\t\t\t\t\tunderInputsMap,Arrays.asList( dioMapKeys), evaluationDate);\n\t\t\tList<BigDecimal> atmList = inBlk.getUnderLyingInputList(new AtmDiot());\n\t\t\tUtils.prt(sn+\": atms: \");\n\t\t\tCollectionsStaticMethods.prtListItems(atmList);\n\n\t\t\tList<BigDecimal> volList = inBlk.getUnderLyingInputList(new VolDiotForTest());\n\t\t\tUtils.prt(sn+\": vols: \");\n\t\t\tCollectionsStaticMethods.prtListItems(volList);\n\n\t\t\tList<BigDecimal> strikeList = inBlk.getUnderLyingInputList(new StrikeDiotForTest());\n\t\t\tUtils.prt(sn+\": strikes: \");\n\t\t\tCollectionsStaticMethods.prtListItems(strikeList);\n\t\t}\n\t}",
"public void SetBlockList() {\r\n int width = ScreenWidth / MatrixWidth;\r\n int hight = ScreenHeight / MatrixHeight;\r\n this.blockList = new BlockList();\r\n Bitmap blocks = Bitmap.createScaledBitmap(BitmapFactory.decodeResource(getResources(), R.drawable.blocks), width * 5, hight * 10, false);\r\n for (int i = 0; i < map.length; i++) {\r\n for (int j = 0; j < map[i].length; j++) {\r\n if(i==0 && j<3){//if its true so its wall or button so the type of block is 0\r\n this.blockList.AddBlock(i, j, 0, j, blocks, width, hight);\r\n }\r\n if (map[i][j] != '0')\r\n this.blockList.AddBlock(i, j, Integer.valueOf(String.valueOf(map[i][j])), 0, blocks, width, hight);\r\n }\r\n }\r\n }",
"public void addCollisionBoxesToList(World par1World, int par2, int par3, int par4, AxisAlignedBB par5AxisAlignedBB,\n\t\t\tList par6List, Entity par7Entity) {\n\t\tboolean var8 = this.canThisPaneConnectToThisBlockID(par1World.getBlockId(par2, par3, par4 - 1));\n\t\tboolean var9 = this.canThisPaneConnectToThisBlockID(par1World.getBlockId(par2, par3, par4 + 1));\n\t\tboolean var10 = this.canThisPaneConnectToThisBlockID(par1World.getBlockId(par2 - 1, par3, par4));\n\t\tboolean var11 = this.canThisPaneConnectToThisBlockID(par1World.getBlockId(par2 + 1, par3, par4));\n\n\t\tif ((!var10 || !var11) && (var10 || var11 || var8 || var9)) {\n\t\t\tif (var10 && !var11) {\n\t\t\t\tthis.setBlockBounds(0.0F, 0.0F, 0.4375F, 0.5F, 1.0F, 0.5625F);\n\t\t\t\tsuper.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);\n\t\t\t} else if (!var10 && var11) {\n\t\t\t\tthis.setBlockBounds(0.5F, 0.0F, 0.4375F, 1.0F, 1.0F, 0.5625F);\n\t\t\t\tsuper.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);\n\t\t\t}\n\t\t} else {\n\t\t\tthis.setBlockBounds(0.0F, 0.0F, 0.4375F, 1.0F, 1.0F, 0.5625F);\n\t\t\tsuper.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);\n\t\t}\n\n\t\tif ((!var8 || !var9) && (var10 || var11 || var8 || var9)) {\n\t\t\tif (var8 && !var9) {\n\t\t\t\tthis.setBlockBounds(0.4375F, 0.0F, 0.0F, 0.5625F, 1.0F, 0.5F);\n\t\t\t\tsuper.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);\n\t\t\t} else if (!var8 && var9) {\n\t\t\t\tthis.setBlockBounds(0.4375F, 0.0F, 0.5F, 0.5625F, 1.0F, 1.0F);\n\t\t\t\tsuper.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);\n\t\t\t}\n\t\t} else {\n\t\t\tthis.setBlockBounds(0.4375F, 0.0F, 0.0F, 0.5625F, 1.0F, 1.0F);\n\t\t\tsuper.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);\n\t\t}\n\t}",
"private void createMaps() {\r\n\t\tint SIZE = 100;\r\n\t\tint x = 0, y = -1;\r\n\t\tfor (int i = 0; i < SIZE; i++) {\r\n\t\t\tif (i % 10 == 0) {\r\n\t\t\t\tx = 0;\r\n\t\t\t\ty = y + 1;\r\n\t\t\t}\r\n\t\t\tshipStateMap.put(new Point(x, y), 0);\r\n\t\t\tshipTypeMap.put(new Point(x, y), 0);\r\n\t\t\tx++;\r\n\t\t}\r\n\t}",
"private void actualizaHitbox() {\n hitbox = new Rect((int)(posX + 0.2 * bala.getWidth()), (int)(posY + 0.2 * bala.getHeight()), (int)(posX + 0.8 * bala.getWidth()), (int)(posY + 0.8 * bala.getHeight()));\n }",
"public void setBoxWeights(float boxVal, int itmin, int itmax, int ixmin, int ixmax, \n int ntf, int nx) {\n float[][] w = zerofloat(ntf,nx);\n for (int ix = ixmin; ix<=ixmax; ++ix) {\n for (int it=itmin; it<=itmax; ++it) { \n w[ix][it] = boxVal;\n }\n }\n _w2D = w;\n _weights = true;\n }",
"public void displayInnerBoxes() {\n for (Box box : boxes)\r\n box.display();\r\n }",
"public void drawBoundingBoxes(Graphics g)\n\t{\n\t\tGraphics2D g2d = (Graphics2D) g;\n\t\t/*g2d.drawRect(0,0, originalBbox.getPoint(2).x - originalBbox.getPoint(0).x,\n \t\toriginalBbox.getPoint(2).y - originalBbox.getPoint(0).y);*/\n\t\t//g2d.drawRect(bbox.getPoint(0).x, bbox.getPoint(0).y, bbox.getPoint(2).x - bbox.getPoint(0).x,\n //\t\tbbox.getPoint(2).y - bbox.getPoint(0).y);\n\t\tg2d.setColor(new Color(0,255,0));\n\t\tg2d.drawPolygon(bbox.getXs(), bbox.getYs(), bbox.getNumPoints());\n\t}",
"private void initComponents() {//GEN-BEGIN:initComponents\r\n java.awt.GridBagConstraints gridBagConstraints;\r\n\r\n actionPanel = new javax.swing.JPanel();\r\n gmlBoxPanel = new javax.swing.JPanel();\r\n gmlBoxBtn = new javax.swing.JButton();\r\n buttonPanel = new javax.swing.JPanel();\r\n okBtn = new javax.swing.JButton();\r\n cancelBtn = new javax.swing.JButton();\r\n\r\n setLayout(new java.awt.BorderLayout());\r\n\r\n setPreferredSize(new java.awt.Dimension(400, 172));\r\n actionPanel.setLayout(new java.awt.GridBagLayout());\r\n\r\n actionPanel.setBorder(new javax.swing.border.TitledBorder(\"\"));\r\n gmlBoxPanel.setLayout(new java.awt.GridBagLayout());\r\n\r\n gmlBoxPanel.setBorder(new javax.swing.border.TitledBorder(\"GML Box\"));\r\n gmlBoxBtn.setText(\"Bounding Box\");\r\n gmlBoxBtn.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n gmlBoxBtnActionPerformed(evt);\r\n }\r\n });\r\n\r\n gridBagConstraints = new java.awt.GridBagConstraints();\r\n gridBagConstraints.insets = new java.awt.Insets(5, 100, 5, 100);\r\n gmlBoxPanel.add(gmlBoxBtn, gridBagConstraints);\r\n\r\n gridBagConstraints = new java.awt.GridBagConstraints();\r\n gridBagConstraints.gridx = 0;\r\n gridBagConstraints.gridy = 1;\r\n gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n gridBagConstraints.weightx = 1.0;\r\n gridBagConstraints.insets = new java.awt.Insets(5, 5, 0, 5);\r\n actionPanel.add(gmlBoxPanel, gridBagConstraints);\r\n\r\n add(actionPanel, java.awt.BorderLayout.CENTER);\r\n\r\n okBtn.setText(\"Aceptar\");\r\n okBtn.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n okBtnActionPerformed(evt);\r\n }\r\n });\r\n\r\n buttonPanel.add(okBtn);\r\n\r\n cancelBtn.setText(\"Cancelar\");\r\n cancelBtn.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n cancelBtnActionPerformed(evt);\r\n }\r\n });\r\n\r\n buttonPanel.add(cancelBtn);\r\n\r\n add(buttonPanel, java.awt.BorderLayout.SOUTH);\r\n\r\n }",
"@Override\n\tpublic void add(final Obj prim) {\n\t\tbvhObjList.add(prim);\n\t\tif(bvhBox == null) {\n\t\t\tthis.bvhBox = prim.bbox();\n\t\t}else {\n\t\t\tPoint mm = prim.bbox().getMin();\n\t\t\tPoint mx = prim.bbox().getMax();\n\t\t\tfloat nex = Float.max(mx.x(),bvhBox.getMax().x());\n\t\t\tfloat ney = Float.max(mx.y(),bvhBox.getMax().y());\n\t\t\tfloat nez = Float.max(mx.z(),bvhBox.getMax().z());\n\t\t\tfloat nex1 = Float.min(mm.x(),bvhBox.getMin().x());\n\t\t\tfloat ney1 = Float.min(mm.y(),bvhBox.getMin().y());\n\t\t\tfloat nez1 = Float.min(mm.z(),bvhBox.getMin().z());\n\t\t\tPoint nemax = new Point(nex, ney, nez);\n\t\t\tPoint nemin = new Point(nex1,ney1,nez1);\n\t\t\tthis.bvhBox = BBox.create(nemax, nemin);\n\t\t\t\n\t\t}\n\t\t\n\t}",
"private void initUIElements() \n\t{\n\t\t// Init UI element collections.\n\t\tbarcharts\t\t= new HashMap<String, BarChart>();\n\t\t//spinners\t\t= new HashMap<String, Spinner<Float>>();\n\t\trangeSliders\t= new HashMap<String, RangeSlider>();\n\t\tvBoxes\t\t\t= new HashMap<String, VBox>();\n\t\t\n\t\t// Remove deprecated UI elements in parameter configuration grid pane.\n\t\tint vboxCount = 0;\n\t\tfor (Object child : parameterConfiguration_gridPane.getChildren().toArray()) {\n\t\t\tNode node = (Node)child;\n\t\t\t\n\t\t\t//System.out.println(node.getClass().getName());\n\t\t\tswitch (node.getClass().getName()) \n\t\t\t{\n\t \t\t// Replace TextFields with numeric steppers / spinners.\n\t \t\tcase \"javafx.scene.control.TextField\":\n\t \t\t\t// Set initial values.\n\t \t\t\tif (node.getId().contains(\"min\"))\n\t \t\t\t\t((TextField)node).setText(\"0\");\n\t \t\t\telse\n\t \t\t\t\t((TextField)node).setText(\"100\");\n\t \t\tbreak;\n\t \t\t\n\t \t\tcase \"javafx.scene.layout.VBox\":\n\t \t\t\tVBox currentVBox = ((VBox)node);\n\t \t\t\t// Look for Sliders in VBox nodes; replace with RangeSliders.\n\t \t\t\tfor (Object vboxChild : currentVBox.getChildren().toArray()) {\n\t \t\t\t\tNode vboxNode = (Node)vboxChild;\n\t \t\t\t\t\n\t \t\t\t\tif (vboxNode.getClass().getName() == \"javafx.scene.control.Slider\") {\n\t \t\t\t\t\tcurrentVBox.getChildren().remove(vboxNode);\n\t \t\t\t\t}\n\t \t\t\t}\n\t \t\t\t\n\t \t\t\t// Store references to VBoxes.\n\t \t\t\tswitch(vboxCount++)\n\t \t\t\t{\n\t \t\t\t\tcase 0:\n\t \t\t\t\t\tvBoxes.put(\"alpha\", currentVBox);\n\t \t\t\t\tbreak;\n\t \t\t\t\t\n\t \t\t\t\tcase 1:\n\t \t\t\t\t\tvBoxes.put(\"eta\", currentVBox);\n\t \t\t\t\tbreak;\n\t \t\t\t\t\n\t \t\t\t\tcase 2:\n\t \t\t\t\t\tvBoxes.put(\"kappa\", currentVBox);\n\t \t\t\t\tbreak;\n\t \t\t\t}\n\t \t\tbreak;\n\t \t}\n\t }\n\t\t\n\t\t// Init barcharts.\n\t\tinitBarcharts();\n\t\t\n\t\t// Init range sliders.\n\t\tinitRangeSliders();\n\t\t\n\t\t// Init textfields.\n\t\tinitTextFields();\n\t\t\n\t\t// Init combobox.\n\t\tinitComboBoxes();\n\t}",
"protected void setBox( float x, float y, float z ) {\r\n\t\tmodel.calculateBoundingBox(box);\r\n\t\taddPoz(box, x, y, z);\r\n\t\tcolRadius = box.getDimensions(GR.temp4).len() / 2f;\r\n\r\n\t\tisColCubic = true;\r\n\r\n\t\tif ( Math.max(box.getDimensions(GR.temp4).x, box.getDimensions(GR.temp4).y)\r\n\t\t\t\t\t/ Math.min(box.getDimensions(GR.temp4).x, box.getDimensions(GR.temp4).y) > maxRap )\r\n\t\t\tisColCubic = false;\r\n\t\tif ( Math.max(box.getDimensions(GR.temp4).x, box.getDimensions(GR.temp4).z)\r\n\t\t\t\t\t/ Math.min(box.getDimensions(GR.temp4).x, box.getDimensions(GR.temp4).z) > maxRap )\r\n\t\t\tisColCubic = false;\r\n\t\tif ( Math.max(box.getDimensions(GR.temp4).z, box.getDimensions(GR.temp4).y)\r\n\t\t\t\t\t/ Math.min(box.getDimensions(GR.temp4).z, box.getDimensions(GR.temp4).y) > maxRap )\r\n\t\t\tisColCubic = false;\r\n\t}",
"private void createComponentBox() {\r\n\t\tthis.componentBox = new Vector<String>();\r\n\t\tthis.componentBox.add(\"Sword\");\r\n\t\tthis.componentBox.add(\"Two-handed Sword\");\r\n\t\tthis.componentBox.add(\"Staff\");\r\n\t\tthis.componentBox.add(\"Axe\");\r\n\t\tthis.componentBox.add(\"Hammer\");\r\n\t\tthis.componentBox.add(\"Bow\");\r\n\t\tthis.componentBox.add(\"Crossbow\");\r\n\t\tthis.componentBox.add(\"Wand\");\r\n\t\tthis.componentBox.add(\"Spear\");\r\n\t\tthis.componentBox.add(\"Bottle\");\r\n\t}",
"public BugBox( Vector topLeft, Vector botRight ) {\n\t\tthis.topLeft = topLeft;\n\t\tthis.botRight = botRight;\n\t\tthis.topRight = new Vector( botRight.getX(), topLeft.getY() );\n\t\tthis.botLeft = new Vector( topLeft.getX(), botRight.getY() );\n\t\t\n\t\tthis.width = Math.abs( topLeft.getX() - botRight.getX() );\n\t\tthis.height = Math.abs( botRight.getY() - topLeft.getY() );\n\t}",
"private ArrayList<Figure> getBoxData(){\n ArrayList<Figure> box = new ArrayList<>();\n box.addAll(getCircleData());\n box.addAll(getRectangleData());\n\n return box;\n }"
] |
[
"0.80508566",
"0.79776776",
"0.65687686",
"0.60397637",
"0.6031392",
"0.6014089",
"0.58301836",
"0.5805937",
"0.5753388",
"0.5722871",
"0.56329185",
"0.5611094",
"0.56000394",
"0.5591092",
"0.5582896",
"0.5567162",
"0.55639035",
"0.5541109",
"0.5509024",
"0.55009645",
"0.5489939",
"0.54030037",
"0.53575087",
"0.5308302",
"0.5304835",
"0.530059",
"0.528192",
"0.5254915",
"0.52483845",
"0.5239157",
"0.5225443",
"0.52100885",
"0.52056235",
"0.51991725",
"0.51896924",
"0.51836884",
"0.5181478",
"0.5179207",
"0.514879",
"0.5146649",
"0.51424044",
"0.511856",
"0.5110678",
"0.511056",
"0.5098915",
"0.5096291",
"0.5088448",
"0.50817513",
"0.50786126",
"0.50779635",
"0.50773436",
"0.50743747",
"0.50606996",
"0.50462425",
"0.5045108",
"0.5043295",
"0.50230837",
"0.50226533",
"0.5021155",
"0.50188416",
"0.50144213",
"0.5011845",
"0.5008843",
"0.5007114",
"0.50059396",
"0.50015175",
"0.49977034",
"0.49923083",
"0.4987616",
"0.49481162",
"0.4946947",
"0.49413726",
"0.49320942",
"0.4918093",
"0.491688",
"0.4915026",
"0.49126166",
"0.49096856",
"0.49018225",
"0.48875538",
"0.4886906",
"0.48843637",
"0.48795998",
"0.4877256",
"0.48712724",
"0.4869486",
"0.48681632",
"0.48674828",
"0.4865604",
"0.48587194",
"0.48569766",
"0.4854464",
"0.48499802",
"0.48491088",
"0.4848059",
"0.48462653",
"0.48424044",
"0.4838799",
"0.48344037",
"0.48221838"
] |
0.8263337
|
0
|
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
|
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jButton1 = new javax.swing.JButton();
jLabelResultados = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("Estadisticas de diagnosticos");
setIconImage(getIconImage());
setResizable(false);
jButton1.setText("Volver");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap(229, Short.MAX_VALUE)
.addComponent(jButton1)
.addGap(19, 19, 19))
.addGroup(layout.createSequentialGroup()
.addGap(32, 32, 32)
.addComponent(jLabelResultados, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(23, 23, 23)
.addComponent(jLabelResultados, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE)
.addComponent(jButton1)
.addContainerGap())
);
pack();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public PatientUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public Oddeven() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public Magasin() {\n initComponents();\n }",
"public intrebarea() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public kunde() {\n initComponents();\n }",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public MusteriEkle() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public frmVenda() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public Botonera() {\n initComponents();\n }",
"public FrmMenu() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\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, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\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.createParallelGroup(\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\tAlignment.LEADING)\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.addComponent(label22,\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\tGroupLayout.PREFERRED_SIZE,\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\tGroupLayout.DEFAULT_SIZE,\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\tGroupLayout.PREFERRED_SIZE)\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.addGroup(\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\tlayout.createSequentialGroup()\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\t.addGap(3)\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\t.addComponent(\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\t\t\tlabel23,\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\t\t\tGroupLayout.PREFERRED_SIZE,\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\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public CovidGUI(){\n initComponents();\n }"
] |
[
"0.73206544",
"0.7291311",
"0.7291311",
"0.7291311",
"0.7286492",
"0.7249181",
"0.7213362",
"0.72085494",
"0.71965617",
"0.7190475",
"0.7184897",
"0.7159234",
"0.71483016",
"0.7094075",
"0.7081491",
"0.70579433",
"0.6987627",
"0.69776064",
"0.69552463",
"0.69549114",
"0.69453007",
"0.69439274",
"0.69369227",
"0.6932056",
"0.6927733",
"0.6925948",
"0.69254535",
"0.69121534",
"0.6911907",
"0.6894101",
"0.6892413",
"0.68919593",
"0.6891924",
"0.6889863",
"0.6884052",
"0.6883223",
"0.688166",
"0.68787736",
"0.68764126",
"0.68745583",
"0.68721986",
"0.68595314",
"0.685675",
"0.68565613",
"0.6855288",
"0.6854687",
"0.6854457",
"0.685303",
"0.685303",
"0.68448347",
"0.6837389",
"0.6837193",
"0.6829965",
"0.6829964",
"0.68275386",
"0.68249714",
"0.6823691",
"0.6818224",
"0.68173605",
"0.6811417",
"0.6809674",
"0.680964",
"0.6809329",
"0.68085754",
"0.6802194",
"0.67955625",
"0.67938477",
"0.6793322",
"0.679176",
"0.67900634",
"0.6789749",
"0.67888486",
"0.6781942",
"0.6767308",
"0.6766431",
"0.6765252",
"0.67573947",
"0.6756327",
"0.6753509",
"0.67520833",
"0.6741834",
"0.6740361",
"0.6737793",
"0.67370224",
"0.6734898",
"0.6727867",
"0.6727453",
"0.67214817",
"0.6716735",
"0.67162156",
"0.6715855",
"0.6709997",
"0.6707508",
"0.67042965",
"0.6702483",
"0.67014945",
"0.67007315",
"0.6699097",
"0.669545",
"0.6692102",
"0.6690473"
] |
0.0
|
-1
|
execute generic updateclass (either an update, delete, or insert) operation and returns a count of affected rows. Since underlying Coherence operations (and this connector) can modify at most one cache object at a time, this will always return 1. It will never actually return 0, because if an operation fails, a ConnectorException will be thrown instead. here for the sake of efficiency.
|
@Override
public void execute() throws TranslatorException {
if (command instanceof Update) {
executeUpdate();
}
else if (command instanceof Delete) {
executeDelete();
}
else if (command instanceof Insert) {
executeInsert();
}
// else {
// final String msg = LDAPPlugin.Util.getString("LDAPUpdateExecution.incorrectCommandError"); //$NON-NLS-1$
// throw new TranslatorException(msg);
// }
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n public int getUpdateCount() throws SQLException {\n int to_return = getUpdateCountInternal();\n update_result = -1;\n return to_return;\n }",
"@Override\n public int getUpdateCount() throws SQLException {\n return -1;\n }",
"@Override\n\tpublic int getUpdateCount() throws SQLException {\n\t\treturn -1;\n\t}",
"public int getUpdateCount() throws SQLException {\n return 0;\r\n }",
"long getUpdateCount();",
"public int getUpdateCount();",
"int executeUpdate() throws SQLException;",
"public int executeUpdate(String sql)\r\n throws SQLException {\n return 0;\r\n }",
"public int executeUpdate() throws SQLException {\n return statement.executeUpdate();\n }",
"public int update(Connection db) throws SQLException {\n int resultCount = -1;\n boolean commit = false;\n try {\n commit = db.getAutoCommit();\n if (commit) {\n db.setAutoCommit(false);\n }\n resultCount = this.update(db, false);\n if (commit) {\n db.commit();\n }\n } catch (Exception e) {\n if (commit) {\n db.rollback();\n }\n throw new SQLException(e.getMessage());\n } finally {\n if (commit) {\n db.setAutoCommit(true);\n }\n }\n return resultCount;\n }",
"public int getUpdateCount() throws SQLException {\n return currentPreparedStatement.getUpdateCount();\n }",
"@Override\n\tpublic int update(Object obj) throws SQLException {\n\t\treturn 0;\n\t}",
"private int executeUpdateInternal(List<Object> values) {\r\n\t\tif (logger.isDebugEnabled()) {\r\n\t\t\tlogger.debug(\"The following parameters are used for update \" + getUpdateString() + \" with: \" + values);\r\n\t\t}\r\n\t\tint updateCount = jdbcTemplate.update(updateString, values.toArray(), columnTypes);\r\n\t\treturn updateCount;\r\n\t}",
"public int executeUpdate() throws SQLException {\n return currentPreparedStatement.executeUpdate();\n }",
"int getUpdateCountsCount();",
"public int executeUpdateSQL() {\n\t\tint columnsAffected = -1;\n\t\ttry {\n\t\t\tcolumnsAffected = pstmt.executeUpdate();\n\t\t} catch (SQLException se) {\n\t\t\tse.printStackTrace();\n\t\t}\n\t\treturn columnsAffected;\n\t}",
"public void executeUpdate();",
"@Override\r\n\tpublic int update() throws Exception {\n\t\treturn 0;\r\n\t}",
"@Override\n public long count() {\n String countQuery = \"SELECT COUNT(*) FROM \" + getTableName();\n return getJdbcTemplate().query(countQuery, SingleColumnRowMapper.newInstance(Long.class))\n .get(0);\n }",
"@Override\n public int executeUpdate(String sql, int columnIndexes[]) \n throws SQLException {\n return 0;\n }",
"@Test\n public void testClientJdbcUpdate() throws Exception {\n try (Connection con = GridCacheDynamicLoadOnClientTest.connect(GridCacheDynamicLoadOnClientTest.clientNode);Statement stmt = con.createStatement()) {\n int cnt = stmt.executeUpdate(((\"UPDATE \" + (GridCacheDynamicLoadOnClientTest.FULL_TABLE_NAME)) + \" SET name = 'new_name'\"));\n Assert.assertEquals(GridCacheDynamicLoadOnClientTest.CACHE_ELEMENT_COUNT, cnt);\n }\n SqlFieldsQuery qry = new SqlFieldsQuery(((\"SELECT * FROM \" + (GridCacheDynamicLoadOnClientTest.FULL_TABLE_NAME)) + \" WHERE name = 'new_name'\"));\n Assert.assertEquals(GridCacheDynamicLoadOnClientTest.CACHE_ELEMENT_COUNT, getDefaultCacheOnClient().query(qry).getAll().size());\n }",
"public long update(Entity entity){\r\n\t\ttry {\r\n\t\t\tthis.prepareFields(entity, true);\r\n\t\t\tString tableName = this.getTableName();\r\n\t\t\tTransferObject to = new TransferObject(\r\n\t\t\t\t\t\ttableName,\r\n\t\t\t\t\t\tprimaryKeyTos,\r\n\t\t\t\t\t\tfieldTos, \r\n\t\t\t\t\t\tTransferObject.UPDATE_TYPE);\r\n\t\t\treturn transactStatements(to);\r\n\t\t} catch (Exception e) {\r\n\t\t\tLog.e(\"GPALOG\" , e.getMessage(),e); \r\n\t\t}\r\n\t\treturn 0;\r\n\t}",
"@Override\n public int executeUpdate(String sql, int autoGeneratedKeys) \n throws SQLException {\n return 0;\n }",
"public abstract int execUpdate(String query) ;",
"@Override\n\tpublic int updateByPrimaryKeySelective(Cell record) {\n\t\t\t\tSqlSession sqlSession =null;\n\t\t\t\tint count=0;\n\t\t\t\ttry {\n\t\t\t\t\tsqlSession = MySqlSessionFactory.getSqlSession(true);\n\t\t\t\t\tCellMapper cellMapper = sqlSession.getMapper(CellMapper.class);\n\t\t\t\t\tcount = cellMapper.updateByPrimaryKeySelective(record);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}finally{\n\t\t\t\t\tif(sqlSession != null) {\n\t\t\t\t\t\tsqlSession.close();\n\t\t\t\t\t\tsqlSession = null;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn count;\n\t}",
"@Override\n public synchronized int executeUpdate(String sql) throws SQLException {\n\n statementString = sql;\n return connection.executetinyUpdate(this);\n\n }",
"public int executeUpdate(String sql) throws Exception {\n\t\tint result = stmt.executeUpdate(sql);\n\t\t// stmt.close();\n\t\treturn result;\n\t}",
"public long getUpdateCount() {\n return updateCount_;\n }",
"public int count() {\r\n Session session = getSession();\r\n Long count = new Long(0);\r\n try {\r\n count = (Long) session.createQuery(\"select count(t) from \" + getPersistentClass().getName() + \" t \").uniqueResult();\r\n } catch (HibernateException e) {\r\n LOG.error(MODULE + \"Exception in count Method:\" + e, e);\r\n } finally {\r\n// if (session.isOpen()) {\r\n// session.close();\r\n// }\r\n }\r\n return count.intValue();\r\n }",
"public int updateCommand(Command c) throws Exception{\n\t\tint i=uc.updateCommand(c);\n\t\tif(i>0){\n\t\t\ttry {\n\t\t\t\tMemcacheSingleton.getMemcacheSingleton().flush();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t}\n\t\treturn i;\n\t}",
"public long getUpdateCount() {\n return updateCount_;\n }",
"public int executeUpdate(String sql, int[] columnIndexes)\r\n throws SQLException {\n return 0;\r\n }",
"Integer update(final String sql);",
"int getMockUpdatesCount();",
"@Override\n public int executeUpdate(String sql, String columnNames[]) \n throws SQLException {\n return 0;\n }",
"public int execUpdateInsert(String query) {\n Connection con = createConnection();\n Statement st = null;\n\n int rowsAffected = 0;\n\n try {\n st = con.createStatement();\n rowsAffected = st.executeUpdate(query);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return rowsAffected;\n}",
"public boolean update(@NotNull T object) {\n boolean rowUpdated = false;\n Logger logger = getLogger();\n try (Connection connection = getConnection();\n PreparedStatement preparedStatement = connection.prepareStatement(getUpdate())) {\n\n setStatement(preparedStatement, object);\n setUpdateStatementId(preparedStatement, object);\n\n logger.info(\"Executing statement: \" + preparedStatement);\n rowUpdated = preparedStatement.executeUpdate() > 0;\n } catch (SQLException | NotEnoughDataException e) {\n logger.error(e.getMessage());\n }\n logger.info(\"Update: success\");\n return rowUpdated;\n }",
"private int update(String sql) {\n int rows = 0;\n\n if (checkConnected()) {\n PreparedStatement statement = null;\n\n try {\n statement = connection.prepareStatement(sql);\n rows = statement.executeUpdate();\n }\n catch (SQLException ex) {\n printErrors(ex);\n }\n finally {\n if (statement != null) {\n try {\n statement.close();\n }\n catch (SQLException e) {\n // Ignore\n }\n }\n }\n }\n\n return rows;\n }",
"public int getUpdateCountsCount() {\n return updateCounts_.size();\n }",
"@Override\n\tpublic int queryCount() {\n\t\treturn (int) tBasUnitClassRepository.count();\n\t}",
"void executeUpdate();",
"public int getUpdateCountsCount() {\n return updateCounts_.size();\n }",
"@Override\n\tpublic int updateByPk(BaseEntity entity) throws DaoException {\n\t\treturn 0;\n\t}",
"public int executeUpdate(String sql, int autoGeneratedKeys)\r\n throws SQLException {\n return 0;\r\n }",
"public int update(String theQuery) throws SQLException {\r\n Statement st = this.connector.createStatement();\r\n return st.executeUpdate(theQuery);\r\n }",
"@Transactional\r\n\tpublic Integer countUserss() {\r\n\t\treturn ((Long) usersDAO.createQuerySingleResult(\"select count(o) from Users o\").getSingleResult()).intValue();\r\n\t}",
"public int count() {\n\t Query count = getEntityManager().createQuery(\"select count(u) from \" + getEntityClass().getSimpleName() + \" u\");\n\t return Integer.parseInt(count.getSingleResult().toString());\n\t }",
"@Override\r\n\tpublic Integer call() throws Exception {\n\t\treturn ps.executeUpdate(); // TDOD release resources\r\n\t}",
"public int insertUpdateOrDeleteData(String query) throws java.sql.SQLException {\n\t\tif (ignoreInserts)\n\t\t\treturn 0;\n\t\tConnection conn = getConnection();\n\t\tPreconditions.checkNotNull(conn);\n\t\t//System.out.println(\"Query = \"+query);\n\t\tSQLException ex = null;\n\t\tint rows = -1;\n\t\ttry {\n\t\t\tStatement stat = conn.createStatement();\n\t\t\tif (isSQLite())\n\t\t\t\tstat.execute(\"BEGIN TRANSACTION;\");\n\t\t\trows = stat.executeUpdate(query+\";\");\n\t\t\tif (isSQLite())\n\t\t\t\tstat.execute(\"COMMIT;\");\n\t\t} catch (SQLException e) {\n\t\t\tex = e;\n\t\t}\n\t\tfreeConnection(conn);\n\t\tif (ex != null)\n\t\t\tthrow ex;\n\t\treturn rows;\n\t}",
"public int executeUpdate(String sql, String[] columnNames)\r\n throws SQLException {\n return 0;\r\n }",
"public int query() {\n return count;\n }",
"public static int update( String sql )\n \t{\n \t\tint rowsModified = -1;\n \t\t\n \t\tConnection conn = getConnection();\n \t\n \t\t\ttry {\n \t\t\t\tStatement st = conn.createStatement();\n \t\t\t\trowsModified = st.executeUpdate( sql );\n \t\t\t\tst.close();\n \t\t\t}\n \t\t\tcatch (SQLException ex) {\n \t\t\t\tthrow new RuntimeException( ex );\n \t\t\t}\n \t\t\n \t\treturnConnection( conn );\n \t\t\n \t\treturn rowsModified; \n \t}",
"@Override\n public Object handleQuery(Connection connection, Object object) throws SQLException {\n Class<?> obj = object.getClass();\n int i = 1;\n if (!AnnotationProcessor.isEntity(obj))\n throw new IllegalArgumentException(obj + \"is not an Entity\");\n Entity entityAnnot = obj.getAnnotation(Entity.class);\n String[] primaryKey = entityAnnot.primaryKey();\n String delete = QueryBuilder.deleteQuery(entityAnnot.name(), primaryKey);\n List<Object> values = Stream.of(primaryKey)\n .map(key -> ClassHelper2.runGetter(key, object))\n .collect(Collectors.toList());\n try (PreparedStatement preparedStatement = connection.prepareStatement(delete)) {\n for (Object p : values) {\n preparedStatement.setObject(i, p);\n i++;\n }\n i = preparedStatement.executeUpdate();\n }\n if (returnType.isPrimitive()) {\n return i;\n }\n\n\n return object;\n }",
"@SmallTest\n public void testUpdate() {\n int result = -1;\n if (this.entity != null) {\n Settings settings = SettingsUtils.generateRandom(this.ctx);\n settings.setId(this.entity.getId());\n\n result = (int) this.adapter.update(settings);\n\n Assert.assertTrue(result >= 0);\n }\n }",
"@Override\n\tpublic int queryCountOfRows() {\n\t\treturn parentDao.queryCountOfRows();\n\t}",
"@Transactional\n\tpublic Integer countProductImagess() {\n\t\treturn ((Long) productImagesDAO.createQuerySingleResult(\"select count(o) from ProductImages o\").getSingleResult()).intValue();\n\t}",
"Long count();",
"Long count();",
"Long count();",
"Long count();",
"Long count();",
"public static int executeUpdate(final String sql, final Object... args)\n {\n return new SqlClosure<Integer>()\n {\n @Override\n protected Integer execute(Connection connection) throws SQLException\n {\n return OrmElf.executeUpdate(connection, sql, args);\n }\n }.execute();\n }",
"public int size()\n {\n // check if the cache needs flushing\n checkFlush();\n\n return super.size();\n }",
"@Transactional(propagation=Propagation.SUPPORTS,readOnly=true)\r\n\tpublic Integer queryCount() {\n\t\tInteger count = musicdao.selectCount();\r\n\t\treturn count;\r\n\t}",
"public int updateCheck(Object obj) throws SQLException {\n\t\treturn dao.updateCheck(obj);\n\t}",
"private int sendUpdate(String sqlQuery) {\n int result = 0;\n getRemoteConnection();\n try {\n statement = conn.createStatement();{\n // Execute a SELECT SQL statement.\n result = statement.executeUpdate(sqlQuery);\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return result;\n }",
"long getUpdateCounts(int index);",
"@Override\n\tpublic int update(OrderItem objectToUpdate) throws SQLException {\n\t\treturn 0;\n\t}",
"public int countAll() throws DAOException;",
"public int executeUpdate(String sql) throws SQLException {\n return currentPreparedStatement.executeUpdate(sql);\n }",
"public Long getRows_affected() {\n return rows_affected;\n }",
"public long getUpdate();",
"public long getAllStatementCount();",
"int updateByPrimaryKey(UserCount record);",
"public int execute(String sql) throws Exception {\n\t\treturn 0;\r\n\t}",
"public int resultCount(){\n\n int c = 0;\n\n try{\n if(res.last()){\n c = res.getRow();\n res.beforeFirst();\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return c;\n }",
"@Override\n\tpublic int seoulcount() throws Exception {\n\t\treturn dao.seoulcount();\n\t}",
"public int getMockUpdatesCount() {\n return instance.getMockUpdatesCount();\n }",
"public int executeUpdateCmd(String sql) {\n\t\ttry {\n\t\t\treturn stmt.executeUpdate(sql);\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn 0;\n\t\t} \n\t}",
"public abstract long getNumUpdate();",
"public int queryUpdate(String query) throws SQLException {\n\t \t\t// Création de l'objet gérant les requêtes\n\t \t\tstatement = cnx.createStatement();\n\t \t\t\t\t\n\t \t\t// Exécution d'une requête d'écriture\n\t \t\tint statut = statement.executeUpdate(query);\n\t \t\t\n\t \t\treturn statut;\n\t \t}",
"@Override\n\tpublic int update(Subordination entity) throws DBOperationException {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int do_update(DTO dto) {\n\t\treturn 0;\r\n\t}",
"public int update() {\n\t\ttry {\n\t\t\ttry {\n\t\t\t\tsaveIHave();\n\t\t\t} catch(Exception e) {\n\t\t\t\tSystem.out.println(\"Save failed\");\n\t\t\t}\n\t\t\tclose();\n\t\t\tFileUtils.copyURLToFile(dbURL, dbFile);\n\t\t\tinit();\n\t\t\taddIHaveTagColumns();\n\t\t\tloadIHave();\n\t\t\treturn 1;\n\t\t} catch(UnknownHostException | SocketException e) {\n\t\t\ttry {\n\t\t\t\tclose();\n\t\t\t\tinit();\n\t\t\t} catch (Exception e1) {\n\t\t\t\treturn -2;\n\t\t\t}\n\t\t\treturn 0;\n\t\t} catch(Exception e) {\n\t\t\ttry {\n\t\t\t\tclose();\n\t\t\t\tinit();\n\t\t\t} catch (Exception e1) {\n\t\t\t\treturn -2;\n\t\t\t}\n\t\t\treturn -1;\n\t\t}\n\t}",
"public int executeUpdate(final String stmt) throws SQLException {\n return connection.createStatement().executeUpdate(stmt);\n }",
"@Override\n\tpublic int update(Object object) {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int getTotalCount(Class<T> type) {\n\t\treturn (int) super.getSessionFactory().getCurrentSession().createQuery(\"select count(1) as num from \"+\r\n\t\t\t\ttype.getName()+\"\").uniqueResult();\r\n\t}",
"@Override\n\tpublic int cwriteGetCount() throws SQLException {\n\t\treturn sqlSession.selectOne(\"ac_writeGetCount\");\n\t}",
"public int update(Administraors admin, QueryRunner queryRunner,\n\t\t\tConnection connection) throws SQLException {\n\t\treturn 0;\n\t}",
"@Transactional(readOnly = true)\n public long countByQueryWrapper(QueryWrapper queryWrapper) {\n log.debug(\"count by queryWrapper : {}\", queryWrapper);\n return ossConfigRepository.selectCount(queryWrapper);\n }",
"public Long count(DatasetItem dataset) {\n\n logTrace(\"Getting Number of Transactions in Dataset with query :: \" + COUNT_QUERY);\n\n Long numResults = (Long)getHibernateTemplate().find(\n COUNT_QUERY, dataset.getId()).get(0);\n return numResults;\n }",
"@Override\n public long count();",
"@Transactional(propagation=Propagation.REQUIRED,isolation =Isolation.REPEATABLE_READ, rollbackFor = Exception.class)\r\n public int update(List<Test> list) throws Exception {\r\n int updateCount = 0;\r\n if (list == null || list.size() == 0) {\r\n return updateCount;\r\n }\r\n for (Test obj : list) {\r\n if (obj == null) {\r\n continue;\r\n }\r\n try {\r\n updateCount += this.testMapper.updateByPrimaryKeySelective(obj);\r\n } catch (Exception e) {\r\n throw e;\r\n }\r\n }\r\n return updateCount;\r\n }",
"@Override\n\tpublic int getRowCount() {\n\t\ttry\n\t\t{\n\t\t\tUint256 retval = contractBean.getContract().getCount().get();\n\t\t\treturn retval.getValue().intValue();\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\te.getMessage();\n\t\t}\n\t\t// If something goes wrong, return 1\n\t\treturn 1;\n\t}",
"@Nonnull\n private Observable<Long> doUpdate(@Nonnull String collection, @Nonnull JsonObject query,\n @Nonnull JsonObject update) {\n Objects.requireNonNull(collection, \"missing collection name\");\n Objects.requireNonNull(query, \"missing query\");\n Objects.requireNonNull(update, \"missing document\");\n\n ObservableFuture<UpdateResult> future = RxHelper.observableFuture();\n mongo.update(collection, query, update, future.toHandler());\n return future.map(result -> result.wasAcknowledged() ? result.getModifiedCount() : 0L);\n }",
"@Override\n\tpublic int update(TestPoEntity entity) {\n\t\treturn 0;\n\t}",
"@Override\n\tpublic int update(ElectricalCheck entity) throws Exception {\n\t\treturn 0;\n\t}",
"@TargetMetric\n @Override\n public RespResult<SqlExecRespDto> executeUpdate(String username, SqlExecReqDto update) {\n return null;\n }",
"public Integer deleteObject() throws DatabaseException {\n // Prepare the calls if not already set (prepare may not have had the modify row).\n if ((!hasMultipleCalls()) && (getCall() == null)) {\n prepareDeleteObject();\n if ((!hasMultipleCalls()) && (getCall() == null)) {\n return new Integer(1);// Must be 1 otherwise locking error will occur.\n }\n }\n\n return super.deleteObject();\n }",
"@Override\n public int executeUpdate(String sql) throws SQLException {\n throw new SQLFeatureNotSupportedException();\n }",
"int getCachedCount();"
] |
[
"0.72152615",
"0.71204704",
"0.70157653",
"0.6888075",
"0.6783427",
"0.6771924",
"0.6496966",
"0.64260864",
"0.6345141",
"0.62722623",
"0.62129766",
"0.61902463",
"0.6151241",
"0.6126701",
"0.6087094",
"0.60857224",
"0.6082374",
"0.6071954",
"0.6067499",
"0.6008609",
"0.60061026",
"0.6004404",
"0.5959169",
"0.5956575",
"0.59524685",
"0.59050626",
"0.58956987",
"0.5877082",
"0.5863524",
"0.5842838",
"0.5842456",
"0.5838185",
"0.5813888",
"0.58137614",
"0.5766039",
"0.5761884",
"0.5749468",
"0.5736992",
"0.57305264",
"0.5728542",
"0.5703724",
"0.56964886",
"0.5671311",
"0.56680036",
"0.564245",
"0.5642416",
"0.5623538",
"0.5590582",
"0.55897",
"0.5585538",
"0.55724216",
"0.55679846",
"0.5563593",
"0.55541486",
"0.5533907",
"0.55180544",
"0.5516161",
"0.5516161",
"0.5516161",
"0.5516161",
"0.5516161",
"0.5510578",
"0.5504143",
"0.5503433",
"0.5503244",
"0.5502143",
"0.5500921",
"0.5497502",
"0.54950964",
"0.5492407",
"0.54903",
"0.54792327",
"0.54751456",
"0.54671264",
"0.5462039",
"0.5457527",
"0.5453383",
"0.5444359",
"0.54385173",
"0.5437101",
"0.5434985",
"0.5434779",
"0.54333174",
"0.5432636",
"0.5427078",
"0.5426314",
"0.5405383",
"0.54013455",
"0.5399335",
"0.5387439",
"0.538436",
"0.5367371",
"0.5366065",
"0.536429",
"0.536343",
"0.5347322",
"0.53460664",
"0.533614",
"0.53330916",
"0.53264725",
"0.53248465"
] |
0.0
|
-1
|
Private method to perform the inserting of an object into the cache
|
private void executeInsert()
throws TranslatorException {
Insert icommand = (Insert) command;
Table t = metadata.getTable(icommand.getTable().getMetadataObject().getFullName());
// if the table has a foreign key, its must be a child (contained) object in the root
if (t.getForeignKeys() != null && t.getForeignKeys().size() > 0) {
this.addChildObject(t);
return;
}
String pkColName = null;
// process the top level object
List<Column> pk = t.getPrimaryKey().getColumns();
if (pk == null || pk.isEmpty()) {
final String msg = CoherencePlugin.Util.getString("CoherenceUpdateExecution.noPrimaryKeyDefinedOnTable", new Object[] {t.getName()}); //$NON-NLS-1$
throw new TranslatorException(msg);
}
pkColName = visitor.getNameFromElement(pk.get(0));
Object newObject = cacheTranslator.createObject(icommand.getColumns(),
((ExpressionValueSource)icommand.getValueSource()).getValues(),
this.visitor,
t);
// get the key value to use to for adding to the cache
Object keyvalue = ObjectSourceMethodManager.getValue("get" + pkColName, newObject);
// add to cache
try {
this.connection.add(keyvalue, newObject);
} catch (ResourceException e) {
throw new TranslatorException(e);
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n\tpublic void addToCache(T obj) {\n\t\tcache.add(obj);\n\t}",
"@Override\r\n public void add(IMObject object) {\r\n cache.add(object);\r\n }",
"@Override\n\tprotected String insertInner(KeyCacheObjectTest obj) throws DaoManagerException {\n\t\treturn null;\n\t}",
"public final synchronized void addElement(Object paramObject1, Object paramObject2)\r\n/* 21: */ {\r\n/* 22:111 */ Object localObject = this._table.get(paramObject1);\r\n/* 23:113 */ if (localObject != null)\r\n/* 24: */ {\r\n/* 25:118 */ GenericCacheEntry localGenericCacheEntry = (GenericCacheEntry)localObject;\r\n/* 26:119 */ localGenericCacheEntry._value = paramObject2;\r\n/* 27:120 */ localGenericCacheEntry._key = paramObject1; return;\r\n/* 28: */ }\r\n/* 29: */ int i;\r\n/* 30:126 */ if (!isFull())\r\n/* 31: */ {\r\n/* 32:127 */ i = this._numEntries;\r\n/* 33:128 */ this._numEntries += 1;\r\n/* 34: */ }\r\n/* 35: */ else\r\n/* 36: */ {\r\n/* 37:132 */ i = this.__curent;\r\n/* 38:134 */ if (++this.__curent >= this._cache.length) {\r\n/* 39:135 */ this.__curent = 0;\r\n/* 40: */ }\r\n/* 41:137 */ this._table.remove(this._cache[i]._key);\r\n/* 42: */ }\r\n/* 43:140 */ this._cache[i]._value = paramObject2;\r\n/* 44:141 */ this._cache[i]._key = paramObject1;\r\n/* 45:142 */ this._table.put(paramObject1, this._cache[i]);\r\n/* 46: */ }",
"protected abstract void put(CacheKey cacheKey);",
"public void addObject(T object)\r\n\t{\r\n\t\tif(cache.size() == maxStorage) //if full\r\n\t\t{\r\n\t\t\tif(cache.contains(object)) //if full and already in cache\r\n\t\t\t{\r\n\t\t\t\tcache.remove(object);\r\n\t\t\t\tcache.addFirst(object);\r\n\t\t\t\thits++;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse //if full but not in cache\r\n\t\t\t{\r\n\t\t\t\tcache.removeLast();\r\n\t\t\t\tcache.addFirst(object);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\telse if(cache.size() < maxStorage) //if there is still room in the cache\r\n\t\t{\r\n\t\t\tif(cache.contains(object)) //if object is already in cache\r\n\t\t\t{\r\n\t\t\t\tcache.remove(object);\r\n\t\t\t\tcache.addFirst(object);\r\n\t\t\t\thits++;\r\n\t\t\t}\r\n\t\t\telse //if object is not already in cache\r\n\t\t\t{\r\n\t\t\t\tcache.addFirst(object);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"Object insert(String key, Object param);",
"public abstract CacheKey put(Vector primaryKey, Object object, Object writeLockValue, long readTime);",
"protected boolean putIntoCache(String key, String value) throws Exception {\n \t// Ensure the value is in cache. We want to avoid it being in the storage but not\n \t// the cache as this can lead to synchronization errors:\n \tboolean inserted = evictAndReplace(key);\n \t\n \t// Perform an insert:\n map.put(key, value);\n \tusageCounter.put(key, usageCounter.get(key) + 1);\n \t\n \treturn inserted;\n }",
"public void insert(KeyedItem o){\r\n\t\tinsert(this,o);\r\n\t}",
"@Override\r\n\tpublic Ngo insert(Ngo obj) {\n\t\treturn null;\r\n\t}",
"@Override\n\tprotected String insertInner(String id, KeyCacheObjectTest obj)\n\t\t\tthrows DaoManagerException {\n\t\treturn null;\n\t}",
"@Override\n\tpublic V add(K key, V value) {\n\t\tcheckNullKey(key);\n\t\tcheckNullValue(value);\n\t\twriteLock.lock();\n\t\ttry {\n\t\t\treturn cache.put(key, value);\n\t\t} finally {\n\t\t\twriteLock.unlock();\n\t\t}\n\t}",
"int insert(Shareholder record);",
"public boolean put( KEY key, OBJECT object );",
"@Override\n public void insert(Realm realm, RealmModel object, Map<RealmModel, Long> cache) {\n @SuppressWarnings(\"unchecked\") Class<RealmModel> clazz = (Class<RealmModel>) ((object instanceof RealmObjectProxy) ? object.getClass().getSuperclass() : object.getClass());\n\n if (clazz.equals(com.binary_winters.projects.iverbs.situaciones.modelo.SituacionGenerica.class)) {\n io.realm.SituacionGenericaRealmProxy.insert(realm, (com.binary_winters.projects.iverbs.situaciones.modelo.SituacionGenerica) object, cache);\n } else if (clazz.equals(com.binary_winters.projects.iverbs.VerboEnEsp.class)) {\n io.realm.VerboEnEspRealmProxy.insert(realm, (com.binary_winters.projects.iverbs.VerboEnEsp) object, cache);\n } else if (clazz.equals(com.binary_winters.projects.iverbs.modelo.PalabraAgregadaBean.class)) {\n io.realm.PalabraAgregadaBeanRealmProxy.insert(realm, (com.binary_winters.projects.iverbs.modelo.PalabraAgregadaBean) object, cache);\n } else if (clazz.equals(com.binary_winters.projects.iverbs.modelo.VerboGenericoBean.class)) {\n io.realm.VerboGenericoBeanRealmProxy.insert(realm, (com.binary_winters.projects.iverbs.modelo.VerboGenericoBean) object, cache);\n } else if (clazz.equals(com.binary_winters.projects.iverbs.modelo.HistorialDePartidaBean.class)) {\n io.realm.HistorialDePartidaBeanRealmProxy.insert(realm, (com.binary_winters.projects.iverbs.modelo.HistorialDePartidaBean) object, cache);\n } else {\n throw getMissingProxyClassException(clazz);\n }\n }",
"public abstract boolean insert(Key key);",
"@Override\r\n public void store(long key, O object) throws OBException {\n }",
"public void insert(KeyedItem newItem);",
"@Override\n @SuppressWarnings(\"unchecked\")\n public <T> void putEntity(Key<T> key, T entity)\n {\n // Add to both caches\n session.getCache().put((Class<T>)key.getType(), entity, key.getId());\n queryCache.putEntity(key, entity);\n }",
"@Override\n public boolean put(K key, V object){\n if ((this.maxSize > 0) && !this.cache.containsKey(key) && (this.cache.size() == this.maxSize)){\n // if add new element than exceed maximum limit\n return false;\n }\n\n CacheObject<K, V> cacheObject = new CacheObject<>(key, object);\n this.cache.put(key, cacheObject);\n\n return true;\n }",
"@Override\n public <T> void storeInItemCache(String key, CacheElement<T> cacheElement) {\n\n if (!isEnabled()) {\n return;\n }\n\n if (!cacheExists()) {\n LOG.error(\"Cache configuration is invalid! NOT Caching. Check EH Cache configuration.\");\n return;\n }\n\n // detect undeclared nulls, complain, and set to null\n if (!cacheElement.isNull() && cacheElement.getPayload() == null) {\n Exception exToLogToHaveStacktraceWhoCausedIt = new Exception();\n LOG.error(\"Detected undeclared null payload on element with key \" + key + \" at insert time!\",\n exToLogToHaveStacktraceWhoCausedIt);\n cacheElement.setNull(true);\n }\n cacheElement.setExpired(false);\n storeElement(key, cacheElement);\n }",
"public void interestCacheInsert(InterestCacheEntry e)\n\t{\n\t\tif ( interestCache_purgeTimer == null ){\n\t\t\tinterestCache_purgeTimer = new DiffTimer(DiffTimer.TIMEOUT_INTEREST_CACHE_PURGE, null) ;\n\t\t\tif ( interestCache_purgeTimer != null ){\n\t\t\t\tinterestCache_purgeTimer.handle = setTimeout(interestCache_purgeTimer, INTEREST_CACHE_PURGE_INTERVAL) ;\n\t\t\t}\n\t\t}\n\t\tinterestCache.put(e.getInterest().getTaskId(),e) ;\n\t}",
"@Override\n public boolean put(CacheObject<K, V> cacheObject){\n K key = cacheObject.getKey();\n if ((this.maxSize > 0) && !this.cache.containsKey(key) && (this.cache.size() == this.maxSize)){\n // if add new element than exceed maximum limit\n return false;\n }\n\n this.cache.put(key, cacheObject);\n\n return true;\n }",
"@Override\n\tpublic int insert(Object ob) {\n\t\treturn 0;\n\t}",
"public abstract Object put(String oid, Object obj) throws OIDAlreadyExistsException, ObjectNotSupportedException;",
"protected PersistentInCacheProxi putSingleton(PersistentObject candidate) throws PersistenceException{\n\t\tPersistentInCacheProxi incache;\n\t\tLong classKey = new Long(candidate.getClassId());\n\t\tHashtable<Long, PersistentInCacheProxi> objectMap;\n\t\tsynchronized (this.classMap){\n\t\t\tobjectMap = this.classMap.get(classKey);\n\t\t\tif (objectMap == null) {\n\t\t\t\tobjectMap = new Hashtable<Long, PersistentInCacheProxi>();\n\t\t\t\tthis.classMap.put(classKey, objectMap);\n\t\t\t}\n\t\t}\n\t\tsynchronized (objectMap) {\n\t\t\tif (objectMap.size() == 0)return this.put(candidate);\n\t\t\tincache = objectMap.values().iterator().next();\t\t\t\n\t\t}\n\t\tif (incache.getTheObject() != null)return incache;\n\t\tincache.setObject(candidate);\n\t\treturn incache;\n\t}",
"public Object createEntry(Object key) throws Exception {\n\r\n\t\t\r\n\t\t\r\n\t\tConnection connect = null;\r\n\t Statement st = null;\r\n\t ResultSet rs = null;\r\n\t String url = \"jdbc:mysql://localhost:3306/\";\r\n\t String db = \"ehcache\";\r\n\t String driver = \"com.mysql.jdbc.Driver\";\r\n\t String user = \"ehcache\";\r\n\t String pass = \"terracotta\";\r\n\t customer mc = new customer();\r\n\t \r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tClass.forName(driver);\r\n\t\t\tconnect = DriverManager\r\n\t\t\t .getConnection(url + db, user, pass);\r\n\t\t\t\r\n\t\t\tst = connect.createStatement();\r\n\t\t rs = st.executeQuery(\"select * from customers where ID='\" + key + \"'\");\r\n\t\t // rs = st.executeQuery(\"select * from customers where ID='1'\");\r\n\t\t \r\n\t\t System.out.println(\"(dbReadThrough) Retrieving customer \" + key + \" from DB ... \");\r\n\t\t \r\n\t\t while (rs.next()) {\r\n\t\t \t\r\n\t\t \t\r\n\t\t \tint ID = rs.getInt(\"ID\");\r\n\t\t \tString FIRSTNAME = rs.getString(\"FIRSTNAME\");\r\n\t\t \tString LASTNAME = rs.getString(\"LASTNAME\");\r\n\t\t \tString REGION = rs.getString(\"REGION\");\r\n\t\t \tString ADDRESS = rs.getString(\"ADDRESS\");\r\n\t\t \r\n\t\t \tSystem.out.println(\"(dbReadThrough) Found customer: \" + ID + \" -- \" + FIRSTNAME + \" \" + LASTNAME + \" \" + REGION + \" \" + ADDRESS);\r\n\t\t \t\t\t \t\r\n\t \t\tmc.setID(ID);\r\n\t \t\tmc.setFIRSTNAME(FIRSTNAME);\r\n\t \t\tmc.setLASTNAME(LASTNAME);\r\n\t \t\tmc.setREGION(REGION);\r\n\t \t\tmc.setADDRESS(ADDRESS); \t\r\n\t\t \t\t\t \t\r\n\t\t }\r\n\t\t \r\n\t\t System.out.println(\"(dbReadThrough) Writing object for customer \" + key + \" to the cache ... \");\r\n\t return mc;\r\n\t\t\r\n\t\t} finally {\r\n\t\t\tconnect.close();\r\n\t\t}\r\n\r\n\t}",
"public Object preparePut(Object object)\r\n {\n FullUniqueIndex perThreadAddedIndex = new FullUniqueIndex(this.hashStrategy);\r\n perThreadAddedIndex.setUnderlyingObjectGetter(transactionalUnderlyingObjectGetter);\r\n perThreadAddedIndex.putUsingUnderlying(object, ((MithraTransactionalObject) object).zGetNonTxData());\r\n synchronized (this.preparedIndices)\r\n {\r\n this.preparedIndices.add(perThreadAddedIndex);\r\n }\r\n return perThreadAddedIndex;\r\n }",
"void put(K id, V cacheable);",
"T put(T obj) throws DataElementPutException, RepositoryAccessDeniedException;",
"@Override\n public void insertOrUpdate(Realm realm, RealmModel obj, Map<RealmModel, Long> cache) {\n @SuppressWarnings(\"unchecked\") Class<RealmModel> clazz = (Class<RealmModel>) ((obj instanceof RealmObjectProxy) ? obj.getClass().getSuperclass() : obj.getClass());\n\n if (clazz.equals(com.binary_winters.projects.iverbs.situaciones.modelo.SituacionGenerica.class)) {\n io.realm.SituacionGenericaRealmProxy.insertOrUpdate(realm, (com.binary_winters.projects.iverbs.situaciones.modelo.SituacionGenerica) obj, cache);\n } else if (clazz.equals(com.binary_winters.projects.iverbs.VerboEnEsp.class)) {\n io.realm.VerboEnEspRealmProxy.insertOrUpdate(realm, (com.binary_winters.projects.iverbs.VerboEnEsp) obj, cache);\n } else if (clazz.equals(com.binary_winters.projects.iverbs.modelo.PalabraAgregadaBean.class)) {\n io.realm.PalabraAgregadaBeanRealmProxy.insertOrUpdate(realm, (com.binary_winters.projects.iverbs.modelo.PalabraAgregadaBean) obj, cache);\n } else if (clazz.equals(com.binary_winters.projects.iverbs.modelo.VerboGenericoBean.class)) {\n io.realm.VerboGenericoBeanRealmProxy.insertOrUpdate(realm, (com.binary_winters.projects.iverbs.modelo.VerboGenericoBean) obj, cache);\n } else if (clazz.equals(com.binary_winters.projects.iverbs.modelo.HistorialDePartidaBean.class)) {\n io.realm.HistorialDePartidaBeanRealmProxy.insertOrUpdate(realm, (com.binary_winters.projects.iverbs.modelo.HistorialDePartidaBean) obj, cache);\n } else {\n throw getMissingProxyClassException(clazz);\n }\n }",
"public abstract String insert(Object obj) ;",
"public void insert(Object item);",
"@Override\n\tpublic void insert(Unidade obj) {\n\n\t}",
"@Override\n\tpublic ImageEntity insert(Object entity) {\n\t\tDatabaseContext.insertRecord(entity);\n\t\treturn (ImageEntity) entity;\n\t}",
"public FactHandle insert(Object object) {\n return mKsession.insert(object);\n }",
"@Override\n public synchronized boolean put(String key, String value) throws Exception {\n boolean inserted = this.putIntoCache(key, value);\n return inserted;\n }",
"public void insert(T object) {\n\t createInternalStorage(object.getIndexes().length);\n\t for(int i=0;i<object.getIndexes().length;i++) {\n\t\tLinkedList<T> value = internalStorage.get(i).get(object.getIndexes()[i]);\n\t\tif (value == null) {\n\t\t value = new LinkedList<T>();\n\t\t internalStorage.get(i).put(object.getIndexes()[i], value);\n\t\t}\n\t\tvalue.add(object);\n\t }\n\t\t\n\t}",
"public void storeInCache() {\r\n lockValueStored = IN_CACHE;\r\n }",
"@Override\r\n public Kiosque insertKiosque(Kiosque obj) {\r\n em.persist(obj);\r\n return obj;\r\n //To change body of generated methods, choose Tools | Templates.\r\n }",
"@Override\r\n\tpublic int insert(KfExaminememo record) {\n\t\treturn mapper.insert(record);\r\n\t}",
"@Override\n public void add(T obj) {\n generateObjIdIfRequired(obj);\n \n //Try to copy when adding so we can prevent unwanted changes\n obj = getCopyOfT(obj);\n \n if (objects.contains(obj)) throw new DBEntityAlreadyExistsException(obj.toString());\n\n objects.add(obj);\n }",
"int insertSelective(Shareholder record);",
"int insert(Storage record);",
"int insert(Storage record);",
"public static void put(Object obj) \n\t{\n\tgetRecycler(obj.getClass()).putObject(obj);\n\t}",
"int insert(T entity);",
"public boolean put(T obj);",
"int insert(Clazz record);",
"public long insert();",
"int insert(RecordLike record);",
"@Override\n public void add(IBasicEntity ent) throws CachingException {\n EntityCachingServiceLocator.getEntityCachingService().add(ent);\n }",
"@Override\n\tpublic void preInsert() {\n\n\t}",
"public void insert(\n ContentObject object\n )\n {\n if(index == -1)\n {index = 0;}\n\n objects.add(index,object);\n refresh();\n }",
"T insert(T entity) throws Exception;",
"@Override\n public <T> void storeInItemCache(String key, CacheElement<T> cacheElement, int dependingPublicationId, int\n dependingItemId) {\n\n if (!isEnabled()) {\n return;\n }\n\n CacheDependency dependency = new CacheDependencyImpl(dependingPublicationId, dependingItemId);\n List<CacheDependency> dependencies = new ArrayList<>();\n dependencies.add(dependency);\n storeInItemCache(key, cacheElement, dependencies);\n\n }",
"@Override\n protected void executeLowLevelRequest() {\n doPutItem();\n }",
"int insert(AccessKeyRecordEntity record);",
"public Entry insert(Object key, Object value) {\r\n if (size / num_buckets > 0.75) { //table must be resized if load factor is too great\r\n this.resize();\r\n }\r\n Entry new_entry = new Entry();\r\n new_entry.key = key;\r\n new_entry.value = value;\r\n int comp_hash = compFunction(new_entry.key.hashCode()); //compresses key hash code\r\n if (hash_table[comp_hash] == null) { \r\n hash_table[comp_hash] = new DList();\r\n hash_table[comp_hash].insertFront(new_entry);\r\n } else {\r\n hash_table[comp_hash].insertFront(new_entry);\r\n }\r\n size++;\r\n return new_entry;\r\n }",
"Object put(Object key, Object value) throws NullPointerException;",
"@Override\n\tpublic void insert() {\n\t\t\n\t}",
"StoreResponse add(CACHE_ELEMENT e);",
"int insert(TDictAreas record);",
"public Entry<K, V> insert(K key, V value) {\r\n try {\r\n int hash = key.hashCode();\r\n Entry<K, V> entry = new Entry<K, V>();\r\n entry.key = key;\r\n entry.value = value;\r\n table[compFunction(hash)].insertFront(entry);\r\n return entry;\r\n } catch (Exception e) {\r\n System.out.println(\"Unhashable key: \" + e);\r\n return null;\r\n }\r\n }",
"public void cacheResult(DataEntry dataEntry);",
"void put(String key, Object obj);",
"int insert(Crawl record);",
"public void insert(T o);",
"@Override\n\tpublic void put(String name, Serializable key, Serializable value) throws CacheException {\n\t\t\n\t}",
"int insert(ProxiesPriv record);",
"int insert(Dormitory record);",
"void put(MongoDBEntry<K, V> entry);",
"public Entry insert(Object key, Object value) {\n resize();//only if it needs to.\n Entry e = new Entry();\n e.key = key;\n e.value = value;\n int i = compFunction(key.hashCode());\n buckets[i].insertFront(e);\n size++;\n return e;\n }",
"@Override\n\tpublic int insert(Contract record) {\n\t\treturn contractMapper.insert(record);\n\t}",
"abstract public void insert(final KeyClass data, final RID rid);",
"public void cacheResult(ua.org.gostroy.guestbook.model.Entry3 entry3);",
"@Override\r\n\tpublic void putObject(Object key, Object value) {\n\t\t\r\n\t}",
"int insertSelective(AccessKeyRecordEntity record);",
"public Object saveOrUpdateCopy(Object obj) throws HibException;",
"public void insertTripleDistributedByObject(Triple triple) {\n\r\n }",
"protected Object putElement(int key, Object value) {\n int index = key % capacity;\n if (index < 0) {\n index = -index;\n }\n if (map[index] == null) {\n //.... This is a new key since no bucket exists\n objectCounter++;\n map[index] = create(key, value);\n contents++;\n if (contents > maxLoad) {\n rehash();\n }\n return null;\n } else {\n //.... A bucket already exists for this index: check whether \n // we already have a mapping for this key\n MapElement me = map[index];\n while (true) {\n if (me.getKey() == key) {\n return me.atInsert(value);\n } else {\n if (me.getNext() == null) {\n // No next element: so we have no mapping for this key\n objectCounter++;\n MapElement result = create(key, value);\n me.setNext(result);\n contents++;\n if (contents > maxLoad) {\n rehash();\n }\n return null;\n } else {\n me = me.getNext();\n }\n }\n }\n }\n }",
"int insert(Commet record);",
"public void put(final Serializable key, final Serializable value) {\n Mutex lock = checkLockExistsForKey(key);\n try {\n if (value != null) {\n final Element element = new Element(key, value);\n cache.put(element);\n } else {\n cache.remove(key);\n }\n } finally {\n //Release the readlock here. This will have been acquired in the get, where the element was null\n lock.release();\n }\n }",
"int insert(CptDataStore record);",
"@Override\n\tprotected Long insert(Serializable content, SQLiteDatabase db) {\n\t\treturn null;\n\t}",
"public FactHandle insert(Object object, String entryPoint) {\n WorkingMemoryEntryPoint ep = mKsession\n .getWorkingMemoryEntryPoint(entryPoint);\n return ep.insert(object);\n }",
"int insert(LikedKey record);",
"public void put(String param1, Cache.Entry param2) {\n }",
"@Override // a2.j.d.c.y3, a2.j.d.c.q, com.google.common.collect.Table\n @CanIgnoreReturnValue\n public /* bridge */ /* synthetic */ Object put(Object obj, Object obj2, Object obj3) {\n return super.put(obj, obj2, obj3);\n }",
"@Override\n public void putSafe( final K key, final V value )\n {\n if ( this.getCacheControl().get( key ) != null )\n {\n throw new ObjectExistsException( \"putSafe failed. Object exists in the cache for key [\" + key\n + \"]. Remove first or use a non-safe put to override the value.\" );\n }\n put( key, value );\n }",
"@Override\n public boolean insert(T o) {\n // Makes sure only the same Object in in the Array\n/*\n if(type == null){\n type = o.getClass();\n }\n if(type != o.getClass()) return false;\n*/\n\n if(o == null) return false;\n if(contains(o)) return false;\n int hcode = hash(o);\n hcode %= array.length;\n array[hcode].add(o);\n return true;\n }",
"public synchronized static void store(Context context, String name, Object o) {\n for(Map.Entry<Object, String> e : cached.entrySet()) {\r\n if(e.getValue().contentEquals(name)) {\r\n // Found cached\r\n cached.remove(e.getKey());\r\n break;\r\n }\r\n }\r\n // Put new entry\r\n if(o != null)\r\n cached.put(o, name);\r\n // Post async update\r\n pending.put(name, o);\r\n apply(context);\r\n }",
"abstract void insert(K key, V value);",
"abstract void insert(K key, V value);",
"@Override\n\tpublic int insert2(Object ob) {\n\t\treturn 0;\n\t}",
"@Override\n\tpublic int insert2(Object ob) {\n\t\treturn 0;\n\t}",
"<T> int insert(T obj);",
"private void put(PrimitiveEntry entry) {\n int hashIndex = findHashIndex(entry.getKey());\n entries[hashIndex] = entry;\n }",
"void insert(Object value, int position);"
] |
[
"0.67219126",
"0.6577904",
"0.65611446",
"0.64026016",
"0.6383087",
"0.6307107",
"0.62443",
"0.6208823",
"0.620876",
"0.6207847",
"0.6206569",
"0.62022644",
"0.6201277",
"0.6181998",
"0.6180064",
"0.617663",
"0.6168854",
"0.6153885",
"0.6140377",
"0.6108131",
"0.6103354",
"0.6092764",
"0.6073972",
"0.6010715",
"0.59881335",
"0.59798634",
"0.5978559",
"0.5977585",
"0.59604895",
"0.59529835",
"0.59488577",
"0.5896523",
"0.58860326",
"0.5881473",
"0.587623",
"0.58559954",
"0.5843978",
"0.5808264",
"0.5805855",
"0.579268",
"0.5792085",
"0.57752365",
"0.57707083",
"0.57689744",
"0.57650805",
"0.57650805",
"0.5752387",
"0.57474554",
"0.57472914",
"0.57314974",
"0.573094",
"0.5727755",
"0.5714613",
"0.57144696",
"0.57124114",
"0.5704749",
"0.5704354",
"0.5699981",
"0.5699783",
"0.56937855",
"0.5688624",
"0.56861424",
"0.56855077",
"0.56662923",
"0.56657887",
"0.5647502",
"0.56413484",
"0.5638316",
"0.56377834",
"0.56349474",
"0.5625943",
"0.56258464",
"0.5625618",
"0.5620705",
"0.5608652",
"0.56021786",
"0.56009126",
"0.559226",
"0.5587739",
"0.5574202",
"0.55638057",
"0.556287",
"0.55610067",
"0.555187",
"0.55515033",
"0.5551349",
"0.5548571",
"0.554081",
"0.55362165",
"0.5530042",
"0.55178446",
"0.55174637",
"0.5516258",
"0.55154455",
"0.55154455",
"0.55127656",
"0.55127656",
"0.55120564",
"0.5510442",
"0.5503756"
] |
0.699478
|
0
|
Private method to actually do an update operation.
|
private void executeUpdate()
throws TranslatorException {
Update ucommand = (Update) command;
Table t = metadata.getTable(ucommand.getTable().getMetadataObject().getFullName());
// List<ForeignKey> fks = t.getForeignKeys();
// if the table has a foreign key, its must be a child (contained) object in the root
if (t.getForeignKeys() != null && t.getForeignKeys().size() > 0) {
updateChildObject(t);
return;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void update(){}",
"public void update(){}",
"public void executeUpdate();",
"protected abstract void update();",
"protected abstract void update();",
"public void update() {}",
"void executeUpdate();",
"@Test\r\n\tpublic void testUpdate() {\r\n\t\tList<E> entities = dao.findAll();\r\n\t\tE updated = supplyUpdated(entities.get(0));\r\n\t\tdao.update(entities.get(0));\r\n\t\tentities = dao.findAll();\r\n\t\tassertEquals(updated, entities.get(0));\r\n\t}",
"@Override\r\n\tpublic int do_update(DTO dto) {\n\t\treturn 0;\r\n\t}",
"public void attemptToUpdate();",
"protected abstract void update();",
"public boolean update(Object obj) throws Exception;",
"@Override\n\tpublic void queryUpdate() {\n\t\tneedToUpdate = true;\n\t}",
"@Override\n\tpublic void update(UpdateInfo updateInfo) {\n\t\t\n\t}",
"@Override\n\t\tpublic void update() {\n\n\t\t}",
"@Override\n\t\tpublic void update() {\n\n\t\t}",
"@Override\n\t\tpublic void update() {\n\n\t\t}",
"private void updateFromProvider() {\n if(isUpdating.get()){\n isHaveUpdateRequest.set(true);\n return;\n }\n mUpdateExecutorService.execute(new UpdateThread());\n }",
"public void update(){\n \t//NOOP\n }",
"boolean update();",
"public void doUpdate(T objectToUpdate) throws SQLException;",
"public void update(int updateType);",
"public void update() {\n\t}",
"public void update() {\n\t}",
"public void update() {\n\t}",
"public void update() {\n\t}",
"void updateIfNeeded()\n throws Exception;",
"public void updateData() {}",
"public void update() {\n\t\t\n\t}",
"abstract public void update();",
"@Override\n\tpublic void update(Object entidade) {\n\t\t\n\t}",
"@Override\n\tpublic void update() {}",
"@Override\n\tpublic void update() {}",
"public void update() {\n }",
"protected abstract boolean supportsForUpdate();",
"public void updateByObject()\r\n\t{\n\t}",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public abstract void update();",
"@Override\n\tpublic void update(T obj) throws Exception {\n\t\t\n\t}",
"@Override\r\n\tpublic int update() throws Exception {\n\t\treturn 0;\r\n\t}",
"public void update(K id, Update<P> update);",
"public void run() {\n\n if (cancelUpdate(persistentEntity, entityAccess)) {\n return;\n }\n\n updateEntry(persistentEntity, updateId, e);\n firePostUpdateEvent(persistentEntity, entityAccess);\n }",
"Item update(Item item);",
"public void update() {\n manager.update();\n }",
"public abstract void update(Object obj) ;",
"public abstract Response update(Request request, Response response);",
"public void performAdditionalUpdates() {\n\t\t// Default: do nothing - subclasses should override if needed\n\t}",
"void update(T objectToUpdate);",
"@Override\r\n\t\tpublic void update() {\n\t\t\t\r\n\t\t}",
"@Override\r\n\t\tpublic void update() {\n\t\t\t\r\n\t\t}",
"void update(T entity) throws Exception;",
"@Override\n\tpublic void update() { }",
"@Override\r\n\tpublic void update() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void update() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void update() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void update() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void update() {\n\t\t\r\n\t}",
"public void update() ;",
"boolean update(T t);",
"@Override\n\tpublic void update(Map<String, Object> params)\n\t{\n\t}",
"public void update() {\n\n }",
"public void update() {\n\n }",
"public abstract int update(T item) throws RepositoryException;",
"public void requestUpdate(){\n shouldUpdate = true;\n }",
"public void testUpdate() {\n TUpdate_Input[] PriceLists_update_in = new TUpdate_Input[] { PriceList_update };\n TUpdate_Return[] PriceLists_update_out = priceListService.update(PriceLists_update_in);\n // test if update was successful\n assertEquals(\"update result set\", 1, PriceLists_update_out.length);\n\n TUpdate_Return PriceList_update_out = PriceLists_update_out[0];\n assertNoError(PriceList_update_out.getError());\n assertEquals(\"updated?\", true, PriceList_update_out.getUpdated());\n }",
"public void updateEntity();",
"public abstract int execUpdate(String query) ;",
"public void update();",
"public void update();",
"public void update();",
"public void update();",
"public void update();",
"public void update();",
"public void update();",
"void update(Information info);",
"public void update() {\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic void doUpdate(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void update() {\n\t}",
"@Override\r\n\tpublic void update() {\n\t}",
"@Override\n\tpublic void update() {\n\n\t}",
"@Override\n\tpublic void update() {\n\n\t}",
"@Override\n\tpublic void update() {\n\n\t}",
"@Override\n\tpublic void update() {\n\n\t}",
"@Override\n\tpublic void update() {\n\n\t}",
"@Override\n\tpublic void update() {\n\n\t}",
"@Override\r\n\tpublic void update() {\r\n\r\n\t}",
"public abstract void update(@Nonnull Response response);",
"@Override\n\tpublic void update(Object o) {\n\n\t}",
"@Override\n\tpublic void update(Object o) {\n\n\t}",
"void update(T entity);",
"void update(T entity);"
] |
[
"0.7351533",
"0.7351533",
"0.72761",
"0.7237153",
"0.7237153",
"0.7100064",
"0.7087685",
"0.70247644",
"0.70137346",
"0.6940439",
"0.69017166",
"0.6885168",
"0.68832344",
"0.68708867",
"0.6859483",
"0.6859483",
"0.6859483",
"0.68487704",
"0.68414235",
"0.6810588",
"0.6787839",
"0.6770115",
"0.67521816",
"0.67521816",
"0.67521816",
"0.67521816",
"0.67520547",
"0.6745313",
"0.67333835",
"0.6719824",
"0.6716203",
"0.67006534",
"0.67006534",
"0.6689063",
"0.6678933",
"0.66506577",
"0.66357136",
"0.66357136",
"0.66357136",
"0.66357136",
"0.66357136",
"0.66357136",
"0.66357136",
"0.66357136",
"0.66357136",
"0.66357136",
"0.66357136",
"0.66357136",
"0.6630417",
"0.66249937",
"0.6622676",
"0.6613006",
"0.6607837",
"0.6604982",
"0.6595818",
"0.65933734",
"0.6588869",
"0.6588015",
"0.6581425",
"0.6581425",
"0.6580901",
"0.65796924",
"0.65644544",
"0.65644544",
"0.65644544",
"0.65644544",
"0.65644544",
"0.6553847",
"0.65399927",
"0.6539108",
"0.65291506",
"0.65291506",
"0.6525288",
"0.65148705",
"0.6508297",
"0.650404",
"0.6496655",
"0.64941686",
"0.64941686",
"0.64941686",
"0.64941686",
"0.64941686",
"0.64941686",
"0.64941686",
"0.6483527",
"0.6474232",
"0.6470542",
"0.6468526",
"0.6468526",
"0.6466798",
"0.6466798",
"0.6466798",
"0.6466798",
"0.6466798",
"0.6466798",
"0.6460108",
"0.6459727",
"0.6448866",
"0.6448866",
"0.64458114",
"0.64458114"
] |
0.0
|
-1
|
cancel here by closing the copy of the ldap context (if it was initialized, which is only true if execute() was previously called) calling close on already closed context is safe per javax.naming.Context javadoc so we won't worry about this also happening in our close method
|
public void cancel() throws TranslatorException {
close();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private static void closeContext( Context ctx )\n throws PSException\n {\n if ( ctx != null )\n {\n try\n {\n ctx.close();\n } catch ( NamingException e )\n {\n throw new PSException( CommonExceptionConstants.GENERAL_NAMING_CODE, \"Unable to close Initial Context: \" + e.getMessage() );\n }\n }\n }",
"protected void finalize() throws Throwable {\n\t\tif (context != null) {\n\t\t\ttry {\n\t\t\t\tcontext.close();\n\t\t\t} catch (NamingException e) {\n\t\t\t\t// this is okay\n\t\t\t}\n\t\t}\n\t\tsuper.finalize();\n\t}",
"public void close() {\n if (stmt == null) {\n return;\n }\n\n try {\n commit();\n } catch (HandledException ex) {\n Exceptions.ignore(ex);\n }\n\n safeClose();\n context.unregister(this);\n }",
"@Override\n\tprotected void finalize() throws Throwable {\n\t\tctx.close();\n\t\tctx=null;\n\t\tsuper.finalize();\n\t}",
"public void close() {\n if (adminPool != null) {\n try {\n adminPool.close();\n } catch (Exception e) {\n log.warn(\"Error while closing LDAP connection pool\", e);\n }\n adminPool = null;\n }\n if (userPool != null) {\n try {\n userPool.close();\n } catch (Exception e) {\n log.warn(\"Error while closing LDAP connection pool\", e);\n }\n userPool = null;\n }\n }",
"@Override\n\tprotected void doClose() throws Exception {\n\t\tinitialized = false;\n\t\tJdbcUtils.closeResultSet(this.rs);\n\t\trs = null;\n\t\tcleanupOnClose();\n\n\t\tif(this.con != null) {\n\t\t\tthis.con.setAutoCommit(this.initialConnectionAutoCommit);\n\t\t}\n\n\t\tif (useSharedExtendedConnection && dataSource instanceof ExtendedConnectionDataSourceProxy) {\n\t\t\t((ExtendedConnectionDataSourceProxy)dataSource).stopCloseSuppression(this.con);\n\t\t\tif (!TransactionSynchronizationManager.isActualTransactionActive()) {\n\t\t\t\tDataSourceUtils.releaseConnection(con, dataSource);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tJdbcUtils.closeConnection(this.con);\n\t\t}\n\t}",
"@Override\n\tpublic void finalize() {\n\t\tcontext.unbindService(CONNECTION);\n\t}",
"private ContextKey closeExistingElectionContext(CoreDescriptor cd) {\n String collection = cd.getCloudDescriptor().getCollectionName();\n final String coreNodeName = cd.getCloudDescriptor().getCoreNodeName();\n\n ContextKey contextKey = new ContextKey(collection, coreNodeName);\n ElectionContext prevContext = electionContexts.get(contextKey);\n\n if (prevContext != null) {\n prevContext.close();\n electionContexts.remove(contextKey);\n }\n\n return contextKey;\n }",
"public void close()\n {\n if (_forbidClose)\n throw new IllegalStateException(\"illegal to call close() for this DBPool\");\n forceClose();\n }",
"public void close() {\n appContext.close();\n }",
"private void close() {\n\t\t\tDB.close(m_rs, m_pstmt);\n\t\t\tm_rs = null;\n\t\t\tm_pstmt = null;\n\t\t}",
"public void dispose() {\n if (systemDbImporter != null && systemDbImporter.isEnabled()) {\n systemDbImporter.shutdown();\n }\n\n if (context instanceof OServerAware) {\n if (((OServerAware) context).getDistributedManager() != null) {\n ((OServerAware) context).getDistributedManager().unregisterLifecycleListener(this);\n }\n }\n\n Orient.instance().removeDbLifecycleListener(this);\n\n if (globalHook != null) {\n globalHook.shutdown(false);\n globalHook = null;\n }\n\n if (retainTask != null) {\n retainTask.cancel();\n }\n\n if (timer != null) {\n timer.cancel();\n }\n }",
"@Override\r\n\t\tpublic void finalize() {\r\n\t try {\r\n\t if (con != null) {\r\n\t con.close();\r\n\t }\r\n\t } catch (SQLException sqlex) {\r\n\t System.out.println(sqlex);\r\n\t }\r\n\t }",
"@Override\r\n\tpublic void contextDestroyed(ServletContextEvent m_event) {\n\t\tDataBaseConn.closeConn();\r\n\t\tArkService.getInstance().stop();\r\n\t\t//DataBaseConn.closeConn();\r\n\t}",
"protected void finalize(){\n \ttry {\n\t\t\tdatabase.doDisconnect();\n\t\t} catch (SQLException e) {\n\t\t}\n }",
"private void closeDirtyConnection() {\n\t\ttry {\n\t\t\tif (dirtyConnection != null) {\n\t\t\t\tdirtyConnection.close();\n\t\t\t}\n\t\t} catch (DatabaseException e) {\n\t\t} finally {\n\t\t\tdirtyConnection = null;\n\t\t}\n\t}",
"@Override\n\tprotected void finalize() throws Throwable {\n\t\t\n\t\tif (this.connection != null) {\n\t\t\tthis.connection.close();\t\t\n\t\t}\n\t\tsuper.finalize();\n\t}",
"public void ExitConection(){\n try {\n resultSet.close();\n preparedStatement.close();\n conection.close();\n } catch (Exception e) {\n// MessageEmergent(\"Fail ExitConection(): \"+e.getMessage());\n }\n }",
"@Override\r\n\tpublic void closeOnCompletion() throws SQLException {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void closeOnCompletion() throws SQLException {\n\t\t\r\n\t}",
"@Override\n\tpublic void closeOnCompletion() throws SQLException {\n\t\t\n\t}",
"protected void close() {\n if (conn == null)\n return;\n // Close our prepared statements (if any) \n try {\n ps.close();\n } catch (Throwable f) {\n ExceptionUtils.handleThrowable(f);\n }\n this.ps = null;\n // Close this database connection, and log any errors \n try {\n conn.close();\n } catch (SQLException e) {\n container.getLogger().error(sm.getString(\"jdbcAccessLogValeve.close\"), e);\n } finally {\n this.conn = null;\n }\n}",
"public static void closeDatabase() {\n\t\ttry {\n\t\t\tif (status == OPEN_SUCCESS) {\n\t\t\t\tif (stmt != null)\n\t\t\t\t\tstmt.close();\n\t\t\t\tif (c != null)\n\t\t\t\t\tc.close();\n\t\t\t\tlogger.info(\"Closed database successfully\");\n\t\t\t} else {\n\t\t\t\tlogger.warn(\"Can not close: previous operation failed.\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tstatus = OPEN_FAILED;\n\t\t\tlogger.warn(e.getClass().getName() + \": \" + e.getMessage());\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"@Override\r\n\tpublic void closeOnCompletion() throws SQLException {\n\r\n\t}",
"@Override\n public void finalize() throws Throwable {\n this.close();\n super.finalize();\n }",
"@Override protected void finalize() {\r\n if (connection != null)\r\n throw new ORM8RuntimeException(\"DbConnection not closed for \" + connectionString);\r\n }",
"public void close() {\n\t\tif (this.session instanceof DatabaseSession) {\n\t\t\t((DatabaseSession) this.session).logout();\n\t\t}\n\t\tthis.session.release();\n\t}",
"@Override\n\tpublic void close() {\n\t\tsuper.close();\n\t\tlockRuntimeDao = null;\n\t\tplaceRuntimeDao = null;\n\t\tlocatorRuntimeDao = null;\n\t}",
"protected void safeClose() {\n try {\n if (stmt != null) {\n stmt.close();\n }\n } catch (SQLException e) {\n Exceptions.handle()\n .to(OMA.LOG)\n .error(e)\n .withSystemErrorMessage(\"An error occurred while closing a prepared statement: %s (%s)\")\n .handle();\n } finally {\n stmt = null;\n }\n }",
"protected void closeLocal() { }",
"public synchronized void cancelExecution() {\n this.status = EXECUTION_CANCELED;\n if (this.context != null)\n context.close(true);\n }",
"public void forceClose()\n {\n if (_isClosed)\n return;\n \n _isClosed = true;\n \n if (log.isLoggable(Level.FINE))\n log.fine(\"closing pool \" + getName());\n }",
"public void close() throws NamingException {\n }",
"@Override\r\n\tprotected void finalize() throws Throwable {\n\t\tclose();\r\n\t\tsuper.finalize();\r\n\t}",
"public void destroy() throws ContextDestroyException;",
"public void finalize() throws Throwable {\n close();\n }",
"@Override\r\n public void onTerminate() {\n \r\n dataManager.closeDb();\r\n selectedBook = null;\r\n super.onTerminate();\r\n }",
"@Override\r\n\tpublic void close(MessageContext messageContext) {\r\n\t\t// nothing to clean up\r\n\t}",
"void closeInternal() throws SQLException {\n\n if (result != null) {\n try {\n result.close();\n if (closeStatement && stat != null) {\n stat.close();\n }\n }\n finally {\n columnCount = 0;\n result = null;\n stat = null;\n conn = null;\n insertRow = null;\n updateRow = null;\n }\n }\n }",
"public synchronized void close() throws SQLException {\n\t\tif (isClosedInternal()) {\n\t\t\t// already close\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tboolean isUnderlyingConnectionClosed;\n\t\t\n\t\ttry {\n\t\t\tisUnderlyingConnectionClosed = this.getDelegateInternal().isClosed();\n\t\t} catch (SQLException e) {\n\t\t\ttry {\n\t\t\t\tpool.invalidateObject(this); // remove from pool\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception ie) {\n\t\t\t\t// DO NOTHING, exception will be thrown\n\t\t\t}\n\t\t\tthrow new SQLException(\"Cannot close connection (isClosed throw exception\", e);\n\t\t}\n\t\t\n\t\tif (isUnderlyingConnectionClosed) {\n\t\t\t// Abnormal close: underlying connection close unexpectedly\n\t\t\t// must destroy this proxy\n\t\t\ttry {\n\t\t\t\tthis.pool.invalidateObject(this);\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new SQLException(\"Cannot close connection (invalidate object failed)\", e);\n\t\t\t}\n\t\t} else {\n\t\t\t// Normal close: return proxy to pool\n\t\t\ttry {\n\t\t\t\tthis.pool.returnObject(this);\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new SQLException(\"Cannot close connection (return to pool failed)\", e);\n\t\t\t}\n\t\t}\n\t}",
"protected void finalize() throws Throwable {\n if (selectStatement != null) try {\n selectStatement.close();\n } catch (Exception e) {}\n if (insertStatement != null) try {\n insertStatement.close();\n } catch (Exception e) {}\n if (updateStatement != null) try {\n updateStatement.close();\n } catch (Exception e) {}\n super.finalize();\n }",
"@Override\n\tpublic void close(MessageContext messageContext) {\n\t\t// nothing to clean up\n\t}",
"@Override\n\tprotected void finalize() throws Throwable {\n\t\ttry {\n\t\t\tif (this.pMapSubjects != null) {\n\t\t\t\tthis.pMapSubjects.close();\n\t\t\t}\n\t\t\tif (this.mapDB != null && !this.mapDB.isClosed()) {\n\t\t\t\tthis.mapDB.close();\n\t\t\t}\n\t\t} catch (Throwable ex) {\n\t\t\tlogger.warn(\"Persistent HashMap or backing database could not be closed\", ex);\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tsuper.finalize();\n\t\t\t} catch (Throwable ex) {\n\t\t\t\tlogger.warn(\"Persistent HashMap or backing database could not be closed\", ex);\n\t\t\t}\n\t\t}\n\t}",
"private void fecharConexao() {\n\t\t\n\t\tmanager.close();\n\t\t\n\t}",
"public void close() {\n\n\t\tdebug();\n\n\t\tif (isDebug == true) {\n\t\t\tlog.debug(\"=== CLOSE === \");\n\t\t}\n\n\t\ttry {\n\n\t\t\tif (connection != null) {\n\n\t\t\t\tlog.debug(\"Antes Connection Close\");\n\t\t\t\tconnection.close();\n\t\t\t\tlog.debug(\"Pos Connection Close\");\n\t\t\t}\n\n\t\t\tif (m_dbConn != null) {\n\t\t\t\tm_dbConn.close();\n\t\t\t}\n\n\t\t\tif (isDebug == true) {\n\t\t\t\tlog.debug(\"Connection Close\");\n\n\t\t\t}\n\n\t\t} catch (SQLException e) {\n\t\t\tlog.debug(\"ERRO Connection Close\");\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tconnection = null;\n\t\tm_dbConn = null;\n\n\t}",
"@Override\n\tprotected void finalize() throws Throwable {\n\t\tclose();\n\t\tsuper.finalize();\n\t}",
"public void finalize() throws Throwable {\n close();\n super.finalize();\n }",
"TransactionContext cancelTransaction() throws IOException;",
"@Override\n\tpublic final void close() throws SailException {\n\t\tconnectionLock.writeLock().lock();\n\n\t\ttry {\n\t\t\tif (isOpen) {\n\t\t\t\ttry {\n\t\t\t\t\tforceCloseActiveOperations();\n\n\t\t\t\t\tif (txnActive) {\n\t\t\t\t\t\tlogger.warn(\"Rolling back transaction due to connection close\",\n\t\t\t\t\t\t\t\tdebugEnabled ? new Throwable() : null);\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t// Use internal method to avoid deadlock: the public\n\t\t\t\t\t\t\t// rollback method will try to obtain a connection lock\n\t\t\t\t\t\t\trollbackInternal();\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\ttxnActive = false;\n\t\t\t\t\t\t\ttxnPrepared = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tcloseInternal();\n\t\t\t\t} finally {\n\t\t\t\t\tisOpen = false;\n\t\t\t\t\tsailBase.connectionClosed(this);\n\t\t\t\t}\n\t\t\t}\n\t\t} finally {\n\t\t\t// Release the exclusive lock. Any threads waiting to obtain a\n\t\t\t// non-exclusive read lock will get one and then fail with an\n\t\t\t// IllegalStateException, because the connection is no longer open.\n\t\t\tconnectionLock.writeLock().unlock();\n\t\t}\n\t}",
"public void cleanup(){\n try{\n if (this._connection != null){\n this._connection.close ();\n }//end if\n }catch (SQLException e){\n // ignored.\n }//end try\n }",
"protected void finalize() {\n close();\n }",
"protected void finalize() throws Throwable {\n super.finalize();\n close();\n }",
"@Override\r\n @SuppressWarnings(\"empty-statement\")\r\n public void close()\r\n {\r\n curDb_ = null;\r\n curConnection_ = null;\r\n try\r\n {\r\n for(Map.Entry<Db_db, Connection> entry: connections_.entrySet())\r\n {\r\n entry.getValue().close();\r\n }\r\n }catch(Exception e){};\r\n \r\n connections_.clear();\r\n }",
"private void close() {\n/* */ try {\n/* 253 */ if (this.dataReader != null) {\n/* 254 */ this.dataReader.close();\n/* 255 */ this.dataReader = null;\n/* */ } \n/* 257 */ } catch (SQLException e) {\n/* 258 */ logger.log(Level.SEVERE, (String)null, e);\n/* */ } \n/* */ try {\n/* 261 */ if (this.pstmt != null) {\n/* 262 */ this.pstmt.close();\n/* 263 */ this.pstmt = null;\n/* */ } \n/* 265 */ } catch (SQLException e) {\n/* 266 */ logger.log(Level.SEVERE, (String)null, e);\n/* */ } \n/* */ }",
"@Override\n public void run() throws Throwable {\n try {\n super.run();\n } finally {\n contextView.close();\n }\n }",
"protected void finalize() throws Throwable\n {\n // your code here\n \tthis.si.getServerConnection().logout();\n \tsuper.finalize();\n }",
"@Override\n public void close() {\n if (prepared && !closed) {\n try {\n Client.getStub()\n .unprepare(UnprepareRequest.newBuilder().setPreparedExpressionId(preparedId).build());\n } catch (StatusRuntimeException e) {\n // ignore\n }\n prepared = false;\n closed = true;\n }\n }",
"protected void apply() {\n dispose();\n }",
"@Override\n public void contextDestroyed(ServletContextEvent event) {\n if (connection == null) {\n return;\n }\n try {\n connection.close();\n } catch (IOException io) {\n if (sc != null) {\n sc.log(\"contextDestroyed \", io);\n }\n }\n connection = null;\n }",
"protected void finalize() {\n\t\tclose();\n\t}",
"private void closeCursor() {\n if (cursor != null) {\n cursor.close();\n }\n if (refreshedCursor != null) {\n refreshedCursor.close();\n }\n }",
"void close()\n {\n DisconnectInfo disconnectInfo = connection.getDisconnectInfo();\n if (disconnectInfo == null)\n {\n disconnectInfo = connection.setDisconnectInfo(\n new DisconnectInfo(connection, DisconnectType.UNKNOWN, null, null));\n }\n\n // Determine if this connection was closed by a finalizer.\n final boolean closedByFinalizer =\n ((disconnectInfo.getType() == DisconnectType.CLOSED_BY_FINALIZER) &&\n socket.isConnected());\n\n\n // Make sure that the connection reader is no longer running.\n try\n {\n connectionReader.close(false);\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n outputStream.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n socket.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n if (saslClient != null)\n {\n try\n {\n saslClient.dispose();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n finally\n {\n saslClient = null;\n }\n }\n\n debugDisconnect(host, port, connection, disconnectInfo.getType(),\n disconnectInfo.getMessage(), disconnectInfo.getCause());\n if (closedByFinalizer && debugEnabled(DebugType.LDAP))\n {\n debug(Level.WARNING, DebugType.LDAP,\n \"Connection closed by LDAP SDK finalizer: \" + toString());\n }\n disconnectInfo.notifyDisconnectHandler();\n }",
"public void cleanup() throws ResourceException {\n checkIfDestroyed();\n\n logger.fine(\" 8.- (\" + myId + \") ManagedConnection::cleanup called\");\n\n invalidateJavaMailConnections();\n }",
"protected void end() {\n \t//claw.close();\n }",
"public void close() {\n unbind();\n }",
"public void close() {\n wrapped.close();\n }",
"@Override\n\tpublic void destroy() {\n\t\ttry {\n//\t\t\tif(stmt!=null&&!stmt.isClosed()){\n//\t\t\t\tstmt.close();\n//\t\t\t}\n\t\t\tif(conn!=null&&conn.isClosed()){\n\t\t\t\tconn.close();\n\t\t\t}\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\tsuper.destroy();\n\t}",
"private void cleanNamingContextBindings() throws NamingException {\r\n \t\ttry {\r\n \t\t\tif (this.acif != null) {\r\n \t\t\t\t// parse the string\r\n \t\t\t\tString jndiName = ((ResourceAdaptorActivityContextInterfaceFactory) this.acif)\r\n \t\t\t\t\t\t.getJndiName();\r\n \t\t\t\t// remove \"java:\" prefix\r\n \t\t\t\tint begind = jndiName.indexOf(':');\r\n \t\t\t\tString javaJNDIName = jndiName.substring(begind + 1);\r\n \t\t\t\tlogger.debug(\"=================== JNDI name to unregister: \"\r\n \t\t\t\t\t\t+ javaJNDIName + \" ====================\");\r\n \t\t\t\tSleeContainer.unregisterWithJndi(javaJNDIName);\r\n \t\t\t\tlogger\r\n \t\t\t\t\t\t.debug(\"====================== JNDI name unregistered.==========================\");\r\n \t\t\t}\r\n \r\n \t\t\tif (this.resourceEntryPoint != null) {\r\n \t\t\t\t// parse the string =\r\n \t\t\t\tString jndiName = resourceEntryPoint.getJndiName();\r\n \t\t\t\t// remove \"java:\" prefix\r\n \t\t\t\tint begind = jndiName.indexOf(':');\r\n \t\t\t\tString javaJNDIName = jndiName.substring(begind + 1);\r\n \t\t\t\tlogger.debug(\"=================== JNDI name to unregister: \"\r\n \t\t\t\t\t\t+ javaJNDIName + \" ====================\");\r\n \t\t\t\tSleeContainer.unregisterWithJndi(javaJNDIName);\r\n \t\t\t\tlogger\r\n \t\t\t\t\t\t.debug(\"====================== JNDI name unregistered.==========================\");\r\n \t\t\t}\r\n \r\n \t\t} catch (IndexOutOfBoundsException e) {\r\n \t\t\tlogger.warn(e.getMessage(), e);\r\n \t\t}\r\n \t}",
"public void close() throws SQLException {\n/* 272 */ this.metadata = null;\n/* 273 */ this.owner = null;\n/* */ }",
"@Override\n public void contextDestroyed(ServletContextEvent sce) {\n try { connection.close(); } catch(SQLException e) {}\n }",
"public void closeConnection() {\r\n if (getConnection() != null && StringUtil.isNotBlank(config.getDataSource())\r\n /*&& this.conn.getConnection() instanceof PooledConnection */) {\r\n LOG.ok(\"Close the pooled connection\");\r\n dispose();\r\n }\r\n }",
"protected void close() {\n\t\tthis.connection.close();\n\t\tthis.connection = null;\n\t}",
"public static void close()\n\t{\n\t\t\n\t\ttry \n\t\t{\t\t\t\n\t\t\t\n\t\t\tif (RESULT_SET != null)\n\t\t\t{\n\t\t\t\tRESULT_SET.close();\n\t\t\t}\n\t\t\t\n\t\t\tSTATEMENT.close();\n\t\t\tCONNECTION.close();\t\t\n\t\t\n\t\t} catch (Exception e)\n\t\t{\t\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void close(){\n\t\tif(tr != null && tr.inTransaction()){\n\t\t\ttr.rollback();\n\t\t}\n\t\ttry{\n\t\t\tif(db != null)\n\t\t\t\tdb.close();\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\r\n\tpublic void destroy() {\r\n\t\tsuper.destroy();\r\n\t\ttry {\r\n\t\t\tspringContext.close();\r\n\t\t} catch (Exception e) {\r\n\t\t\tlogger.warn(e);\r\n\t\t}\r\n\t}",
"public void doClose() {\n mVehicleTypeDao.closeAll();\n // mAccidentNoteDao.closeAll();\n // mInvolvedPartyDao.closeAll();\n // mDeviceUserDao.closeAll();\n // mInsurancePolicyPDao.closeAll();\n //mInvolvedVehicleDao.closeAll();\n //mAccidentIdDao.closeAll();\n mPersistenceObjDao.closeAll();\n //mPremiumAdvertiserDao.closeAll();\n //mInsurancePolicyDao.closeAll();\n //mDeviceVehicleDao.closeAll();\n //mVehicleManifestDao.closeAll();\n mDeviceUserDao.closeAll();\n }",
"@Override\n\tpublic void contextDestroyed(ServletContextEvent arg0) {\n\t\tConnectionDB.destroy();\n\t}",
"protected void cleanup(Context context\n\t ) throws IOException, InterruptedException {\n\t // NOTHING\n\t }",
"public void close() {\n if (cleanup != null) {\n cleanup.disable();\n }\n if (isOpen()) {\n forceClose();\n }\n }",
"public synchronized void close() throws SQLException {\n/* 204 */ if (this.physicalConn != null) {\n/* 205 */ this.physicalConn.close();\n/* */ \n/* 207 */ this.physicalConn = null;\n/* */ } \n/* */ \n/* 210 */ if (this.connectionEventListeners != null) {\n/* 211 */ this.connectionEventListeners.clear();\n/* */ \n/* 213 */ this.connectionEventListeners = null;\n/* */ } \n/* */ }",
"public void destroy() throws ResourceException {\n if (destroyed)\n return;\n\n logger.fine(\" 9.- (\" + myId + \") ManagedConnection::destroy called\");\n destroyed = true;\n\n testCounter--;\n\n invalidateJavaMailConnections();\n\n try {\n store.closeStore();\n } catch (Exception e) {\n logger.warning(\"ManagedConnectionImpl::destroy threw exception: \"\n + e);\n throw new ResourceException(e.getMessage());\n }\n\n }",
"public synchronized void terminate() throws SQLException{\n\t\tshutdown = true;\n\t\t\n\t\tIterator<Connection> iter = allConnections.iterator();\n\t\t\n\t\twhile ( iter.hasNext() ){\n\t\t\tConnection conn = iter.next();\n\t\t\tconn.close();\n\t\t\tidlePool.remove(conn);\n\t\t\titer.remove();\n\t\t}\n\t}",
"void close() throws CatalogException;",
"@Override\n\tpublic void closeDB() {\n\t\tcommonDao.closeDB();\n\t}",
"private void closeDatabase() {\r\n try {\r\n if ( connect != null ) {\r\n connect.close();\r\n }\r\n } catch ( Exception e ) {\r\n System.err.println( \"ERROR: Could not close database connection, \" + e.getMessage() );\r\n } finally {\r\n connect = null;\r\n }\r\n }",
"public void safeClose(){\r\n\t\tthis.isRun = false;\r\n\t}",
"public LeaveAuthenticationDaoCSP()\n\n\t{\n\n\t\ttry\n\t\t{\n\t\t\t//////System.out.println(\"LeaveAuthenticationDaoCSP::ConnectionPool----->>>>Before Open --->>>>Test\");\n\n\t\t\tcon=connectionUtils.getDBConnection();\n\t\t\t//////System.out.println(\"LeaveAuthenticationDaoCSP::ConnectionPool----->>>>After Open --->>>>Test\");\n\n\t\t}catch(Exception ex)\n\t\t{\n\t\t\tlog.error(util_stacktrace.sendingErrorAsString(ex));\n\t\t}\n\n\n\t}",
"private void closeInstance(){\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\tconn.getConnection().close();\n\t\t\t\n\t\t\tstmt = null;\n\t\t\trs = null;\n\t\t\t\n\t\t}catch(Exception ex){\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t\n\t}",
"private void closeConnection() { // TEMPORARILY PUBLIC\n if (db != null) {\n db.close();\n }\n }",
"public final void dispose() {\n\ttry { if (resultSet != null) resultSet.close(); }\n\tcatch(SQLException e) { e.printStackTrace(); }\n\tresultSet = null;\n\n\ttry { if (stmt != null) stmt.close(); }\n\tcatch(SQLException e) { e.printStackTrace(); }\n\tstmt = null;\n }",
"public void close() {\n // Don't close anything, leave the GeoPackage connection open\n }",
"@Override\n public void close() {\n if (!this.isClosed) preClose();\n\n ExecutorService customThreadPool =\n ExecutorUtil.newMDCAwareCachedThreadPool(new SolrNamedThreadFactory(\"closeThreadPool\"));\n\n customThreadPool.submit(() -> IOUtils.closeQuietly(overseerElector.getContext()));\n\n customThreadPool.submit(() -> IOUtils.closeQuietly(overseer));\n\n try {\n customThreadPool.submit(\n () -> {\n Collection<ElectionContext> values = electionContexts.values();\n synchronized (electionContexts) {\n values.forEach(IOUtils::closeQuietly);\n }\n });\n\n } finally {\n\n sysPropsCacher.close();\n customThreadPool.submit(() -> IOUtils.closeQuietly(cloudSolrClient));\n customThreadPool.submit(() -> IOUtils.closeQuietly(cloudManager));\n\n try {\n try {\n zkStateReader.close();\n } catch (Exception e) {\n log.error(\"Error closing zkStateReader\", e);\n }\n } finally {\n try {\n zkClient.close();\n } catch (Exception e) {\n log.error(\"Error closing zkClient\", e);\n } finally {\n\n // just in case the OverseerElectionContext managed to start another Overseer\n IOUtils.closeQuietly(overseer);\n\n ExecutorUtil.shutdownAndAwaitTermination(customThreadPool);\n }\n }\n }\n assert ObjectReleaseTracker.release(this);\n }",
"static void closeCurrentTransactionManager() {\n ExecutorDataMap.getDataMap().put(TRANSACTION, null);\n ExecutorDataMap.getDataMap().put(TRANSACTION_CONFIG, null);\n }",
"private void closeConnection()\n\t{\n\t\tif(result != null)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tresult.close();\n\t\t\t\tresult = null;\n\t\t\t}\n\t\t\tcatch(Exception ignore){}\n\t\t}\n\t\tif(con != null)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tcon.close();\n\t\t\t\tcon = null;\n\t\t\t}\n\t\t\tcatch(Exception ignore){}\n\t\t}\n\t}",
"@Override\n public void close() {\n dbOptions.close();\n columnFamilyOptions.close();\n }",
"@Override\n public void contextDestroyed(ServletContextEvent event) {\n closeWebApplicationContext(event.getServletContext());\n ContextCleanupListener.cleanupAttributes(event.getServletContext());\n }",
"void stopLdapService() {\n ldapServer.stop();\n workDir.delete();\n }",
"void dispose(Long id) throws RemoteException;",
"public void close() {\n connection.close();\n running = false;\n }",
"public void close() {\n try{\n if (mRLS != null)\n mRLS.Close();\n }\n catch(RLSException e){\n //ignore\n }\n finally{\n mRLS = null;\n }\n }",
"public void close() {\n if (connection == null) {\n LOGGER.error(\"DB : Uninitialized DB Connection.\");\n return;\n }\n\n try {\n if (connection.isClosed()) {\n LOGGER.warn(\"Connection is already closed.\");\n return;\n }\n connection.close();\n } catch (SQLException e) {\n LOGGER.error(\"Error closing the connection.\", e);\n }\n\n }"
] |
[
"0.6634533",
"0.6486541",
"0.6444317",
"0.6356938",
"0.63557446",
"0.6025639",
"0.58199555",
"0.5793011",
"0.56131285",
"0.55713946",
"0.55179024",
"0.5453176",
"0.5445203",
"0.5440835",
"0.5425961",
"0.54182506",
"0.54182297",
"0.540901",
"0.5406293",
"0.5406293",
"0.5403528",
"0.54018694",
"0.53962296",
"0.5386587",
"0.53389484",
"0.5333259",
"0.5320968",
"0.53144383",
"0.53008306",
"0.5300207",
"0.5296568",
"0.52965015",
"0.529208",
"0.5291207",
"0.528",
"0.52760327",
"0.52726656",
"0.5268059",
"0.5262723",
"0.52582806",
"0.5255896",
"0.52530915",
"0.52435845",
"0.52398384",
"0.5221439",
"0.521134",
"0.5205532",
"0.5203884",
"0.520081",
"0.51810336",
"0.5177991",
"0.51752245",
"0.51581246",
"0.51502836",
"0.5149354",
"0.5145702",
"0.51357853",
"0.51347023",
"0.51330936",
"0.51289976",
"0.5122044",
"0.51211655",
"0.5116754",
"0.5113467",
"0.5101913",
"0.51003075",
"0.5092925",
"0.5087192",
"0.50864804",
"0.5075613",
"0.5075077",
"0.5019055",
"0.501861",
"0.5018097",
"0.5017842",
"0.5007548",
"0.49984872",
"0.49962324",
"0.49810356",
"0.4976746",
"0.4968479",
"0.49640357",
"0.49622482",
"0.49550107",
"0.49544132",
"0.49501488",
"0.49488565",
"0.49476558",
"0.49457747",
"0.49454707",
"0.49426278",
"0.49396566",
"0.49388203",
"0.49365616",
"0.49200606",
"0.49185663",
"0.491831",
"0.49177203",
"0.49168795",
"0.49126506",
"0.49067035"
] |
0.0
|
-1
|
close here by closing the copy of the ldap context (if it was initialized, which is only true if execute() was previously called) calling close on already closed context is safe per javax.naming.Context javadoc so we won't worry about this also happening in our close method
|
public void close() {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private static void closeContext( Context ctx )\n throws PSException\n {\n if ( ctx != null )\n {\n try\n {\n ctx.close();\n } catch ( NamingException e )\n {\n throw new PSException( CommonExceptionConstants.GENERAL_NAMING_CODE, \"Unable to close Initial Context: \" + e.getMessage() );\n }\n }\n }",
"public void close() {\n if (adminPool != null) {\n try {\n adminPool.close();\n } catch (Exception e) {\n log.warn(\"Error while closing LDAP connection pool\", e);\n }\n adminPool = null;\n }\n if (userPool != null) {\n try {\n userPool.close();\n } catch (Exception e) {\n log.warn(\"Error while closing LDAP connection pool\", e);\n }\n userPool = null;\n }\n }",
"public void close() {\n if (stmt == null) {\n return;\n }\n\n try {\n commit();\n } catch (HandledException ex) {\n Exceptions.ignore(ex);\n }\n\n safeClose();\n context.unregister(this);\n }",
"protected void finalize() throws Throwable {\n\t\tif (context != null) {\n\t\t\ttry {\n\t\t\t\tcontext.close();\n\t\t\t} catch (NamingException e) {\n\t\t\t\t// this is okay\n\t\t\t}\n\t\t}\n\t\tsuper.finalize();\n\t}",
"@Override\n\tprotected void finalize() throws Throwable {\n\t\tctx.close();\n\t\tctx=null;\n\t\tsuper.finalize();\n\t}",
"private void close() {\n\t\t\tDB.close(m_rs, m_pstmt);\n\t\t\tm_rs = null;\n\t\t\tm_pstmt = null;\n\t\t}",
"@Override\n\tprotected void doClose() throws Exception {\n\t\tinitialized = false;\n\t\tJdbcUtils.closeResultSet(this.rs);\n\t\trs = null;\n\t\tcleanupOnClose();\n\n\t\tif(this.con != null) {\n\t\t\tthis.con.setAutoCommit(this.initialConnectionAutoCommit);\n\t\t}\n\n\t\tif (useSharedExtendedConnection && dataSource instanceof ExtendedConnectionDataSourceProxy) {\n\t\t\t((ExtendedConnectionDataSourceProxy)dataSource).stopCloseSuppression(this.con);\n\t\t\tif (!TransactionSynchronizationManager.isActualTransactionActive()) {\n\t\t\t\tDataSourceUtils.releaseConnection(con, dataSource);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tJdbcUtils.closeConnection(this.con);\n\t\t}\n\t}",
"public void close() {\n appContext.close();\n }",
"public void close()\n {\n if (_forbidClose)\n throw new IllegalStateException(\"illegal to call close() for this DBPool\");\n forceClose();\n }",
"private ContextKey closeExistingElectionContext(CoreDescriptor cd) {\n String collection = cd.getCloudDescriptor().getCollectionName();\n final String coreNodeName = cd.getCloudDescriptor().getCoreNodeName();\n\n ContextKey contextKey = new ContextKey(collection, coreNodeName);\n ElectionContext prevContext = electionContexts.get(contextKey);\n\n if (prevContext != null) {\n prevContext.close();\n electionContexts.remove(contextKey);\n }\n\n return contextKey;\n }",
"public void close() {\n\t\tif (this.session instanceof DatabaseSession) {\n\t\t\t((DatabaseSession) this.session).logout();\n\t\t}\n\t\tthis.session.release();\n\t}",
"@Override\n\tpublic void close() {\n\t\tsuper.close();\n\t\tlockRuntimeDao = null;\n\t\tplaceRuntimeDao = null;\n\t\tlocatorRuntimeDao = null;\n\t}",
"@Override\r\n\t\tpublic void finalize() {\r\n\t try {\r\n\t if (con != null) {\r\n\t con.close();\r\n\t }\r\n\t } catch (SQLException sqlex) {\r\n\t System.out.println(sqlex);\r\n\t }\r\n\t }",
"protected void close() {\n if (conn == null)\n return;\n // Close our prepared statements (if any) \n try {\n ps.close();\n } catch (Throwable f) {\n ExceptionUtils.handleThrowable(f);\n }\n this.ps = null;\n // Close this database connection, and log any errors \n try {\n conn.close();\n } catch (SQLException e) {\n container.getLogger().error(sm.getString(\"jdbcAccessLogValeve.close\"), e);\n } finally {\n this.conn = null;\n }\n}",
"public static void closeDatabase() {\n\t\ttry {\n\t\t\tif (status == OPEN_SUCCESS) {\n\t\t\t\tif (stmt != null)\n\t\t\t\t\tstmt.close();\n\t\t\t\tif (c != null)\n\t\t\t\t\tc.close();\n\t\t\t\tlogger.info(\"Closed database successfully\");\n\t\t\t} else {\n\t\t\t\tlogger.warn(\"Can not close: previous operation failed.\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tstatus = OPEN_FAILED;\n\t\t\tlogger.warn(e.getClass().getName() + \": \" + e.getMessage());\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"public void close() {\n\n\t\tdebug();\n\n\t\tif (isDebug == true) {\n\t\t\tlog.debug(\"=== CLOSE === \");\n\t\t}\n\n\t\ttry {\n\n\t\t\tif (connection != null) {\n\n\t\t\t\tlog.debug(\"Antes Connection Close\");\n\t\t\t\tconnection.close();\n\t\t\t\tlog.debug(\"Pos Connection Close\");\n\t\t\t}\n\n\t\t\tif (m_dbConn != null) {\n\t\t\t\tm_dbConn.close();\n\t\t\t}\n\n\t\t\tif (isDebug == true) {\n\t\t\t\tlog.debug(\"Connection Close\");\n\n\t\t\t}\n\n\t\t} catch (SQLException e) {\n\t\t\tlog.debug(\"ERRO Connection Close\");\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tconnection = null;\n\t\tm_dbConn = null;\n\n\t}",
"@Override\r\n @SuppressWarnings(\"empty-statement\")\r\n public void close()\r\n {\r\n curDb_ = null;\r\n curConnection_ = null;\r\n try\r\n {\r\n for(Map.Entry<Db_db, Connection> entry: connections_.entrySet())\r\n {\r\n entry.getValue().close();\r\n }\r\n }catch(Exception e){};\r\n \r\n connections_.clear();\r\n }",
"void closeInternal() throws SQLException {\n\n if (result != null) {\n try {\n result.close();\n if (closeStatement && stat != null) {\n stat.close();\n }\n }\n finally {\n columnCount = 0;\n result = null;\n stat = null;\n conn = null;\n insertRow = null;\n updateRow = null;\n }\n }\n }",
"public static void close()\n\t{\n\t\t\n\t\ttry \n\t\t{\t\t\t\n\t\t\t\n\t\t\tif (RESULT_SET != null)\n\t\t\t{\n\t\t\t\tRESULT_SET.close();\n\t\t\t}\n\t\t\t\n\t\t\tSTATEMENT.close();\n\t\t\tCONNECTION.close();\t\t\n\t\t\n\t\t} catch (Exception e)\n\t\t{\t\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\n\tprotected void finalize() throws Throwable {\n\t\ttry {\n\t\t\tif (this.pMapSubjects != null) {\n\t\t\t\tthis.pMapSubjects.close();\n\t\t\t}\n\t\t\tif (this.mapDB != null && !this.mapDB.isClosed()) {\n\t\t\t\tthis.mapDB.close();\n\t\t\t}\n\t\t} catch (Throwable ex) {\n\t\t\tlogger.warn(\"Persistent HashMap or backing database could not be closed\", ex);\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tsuper.finalize();\n\t\t\t} catch (Throwable ex) {\n\t\t\t\tlogger.warn(\"Persistent HashMap or backing database could not be closed\", ex);\n\t\t\t}\n\t\t}\n\t}",
"@Override\r\n\tpublic void close(MessageContext messageContext) {\r\n\t\t// nothing to clean up\r\n\t}",
"@Override\n\tpublic void close(MessageContext messageContext) {\n\t\t// nothing to clean up\n\t}",
"public void close() throws NamingException {\n }",
"protected void finalize() {\n close();\n }",
"public void close() {\n wrapped.close();\n }",
"@Override\n\tpublic void finalize() {\n\t\tcontext.unbindService(CONNECTION);\n\t}",
"@Override\n public void close() {\n dbOptions.close();\n columnFamilyOptions.close();\n }",
"@Override\n public void finalize() throws Throwable {\n this.close();\n super.finalize();\n }",
"public void close() {\n\t\t\tdb.close();\n\t\t}",
"@Override\r\n\tprotected void finalize() throws Throwable {\n\t\tclose();\r\n\t\tsuper.finalize();\r\n\t}",
"@Override\n\tpublic void closeDB() {\n\t\tcommonDao.closeDB();\n\t}",
"@Override\n\tprotected void finalize() throws Throwable {\n\t\t\n\t\tif (this.connection != null) {\n\t\t\tthis.connection.close();\t\t\n\t\t}\n\t\tsuper.finalize();\n\t}",
"public void close(){\n\t\tif(tr != null && tr.inTransaction()){\n\t\t\ttr.rollback();\n\t\t}\n\t\ttry{\n\t\t\tif(db != null)\n\t\t\t\tdb.close();\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"protected void finalize() {\n\t\tclose();\n\t}",
"@Override\n\t\tpublic void close() {\n\t\t\t\n\t\t}",
"public void close() {\n \t\tdb.close();\n \t}",
"private void closeDirtyConnection() {\n\t\ttry {\n\t\t\tif (dirtyConnection != null) {\n\t\t\t\tdirtyConnection.close();\n\t\t\t}\n\t\t} catch (DatabaseException e) {\n\t\t} finally {\n\t\t\tdirtyConnection = null;\n\t\t}\n\t}",
"public void finalize() throws Throwable {\n close();\n }",
"@Override\n public void close() {\n closeDB();\n }",
"@Override\n\tprotected void finalize() throws Throwable {\n\t\tclose();\n\t\tsuper.finalize();\n\t}",
"protected void closeLocal() { }",
"@Override protected void finalize() {\r\n if (connection != null)\r\n throw new ORM8RuntimeException(\"DbConnection not closed for \" + connectionString);\r\n }",
"@Override\r\n\tpublic void contextDestroyed(ServletContextEvent m_event) {\n\t\tDataBaseConn.closeConn();\r\n\t\tArkService.getInstance().stop();\r\n\t\t//DataBaseConn.closeConn();\r\n\t}",
"@Override\r\n\tpublic void close() throws SQLException {\n\t\tsuper.getNested().close();\r\n\t}",
"@Override\r\n\tpublic void closeOnCompletion() throws SQLException {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void closeOnCompletion() throws SQLException {\n\t\t\r\n\t}",
"private void closeConnection() { // TEMPORARILY PUBLIC\n if (db != null) {\n db.close();\n }\n }",
"@Override\n\tpublic void closeOnCompletion() throws SQLException {\n\t\t\n\t}",
"public void close() {\r\n\t\ttry {\r\n\t\t\trs.close();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tst.close();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tconn.close();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"protected void finalize(){\n \ttry {\n\t\t\tdatabase.doDisconnect();\n\t\t} catch (SQLException e) {\n\t\t}\n }",
"protected void finalize() throws Throwable {\n if (selectStatement != null) try {\n selectStatement.close();\n } catch (Exception e) {}\n if (insertStatement != null) try {\n insertStatement.close();\n } catch (Exception e) {}\n if (updateStatement != null) try {\n updateStatement.close();\n } catch (Exception e) {}\n super.finalize();\n }",
"void close()\n {\n DisconnectInfo disconnectInfo = connection.getDisconnectInfo();\n if (disconnectInfo == null)\n {\n disconnectInfo = connection.setDisconnectInfo(\n new DisconnectInfo(connection, DisconnectType.UNKNOWN, null, null));\n }\n\n // Determine if this connection was closed by a finalizer.\n final boolean closedByFinalizer =\n ((disconnectInfo.getType() == DisconnectType.CLOSED_BY_FINALIZER) &&\n socket.isConnected());\n\n\n // Make sure that the connection reader is no longer running.\n try\n {\n connectionReader.close(false);\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n outputStream.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n socket.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n if (saslClient != null)\n {\n try\n {\n saslClient.dispose();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n finally\n {\n saslClient = null;\n }\n }\n\n debugDisconnect(host, port, connection, disconnectInfo.getType(),\n disconnectInfo.getMessage(), disconnectInfo.getCause());\n if (closedByFinalizer && debugEnabled(DebugType.LDAP))\n {\n debug(Level.WARNING, DebugType.LDAP,\n \"Connection closed by LDAP SDK finalizer: \" + toString());\n }\n disconnectInfo.notifyDisconnectHandler();\n }",
"@Override\r\n\tpublic void closeOnCompletion() throws SQLException {\n\r\n\t}",
"public void close() {\n if (db.isOpen()) {\n db.close();\n }\n }",
"public void close() {\n\t\tcloseConnection();\n\t\tcloseStatement();\n\t\tcloseResultSet();\n\t}",
"public synchronized void close() throws SQLException {\n\t\tif (isClosedInternal()) {\n\t\t\t// already close\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tboolean isUnderlyingConnectionClosed;\n\t\t\n\t\ttry {\n\t\t\tisUnderlyingConnectionClosed = this.getDelegateInternal().isClosed();\n\t\t} catch (SQLException e) {\n\t\t\ttry {\n\t\t\t\tpool.invalidateObject(this); // remove from pool\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception ie) {\n\t\t\t\t// DO NOTHING, exception will be thrown\n\t\t\t}\n\t\t\tthrow new SQLException(\"Cannot close connection (isClosed throw exception\", e);\n\t\t}\n\t\t\n\t\tif (isUnderlyingConnectionClosed) {\n\t\t\t// Abnormal close: underlying connection close unexpectedly\n\t\t\t// must destroy this proxy\n\t\t\ttry {\n\t\t\t\tthis.pool.invalidateObject(this);\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new SQLException(\"Cannot close connection (invalidate object failed)\", e);\n\t\t\t}\n\t\t} else {\n\t\t\t// Normal close: return proxy to pool\n\t\t\ttry {\n\t\t\t\tthis.pool.returnObject(this);\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new SQLException(\"Cannot close connection (return to pool failed)\", e);\n\t\t\t}\n\t\t}\n\t}",
"private void close() {\n/* */ try {\n/* 253 */ if (this.dataReader != null) {\n/* 254 */ this.dataReader.close();\n/* 255 */ this.dataReader = null;\n/* */ } \n/* 257 */ } catch (SQLException e) {\n/* 258 */ logger.log(Level.SEVERE, (String)null, e);\n/* */ } \n/* */ try {\n/* 261 */ if (this.pstmt != null) {\n/* 262 */ this.pstmt.close();\n/* 263 */ this.pstmt = null;\n/* */ } \n/* 265 */ } catch (SQLException e) {\n/* 266 */ logger.log(Level.SEVERE, (String)null, e);\n/* */ } \n/* */ }",
"@Override\n\tpublic final void close() throws SailException {\n\t\tconnectionLock.writeLock().lock();\n\n\t\ttry {\n\t\t\tif (isOpen) {\n\t\t\t\ttry {\n\t\t\t\t\tforceCloseActiveOperations();\n\n\t\t\t\t\tif (txnActive) {\n\t\t\t\t\t\tlogger.warn(\"Rolling back transaction due to connection close\",\n\t\t\t\t\t\t\t\tdebugEnabled ? new Throwable() : null);\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t// Use internal method to avoid deadlock: the public\n\t\t\t\t\t\t\t// rollback method will try to obtain a connection lock\n\t\t\t\t\t\t\trollbackInternal();\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\ttxnActive = false;\n\t\t\t\t\t\t\ttxnPrepared = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tcloseInternal();\n\t\t\t\t} finally {\n\t\t\t\t\tisOpen = false;\n\t\t\t\t\tsailBase.connectionClosed(this);\n\t\t\t\t}\n\t\t\t}\n\t\t} finally {\n\t\t\t// Release the exclusive lock. Any threads waiting to obtain a\n\t\t\t// non-exclusive read lock will get one and then fail with an\n\t\t\t// IllegalStateException, because the connection is no longer open.\n\t\t\tconnectionLock.writeLock().unlock();\n\t\t}\n\t}",
"public synchronized void close() {\n\n mOpenCounter--;\n\n if(mOpenCounter == 0) {\n // Closing database\n mDatabase.close();\n }\n }",
"@Override\n public void close() {\n }",
"@Override\n public void close() {\n }",
"public void ExitConection(){\n try {\n resultSet.close();\n preparedStatement.close();\n conection.close();\n } catch (Exception e) {\n// MessageEmergent(\"Fail ExitConection(): \"+e.getMessage());\n }\n }",
"public void close() {\n\t\t_taxonomyConnection.close();\n\t}",
"public void closeConnection() {\r\n if (getConnection() != null && StringUtil.isNotBlank(config.getDataSource())\r\n /*&& this.conn.getConnection() instanceof PooledConnection */) {\r\n LOG.ok(\"Close the pooled connection\");\r\n dispose();\r\n }\r\n }",
"private void closeCursor() {\n if (cursor != null) {\n cursor.close();\n }\n if (refreshedCursor != null) {\n refreshedCursor.close();\n }\n }",
"public void finalize() throws Throwable {\n close();\n super.finalize();\n }",
"private void close() {\n\t\t try {\n\t\t\tresultSet.close();\n\t\t\tstatement.close();\n\t\t\t connect.close();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t \n\t }",
"public void close() {\n\t\tdbHelper.close();\n\t}",
"synchronized void close() {\n\n closeAllSessions();\n sysSession.close();\n sysLobSession.close();\n }",
"@Override\n public void contextDestroyed(ServletContextEvent sce) {\n try { connection.close(); } catch(SQLException e) {}\n }",
"protected void finalize() throws Throwable {\n super.finalize();\n close();\n }",
"public synchronized void close() {}",
"private void closeInstance(){\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\tconn.getConnection().close();\n\t\t\t\n\t\t\tstmt = null;\n\t\t\trs = null;\n\t\t\t\n\t\t}catch(Exception ex){\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t\n\t}",
"protected void close() {\n\t\tthis.connection.close();\n\t\tthis.connection = null;\n\t}",
"@Override\n public void close()\n {\n GitUtil.release(treeWalk);\n }",
"public void close() {\n\t\t}",
"public void close() {\n // Don't close anything, leave the GeoPackage connection open\n }",
"@Override\n public void close() {\n if (!this.isClosed) preClose();\n\n ExecutorService customThreadPool =\n ExecutorUtil.newMDCAwareCachedThreadPool(new SolrNamedThreadFactory(\"closeThreadPool\"));\n\n customThreadPool.submit(() -> IOUtils.closeQuietly(overseerElector.getContext()));\n\n customThreadPool.submit(() -> IOUtils.closeQuietly(overseer));\n\n try {\n customThreadPool.submit(\n () -> {\n Collection<ElectionContext> values = electionContexts.values();\n synchronized (electionContexts) {\n values.forEach(IOUtils::closeQuietly);\n }\n });\n\n } finally {\n\n sysPropsCacher.close();\n customThreadPool.submit(() -> IOUtils.closeQuietly(cloudSolrClient));\n customThreadPool.submit(() -> IOUtils.closeQuietly(cloudManager));\n\n try {\n try {\n zkStateReader.close();\n } catch (Exception e) {\n log.error(\"Error closing zkStateReader\", e);\n }\n } finally {\n try {\n zkClient.close();\n } catch (Exception e) {\n log.error(\"Error closing zkClient\", e);\n } finally {\n\n // just in case the OverseerElectionContext managed to start another Overseer\n IOUtils.closeQuietly(overseer);\n\n ExecutorUtil.shutdownAndAwaitTermination(customThreadPool);\n }\n }\n }\n assert ObjectReleaseTracker.release(this);\n }",
"public void close()\r\n {\r\n DBHelper.close();\r\n }",
"public void close() {\n\n try {\n try {\n try {\n if (exception == null) {\n flushSessions();\n }\n\n } catch (Throwable exception) {\n exception(exception);\n } finally {\n\n try {\n if (exception == null) {\n transactionContext.commit();\n }\n } catch (Throwable exception) {\n exception(exception);\n }\n transactionContext.rollback();\n }\n } catch (Throwable exception) {\n exception(exception);\n } finally {\n closeSessions();\n\n }\n } catch (Throwable exception) {\n exception(exception);\n } \n\n // rethrow the original exception if there was one\n if (exception != null) {\n if (exception instanceof Error) {\n throw (Error) exception;\n } else if (exception instanceof RuntimeException) {\n throw (RuntimeException) exception;\n }\n }\n }",
"public void close(){\n\t\tif(dbReadable != null && dbReadable.isOpen()){\n\t\t\tdbReadable.close();\n\t\t\tdbReadable = null;\n\t\t}\n\t\t\n\t\tif(dbWritable != null && dbWritable.isOpen()){\n\t\t\tdbWritable.close();\n\t\t\tdbWritable = null;\n\t\t}\n\t}",
"public void close() {\n if (connection == null) {\n LOGGER.error(\"DB : Uninitialized DB Connection.\");\n return;\n }\n\n try {\n if (connection.isClosed()) {\n LOGGER.warn(\"Connection is already closed.\");\n return;\n }\n connection.close();\n } catch (SQLException e) {\n LOGGER.error(\"Error closing the connection.\", e);\n }\n\n }",
"public void close() {\n db.close();\n }",
"public void close() {\n db.close();\n }",
"protected void safeClose() {\n try {\n if (stmt != null) {\n stmt.close();\n }\n } catch (SQLException e) {\n Exceptions.handle()\n .to(OMA.LOG)\n .error(e)\n .withSystemErrorMessage(\"An error occurred while closing a prepared statement: %s (%s)\")\n .handle();\n } finally {\n stmt = null;\n }\n }",
"void close() throws CatalogException;",
"@Override public void close() throws SQLException {\n try {\n inner.close();\n }\n finally {\n m.finish();\n }\n }",
"public void destroy() throws ContextDestroyException;",
"@Override\n public void close() {\n }",
"@Override\r\n\tpublic synchronized void close() {\n\t\tsuper.close();\r\n\t}",
"private void fecharConexao() {\n\t\t\n\t\tmanager.close();\n\t\t\n\t}",
"@Override\n\tpublic void finalize() throws TrippiException {\n close();\n }",
"public void closeDB(Cursor cursor) throws SQLException {\n if (cursor != null) {\n cursor.close();\n }\n DB_OPEN_MODE = \"C\";\n }",
"public void doClose() {\n mVehicleTypeDao.closeAll();\n // mAccidentNoteDao.closeAll();\n // mInvolvedPartyDao.closeAll();\n // mDeviceUserDao.closeAll();\n // mInsurancePolicyPDao.closeAll();\n //mInvolvedVehicleDao.closeAll();\n //mAccidentIdDao.closeAll();\n mPersistenceObjDao.closeAll();\n //mPremiumAdvertiserDao.closeAll();\n //mInsurancePolicyDao.closeAll();\n //mDeviceVehicleDao.closeAll();\n //mVehicleManifestDao.closeAll();\n mDeviceUserDao.closeAll();\n }",
"public void close() {\n\t\t_dbHelper.close();\n\t}",
"public void close() throws SQLException {\n Exception foundExeption = null;\n for (PreparedStatement prep : prepHash.values()) {\n try {\n prep.close();\n } catch (Exception e) {\n foundExeption = e;\n }\n }\n // Close the connection\n try {\n conn.close();\n } catch (SQLException e) {\n throw new SQLException(\"Failed to close database: \" + e);\n }\n\n\n // we do this so we know we tried to close every connection\n // unfortunately we only recieve the final connection error\n if (foundExeption != null) {\n throw new SQLException(\"Failed to close database prepareStatement: \"\n + foundExeption);\n }\n }",
"public void close()\n\t{\n\t\ttry\n\t\t{\n\t\t\tthis.conexao.close();\n\t\t\tSystem.out.println(\"\\n\"+nomeDao+\" desconectado!\\n\");\n\t\t}\n\t\tcatch (SQLException e)\n\t\t{\n\t\t\tSystem.out.println(\"\\nNao ha conexao \"+nomeDao+\" a ser fechada!\\n\");\n\t\t}\n\t}",
"@Override\r\n\tpublic void close()\r\n\t{\n\t\t\r\n\t}",
"@Override\r\n\tpublic void close() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void close() {\n\t\t\r\n\t}",
"@Override\n public void close() {\n for (PipelineDataSourceWrapper each : cachedDataSources.values()) {\n try {\n each.close();\n } catch (final SQLException ex) {\n log.error(\"An exception occurred while closing the data source\", ex);\n }\n }\n cachedDataSources.clear();\n }"
] |
[
"0.67360955",
"0.663977",
"0.6486156",
"0.627219",
"0.6257386",
"0.5836214",
"0.5746273",
"0.5623302",
"0.56117904",
"0.56026834",
"0.5591601",
"0.5568408",
"0.5549493",
"0.55437744",
"0.55267876",
"0.5521093",
"0.5491098",
"0.54275924",
"0.5425425",
"0.54101145",
"0.53884715",
"0.5384952",
"0.5382155",
"0.5355405",
"0.53513235",
"0.5350648",
"0.53495073",
"0.53452045",
"0.5331962",
"0.5326454",
"0.53209347",
"0.5314098",
"0.5302438",
"0.52994835",
"0.5298882",
"0.5282617",
"0.5270158",
"0.526959",
"0.5265768",
"0.5264115",
"0.5241306",
"0.5240106",
"0.5239571",
"0.52378863",
"0.5226878",
"0.5226878",
"0.5226755",
"0.5214235",
"0.52040833",
"0.5203429",
"0.5199389",
"0.5183012",
"0.51769984",
"0.5176912",
"0.517157",
"0.5165457",
"0.5165114",
"0.51631117",
"0.5160448",
"0.5152992",
"0.5152992",
"0.5151875",
"0.51312643",
"0.51275516",
"0.51257265",
"0.512243",
"0.51222765",
"0.51198006",
"0.5115982",
"0.51102096",
"0.51061124",
"0.50994784",
"0.50938004",
"0.5089756",
"0.5081191",
"0.5078573",
"0.50720894",
"0.5071718",
"0.5068958",
"0.50664973",
"0.5063735",
"0.5059037",
"0.5058274",
"0.5058274",
"0.50568795",
"0.5055841",
"0.50557035",
"0.50537807",
"0.50525826",
"0.50413144",
"0.50382817",
"0.5028993",
"0.5028441",
"0.5025134",
"0.5022147",
"0.5014043",
"0.5011831",
"0.5000397",
"0.49995098",
"0.49995098",
"0.49975032"
] |
0.0
|
-1
|
Steps the clock of the signal
|
public void step() {
internaltime ++;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void clock(double period);",
"public void step(){\r\n\t\tcurrentTime++;\r\n\t\tfor (TimeObserver t : observers) {\r\n\t\t\tt.timeChanged(currentTime);\r\n\t\t}\r\n\t}",
"public void step(long now) {\n\t}",
"public void step(long t) {\n\n\t}",
"public void step() {\n\t\tw.step(timeStep, iterations);\r\n\t}",
"public void clockChange(int time);",
"public void step()\n {\n LCD.clear();\n sw.reset();\n for( int i = 0; i<3; i++)m[i].resetTachoCount();\n for( int i = 0; i<3; i++)m[i].forward();\n for(int r = 0 ; r<8; r++)\n {\n while(sw.elapsed() < 200* r)Thread.yield();\n for( int i = 0; i<3; i++)\n LCD.drawInt(m[i].getTachoCount(),5*i,r);\n }\n for( int i = 0; i<3; i++)m[i].stop();\n Button.waitForPress();\n }",
"public void step () {\r\n mySimulation.update((double) FRAMES_PER_SECOND / ONE_SECOND);\r\n // indirectly causes paint to be called\r\n repaint();\r\n }",
"public int step() {\n // Step CPU\n int cycleInc = cpu.step();\n cycles += cycleInc;\n\n timer.update(cycleInc, ram);\n\n // Update LCD\n // hack so that LCD never will have to care about speedSwitch (ugly or beautiful?).\n lcd.updateLCD(cycleInc);\n if ( videoReciever != null && lcd.newScreenAvailable() ) {\n \tvideoReciever.transmitVideo(lcd.getPixels());\n }\n return cycleInc;\n }",
"public void nextClockChange(int nextJump);",
"void incrementTick();",
"private void stepTiming() {\n\t\tdouble currTime = System.currentTimeMillis();\n\t\tstepCounter++;\n\t\t// if it's been a second, compute frames-per-second\n\t\tif (currTime - lastStepTime > 1000.0) {\n\t\t\tdouble fps = (double) stepCounter * 1000.0\n\t\t\t\t\t/ (currTime - lastStepTime);\n\t\t\t// System.err.println(\"FPS: \" + fps);\n\t\t\tstepCounter = 0;\n\t\t\tlastStepTime = currTime;\n\t\t}\n\t}",
"public void step(float time)\n {\n if(this.firstTick)\n {\n this.firstTick = false;\n this.elapsed = 0.0f;\n }\n else\n {\n this.elapsed += time;\n }\n\n float updateTime = (float)Math.min(1.0f, this.elapsed/this.duration);\n\n this.update(updateTime);\n }",
"public void step() {\n\t\tfor (SimObject o : simObjects) {\n\t\t\to.step(timeScale);\n\t\t}\n\n\t\t// increment time elasped\n\t\tdaysElapsed += ((double) (timeScale)) / 86400.0;\n\n\t\t// if more than 30.42 days have elapsed, increment months\n\t\tif (daysElapsed >= 30.42) {\n\t\t\tmonthsElapsed++;\n\t\t\tdaysElapsed -= 30.42;\n\t\t}\n\n\t\t// if more than 12 months have elapsed, increment years\n\t\tif (monthsElapsed >= 12) {\n\t\t\tyearsElapsed++;\n\t\t\tmonthsElapsed -= 12;\n\t\t}\n\t}",
"public void frameForward()\n{\n stop();\n setTime(getTime() + getInterval());\n}",
"public void step (double dt){ \r\n setValues();\r\n //Do Step \r\n int steps=(int)dt;\r\n for (int i=0;i<steps;i++)\r\n eval(commandUpdate); \r\n getValues(); \r\n }",
"public void setDelay(double clock);",
"public void tick() {\r\n tick++;\r\n }",
"void tick(long tickSinceStart);",
"private void step ()\n {\n // a car arrives approximately every four minutes\n int chance = randGen.nextInt(CarWashApplication.CHANCE_INT);\n if (chance == 0)\n {\n waitingLine.enqueue(new Car(currentTime));\n numCars++;\n\n /** For printed output of each step */\n //System.out.println(currentTime);\n //waitingLine.toPrint();\n }\n\n // process the waiting cars\n if (bay.isEmpty() && !waitingLine.isEmpty())\n {\n bay.startWash();\n Car car = (Car) waitingLine.dequeue();\n waitTimeArray[arrayIndex] = currentTime - (car.arrivalTime());\n arrayIndex++;\n }\n\n if (!bay.isEmpty())\n bay.keepWashing();\n\n currentTime++;\n }",
"@Override\n\tpublic void step() {\n\t\ty += speed;\n\t}",
"float getStepPhaseShiftIncrement();",
"private void startClock() {\r\n\t\tTimer timer = new Timer(500, new ActionListener() {\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent theEvent) {\r\n\t\t\t\tadvanceTime();\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n timer.setRepeats(true);\r\n timer.setCoalesce(true);\r\n timer.setInitialDelay(0);\r\n timer.start();\r\n\t}",
"public void tick(double dt) {\n }",
"public void go()\n {\n for( int i = 0; i<3; i++)m[i].setSpeed(720);\n step();\n for( int i = 0; i<3; i++)m[i].regulateSpeed(false);\n step();\n }",
"protected abstract void stepImpl( long stepMicros );",
"public void timePassed(double dt) {\r\n this.moveOneStep(dt);\r\n }",
"void start() \r\n {\r\n while (controller.clock <= controller.totalBurstTime) {\r\n this.clock();\r\n }\r\n }",
"public void timer()\n {\n timer += .1; \n }",
"public void timeTick()\r\n\t{\r\n\t\tnumberDisplay1.increment();\r\n\t}",
"public void tick(){\r\n if(timer != 0)\r\n timer++;\r\n }",
"public abstract void advance(double deltaTime);",
"public abstract void timeStep(char currCommand, World world);",
"public void tick() {\n\t\ttick(1);\n\t}",
"@Override\r\n public void timePassed(double dt) {\r\n\r\n }",
"@Override\r\n public void timePassed(double dt) {\r\n\r\n }",
"public void cycle() {\n ticks++;\n for (int i = 0; i < validDevices; i++)\n devices[i].onClockTick(ticks);\n }",
"private void advanceTime(){\n\t minute++;\n\t while (minute > 59) {\n\t minute -= 60;\n\t hour++;\n\t }\n\t while (hour > 23) {\n\t hour -= 24;\n\t day++;\n\t }\n\t while (day > 6) {\n\t day -= 7;\n\t }\n\n\t }",
"private void driveForwardTimer()\r\n\t{\r\n\t\tif(timer.get() < Config.Auto.timeDriveForward){\r\n\t\t\tdrive.setSpeed(0, 0, Config.Auto.driveForwardSpeed, Config.Auto.driveForwardSpeed);\r\n\t\t\tSystem.out.println(timer.get());}\r\n\t\t\r\n\t\telse\r\n\t\t{\r\n\t\t\tdrive.setSpeed(0, 0, 0, 0);\r\n\t\t\tautoStep++;\r\n\t\t}\r\n\t}",
"public void timePassed(double dt) {\n this.moveOneStep(dt);\n }",
"public synchronized void tick(){\r\n\t\ttime++;\r\n\t\tnotifyAll();\r\n\t}",
"public void timer() \r\n\t{\r\n\t\tSeconds.tick();\r\n\t \r\n\t if (Seconds.getValue() == 0) \r\n\t {\r\n\t \tMinutes.tick();\r\n\t \r\n\t \tif (Minutes.getValue() == 0)\r\n\t \t{\r\n\t \t\tHours.tick();\r\n\t \t\t\r\n\t \t\tif(Hours.getValue() == 0)\r\n\t \t\t{\r\n\t \t\t\tHours.tick();\r\n\t \t\t}\r\n\t \t}\r\n\t }\t\t\r\n\t \r\n\t updateTime();\r\n\t }",
"public void advanceSimulation () {\n\t\tstep_++;\n\t}",
"public void step();",
"public void step();",
"public abstract void setMovementPerTick(float step);",
"public void timePassed(double dt) {\r\n moveOneStep(dt);\r\n }",
"public void step() {\n\t\tpostEvent(new IpcEvent(SimulationEvents.EVENT_TYPE_STEP, this, null));\n\t}",
"public void step() {\r\n for(int i = 0;i<numberOfCars;i++) {\r\n xtemp[i] = x[i];\r\n }\r\n for(int i = 0;i<numberOfCars;i++) {\r\n if(v[i]<maximumVelocity) {\r\n v[i]++; // acceleration\r\n }\r\n int d = xtemp[(i+1)%numberOfCars]-xtemp[i]; // distance between cars\r\n if(d<=0) { // periodic boundary conditions, d = 0 correctly treats one car on road\r\n d += roadLength;\r\n }\r\n if(v[i]>=d) {\r\n v[i] = d-1; // slow down due to cars in front\r\n }\r\n if((v[i]>0)&&(Math.random()<p)) {\r\n v[i]--; // randomization\r\n }\r\n x[i] = (xtemp[i]+v[i])%roadLength;\r\n flow += v[i];\r\n }\r\n steps++;\r\n computeSpaceTimeDiagram();\r\n }",
"public synchronized void signalStep() {\n s = true;\n notifyAll();\n }",
"@Override\n\tprotected void sampleRateChanged()\n\t{\n\t\ttimeStepSize = 1/sampleRate();\n\t}",
"@Override\n\tprotected void sampleRateChanged()\n\t{\n\t\ttimeStepSize = 1/sampleRate();\n\t}",
"@Override\n public void startClock() {\n state = ClockState.RUNNING;\n /*\n * Used as scaling factor for workload and virtual machine power --> Need to\n * scale output as well\n */\n double scalingFactor = this.clockTicksTillWorkloadChange*this.intervalDurationInMilliSeconds;\n clockEventPublisher.fireStartSimulationEvent(0, intervalDurationInMilliSeconds, scalingFactor);\n\n while (clockTickCount <= experimentDurationInClockTicks) {\n fireEvents();\n clockTickCount++;\n\n }\n clockEventPublisher.fireFinishSimulationEvent(clockTickCount, intervalDurationInMilliSeconds);\n\n }",
"public void pauseUntilNextClock(){\n\t\tlong sleepTime = (long) (1000.0 / Settings.getSettings().getClockSpeed())\n\t\t\t\t- (System.currentTimeMillis() - this.mStartOfClock);\n\t\t\n\t\tif(sleepTime > 0){\n\t\t\ttry {\n\t\t\t\tThread.sleep(sleepTime);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}else{\n\t\t\tSystem.out.println(\"WARNING: System cannot keep up with simulator clock speed!\");\n\t\t\tSystem.out.println(\"WARNING: Reduce clock speed!\");\n\t\t\t}\n\t\t\n\t\tthis.mStartOfClock = System.currentTimeMillis();\n\t}",
"@Override\r\n\tpublic void doTimeStep() {\n\t\tdir = Critter.getRandomInt(8);\r\n\t\t\r\n\t\tnumSteps = Critter.getRandomInt(maxStep) + 1;\r\n\t\t\r\n\t\t//go a random number of steps in that direction\r\n\t\tfor(int i = 0; i < numSteps; i++) {\r\n\t\t\twalk(dir);\r\n\t\t}\t\t\r\n\t}",
"@Override\r\n\tpublic void step(SimState state) {\r\n\r\n\t}",
"public void tick()\r\n\t{\r\n\t\tduration = (int) (((Sys.getTime() - lastCall) * resolution) / Sys\r\n\t\t\t\t.getTimerResolution());\r\n\t\tlastCall = Sys.getTime();\r\n\t}",
"public void cycleOutput(long tick)\n {\n }",
"public void tick() {\r\n }",
"void tick();",
"void tick();",
"public void moveForward() {\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t // 2\n\t\tseconds += tic;\n\t\tif (seconds >= 60.0) {\n\t\t\tseconds -= 60.0;\n\t\t\tminutes++;\n\t\t\tif (minutes == 60) {\n\t\t\t\tminutes = 0;\n\t\t\t\thours++;\n\t\t\t}\n\t\t}\n\t}",
"public void next( long time );",
"public void turnCounterClockwise(double power){\n motorFrontLeft.setPower(power);\n motorBackLeft.setPower(power);\n motorFrontRight.setPower(-power);\n motorBackRight.setPower(-power);\n }",
"@Override\n\tpublic void step() {\n\t\tthis.y-= speed;\t\n\t}",
"public static void move()\n\t{\n\t\tswitch(step)\n\t\t{\n\t\t\tcase 0:\n\t\t\t\ttimer.start();\n\t\t\t\tstep = 1;\n\t\t\tbreak;\n\t\t\t// 1. Right wheels forward\n\t\t\tcase 1:\n\t\t\t\tif(timer.get() < time)\n\t\t\t\t{\n\t\t\t\t\tsetSpeed(0, .5);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\ttimer.reset();\n\t\t\t\t\tstep = 2;\n\t\t\t\t}\n\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\ttimer.start();\n\t\t\t\tstep = 3;\n\t\t\tbreak;\n\t\t\t// 2. Right wheels back\n\t\t\tcase 3:\n\t\t\t\tif(timer.get() < time)\n\t\t\t\t{\n\t\t\t\t\tsetSpeed(0, -.5);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\ttimer.reset();\n\t\t\t\t\tstep = 4;\n\t\t\t\t}\n\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\ttimer.start();\n\t\t\t\tstep = 5;\n\t\t\tbreak;\n\t\t\t// 3. Left wheels forward\n\t\t\tcase 5:\n\t\t\t\tif(timer.get() < time)\n\t\t\t\t{\n\t\t\t\t\tsetSpeed(.5, 0);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\ttimer.reset();\n\t\t\t\t\tstep = 6;\n\t\t\t\t}\n\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\ttimer.start();\n\t\t\t\tstep = 7;\n\t\t\tbreak;\n\t\t\t// 4. Left wheels back\n\t\t\tcase 7:\n\t\t\t\tif(timer.get() < time)\n\t\t\t\t{\n\t\t\t\t\tsetSpeed(-.5, 0);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\ttimer.reset();\n\t\t\t\t\tstep = 8;\n\t\t\t\t}\n\t\t\tbreak;\n\t\t\tcase 8:\n\t\t\t\ttimer.start();\n\t\t\t\tstep = 9;\n\t\t\tbreak;\n\t\t\t// 5. Intake pick up\n\t\t\tcase 9:\n\t\t\t\tif(timer.get() < time)\n\t\t\t\t{\n\t\t\t\t\tsetSpeed(0, 0);\n\t\t\t\t\tshoot(.5);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\ttimer.reset();\n\t\t\t\t\tstep = 10;\n\t\t\t\t}\n\t\t\tbreak;\n\t\t\tcase 10:\n\t\t\t\ttimer.start();\n\t\t\t\tstep = 11;\n\t\t\tbreak;\n\t\t\t// 6. Intake shoot\n\t\t\tcase 11:\n\t\t\t\tif(timer.get() < time)\n\t\t\t\t{\n\t\t\t\t\tsetSpeed(0, 0);\n\t\t\t\t\tpickUp(.5);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\ttimer.reset();\n\t\t\t\t\tstep = 12;\n\t\t\t\t}\n\t\t\tbreak;\n\t\t\t// Stop and reset everything\n\t\t\tcase 12:\n\t\t\t\tsetSpeed(0, 0);\n\t\t\t\tpickUp(0);\n\t\t\t\tshoot(0);\n\t\t\t\ttimer.reset();\n\t\t\tbreak;\n\t\t}\n\t}",
"void tick(long ticksSinceStart);",
"public void cycleDay() {\r\n player.gametick();\r\n }",
"public void tick();",
"public void tick();",
"public void tick();",
"@Override\n public void stepCount(long step, int timestamp) {\n }",
"@Override\r\n public void periodic() {\n }",
"public void updateModule (final double timestep);",
"public void tick() {\n\t}",
"public void tick() {\n\t}",
"void start() {\n \tm_e.step(); // 1, 3\n }",
"public void timer() throws InterruptedException {\n for (int i = sec; min >= -1; i--) {\n if (min == -1) {\n textField.setText(\"0:0\");\n freeze = true;\n break;\n }\n textField.setText(min + \":\" + i);\n if (i == 1) {\n min = min - 1;\n i = sec + 1;\n }\n Thread.sleep(1000);\n }\n }",
"public void timePassed() {\n this.moveOneStep();\n }",
"public void tick() {\n\t\tmFrameCount++;\n\t\t\n\t\tif (mStopwatch.getElapsedTime() > 1000) {\n\t\t\tmFramesPerSecond = mFrameCount;\n\t\t\tmFrameCount = 0;\n\t\t\t\n\t\t\tmStopwatch.restart();\n\t\t}\n\t}",
"public void timePassed(double dt) {\n\n }",
"public void timePassed(double dt) {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }"
] |
[
"0.73284006",
"0.7183606",
"0.70485395",
"0.6989928",
"0.6696054",
"0.6667475",
"0.6628557",
"0.65150535",
"0.6412082",
"0.6342541",
"0.63241297",
"0.6271567",
"0.62433183",
"0.6229187",
"0.6213505",
"0.6208973",
"0.62021774",
"0.618599",
"0.61504585",
"0.6143197",
"0.6138987",
"0.6111322",
"0.6102498",
"0.60991067",
"0.60856783",
"0.60350835",
"0.6031894",
"0.6020334",
"0.6010515",
"0.59866905",
"0.5980304",
"0.597334",
"0.597242",
"0.59677553",
"0.59506744",
"0.59506744",
"0.59490097",
"0.5940634",
"0.59237754",
"0.591928",
"0.5904958",
"0.5887744",
"0.58633554",
"0.5860948",
"0.5860948",
"0.5859486",
"0.5854788",
"0.5846987",
"0.582813",
"0.5823385",
"0.5822261",
"0.5822261",
"0.5821224",
"0.5816692",
"0.5801111",
"0.57810694",
"0.5776567",
"0.5771088",
"0.57559454",
"0.5753593",
"0.5753593",
"0.5749634",
"0.57451445",
"0.574218",
"0.573123",
"0.5716417",
"0.5709601",
"0.57058185",
"0.5693029",
"0.5693029",
"0.5693029",
"0.5686734",
"0.56852955",
"0.5684679",
"0.5678739",
"0.5678739",
"0.5674865",
"0.565791",
"0.5657669",
"0.5645457",
"0.56428325",
"0.56428325",
"0.56406355",
"0.56406355",
"0.56406355",
"0.56406355",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586",
"0.56370586"
] |
0.7158327
|
2
|
Creates a new park object
|
public Park(int parkId, String name, double latitude, double longitude, String washroom,
String neighName, String neighURL, String streetNumber, String streetName) {
this.parkId = parkId;
this.name = name;
this.latitude = latitude;
this.longitude = longitude;
this.washroom = washroom;
this.neighbourhoodName = neighName;
this.neighbourhoodurl = neighURL;
this.streetNumber = streetNumber;
this.streetName = streetName;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"Parking createParking();",
"public ParkingSpace() {}",
"public CarPark() {\r\n\t\tthis(Constants.DEFAULT_MAX_CAR_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_SMALL_CAR_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_MOTORCYCLE_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_QUEUE_SIZE);\r\n\r\n\t\t// Initialise the parking spots avaliable.\r\n\t\tmaxCarSpaces = Constants.DEFAULT_MAX_CAR_SPACES\r\n\t\t\t\t- Constants.DEFAULT_MAX_SMALL_CAR_SPACES;\r\n\t\tmaxSmallCarSpaces = Constants.DEFAULT_MAX_SMALL_CAR_SPACES;\r\n\t\tmaxMotorCycleSpaces = Constants.DEFAULT_MAX_MOTORCYCLE_SPACES;\r\n\t\tmaxQueueSize = Constants.DEFAULT_MAX_QUEUE_SIZE;\r\n\t\ttotalSpaces = maxCarSpaces + maxSmallCarSpaces + maxMotorCycleSpaces;\r\n\r\n\t\t// Arrays to hold vehicles past/present.\r\n\t\tvehiclesInQueue = new ArrayList<Vehicle>(maxQueueSize);\r\n\t\tsatisfiedVehicles = new ArrayList<Vehicle>();\r\n\t\tdissatifiedVehicles = new ArrayList<Vehicle>();\r\n\r\n\t\t// Arrays to hold numbers of each type of vehicle + a list to hold the\r\n\t\t// lists.\r\n\t\tmotorCyclesParked = new ArrayList<Vehicle>();\r\n\t\tcarsParked = new ArrayList<Vehicle>();\r\n\t\tsmallCarsParked = new ArrayList<Vehicle>();\r\n\t\tallVehiclesParked = new ArrayList<ArrayList<Vehicle>>();\r\n\r\n\t\tallVehiclesParked.add(carsParked);\r\n\t\tallVehiclesParked.add(smallCarsParked);\r\n\t\tallVehiclesParked.add(motorCyclesParked);\r\n\r\n\t}",
"public void park();",
"P createP();",
"public Partage() {\n }",
"public Park(int parkId, String name, double latitude, double longitude, String washroom,\n String neighName, String neighURL, String streetNumber, String streetName,\n String[] facility, String[] feature) {\n this.parkId = parkId;\n this.name = name;\n this.latitude = latitude;\n this.longitude = longitude;\n this.washroom = washroom;\n this.neighbourhoodName = neighName;\n this.neighbourhoodurl = neighURL;\n this.streetNumber = streetNumber;\n this.streetName = streetName;\n this.facility = facility;\n this.feature = feature;\n }",
"@Override\n\tpublic void parked() {\n\t\t\n\t}",
"private PerksFactory() {\n\n\t}",
"public ParkingSpot createSpot() {\n ParkingSpot spot = new ParkingSpot();\n spot.setTime(time);\n spot.setId(id);\n spot.setLongitude(longitude);\n spot.setLatitude(latitude);\n spot.setAccuracy(accuracy);\n return spot;\n }",
"public Pilot(String name, String license)\r\n {\r\n this.name = name;\r\n this.license = license;\r\n }",
"public ParkingSpot(Level lvl, int ro, int no, VehicleSize vs){\r\n numOfSp = no;\r\n row = ro;\r\n lv = lvl;\r\n sizeOfSp = vs;\r\n lv = lvl;\r\n }",
"public Puppy() {\n\t\t//TODO\n\t}",
"public Parrot(String name) {\r\n\t\tsuper(name);\r\n\t}",
"Para createPara();",
"public Person(Park park, ArrayList<Integer> path) {\n this.park = park;\n this.intendedPath = path;\n Cell tryStart = park.graph.getCell(intendedPath.get(0));\n if (tryStart.getPerson() != null) {\n System.out.println(\"PERSON ERROR: UNABLE TO CREATE PERSON, CELL IS OCCUPIED\");\n } else {\n tryStart.setPerson(this);\n }\n }",
"Parcelle createParcelle();",
"public Poke() {\n\t\tsuper(\"POKE\");\n\t}",
"public Plato(){\n\t\t\n\t}",
"private void loadParkingLots() {\n ParkingLot metrotown = new ParkingLot(\"Metrotown\", 4);\n ParkingLot pacificcenter = new ParkingLot(\"PacificCenter\", 5);\n\n for (int i = 0; i < 3; i++) {\n metrotown.addParkingSpot(new ParkingSpot(\"M\" + i, \"medium\", 5));\n pacificcenter.addParkingSpot(new ParkingSpot(\"PC\" + i, \"large\", 4));\n }\n\n parkinglots.add(metrotown);\n parkinglots.add(pacificcenter);\n }",
"public PokemonPark(){\n super(\"Pokemon Park\", \"Una vez por turno blabla\");\n }",
"public Park(int id, int maxCapacity, int actualCapacity, int maxChargingPlaces, int actualChargingPlaces, double power, int pharmacyID, int idParktype) {\n this.id = id;\n this.maxCapacity = maxCapacity;\n this.actualCapacity = actualCapacity;\n this.maxChargingPlaces = maxChargingPlaces;\n this.actualChargingPlaces = actualChargingPlaces;\n this.power = power;\n this.pharmacyID = pharmacyID;\n this.idParktype = idParktype;\n }",
"@Override\n public Ticket park(ParkingRequest parkingRequest, Vehicle vehicle) {\n return facade.park(parkingRequest,vehicle);\n }",
"@Override\r\n\tpublic void visit(Park park) {\n\t\t\r\n\t}",
"public PkBrp(){\n \t\n }",
"@Override\n\tpublic void visit(Park park) {\n\n\t}",
"public Particle() {\n\t}",
"protected ParkingSpace(Parcel in) {\n address = in.readParcelable(Address.class.getClassLoader());\n owner = in.readParcelable(User.class.getClassLoader());\n parkingImageUrl = in.readString();\n specialInstruction = in.readString();\n parkingID = in.readString();\n }",
"public CreateKonceptWorker() {\n\t\tsuper();\n\t\tthis.koncept = new KoncepteParaula();\n\t}",
"public Builder setParking(lanyotech.cn.park.protoc.ParkingProtoc.Parking value) {\n if (parkingBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n parking_ = value;\n onChanged();\n } else {\n parkingBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000001;\n return this;\n }",
"public PARiverDataGenerator() {\n }",
"Lab create();",
"public ProducerPlan()\r\n\t{\r\n\t\tgetLogger().info(\"Created: \"+this);\r\n\t}",
"public BlocksCreate(int width, int height, int hitPoints, String stroke, String fill, int k) {\r\n this.stroke = null;\r\n this.fillKMapColor = new HashMap<Integer, Color>();\r\n this.fillKMapImage = new HashMap<Integer, Image>();\r\n this.kListColor = new ArrayList<Integer>();\r\n this.kListImage = new ArrayList<Integer>();\r\n this.fillKListColor = new ArrayList<String>();\r\n this.fillKImageList = new ArrayList<String>();\r\n\r\n this.fill = fill;\r\n this.height = height;\r\n this.hitPoints = hitPoints;\r\n this.stroke = stroke;\r\n this.width = width;\r\n this.k = k;\r\n\r\n }",
"public IntPar() { }",
"public NewShape() {\r\n\t\tsuper();\r\n\t}",
"public PointDistributer() {\n }",
"public Park findParkByParkId(Long park_id) {\n\t\treturn parkDao.findParkByParkId(park_id);\n\t}",
"public Pencil() {\n\n }",
"public Paper() {\r\n }",
"public void park(ParkingLot preferredLot, Vehicle vehicle) {\n preferredLot.park(vehicle);\n }",
"public ParallelSection()\n\t\t{\n\t\tsuper();\n\t\t}",
"public Pie(PersonList personList, String teamName)\n\t{\n\t\tthis();\n\t\tthis.teamName=teamName;\n\t\tArrayList<Person> personArrayList=personList.getPeople();\n\t\tfor (Person person: personArrayList)\n\t\t{\n\t\t\tageArray[person.getAge()]=ageArray[person.getAge()]+1;\n\t\t\t\n\t\t}\n\t\t//ageArray[100]=1;\n\t\tfor (int i=0; i<ageArray.length; i++)\n\t\t{\n\t\t\tif (!(ageArray[i]==0))\n\t\t\t{\n\t\t\t\tint number=ageArray[i];\n\t\t\t\tString aName=(\"\"+i);\n\t\t\t\tSector aSector=new Sector(aName, number);\n\t\t\t\tsectors.add(aSector);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(Sector sector: sectors)\n\t\t{\n\t\t\tweightSum+=sector.getWeight();\n\t\t}\n\t\tfor(Sector sector: sectors)\n\t\t{\n\t\t\tsector.setAngleExtent(((double)sector.getWeight())/weightSum*360);\n\t\t\tsector.setColor(new Color((int)(Math.random() * 0x1000000)));\n\t\t}\n\t}",
"public Pair() {\r\n\t}",
"public ParkingSquare(Game game) \r\n {\r\n super(game);\r\n }",
"public Pam() { //you dont need anything in this bc its only relvent for the class Alignment \n\n }",
"void park(Vehicle v) {\n\t\t\tcurrentVehicle = v;\n\t\t}",
"public Pig(String name) {\n super(name);\n }",
"public Planet(Planet p){\n\txxPos = p.xxPos;\n\tyyPos = p.yyPos;\n\txxVel = p.xxVel;\n\tyyVel = p.yyVel ;\n\tmass = p.mass;\n\timgFileName = new String(p.imgFileName);\n\t}",
"public Pippo(Context context, boolean keep, boolean store, boolean pool){\r\n super(context);\r\n k = keep;\r\n s = store;\r\n p = pool;\r\n }",
"public Prova() {}",
"public Project() {\n this.name = \"Paper plane\";\n this.description = \" It's made of paper.\";\n }",
"public ParkedCar(String inputOwnerName, String inputCarMake, int inputModelYear,\n String inputLicensePlateNumber, int inputMinutesParked) {\n\n // validate instance variables\n if (inputOwnerName == null) { throw new IllegalArgumentException(\"owner name cannot be null\"); } \n if (inputCarMake == null) { throw new IllegalArgumentException(\"car make cannot be null\"); } \n if (inputModelYear < 1900) { throw new IllegalArgumentException(\"year model cannot be earlier than 1900\"); } \n if (inputModelYear > currentYear) { throw new IllegalArgumentException(\"year model cannot be later than 2020\"); }\n if (inputLicensePlateNumber == null) { throw new IllegalArgumentException(\"car license plate number cannot be null\"); } \n if (inputMinutesParked <= 0) { throw new IllegalArgumentException(\"minutes parked should be greater than 0\"); } \n\n ownerName = inputOwnerName;\n carMake = inputCarMake;\n modelYear = inputModelYear;\n carLicensePlateNumber = inputLicensePlateNumber;\n minutesParked = inputMinutesParked;\n }",
"public static void newProject() {\n\n //create the arena representation\n //populateBlocks();\n //populateSensors();\n }",
"public Pair() {\n // nothing to do here\n }",
"public static void main(String[] args) {\n int numberOfLevels = 5;\n int numberOfRows = 10;\n int spotsPerRow = 20;\n ParkingLot parkingLot = new ParkingLot(numberOfLevels, numberOfRows, spotsPerRow);\n\n System.out.println(\"\\n----------------------< PARKING >----------------------\\n\");\n\n // Park some vehicles\n List<Vehicle> motorcycles = new ArrayList<>();\n List<Vehicle> cars = new ArrayList<>();\n List<Vehicle> buses = new ArrayList<>();\n for (int i = 1; i <= 100; i++) {\n Vehicle bus = new Bus();\n buses.add(bus);\n if (parkingLot.parkVehicle(bus)) {\n System.out.print(\"Bus parking successful \");\n }\n }\n for (int i = 1; i <= 250; i++) {\n Vehicle motorCycle = new MotorCycle();\n motorcycles.add(motorCycle);\n if (parkingLot.parkVehicle(motorCycle)) {\n System.out.print(\"Motorcycle parking successful \");\n }\n Vehicle car = new Car();\n cars.add(car);\n if (parkingLot.parkVehicle(car)) {\n System.out.print(\"Car parking successful \");\n }\n }\n\n System.out.println(\"\\n\");\n\n parkingLot.print();\n // Get data for all the levels\n for (int i = 0; i < numberOfLevels; i++) {\n Level level = parkingLot.getLevel(i);\n System.out.println(\"Available spots for Level - \" + i + \": \" + level.getAvailableSpots());\n }\n\n System.out.println(\"\\n----------------------< UNPARKING >----------------------\\n\");\n\n // Unpark some vehicles\n for (int i = 1; i <= 100; i++) {\n Vehicle motorCycle = motorcycles.get(i - 1);\n parkingLot.unparkVehicle(motorCycle);\n Vehicle car = cars.get(i - 1);\n parkingLot.unparkVehicle(car);\n Vehicle bus = buses.get(i - 1);\n parkingLot.unparkVehicle(bus);\n }\n\n parkingLot.print();\n // Get data for all the levels\n for (int i = 0; i < numberOfLevels; i++) {\n Level level = parkingLot.getLevel(i);\n System.out.println(\"Available spots for Level - \" + i + \": \" + level.getAvailableSpots());\n }\n }",
"public Portfolio(){}",
"public void createPartition(int nPid);",
"PK create(T newInstance);",
"public Pillar(int x, int y)\n {\n // initialise instance variables\n xleft= x;\n ybottom= y;\n }",
"private Pools() {\n super();\n }",
"public CMObject newInstance();",
"public Produto() {}",
"public ParkingSpace(Address address, User owner, String parkingImageUrl, String specialInstruction, String parkingID, String ownerID) {\n this.address = address;\n this.owner = owner;\n this.parkingImageUrl = parkingImageUrl;\n this.specialInstruction = specialInstruction;\n this.parkingID = parkingID;\n reviews = new ArrayList<>();\n totalRating = 0;\n averageRating = 0;\n }",
"public PencilPen() {\n this(10.0);\n }",
"public OVChipkaart() {\n\n }",
"public Pizza() {\n this(\"small\", 1, 1, 1);\n }",
"public MeshPart() {\n\t}",
"public static ParkingProfile init(String pathToParkingProfilePropertiesFile) throws Exception {\n if(\"Check for multiprofile enabled in propetties file\") {\n // Create singleton and set values\n return parkingProfile;\n } else {\n // Allow to create nultiple and set values\n return new ParkingProfile();\n }\n }",
"protected Pot createPot(int knobSize, String label, String labelsString) {\r\n\r\n\t\tPot p = new Pot();\r\n\t\tconfigPot(p, knobSize, label, labelsString);\r\n\t\treturn p;\r\n\t}",
"public abstract Placer createPlacer (Layer layer);",
"public Poem(){}",
"public Par (P prim, S seg) {\n\t\tthis.primeiro = prim;\n\t\tthis.segundo = seg;\n\t}",
"public Player(Playground_Registration pgr) {\n this.pgr = pgr;\n pgr.setPName(\"barca\");\n System.out.println(pgr.getPName());\n pgr.setLocation(\"naser city\");\n System.out.println(pgr.getLocation());\n pgr.setSize(5);\n System.out.println(pgr.getSize());\n pgr.setAvailable_Hour(3);\n System.out.println(pgr.getAvailable_Hour());\n pgr.setPrice_Of_hour(120);\n System.out.println(pgr.getPrice_Of_hour());\n pgr.setPlayground_Status(\"available\");\n System.out.println(pgr.getPlayground_Status());\n pgr.setCancelation_Perioud(\"\");\n System.out.println(pgr.getCancelation_Perioud());\n System.out.println(\"i want to book this play ground\");\n\n }",
"public Planet()\n {\n super(30, 30, zellenGroesse);\n setBackground(\"images/boden.png\");\n setPaintOrder(String.class, Rover.class, Marke.class, Gestein.class, Huegel.class);\n Greenfoot.setSpeed(20); \n\n prepare();\n }",
"Sketch createSketch();",
"public FacePamphletCanvas() {\n\t}",
"Vertex createVertex();",
"public Pile() {\r\n\t\tconstruirePile();\r\n\t}",
"public TurkeyMarket()\n {\n System.out.println(\"### Turkey Market is created. ###\\n\");\n }",
"public KdNode(final BoundingBox box, final int splitType) {\n this.box = Objects.requireNonNull(box);\n children = new KdNode[2];\n this.splitType = splitType;\n tri = null;\n crossingTriangles = new HashSet<>();\n }",
"laptop(int length, int weight, int height, int width) {\r\n this.length = length;\r\n this.weight = weight;\r\n this.height = height;\r\n this.width = width;\r\n }",
"private Panino(String name) {\n this.name = name;\n }",
"public Bike(){\n\t}",
"@Override\r\n\tpublic RepairKit createRepairKit(double repairAmount, int weight)\r\n\t{\r\n\t\treturn new RepairKit(repairAmount, weight);\r\n\t}",
"private void createPlanets()\n\t{\n\t\tdouble semimajorAxis;\n\t\tdouble eccentricityOfOrbit;\n\t\tdouble inclinationOnPlane;\n\t\tdouble perihelion;\n\t\tdouble longitudeOfAscendingNode;\n\t\tdouble meanLongitude;\n String unicode_icon;\n\t\t\n\t\tplanetList.clear();\n\t\t\n\t\t//*****************\n\t\t//create Mercury\n\t\t//*****************\n\t\tPlanet mercury = new Planet(\"Mercury\");\n\t\tunicode_icon = \"\\u263f\";\n\t\tmeanLongitude = 60.750646;\n\t\tsemimajorAxis = 0.387099;\n\t\teccentricityOfOrbit = 0.205633;\n\t\tinclinationOnPlane = 7.004540;\n\t\tperihelion = 77.299833;\n\t\tlongitudeOfAscendingNode = 48.212740;\n\t\t\n\t\tmercury.setUnicodeIcon(unicode_icon);\n\t\tmercury.setSemimajorAxis(semimajorAxis);\n\t\tmercury.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tmercury.setInclinationOnPlane(inclinationOnPlane);\n\t\tmercury.setPerihelion(perihelion);\n\t\tmercury.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tmercury.setMeanLongitude(meanLongitude);\n\t\tmercury.setOrbitalPeriod(0.24852);\n\t\tplanetList.add(mercury);\n\t\t\n\t\t//*****************\n\t\t//create Venus\n\t\t//*****************\n\t\tPlanet venus = new Planet(\"Venus\");\n\t\tunicode_icon = \"\\u2640\";\n\t\tmeanLongitude = 88.455855;\n\t\tsemimajorAxis = 0.723332;\n\t\teccentricityOfOrbit = 0.006778;\n\t\tinclinationOnPlane = 3.394535;\n\t\tperihelion = 131.430236;\n\t\tlongitudeOfAscendingNode = 76.589820;\n\t\t\n\t\tvenus.setUnicodeIcon(unicode_icon);\n\t\tvenus.setSemimajorAxis(semimajorAxis);\n\t\tvenus.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tvenus.setInclinationOnPlane(inclinationOnPlane);\n\t\tvenus.setPerihelion(perihelion);\n\t\tvenus.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tvenus.setMeanLongitude(meanLongitude);\n\t\tvenus.setOrbitalPeriod(0.615211);\n\t\tplanetList.add(venus);\n\t\t\n\t\t//*****************\n\t\t//create Earth\n\t\t//*****************\n\t\tearth = new Planet(\"Earth\");\n\t\tunicode_icon = \"\\u2695\";\t\n\t\tmeanLongitude = 99.403308;\n\t\tsemimajorAxis = 1.000;\n\t\teccentricityOfOrbit = 0.016713;\n\t\tinclinationOnPlane = 1.00;\n\t\tperihelion = 102.768413;\n\t\tlongitudeOfAscendingNode = 1.00;\n\t\t\n\t\tearth.setUnicodeIcon(unicode_icon);\n\t\tearth.setSemimajorAxis(semimajorAxis);\n\t\tearth.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tearth.setInclinationOnPlane(inclinationOnPlane);\n\t\tearth.setPerihelion(perihelion);\n\t\tearth.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tearth.setMeanLongitude(meanLongitude);\n\t\tearth.setOrbitalPeriod(1.00004);\n\t\t//earth not added to list, kept as separate object\n\t\t\n\t\t//*****************\n\t\t//create Mars\n\t\t//*****************\n\t\tPlanet mars = new Planet(\"Mars\");\n\t\tunicode_icon = \"\\u2642\";\n\t\tmeanLongitude = 240.739474;\n\t\tsemimajorAxis = 1.523688;\n\t\teccentricityOfOrbit = 0.093396;\n\t\tinclinationOnPlane = 1.849736;\n\t\tperihelion = 335.874939;\n\t\tlongitudeOfAscendingNode = 49.480308;\n\t\t\n\t\tmars.setUnicodeIcon(unicode_icon);\n\t\tmars.setSemimajorAxis(semimajorAxis);\n\t\tmars.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tmars.setInclinationOnPlane(inclinationOnPlane);\n\t\tmars.setPerihelion(perihelion);\n\t\tmars.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tmars.setMeanLongitude(meanLongitude);\n\t\tmars.setOrbitalPeriod(1.880932);\n\t\tplanetList.add(mars);\n\t\t\n\t\t//*****************\n\t\t//create Jupiter\n\t\t//*****************\n\t\tPlanet jupiter = new Planet(\"Jupiter\");\n\t\tunicode_icon = \"\\u2643\";\n\t\tmeanLongitude = 90.638185;\n\t\tsemimajorAxis = 5.202561;\n\t\teccentricityOfOrbit = 0.048482;\n\t\tinclinationOnPlane = 1.303613;\n\t\tperihelion = 14.170747;\n\t\tlongitudeOfAscendingNode = 100.353142;\n\t\t\n\t\tjupiter.setUnicodeIcon(unicode_icon);\n\t\tjupiter.setSemimajorAxis(semimajorAxis);\n\t\tjupiter.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tjupiter.setInclinationOnPlane(inclinationOnPlane);\n\t\tjupiter.setPerihelion(perihelion);\n\t\tjupiter.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tjupiter.setMeanLongitude(meanLongitude);\n\t\tjupiter.setOrbitalPeriod(11.863075);\n\t\tplanetList.add(jupiter);\n\t\t\n\t\t//*****************\n\t\t//create Saturn\n\t\t//*****************\n\t\tPlanet saturn = new Planet(\"Saturn\");\n\t\tunicode_icon = \"\\u2644\";\n\t\tmeanLongitude = 287.690033;\n\t\tsemimajorAxis = 9.554747;\n\t\teccentricityOfOrbit = 0.055581;\n\t\tinclinationOnPlane = 2.488980;\n\t\tperihelion = 92.861407;\n\t\tlongitudeOfAscendingNode = 113.576139;\n\t\t\t\t\n\t\tsaturn.setUnicodeIcon(unicode_icon);\n\t\tsaturn.setSemimajorAxis(semimajorAxis);\n\t\tsaturn.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tsaturn.setInclinationOnPlane(inclinationOnPlane);\n\t\tsaturn.setPerihelion(perihelion);\n\t\tsaturn.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tsaturn.setMeanLongitude(meanLongitude);\n\t\tsaturn.setOrbitalPeriod(29.471362);\n\t\tplanetList.add(saturn);\n\t\t\n\t\t//*****************\n\t\t//create Uranus\n\t\t//*****************\n\t\tPlanet uranus = new Planet(\"Uranus\");\n\t\tunicode_icon = \"\\u2645\";\n\t\tmeanLongitude = 271.063148;\n\t\tsemimajorAxis = 19.21814;\n\t\teccentricityOfOrbit = 0.046321;\n\t\tinclinationOnPlane = 0.773059;\n\t\tperihelion = 172.884833;\n\t\tlongitudeOfAscendingNode = 73.926961;\n\t\t\n\t\turanus.setUnicodeIcon(unicode_icon);\n\t\turanus.setSemimajorAxis(semimajorAxis);\n\t\turanus.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\turanus.setInclinationOnPlane(inclinationOnPlane);\n\t\turanus.setPerihelion(perihelion);\n\t\turanus.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\turanus.setMeanLongitude(meanLongitude);\n\t\turanus.setOrbitalPeriod(84.039492);\n\t\tplanetList.add(uranus);\n\t\t\n\t\t//*****************\n\t\t//create Neptune\n\t\t//*****************\n\t\tPlanet neptune = new Planet(\"Neptune\");\n\t\tunicode_icon = \"\\u2646\";\n\t\tmeanLongitude = 282.349556;\n\t\tsemimajorAxis = 30.109570;\n\t\teccentricityOfOrbit = 0.009003;\n\t\tinclinationOnPlane = 1.770646;\n\t\tperihelion = 48.009758;\n\t\tlongitudeOfAscendingNode = 131.670599;\n\t\t\n\t\tneptune.setUnicodeIcon(unicode_icon);\n\t\tneptune.setSemimajorAxis(semimajorAxis);\n\t\tneptune.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tneptune.setInclinationOnPlane(inclinationOnPlane);\n\t\tneptune.setPerihelion(perihelion);\n\t\tneptune.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tneptune.setMeanLongitude(meanLongitude);\n\t\tneptune.setOrbitalPeriod(164.79246);\n\t\tplanetList.add(neptune);\n\t\t\n\t\t//*****************\n\t\t//create Pluto\n\t\t//*****************\n\t\tPlanet pluto = new Planet(\"Pluto\");\n\t\tunicode_icon = \"\\u263f\";\n\t\tmeanLongitude = 246.77027;\n\t\tsemimajorAxis = 39.3414;\n\t\teccentricityOfOrbit = 0.24624;\n\t\tinclinationOnPlane = 17.1420;\n\t\tperihelion = 224.133;\n\t\tlongitudeOfAscendingNode = 110.144;\n\t\t\n\t\tpluto.setUnicodeIcon(unicode_icon);\n\t\tpluto.setSemimajorAxis(semimajorAxis);\n\t\tpluto.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tpluto.setInclinationOnPlane(inclinationOnPlane);\n\t\tpluto.setPerihelion(perihelion);\n\t\tpluto.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tpluto.setMeanLongitude(meanLongitude);\n\t\tpluto.setOrbitalPeriod(246.77027);\n\t\tplanetList.add(pluto);\n\t}",
"public static ParkourKit getParkourKit(String name) {\n name = name.toLowerCase();\n\n if (loaded.containsKey(name)) {\n return loaded.get(name);\n }\n\n if (!ParkourKitInfo.doesParkourKitExist(name)) {\n return null;\n }\n\n ParkourKit kit = new ParkourKit(name);\n loaded.put(name, kit);\n return kit;\n }",
"public CircleCADTool() {\r\n }",
"public Planet(Planet p){\n\t\txxPos=p.xxPos;\n\t\tyyPos=p.yyPos;\n\t\txxVel=p.xxVel;\n\t\tyyVel=p.yyVel;\n\t\tmass=p.mass;\n\t\timgFileName=p.imgFileName;\n\t}",
"private ThreePP createThreePP(String[] mavenCoord) {\n String vendor = mavenCoord[0];\n String product = mavenCoord[1];\n String version = mavenCoord[2];\n String url = String.format(mvnUrlFormat, vendor, product, version);\n if(vendor.startsWith(\"com.\")){\n vendor = vendor.replaceFirst(\"^com.\", \"\");\n }else if(vendor.startsWith(\"org.\")){\n vendor = vendor.replaceFirst(\"^org.\", \"\");\n }\n String cpe = String.format(\"cpe:2.3:a:%s:%s:%s:*:*:*:*:linux:*:*\", vendor, product, version);\n ThreePP threePP = new ThreePP(cpe);\n threePP.setWebLink(url);\n return threePP;\n }",
"public Market() {\n }",
"public Builder clearParking() {\n if (parkingBuilder_ == null) {\n parking_ = lanyotech.cn.park.protoc.ParkingProtoc.Parking.getDefaultInstance();\n onChanged();\n } else {\n parkingBuilder_.clear();\n }\n bitField0_ = (bitField0_ & ~0x00000001);\n return this;\n }",
"public Plot() {\r\n }",
"public BasicKPartiteGraph(String name, int K) {\n\t\tsuper(name);\n\n\t\tthis.K = K;\n\t\tpartitionMap = new HashMap<NodeType,PartitionType>();\n\t}",
"public Pitonyak_09_02() {\r\n }",
"public Point() {\n }",
"public Point() {\n }",
"public PIDElevator() {\n \tsuper(\"PIDElevator\", Kp, Ki, Kd);\n \tenco = new Encoder(RobotMap.ENCODER_A_CHANNEL, RobotMap.ENCODER_B_CHANNEL, true);\n enco.reset();\n \n //outputOne = new DigitalOutput(RobotMap.ARDUINO_PIN_ONE);\n //outputTwo = new DigitalOutput(RobotMap.ARDUINO_PIN_TWO);\n //outputThree = new DigitalOutput(RobotMap.ARDUINO_PIN_THREE);\n\n \t\n \tsetAbsoluteTolerance(10);\n \tgetPIDController().setContinuous(false);\n // Use these to get going:\n // setSetpoint() - Sets where the PID controller should move the system\n // to\n // enable() - Enables the PID controller.\n \televMotor = new CANTalon(RobotMap.ELEV_TALON);\n \t\n //button = new DigitalInput(0); \n \tbottom_hallEffect = new DigitalInput(RobotMap.HALL_EFFECT_PORT);\n \ttop_limitSwitch = new DigitalInput(RobotMap.TOP_LIMIT_SWITCH);\n \t\n \t//wire = new I2C(Port.kOnboard, 4);\n \t\n \tBrakeEngaged = new Solenoid(1, RobotMap.BRAKE_IN);\n \tBrakeDisengaged = new Solenoid(1, RobotMap.BRAKE_OUT);\n \tenable();\n }",
"public Portfolio(){\n }",
"public NearestParksController() {\n this.bn = new BicycleNetwork();\n this.pf = new LocationFacade();\n // this.bn.loadData();\n }"
] |
[
"0.7127305",
"0.65983367",
"0.6533802",
"0.6202329",
"0.61468774",
"0.60969996",
"0.6041205",
"0.5960005",
"0.58706903",
"0.58674246",
"0.5831411",
"0.5792651",
"0.5762711",
"0.57545346",
"0.5731484",
"0.5730789",
"0.57132846",
"0.56824416",
"0.556196",
"0.5547345",
"0.5542265",
"0.55310214",
"0.55244505",
"0.55207485",
"0.551445",
"0.54892254",
"0.5457702",
"0.5415263",
"0.5399927",
"0.5380629",
"0.537614",
"0.53734124",
"0.53464025",
"0.5339803",
"0.5331969",
"0.5328953",
"0.53217626",
"0.5289441",
"0.5281102",
"0.5280071",
"0.5258067",
"0.5243467",
"0.5210764",
"0.5201749",
"0.51967394",
"0.51888657",
"0.5183919",
"0.5178504",
"0.51767534",
"0.5173385",
"0.5170194",
"0.5165361",
"0.515178",
"0.51477736",
"0.51384073",
"0.5135553",
"0.5133902",
"0.512811",
"0.5126299",
"0.5117664",
"0.51119125",
"0.51109993",
"0.5102609",
"0.51007223",
"0.508631",
"0.50845957",
"0.50798064",
"0.5076223",
"0.5072223",
"0.5065636",
"0.50583935",
"0.505385",
"0.5053268",
"0.50497144",
"0.5036557",
"0.50346607",
"0.5034573",
"0.50297767",
"0.5025505",
"0.5025332",
"0.50246984",
"0.5019862",
"0.50189435",
"0.5017911",
"0.5013118",
"0.5002844",
"0.5001773",
"0.49910834",
"0.4987179",
"0.49868953",
"0.4986332",
"0.4983589",
"0.4980605",
"0.49797642",
"0.496616",
"0.495878",
"0.495878",
"0.49554884",
"0.4944743",
"0.49437815"
] |
0.6096467
|
6
|
Creates a new park object
|
public Park(int parkId, String name, double latitude, double longitude, String washroom,
String neighName, String neighURL, String streetNumber, String streetName,
String[] facility, String[] feature) {
this.parkId = parkId;
this.name = name;
this.latitude = latitude;
this.longitude = longitude;
this.washroom = washroom;
this.neighbourhoodName = neighName;
this.neighbourhoodurl = neighURL;
this.streetNumber = streetNumber;
this.streetName = streetName;
this.facility = facility;
this.feature = feature;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"Parking createParking();",
"public ParkingSpace() {}",
"public CarPark() {\r\n\t\tthis(Constants.DEFAULT_MAX_CAR_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_SMALL_CAR_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_MOTORCYCLE_SPACES,\r\n\t\t\t\tConstants.DEFAULT_MAX_QUEUE_SIZE);\r\n\r\n\t\t// Initialise the parking spots avaliable.\r\n\t\tmaxCarSpaces = Constants.DEFAULT_MAX_CAR_SPACES\r\n\t\t\t\t- Constants.DEFAULT_MAX_SMALL_CAR_SPACES;\r\n\t\tmaxSmallCarSpaces = Constants.DEFAULT_MAX_SMALL_CAR_SPACES;\r\n\t\tmaxMotorCycleSpaces = Constants.DEFAULT_MAX_MOTORCYCLE_SPACES;\r\n\t\tmaxQueueSize = Constants.DEFAULT_MAX_QUEUE_SIZE;\r\n\t\ttotalSpaces = maxCarSpaces + maxSmallCarSpaces + maxMotorCycleSpaces;\r\n\r\n\t\t// Arrays to hold vehicles past/present.\r\n\t\tvehiclesInQueue = new ArrayList<Vehicle>(maxQueueSize);\r\n\t\tsatisfiedVehicles = new ArrayList<Vehicle>();\r\n\t\tdissatifiedVehicles = new ArrayList<Vehicle>();\r\n\r\n\t\t// Arrays to hold numbers of each type of vehicle + a list to hold the\r\n\t\t// lists.\r\n\t\tmotorCyclesParked = new ArrayList<Vehicle>();\r\n\t\tcarsParked = new ArrayList<Vehicle>();\r\n\t\tsmallCarsParked = new ArrayList<Vehicle>();\r\n\t\tallVehiclesParked = new ArrayList<ArrayList<Vehicle>>();\r\n\r\n\t\tallVehiclesParked.add(carsParked);\r\n\t\tallVehiclesParked.add(smallCarsParked);\r\n\t\tallVehiclesParked.add(motorCyclesParked);\r\n\r\n\t}",
"public void park();",
"P createP();",
"public Partage() {\n }",
"public Park(int parkId, String name, double latitude, double longitude, String washroom,\n String neighName, String neighURL, String streetNumber, String streetName) {\n this.parkId = parkId;\n this.name = name;\n this.latitude = latitude;\n this.longitude = longitude;\n this.washroom = washroom;\n this.neighbourhoodName = neighName;\n this.neighbourhoodurl = neighURL;\n this.streetNumber = streetNumber;\n this.streetName = streetName;\n }",
"@Override\n\tpublic void parked() {\n\t\t\n\t}",
"private PerksFactory() {\n\n\t}",
"public ParkingSpot createSpot() {\n ParkingSpot spot = new ParkingSpot();\n spot.setTime(time);\n spot.setId(id);\n spot.setLongitude(longitude);\n spot.setLatitude(latitude);\n spot.setAccuracy(accuracy);\n return spot;\n }",
"public Pilot(String name, String license)\r\n {\r\n this.name = name;\r\n this.license = license;\r\n }",
"public ParkingSpot(Level lvl, int ro, int no, VehicleSize vs){\r\n numOfSp = no;\r\n row = ro;\r\n lv = lvl;\r\n sizeOfSp = vs;\r\n lv = lvl;\r\n }",
"public Puppy() {\n\t\t//TODO\n\t}",
"public Parrot(String name) {\r\n\t\tsuper(name);\r\n\t}",
"Para createPara();",
"public Person(Park park, ArrayList<Integer> path) {\n this.park = park;\n this.intendedPath = path;\n Cell tryStart = park.graph.getCell(intendedPath.get(0));\n if (tryStart.getPerson() != null) {\n System.out.println(\"PERSON ERROR: UNABLE TO CREATE PERSON, CELL IS OCCUPIED\");\n } else {\n tryStart.setPerson(this);\n }\n }",
"Parcelle createParcelle();",
"public Poke() {\n\t\tsuper(\"POKE\");\n\t}",
"public Plato(){\n\t\t\n\t}",
"private void loadParkingLots() {\n ParkingLot metrotown = new ParkingLot(\"Metrotown\", 4);\n ParkingLot pacificcenter = new ParkingLot(\"PacificCenter\", 5);\n\n for (int i = 0; i < 3; i++) {\n metrotown.addParkingSpot(new ParkingSpot(\"M\" + i, \"medium\", 5));\n pacificcenter.addParkingSpot(new ParkingSpot(\"PC\" + i, \"large\", 4));\n }\n\n parkinglots.add(metrotown);\n parkinglots.add(pacificcenter);\n }",
"public PokemonPark(){\n super(\"Pokemon Park\", \"Una vez por turno blabla\");\n }",
"public Park(int id, int maxCapacity, int actualCapacity, int maxChargingPlaces, int actualChargingPlaces, double power, int pharmacyID, int idParktype) {\n this.id = id;\n this.maxCapacity = maxCapacity;\n this.actualCapacity = actualCapacity;\n this.maxChargingPlaces = maxChargingPlaces;\n this.actualChargingPlaces = actualChargingPlaces;\n this.power = power;\n this.pharmacyID = pharmacyID;\n this.idParktype = idParktype;\n }",
"@Override\n public Ticket park(ParkingRequest parkingRequest, Vehicle vehicle) {\n return facade.park(parkingRequest,vehicle);\n }",
"@Override\r\n\tpublic void visit(Park park) {\n\t\t\r\n\t}",
"public PkBrp(){\n \t\n }",
"@Override\n\tpublic void visit(Park park) {\n\n\t}",
"public Particle() {\n\t}",
"protected ParkingSpace(Parcel in) {\n address = in.readParcelable(Address.class.getClassLoader());\n owner = in.readParcelable(User.class.getClassLoader());\n parkingImageUrl = in.readString();\n specialInstruction = in.readString();\n parkingID = in.readString();\n }",
"public CreateKonceptWorker() {\n\t\tsuper();\n\t\tthis.koncept = new KoncepteParaula();\n\t}",
"public Builder setParking(lanyotech.cn.park.protoc.ParkingProtoc.Parking value) {\n if (parkingBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n parking_ = value;\n onChanged();\n } else {\n parkingBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000001;\n return this;\n }",
"public PARiverDataGenerator() {\n }",
"Lab create();",
"public ProducerPlan()\r\n\t{\r\n\t\tgetLogger().info(\"Created: \"+this);\r\n\t}",
"public BlocksCreate(int width, int height, int hitPoints, String stroke, String fill, int k) {\r\n this.stroke = null;\r\n this.fillKMapColor = new HashMap<Integer, Color>();\r\n this.fillKMapImage = new HashMap<Integer, Image>();\r\n this.kListColor = new ArrayList<Integer>();\r\n this.kListImage = new ArrayList<Integer>();\r\n this.fillKListColor = new ArrayList<String>();\r\n this.fillKImageList = new ArrayList<String>();\r\n\r\n this.fill = fill;\r\n this.height = height;\r\n this.hitPoints = hitPoints;\r\n this.stroke = stroke;\r\n this.width = width;\r\n this.k = k;\r\n\r\n }",
"public IntPar() { }",
"public NewShape() {\r\n\t\tsuper();\r\n\t}",
"public PointDistributer() {\n }",
"public Park findParkByParkId(Long park_id) {\n\t\treturn parkDao.findParkByParkId(park_id);\n\t}",
"public Pencil() {\n\n }",
"public Paper() {\r\n }",
"public void park(ParkingLot preferredLot, Vehicle vehicle) {\n preferredLot.park(vehicle);\n }",
"public ParallelSection()\n\t\t{\n\t\tsuper();\n\t\t}",
"public Pie(PersonList personList, String teamName)\n\t{\n\t\tthis();\n\t\tthis.teamName=teamName;\n\t\tArrayList<Person> personArrayList=personList.getPeople();\n\t\tfor (Person person: personArrayList)\n\t\t{\n\t\t\tageArray[person.getAge()]=ageArray[person.getAge()]+1;\n\t\t\t\n\t\t}\n\t\t//ageArray[100]=1;\n\t\tfor (int i=0; i<ageArray.length; i++)\n\t\t{\n\t\t\tif (!(ageArray[i]==0))\n\t\t\t{\n\t\t\t\tint number=ageArray[i];\n\t\t\t\tString aName=(\"\"+i);\n\t\t\t\tSector aSector=new Sector(aName, number);\n\t\t\t\tsectors.add(aSector);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(Sector sector: sectors)\n\t\t{\n\t\t\tweightSum+=sector.getWeight();\n\t\t}\n\t\tfor(Sector sector: sectors)\n\t\t{\n\t\t\tsector.setAngleExtent(((double)sector.getWeight())/weightSum*360);\n\t\t\tsector.setColor(new Color((int)(Math.random() * 0x1000000)));\n\t\t}\n\t}",
"public Pair() {\r\n\t}",
"public ParkingSquare(Game game) \r\n {\r\n super(game);\r\n }",
"public Pam() { //you dont need anything in this bc its only relvent for the class Alignment \n\n }",
"void park(Vehicle v) {\n\t\t\tcurrentVehicle = v;\n\t\t}",
"public Pig(String name) {\n super(name);\n }",
"public Planet(Planet p){\n\txxPos = p.xxPos;\n\tyyPos = p.yyPos;\n\txxVel = p.xxVel;\n\tyyVel = p.yyVel ;\n\tmass = p.mass;\n\timgFileName = new String(p.imgFileName);\n\t}",
"public Pippo(Context context, boolean keep, boolean store, boolean pool){\r\n super(context);\r\n k = keep;\r\n s = store;\r\n p = pool;\r\n }",
"public Prova() {}",
"public Project() {\n this.name = \"Paper plane\";\n this.description = \" It's made of paper.\";\n }",
"public ParkedCar(String inputOwnerName, String inputCarMake, int inputModelYear,\n String inputLicensePlateNumber, int inputMinutesParked) {\n\n // validate instance variables\n if (inputOwnerName == null) { throw new IllegalArgumentException(\"owner name cannot be null\"); } \n if (inputCarMake == null) { throw new IllegalArgumentException(\"car make cannot be null\"); } \n if (inputModelYear < 1900) { throw new IllegalArgumentException(\"year model cannot be earlier than 1900\"); } \n if (inputModelYear > currentYear) { throw new IllegalArgumentException(\"year model cannot be later than 2020\"); }\n if (inputLicensePlateNumber == null) { throw new IllegalArgumentException(\"car license plate number cannot be null\"); } \n if (inputMinutesParked <= 0) { throw new IllegalArgumentException(\"minutes parked should be greater than 0\"); } \n\n ownerName = inputOwnerName;\n carMake = inputCarMake;\n modelYear = inputModelYear;\n carLicensePlateNumber = inputLicensePlateNumber;\n minutesParked = inputMinutesParked;\n }",
"public static void newProject() {\n\n //create the arena representation\n //populateBlocks();\n //populateSensors();\n }",
"public Pair() {\n // nothing to do here\n }",
"public static void main(String[] args) {\n int numberOfLevels = 5;\n int numberOfRows = 10;\n int spotsPerRow = 20;\n ParkingLot parkingLot = new ParkingLot(numberOfLevels, numberOfRows, spotsPerRow);\n\n System.out.println(\"\\n----------------------< PARKING >----------------------\\n\");\n\n // Park some vehicles\n List<Vehicle> motorcycles = new ArrayList<>();\n List<Vehicle> cars = new ArrayList<>();\n List<Vehicle> buses = new ArrayList<>();\n for (int i = 1; i <= 100; i++) {\n Vehicle bus = new Bus();\n buses.add(bus);\n if (parkingLot.parkVehicle(bus)) {\n System.out.print(\"Bus parking successful \");\n }\n }\n for (int i = 1; i <= 250; i++) {\n Vehicle motorCycle = new MotorCycle();\n motorcycles.add(motorCycle);\n if (parkingLot.parkVehicle(motorCycle)) {\n System.out.print(\"Motorcycle parking successful \");\n }\n Vehicle car = new Car();\n cars.add(car);\n if (parkingLot.parkVehicle(car)) {\n System.out.print(\"Car parking successful \");\n }\n }\n\n System.out.println(\"\\n\");\n\n parkingLot.print();\n // Get data for all the levels\n for (int i = 0; i < numberOfLevels; i++) {\n Level level = parkingLot.getLevel(i);\n System.out.println(\"Available spots for Level - \" + i + \": \" + level.getAvailableSpots());\n }\n\n System.out.println(\"\\n----------------------< UNPARKING >----------------------\\n\");\n\n // Unpark some vehicles\n for (int i = 1; i <= 100; i++) {\n Vehicle motorCycle = motorcycles.get(i - 1);\n parkingLot.unparkVehicle(motorCycle);\n Vehicle car = cars.get(i - 1);\n parkingLot.unparkVehicle(car);\n Vehicle bus = buses.get(i - 1);\n parkingLot.unparkVehicle(bus);\n }\n\n parkingLot.print();\n // Get data for all the levels\n for (int i = 0; i < numberOfLevels; i++) {\n Level level = parkingLot.getLevel(i);\n System.out.println(\"Available spots for Level - \" + i + \": \" + level.getAvailableSpots());\n }\n }",
"public Portfolio(){}",
"public void createPartition(int nPid);",
"PK create(T newInstance);",
"public Pillar(int x, int y)\n {\n // initialise instance variables\n xleft= x;\n ybottom= y;\n }",
"private Pools() {\n super();\n }",
"public CMObject newInstance();",
"public Produto() {}",
"public ParkingSpace(Address address, User owner, String parkingImageUrl, String specialInstruction, String parkingID, String ownerID) {\n this.address = address;\n this.owner = owner;\n this.parkingImageUrl = parkingImageUrl;\n this.specialInstruction = specialInstruction;\n this.parkingID = parkingID;\n reviews = new ArrayList<>();\n totalRating = 0;\n averageRating = 0;\n }",
"public PencilPen() {\n this(10.0);\n }",
"public OVChipkaart() {\n\n }",
"public Pizza() {\n this(\"small\", 1, 1, 1);\n }",
"public MeshPart() {\n\t}",
"public static ParkingProfile init(String pathToParkingProfilePropertiesFile) throws Exception {\n if(\"Check for multiprofile enabled in propetties file\") {\n // Create singleton and set values\n return parkingProfile;\n } else {\n // Allow to create nultiple and set values\n return new ParkingProfile();\n }\n }",
"protected Pot createPot(int knobSize, String label, String labelsString) {\r\n\r\n\t\tPot p = new Pot();\r\n\t\tconfigPot(p, knobSize, label, labelsString);\r\n\t\treturn p;\r\n\t}",
"public abstract Placer createPlacer (Layer layer);",
"public Poem(){}",
"public Par (P prim, S seg) {\n\t\tthis.primeiro = prim;\n\t\tthis.segundo = seg;\n\t}",
"public Player(Playground_Registration pgr) {\n this.pgr = pgr;\n pgr.setPName(\"barca\");\n System.out.println(pgr.getPName());\n pgr.setLocation(\"naser city\");\n System.out.println(pgr.getLocation());\n pgr.setSize(5);\n System.out.println(pgr.getSize());\n pgr.setAvailable_Hour(3);\n System.out.println(pgr.getAvailable_Hour());\n pgr.setPrice_Of_hour(120);\n System.out.println(pgr.getPrice_Of_hour());\n pgr.setPlayground_Status(\"available\");\n System.out.println(pgr.getPlayground_Status());\n pgr.setCancelation_Perioud(\"\");\n System.out.println(pgr.getCancelation_Perioud());\n System.out.println(\"i want to book this play ground\");\n\n }",
"public Planet()\n {\n super(30, 30, zellenGroesse);\n setBackground(\"images/boden.png\");\n setPaintOrder(String.class, Rover.class, Marke.class, Gestein.class, Huegel.class);\n Greenfoot.setSpeed(20); \n\n prepare();\n }",
"Sketch createSketch();",
"public FacePamphletCanvas() {\n\t}",
"Vertex createVertex();",
"public Pile() {\r\n\t\tconstruirePile();\r\n\t}",
"public TurkeyMarket()\n {\n System.out.println(\"### Turkey Market is created. ###\\n\");\n }",
"public KdNode(final BoundingBox box, final int splitType) {\n this.box = Objects.requireNonNull(box);\n children = new KdNode[2];\n this.splitType = splitType;\n tri = null;\n crossingTriangles = new HashSet<>();\n }",
"laptop(int length, int weight, int height, int width) {\r\n this.length = length;\r\n this.weight = weight;\r\n this.height = height;\r\n this.width = width;\r\n }",
"private Panino(String name) {\n this.name = name;\n }",
"public Bike(){\n\t}",
"@Override\r\n\tpublic RepairKit createRepairKit(double repairAmount, int weight)\r\n\t{\r\n\t\treturn new RepairKit(repairAmount, weight);\r\n\t}",
"private void createPlanets()\n\t{\n\t\tdouble semimajorAxis;\n\t\tdouble eccentricityOfOrbit;\n\t\tdouble inclinationOnPlane;\n\t\tdouble perihelion;\n\t\tdouble longitudeOfAscendingNode;\n\t\tdouble meanLongitude;\n String unicode_icon;\n\t\t\n\t\tplanetList.clear();\n\t\t\n\t\t//*****************\n\t\t//create Mercury\n\t\t//*****************\n\t\tPlanet mercury = new Planet(\"Mercury\");\n\t\tunicode_icon = \"\\u263f\";\n\t\tmeanLongitude = 60.750646;\n\t\tsemimajorAxis = 0.387099;\n\t\teccentricityOfOrbit = 0.205633;\n\t\tinclinationOnPlane = 7.004540;\n\t\tperihelion = 77.299833;\n\t\tlongitudeOfAscendingNode = 48.212740;\n\t\t\n\t\tmercury.setUnicodeIcon(unicode_icon);\n\t\tmercury.setSemimajorAxis(semimajorAxis);\n\t\tmercury.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tmercury.setInclinationOnPlane(inclinationOnPlane);\n\t\tmercury.setPerihelion(perihelion);\n\t\tmercury.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tmercury.setMeanLongitude(meanLongitude);\n\t\tmercury.setOrbitalPeriod(0.24852);\n\t\tplanetList.add(mercury);\n\t\t\n\t\t//*****************\n\t\t//create Venus\n\t\t//*****************\n\t\tPlanet venus = new Planet(\"Venus\");\n\t\tunicode_icon = \"\\u2640\";\n\t\tmeanLongitude = 88.455855;\n\t\tsemimajorAxis = 0.723332;\n\t\teccentricityOfOrbit = 0.006778;\n\t\tinclinationOnPlane = 3.394535;\n\t\tperihelion = 131.430236;\n\t\tlongitudeOfAscendingNode = 76.589820;\n\t\t\n\t\tvenus.setUnicodeIcon(unicode_icon);\n\t\tvenus.setSemimajorAxis(semimajorAxis);\n\t\tvenus.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tvenus.setInclinationOnPlane(inclinationOnPlane);\n\t\tvenus.setPerihelion(perihelion);\n\t\tvenus.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tvenus.setMeanLongitude(meanLongitude);\n\t\tvenus.setOrbitalPeriod(0.615211);\n\t\tplanetList.add(venus);\n\t\t\n\t\t//*****************\n\t\t//create Earth\n\t\t//*****************\n\t\tearth = new Planet(\"Earth\");\n\t\tunicode_icon = \"\\u2695\";\t\n\t\tmeanLongitude = 99.403308;\n\t\tsemimajorAxis = 1.000;\n\t\teccentricityOfOrbit = 0.016713;\n\t\tinclinationOnPlane = 1.00;\n\t\tperihelion = 102.768413;\n\t\tlongitudeOfAscendingNode = 1.00;\n\t\t\n\t\tearth.setUnicodeIcon(unicode_icon);\n\t\tearth.setSemimajorAxis(semimajorAxis);\n\t\tearth.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tearth.setInclinationOnPlane(inclinationOnPlane);\n\t\tearth.setPerihelion(perihelion);\n\t\tearth.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tearth.setMeanLongitude(meanLongitude);\n\t\tearth.setOrbitalPeriod(1.00004);\n\t\t//earth not added to list, kept as separate object\n\t\t\n\t\t//*****************\n\t\t//create Mars\n\t\t//*****************\n\t\tPlanet mars = new Planet(\"Mars\");\n\t\tunicode_icon = \"\\u2642\";\n\t\tmeanLongitude = 240.739474;\n\t\tsemimajorAxis = 1.523688;\n\t\teccentricityOfOrbit = 0.093396;\n\t\tinclinationOnPlane = 1.849736;\n\t\tperihelion = 335.874939;\n\t\tlongitudeOfAscendingNode = 49.480308;\n\t\t\n\t\tmars.setUnicodeIcon(unicode_icon);\n\t\tmars.setSemimajorAxis(semimajorAxis);\n\t\tmars.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tmars.setInclinationOnPlane(inclinationOnPlane);\n\t\tmars.setPerihelion(perihelion);\n\t\tmars.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tmars.setMeanLongitude(meanLongitude);\n\t\tmars.setOrbitalPeriod(1.880932);\n\t\tplanetList.add(mars);\n\t\t\n\t\t//*****************\n\t\t//create Jupiter\n\t\t//*****************\n\t\tPlanet jupiter = new Planet(\"Jupiter\");\n\t\tunicode_icon = \"\\u2643\";\n\t\tmeanLongitude = 90.638185;\n\t\tsemimajorAxis = 5.202561;\n\t\teccentricityOfOrbit = 0.048482;\n\t\tinclinationOnPlane = 1.303613;\n\t\tperihelion = 14.170747;\n\t\tlongitudeOfAscendingNode = 100.353142;\n\t\t\n\t\tjupiter.setUnicodeIcon(unicode_icon);\n\t\tjupiter.setSemimajorAxis(semimajorAxis);\n\t\tjupiter.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tjupiter.setInclinationOnPlane(inclinationOnPlane);\n\t\tjupiter.setPerihelion(perihelion);\n\t\tjupiter.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tjupiter.setMeanLongitude(meanLongitude);\n\t\tjupiter.setOrbitalPeriod(11.863075);\n\t\tplanetList.add(jupiter);\n\t\t\n\t\t//*****************\n\t\t//create Saturn\n\t\t//*****************\n\t\tPlanet saturn = new Planet(\"Saturn\");\n\t\tunicode_icon = \"\\u2644\";\n\t\tmeanLongitude = 287.690033;\n\t\tsemimajorAxis = 9.554747;\n\t\teccentricityOfOrbit = 0.055581;\n\t\tinclinationOnPlane = 2.488980;\n\t\tperihelion = 92.861407;\n\t\tlongitudeOfAscendingNode = 113.576139;\n\t\t\t\t\n\t\tsaturn.setUnicodeIcon(unicode_icon);\n\t\tsaturn.setSemimajorAxis(semimajorAxis);\n\t\tsaturn.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tsaturn.setInclinationOnPlane(inclinationOnPlane);\n\t\tsaturn.setPerihelion(perihelion);\n\t\tsaturn.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tsaturn.setMeanLongitude(meanLongitude);\n\t\tsaturn.setOrbitalPeriod(29.471362);\n\t\tplanetList.add(saturn);\n\t\t\n\t\t//*****************\n\t\t//create Uranus\n\t\t//*****************\n\t\tPlanet uranus = new Planet(\"Uranus\");\n\t\tunicode_icon = \"\\u2645\";\n\t\tmeanLongitude = 271.063148;\n\t\tsemimajorAxis = 19.21814;\n\t\teccentricityOfOrbit = 0.046321;\n\t\tinclinationOnPlane = 0.773059;\n\t\tperihelion = 172.884833;\n\t\tlongitudeOfAscendingNode = 73.926961;\n\t\t\n\t\turanus.setUnicodeIcon(unicode_icon);\n\t\turanus.setSemimajorAxis(semimajorAxis);\n\t\turanus.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\turanus.setInclinationOnPlane(inclinationOnPlane);\n\t\turanus.setPerihelion(perihelion);\n\t\turanus.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\turanus.setMeanLongitude(meanLongitude);\n\t\turanus.setOrbitalPeriod(84.039492);\n\t\tplanetList.add(uranus);\n\t\t\n\t\t//*****************\n\t\t//create Neptune\n\t\t//*****************\n\t\tPlanet neptune = new Planet(\"Neptune\");\n\t\tunicode_icon = \"\\u2646\";\n\t\tmeanLongitude = 282.349556;\n\t\tsemimajorAxis = 30.109570;\n\t\teccentricityOfOrbit = 0.009003;\n\t\tinclinationOnPlane = 1.770646;\n\t\tperihelion = 48.009758;\n\t\tlongitudeOfAscendingNode = 131.670599;\n\t\t\n\t\tneptune.setUnicodeIcon(unicode_icon);\n\t\tneptune.setSemimajorAxis(semimajorAxis);\n\t\tneptune.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tneptune.setInclinationOnPlane(inclinationOnPlane);\n\t\tneptune.setPerihelion(perihelion);\n\t\tneptune.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tneptune.setMeanLongitude(meanLongitude);\n\t\tneptune.setOrbitalPeriod(164.79246);\n\t\tplanetList.add(neptune);\n\t\t\n\t\t//*****************\n\t\t//create Pluto\n\t\t//*****************\n\t\tPlanet pluto = new Planet(\"Pluto\");\n\t\tunicode_icon = \"\\u263f\";\n\t\tmeanLongitude = 246.77027;\n\t\tsemimajorAxis = 39.3414;\n\t\teccentricityOfOrbit = 0.24624;\n\t\tinclinationOnPlane = 17.1420;\n\t\tperihelion = 224.133;\n\t\tlongitudeOfAscendingNode = 110.144;\n\t\t\n\t\tpluto.setUnicodeIcon(unicode_icon);\n\t\tpluto.setSemimajorAxis(semimajorAxis);\n\t\tpluto.setEccentricityOfOrbit(eccentricityOfOrbit);\n\t\tpluto.setInclinationOnPlane(inclinationOnPlane);\n\t\tpluto.setPerihelion(perihelion);\n\t\tpluto.setLongitudeOfAscendingNode(longitudeOfAscendingNode);\n\t\tpluto.setMeanLongitude(meanLongitude);\n\t\tpluto.setOrbitalPeriod(246.77027);\n\t\tplanetList.add(pluto);\n\t}",
"public static ParkourKit getParkourKit(String name) {\n name = name.toLowerCase();\n\n if (loaded.containsKey(name)) {\n return loaded.get(name);\n }\n\n if (!ParkourKitInfo.doesParkourKitExist(name)) {\n return null;\n }\n\n ParkourKit kit = new ParkourKit(name);\n loaded.put(name, kit);\n return kit;\n }",
"public CircleCADTool() {\r\n }",
"public Planet(Planet p){\n\t\txxPos=p.xxPos;\n\t\tyyPos=p.yyPos;\n\t\txxVel=p.xxVel;\n\t\tyyVel=p.yyVel;\n\t\tmass=p.mass;\n\t\timgFileName=p.imgFileName;\n\t}",
"private ThreePP createThreePP(String[] mavenCoord) {\n String vendor = mavenCoord[0];\n String product = mavenCoord[1];\n String version = mavenCoord[2];\n String url = String.format(mvnUrlFormat, vendor, product, version);\n if(vendor.startsWith(\"com.\")){\n vendor = vendor.replaceFirst(\"^com.\", \"\");\n }else if(vendor.startsWith(\"org.\")){\n vendor = vendor.replaceFirst(\"^org.\", \"\");\n }\n String cpe = String.format(\"cpe:2.3:a:%s:%s:%s:*:*:*:*:linux:*:*\", vendor, product, version);\n ThreePP threePP = new ThreePP(cpe);\n threePP.setWebLink(url);\n return threePP;\n }",
"public Market() {\n }",
"public Builder clearParking() {\n if (parkingBuilder_ == null) {\n parking_ = lanyotech.cn.park.protoc.ParkingProtoc.Parking.getDefaultInstance();\n onChanged();\n } else {\n parkingBuilder_.clear();\n }\n bitField0_ = (bitField0_ & ~0x00000001);\n return this;\n }",
"public Plot() {\r\n }",
"public BasicKPartiteGraph(String name, int K) {\n\t\tsuper(name);\n\n\t\tthis.K = K;\n\t\tpartitionMap = new HashMap<NodeType,PartitionType>();\n\t}",
"public Pitonyak_09_02() {\r\n }",
"public Point() {\n }",
"public Point() {\n }",
"public PIDElevator() {\n \tsuper(\"PIDElevator\", Kp, Ki, Kd);\n \tenco = new Encoder(RobotMap.ENCODER_A_CHANNEL, RobotMap.ENCODER_B_CHANNEL, true);\n enco.reset();\n \n //outputOne = new DigitalOutput(RobotMap.ARDUINO_PIN_ONE);\n //outputTwo = new DigitalOutput(RobotMap.ARDUINO_PIN_TWO);\n //outputThree = new DigitalOutput(RobotMap.ARDUINO_PIN_THREE);\n\n \t\n \tsetAbsoluteTolerance(10);\n \tgetPIDController().setContinuous(false);\n // Use these to get going:\n // setSetpoint() - Sets where the PID controller should move the system\n // to\n // enable() - Enables the PID controller.\n \televMotor = new CANTalon(RobotMap.ELEV_TALON);\n \t\n //button = new DigitalInput(0); \n \tbottom_hallEffect = new DigitalInput(RobotMap.HALL_EFFECT_PORT);\n \ttop_limitSwitch = new DigitalInput(RobotMap.TOP_LIMIT_SWITCH);\n \t\n \t//wire = new I2C(Port.kOnboard, 4);\n \t\n \tBrakeEngaged = new Solenoid(1, RobotMap.BRAKE_IN);\n \tBrakeDisengaged = new Solenoid(1, RobotMap.BRAKE_OUT);\n \tenable();\n }",
"public Portfolio(){\n }",
"public NearestParksController() {\n this.bn = new BicycleNetwork();\n this.pf = new LocationFacade();\n // this.bn.loadData();\n }"
] |
[
"0.7127305",
"0.65983367",
"0.6533802",
"0.6202329",
"0.61468774",
"0.60969996",
"0.6096467",
"0.5960005",
"0.58706903",
"0.58674246",
"0.5831411",
"0.5792651",
"0.5762711",
"0.57545346",
"0.5731484",
"0.5730789",
"0.57132846",
"0.56824416",
"0.556196",
"0.5547345",
"0.5542265",
"0.55310214",
"0.55244505",
"0.55207485",
"0.551445",
"0.54892254",
"0.5457702",
"0.5415263",
"0.5399927",
"0.5380629",
"0.537614",
"0.53734124",
"0.53464025",
"0.5339803",
"0.5331969",
"0.5328953",
"0.53217626",
"0.5289441",
"0.5281102",
"0.5280071",
"0.5258067",
"0.5243467",
"0.5210764",
"0.5201749",
"0.51967394",
"0.51888657",
"0.5183919",
"0.5178504",
"0.51767534",
"0.5173385",
"0.5170194",
"0.5165361",
"0.515178",
"0.51477736",
"0.51384073",
"0.5135553",
"0.5133902",
"0.512811",
"0.5126299",
"0.5117664",
"0.51119125",
"0.51109993",
"0.5102609",
"0.51007223",
"0.508631",
"0.50845957",
"0.50798064",
"0.5076223",
"0.5072223",
"0.5065636",
"0.50583935",
"0.505385",
"0.5053268",
"0.50497144",
"0.5036557",
"0.50346607",
"0.5034573",
"0.50297767",
"0.5025505",
"0.5025332",
"0.50246984",
"0.5019862",
"0.50189435",
"0.5017911",
"0.5013118",
"0.5002844",
"0.5001773",
"0.49910834",
"0.4987179",
"0.49868953",
"0.4986332",
"0.4983589",
"0.4980605",
"0.49797642",
"0.496616",
"0.495878",
"0.495878",
"0.49554884",
"0.4944743",
"0.49437815"
] |
0.6041205
|
7
|
Mergeable defines an equivalent relation: canMerge and corresponding method for two object that can merge.
|
public interface Mergeable<T extends Mergeable<T>> {
/**
* Determines whether this object and the given can be merged,
*
* @param x
* @return
*/
boolean canMerge(T x);
/**
* Merges two objects, throws an exception if canMerge(x) returns false.
*
* @param x
* @return
*/
T merge(T x);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean canMerge(Item other);",
"boolean canMerge(T x);",
"public interface Mergeable<T extends Mergeable>\n{\n /**\n * Performs merge of this object with another object of the same type.\n * Returns this object as a result of the performed merge.\n *\n * @param object object to merge into this one\n * @return this object as a result of the performed merge\n */\n public T merge ( T object );\n}",
"@Override\n public abstract void merge(Mergeable merge);",
"@Override\n public boolean canBeMerged(AuditRefuseBackup o) {\n return true;\n }",
"public boolean canBeMerged(Releaseplan entity) {\r\n\t\treturn true;\r\n\t}",
"boolean isMergeInNonCallableSupported();",
"public boolean canBeMerged(SchoolCourseStudent entity) {\r\n\t\treturn true;\r\n\t}",
"public boolean canBeMerged(TAssignmentGradingAttachment entity) {\r\n\t\treturn true;\r\n\t}",
"boolean isMerged();",
"public void testIsMergeableElement() throws Exception {\n assertFalse(cfg.isMergeableElement(\"font\"));\n cfg.addMergeableElement(\"font\");\n assertTrue(cfg.isMergeableElement(\"font\"));\n\n cfg.addMergeableElement(\"mergeable\");\n assertTrue(cfg.isMergeableElement(\"font\"));\n assertTrue(cfg.isMergeableElement(\"mergeable\"));\n }",
"@Override\n\tpublic boolean mergeWith(BUEdge other) {\n\t\t// TODO Auto-generated method stub\n\t\treturn false;\n\t}",
"public abstract boolean isAssignable();",
"@Override\n\tprotected void merge(Object in1, Object in2, Object out) {\n\t\t\n\t}",
"public boolean canBeMerged(MInspectSetting entity) {\n\t\treturn true;\n\t}",
"public boolean canBeMerged(VendorLocations entity) {\n\t\treturn true;\n\t}",
"public interface Combine<T> {\n\n public T combineWith(T other);\n\n public void mergeFrom(T other);\n\n}",
"@Override\n public abstract boolean isAssignableBy(ResolvedType other);",
"public interface MergeDataListener {\n\n public void beginToMergeEntity(BaseEntity entity);\n\n public void mergeEntityResult(BaseEntity entity, boolean successful, DeepThoughtError error);\n\n public void addingEntitiesDone(boolean successful, List<BaseEntity> entitiesSucceededToInsert, List<BaseEntity> entitiesFailedToInsert);\n\n}",
"public boolean assignableTo(Type other) throws LookupException;",
"public interface HasRelation {\r\n\r\n\tpublic boolean addRelation(Relation relation);\r\n\tpublic boolean removeRelation(Relation relation);\r\n\tpublic List<Relation> getRelations();\r\n}",
"public boolean isCloneable()\n {\n return leftOperand.isCloneable() && rightOperand.isCloneable();\n }",
"public ValidationResult validateMerge(Concept concept1,\n Concept concept2);",
"public PropertyMergeMode mergeMode() {\n return mergeMode;\n }",
"public Item merge(Item other);",
"public T merge ( T object );",
"@Override\n public boolean supportsUnionAll() {\n return true;\n }",
"public interface IMergableGridCell<T> extends IGridCell<T> {\n\n /**\n * Whether the cell in a merged state\n * @return true if merged\n */\n boolean isMerged();\n\n /**\n * Return the number of cells merged into this cell. For cells that are at the top\n * of a merged block this should be the number of merged cells, including this cell.\n * For cells that are not the top of a merged block but are contained in a merged\n * block this should return zero. For non-merged cells this should return one.\n * @return The number of cells merged into this cell, or zero if part of a merged block or one if not merged.\n */\n int getMergedCellCount();\n\n /**\n * Whether the cell is collapsed. For cells that are at the top of a collapsed\n * block this should return false. For cells that are not the top of a collapsed block\n * but are contained in a collapsed block this should return false.\n * @return true is collapsed.\n */\n boolean isCollapsed();\n\n /**\n * Collapse the cell.\n */\n void collapse();\n\n /**\n * Expand the cell.\n */\n void expand();\n\n /**\n * Reset the cell to a non-merged, non-collapsed state.\n */\n void reset();\n\n}",
"@Override\n public MergeOperator getMergeOperator() {\n return null;\n }",
"void merge(T other);",
"public boolean containsRelations();",
"public interface MergableProperties {\n\n\t/**\n\t * A variation of {@link BeanUtils#copyProperties(Object, Object)} specifically designed to copy properties using the following rule:\n\t *\n\t * - If source property is null then override with the same from mergable.\n\t * - If source property is an array and it is empty then override with same from mergable.\n\t * - If source property is mergable then merge.\n\t */\n\tdefault void merge(MergableProperties mergable) {\n\t\tif (mergable == null) {\n\t\t\treturn;\n\t\t}\n\t\tfor (PropertyDescriptor targetPd : BeanUtils.getPropertyDescriptors(mergable.getClass())) {\n\t\t\tMethod writeMethod = targetPd.getWriteMethod();\n\t\t\tif (writeMethod != null) {\n\t\t\t\tPropertyDescriptor sourcePd = BeanUtils.getPropertyDescriptor(this.getClass(), targetPd.getName());\n\t\t\t\tif (sourcePd != null) {\n\t\t\t\t\tMethod readMethod = sourcePd.getReadMethod();\n\t\t\t\t\tif (readMethod != null &&\n\t\t\t\t\t\t\tClassUtils.isAssignable(writeMethod.getParameterTypes()[0], readMethod.getReturnType())) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!Modifier.isPublic(readMethod.getDeclaringClass().getModifiers())) {\n\t\t\t\t\t\t\t\treadMethod.setAccessible(true);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tObject value = readMethod.invoke(this);\n\t\t\t\t\t\t\tif (value != null) {\n\t\t\t\t\t\t\t\tif (value instanceof MergableProperties) {\n\t\t\t\t\t\t\t\t\t((MergableProperties)value).merge((MergableProperties)readMethod.invoke(mergable));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\tObject v = readMethod.invoke(mergable);\n\t\t\t\t\t\t\t\t\tif (v == null || (ObjectUtils.isArray(v) && ObjectUtils.isEmpty(v))) {\n\t\t\t\t\t\t\t\t\t\tif (!Modifier.isPublic(writeMethod.getDeclaringClass().getModifiers())) {\n\t\t\t\t\t\t\t\t\t\t\twriteMethod.setAccessible(true);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\twriteMethod.invoke(mergable, value);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch (Throwable ex) {\n\t\t\t\t\t\t\tthrow new FatalBeanException(\n\t\t\t\t\t\t\t\t\t\"Could not copy property '\" + targetPd.getName() + \"' from source to target\", ex);\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}\n\n\tdefault void copyProperties(Object source, Object target) throws BeansException {\n\n\t}\n}",
"public boolean isCompliedWith(MModelElement modelElement) {\n\n\t\t//The now possible range is All that's no restriction, so I don't need to check this.\n\n\t\t// check base class\n\t\tif (!BaseClasses.objectMatchsType(modelElement, this.getBaseClass())) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn super.isCompliedWith(modelElement);\n\t}",
"@Override // com.google.common.base.Equivalence\n public boolean doEquivalent(Object a, Object b) {\n return false;\n }",
"@Override\n public abstract boolean isAssignableBy(TypeUsage other);",
"boolean shouldMerge() {\n return mergeState.segmentInfo.getDocCount() > 0;\n }",
"boolean hasMergeStore();",
"private Boolean areCompatible(Class a, Class b) {\n return (a.isAssignableFrom(b) || b.isAssignableFrom(a));\n }",
"public void merge(T entity) {\n\t\t\n\t}",
"public Object merge(Object obj) throws HibException;",
"private boolean isSafeAccessAfterMerge(SootClass to, SootClass from){\n if(to.getPackageName().equals(from.getPackageName())){\n return true;\n }\n\n //Is the class to be merged package-private?\n if(SootUtils.isPackagePrivate(from)){\n return false;\n }\n\n //Are any of the fields package-private or are types that are package-private?\n for(SootField sootField: from.getFields()){\n if(SootUtils.isPackagePrivate(sootField)){\n return false;\n }\n\n SootClass type = Scene.v().getSootClass(sootField.getType().toString());\n if(SootUtils.isPackagePrivate(type)){\n return false;\n }\n }\n\n //Are any of the methods package-private?\n for(SootMethod sootMethod : from.getMethods()){\n\n if(SootUtils.isPackagePrivate(sootMethod)){\n return false;\n }\n\n\t\t\tif(sootMethod.isAbstract() || sootMethod.isNative()){\n\t\t\t\tcontinue;\n\t\t\t}\n\n //Does any method contain reference to a package-private class, method, or field?\n Body b = sootMethod.retrieveActiveBody();\n for(Unit unit : b.getUnits()) {\n Stmt stmt = (Stmt) unit;\n if (stmt.containsInvokeExpr()) {\n\t\t\t\t\tInvokeExpr callExpr = stmt.getInvokeExpr();\n\t\t\t\t\tSootMethodRef smf = callExpr.getMethodRef();\n\t\t\t\t\tSootClass sootClass = smf.getDeclaringClass();\n\t\t\t\t\tSootMethod invokedMethod = smf.tryResolve();\n\t\t\t\t\tif(invokedMethod == null){\n\t\t\t\t\t\t//At this level we cannot always resolve virtual methods unfortunately.\n\t\t\t\t\t\t//I don't know as of yet how this may affect this check.\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif (SootUtils.isPackagePrivate(invokedMethod)) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tif (SootUtils.isPackagePrivate(sootClass)) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n } else if(stmt.containsFieldRef()){\n FieldRef fieldRef = stmt.getFieldRef();\n SootField sootField = fieldRef.getField();\n if(SootUtils.isPackagePrivate(sootField)){\n return false;\n }\n }\n }\n\n }\n\n return true;\n }",
"@Override\n public boolean updateBase(TFollowPersonVo source, TFollowPersonVo target) {\n\n return dao.updateBase(source, target) > 0 ? true : false;\n\n }",
"@Override\n\tpublic boolean combine(EHICommand anotherCommand) {\n\t\treturn false;\n\t}",
"public interface Joinable<D, R> extends Function<D, R> {\n\n /**\n * Applies this function to the given argument.\n *\n * @param d The {@code nullable} function argument\n * @return The function result\n */\n @Override\n @Nullable\n R apply(@Nullable D d);\n\n /** Send a result of the first function to the next one.\n * @param <F> A final result type\n * @param next Next function\n * @return If a result of the first function is {@code null} than the final result is {@code null} too.\n */\n @Nullable\n default <F> Joinable<D, F> add(@NotNull final Joinable<R, F> next) {\n return (D d) -> {\n final R value = apply(d);\n return value != null ? next.apply(value) : null;\n };\n }\n\n /** Create a joinable function\n *\n * @param <D> Domain value\n * @param <R> Result value\n * @param fce An original function\n * @return The new object type of Function\n */\n @NotNull\n static <D, R> Joinable<D, R> of(@NotNull final Function<D, R> fce) {\n return (D d) -> d != null ? fce.apply(d) : null;\n }\n}",
"@Override\n protected void mergeModel_Organization( Model target, Model source, boolean sourceDominant,\n Map<Object, Object> context )\n {\n Organization src = source.getOrganization();\n if ( source.getOrganization() != null )\n {\n Organization tgt = target.getOrganization();\n if ( tgt == null )\n {\n target.setOrganization( tgt = new Organization() );\n mergeOrganization( tgt, src, sourceDominant, context );\n }\n }\n }",
"public boolean supportsUnionAll() {\n \t\treturn false;\n \t}",
"boolean hasRelation();",
"public void setUnmergeable() {\n\t\tthis.unmergeable = true;\n\t}",
"protected boolean isLinkedWithEditor() {\n return modes.get(BCOConstants.F_LINK_VIEW_TO_EDITOR);\n }",
"@Override\n\tpublic <T> T merge(T entity) {\n\t\treturn null;\n\t}",
"public static void test_merge() {\n assertThat(merge(new int[] {0, 1}, new int[] {2, 3})).isFalse();\n assertThat(merge(new int[] {2, 3}, new int[] {0, 1})).isFalse();\n\n // a0 b0 b1 a1\n // a0 b0 a1 b1\n assertThat(merge(new int[] {0, 1}, new int[] {0, 1})).isTrue();\n assertThat(merge(new int[] {0, 1}, new int[] {0, 2})).isTrue();\n assertThat(merge(new int[] {0, 1}, new int[] {1, 2})).isTrue();\n assertThat(merge(new int[] {0, 2}, new int[] {1, 3})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 2})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 3})).isTrue();\n\n // b0 a0 a1 b1\n // b0 a0 b1 a1\n assertThat(merge(new int[] {0, 3}, new int[] {0, 2})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 2})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 3})).isTrue();\n assertThat(merge(new int[] {1, 2}, new int[] {0, 3})).isTrue();\n }",
"public void mergeMode(PropertyMergeMode mergeMode) {\n this.mergeMode = mergeMode;\n }",
"@Override\n\tpublic boolean isShareable() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isShareable() {\n\t\treturn false;\n\t}",
"@Override \r\n\tpublic boolean apply(Object key, BinaryObject other) {\n \tif (this.matches(other, query)) {\r\n return true;\r\n }\r\n \treturn false;\r\n }",
"public boolean a(Comparable<?> comparable) {\n return false;\n }",
"public boolean mergeIfPossible(Line other) {\n\t\tif (hasConnection(other)) {\n\t\t\tthis.xEndValue = xEndValue > other.xEndValue ? xEndValue : other.xEndValue;\n\t\t\tthis.xStartValue = xStartValue < other.xStartValue ? xStartValue : other.xStartValue;\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}",
"public abstract void merge (org.apache.spark.sql.expressions.MutableAggregationBuffer buffer1, org.apache.spark.sql.Row buffer2) ;",
"public interface AddressableUser extends User, Addressable {\n}",
"public T caseMerge(Merge object) {\n\t\treturn null;\n\t}",
"public interface MergeHandler {\n //~ Methods ----------------------------------------------------------------------------------------------------------\n\n /**\n * Retrieve any child merge handlers associated with this handler. Child merge handlers may be added alter merge\n * behavior for a subsection of the merge area defined by this merge handler.\n *\n * @return child merge handlers\n */\n MergeHandler[] getChildren();\n\n //~ ------------------------------------------------------------------------------------------------------------------\n\n /**\n * Retrieve the name associated with this merge handlers. Merge handler names are period-delimited numeric strings\n * that define the hierarchical relationship of mergehandlers and their children. For example, \"2\" could be used to\n * define the second handler in the configuration list and \"2.1\" would be the name describing the first child handler\n * of \"2\".\n *\n * @return the period-delimited numeric string that names this handler\n */\n String getName();\n\n //~ ------------------------------------------------------------------------------------------------------------------\n\n /**\n * Retrieve the priority for the handler. Priorities are used by the MergeManager to establish the order of operations\n * for performing merges.\n *\n * @return the priority value\n */\n int getPriority();\n\n //~ ------------------------------------------------------------------------------------------------------------------\n\n /**\n * Retrieve the XPath query associated with this handler. XPath is used by the handler to define to section of the\n * source and patch documents that will be merged.\n *\n * @return the xpath query\n */\n String getXPath();\n\n //~ ------------------------------------------------------------------------------------------------------------------\n\n /**\n * Perform the merge using the supplied list of nodes from the source and patch documents, respectively. Also, a list\n * of nodes that have already been merged is provided and may be used by the implementation when necessary.\n *\n * @param nodeList1 list of nodes to be merged from the source document\n * @param nodeList2 list of nodes to be merged form the patch document\n * @param exhaustedNodes already merged nodes\n *\n * @return list of merged nodes\n */\n Node[] merge(List<Node> nodeList1, List<Node> nodeList2, List<Node> exhaustedNodes);\n\n //~ ------------------------------------------------------------------------------------------------------------------\n\n /**\n * Set the child merge handlers.\n *\n * @param children DOCUMENT ME!\n */\n void setChildren(MergeHandler[] children);\n\n //~ ------------------------------------------------------------------------------------------------------------------\n\n /**\n * Set the period-delimited numeric string that names this handler.\n *\n * @param name DOCUMENT ME!\n */\n void setName(String name);\n\n //~ ------------------------------------------------------------------------------------------------------------------\n\n /**\n * Set the priority for this handler.\n *\n * @param priority DOCUMENT ME!\n */\n void setPriority(int priority);\n\n //~ ------------------------------------------------------------------------------------------------------------------\n\n /**\n * Set the xpath query.\n *\n * @param xpath DOCUMENT ME!\n */\n void setXPath(String xpath);\n\n}",
"public boolean a(Comparable<?> comparable) {\n return true;\n }",
"@Override\n\tpublic boolean canBeCollidedWith()\n\t{\n\t\treturn false;\n\t}",
"void merge();",
"public boolean isWriteable();",
"boolean isOneToMany();",
"@ApiStatus.Internal\n default boolean isMappable() {\n \n return false;\n }",
"boolean canSupportEntity(Entity a);",
"public Boolean isParentable();",
"@Override\n\tpublic boolean canApply() {\n\t\tif ((this.alignment.getFlowA().getName().toLowerCase().contains(\"basic flow\") \n\t\t\t&& this.alignment.getFlowB().getName().toLowerCase().contains(\"basic flow\"))\n\t\t\t&& (this.alignment.getSimilarBlocksFromA().size()>1\n\t\t\t&& this.alignment.getSimilarBlocksFromB().size()>1)){\n\t\t\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"T merge(T x);",
"@Override\n public ILogical or(ILogical operador) {\n return operador.orBinary(this);\n }",
"@NonNullByDefault\npublic interface ILinkingCandidate {\n\n\t/**\n\t * Apply this candidate to the current computation state model. This propagates\n\t * the type information about arguments and child expressions to the\n\t * currently active resolution state.\n\t */\n\tvoid applyToComputationState();\n\t\n\t/**\n\t * Injects the resolved feature into the model with the same semantics as the implicit\n\t * {@link EcoreUtil#resolve(org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject) resolve}\n\t * of EMF. This implies that the linked feature call may still point to a proxy afterwards.\n\t */\n\tvoid applyToModel();\n\t\n\t// TODO we should use a smarter acceptor here\n\t// e.g. it should be possible to suppress diagnostics for children of certain expresions\n\t// and therefore it should expose something like 'isSuppressed()'\n\t/**\n\t * Produce diagnostics for this condidate. It is not the responsibility of this\n\t * candidate to propagate the acceptor to its children.\n\t * @return <code>true</code> if further validation should be performed.\n\t */\n\tboolean validate(IAcceptor<? super AbstractDiagnostic> result);\n\t\n\t/**\n\t * Produces the best candidate for the current two candidates. It may turn out\n\t * that both candidates (<code>this</code> and <code>other</code>) are ambiguous \n\t * so no prefered candidate can be chosen. In that case, a new linking candidate\n\t * may be produced that carries this information and will use that on {@link #applyToComputationState()},\n\t * {@link #applyToModel()}, and {@link #validate(IAcceptor)}.\n\t */\n\tILinkingCandidate getPreferredCandidate(ILinkingCandidate other);\n\t\n\t/**\n\t * The currently considered feature (if any). Otherwise <code>null</code>.\n\t */\n\t@Nullable JvmIdentifiableElement getFeature();\n\t\n\t/**\n\t * The current expression that shall be linked.\n\t */\n\tXExpression getExpression();\n\t\n\t/**\n\t * The resolved type arguments.\n\t */\n\tList<LightweightTypeReference> getTypeArguments();\n\n}",
"@Override\r\n\tpublic boolean canMergeSlot(ItemStack stack, Slot p_94530_2_)\r\n {\r\n return p_94530_2_.inventory != this.craftResult && super.canMergeSlot(stack, p_94530_2_);\r\n }",
"public final boolean isAssignable() {\n return isAssignable;\n }",
"@Override\n\tpublic boolean mergeData(Object o)\n\t{\n\t\tEventAreaCell_mergeDo data = (EventAreaCell_mergeDo) o;\n\t\tfor (int i = 0; i < data.areaCell.fvalue.length; i++)\n\t\t{\n\t\t\tif(data.areaCell.fvalue[i] > 0)\n\t\t\t{\n\t\t\t\tif(areaCell.fvalue[i] < 0){\n\t\t\t\t\tareaCell.fvalue[i] = data.areaCell.fvalue[i];\n\t\t\t\t}else{\n\t\t\t\t\tareaCell.fvalue[i] += data.areaCell.fvalue[i];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"public interface Collidable {\r\n\t\r\n\t/** @return {@link Rectangle} representing the Collidables bounding box. */\r\n\tpublic Rectangle getBounds();\r\n\t\r\n\t/** Should be called if a collision has occured between this Collidable and another. Typically collision involves a comparison\r\n\t * between this object and others bounding boxes.\r\n\t * @param collider Reference to the other Collider this object has collided with. */\r\n\tpublic void collision(Collidable collider);\r\n\r\n}",
"default boolean compatibleWith(Conf other) { return equals(other); }",
"@Override\n public boolean equals(Object obj) {\n if (this == obj) {\n return true;\n }\n if (obj == null) {\n return false;\n }\n if (getClass() != obj.getClass()) {\n return false;\n }\n final Libro other = (Libro) obj;\n if (this.descargable != other.descargable) {\n return false;\n }\n if (!Objects.equals(this.titulo, other.titulo)) {\n return false;\n }\n if (!Objects.equals(this.autor, other.autor)) {\n return false;\n }\n if (!Objects.equals(this.editorial, other.editorial)) {\n return false;\n }\n if (!Objects.equals(this.genero, other.genero)) {\n return false;\n }\n if (!Objects.equals(this.linkDescarga, other.linkDescarga)) {\n return false;\n }\n if (!Objects.equals(this.idLibro, other.idLibro)) {\n return false;\n }\n if (!Objects.equals(this.isbn, other.isbn)) {\n return false;\n }\n if (!Objects.equals(this.cantidadTotal, other.cantidadTotal)) {\n return false;\n }\n if (!Objects.equals(this.cantidadDisponible, other.cantidadDisponible)) {\n return false;\n }\n if (!Objects.equals(this.bibliotecario, other.bibliotecario)) {\n return false;\n }\n return true;\n }",
"public boolean containsIncomingRelations();",
"@Override\n public boolean updateBaseIncludeNull(TFollowPersonVo source, TFollowPersonVo target) {\n\n return dao.updateBaseIncludeNull(source, target) > 0 ? true : false;\n\n }",
"public boolean isComposite();",
"public boolean canShare();",
"public boolean canBeCollidedWith() {\n\t\treturn false;\n\t}",
"private boolean isConnectable (RoadInterface newObj) {\n boolean result = false;\n if (newObj instanceof Intersection) {\n result = true;\n }\n return (result);\n }",
"@Override\n\tpublic boolean movable(Entity obj) {\n\t\treturn true;\n\t}",
"public boolean isCompatible() {\n if (this == ANY) {\n return true;\n }\n Arch arch = getCurrentArch();\n return this == arch;\n }",
"public void mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager) {\n if (!mergeManager.shouldCascadeReferences()) {\n // This is only going to happen on mergeClone, and we should not attempt to merge the reference\n return;\n }\n\n ContainerPolicy containerPolicy = getContainerPolicy();\n Object valueOfSource = getRealCollectionAttributeValueFromObject(source, mergeManager.getSession());\n Object valueOfTarget = containerPolicy.containerInstance(containerPolicy.sizeFor(valueOfSource));\n for (Object sourceValuesIterator = containerPolicy.iteratorFor(valueOfSource);\n containerPolicy.hasNext(sourceValuesIterator);) {\n Object sourceValue = containerPolicy.next(sourceValuesIterator, mergeManager.getSession());\n\n //CR#2896 - TW\n Object originalValue = getReferenceDescriptor(sourceValue.getClass(), mergeManager.getSession()).getObjectBuilder().buildNewInstance();\n getReferenceDescriptor(sourceValue.getClass(), mergeManager.getSession()).getObjectBuilder().mergeIntoObject(originalValue, true, sourceValue, mergeManager);\n containerPolicy.addInto(originalValue, valueOfTarget, mergeManager.getSession());\n }\n\n // Must re-set variable to allow for set method to re-morph changes if the collection is not being stored directly.\n setRealAttributeValueInObject(target, valueOfTarget);\n }",
"@Override // com.google.common.base.Equivalence\n public boolean doEquivalent(Object a, Object b) {\n return a.equals(b);\n }",
"public boolean merge(int i, Object b) {\n if (b == null) return false;\n Object a = this.registers[i];\n if (b.equals(a)) return false;\n Set q;\n if (!(a instanceof Set)) {\n this.registers[i] = q = NodeSet.FACTORY.makeSet();\n if (a != null) q.add(a);\n } else {\n q = (Set)a;\n }\n if (b instanceof Set) {\n if (q.addAll((Set)b)) {\n if (TRACE_INTRA) out.println(\"change in register \"+i+\" from adding set\");\n return true;\n }\n } else {\n if (q.add(b)) {\n if (TRACE_INTRA) out.println(\"change in register \"+i+\" from adding \"+b);\n return true;\n }\n }\n return false;\n }",
"public abstract boolean isPassable();",
"public abstract boolean collisionWith(CollisionObject obj);",
"protected boolean afterMerge() throws DBSIOException{return true;}",
"protected abstract boolean supportsForUpdate();",
"public interface Serializer extends Deserialize, Serialize {\n\n}",
"@Override\n boolean doIsAssignableFromNonUnionType(SoyType srcType) {\n return false;\n }",
"public CompletableOnSubscribeMerge(dji.thirdparty.rx.Observable<? extends dji.thirdparty.rx.Completable> r1, int r2, boolean r3) {\n /*\n r0 = this;\n r0.<init>()\n r0.source = r1\n r0.maxConcurrency = r2\n r0.delayErrors = r3\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: dji.thirdparty.rx.internal.operators.CompletableOnSubscribeMerge.<init>(dji.thirdparty.rx.Observable, int, boolean):void\");\n }",
"public abstract boolean isUsable();",
"public RelationIsA() {\r\n\t\tsuper();\r\n\t}",
"@Override\n protected void mergeModelBase_Repositories( ModelBase target, ModelBase source, boolean sourceDominant,\n Map<Object, Object> context )\n {\n List<Repository> src = source.getRepositories();\n if ( !src.isEmpty() )\n {\n List<Repository> tgt = target.getRepositories();\n Map<Object, Repository> merged = new LinkedHashMap<Object, Repository>( ( src.size() + tgt.size() ) * 2 );\n \n List<Repository> dominant, recessive;\n if ( sourceDominant )\n {\n dominant = src;\n recessive = tgt;\n }\n else\n {\n dominant = tgt;\n recessive = src;\n }\n \n for ( Iterator<Repository> it = dominant.iterator(); it.hasNext(); )\n {\n Repository element = it.next();\n Object key = getRepositoryKey( element );\n merged.put( key, element );\n }\n \n for ( Iterator<Repository> it = recessive.iterator(); it.hasNext(); )\n {\n Repository element = it.next();\n Object key = getRepositoryKey( element );\n if ( !merged.containsKey( key ) )\n {\n merged.put( key, element );\n }\n }\n \n target.setRepositories( new ArrayList<Repository>( merged.values() ) );\n }\n }"
] |
[
"0.7210415",
"0.6896268",
"0.6642484",
"0.6406813",
"0.60980976",
"0.6002686",
"0.5938131",
"0.57872593",
"0.5753737",
"0.5708611",
"0.5647424",
"0.55946666",
"0.5532582",
"0.5528082",
"0.54901147",
"0.54554296",
"0.5276483",
"0.52436817",
"0.519607",
"0.51931274",
"0.51066524",
"0.5077785",
"0.5055699",
"0.5048917",
"0.50205207",
"0.50179696",
"0.50146806",
"0.4992013",
"0.49852252",
"0.49770263",
"0.49491125",
"0.49406022",
"0.49381596",
"0.49218464",
"0.48726127",
"0.48694432",
"0.48504108",
"0.48391864",
"0.4821241",
"0.48165283",
"0.48017707",
"0.4790537",
"0.47899604",
"0.47896856",
"0.47833076",
"0.476464",
"0.47375762",
"0.47274244",
"0.47150117",
"0.47082075",
"0.47070587",
"0.4699724",
"0.46983656",
"0.46983656",
"0.4686982",
"0.46836534",
"0.46782103",
"0.4673462",
"0.4668964",
"0.46210995",
"0.46161208",
"0.4615676",
"0.46133626",
"0.46130726",
"0.46112135",
"0.4606818",
"0.46053112",
"0.46000284",
"0.4596416",
"0.45940423",
"0.45882264",
"0.45812508",
"0.45633805",
"0.45509443",
"0.45436874",
"0.45391786",
"0.45354936",
"0.4520196",
"0.45103592",
"0.4503038",
"0.44902033",
"0.44900864",
"0.44877335",
"0.44823122",
"0.44777873",
"0.4474655",
"0.44696125",
"0.4469095",
"0.4468446",
"0.44650355",
"0.44605494",
"0.4460208",
"0.44560045",
"0.4452609",
"0.44484898",
"0.4447632",
"0.44471928",
"0.44442534",
"0.4437272",
"0.44312218"
] |
0.74815345
|
0
|
Determines whether this object and the given can be merged,
|
boolean canMerge(T x);
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean canMerge(Item other);",
"boolean isMerged();",
"public boolean canBeMerged(Releaseplan entity) {\r\n\t\treturn true;\r\n\t}",
"public boolean canBeMerged(MInspectSetting entity) {\n\t\treturn true;\n\t}",
"public boolean canBeMerged(SchoolCourseStudent entity) {\r\n\t\treturn true;\r\n\t}",
"public boolean canBeMerged(VendorLocations entity) {\n\t\treturn true;\n\t}",
"public boolean canBeMerged(TAssignmentGradingAttachment entity) {\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean canBeMerged(AuditRefuseBackup o) {\n return true;\n }",
"boolean shouldMerge() {\n return mergeState.segmentInfo.getDocCount() > 0;\n }",
"boolean isMergeInNonCallableSupported();",
"public static void test_merge() {\n assertThat(merge(new int[] {0, 1}, new int[] {2, 3})).isFalse();\n assertThat(merge(new int[] {2, 3}, new int[] {0, 1})).isFalse();\n\n // a0 b0 b1 a1\n // a0 b0 a1 b1\n assertThat(merge(new int[] {0, 1}, new int[] {0, 1})).isTrue();\n assertThat(merge(new int[] {0, 1}, new int[] {0, 2})).isTrue();\n assertThat(merge(new int[] {0, 1}, new int[] {1, 2})).isTrue();\n assertThat(merge(new int[] {0, 2}, new int[] {1, 3})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 2})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 3})).isTrue();\n\n // b0 a0 a1 b1\n // b0 a0 b1 a1\n assertThat(merge(new int[] {0, 3}, new int[] {0, 2})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 2})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 3})).isTrue();\n assertThat(merge(new int[] {1, 2}, new int[] {0, 3})).isTrue();\n }",
"public interface Mergeable<T extends Mergeable<T>> {\n /**\n * Determines whether this object and the given can be merged,\n *\n * @param x\n * @return\n */\n boolean canMerge(T x);\n\n /**\n * Merges two objects, throws an exception if canMerge(x) returns false.\n *\n * @param x\n * @return\n */\n T merge(T x);\n}",
"boolean mergeResources() {\n return mergeResources == null ? !developerMode : mergeResources;\n }",
"@Override\n\tpublic boolean canApply() {\n\t\tif ((this.alignment.getFlowA().getName().toLowerCase().contains(\"basic flow\") \n\t\t\t&& this.alignment.getFlowB().getName().toLowerCase().contains(\"basic flow\"))\n\t\t\t&& (this.alignment.getSimilarBlocksFromA().size()>1\n\t\t\t&& this.alignment.getSimilarBlocksFromB().size()>1)){\n\t\t\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean areOverlapping() {\n return areOverlapping;\n }",
"boolean isSetCombine();",
"public boolean isCompliedWith(MModelElement modelElement) {\n\n\t\t//The now possible range is All that's no restriction, so I don't need to check this.\n\n\t\t// check base class\n\t\tif (!BaseClasses.objectMatchsType(modelElement, this.getBaseClass())) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn super.isCompliedWith(modelElement);\n\t}",
"public boolean isCombined() {\r\n\t\treturn combined;\r\n\t}",
"private Boolean areCompatible(Class a, Class b) {\n return (a.isAssignableFrom(b) || b.isAssignableFrom(a));\n }",
"private boolean isSafeAccessAfterMerge(SootClass to, SootClass from){\n if(to.getPackageName().equals(from.getPackageName())){\n return true;\n }\n\n //Is the class to be merged package-private?\n if(SootUtils.isPackagePrivate(from)){\n return false;\n }\n\n //Are any of the fields package-private or are types that are package-private?\n for(SootField sootField: from.getFields()){\n if(SootUtils.isPackagePrivate(sootField)){\n return false;\n }\n\n SootClass type = Scene.v().getSootClass(sootField.getType().toString());\n if(SootUtils.isPackagePrivate(type)){\n return false;\n }\n }\n\n //Are any of the methods package-private?\n for(SootMethod sootMethod : from.getMethods()){\n\n if(SootUtils.isPackagePrivate(sootMethod)){\n return false;\n }\n\n\t\t\tif(sootMethod.isAbstract() || sootMethod.isNative()){\n\t\t\t\tcontinue;\n\t\t\t}\n\n //Does any method contain reference to a package-private class, method, or field?\n Body b = sootMethod.retrieveActiveBody();\n for(Unit unit : b.getUnits()) {\n Stmt stmt = (Stmt) unit;\n if (stmt.containsInvokeExpr()) {\n\t\t\t\t\tInvokeExpr callExpr = stmt.getInvokeExpr();\n\t\t\t\t\tSootMethodRef smf = callExpr.getMethodRef();\n\t\t\t\t\tSootClass sootClass = smf.getDeclaringClass();\n\t\t\t\t\tSootMethod invokedMethod = smf.tryResolve();\n\t\t\t\t\tif(invokedMethod == null){\n\t\t\t\t\t\t//At this level we cannot always resolve virtual methods unfortunately.\n\t\t\t\t\t\t//I don't know as of yet how this may affect this check.\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif (SootUtils.isPackagePrivate(invokedMethod)) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tif (SootUtils.isPackagePrivate(sootClass)) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n } else if(stmt.containsFieldRef()){\n FieldRef fieldRef = stmt.getFieldRef();\n SootField sootField = fieldRef.getField();\n if(SootUtils.isPackagePrivate(sootField)){\n return false;\n }\n }\n }\n\n }\n\n return true;\n }",
"public boolean intersecta(Base obj) {\n return getPerimetro().intersects(obj.getPerimetro());\n }",
"public boolean canBeCollidedWith() {\n\t\treturn false;\n\t}",
"public boolean isOverloaded() {\n\t\treturn (schedule.getNumScheduledCourses() > this.getMaxCourses());\n\t}",
"private static boolean merge(int[] a, int[] b) {\n if (b[1] < a[0] || a[1] < b[0]) {\n return false;\n }\n\n a[0] = Math.min(a[0], b[0]);\n a[1] = Math.max(a[1], b[1]);\n return true;\n }",
"public boolean canCombine(ILootProperty loot);",
"public boolean overlapAnyEntity(){\n \treturn this.getSuperWorld().getEntities().stream().anyMatch(T ->this.overlap(T));\n }",
"public boolean isCompatible() {\n if (this == ANY) {\n return true;\n }\n Arch arch = getCurrentArch();\n return this == arch;\n }",
"public abstract boolean collisionWith(CollisionObject obj);",
"boolean hasMergeStore();",
"public boolean canBeCollidedWith() {\n return false;\n }",
"@Override\n\tpublic boolean combine(EHICommand anotherCommand) {\n\t\treturn false;\n\t}",
"public boolean supportsUnionAll() {\n \t\treturn false;\n \t}",
"private boolean merges(DPNode nd) {\n\n if (nd.isUsed())\n return true;\n if (!nd.hasPrev())\n return false;\n\n DPNode prev = nd.getPrev();\n if (prev.totalCost() <= 0)\n return false;\n\n return merges(prev);\n }",
"public boolean overlapsWith()\r\n\t{\r\n\t\tboolean alive = false;\r\n\t\tfor (Platforms platform : platforms)\r\n\t\t{\r\n\t\t\tif (getAvatar().getX() == platform.getX() && getAvatar().getY() == platform.getY())\r\n\t\t\t{\r\n\t\t\t\talive = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn alive;\r\n\t}",
"@Override\n public boolean supportsUnionAll() {\n return true;\n }",
"private boolean isOverlapped(BpmnShape s1, BpmnShape s2){\n\t\t\n\t\ttry{\n\t\t\t//Two tasks\n\t\t\tif (s1.getBpmnElement() instanceof Task && s2.getBpmnElement() instanceof Task)\n\t\t\t\treturn this.overlappingTasks(s1,s2);\n\t\t\t\n\t\t\t//Two Events\n\t\t\tif (s1.getBpmnElement() instanceof Event && s2.getBpmnElement() instanceof Event) {\n\t\t\t\treturn this.overlappingEvents(s1,s2);\n\t\t\t}\n\t\t\t\n\t\t\t//Two Gateways\n\t\t\tif (s1.getBpmnElement() instanceof Gateway && s2.getBpmnElement() instanceof Gateway)\n\t\t\t\treturn this.overlappingGateways(s1,s2);\n\t\t\t\n\t\t\t//One Task and one Event\n\t\t\tif (s1.getBpmnElement() instanceof Task && s2.getBpmnElement() instanceof Event)\n\t\t\t\treturn this.overlappingTaskAndEvent(s1,s2);\n\t\t\t\n\t\t\tif (s1.getBpmnElement() instanceof Event && s2.getBpmnElement() instanceof Task )\n\t\t\t\treturn this.overlappingTaskAndEvent(s2, s1);\n\t\t\t\n\t\t\t//One Task and one Gateway \n\t\t\tif (s1.getBpmnElement() instanceof Task && s2.getBpmnElement() instanceof Gateway)\n\t\t\t\treturn this.overlappingTaskAndGateway(s1,s2);\n\t\t\t\n\t\t\tif (s1.getBpmnElement() instanceof Gateway && s2.getBpmnElement() instanceof Task )\n\t\t\t\treturn this.overlappingTaskAndGateway(s2, s1);\t\t\n\t\t\t\n\t\t\t//One Event and one Gateway\n\t\t\tif (s1.getBpmnElement() instanceof Event && s2.getBpmnElement() instanceof Gateway)\n\t\t\t\treturn this.overlappingEventAndGateway(s1,s2);\n\t\t\t\n\t\t\tif (s1.getBpmnElement() instanceof Gateway && s2.getBpmnElement() instanceof Event)\n\t\t\t\treturn this.overlappingEventAndGateway(s2, s1);\n\t\t}catch(Exception e) {\n\t\t\treturn false;\n\t\t}\n\t\t\t\t\n\t\treturn false;\n\t}",
"public abstract boolean overlap(Catcher catcher, FallingObject object);",
"public ValidationResult validateMerge(Concept concept1,\n Concept concept2);",
"public boolean mergeIfPossible(Line other) {\n\t\tif (hasConnection(other)) {\n\t\t\tthis.xEndValue = xEndValue > other.xEndValue ? xEndValue : other.xEndValue;\n\t\t\tthis.xStartValue = xStartValue < other.xStartValue ? xStartValue : other.xStartValue;\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}",
"boolean overlaps(MyRectangle2D r) {\r\n\t\t//cordinates of the first corner of the parametar's rectangle\r\n\t\tdouble x1 = r.getX() - (r.getWidth() / 2);\r\n\t\tdouble y1 = r.getY() + (r.getHeight() / 2);\r\n\r\n\t\t//cordinates of the second corner of the parametar's rectangle\r\n\t\tdouble x2 = r.getX() + (r.getWidth() / 2);\r\n\t\tdouble y2 = r.getY() - (r.getHeight() / 2);\r\n\r\n\t\t//cordinates of the third corner of the parametar's rectangle\r\n\t\tdouble x3 = r.getX() - (r.getWidth() / 2);\r\n\t\tdouble y3 = r.getY() - (r.getHeight() / 2);\r\n\r\n\t\t//cordinates of the fourth corner of the parametar's rectangle\r\n\t\tdouble x4 = r.getX() + (r.getWidth() / 2);\r\n\t\tdouble y4 = r.getY() + (r.getHeight() / 2);\r\n\r\n\t\t//checking if calling rectangle has any of the corners inside itself\r\n\t\tboolean corner1Overlaps = this.contains(x1, y1);\r\n\t\tboolean corner2Overlaps = this.contains(x2, y2);\r\n\t\tboolean corner3Overlaps = this.contains(x3, y3);\r\n\t\tboolean corner4Overlaps = this.contains(x4, y4);\r\n\r\n\t\t//if it does contain any of the corners they overlap\r\n\t\treturn corner1Overlaps || corner2Overlaps || corner3Overlaps\r\n\t\t\t\t|| corner4Overlaps ? true : false;\r\n\t}",
"@Override\n\tpublic boolean mergeWith(BUEdge other) {\n\t\t// TODO Auto-generated method stub\n\t\treturn false;\n\t}",
"protected boolean isOverlapping(ArrayList<Rectangle> first, ArrayList<Rectangle> second) {\n\t\tfor (Rectangle f : first) {\n\t\t\tfor (Rectangle s : second) {\n\t\t\t\tif (f.overlaps(s)) return true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"public boolean combinable(Node other) {\n\t\treturn lastindex + other.lastindex <= maxkeys() - 1;\n\t}",
"public abstract boolean isAssignable();",
"@Override\n\tpublic boolean canBeCollidedWith()\n\t{\n\t\treturn false;\n\t}",
"private boolean checkConflicts(DymonPatchRequest r,Collection<DymonPatchRequest> active)\n{\n if (active_requests.isEmpty()) return false;\n if (r.getPatchOverlap() == PatchOverlap.ANY) return false;\n\n for (DymonPatchRequest ar : active) {\n if (ar.getDuration() == 0 || ar.getPatchOverlap() == PatchOverlap.ANY) continue;\n if (r.excludeOverlap(ar.getRequestName())) return true;\n if (r.getPatchOverlap() == PatchOverlap.NONE) return true;\n if (ar.excludeOverlap(r.getRequestName())) return true;\n if (ar.getPatchOverlap() == PatchOverlap.NONE) return true;\n if (ar.getPatchOverlap() == PatchOverlap.CLASS ||\n\t r.getPatchOverlap() == PatchOverlap.CLASS) {\n\t for (String s1 : r.getClasses()) {\n\t for (String s2 : ar.getClasses()) {\n\t if (s1.equals(s2)) return true;\n\t }\n\t }\n }\n }\n\n return false;\n}",
"public boolean hasMergeStore() {\n return ((bitField0_ & 0x00100000) == 0x00100000);\n }",
"@Override\n\tpublic boolean canMergeSlot(ItemStack stack, Slot slotIn) {\n\t\treturn slotIn.getSlotIndex() >= 2;\n\t}",
"public boolean isCloneable()\n {\n return leftOperand.isCloneable() && rightOperand.isCloneable();\n }",
"public boolean hasMergeStore() {\n return ((bitField0_ & 0x00100000) == 0x00100000);\n }",
"public void testIsMergeableElement() throws Exception {\n assertFalse(cfg.isMergeableElement(\"font\"));\n cfg.addMergeableElement(\"font\");\n assertTrue(cfg.isMergeableElement(\"font\"));\n\n cfg.addMergeableElement(\"mergeable\");\n assertTrue(cfg.isMergeableElement(\"font\"));\n assertTrue(cfg.isMergeableElement(\"mergeable\"));\n }",
"private boolean isOverloaded(){\n\t\tif(((double) this.contains) / this.table.length > .6){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isCompatible() {\n if (this == ANY) {\n return true;\n }\n Os os = getCurrentOs();\n return this == os;\n }",
"public boolean commutes(){\n\t\treturn false;\n }",
"public abstract boolean canHandle(ObjectInformation objectInformation);",
"default boolean overlaps(Interval o) {\n return getEnd() > o.getStart() && o.getEnd() > getStart();\n }",
"public boolean canMergeSlot(ItemStack stack, Slot slotIn)\n {\n return slotIn.inventory != this.craftResult && super.canMergeSlot(stack, slotIn);\n }",
"@java.lang.Override\n public boolean hasCommonObjectRequestParams() {\n return commonObjectRequestParams_ != null;\n }",
"public boolean hasCollidedWith(InteractiveObject obj){\n\t\tif (obj == null) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn (leftCollision(obj) || rightCollision(obj));\n\t\t}\n\t}",
"public boolean intersects(BaseGameObject other) {\r\n return (other.getPosx() - this.getPosx())\r\n * (other.getPosx() - this.getPosx())\r\n + (other.getPosy() - this.getPosy())\r\n * (other.getPosy() - this.getPosy())\r\n < (other.bound + this.bound) * (other.bound + this.bound);\r\n }",
"@Override\r\n\tpublic boolean canMergeSlot(ItemStack stack, Slot p_94530_2_)\r\n {\r\n return p_94530_2_.inventory != this.craftResult && super.canMergeSlot(stack, p_94530_2_);\r\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isIntersection();",
"public boolean match(MindObject other){\n return other.isSubtypeOf(this) || isSubtypeOf(other);\n }",
"boolean hasIsSupportComp();",
"public boolean areIntersecting() {\n return intersection != null;\n }",
"boolean isPartiallyOverlapped(int[] x, int[] y) {\n return y[0] <= x[1]; //정렬이 이미 되어 있어서 simplify 할 수 있음\n }",
"public boolean overlap(Circle other) {\r\n\t\t// implementation not shown\r\n\t}",
"public boolean overlaps(Shape2D s)\r\n {\r\n if (isPhasing)\r\n return false;\r\n \r\n return super.overlaps(s);\r\n }",
"public boolean ifOverlap(Block b) {\n\t\tint thisR1 = this.getTopLeft().getRow();\n\t\tint thisR2 = this.getBotRight().getRow();\n\t\tint thisC1 = this.getTopLeft().getCol();\n\t\tint thisC2 = this.getBotRight().getCol();\n\t\tint R1 = b.getTopLeft().getRow();\n\t\tint R2 = b.getBotRight().getRow();\n\t\tint C1 = b.getTopLeft().getCol();\n\t\tint C2 = b.getBotRight().getCol();\n\t\tint maxR1 = Math.max(thisR1, R1);\n\t\tint minR2 = Math.min(thisR2, R2);\n\t\tint maxC1 = Math.max(thisC1, C1);\n\t\tint minC2 = Math.min(thisC2, C2);\n\n\t\treturn minR2 >= maxR1 && minC2 >= maxC1;\n\t}",
"@Override\r\n public boolean shouldCollide(Fixture fixtureA, Fixture fixtureB) {\n if (fixtureA != null && fixtureA.getBody() != null && fixtureB != null && fixtureB.getBody() != null) {\r\n GenericUserData dataA = (GenericUserData) fixtureA.getBody().getUserData();\r\n GenericUserData dataB = (GenericUserData) fixtureB.getBody().getUserData();\r\n if (dataA != null && dataB != null) {\r\n if (!dataA.getCollisionReaction().canCollide(fixtureA, fixtureB)\r\n || !dataB.getCollisionReaction().canCollide(fixtureA, fixtureB)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n }\r\n return true;\r\n }",
"boolean isComposite();",
"boolean isComposite();",
"public boolean canBeCollidedWith()\n {\n return !this.isDead;\n }",
"public boolean canBeCollidedWith()\n {\n return !this.isDead;\n }",
"public boolean isCompatible() {\n return getOs().isCompatible() && getArch().isCompatible();\n }",
"private boolean intersectsAggregate( Aggregate mprim ) throws Exception {\n boolean inter = false;\n\n int cnt = mprim.getSize();\n\n for ( int i = 0; i < cnt; i++ ) {\n if ( intersects( mprim.getObjectAt( i ) ) ) {\n inter = true;\n break;\n }\n }\n\n return inter;\n }",
"private boolean allowCombinedFDRScoreCalculation() {\n if ((checkCreatePSMSets != null)\n && (checkCalculateAllFDR != null)) {\n return checkCreatePSMSets.isSelected()\n && checkCalculateAllFDR.isSelected();\n } else {\n return false;\n }\n }",
"public boolean overlaps(Circle2D other) {\n return Math.abs(distance(other.getX(), other.getY())) < getRadius() + other.getRadius();\n }",
"public boolean hasCommon() {\n return result.hasCommon();\n }",
"public boolean overlap(Entity entity){\n \t\n \tif (entity == null) throw new IllegalArgumentException(\"The second entity does not exist. @overlap\");\n\t\tif (this == entity) return true;\n\t\treturn this.getDistanceBetweenEdge(entity) <= -0.01;\n }",
"private Boolean canHaveContent(){\n\t\t\treturn (getRequestType() == RequestType.POST || getRequestType() == RequestType.PUT);\n\t\t}",
"@Override\n\tpublic boolean canBeCollidedWith() {\n\t\treturn !this.isDead;\n\t}",
"protected boolean union(int id1, int id2) \n\t{\n\t\t// Find the parents of both nodes.\n\t\tint root1 = find(id1);\n\t\tint root2 = find(id2);\n\t\t\n\t\t// No union needed.\n\t\tif (root1 == root2)\n\t\t{\n\t\t //Return that the two values were already in the same tree\n\t\t return false;\n\t\t}\n\t\t\n\t\t//Combine the trees with these two roots\n\t\tparents[root1] = root2;\n\t\t\n\t\t// We successfully did a union.\n\t\treturn true;\n\t}",
"public abstract boolean isShared();",
"protected boolean isLinkedWithEditor() {\n return modes.get(BCOConstants.F_LINK_VIEW_TO_EDITOR);\n }",
"public boolean isOverlapping(Filter f);",
"default boolean compatibleWith(Conf other) { return equals(other); }",
"public boolean merge(State that) {\n boolean change = false;\n for (int i=0; i<this.registers.length; ++i) {\n if (merge(i, that.registers[i])) change = true;\n }\n return change;\n }",
"boolean isApplicableForAllAssetTypes();",
"boolean overlap(AbstractNote other) {\n return this.type == other.type &&\n this.octave == other.octave;\n }",
"public boolean hasBoth() {\n if (this.hasCard == true & this.hasCash == true) { return true; } else { return false; }\n }",
"public boolean overlaps(CompositeKey s) {\n\t if (this.key2 == 0 && s.getKey2() == 0) {\n\t\t\treturn true;\n\t\t}\n\t\tif (this.key2 == 0) {\n\t\t\treturn (this.key1 < s.getKey2());\n\t\t}\n\t\tif (s.getKey2() == 0) {\n\t\t\treturn !(this.key2 <= s.getKey1());\n\t\t}\n\treturn !(this.key2 <= s.getKey1() || this.key1 >= s.getKey2());\n}",
"boolean isOptionsConsistentIncludingAllRequired(Integer optionId1,\n Integer optionId2);",
"static boolean doTheseOverlap(RBox b1, RBox b2){\n\t\t\n\t\tif(contains(b1,b2))\n\t\t\treturn true;\n\t\t\n\t\tif(contains(b2,b1))\n\t\t\treturn true;\n\t\t\n\t\tboolean xOverlap=false ;\n\t\tboolean yOverlap=false ;\n\t\t\n\t\tif(b1.xmax==b2.xmin && b2.xmax > b1.xmax)\n\t\t\treturn false;\n\t\t\n\t\tif(b2.xmax==b1.xmin && b1.xmax > b2.xmax)\n\t\t\treturn false;\n\t\t\n\t\tif((b1.xmin<=b2.xmin&&b1.xmax>=b2.xmax)||(b2.xmin<=b1.xmin&&b2.xmax>=b1.xmax))\n\t\t\txOverlap=true;\n\t\t\n\t\tif(!xOverlap)\n\t\tif(b1.xmin >= b2.xmin && b1.xmin <= b2.xmax)\n\t\t\txOverlap=true;\n\t\t\n\t\tif(!xOverlap)\n\t\t if(b1.xmax >= b2.xmin && b1.xmax <= b2.xmax)\n\t\t \txOverlap = true;\n\t\t else{//System.out.println(\"X overlap\");\n\t\t \treturn false;}\n\t\t\n\t\t\n\t\tif((b1.ymin<=b2.ymin&&b1.ymax>=b2.ymax)||(b2.ymin<=b1.ymin&&b2.ymax>=b1.ymax))\n\t\t yOverlap=true;\n\t\t\n\t\tif(!yOverlap)\n\t\tif(b1.ymin>=b2.ymin && b1.ymin<=b2.ymax)\n\t\t\tyOverlap=true;\n\t\t\n\t\tif(!yOverlap)\n\t\t\tif(b1.ymax>=b2.ymin && b1.ymax<=b2.ymax)\n\t\t\t\tyOverlap=true;\n\t\t\telse{\n\t\t\t\t//System.out.println(\"Y overlap\");\n\t\t\t\treturn false;}\n\t\t\n\t\tif(xOverlap&&yOverlap)\n\t\t\treturn true;\n\t\t\n\t\treturn false;\n\t}",
"public boolean isComposite();",
"@Override\r\n public boolean canBeCollidedWith()\r\n {\r\n return !this.isDead;\r\n }",
"public static boolean intersects(Geometry a, Geometry b) {\r\n GeometryFactory factory = new GeometryFactory(a.getPrecisionModel(),\r\n a.getSRID());\r\n List aComponents = components(a);\r\n List bComponents = components(b);\r\n\r\n for (Iterator i = aComponents.iterator(); i.hasNext();) {\r\n Geometry aComponent = (Geometry) i.next();\r\n Assert.isTrue(!(aComponent instanceof GeometryCollection));\r\n\r\n //Collapse to point as workaround for JTS defect: #contains doesn't work for\r\n //polygons and zero-length vectors. [Jon Aquino]\r\n aComponent = collapseToPointIfPossible(aComponent, factory);\r\n\r\n for (Iterator j = bComponents.iterator(); j.hasNext();) {\r\n Geometry bComponent = (Geometry) j.next();\r\n Assert.isTrue(!(bComponent instanceof GeometryCollection));\r\n bComponent = collapseToPointIfPossible(bComponent, factory);\r\n\r\n if (aComponent.intersects(bComponent)) {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n return false;\r\n }",
"public boolean collision(Object a, Object b) {\n if (Rect.intersects(a.getRect(), b.getRect())) { //if the two objects hitboxes colide\n return true;\n }\n return false;\n }",
"private boolean colisionPalas() {\r\n\t\treturn game.racketIzq.getBounds().intersects(getBounds())\r\n\t\t\t\t|| game.racketDer.getBounds().intersects(getBounds());\r\n\t}",
"public boolean hasObject() {\n return objectBuilder_ != null || object_ != null;\n }"
] |
[
"0.74834675",
"0.72669846",
"0.70739675",
"0.70155644",
"0.67764133",
"0.66749203",
"0.6628243",
"0.6352074",
"0.633651",
"0.6233476",
"0.598498",
"0.5981322",
"0.58887225",
"0.5848881",
"0.5828377",
"0.58046675",
"0.5791297",
"0.57815886",
"0.5754441",
"0.5711211",
"0.56995887",
"0.56397545",
"0.56002563",
"0.55989265",
"0.5586035",
"0.55567724",
"0.5535095",
"0.55300194",
"0.5501692",
"0.5476276",
"0.54587376",
"0.5456322",
"0.54547274",
"0.54451925",
"0.5438437",
"0.5424021",
"0.5407238",
"0.5391114",
"0.5385523",
"0.53692484",
"0.5359118",
"0.53526133",
"0.53524965",
"0.53435194",
"0.5317202",
"0.52849436",
"0.5276755",
"0.5258645",
"0.5256513",
"0.52470124",
"0.52207416",
"0.521941",
"0.5215763",
"0.521299",
"0.5210676",
"0.52097887",
"0.5209461",
"0.52052695",
"0.5180871",
"0.5170691",
"0.5168558",
"0.5165439",
"0.5162428",
"0.5151938",
"0.5148757",
"0.5148651",
"0.5130883",
"0.51254976",
"0.51224035",
"0.51059276",
"0.50990653",
"0.50990653",
"0.50941133",
"0.50941133",
"0.50936633",
"0.5084873",
"0.50747204",
"0.5064145",
"0.50560147",
"0.5040726",
"0.5040359",
"0.50395",
"0.5035345",
"0.5034228",
"0.5032834",
"0.501444",
"0.50138485",
"0.5012365",
"0.50048435",
"0.5002386",
"0.499801",
"0.49959242",
"0.49947798",
"0.4985722",
"0.4978846",
"0.49767432",
"0.497167",
"0.49704203",
"0.49702734",
"0.49688295"
] |
0.78114206
|
0
|
Merges two objects, throws an exception if canMerge(x) returns false.
|
T merge(T x);
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"boolean canMerge(T x);",
"public interface Mergeable<T extends Mergeable<T>> {\n /**\n * Determines whether this object and the given can be merged,\n *\n * @param x\n * @return\n */\n boolean canMerge(T x);\n\n /**\n * Merges two objects, throws an exception if canMerge(x) returns false.\n *\n * @param x\n * @return\n */\n T merge(T x);\n}",
"public boolean canMerge(Item other);",
"public Object merge(Object obj) throws HibException;",
"@Override\n public abstract void merge(Mergeable merge);",
"void merge(T other);",
"@Override\n\tprotected void merge(Object in1, Object in2, Object out) {\n\t\t\n\t}",
"public T merge ( T object );",
"@Override\n\tpublic T merge(T obj) throws Exception {\n\t\treturn null;\n\t}",
"void merge();",
"public Item merge(Item other);",
"boolean isMergeInNonCallableSupported();",
"@Override\r\n\tpublic void merge(Board board1, Board board2)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tboard1.merge(board2);\r\n\t\t}\r\n\t\tcatch(IllegalStateException exc)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Either this board or the other board is terminated; the boards cannot be merged.\");\r\n\t\t}\r\n\t}",
"@Override\n\tpublic boolean mergeWith(BUEdge other) {\n\t\t// TODO Auto-generated method stub\n\t\treturn false;\n\t}",
"public static void test_merge() {\n assertThat(merge(new int[] {0, 1}, new int[] {2, 3})).isFalse();\n assertThat(merge(new int[] {2, 3}, new int[] {0, 1})).isFalse();\n\n // a0 b0 b1 a1\n // a0 b0 a1 b1\n assertThat(merge(new int[] {0, 1}, new int[] {0, 1})).isTrue();\n assertThat(merge(new int[] {0, 1}, new int[] {0, 2})).isTrue();\n assertThat(merge(new int[] {0, 1}, new int[] {1, 2})).isTrue();\n assertThat(merge(new int[] {0, 2}, new int[] {1, 3})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 2})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 3})).isTrue();\n\n // b0 a0 a1 b1\n // b0 a0 b1 a1\n assertThat(merge(new int[] {0, 3}, new int[] {0, 2})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 2})).isTrue();\n assertThat(merge(new int[] {0, 3}, new int[] {1, 3})).isTrue();\n assertThat(merge(new int[] {1, 2}, new int[] {0, 3})).isTrue();\n }",
"public static GcResult merge(GcResult a, GcResult b) {\n\t\treturn a.compareTo(b) < 0 ? a : b;\n\t}",
"public interface Mergeable<T extends Mergeable>\n{\n /**\n * Performs merge of this object with another object of the same type.\n * Returns this object as a result of the performed merge.\n *\n * @param object object to merge into this one\n * @return this object as a result of the performed merge\n */\n public T merge ( T object );\n}",
"public ValidationResult validateMerge(Concept concept1,\n Concept concept2);",
"public void forceMerge(MediaEntity other) {\n merge(other, true);\n }",
"@Test(timeout = TIMEOUT, expected = IllegalArgumentException.class)\n public void testMergeNull() {\n Integer[] arr = {4, 2, 1, 3};\n Sorting.mergeSort(null, comparator);\n Sorting.mergeSort(arr, null);\n }",
"@Override\n public boolean canBeMerged(AuditRefuseBackup o) {\n return true;\n }",
"@Override\n\tpublic <T> T merge(T entity) {\n\t\treturn null;\n\t}",
"public static void main(String[] args) {\n\t\tint []a = {2,4,5,11,35,55,66,77,0,0,0,0,0,0};\r\n\t\tint []b\t= {1,3,6,8,22,34};\r\n\t\t\r\n\t//\tmerge(a,b);// thow an exception\r\n\t\tmergeInPlace(a, b);//exception is be solved\r\n\t}",
"public void merge (TreeObject treeObject) throws CannotMergeException {\n super.merge (treeObject);\n \n TreeAttribute peer = (TreeAttribute) treeObject;\n \n try {\n setTreeNameImpl (peer.getTreeName ());\n setSpecifiedImpl (peer.isSpecified ());\n valueList.merge (peer.valueList);\n } catch (Exception exc) {\n throw new CannotMergeException (treeObject, exc);\n }\n }",
"private static boolean merge(int[] a, int[] b) {\n if (b[1] < a[0] || a[1] < b[0]) {\n return false;\n }\n\n a[0] = Math.min(a[0], b[0]);\n a[1] = Math.max(a[1], b[1]);\n return true;\n }",
"public void forceMerge() throws IOException {\n maintainMergeLocal();\n }",
"@Test\n\tpublic void testMerge_2()\n\t\tthrows Exception {\n\t\tSimpleAuthorizingAccount fixture = new SimpleAuthorizingAccount();\n\t\tfixture.setSimpleRoles(new HashSet());\n\t\tAccount otherAccount = new SimpleAuthorizingAccount();\n\n\t\tfixture.merge(otherAccount);\n\n\t\t// add additional test code here\n\t}",
"public void merge(T entity) {\n\t\t\n\t}",
"public static Node merge(Node a, Node b)\n {\n // Base cases\n if (a == null) {\n return b;\n }\n\n if (b == null) {\n return a;\n }\n\n // Pick either a or b, and recur\n if (a.data.getEmp_No() <= b.data.getEmp_No())\n {\n a.next = merge(a.next, b);\n a.next.prev = a;\n a.prev = null;\n return a;\n }\n else\n {\n b.next = merge(a, b.next);\n b.next.prev = b;\n b.prev = null;\n return b;\n }\n }",
"boolean isMerged();",
"public String merge (Context context) throws Exception;",
"public abstract void merge (org.apache.spark.sql.expressions.MutableAggregationBuffer buffer1, org.apache.spark.sql.Row buffer2) ;",
"public void merge() throws Exception\n{\n Git git = getGit();\n MergeCommand merge = git.merge();\n ObjectId remoteOriginMaster = getRepo().resolve(\"refs/remotes/origin/master\");\n merge.include(remoteOriginMaster);\n MergeResult result = merge.call();\n System.out.println(\"Merge Result: \" + result.getMergeStatus());\n \n // Reset index\n getIndexSite().resetFiles(); _index = null;\n}",
"MergeState merge() throws IOException {\n if (!shouldMerge()) {\n throw new IllegalStateException(\"Merge would result in 0 document segment\");\n }\n // NOTE: it's important to add calls to\n // checkAbort.work(...) if you make any changes to this\n // method that will spend alot of time. The frequency\n // of this check impacts how long\n // IndexWriter.close(false) takes to actually stop the\n // threads.\n mergeFieldInfos();\n setMatchingSegmentReaders();\n long t0 = 0;\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n t0 = System.nanoTime();\n }\n int numMerged = mergeFields();\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n long t1 = System.nanoTime();\n mergeState.infoStream.message(\"SM\", ((t1 - t0) / 1000000) + \" msec to merge stored fields [\" + numMerged + \" docs]\");\n }\n assert numMerged == mergeState.segmentInfo.getDocCount();\n\n final SegmentWriteState segmentWriteState = new SegmentWriteState(mergeState.infoStream, directory, mergeState.segmentInfo, mergeState.fieldInfos, termIndexInterval, null, context);\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n t0 = System.nanoTime();\n }\n mergeTerms(segmentWriteState);\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n long t1 = System.nanoTime();\n mergeState.infoStream.message(\"SM\", ((t1 - t0) / 1000000) + \" msec to merge postings [\" + numMerged + \" docs]\");\n }\n\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n t0 = System.nanoTime();\n }\n if (mergeState.fieldInfos.hasDocValues()) {\n mergeDocValues(segmentWriteState);\n }\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n long t1 = System.nanoTime();\n mergeState.infoStream.message(\"SM\", ((t1 - t0) / 1000000) + \" msec to merge doc values [\" + numMerged + \" docs]\");\n }\n\n if (mergeState.fieldInfos.hasNorms()) {\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n t0 = System.nanoTime();\n }\n mergeNorms(segmentWriteState);\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n long t1 = System.nanoTime();\n mergeState.infoStream.message(\"SM\", ((t1 - t0) / 1000000) + \" msec to merge norms [\" + numMerged + \" docs]\");\n }\n }\n\n if (mergeState.fieldInfos.hasVectors()) {\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n t0 = System.nanoTime();\n }\n numMerged = mergeVectors();\n if (mergeState.infoStream.isEnabled(\"SM\")) {\n long t1 = System.nanoTime();\n mergeState.infoStream.message(\"SM\", ((t1 - t0) / 1000000) + \" msec to merge vectors [\" + numMerged + \" docs]\");\n }\n assert numMerged == mergeState.segmentInfo.getDocCount();\n }\n\n // write the merged infos\n FieldInfosWriter fieldInfosWriter = codec.fieldInfosFormat().getFieldInfosWriter();\n fieldInfosWriter.write(directory, mergeState.segmentInfo.name, \"\", mergeState.fieldInfos, context);\n\n return mergeState;\n }",
"public void merge (TreeObject treeObject) throws CannotMergeException {\n super.merge (treeObject);\n \n TreeEntityReference peer = (TreeEntityReference) treeObject;\n setNameImpl (peer.getName ());\n }",
"public boolean mergeIfPossible(Line other) {\n\t\tif (hasConnection(other)) {\n\t\t\tthis.xEndValue = xEndValue > other.xEndValue ? xEndValue : other.xEndValue;\n\t\t\tthis.xStartValue = xStartValue < other.xStartValue ? xStartValue : other.xStartValue;\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}",
"@Override\r\n public void merge(Double minX, Double maxX, Double minY, Double maxY) {\r\n if (this.minX == null) {\r\n this.minX = minX;\r\n }\r\n if (this.maxX == null) {\r\n this.maxX = maxX;\r\n }\r\n if (this.minY == null) {\r\n this.minY = minY;\r\n }\r\n if (this.maxY == null) {\r\n this.maxY = maxY;\r\n }\r\n }",
"@Override\n public abstract NiceXWPFDocument merge(NiceXWPFDocument source, Iterator<NiceXWPFDocument> mergedIterator,\n XWPFRun location) throws Exception;",
"protected void merge(Object in1, Object in2, Object out) {\n\t\tFlowSet inSet1 = (FlowSet) in1, inSet2 = (FlowSet) in2, outSet = (FlowSet) out;\n\n\t\tinSet1.intersection(inSet2, outSet);\n\t}",
"public interface Combine<T> {\n\n public T combineWith(T other);\n\n public void mergeFrom(T other);\n\n}",
"@Test\n\tpublic void testMerge_1()\n\t\tthrows Exception {\n\t\tSimpleAuthorizingAccount fixture = new SimpleAuthorizingAccount();\n\t\tfixture.setSimpleRoles(new HashSet());\n\t\tAccount otherAccount = new SimpleAuthorizingAccount();\n\n\t\tfixture.merge(otherAccount);\n\n\t\t// add additional test code here\n\t}",
"public void testIsMergeableElement() throws Exception {\n assertFalse(cfg.isMergeableElement(\"font\"));\n cfg.addMergeableElement(\"font\");\n assertTrue(cfg.isMergeableElement(\"font\"));\n\n cfg.addMergeableElement(\"mergeable\");\n assertTrue(cfg.isMergeableElement(\"font\"));\n assertTrue(cfg.isMergeableElement(\"mergeable\"));\n }",
"@Override\n public Image merge(Image a, Image b) {\n if (a.getCached() == null) {\n drawImage(a, 0, 0);\n }\n if (b.getCached() == null) {\n drawImage(b, 0, 0);\n }\n Object nativeImage = graphicsEnvironmentImpl.mergeImages(canvas, a, b, a.getCached(), b.getCached());\n Image merged = Image.create(getImageSource(nativeImage));\n merged.cache(nativeImage);\n return merged;\n }",
"public void merge(WModelObject otherObject)\n\t{\n\t\tWCollection collection = null;\n\n\t\t// Check to see if the argument is a WCollection object\n\t\ttry\n\t\t{\n\t\t\tcollection = (WCollection)otherObject;\n\t\t}\n\t\tcatch (ClassCastException exc)\n\t\t{\n\t\t\tcom.ing.connector.Registrar.logError(getClass().getName() + \": Collection objects can only be merged with other Collection objects\");\n\t\t\treturn;\n\t\t}\n\n\t\t// Check to see if the two objects are of the same class\n\t\tClass thisClass = getClass();\n\t\tClass objClass = otherObject.getClass();\n\n\t\tif (thisClass.getName().compareTo(objClass.getName()) != 0)\n\t\t{\n\t\t\tcom.ing.connector.Registrar.logError(thisClass.getName() + \": Cannot compare two different collection objects\");\n\t\t\treturn;\n\t\t}\n\n\t\tWCollection primCollection = new WCollection(thisClass.getName());\t//JFG6.0\n\n\t\tint iObjectCount = this.size();\t\t\t\t\t\t\t//JFG6.0\n\t\tcom.ing.connector.Registrar.logDebugMessage(\"prim object size = \" + iObjectCount);\n\t\tfor (int iCount = 0; iCount < iObjectCount; ++iCount)\t\t\t\t//JFG6.0\n\t\t{\n\t\t\tprimCollection.addElement(this.elementAt(iCount));\t\t\t//JFG6.0\n\t\t\t//com.ing.connector.Registrar.logDebugMessage(\"Entering inside()\");\n\t\t}\n\n primCollection.sort(\"ClassKey\",true);\t\t\t\t\t\t//JFG6.0\n collection.sort(\"ClassKey\",true);\t\t\t\t\t\t\t//JFG6.0\n\n\t\tint iSecObjectCount = collection.size();\n int iStart = 0;\t\t\t\t\t\t\t\t\t\t//JFG6.0\n com.ing.connector.Registrar.logDebugMessage(\"Sec object size = \" + iSecObjectCount);\n\t\tfor (int iSecCount = 0; iSecCount < iSecObjectCount; ++iSecCount)\n\t\t{\n\t\t WModelObject secObject = null;\n\t\t WModelObject primObject = null;\n\n\t\t secObject = collection.elementAt(iSecCount);\n\t\t boolean keyFound = false;\n\n\t\t int iPrimObjectCount = primCollection.size();\n\t\t for (int iPrimCount = iStart; iPrimCount < iPrimObjectCount; ++iPrimCount)\n\t\t {\n\t\t primObject = primCollection.elementAt(iPrimCount);\n\n int iCompare = primObject.compareTo(secObject, \"ClassKey\");\n //com.ing.connector.Registrar.logDebugMessage(\"primObject.compareTo iCompare = \" + iCompare);\n \n\t\t if (iCompare == 0)\n\t\t {\n\t\t\tkeyFound = true;\n\t\t\tcom.ing.connector.Registrar.logDebugMessage(\"prim object and sec object are equal class \" + primObject.getClass().getName());\n\t\t\tprimObject.merge(secObject);\t//LPMO264\n iStart = iPrimCount + 1;\t\t\t\t\t\t\t//JFG6.0\n \n\t\t\tbreak;\n\t\t }\n else\t\t\t\t\t\t\t\t\t\t\t//JFG6.0\n {\n\t\t if (iCompare > 0)\t\t\t\t\t\t\t\t\t//JFG6.0\n\t\t {\n\t\t\t keyFound = false;\t\t\t\t\t\t\t\t//JFG6.0\n iStart = iPrimCount;\t\t\t\t\t\t\t\t//JFG6.0\n \n\t\t break;\t\t\t\t\t\t\t\t\t\t//JFG6.0\n\n }\n }\n\t\t }\n\t\t \n\t\t //com.ing.connector.Registrar.logDebugMessage(\"is keyFound \" + keyFound);\n\t\t if (!keyFound)\n\t\t {\n\t\t addElement(secObject);\n\t\t }\n\t\t}\n\n\t\tprimCollection = null;\t\t\t\t\t\t\t\t\t//JFG6.0\n\n//\t\tint iObjectCount = collection.size();\n//\t\tfor (int iCount = 0; iCount < iObjectCount; ++iCount)\n//\t\t{\n//\t\t\taddElement(collection.elementAt(iCount));\n//\t\t}\n\t}",
"public boolean canBeMerged(MInspectSetting entity) {\n\t\treturn true;\n\t}",
"private void somethingIsWrongWithMergeSort() {\n try {\n Sorting.mergesort(\n null, (new Zombie(null, 0, 0).getNameComparator()));\n fail(\"You didn't even throw the exception for the array.\");\n } catch (IllegalArgumentException e) {\n assertNotNull(\n \"Good job throwing the exception...but you need a message!\",\n e.getMessage());\n }\n try {\n Sorting.mergesort(horde, null);\n fail(\"You didn't even throw the exception for the comparator.\");\n } catch (IllegalArgumentException e) {\n assertNotNull(\n \"Good job throwing the exception...but you need a message!\",\n e.getMessage());\n }\n }",
"public static void merge(Object source, Object dest) {\n\t\tif (null == source || null == dest) {\n\t\t\treturn;\n\t\t}\n\n\t\tBeanUtilsBean beanUtils = new BeanUtilsBean() {\n\t\t\t@Override\n\t\t\tpublic void copyProperty(Object dest, String name, Object value)\n\t\t\t\t\tthrows IllegalAccessException, InvocationTargetException {\n\t\t\t\tif (value != null) {\n\t\t\t\t\tsuper.copyProperty(dest, name, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\ttry {\n\t\t\tbeanUtils.copyProperties(dest, source);\n\t\t} catch (IllegalAccessException | InvocationTargetException e) {\n\t\t\tthrow new RuntimeException(\"merge bean exception\", e);\n\t\t}\n\t}",
"@Test\n\tpublic void testMerge_4()\n\t\tthrows Exception {\n\t\tSimpleAuthorizingAccount fixture = new SimpleAuthorizingAccount();\n\t\tfixture.setSimpleRoles(new HashSet());\n\t\tAccount otherAccount = new SimpleAuthorizingAccount();\n\n\t\tfixture.merge(otherAccount);\n\n\t\t// add additional test code here\n\t}",
"@Override\r\n public void merge(Integer minX, Integer maxX, Integer minY, Integer maxY) {\r\n if (this.minX == null) {\r\n this.minX = (minX == null) ? null : minX.doubleValue();\r\n }\r\n if (this.maxX == null) {\r\n this.maxX = (maxX == null) ? null : maxX.doubleValue();\r\n }\r\n if (this.minY == null) {\r\n this.minY = (minY == null) ? null : minY.doubleValue();\r\n }\r\n if (this.maxY == null) {\r\n this.maxY = (maxY == null) ? null : maxY.doubleValue();\r\n }\r\n }",
"public ValidationResult merge(ValidationResult toBeMergedWith) {\r\n return toBeMergedWith == null || toBeMergedWith.isSuccessful()\r\n || !(toBeMergedWith instanceof MissingModulesValidationResult) ? this\r\n : new MissingModulesValidationResult(this,\r\n (MissingModulesValidationResult) toBeMergedWith);\r\n }",
"public static JsonValue merge(JsonValue v1, JsonValue v2) {\n\t\tif (v1 == null && v2 == null)\n\t\t\treturn JsonValue.NULL;\n\n\t\tif (v1 == null)\n\t\t\treturn v2;\n\t\tif (v2 == null)\n\t\t\treturn v1;\n\n\t\tif (v1.isObject() && v2.isObject())\n\t\t\treturn JsonTools.mergeObject(v1.asObject(), v2.asObject());\n\n\t\tif (v1.isArray() && v2.isArray())\n\t\t\treturn JsonTools.mergeArray(v1.asArray(), v2.asArray());\n\n\t\treturn v1;\n\t}",
"public void addition(){\n ObjEmp obj1 = this.depile();\n ObjEmp obj2 = this.depile();\n try{ \n obj2.addition(obj1);\n this.empile(obj2);\n }\n catch(NullPointerException nullPE){\n try{\n writer.write(\"Impossible to add : either obj1=\"+obj1+\" or obj2=\"+obj2+ \" is null\\n\");\n writer.flush();\n }\n catch(IOException e){\n printStream.println(\"I/O exception!!!\");\n }\n if(obj2 != null)\n this.empile(obj2);\n if(obj1 != null)\n this.empile(obj1);\n }\n }",
"@Override\n\tpublic void merge(MutableAggregationBuffer buffer1, Row buffer2) {\n\t\tif (buffer1.getString(0) == null) {\n\t\t\tbuffer1.update(0, buffer2.getString(0));\n\t\t} else\n\t\t\tbuffer1.update(0, buffer1.getString(0) + \",\" + buffer2.getString(0));\n\n\t\tbuffer1.update(1, buffer1.getLong(1) + buffer2.getLong(1));\n\t\tbuffer1.update(2, buffer1.getLong(2) + buffer2.getLong(2));\n\n\t}",
"public void merge(MediaEntity other) {\n merge(other, false);\n }",
"public static DataSet mergeDatasets(DataSet first, DataSet second, List<String> forbiddenAttributes) throws Exception {\n Logger logger = LoggerFactory.getLogger(GSHelper.class);\n Graph mergedGraph = createGraphFromDataSet(first);\n logger.debug(\"creating merged internal graph...\");\n for (CoriaEdge edge : second.getEdges()) {\n try {\n logger.trace(\"Edge: \" + edge);\n /*\n * Since we're using the same edge naming schema here as everywhere else in coria (start_node->destination_node)\n * we cen create a combined graph containing edges from both graphs. This works because GraphStream\n * will only add edges which don't exists already.\n */\n Edge e = mergedGraph.addEdge(edge.getSourceNode() + \"->\" + edge.getDestinationNode(), edge.getSourceNode(), edge.getDestinationNode());\n } catch (Exception ex) {\n logger.error(\"failed creating edge for CoriaEdge {}\", edge);\n logger.error(ex.getMessage());\n return null;\n }\n }\n logger.debug(\"graph successfully created, building merged dataset...\");\n DataSet merged = new DataSet();\n\n logger.debug(\"merging nodes...\");\n\n for(Node node : mergedGraph.getEachNode()){\n CoriaNode cn = new CoriaNode();\n Optional<CoriaNode> optFirstNode = first.getNodes().stream().filter(coriaNode -> coriaNode.getAsid().equals(node.getId())).findFirst();\n CoriaNode fromFirst = null;\n if(optFirstNode.isPresent()){\n fromFirst = optFirstNode.get();\n }\n CoriaNode fromSecond = null;\n Optional<CoriaNode> optSecondNode = second.getNodes().stream().filter(coriaNode -> coriaNode.getAsid().equals(node.getId())).findFirst();\n if(optSecondNode.isPresent()){\n fromSecond = optSecondNode.get();\n }\n\n if(fromFirst != null && fromSecond == null){\n //1. Node is only in first -> take all information from first\n cn.setName(fromFirst.getName());\n cn.setAsid(fromFirst.getAsid());\n// cn.setRiscScore(fromFirst.getRiscScore()); //this value is not valid after merging\n cn.setAttributes(filterAttributes(fromFirst.getAttributes(), forbiddenAttributes));\n }else if(fromSecond != null && fromFirst == null){\n //2. Node is only in second -> take all information from second\n cn.setName(fromSecond.getName());\n cn.setAsid(fromSecond.getAsid());\n// cn.setRiscScore(fromSecond.getRiscScore()); //this value is not valid after merging\n cn.setAttributes(filterAttributes(fromSecond.getAttributes(), forbiddenAttributes));\n }else if(fromFirst != null && fromSecond != null){\n //3. Node is found in both DataSets -> try merging\n cn.setAsid(fromFirst.getAsid()); //this one is the same on both sets\n\n if(fromFirst.getName().equals(fromFirst.getAsid())){\n //first dataset has no name for as -> check the second\n if(fromSecond.getName().equals(fromSecond.getAsid())){\n //the second has also no name for as -> use asid as name\n cn.setName(fromFirst.getAsid());\n }else{\n //the second has a separate name for as -> use this\n cn.setName(fromSecond.getName());\n }\n }else{\n //first has name for as -> use it\n cn.setName(fromFirst.getName());\n }\n\n cn.setAttributes(\n syncAttributes(\n filterAttributes(fromFirst.getAttributes(), forbiddenAttributes),\n filterAttributes(fromSecond.getAttributes(), forbiddenAttributes)));\n\n }else{\n //something is wrong here!\n logger.warn(\"ooops ¯\\\\_(ツ)_/¯\");\n }\n merged.getNodes().add(cn);\n }\n\n logger.debug(\"merging edges...\");\n\n for(Edge edge : mergedGraph.getEachEdge()){\n CoriaEdge ce = new CoriaEdge();\n try {\n CoriaEdge fromFirst = first.getEdges().stream().filter(coriaEdge -> coriaEdge.getName().equals(edge.getId())).findFirst().get();\n CoriaEdge fromSecond = second.getEdges().stream().filter(coriaEdge -> coriaEdge.getName().equals(edge.getId())).findFirst().get();\n\n if(fromFirst != null && fromSecond == null){\n //1. Edge is only in first -> take all information from first\n ce.setName(fromFirst.getName());\n ce.setAttributes(filterAttributes(fromFirst.getAttributes(), forbiddenAttributes));\n }else if(fromSecond != null && fromFirst == null){\n //2. Edge is only in first -> take all information from first\n ce.setName(fromSecond.getName());\n ce.setAttributes(filterAttributes(fromSecond.getAttributes(), forbiddenAttributes));\n }else if(fromFirst != null && fromSecond != null){\n //3. Edge is found in both DataSets -> try merging\n ce.setName(fromSecond.getName());\n\n ce.setAttributes(\n syncAttributes(\n filterAttributes(fromFirst.getAttributes(), forbiddenAttributes),\n filterAttributes(fromSecond.getAttributes(), forbiddenAttributes)));\n }else{\n //something is wrong here!\n }\n }catch(Exception ex){\n String origMessage = ex.getMessage();\n ex = new Exception(\"Error while merging edge \" + edge.getId() + \" because \" + origMessage);\n logger.error(ex.getMessage());\n throw ex;\n }\n merged.getEdges().add(ce);\n }\n logger.debug(\"finished merging\");\n\n return merged;\n }",
"public T union( T obj1, T obj2 )\n {\n // Find the root of each object; if either is not contained, the root\n // value will be null, and we throw an exception.\n Node root1 = getRoot(nodes.get(obj1));\n Node root2 = getRoot(nodes.get(obj2));\n if ( root1 == null && root2 == null )\n throw new NoSuchElementException( \"Sets do not contain either object: \" + obj1 + \", \" + obj2 );\n if ( root1 == null )\n throw new NoSuchElementException( \"Sets do not contain object: \" + obj1 );\n if ( root2 == null )\n throw new NoSuchElementException( \"Sets do not contain object: \" + obj2 );\n // If already were in same set, just return data from the root of that\n // set.\n if ( root1 == root2 )\n return root1.data;\n // If not already, then doing union reduces overall number of sets.\n numSets-- ;\n // We use root2 as the new parent if either (a) the trees containing\n // both inputs have same rank and a \"coin toss\" settles on this case,\n // or (b) the tree containing obj1 has lower rank.\n if ( ( root1.rank == root2.rank && Math.random() < 0.5 ) || root1.rank < root2.rank )\n {\n // When we link root1 to root2, size of set under root2 inreases.\n root1.parent = root2;\n root2.size += root1.size;\n \n // When we union two sets of same rank, new root gets higher rank.\n if ( root1.rank == root2.rank )\n root2.rank++ ;\n \n return root2.data;\n }\n else\n // We use root1 as the new parent if either (a) the trees containing\n // both inputs have same rank and a \"coin toss\" settles on this\n // case, or (b) the tree containing obj2 has lower rank.\n {\n // When we link root1 to root2, size of set under root2 inreases.\n root2.parent = root1;\n root1.size += root2.size;\n \n // When we union two sets of same rank, new root gets higher rank.\n if ( root1.rank == root2.rank )\n root1.rank++ ;\n \n return root1.data;\n }\n }",
"public ResourceSpec merge(final ResourceSpec other) {\n\t\tcheckNotNull(other, \"Cannot merge with null resources\");\n\n\t\tif (this.equals(UNKNOWN) || other.equals(UNKNOWN)) {\n\t\t\treturn UNKNOWN;\n\t\t}\n\n\t\tResourceSpec target = new ResourceSpec(\n\t\t\tthis.cpuCores.merge(other.cpuCores),\n\t\t\tthis.taskHeapMemory.add(other.taskHeapMemory),\n\t\t\tthis.taskOffHeapMemory.add(other.taskOffHeapMemory),\n\t\t\tthis.managedMemory.add(other.managedMemory));\n\t\ttarget.extendedResources.putAll(extendedResources);\n\t\tfor (Resource resource : other.extendedResources.values()) {\n\t\t\ttarget.extendedResources.merge(resource.getName(), resource, (v1, v2) -> v1.merge(v2));\n\t\t}\n\t\treturn target;\n\t}",
"public boolean canBeMerged(VendorLocations entity) {\n\t\treturn true;\n\t}",
"@Test\n\tpublic void testMerge_3()\n\t\tthrows Exception {\n\t\tSimpleAuthorizingAccount fixture = new SimpleAuthorizingAccount();\n\t\tfixture.setSimpleRoles(null);\n\t\tAccount otherAccount = new SimpleAuthorizingAccount();\n\n\t\tfixture.merge(otherAccount);\n\n\t\t// add additional test code here\n\t}",
"public void mergeSort() throws Exception{\n\t\tif(this.qtd<=1)\n\t\t\tthrow new Exception(\"Nada para ordenar\");\n\t\tthis.sort(0,this.qtd-1);\n\t}",
"public boolean canBeMerged(TAssignmentGradingAttachment entity) {\r\n\t\treturn true;\r\n\t}",
"public boolean canBeMerged(SchoolCourseStudent entity) {\r\n\t\treturn true;\r\n\t}",
"@Nonnull\r\n\tpublic static <T> Observable<T> merge(\r\n\t\t\t@Nonnull Observable<? extends T> first,\r\n\t\t\t@Nonnull Observable<? extends T> second) {\r\n\t\tList<Observable<? extends T>> list = new ArrayList<Observable<? extends T>>();\r\n\t\tlist.add(first);\r\n\t\tlist.add(second);\r\n\t\treturn merge(list);\r\n\t}",
"public interface MergableProperties {\n\n\t/**\n\t * A variation of {@link BeanUtils#copyProperties(Object, Object)} specifically designed to copy properties using the following rule:\n\t *\n\t * - If source property is null then override with the same from mergable.\n\t * - If source property is an array and it is empty then override with same from mergable.\n\t * - If source property is mergable then merge.\n\t */\n\tdefault void merge(MergableProperties mergable) {\n\t\tif (mergable == null) {\n\t\t\treturn;\n\t\t}\n\t\tfor (PropertyDescriptor targetPd : BeanUtils.getPropertyDescriptors(mergable.getClass())) {\n\t\t\tMethod writeMethod = targetPd.getWriteMethod();\n\t\t\tif (writeMethod != null) {\n\t\t\t\tPropertyDescriptor sourcePd = BeanUtils.getPropertyDescriptor(this.getClass(), targetPd.getName());\n\t\t\t\tif (sourcePd != null) {\n\t\t\t\t\tMethod readMethod = sourcePd.getReadMethod();\n\t\t\t\t\tif (readMethod != null &&\n\t\t\t\t\t\t\tClassUtils.isAssignable(writeMethod.getParameterTypes()[0], readMethod.getReturnType())) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!Modifier.isPublic(readMethod.getDeclaringClass().getModifiers())) {\n\t\t\t\t\t\t\t\treadMethod.setAccessible(true);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tObject value = readMethod.invoke(this);\n\t\t\t\t\t\t\tif (value != null) {\n\t\t\t\t\t\t\t\tif (value instanceof MergableProperties) {\n\t\t\t\t\t\t\t\t\t((MergableProperties)value).merge((MergableProperties)readMethod.invoke(mergable));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\tObject v = readMethod.invoke(mergable);\n\t\t\t\t\t\t\t\t\tif (v == null || (ObjectUtils.isArray(v) && ObjectUtils.isEmpty(v))) {\n\t\t\t\t\t\t\t\t\t\tif (!Modifier.isPublic(writeMethod.getDeclaringClass().getModifiers())) {\n\t\t\t\t\t\t\t\t\t\t\twriteMethod.setAccessible(true);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\twriteMethod.invoke(mergable, value);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch (Throwable ex) {\n\t\t\t\t\t\t\tthrow new FatalBeanException(\n\t\t\t\t\t\t\t\t\t\"Could not copy property '\" + targetPd.getName() + \"' from source to target\", ex);\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}\n\n\tdefault void copyProperties(Object source, Object target) throws BeansException {\n\n\t}\n}",
"private static void merge(Gitlet currCommit, String[] args) {\n if (!isSure()) {\n return;\n } else if (args.length != 2) {\n System.out.println(\"Please input the branch name\");\n } else if (!currCommit.tree.hasBranch(args[1])) {\n System.out.println(\"A branch with that name does not exist.\");\n } else if (args[1].equals(currCommit.tree.getCurrentBranch())) {\n System.out.println(\"Cannot merge a branch with itself.\");\n } else {\n HashMap<String, String> splitMap = findSplitBranch(currCommit, args)\n .getFileLoc();\n HashMap<String, String> headMap = currCommit.tree.getHeadCommit()\n .getFileLoc();\n HashMap<String, String> mergeMap = currCommit.tree.getHeadCommit(\n args[1]).getFileLoc();\n for (String mergeFile : mergeMap.keySet()) {\n if (splitMap.containsKey(mergeFile)\n && headMap.containsKey(mergeFile)) {\n if (splitMap.get(mergeFile).equals(headMap.get(mergeFile))\n && !headMap.get(mergeFile).equals(\n mergeMap.get(mergeFile))) {\n FileManip origin = new FileManip(\n mergeMap.get(mergeFile));\n origin.copyFile(mergeFile);\n } else if (!splitMap.get(mergeFile).equals(\n headMap.get(mergeFile))\n && !splitMap.get(mergeFile).equals(\n mergeMap.get(mergeFile))) {\n FileManip origin = new FileManip(\n mergeMap.get(mergeFile));\n origin.copyFile(mergeFile + \".conflicted\");\n }\n } else if (!splitMap.containsKey(mergeFile)\n && headMap.containsKey(mergeFile)) {\n FileManip origin = new FileManip(mergeMap.get(mergeFile));\n if (!origin.isSame(headMap.get(mergeFile))) {\n origin.copyFile(mergeFile + \".conflicted\");\n }\n }\n }\n }\n }",
"public boolean merge(int i, Object b) {\n if (b == null) return false;\n Object a = this.registers[i];\n if (b.equals(a)) return false;\n Set q;\n if (!(a instanceof Set)) {\n this.registers[i] = q = NodeSet.FACTORY.makeSet();\n if (a != null) q.add(a);\n } else {\n q = (Set)a;\n }\n if (b instanceof Set) {\n if (q.addAll((Set)b)) {\n if (TRACE_INTRA) out.println(\"change in register \"+i+\" from adding set\");\n return true;\n }\n } else {\n if (q.add(b)) {\n if (TRACE_INTRA) out.println(\"change in register \"+i+\" from adding \"+b);\n return true;\n }\n }\n return false;\n }",
"public PlainGraph mergeGraphs(PlainGraph g1, PlainGraph g2){\n // check if g1 subset g2 or g2 subset g1\n // only in the first case g1 should be replaced with g2\n // else glue the two graphs together\n if (subsetGraphs(g1, g2)) {\n // make sure that the name does not change, in the root case of the tree the g1 contains the name of the invariant\n g2.setName(g1.getName());\n return g2;\n } else if (!subsetGraphs(g2, g1)) {\n return mergeGraphsInternal(g1, g2);\n }\n return g1;\n }",
"public static Entity merge(Entity seed, Entity targ)\r\n/* 29: */ {\r\n/* 30:42 */ Entity newThing = new Entity();\r\n/* 31:43 */ Bundle newBundle = new Bundle();\r\n/* 32:44 */ newThing.setBundle(newBundle);\r\n/* 33: */ \r\n/* 34: */ \r\n/* 35:47 */ List<Point<Thread>> seedList = getPointList(seed.getBundle());\r\n/* 36:48 */ List<Point<Thread>> targList = getPointList(targ.getBundle());\r\n/* 37:49 */ Map<Point<Thread>, Point<Thread>> bestMatches = Operations.hungarian(seedList, targList);\r\n/* 38:51 */ if (bestMatches.keySet().containsAll(seedList))\r\n/* 39: */ {\r\n/* 40:53 */ for (Point<Thread> t : bestMatches.keySet())\r\n/* 41: */ {\r\n/* 42:54 */ Thread mergedThread = pruneThread((Thread)t.getWrapped(), (Thread)((Point)bestMatches.get(t)).getWrapped());\r\n/* 43:55 */ targList.remove(bestMatches.get(t));\r\n/* 44:56 */ newBundle.add(mergedThread);\r\n/* 45: */ }\r\n/* 46:59 */ for (Point<Thread> remaining : targList) {\r\n/* 47:60 */ newBundle.add((Thread)remaining.getWrapped());\r\n/* 48: */ }\r\n/* 49: */ }\r\n/* 50: */ else\r\n/* 51: */ {\r\n/* 52:65 */ for (Point<Thread> t : bestMatches.keySet())\r\n/* 53: */ {\r\n/* 54:66 */ Thread mergedThread = pruneThread((Thread)((Point)bestMatches.get(t)).getWrapped(), (Thread)t.getWrapped());\r\n/* 55:67 */ newBundle.add(mergedThread);\r\n/* 56: */ }\r\n/* 57: */ }\r\n/* 58:71 */ return newThing;\r\n/* 59: */ }",
"public void testMerge() {\n \n LoreModel model = new LoreModel(OntModelSpec.OWL_MEM, ModelFactory.createDefaultModel());\n \n Authority authA = Authority.createOrGet(model,\"A\");\n Property obsIn = model.getProperty(LoreModel.URI+\"#observedIn\");\n \n Experiment exp1 = Experiment.createOrGet(model, \"exp1\");\n Experiment exp2 = Experiment.createOrGet(model, \"exp2\");\n Experiment exp3 = Experiment.createOrGet(model, \"exp3\");\n \n RecordObject o1 = RecordObject.createOrGet(model, authA, \"a\");\n o1.addProperty(obsIn, exp1);\n o1.addProperty(obsIn, exp2);\n \n RecordObject o2 = RecordObject.createOrGet(model, authA, \"b\");\n o2.addProperty(obsIn, exp1);\n o2.addProperty(obsIn, exp2);\n \n RecordObject o3 = RecordObject.createOrGet(model, authA, \"c\");\n o2.addProperty(obsIn, exp3);\n RecordObject o4 = RecordObject.createOrGet(model, authA, \"d\");\n o2.addProperty(obsIn, exp3);\n \n assertEquals(4, model.listIndividualsOfClass(RecordObject.class, false).size());\n assertEquals(3, model.listIndividualsOfClass(Experiment.class, false).size());\n \n ContextBasedMerger instance = new ContextBasedMerger();\n \n \n \n ResourceReferences<Individual> selection = instance.selectionP.validate(\n \"SELECT ?exp WHERE {?exp <\"+RDF.type.getURI()+\"> \"\n + \"<\"+Experiment.CLASS_URI+\">}\");\n ResourceReferences<OntClass> contextRestriction = instance.contextRestrictionsP\n .validate(RecordObject.CLASS_URI);\n \n instance.setParameter(instance.selectionP, selection);\n instance.setParameter(instance.contextRestrictionsP, contextRestriction);\n instance.setModel(model);\n instance.run();\n \n assertEquals(4, model.listIndividualsOfClass(RecordObject.class, false).size());\n assertEquals(2, model.listIndividualsOfClass(Experiment.class, false).size());\n \n }",
"public CountMin merge(final CountMin other) {\n if (this.rows != other.rows || this.columns != other.columns) {\n throw new IllegalArgumentException(\n \"Trying to merge two CountMin data structures of different sizes.\");\n }\n for (int i = 0; i < rows * columns; i++) {\n this.counts[i] += other.counts[i];\n }\n this.update_sum += other.update_sum;\n return this;\n }",
"Merge() {\n //Unused Constructor.\n }",
"protected boolean union(int id1, int id2) \n\t{\n\t\t// Find the parents of both nodes.\n\t\tint root1 = find(id1);\n\t\tint root2 = find(id2);\n\t\t\n\t\t// No union needed.\n\t\tif (root1 == root2)\n\t\t{\n\t\t //Return that the two values were already in the same tree\n\t\t return false;\n\t\t}\n\t\t\n\t\t//Combine the trees with these two roots\n\t\tparents[root1] = root2;\n\t\t\n\t\t// We successfully did a union.\n\t\treturn true;\n\t}",
"private PlainGraph mergeGraphsInternal(PlainGraph g1, PlainGraph g2) {\n // Create all nodes of g2 in g1\n // AddNode does check if the node does exist already, if so it doesn't create a new one\n for (Map.Entry<String, PlainNode> entry: graphNodeMap.get(g2).entrySet()){\n addNode(g1, entry.getKey(), null);\n }\n\n // create all edges of g2 in g1\n for (PlainEdge edge: g2.edgeSet()) {\n // check if the edge exists in g1, if so check if the variable names of the source and the target are also the same and not just the node names\n // Since the node names are numbered in each graph starting with 0, collisions could exists without the 2nd and 3rd check\n // Inverse the whole such that if this edge doesn't exist create it in g1\n if (! (g1.containsEdge(edge) && getVarName(g2, edge.source()).equals(getVarName(g1, edge.source())) && getVarName(g2, edge.target()).equals(getVarName(g1, edge.target())))) {\n addEdge(g1, getVarName(g2, edge.source()), edge.label().text(), getVarName(g2, edge.target()));\n }\n }\n return g1;\n }",
"private static void mergingSync() {\n Observable.merge(getDataSync(1), getDataSync(2)).blockingForEach(System.out::println);\n }",
"public ResourceMount autodetectMerging() {\n\t\t_merge = null;\n\t\treturn this;\n\t}",
"@Test\n\tpublic void testMerge_5()\n\t\tthrows Exception {\n\t\tSimpleAuthorizingAccount fixture = new SimpleAuthorizingAccount();\n\t\tfixture.setSimpleRoles(new HashSet());\n\t\tAccount otherAccount = new SimpleAccount();\n\n\t\tfixture.merge(otherAccount);\n\n\t\t// add additional test code here\n\t}",
"@Override\r\n\tpublic void merge(List<EObject> sources, List<EObject> targets) {\n\t\tcontext = targets.get(0).eResource().getResourceSet();\r\n\r\n\t\tsuper.merge(sources, targets);\r\n\t}",
"private Document doMerge(Document[] docs) throws AbstractXmlMergeException\n {\n Document originalDoc = docs[0];\n\n for (int i = 1; i < docs.length; i++)\n {\n\n if (!m_rootMatcher.matches(originalDoc.getRootElement(), docs[i].getRootElement()))\n {\n throw new IllegalArgumentException(\"Root elements do not match.\");\n }\n\n Document output = new Document();\n if (originalDoc.getDocType() != null)\n {\n output.setDocType((DocType) originalDoc.getDocType().clone());\n }\n output.setRootElement(new Element(\"root\"));\n\n m_rootMergeAction.perform(originalDoc.getRootElement(), docs[i].getRootElement(),\n output.getRootElement());\n\n Element root = (Element) output.getRootElement().getChildren().get(0);\n root.detach();\n\n originalDoc.setRootElement(root);\n }\n\n return originalDoc;\n }",
"public boolean canBeMerged(Releaseplan entity) {\r\n\t\treturn true;\r\n\t}",
"public static void main(String[] args) {\r\n\t\tint[] A = { 1, 2, 3, 4, 4, 5, 6, 6, 7 };\r\n\t\tint[] B = { 4, 5, 5, 5, 6, 7, 8, 9 };\r\n\r\n\t\tSystem.out.println(\"Test 1: \");\r\n\t\tmerge(A, B);\r\n\r\n\t\tint[] C = { 9, 15, 16, 28 };\r\n\t\tint[] D = { 1, 8, 14, 15, 26, 31 };\r\n\t\tSystem.out.println(\"Test 2: \");\r\n\t\tmerge(C, D);\r\n\r\n\t\tint[] E = { -3, -1, 0, 29358, 29359, 300000 };\r\n\t\tint[] F = { -29, -2, 0, 100, 29360 };\r\n\t\tSystem.out.println(\"Test 3: \");\r\n\t\tmerge(E, F);\r\n\r\n\t}",
"protected int checkMergeShapes(FoundShape shapeA, FoundShape shapeB) {\n\t\tmembersAinB.clear();\n\t\tmembersBinA.clear();\n\n\t\t// find points which are mutual members\n\t\tfindMembersRigorous(shapeA, shapeB.points, membersBinA);\n\t\tfindMembersRigorous(shapeB, shapeA.points, membersAinB);\n\n\t\t// see if one of the shapes has a bunch of points in the other\n\t\tdouble fracAinB = membersAinB.size() / (double) shapeA.points.size();\n\t\tdouble fracBinA = membersBinA.size() / (double) shapeB.points.size();\n\n\t\tif (Math.max(fracAinB, fracBinA) <= commonMembershipFraction) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tif (fracAinB > fracBinA) {\n\t\t\t// B is the dominant one\n\t\t\tmodifiedDominant = mergeShape(shapeB, shapeA.points);\n\t\t\treturn 2;\n\t\t} else {\n\t\t\t// A is the dominant one\n\t\t\tmodifiedDominant = mergeShape(shapeA, shapeB.points);\n\t\t\treturn 1;\n\t\t}\n\t}",
"@Override\n public Mono<GitPullDTO> mergeBranch(String defaultApplicationId, String sourceBranch, String destinationBranch) {\n\n return getApplicationById(defaultApplicationId)\n .flatMap(application -> {\n GitApplicationMetadata gitApplicationMetadata = application.getGitApplicationMetadata();\n if (isInvalidDefaultApplicationGitMetadata(application.getGitApplicationMetadata())) {\n return Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_SSH_CONFIGURATION));\n }\n Path repoPath = Paths.get(application.getOrganizationId(),\n gitApplicationMetadata.getDefaultApplicationId(),\n gitApplicationMetadata.getRepoName());\n\n //1. Hydrate from db to file system for both branch Applications\n Mono<Path> pathToFile = getBranchApplicationFromDBAndSaveToLocalFileSystem(defaultApplicationId, sourceBranch, sourceBranch, repoPath)\n .flatMap(path -> getBranchApplicationFromDBAndSaveToLocalFileSystem(defaultApplicationId, sourceBranch, destinationBranch, repoPath));\n\n return Mono.zip(\n Mono.just(application),\n pathToFile\n ).onErrorResume(error -> Mono.error(new AppsmithException(AppsmithError.INTERNAL_SERVER_ERROR)));\n })\n .flatMap(tuple -> {\n Application application = tuple.getT1();\n Path repoPath = tuple.getT2();\n\n //2. git checkout destinationBranch ---> git merge sourceBranch\n return Mono.zip(gitExecutor.mergeBranch(repoPath, sourceBranch, destinationBranch), Mono.just(application))\n // On merge conflict create a new branch and push the branch to remote. Let the user resolve it the git client like github/gitlab handleMergeConflict\n .onErrorResume(error -> {\n if(error.getMessage().contains(\"Merge conflict\")) {\n MultiValueMap<String, String> valueMap = new LinkedMultiValueMap<>();\n valueMap.add(FieldName.BRANCH_NAME, destinationBranch);\n return handleMergeConflict(defaultApplicationId, valueMap)\n .flatMap(status -> Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, \"merge\",error.getMessage() )));\n }\n return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, \"Merge\", error.getMessage()));\n });\n })\n .flatMap(mergeStatusTuple -> {\n Application application = mergeStatusTuple.getT2();\n String mergeStatus = mergeStatusTuple.getT1();\n\n //3. rehydrate from file system to db\n try {\n Mono<ApplicationJson> applicationJson = fileUtils.reconstructApplicationFromGitRepo(\n application.getOrganizationId(),\n application.getGitApplicationMetadata().getDefaultApplicationId(),\n application.getGitApplicationMetadata().getRepoName(),\n destinationBranch);\n return Mono.zip(Mono.just(mergeStatus), Mono.just(application), applicationJson);\n } catch (IOException | GitAPIException e) {\n return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, \"merge\", e.getMessage()));\n }\n })\n .flatMap(tuple -> {\n Application application = tuple.getT2();\n ApplicationJson applicationJson = tuple.getT3();\n String status = tuple.getT1();\n\n //4. Get the latest application mono with all the changes\n return importExportApplicationService\n .importApplicationInOrganization(application.getOrganizationId(), applicationJson, application.getId())\n .map(application1 -> setStatusAndApplication(application1, status));\n });\n }",
"public void merge(Ontology o);",
"public void union(T x, T y) {\n\t\tassert (_parents.containsKey(x));\n\t\tassert (_parents.containsKey(y));\n\n\t\tx = find(x);\n\t\ty = find(y);\n\n\t\tif (x == y) {\n\t\t\treturn;\n\t\t}\n\n\t\tint xRank = _ranks.get(x);\n\t\tint yRank = _ranks.get(y);\n\n\t\tif (xRank < yRank) {\n\t\t\t_parents.put(x, y);\n\t\t} else if (xRank > yRank) {\n\t\t\t_parents.put(y, x);\n\t\t} else {\n\t\t\t_parents.put(y, x);\n\t\t\t_ranks.put(x, xRank + 1);\n\t\t}\n\n\t\t_numSets--;\n\t}",
"public void merge(Heap<E> other) throws ClassCastException,NullPointerException,IllegalArgumentException,IllegalStateException {\n this.addAll(other);\n }",
"Document mergeValues(List<Document> documents) throws ResourcesMergingException;",
"boolean shouldMerge() {\n return mergeState.segmentInfo.getDocCount() > 0;\n }",
"public void union(Node a, Node b) {\n Node set1 = find(a);\n Node set2 = find(b);\n\n if (set1 != set2) {\n // Limits the worst case runtime of a find to O(log N)\n if (set1.getSize() < set2.getSize()) {\n set2.setParent(set1);\n set1.setSize(set1.getSize() + set2.getSize());\n }\n else {\n set1.setParent(set2);\n set2.setSize(set1.getSize() + set2.getSize());\n }\n }\n }",
"public boolean union(int x, int y) {\n int xParent = findParent(x);\r\n int yParent = findParent(y);\r\n \r\n //if x and y's parent are same, return false\r\n if(xParent == yParent) return false;\r\n \r\n // if xParent has higher rank then\r\n //yParent's parent will be xParent\r\n else if(rank[xParent] > rank[yParent]) {\r\n parent[yParent] = xParent;\r\n }\r\n //and vice versa here\r\n else if(rank[yParent] > rank[xParent]) {\r\n parent[xParent] = yParent;\r\n }\r\n // if x and y's parent are different but have same rank\r\n else {\r\n //make any one of them the parent of the other \r\n //and increase it's rank\r\n parent[xParent] = yParent;\r\n rank[yParent]++;\r\n }\r\n \r\n return true;\r\n }",
"private Node merge(Node r) {\r\n if (r.op() == Empty) return r;\r\n assert(r.op() == List);\r\n if (r.left().op() == Rule) { merge(r.right()); return r; }\r\n Node n = r.left();\r\n assert(n.op() == List);\r\n r.left(n.left());\r\n if (n.right().op() == Empty) return r;\r\n n.left(n.right());\r\n n.right(r.right());\r\n r.right(n);\r\n merge(r);\r\n return r;\r\n }",
"public Pair<Outbox, Boolean> mergeAdjacent(Outbox new_ob, Outbox last_ob) {\n\n int dim = new_ob.adjacent(last_ob);\n if ((dim != -1) && (!new_ob.sameSize(last_ob, dim))) dim = -1;\n if (dim != -1) new_ob.merge(last_ob, dim); //merge the two objects\n// if (dim!=-1) System.out.println(\"after merge:\"+new_ob);\n\n return new Pair<>(new_ob, dim != -1);\n\n }",
"protected boolean afterMerge() throws DBSIOException{return true;}",
"@Override\n public void union(int root1, int root2) {\n // TODO: Implement the union-by-rank algorithm for disjoint set\n if (s[root1]>-1 || s[root2]>-1 ) throw new IllegalArgumentException(\"Impossible to union because one of the roots is already dependant\");\n if( s[root2] < s[root1]){ // root2 is deeper\n s[root1] = root2;// Make root2 new root\n } \n else{\n if(s[root1] == s[root2]) s[ root1 ]--; // Update height if same\n s[root2] = root1; // Make root1 new root\n }\n }",
"public GridCollector merge(GridCollector other) {\n\t\t// cell-wise merge\n\t\tIntStream.range(0, cells.size())\n\t\t .forEach(i -> cells.get(i).addAll(other.cells.get(i)));\n\t\treturn this;\n\t}",
"public static void main(String[] args) {\n List<Integer> list1 = new ArrayList<>();\n List<Integer> list2 = new ArrayList<>();\n list1.add(2);\n list1.add(3);\n list1.add(4);\n list2.add(1);\n list2.add(5);\n list2.add(6);\n merge(list1, list2).forEach(item -> System.out.print(item + \" \"));\n }",
"public T caseMerge(Merge object) {\n\t\treturn null;\n\t}",
"@Override\n protected void mergeModel_Organization( Model target, Model source, boolean sourceDominant,\n Map<Object, Object> context )\n {\n Organization src = source.getOrganization();\n if ( source.getOrganization() != null )\n {\n Organization tgt = target.getOrganization();\n if ( tgt == null )\n {\n target.setOrganization( tgt = new Organization() );\n mergeOrganization( tgt, src, sourceDominant, context );\n }\n }\n }",
"@Override\n\tpublic boolean combine(EHICommand anotherCommand) {\n\t\treturn false;\n\t}",
"public void conflict(Object arg0, boolean arg1) {\n\t}",
"@Test\r\n public void testMerge() throws Exception {\r\n// List<ISpectrum> spectra = ClusteringTestUtilities.readConsensusSpectralItems();\r\n//\r\n// List<ICluster> list = ClusterUtilities.asClusters(spectra);\r\n// IClusteringEngine engine = new ClusteringEngineFactory().getClusteringEngine();\r\n// for (ICluster sc : list) {\r\n// engine.addClusters(sc);\r\n// }\r\n// for (int i = 0; i < Defaults.getNumberReclusteringPasses(); i++) {\r\n// if (!engine.processClusters())\r\n// break;\r\n// }\r\n// // we have solved for these\r\n// List<ICluster> found = (List<ICluster>) engine.getClusters();\r\n//\r\n//\r\n// final ISimilarityChecker similarityChecker = new FrankEtAlDotProduct(Defaults.getFragmentIonTolerance(), Defaults.getNumberComparedPeaks());\r\n// final List<ICluster> newClusters = ClusterUtilities.mergeClusters(found, similarityChecker, 1);\r\n//\r\n// // because we just did this in the engine we expect little further merging\r\n// Assert.assertEquals(newClusters.size(), found.size());\r\n\r\n\r\n }"
] |
[
"0.6796491",
"0.6525819",
"0.64516556",
"0.6319674",
"0.6165746",
"0.61437815",
"0.6117465",
"0.6105518",
"0.5990635",
"0.58809566",
"0.570689",
"0.5706567",
"0.5461646",
"0.5394975",
"0.5374238",
"0.53650385",
"0.53064793",
"0.5257313",
"0.5183611",
"0.5165035",
"0.51490414",
"0.51424724",
"0.51408464",
"0.51300746",
"0.51064134",
"0.5087126",
"0.50494283",
"0.5032294",
"0.5027138",
"0.501402",
"0.5012906",
"0.50122696",
"0.5010514",
"0.50026685",
"0.4968032",
"0.49668312",
"0.49578485",
"0.49396858",
"0.49386698",
"0.49246764",
"0.48961318",
"0.48621362",
"0.4857838",
"0.48375523",
"0.48323622",
"0.48235053",
"0.4821075",
"0.48099527",
"0.48008406",
"0.47999844",
"0.47778338",
"0.47574478",
"0.47553882",
"0.4745949",
"0.4740971",
"0.4699109",
"0.46979377",
"0.46859437",
"0.46736458",
"0.46646234",
"0.46624",
"0.46448296",
"0.46434116",
"0.4641319",
"0.4622129",
"0.46211776",
"0.46154255",
"0.46136203",
"0.4596166",
"0.45780647",
"0.45577782",
"0.45497146",
"0.45474494",
"0.45357424",
"0.45317182",
"0.45301145",
"0.45278126",
"0.4510883",
"0.4510413",
"0.4507489",
"0.44951987",
"0.4492101",
"0.4490071",
"0.44759902",
"0.44733042",
"0.44705746",
"0.4468678",
"0.44673434",
"0.44557282",
"0.44178328",
"0.4413421",
"0.4412667",
"0.44035482",
"0.43884432",
"0.4380301",
"0.43627307",
"0.43611792",
"0.43577814",
"0.43553275",
"0.43521035"
] |
0.6018743
|
8
|
System.out.println("" + "handleSignInResult:" + result.isSuccess());
|
private void handleSignInResult(GoogleSignInResult result) {
if (result.isSuccess()) {
// Signed in successfully, show authenticated UI.
GoogleSignInAccount acct = result.getSignInAccount();
// mStatusTextView.setText(getString(R.string.signed_in_fmt, acct.getDisplayName()));
// updateUI(true);
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n\tpublic void onSignInSucceeded() {\n\n\t}",
"private void handleSignInResult(GoogleSignInResult result) {\n Log.v(\"SIGNIN STATUS\", \"SIGNIN RESULT: \" + result.getStatus().getStatusMessage());\n Log.v(\"SIGNIN STATUS\", \"SIGNIN CODE: \" + result.getStatus().getStatusCode());\n if (result.isSuccess()) {\n // Signed in successfully\n GoogleSignInAccount acct = result.getSignInAccount();\n IlliniBusApplication myApplication = (IlliniBusApplication) getApplication();\n myApplication.signIn(acct);\n Intent intent = new Intent(StartActivity.this, MainActivity.class);\n startActivity(intent);\n } else {\n Toast.makeText(getApplicationContext(), \"Failed to Login!\",\n Toast.LENGTH_LONG).show();\n }\n }",
"private void onSignInResult(FirebaseAuthUIAuthenticationResult result) {\n IdpResponse response = result.getIdpResponse();\n if (result.getResultCode() == RESULT_OK) {\n // Successfully signed in\n FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();\n // ...\n } else {\n // Sign in failed. If response is null the user canceled the\n // sign-in flow using the back button. Otherwise check\n // response.getError().getErrorCode() and handle the error.\n // ...\n }\n }",
"private void signInResultHandler(GoogleSignInResult result) {\n if (result.isSuccess()) {\n acct = result.getSignInAccount();\n m_tvStatus.setText(R.string.status_signedin);\n try {\n m_tvDispName.setText(acct.getDisplayName());\n m_tvEmail.setText(acct.getEmail());\n }\n catch (NullPointerException e) {\n Log.d(TAG, \"Error retrieving some account information\");\n Toast.makeText(MainActivity.this, \"Oops! Please double check your account info.\", Toast.LENGTH_SHORT).show();\n }\n\n checkAGWALoginStatus(acct);\n Account_Email = acct.getEmail();\n\n }\n else {\n Status status = result.getStatus();\n int statusCode = status.getStatusCode();\n\n // Constant Value: 12501 (API)\n if (statusCode == GoogleSignInStatusCodes.SIGN_IN_CANCELLED) {\n m_tvStatus.setText(R.string.status_signincancelled);\n }\n\n // Constant Value: 12500 (API)\n else if (statusCode == GoogleSignInStatusCodes.SIGN_IN_FAILED) {\n m_tvStatus.setText(R.string.status_signinfail);\n }\n else {\n m_tvStatus.setText(R.string.status_nullresult);\n }\n }\n }",
"private void handleSignInResult(GoogleSignInResult result) {\n if (result.isSuccess()) {\n // Signed in successfully, show authenticated UI.\n GoogleSignInAccount acct = result.getSignInAccount();\n assert acct != null;\n personName = acct.getDisplayName();\n personEmail = acct.getEmail();\n //mStatusTextView.setText(getString(R.string.signed_in_fmt, acct.getDisplayName()));\n updateUI(true);\n } else {\n // Signed out, show unauthenticated UI.\n updateUI(false);\n }\n }",
"void signInComplete();",
"private void handleSignInResult(GoogleSignInResult result) {\n if (result.isSuccess()) {\n // Signed in successfully, show authenticated UI.\n GoogleSignInAccount acct = result.getSignInAccount();\n test = (TextView) findViewById(R.id.tvTest);\n //ImageView prof = (ImageView) findViewById(R.id.iv_profile_icon);\n String personName = acct.getDisplayName();\n String personEmail = acct.getEmail();\n String personId = acct.getId();\n Uri personPhoto = acct.getPhotoUrl();\n\n test.setText(\"Logged in as: \" + personName);\n\n currentUser = new User(personName);\n if(currentUser == null) {\n Snackbar snackbar = Snackbar.make(\n coordinatorLayout, \"Logged in as \"+personName+\", but User class is NULL\",\n Snackbar.LENGTH_LONG);\n snackbar.show();\n }else{\n Snackbar snackbar = Snackbar.make(\n coordinatorLayout, \"Logged in as \"+personName+\". Welcome!\",\n Snackbar.LENGTH_LONG);\n snackbar.show();\n if (service != null) {\n service.setUserID(currentUser.getName());\n }\n }\n\n //mStatusTextView.setText(getString(R.string.signed_in_fmt, acct.getDisplayName()));\n //updateUI(true);\n } else {\n test = (TextView) findViewById(R.id.tvTest);\n test.setText(\"Please login with Google Login\");\n }\n }",
"@Override\n public void onSuccess(AuthResult authResult) {\n Toast.makeText(Login1.this, \"Successfully Login\", Toast.LENGTH_SHORT).show();\n\n }",
"@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n if (requestCode == RC_SIGN_IN) {\n GoogleSignInResult result = Auth.GoogleSignInApi.getSignInResultFromIntent(data);\n\n System.out.println(\"result status code\" + result.getStatus());\n if (result.isSuccess()) {\n onSucessGoogleLogin(result);\n\n } else {\n // Google Sign In failed, update UI appropriately\n Utility.logData(\"Login unsuccessful\");\n Utility.showShortToast(\"Login unsuccessful\");\n }\n\n }\n super.onActivityResult(requestCode, resultCode, data);\n }",
"@Override\n public void onSuccess(LoginResult loginResult) {\n }",
"@Override\n public void onSuccess(AuthResult authResult) {\n\n }",
"@Override\n\tpublic void onSignInFailed() {\n\n\t}",
"private void signIn() {\n }",
"@Override\n public void onSuccess(LoginResult loginResult) {\n handleSignInFacebook(loginResult.getAccessToken(), loginResult.getAccessToken().getUserId());\n\n }",
"@Override\n public void onFailure(Exception exception) {\n System.out.println(\"Sign-In Failure: \"+exception);\n }",
"@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode,resultCode,data);\n\n if (requestCode == RES_CODE_SIGN_IN) {\n GoogleSignInResult result = Auth.GoogleSignInApi.getSignInResultFromIntent(data);\n signInResultHandler(result);\n }\n }",
"@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n Log.d(\"check\", \"in onActivityResult\");\n // Result returned from launching the Intent from GoogleSignInApi.getSignInIntent(...);\n if (requestCode == RC_SIGN_IN) {\n Log.d(\"sign in\", \"1\");\n GoogleSignInResult result = Auth.GoogleSignInApi.getSignInResultFromIntent(data);\n if (result.isSuccess()) {\n // session.setLogin(true);\n\n // Google Sign In was successful, authenticate with Firebase\n GoogleSignInAccount account = result.getSignInAccount();\n firebaseAuthWithGoogle(account);\n } else {\n Log.d(\"failed to google signin\", \"10\");\n // Google Sign In failed, update UI appropriately\n // [START_EXCLUDE]\n // updateUI(null);\n // [END_EXCLUDE]\n }\n }\n }",
"private void authSignInResult() {\n userEmail = sharedPreferences.getString(getString(R.string.shared_prefs_key_email), \"\");\n rref.orderByChild(getString(R.string.firebase_key_email)).equalTo(userEmail).addListenerForSingleValueEvent(\n new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n for (DataSnapshot appleSnapshot : dataSnapshot.getChildren()) {\n\n member = appleSnapshot.getValue(Member.class);\n String loginType = member.getLoginType().trim();\n if (loginType.equals(getString(R.string.login_type_auth))) {\n String key = appleSnapshot.getKey();\n editor.putString(getString(R.string.shared_prefs_key_firebasekey), key);\n firebaseKey = key;\n getUserDetailsFromFirebase();\n userName = member.getUsername();\n String userPhotoUrlString = member.getPhotoUrl();\n editor.putString(getString(R.string.shared_prefs_key_user_photo_url), userPhotoUrlString);\n editor.putString(getString(R.string.shared_prefs_key_username), userName);\n editor.apply();\n }\n }\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n }\n }\n );\n }",
"@Override\n public void onSuccess(SignInResult signInResult) {\n intentLogin(mailPhone);\n }",
"@Override\n public void onSuccess(SignInResult signInResult) {\n intentLogin(mailPhone);\n }",
"private void handleSignInResult(Task<GoogleSignInAccount> completedTask) {\n try {\n GoogleSignInAccount account = completedTask.getResult(ApiException.class);\n\n // Signed in successfully, show authenticated UI.\n accountEmail = account.getEmail();\n updateUI(account.toString());\n } catch (ApiException e) {\n // The ApiException status code indicates the detailed failure reason.\n updateUI(\"not Signed In\");\n }\n }",
"@Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n if (!task.isSuccessful()) {\n //Log.w(TAG, \"signInWithEmail\", task.getException());\n Toast.makeText(Login.this, \"Authentication failed.\",\n Toast.LENGTH_SHORT).show();\n }\n\n // ...\n }",
"@Test\n public void resultCodeTest() {\n assertEquals(\"000\", authResponse.getResultCode());\n }",
"@Override\r\n public void onComplete(@NonNull Task<AuthResult> task) {\n Toast.makeText(loginActivity.this, \"login successful\",\r\n Toast.LENGTH_SHORT).show();\r\n // If sign in fails, display a message to the user. If sign in succeeds\r\n // the auth state listener will be notified and logic to handle the\r\n // signed in user can be handled in the listener.\r\n if (!task.isSuccessful()) {\r\n //Log.w(TAG, \"signInWithEmail:failed\", task.getException());\r\n Toast.makeText(loginActivity.this, \"login failed\",\r\n Toast.LENGTH_SHORT).show();\r\n }\r\n\r\n // ...\r\n }",
"boolean isSuccessful();",
"void successLogin();",
"@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n if (requestCode == RC_SIGN_IN) {\n // The Task returned from this call is always completed, no need to attach\n // a listener.\n Task<GoogleSignInAccount> task = GoogleSignIn.getSignedInAccountFromIntent(data);\n handleSignInResult(task);\n } else {\n callbackManager.onActivityResult(requestCode, resultCode, data);\n }\n\n super.onActivityResult(requestCode, resultCode, data);\n }",
"@Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n if (task.isSuccessful()) {\n\n //check password and username before proceeding to login page\n Intent intent = new Intent(MainActivity.this, LoginSuccessActivity.class);\n intent.putExtra(\"USERNAME\", inputUsername);\n intent.putExtra(\"PASSWORD\", inputPassword);\n startTrackerService();\n startActivityForResult(intent, 1);\n } else {\n // password does not match email\n Toast.makeText(MainActivity.this, \"Invalid Password\", Toast.LENGTH_SHORT).show();\n }\n\n }",
"private void handleResult(GoogleSignInResult result)\n {\n // If login success\n if(result.isSuccess())\n {\n // Obtain user properties from sign in\n GoogleSignInAccount account = result.getSignInAccount();\n String name = account.getDisplayName();\n String email = account.getEmail();\n String imageUrl = account.getPhotoUrl().toString();\n\n // Pass the values to the landing page\n Intent intent = new Intent(MainActivity.this, LandingPageActivity.class);\n intent.putExtra(IntentConstants.INTENT_SIGNIN_NAME, name);\n intent.putExtra(IntentConstants.INTENT_SIGNIN_EMAIL, email);\n intent.putExtra(IntentConstants.INTENT_SIGNIN_PHOTO, imageUrl);\n intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(intent);\n finish();\n }\n else\n {\n Toast.makeText(getApplicationContext(), \"Unable to sign in. Try again\", Toast.LENGTH_SHORT).show();\n }\n\n }",
"@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(Signup.this,\"Signup Succcessful\",Toast.LENGTH_SHORT).show();\n\n }",
"private void processSignInResult(GoogleSignInResult result) {\n if (result.isSuccess()) {\n GoogleSignInAccount signInAccount = result.getSignInAccount();\n String name = signInAccount.getDisplayName();\n String email = signInAccount.getEmail();\n String imgURL = signInAccount.getPhotoUrl().toString();\n\n listActivityIntent.putExtra(GOOGLE_ACCOUNT_NAME, name);\n listActivityIntent.putExtra(GOOGLE_ACCOUNT_EMAIL,email );\n listActivityIntent.putExtra(GOOGLE_ACCOUNT_IMGURL,imgURL );\n login(true);\n } else {\n login(false);\n }\n }",
"private void handleResponseAfterSignIn(int requestCode, int resultCode, Intent data) {\n IdpResponse response = IdpResponse.fromResultIntent(data);\n\n if (requestCode == RC_SIGN_IN) {\n if (resultCode == RESULT_OK) { // SUCCESS\n getUserInfoFromFirebaseAuth(); // Get user info from firebase auth\n\n WorkmateHelper.isWorkmateExist(task -> {\n if (task.isSuccessful()) { // they are document to parse\n for (QueryDocumentSnapshot document : task.getResult())\n if (document.getId().equals(mUserMailAddress)) { // Is the document exist we leave\n startActivity(new Intent(mContext, MainActivity.class)); // Start main activity if log succeed\n return;\n }\n WorkmateHelper.createWorkmate(mUserName, mUserProfilePicture, mUserMailAddress); // Create User on DB\n } else\n Log.d(\"tag\", \"Error getting documents: \", task.getException());\n\n startActivity(new Intent(mContext, MainActivity.class));\n });\n\n } else { // ERRORS\n if (response == null) {\n Toast.makeText(this,getString(R.string.error_authentication_canceled), Toast.LENGTH_LONG).show() ;\n logOut();\n } else if (Objects.requireNonNull(response.getError()).getErrorCode() == ErrorCodes.NO_NETWORK) {\n Toast.makeText(this,getString(R.string.error_no_internet), Toast.LENGTH_LONG).show() ;\n } else {\n Toast.makeText(this,getString(R.string.unknown_error), Toast.LENGTH_LONG).show() ;\n }\n }\n }\n }",
"@Override\n public void onSignInFailed() {\n BYPASS_LOGIN = true;\n }",
"@Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n if (!task.isSuccessful()) {\n Toast.makeText(MainActivity.this, \"Authentication failed.\",\n Toast.LENGTH_SHORT).show();\n }\n }",
"@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }",
"public void callSignIn(String email, String password) {\n\n // progress bar\n\n\n\n progress = new ProgressDialog(LoginActivity.this);\n progress.setTitle(\"Sign In !!\");\n progress.setMessage(\"Please Wait !!\");\n progress.setCancelable(true);\n progress.setProgressStyle(ProgressDialog.STYLE_SPINNER);\n progress.show();\n\n mAuth.signInWithEmailAndPassword(email, password)\n .addOnCompleteListener(this, new OnCompleteListener<AuthResult>() {\n @Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n Log.d(\"TESTING\", \"signInWithEmail:onComplete:\" + task.isSuccessful());\n\n // If sign in fails, display a message to the user. If sign in succeeds\n // the auth state listener will be notified and logic to handle the\n // signed in user can be handled in the listener.\n\n\n\n if (!task.isSuccessful()) {\n progress.dismiss();\n Log.w(\"TESTING\", \"signInWithEmail:failed\", task.getException());\n Toast.makeText(LoginActivity.this, \"Signin Failed\",\n Toast.LENGTH_SHORT).show();\n } else {\n\n Intent signInIntent = new Intent(LoginActivity.this,AppoinmentBookingProfile.class);\n startActivity(signInIntent);\n finish();\n }\n\n // ...\n }\n });\n }",
"void onAuthenticationSucceeded(String token);",
"@Override\n public void onSuccess(AuthResult authResult) {\n if(!mAuth.getCurrentUser().isEmailVerified()){\n PopupEmailVerification popupEmailVerification = new PopupEmailVerification(StartPage.this);\n popupEmailVerification.show();\n }\n else{\n //User found & ready for next page\n Toast.makeText(StartPage.this, \"Sign in successful\", Toast.LENGTH_LONG).show();\n startActivity(new Intent(StartPage.this, CenterPage.class));\n finish();\n }\n\n }",
"@Override\n\tpublic void onLoginSuccess() {\n\t\t\n\t}",
"private void handleSignInResult(Task<GoogleSignInAccount> completedTask) {\n try {\n GoogleSignInAccount account = completedTask.getResult(ApiException.class);\n // Signed in successfully, show authenticated UI.\n// LoggerHelper.showDebugLog(\"Account: \" + account.toJson());\n\n FormSocialUser formSocialUser = new FormSocialUser();\n formSocialUser.setSocialID(account.getId());\n formSocialUser.setFirstName(account.getFamilyName() == null || account.getFamilyName().isEmpty() ? account.getGivenName() : account.getFamilyName());\n formSocialUser.setLastName(account.getGivenName());\n formSocialUser.setEmail(account.getEmail());\n formSocialUser.setSocialType(SocialType.GOOGLE.getValue());\n\n loginWithSocialAccount(prepareSocialLoginForm(formSocialUser));\n\n } catch (ApiException e) {\n Toast.makeText(this, \"Unable to login with google account. Please try another way.\", Toast.LENGTH_SHORT).show();\n LoggerHelper.showErrorLog(\"signInResult:failed code=\", e);\n }\n }",
"void onSignInButtonClicked();",
"@Override\n\t\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\t\tToast.makeText(RegisterActivity.this,\"Sign up successfully!\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\tstartActivity(new Intent(RegisterActivity.this, LoginActivity.class));\n\t\t\t\t\t}",
"@Override\n public void onVerificationCompleted(PhoneAuthCredential credential) {\n mVerificationInProgress = false;\n Toast.makeText(PhoneActivity.this,\"Verification Complete\",Toast.LENGTH_SHORT).show();\n dialog.setMessage(\"Logging you in..\");\n dialog.show();\n signInWithPhoneAuthCredential(credential);\n }",
"@Override\r\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\tloading.dismiss();\r\n\t\t\t\t\t\t\t\tif(result.equals(\"0\"))\r\n\t\t\t\t\t\t\t\t\tT.mToast(SignUpActivity.this, \"Error\");\r\n\t\t\t\t\t\t\t\tif(result.equals(\"1\"))\r\n\t\t\t\t\t\t\t\t\tT.mToast(SignUpActivity.this,\r\n\t\t\t\t\t\t\t\t\t\t\t\"Sign in successfully\");\r\n\t\t\t\t\t\t\t\tif(result.equals(\"2\"))\r\n\t\t\t\t\t\t\t\t\tT.mToast(SignUpActivity.this, \"This user exists\");\r\n\t\t\t\t\t\t\t\tif(result.equals(\"3\"))\r\n\t\t\t\t\t\t\t\t\tT.mToast(SignUpActivity.this, \"Error\");\r\n\t\t\t\t\t\t\t}",
"@Override\n public void onSuccess(int statusCode, Header[] headers, byte[] response) {\n Toast.makeText(getApplicationContext(), new String(response),\n Toast.LENGTH_SHORT).show();\n pDialog.dismiss();\n Log.e(\"response\", new String(response));\n\n SharedPreferences.Editor editor = getSharedPreferences(MY_PREFS_NAME, MODE_PRIVATE).edit();\n editor.putString(\"user\", user);\n editor.putString(\"pass\", pass);\n editor.putBoolean(\"done\", true);\n editor.commit();\n\n startActivity(new Intent(LoginActivity.this, MainActivity.class));\n\n finish();\n }",
"@Override\n public void onSignInSucceeded() {\n\n if (ACCESS_ACHIEVEMENT) {\n\n //if we just came from achievements button and are now signed in, display ui\n displayAchievementUI();\n\n //flag back false\n ACCESS_ACHIEVEMENT = false;\n }\n\n //don't bypass auto login\n BYPASS_LOGIN = false;\n }",
"@Override\n public void onSuccess(LoginResult loginResult) {\n mloginPresenter.onRegisterCallbackSuccess(mActivity,loginResult);\n// populateObjectFromGraphRequest(loginResult);\n }",
"@Override\n public void onSuccess() {\n login_success = true;\n showInfoAndGoto();\n }",
"public int getResult() {return resultCode;}",
"@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n mCallbackManager.onActivityResult(requestCode, resultCode, data); // DATA CALLBACK FOR FACEBOOK\n if (data != null) {\n progressDialog.show();\n progressDialog.setMessage(\"Logging you in...\");\n if (requestCode == 9001 && resultCode == RESULT_OK) {\n Task<GoogleSignInAccount> task = GoogleSignIn.getSignedInAccountFromIntent(data);\n try {\n // Google Sign In was successful, authenticate with Firebase\n GoogleSignInAccount account = task.getResult(ApiException.class);\n assert account != null;\n firebaseAuthWithGoogle(account.getIdToken());\n } catch (ApiException e) {\n e.printStackTrace();\n Toast.makeText(this, e.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }\n }else {\n progressDialog.dismiss();\n }\n }",
"boolean hasLoginResponse();",
"@Override\n\n public void onVerificationCompleted(PhoneAuthCredential phoneAuthCredential) {\n\n\n Toast.makeText(otpsignin.this,\"Code send to your phone\",Toast.LENGTH_SHORT).show();\n\n signInWithPhoneAuthCredential(phoneAuthCredential);\n\n }",
"@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n // Result returned from launching the Intent from GoogleSignInClient.getSignInIntent(...);\n if (requestCode == RC_SIGN_IN) {\n // The Task returned from this call is always completed, no need to attach\n // a listener.\n Task<GoogleSignInAccount> task = GoogleSignIn.getSignedInAccountFromIntent(data);\n handleSignInResult(task);\n\n }\n }",
"@Override\r\n public void onComplete(@NonNull Task<AuthResult> task) {\n if(!task.isSuccessful())\r\n {\r\n Toast.makeText(MainActivity.this,\"Some Error Occured,Please try again later\",Toast.LENGTH_LONG).show();\r\n }\r\n if(task.isSuccessful())\r\n {\r\n Toast.makeText(MainActivity.this,\"Regristration Successful\",Toast.LENGTH_LONG).show();\r\n }\r\n }",
"@Override\r\n public void onComplete(@NonNull Task<AuthResult> task) {\n if (!task.isSuccessful())\r\n {\r\n Log.w(\"ContentValues\", \"signInWithEmail\", task.getException());\r\n Toast.makeText(loginActivity.this, \"Authentication failed.\", Toast.LENGTH_SHORT)\r\n .show();\r\n }\r\n }",
"private void loginSuccess(String uname) {\n }",
"@Override\n public void onLoginSuccessful() {\n\n }",
"@Test\n public void authenResultTest() {\n assertEquals(\"R\", authResponse.getAuthenResult());\n }",
"@Override\n public void onSuccess(int statusCode, Header[] headers, JSONObject response) {\n Toast.makeText(getActivity().getApplicationContext(),\n \"Jam SUCCEEDED!\", Toast.LENGTH_SHORT)\n .show();\n }",
"@Override\r\n\tprotected void onLoginSuccess() {\n\t\t\r\n\t}",
"@Test\n public void correctSignIn() {\n assertEquals(true, testBase.signIn(\"testName\", \"testPassword\"));\n }",
"@Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n if(task.isSuccessful()){\n Toast.makeText(LoginActivity.this, \"Login Succesful\", Toast.LENGTH_SHORT).show();\n startActivity(new Intent(LoginActivity.this,HomeActivity.class));\n }\n else{\n Toast.makeText(LoginActivity.this, \"Error \" + task.getException().getMessage(), Toast.LENGTH_SHORT).show();\n }\n }",
"@Override\r\n\t\t\tpublic void onSuccess(Void result) {\n\t\t\t\tsynAlert.clear();\r\n\t\t\t\tauthenticationController.initializeFromExistingAccessTokenCookie(new AsyncCallback<UserProfile>() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onFailure(Throwable caught) {\r\n\t\t\t\t\t\tsynAlert.handleException(caught);\r\n\t\t\t\t\t\tview.showLogin();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onSuccess(UserProfile result) {\r\n\t\t\t\t\t\t// Signed ToU. Check for temp username, passing record, and then forward\r\n\t\t\t\t\t\tuserAuthenticated();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}",
"@Override\n public void a(CheckServerAuthResult checkServerAuthResult) throws RemoteException {\n Parcel parcel = Parcel.obtain();\n Parcel parcel2 = Parcel.obtain();\n try {\n parcel.writeInterfaceToken(\"com.google.android.gms.signin.internal.ISignInService\");\n if (checkServerAuthResult != null) {\n parcel.writeInt(1);\n checkServerAuthResult.writeToParcel(parcel, 0);\n } else {\n parcel.writeInt(0);\n }\n this.a.transact(3, parcel, parcel2, 0);\n parcel2.readException();\n return;\n }\n finally {\n parcel2.recycle();\n parcel.recycle();\n }\n }",
"@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n // Result returned from launching the Intent from GoogleSignInApi.getSignInIntent(...);\n if (requestCode == RC_SIGN_IN) {\n Task<GoogleSignInAccount> task = GoogleSignIn.getSignedInAccountFromIntent(data);\n try {\n // Google Sign In was successful, authenticate with Firebase\n GoogleSignInAccount account = task.getResult(ApiException.class);\n firebaseAuthWithGoogle(account);\n\n } catch (ApiException e) {\n // Google Sign In failed, update UI appropriately\n Log.w(TAG, \"Google sign in failed\", e);\n // [START_EXCLUDE]\n updateUI(null);\n // [END_EXCLUDE]\n }\n }else {\n mCallbackManager.onActivityResult(requestCode, resultCode, data);\n }\n }",
"private void onClickSignIn(){\n if(checkValidation()){\n //if Validation is ok\n submitForm();\n }\n else{\n //Something went wrong...\n Toast.makeText(LauncherActivity.this, \"Form contains error!\", Toast.LENGTH_LONG).show();\n }\n }",
"@Override\r\n\t\t\t\t\tpublic void onSuccess(UserProfile result) {\n\t\t\t\t\t\tuserAuthenticated();\r\n\t\t\t\t\t}",
"@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n // Result returned from launching the Intent from GoogleSignInApi.getSignInIntent(...);\n if (requestCode == RC_SIGN_IN) {\n GoogleSignInResult result = Auth.GoogleSignInApi.getSignInResultFromIntent(data);\n if (result.isSuccess()) {\n // Google Sign In was successful, authenticate with Firebase\n GoogleSignInAccount account = result.getSignInAccount();\n firebaseAuthWithGoogle(account);\n } else {\n // Google Sign In failed, update UI appropriately\n // [START_EXCLUDE]\n Log.d(\"FAILED\", \"FAILED\");\n // [END_EXCLUDE]\n }\n }\n }",
"@Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n progressBar.setVisibility(View.GONE);\n\n if (!task.isSuccessful()) {\n Toast.makeText(RegisterActivity.this, \"Registration failed, Check your Network Connection!\", Toast.LENGTH_SHORT).show();\n } else {\n onAuthSuccess(task.getResult().getUser());\n //Toast.makeText(RegisterActivity.this, \"we will make pass of login here\", Toast.LENGTH_SHORT).show();\n //finish();\n }\n }",
"@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n //facebook login\n// mCallbackManager.onActivityResult(requestCode, resultCode, data);\n\n // Result returned from launching the Intent from GoogleSignInApi.getSignInIntent(...);\n if (requestCode == RC_SIGN_IN) {\n Task<GoogleSignInAccount> task = GoogleSignIn.getSignedInAccountFromIntent(data);\n try {\n // Google Sign In was successful, authenticate with Firebase\n GoogleSignInAccount account = task.getResult(ApiException.class);\n firebaseAuthWithGoogle(account);\n } catch (ApiException e) {\n // Google Sign In failed, update UI appropriately\n Log.w(TAG, \"Google sign in failed\", e);\n // [START_EXCLUDE]\n// updateUI(null);\n // [END_EXCLUDE]\n }\n }\n }",
"public boolean signIn(final SimpleJsonCallback callBack) {\n ChatUser user = db.getUser();\n JSONObject jsonParameter = new JSONObject();\n try {\n jsonParameter.put(\"phone_number\", user.getPhone());\n jsonParameter.put(\"password\", user.getLinkaiPassword());\n } catch (JSONException e) {\n e.printStackTrace();\n }\n String url = Const.LINKAI_SIGNIN_URL;\n RequestQueue requestQueue = Volley.newRequestQueue(context);\n// run signin process asynchronous\n JsonObjectRequest request = new JsonObjectRequest(Request.Method.POST, url, jsonParameter, new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n setAccessToken(response);\n// calling get balance after each signing in\n getBalance();\n callBack.onSuccess(response);\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n error.printStackTrace();\n JSONObject errorObj=new JSONObject();\n try {\n errorObj.put(\"error\",error.networkResponse.data);\n } catch (Exception e) {\n e.printStackTrace();\n }\n callBack.onError(errorObj);\n }\n }) {\n @Override\n public Map<String, String> getHeaders() throws AuthFailureError {\n LinkaiRequestHeader linkaiRequestHeader = new LinkaiRequestHeader(context);\n return linkaiRequestHeader.getRequestHeaders();\n }\n };\n requestQueue.add(request);\n return true;\n }",
"boolean hasLoginapisuccessfulhitcount();",
"@Override\n\t\t\tpublic void onSuccess(String result) {\n\t\t\t\trunOnUiThread(new Runnable() {\n\t\t\t\t\t\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tToast.makeText(activity, \"登录成功\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t\n\t\t\t}",
"public static void handleSuccess(final RpcResponse resultData, final Activity activity, final LoginCallback loginCallback) {\n LoginReturnData returnValue = (LoginReturnData) resultData.returnValue;\n final int code = resultData.code;\n SDKLogger.d(TAG, \"asyncExecute code = \" + code);\n if (code == 3000) {\n Session session = null;\n try {\n if (resultData.returnValue != null) {\n SDKLogger.d(TAG, \"asyncExecute returnValue not null \");\n if (!TbAuthContext.needSession || TextUtils.equals(TbAuthContext.sSceneCode, \"10010\")) {\n session = SessionConvert.convertLoginDataToSeesion(returnValue);\n } else {\n ((SessionService) AliMemberSDK.getService(SessionService.class)).refreshWhenLogin(Site.TAOBAO, returnValue);\n session = ((SessionService) AliMemberSDK.getService(SessionService.class)).getSession();\n }\n }\n final Session finalSession = session;\n ((MemberExecutorService) AliMemberSDK.getService(MemberExecutorService.class)).postUITask(new Runnable() {\n public void run() {\n RpcPresenter.doWhenResultOk(activity, loginCallback, finalSession);\n }\n });\n } catch (Exception e) {\n e.printStackTrace();\n }\n } else if (code == 13060) {\n String doubleCheckUrl = returnValue.h5Url;\n SDKLogger.d(TAG, \"asyncExecute doubleCheckUrl = \" + doubleCheckUrl);\n if (!TextUtils.isEmpty(doubleCheckUrl) && activity != null) {\n Activity startFrom = activity;\n CallbackContext.setActivity(startFrom);\n Intent intent = new Intent(startFrom, TbAuthWebViewActivity.class);\n intent.putExtra(\"url\", doubleCheckUrl);\n intent.putExtra(\"token\", returnValue.token);\n intent.putExtra(\"scene\", returnValue.scene);\n TbAuthWebViewActivity.token = returnValue.token;\n TbAuthWebViewActivity.scene = returnValue.scene;\n activity.startActivityForResult(intent, RequestCode.OPEN_DOUBLE_CHECK);\n }\n } else {\n ((MemberExecutorService) AliMemberSDK.getService(MemberExecutorService.class)).postUITask(new Runnable() {\n public void run() {\n SDKLogger.d(RpcPresenter.TAG, \"15 : \" + resultData.message);\n RpcPresenter.doWhenResultFail(activity, loginCallback, 15, \"login:code \" + code + \" \" + resultData.message);\n }\n });\n }\n }",
"@Override\r\n\r\n public void getResult(String result) {\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }",
"public F.Promise<Result> handleSignIn() {\n final Form<LogIn> filledForm = logInForm.bindFromRequest();\n if (customerService().isLoggedIn()) {\n return asPromise(redirect(controllers.routes.HomeController.home()));\n } else if (filledForm.hasErrors()) {\n flash(\"error\", \"Login form contains missing or invalid data.\");\n return asPromise(badRequest(loginView.render(data().build(), filledForm)));\n } else {\n return handleSignInWithValidForm(filledForm);\n }\n }",
"@Override\n public void onSuccess(int statusCode, Header[] headers, byte[] responseBody) {\n String resp_content = \"\";\n\n try {\n resp_content = new String(responseBody,\"UTF-8\");\n\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n\n try {\n\n displayLogin(view,resp_content);\n\n } catch (Throwable e) {\n Toast.makeText(LoginActivity.this, \"Koneksi Gagal ! 1\", Toast.LENGTH_LONG).show();\n }\n }",
"void loginDone();",
"@Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n if (task.isSuccessful()) {\n\n //if email and password are match it goes to other activity other wise show toast message\n startActivity(new Intent(getApplicationContext(), dashboard.class));\n\n } else {\n Toast.makeText(login_form.this,\"Invalid User\",Toast.LENGTH_LONG).show();\n\n }\n\n }",
"@Override\n public void onClick(View view) {\n Intent intent = googleSignInClient.getSignInIntent();\n //Start activity for result\n startActivityForResult(intent, 100);\n }",
"@Override\n public void onSuccess(LoginResult loginResult) {\n // App code\n GraphRequest request = GraphRequest.newMeRequest(\n loginResult.getAccessToken(),\n new GraphRequest.GraphJSONObjectCallback() {\n @Override\n public void onCompleted(JSONObject object, GraphResponse response) {\n Log.v(\"LoginActivity\", response.toString());\n\n // Application code\n try {\n doCheckExitingUser(object.getString(\"email\"), object.getString(\"name\"), object.getString(\"id\"), \"\");\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n });\n Bundle parameters = new Bundle();\n parameters.putString(\"fields\", \"id,name,email,gender,birthday\");\n request.setParameters(parameters);\n request.executeAsync();\n// Toaster.shortToast(\"On Success\" + loginResult.toString());\n }",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n Util.Log.i(TAG, \"onActivityResult: requestCode: %b resultCode: %b\", requestCode == RC_SIGN_IN,\n resultCode==Activity.RESULT_OK);\n if (requestCode == RC_SIGN_IN) {\n// IdpResponse response = IdpResponse.fromResultIntent(data);\n GoogleSignInResult response = Auth.GoogleSignInApi.getSignInResultFromIntent(data);\n // Successfully signed in\n if (resultCode == Activity.RESULT_OK) {\n Task<GoogleSignInAccount> task = GoogleSignIn.getSignedInAccountFromIntent(data);\n try {\n // Google Sign In was successful, authenticate with Firebase\n account = task.getResult(ApiException.class);\n AuthCredential credential = GoogleAuthProvider.getCredential(account.getIdToken()\n , null);\n mAuth.signInWithCredential(credential).addOnCompleteListener(this);\n\n } catch (ApiException e) {\n Util.Log.d(TAG, \"sign in attempt failed\");\n progressMsg.setText(getString(R.string.progress_failed_signin));\n }\n } else {\n // Sign in failed\n\n progressBar.setVisibility(View.GONE);\n if (response == null) {\n Log.d(TAG, \"null response object\");\n progressMsg.setText(getString(R.string.progress_null_response));\n return;\n }\n int gStatusCode = response.getStatus().getStatusCode();\n Log.d(TAG, String.format(\"failed sign-in in response:(%d) %s\",gStatusCode, response.toString()));\n switch (gStatusCode) {\n case CommonStatusCodes.NETWORK_ERROR:\n case CommonStatusCodes.TIMEOUT:\n progressMsg.setText(getString(R.string.progress_no_internet));\n break;\n default:\n progressMsg.setText(GoogleSignInStatusCodes\n .getStatusCodeString(gStatusCode));\n }\n }\n }\n super.onActivityResult(requestCode, resultCode, data);\n }",
"@Override\n public void onAuthenticationSuccessful() {\n startActivity(new Intent(PinViewActivity.this, AuthenticatedActivity.class));\n finish();\n }",
"@Override\n public void onEndLBSAuth(int result, String reason) {\n if (result == 0) {\n }\n }",
"public void run() {\n if (resultType == 1) {\n onSignupSuccess();\n } else if(resultType==2){\n onSignupFailed(\"Cannot create user.\");\n }else{\n onSignupFailed(\"Network unavailable.\");\n }\n progressDialog.dismiss();\n }",
"@Override\n public void onSuccess(int arg0, Header[] arg1, byte[] arg2) {\n CustomDialog.closeProgressDialog();\n JSONObject jsonObject;\n try {\n postState = true;\n jsonObject = new JSONObject(new String(arg2));\n String code = (String) jsonObject.get(\"code\");\n String str = (String) jsonObject.get(\"retinfo\");\n if (Constant.RESULT_CODE.equals(code)) {\n CustomToast.showShortToast(mContext, str);\n Intent i = new Intent();\n i.putExtra(\"flage\", true);\n setResult(2016, i);\n CrmVisitorSignAddInfoActivity.this.finish();\n } else {\n CustomToast.showShortToast(mContext, str);\n }\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }",
"@Override\n public void onVerificationCompleted(PhoneAuthCredential phoneAuthCredential)\n {\n signInWithPhoneAuthCredential(phoneAuthCredential);\n\n }",
"@Override\n public void onVerificationCompleted(PhoneAuthCredential credential) {\n Log.d(TAG, \"onVerificationCompleted:\" + credential);\n\n signInWithPhoneAuthCredential(credential);\n }",
"@Override\n protected void onPostExecute(String result) {\n if (result.contains(\"fail\")) {\n Toast.makeText(getApplicationContext(), result, Toast.LENGTH_LONG)\n .show();\n return;\n }\n else if(result.contains(\"success\")) {\n Intent i = new Intent(SignInActivity.this, WebLoginActivity.class);\n startActivity(i);\n finish();\n }\n }",
"@Override\n public void onSuccess() {\n Handler.Callback bayunAuthSuccess = msg -> {\n confirmHandler.onSuccess();\n return false;\n };\n\n\n // Bayun Registration failure Callback\n Handler.Callback bayunAuthFailure = msg -> {\n Exception exception = new Exception(msg.getData().getString(Constants.ERROR));\n confirmHandler.onFailure(exception);\n return false;\n };\n\n // Bayun Registration authorizeEmployeeCallback Callback\n Handler.Callback authorizeEmployeeCallback = msg -> {\n String employeePublicKey = msg.getData().getString(Constants.EMPLOYEE_PUBLICKEY);\n Exception exception = new Exception(\"Employee Authorization is Pending\");\n confirmHandler.onFailure(exception);\n return false;\n };\n\n // Registration with Bayun\n BasicBayunCredentials basicBayunCredentials = new BasicBayunCredentials\n (appId, companyName, user.getUserId(), signUpPassword.toCharArray(),\n appSecret, applicationKeySalt);\n\n\n if(signUpIsRegisterWithPwd){\n BayunApplication.bayunCore.registerEmployeeWithPassword\n (activity,companyName,user.getUserId(),signUpPassword, authorizeEmployeeCallback, bayunAuthSuccess, bayunAuthFailure);\n }else {\n BayunApplication.bayunCore.registerEmployeeWithoutPassword(activity,companyName,user.getUserId()\n ,signUpEmail,false, authorizeEmployeeCallback,\n null,null,null, bayunAuthSuccess, bayunAuthFailure);\n\n }\n// BayunApplication.bayunCore.registerEmployeeWithPassword\n// (activity,companyName,user.getUserId(),signUpPassword, authorizeEmployeeCallback, bayunAuthSuccess, bayunAuthFailure);\n\n\n }",
"public void onSuccess(CognitoUserCodeDeliveryDetails verificationCodeDeliveryMedium);",
"private void signInUidPass(){\n mAuth.signInWithEmailAndPassword(mTextEmail.getText().toString(), mTextPassword.getText().toString()).addOnCompleteListener(this, new OnCompleteListener<AuthResult>() {\n @Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n Log.d(Constants.TAG, \"signInwithEmail: onComplete:\" + task.isSuccessful());\n if(!task.isSuccessful()){\n Log.w(Constants.TAG, \"signInwithEmail: failed\", task.getException());\n }\n }\n });\n }",
"public void authenticate(View view) {\n String email = email_tf.getText().toString();\n String password = password_tf.getText().toString();\n\n // validating if email and password has been entered in the required data fields\n if (!validateInputs(email, password))\n return;\n\n Log.d(TAG, \"loginAccount:\" + email);\n\n // creating instance of prompt for showing prompts to user\n final Prompt prompt = new Prompt(this);\n\n // prompt user for login in\n prompt.showProgress(\"Sign In\", \"Login in...\");\n\n // authenticating email and password\n FirebaseController.getAuthInstance().signInWithEmailAndPassword(email, password)\n .addOnCompleteListener(this, new OnCompleteListener<AuthResult>() {\n @Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n prompt.hideProgress();\n\n // if login was successful\n if (task.isSuccessful()) {\n Log.d(TAG, \"loginWithEmail:success\");\n\n // show short wait prompt for login successful\n prompt.showSuccessMessagePrompt(\"Login successful\");\n SASTools.wait(SASConstants.PROMPT_DISPLAY_WAIT_SHORT, new Runnable() {\n @Override\n public void run() {\n prompt.hidePrompt();\n\n // starting main activity\n startActivity(new Intent(EmailLoginActivity.this, MainActivity.class)\n .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK));\n\n // finishing this email login activity\n EmailLoginActivity.this.finish();\n }\n }\n );\n }\n\n // if login was not successful\n else {\n Log.w(TAG, \"loginWithEmail:failure\", task.getException());\n\n // show long wait prompt to user about login failure and provide the reason\n prompt.showFailureMessagePrompt(\"Login not successful\\n\" + Objects.requireNonNull(task.getException()).getMessage());\n SASTools.wait(SASConstants.PROMPT_DISPLAY_WAIT_LONG, new Runnable() {\n @Override\n public void run() {\n prompt.hidePrompt();\n }\n });\n }\n }\n });\n }"
] |
[
"0.7711815",
"0.74119306",
"0.73391044",
"0.73359084",
"0.7182458",
"0.69735074",
"0.68710357",
"0.68270266",
"0.6813461",
"0.6769561",
"0.674541",
"0.6713846",
"0.669141",
"0.66630495",
"0.6620463",
"0.6605679",
"0.65853256",
"0.658109",
"0.65542597",
"0.65542597",
"0.65204895",
"0.65203214",
"0.65166634",
"0.65080357",
"0.6463488",
"0.64591485",
"0.6440826",
"0.6430656",
"0.64237446",
"0.6401305",
"0.63965017",
"0.6390002",
"0.63732773",
"0.63493925",
"0.634229",
"0.63300896",
"0.6329817",
"0.6320958",
"0.63082916",
"0.6304824",
"0.63044304",
"0.6300205",
"0.6298075",
"0.6277274",
"0.6272067",
"0.62566537",
"0.62550884",
"0.6247236",
"0.62458277",
"0.62266994",
"0.62155735",
"0.62122095",
"0.6205935",
"0.6205446",
"0.62048745",
"0.62036085",
"0.6199613",
"0.6181512",
"0.6175406",
"0.6138438",
"0.6138337",
"0.61332047",
"0.6131544",
"0.612363",
"0.6114028",
"0.61050355",
"0.60964537",
"0.60867894",
"0.6080758",
"0.6071325",
"0.6066162",
"0.60649556",
"0.60578686",
"0.60483086",
"0.6041392",
"0.60156167",
"0.601051",
"0.6008898",
"0.6006916",
"0.5994285",
"0.5991785",
"0.5990068",
"0.5990068",
"0.5990068",
"0.5990068",
"0.5990068",
"0.5990068",
"0.5990068",
"0.5988243",
"0.5981325",
"0.5965793",
"0.5951573",
"0.59508127",
"0.5947114",
"0.5944792",
"0.5941175",
"0.59350985",
"0.5926059",
"0.5902676",
"0.58910596"
] |
0.7193538
|
4
|
get the first day of the date you introduct
|
public static Date getFirstDate(Date date ) throws ParseException{
String format = "yyyyMM";
date = formatStrtoDate( format(date, format) + "01", format + "dd");
return date;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public static Date firstDay(final Date date) {\n final Calendar cal = new GregorianCalendar();\n cal.setTime(date);\n cal.set(Calendar.DAY_OF_MONTH, cal.getMinimum(Calendar.DAY_OF_MONTH));\n cal.set(Calendar.HOUR_OF_DAY, 00);\n cal.set(Calendar.MINUTE, 00);\n cal.set(Calendar.SECOND, 00);\n cal.set(Calendar.MILLISECOND, 00);\n return cal.getTime();\n }",
"Date getStartDay();",
"private int getFirstRepresentingDay() {\n\t\tint firstRepresentingDay;\r\n\t\tGregorianCalendar myCalendar = new GregorianCalendar(year, month, 1);\r\n\r\n\t\tint daysofMonth = myCalendar.getActualMaximum(Calendar.DAY_OF_MONTH);\r\n\t\tint firstDayMonth = myCalendar.get(Calendar.DAY_OF_WEEK); // First day of month (relative to the week)\r\n\t\tint globalFirstDayMonth = myCalendar.get(Calendar.DAY_OF_YEAR);\r\n\r\n\t\tif (settings.getBoolean(\"firstDayofWeek\", true)) { //The default option is the week starting on monday\r\n\t\t\tfirstDayMonth = firstDayMonth - 1;\r\n\t\t\tif (firstDayMonth == 0)\r\n\t\t\t\tfirstDayMonth = 7;\r\n\t\t\tfirstRepresentingDay = globalFirstDayMonth - (firstDayMonth - 1);\r\n\t\t}\r\n\t\telse { //else we start the week on Sunday\r\n\t\t\tfirstRepresentingDay = globalFirstDayMonth - (firstDayMonth - 1);\r\n\t\t}\r\n\t\tif (firstDayMonth + daysofMonth < 37)\r\n\t\t\tcount = RingActivity.five_week_calendar;\r\n\t\telse\r\n\t\t\tcount = RingActivity.six_week_calendar;\r\n\r\n\t\treturn firstRepresentingDay;\r\n\t}",
"protected Date findFirstGenDate(GenCtx ctx)\n\t{\n\t\treturn EX.assertn(ctx.get(Date.class));\n\t}",
"Integer getStartDay();",
"public Date getEarliestStartDate();",
"public static WithAdjuster firstDayOfMonth() {\n\n return Impl.FIRST_DAY_OF_MONTH;\n }",
"public static long getFirstDayOfWeek(int day) {\n\t\tMutableDateTime firstDay = utc(day);\n\t\tfirstDay.setDayOfWeek(1);\n\t\treturn days(firstDay);\n\t}",
"public static WithAdjuster firstDayOfNextMonth() {\n\n return Impl.FIRST_DAY_OF_NEXT_MONTH;\n }",
"public static Date getStart(Date date) {\n if (date == null) {\n return null;\n }\n Calendar c = Calendar.getInstance();\n c.setTime(date);\n c.set(Calendar.HOUR_OF_DAY, 0);\n c.set(Calendar.MINUTE, 0);\n c.set(Calendar.SECOND, 0);\n c.set(Calendar.MILLISECOND, 0);\n return c.getTime();\n }",
"public static Date firstDayMonth(){\n String rep_inicio_de_mes = \"\";\n try {\n Calendar c = Calendar.getInstance();\n \n /*Obtenemos el primer dia del mes*/\n c.set(Calendar.DAY_OF_MONTH, c.getActualMinimum(Calendar.DAY_OF_MONTH));\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\");\n \n /*Lo almacenamos como string con el formato adecuado*/\n rep_inicio_de_mes = sdf.format(c.getTime());\n\n \n } catch (Exception e) {\n // Si hay una excepcion se imprime un mensaje\n System.err.println(e.getMessage());\n }\n \n return stringToDate(rep_inicio_de_mes);\n }",
"public static Date todayStart() {\n return dayStart(new Date());\n }",
"public Date getStartOfDay(Date date) {\n\t Calendar calendar = Calendar.getInstance();\n\t calendar.setTime(date);\n\t calendar.set(Calendar.HOUR_OF_DAY, 0);\n\t calendar.set(Calendar.MINUTE, 0);\n\t calendar.set(Calendar.SECOND, 0);\n\t calendar.set(Calendar.MILLISECOND, 0);\n\t return calendar.getTime();\n\t}",
"public static WithAdjuster firstDayOfNextYear() {\n\n return Impl.FIRST_DAY_OF_NEXT_YEAR;\n }",
"public static Date getStartOfDay(Date date)\n {\n Calendar calendar = Calendar.getInstance();\n calendar.setTime(date);\n calendar.set(Calendar.HOUR_OF_DAY, 0);\n calendar.set(Calendar.MINUTE, 0);\n calendar.set(Calendar.SECOND, 0);\n calendar.set(Calendar.MILLISECOND, 0);\n return calendar.getTime();\n }",
"public static int getFirstDayOfWeek() {\n int startDay = Calendar.getInstance().getFirstDayOfWeek();\n\n if (startDay == Calendar.SATURDAY) {\n return Time.SATURDAY;\n } else if (startDay == Calendar.MONDAY) {\n return Time.MONDAY;\n } else {\n return Time.SUNDAY;\n }\n }",
"public static WithAdjuster firstDayOfYear() {\n\n return Impl.FIRST_DAY_OF_YEAR;\n }",
"@Override\n\tpublic Calendar getInitialDate() {\n\t\treturn Calendar.getInstance();\n\t}",
"public static Date getMinDate() {\n Calendar cal = Calendar.getInstance();\n cal.set(1970, 1, 1, 1, 1, 1);\n return cal.getTime();\n }",
"public Date getEarliestFinishingDate();",
"public int firstSettleDate()\n\t{\n\t\treturn _iFirstSettleDate;\n\t}",
"public String firstDayOfWeek(){\n cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);\n return (\"Mon\" + \" \" + cal.get(Calendar.DATE) + \" \" + cal.get(Calendar.MONTH) + \" \" + cal.get(Calendar.YEAR));\n }",
"public static Date setToBeginningOfDay(Date date) {\n\t\t\n\t\tCalendar cal = Calendar.getInstance();\n\t\tcal.setTime(date);\n\t\tcal.set(Calendar.HOUR_OF_DAY, 0);\n\t cal.set(Calendar.MINUTE, 0);\n\t cal.set(Calendar.SECOND, 0);\n\t cal.set(Calendar.MILLISECOND, 0);\n\t return cal.getTime();\n\t}",
"public static LocalDate getFirstDayOfTheMonth(final LocalDate date) {\n return date.with(TemporalAdjusters.firstDayOfMonth());\n }",
"public Calendar getFirstVisibleDay() {\n return viewState.getFirstVisibleDay();\n }",
"public Date getFirstSelectionDate()\n/* */ {\n/* 186 */ return isSelectionEmpty() ? null : (Date)this.selectedDates.first();\n/* */ }",
"Date getStartDate();",
"Date getStartDate();",
"Date getStartDate();",
"@Override\n public int firstDayOfMonthInWeek() {\n int y = getYear();\n int m = getMonth()-1;\n XCalendar xCalendar = XCalendar.fromJalali(y,m,1);\n Calendar cc = Calendar.getInstance();\n int yy = xCalendar.getCalendar(XCalendar.GregorianType).getYear();\n int mm = xCalendar.getCalendar(XCalendar.GregorianType).getMonth()-1;\n int dd = xCalendar.getCalendar(XCalendar.GregorianType).getDay();\n cc.set(yy,mm,dd);\n int d = firstDayOfWeek[cc.get(Calendar.DAY_OF_WEEK)-1];\n return d;\n }",
"public int getFirstDayOfWeek() {\n return config.firstDayOfWeek;\n }",
"public Date getStartDate() {\r\n\t\treturn new Date(startDateText.getDay(), startDateText.getMonth()+1, startDateText.getYear());\r\n\t}",
"@Override\n\t\tpublic WeekDay1 nextDay() {\n\t\t\treturn SUN;\n\t\t}",
"public Date getInitialActivityDate(String siteId) {\n\t\tDate date = null;\n\t\ttry{\n\t\t\tdate = siteService.getSite(siteId).getCreatedDate();\n\t\t}catch(Exception e){\n\t\t\treturn new Date(0);\n\t\t}\n\t\treturn date;\n\t}",
"private LocalDate getMensDay1(LocalDate input){\n LocalDate dateFist = LocalDate.parse(file.getData(\"date\"), DateTimeFormatter.ofPattern(\"dd.MM.yyyy\"));\n int days = Integer.parseInt(file.getData(\"days\"));\n\n while(dateFist.isBefore(input)){\n dateFist = dateFist.plusDays(days);\n }\n return dateFist.minusDays(days);\n }",
"public Day getNextStartDay() {\n return getDay(this.days + 1);\n }",
"public boolean getSundayFirstDay() {\n return sunday_first_day;\n }",
"public Date getWeekStartDate(Date date) {\n Calendar cal = Calendar.getInstance();\n cal.setTime(date);\n cal.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);\n cal.set(Calendar.HOUR_OF_DAY, 0);\n cal.set(Calendar.MINUTE, 0);\n cal.set(Calendar.SECOND, 0);\n cal.set(Calendar.MILLISECOND, 0);\n return cal.getTime();\n }",
"public String getStartDate() {\n SimpleDateFormat formatDate = new SimpleDateFormat(\"yyyy-MM-dd\");\n return formatDate.format(fecha);\n }",
"private Date getPreviosDayStartTime() {\n\t\treturn null;\n\t}",
"public static LocalDate getFirstOfNextMonth() {\n\t\treturn LocalDate.now().with(TemporalAdjusters.firstDayOfNextMonth());\n\t}",
"public static LocalDate getFirstOfCurrentMonth() {\n\t\treturn LocalDate.now().with(TemporalAdjusters.firstDayOfMonth());\n\t}",
"public Date getStartDate();",
"public Date getStartDate();",
"public Date getMinimumDate() {\n/* */ Date result;\n/* 641 */ Range range = getRange();\n/* 642 */ if (range instanceof DateRange) {\n/* 643 */ DateRange r = (DateRange)range;\n/* 644 */ result = r.getLowerDate();\n/* */ } else {\n/* */ \n/* 647 */ result = new Date((long)range.getLowerBound());\n/* */ } \n/* 649 */ return result;\n/* */ }",
"public java.lang.String getStartDay() {\r\n return localStartDay;\r\n }",
"public Date calculateLowestVisibleTickValue(DateTickUnit unit) { return nextStandardDate(getMinimumDate(), unit); }",
"public boolean isFirstOfTheDay() {\r\n return !strDate.equals(game.settings.getLastSeen());\r\n }",
"public Date getFirstCreationDate() {\n\t\tDate firstCreationDate = null;\n\t\tUrls orderByCreationDate = getUrlsOrderedByCreationDate(true);\n\t\tif (orderByCreationDate.size() > 0) {\n\t\t\tUrl webLink = (Url) orderByCreationDate.first();\n\t\t\tfirstCreationDate = webLink.getCreationDate();\n\t\t}\n\t\treturn firstCreationDate;\n\t}",
"public LocalDate getNextWorkingDay(TradeEntity e) {\r\n\t\tLocalDate date = e.getSettlementDate();\r\n\t\twhile (!isWorkingDay(e.getCurrency(), date.getDayOfWeek())) {\r\n\t\t\tdate = date.plusDays(1);\r\n\t\t}\r\n\t\treturn date;\r\n\t}",
"public static Date getMinDate(Date dt) {\r\n\t\tCalendar cal = Calendar.getInstance();\r\n\t\tcal.setTime(dt);\r\n\t\tcal.set(Calendar.HOUR_OF_DAY, 0);\r\n\t\tcal.set(Calendar.MINUTE, 0);\r\n\t\tcal.set(Calendar.SECOND, 0);\r\n\t\treturn cal.getTime();\r\n\t}",
"public void setMinimalDay(DateTime rentDate) {\r\n\t\tString startDay;\r\n\t\tstartDay = rentDate.getNameOfDay();\r\n\r\n\t\tif (startDay.equals(\"Sunday\") || startDay.equals(\"Monday\") || startDay.equals(\"Thursday\")) {\r\n\t\t\tminimalDay = 2;\r\n\t\t} else if (startDay.equals(\"Friday\") || startDay.equals(\"Saturday\")) {\r\n\t\t\tminimalDay = 3;\r\n\t\t} else {\r\n\t\t\tminimalDay = 1;\r\n\t\t}\r\n\t}",
"public static Date getStartDateByDate(Date idate) {\n\t\tint imonth = Utilities.getMonthNumberByDate(idate);\n\t\tint iyear = Utilities.getYearByDate(idate);\n\t\treturn Utilities.getStartDateByMonth(imonth - 1, iyear);\n\t}",
"public String getNextDate()\n\t{\n\t\tm_calendar.set (Calendar.DAY_OF_MONTH, getDayOfMonth() + 1);\n\t\treturn getTodayDate ();\n\n\t}",
"private Date getDefaultCenturyStart() {\n\t\tif (defaultCenturyStart == null) {\n\t\t\t// not yet initialized\n\t\t\tinitializeDefaultCenturyStart(defaultCenturyBase);\n\t\t}\n\t\treturn defaultCenturyStart;\n\t}",
"@Override\n\tpublic Date getFirstLogin() {\n\t\treturn this.firstLogin;\n\t}",
"java.lang.String getStartDateYYYYMMDD();",
"Date getForDate();",
"long getStartDate();",
"public static int getStartDay(int year, int month)\n {\n int startday = 3;//add 3 to the variable start\n int totalamountofdays = getTotalNumberOfDays(year,month);//call the method getTotalNumberOfDays and store it in a variable called start\n return(totalamountofdays + startday) % 7;//return start % 7 \n }",
"public Date getStart() throws ServiceLocalException {\n\t\treturn (Date) this.getPropertyBag().getObjectFromPropertyDefinition(\n\t\t\t\tAppointmentSchema.Start);\n\t}",
"String getStartDate();",
"LocalDate getDate();",
"@Override\n\t\tpublic WeekDay1 nextDay() {\n\t\t\treturn MON;\n\t\t}",
"java.lang.String getStartDate();",
"WeekdaySpec getStart();",
"public Date next() {\r\n\t\tif (isValid(month, day + 1, year))\r\n\t\t\treturn new Date(month, day + 1, year);\r\n\t\telse if (isValid(month + 1, 1, year))\r\n\t\t\treturn new Date(month + 1, 1, year);\r\n\t\telse\r\n\t\t\treturn new Date(1, 1, year + 1);\r\n\t}",
"public Calendar startOfDay() {\r\n\t\t\r\n\t\tCalendar c2 = Calendar.getInstance(baseCalendar.getTimeZone());\r\n\t\tc2.clear();\r\n\t\tc2.set(baseCalendar.get(Calendar.YEAR), \r\n\t\t\t\tbaseCalendar.get(Calendar.MONTH),\r\n\t\t\t\tbaseCalendar.get(Calendar.DATE));\r\n\r\n\t\treturn c2;\t\t\r\n\t}",
"public Date getTimeEntryStartDate()\n throws RedmineException\n {\n // update number of time entries, start date\n updateTimeEntryData();\n\n return timeEntryStartDate;\n }",
"private static LocalDate getFirstDayOfTheMonth(final int month, final int year) {\n return LocalDate.of(year, month, 1);\n }",
"private Date getYestoday() {\n\t\tDate dNow = new Date(); // 当前时间\n\t\tDate dBefore = new Date();\n\t\tCalendar calendar = Calendar.getInstance(); // 得到日历\n\t\tcalendar.setTime(dNow);// 把当前时间赋给日历\n\t\tcalendar.add(Calendar.DAY_OF_MONTH, -1); // 设置为前一天\n\t\tdBefore = calendar.getTime(); // 得到前一天的时间\n\t\treturn dBefore;\n\t}",
"abstract Date getDefault();",
"public org.drip.analytics.date.JulianDate firstCouponDate()\n\t{\n\t\ttry {\n\t\t\treturn new org.drip.analytics.date.JulianDate (_lsPeriod.get (0).endDate());\n\t\t} catch (java.lang.Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn null;\n\t}",
"public Date next() {\n if (isValid(month, day + 1, year)) return new Date(month, day + 1, year);\n else if (isValid(month + 1, 1, year)) return new Date(month, 1, year);\n else return new Date(1, 1, year + 1);\n }",
"public org.apache.xmlbeans.XmlDate xgetStartExecDate()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlDate target = null;\n target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTEXECDATE$8, 0);\n return target;\n }\n }",
"public long startOfThisWeek() {\r\n\t\tfinal Calendar mc = Calendar.getInstance();\r\n\t\tmc.setTimeZone(mC.getTimeZone());\r\n\t\tint d = mC.get(Calendar.DAY_OF_WEEK);\r\n\t\tmc.set(mC.get(Calendar.YEAR), \r\n\t\t\t\tmC.get(Calendar.MONTH), \r\n\t\t\t\tmC.get(Calendar.DAY_OF_MONTH) - d + 1, 0, 0, 0);\r\n\t\treturn mc.getTimeInMillis();\r\n\t}",
"public java.util.Calendar getStartExecDate()\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(STARTEXECDATE$8, 0);\n if (target == null)\n {\n return null;\n }\n return target.getCalendarValue();\n }\n }",
"public void nextDay() {\n DateTimeFormatter formatter = DateTimeFormatter.ofPattern(\"d/M/yyyy\");\n localDate = LocalDate.parse(irlDate, formatter);\n localDate = localDate.plusDays(1);\n irlDate = DateTimeFormatter.ofPattern(\"d/M/yyyy\").format(localDate);\n System.out.println(irlDate);\n currentDay = Integer.parseInt(DateTimeFormatter.ofPattern(\"d\").format(localDate));\n currentMonth = Integer.parseInt(DateTimeFormatter.ofPattern(\"M\").format(localDate)) - 1;\n currentYear = Integer.parseInt(DateTimeFormatter.ofPattern(\"yyyy\").format(localDate));\n }",
"public static int getCurrentDay()\n\t{\n\t\treturn Calendar.getInstance().get(Calendar.DATE);\n\t}",
"public Date getCurrentWeekStart() {\n Calendar cal = Calendar.getInstance();\n cal.set(Calendar.HOUR_OF_DAY, 0); // ! clear would not reset the hour of day !\n cal.clear(Calendar.MINUTE);\n cal.clear(Calendar.SECOND);\n cal.clear(Calendar.MILLISECOND);\n\n cal.setFirstDayOfWeek(Calendar.MONDAY);\n cal.set(Calendar.DAY_OF_WEEK, cal.getFirstDayOfWeek());\n\n Date currentWeekStart = cal.getTime();\n\n return currentWeekStart;\n }",
"public int getFirstDayOfMonth(int month)\n\t{\n\t\tm_calendar.set(Calendar.MONTH,month);\n\t\tm_calendar.set(Calendar.DAY_OF_MONTH,1);\n\t\t\n\t\treturn (getDay_Of_Week() - 1);\t\t\n\n\t}",
"java.util.Calendar getSearchRecurrenceStart();",
"public Calendar getStartDate() {\n \t\tCalendar cal = Calendar.getInstance();\n \t\tcal.setTimeInMillis(startTime);\n \t\t\n\t\treturn cal;\n\t}",
"public Date getFirstWaypointTime() {\n\t\treturn TimeParser.strDateTimeToDate(\n\t\t\t\tmDate + \" \" +\n\t\t\t\tmSegmentList.get(0).getWaypointList().get(0).getWaypointTime());\n\t}",
"Integer getDay();",
"public static Date getUniqueDate() {\n if (uniqueCal == null) {\n uniqueCal = Calendar.getInstance();\n uniqueCal.set(1970, 1, 1, 1, 1, 1);\n }\n uniqueCal.add(Calendar.DAY_OF_MONTH, 1);\n return uniqueCal.getTime();\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartDate();",
"public Date getOriginalStart() throws ServiceLocalException {\n\t\treturn (Date) this.getPropertyBag().getObjectFromPropertyDefinition(\n\t\t\t\tAppointmentSchema.OriginalStart);\n\t}",
"public Day getWeekStartDay()\r\n {\r\n return (m_weekStartDay);\r\n }",
"@NotNull\r\n public DateWithOffset getStartDate() {\r\n checkStartDate();\r\n return startDate;\r\n }",
"@Override\n\tpublic Date getStartDate() {\n\t\treturn model.getStartDate();\n\t}",
"protected abstract void calcNextDate();",
"public String getStartDate();",
"public Optional<Date> getStartDate() {\n return Optional.ofNullable(createdDate);\n }",
"Date NextEvent(Date d);",
"public static Date fechaInicial(Date hoy) {\n\t\thoy=(hoy==null?new Date():hoy);\n\t\tLong fechaCombinada = configuracion().getFechaCombinada();\n\t\tSimpleDateFormat df = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\t\tCalendar calendar = Calendar.getInstance();\n\t\tcalendar.setTime(hoy);\n\t\tif (fechaCombinada == 1l) {\n\t\t\tcalendar.set(Calendar.DAY_OF_MONTH, calendar.get(Calendar.DAY_OF_MONTH) - 1);\n\t\t\tcalendar.set(Calendar.HOUR_OF_DAY, 14);\n\t\t\tcalendar.set(Calendar.MINUTE, 0);\n\t\t\tcalendar.set(Calendar.SECOND, 0);\n\t\t} else {\n\t\t\tString fhoyIni = df.format(hoy);\n\t\t\ttry {\n\t\t\t\thoy = df.parse(fhoyIni);\n\t\t\t} catch (ParseException e) {\n\t\t\t\tlog.error(\"Error en fecha inicial\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tcalendar.set(Calendar.HOUR_OF_DAY, 0);\n\t\t\tcalendar.set(Calendar.MINUTE, 0);\n\t\t\tcalendar.set(Calendar.SECOND, 0);\n\t\t}\n\t\thoy = calendar.getTime();\n\t\treturn hoy;\n\t}",
"public static String getDisplayDateNext(Date val) {\n\n\t\tif (val != null) {\n\t\t\tDate previous = DateUtils.addDays(val, 1);\n\t\t\tSimpleDateFormat format = new SimpleDateFormat(\"dd/MM/yyyy\");\n\t\t\treturn format.format(previous);\n\n\t\t} else {\n\n\t\t\treturn null;\n\n\t\t}\n\n\t}",
"public Date getNextScheduledRun() {\n\t\tfinal Calendar cal = Calendar.getInstance();\n\t\tcal.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);\n\t\tcal.set(Calendar.HOUR_OF_DAY, 1);\n\t\tcal.set(Calendar.MINUTE, 0);\n\n\t\tif ( cal.before(Calendar.getInstance()) ){\n\t\t\tcal.add(Calendar.DATE, 7);\n\t\t}\n\t\treturn cal.getTime();\n\t\n\t}",
"public void nextDay() {\r\n int daysMax = daysInMonth();\r\n \r\n if (day == daysMax && month == 12) { // If end of the year, set date to Jan 1\r\n setDate(1, 1);\r\n } else if (day == daysMax) { // If last day of month, set to first day of next month\r\n setDate(month + 1, 1);\r\n } else { // Otherwise, simply increment this day\r\n day++;\r\n }\r\n }",
"private Date determineBeginDate(Employee employee){\n\t\tList<PtoPeriod> ptoPeriods = ptoPeriodRepository.findPtoPeriodForEmployee(employee.getId());\n\t\tfor(PtoPeriod p : ptoPeriods){\n\t\t\tlog.info(\"Pto Period Found: End Date: \" + p.getEndDate());\n\t\t}\n\t\t\n\t\t//If more than one period found, select the second latest date as the start date\n\t\t//Otherwise return the employee hire date\n\t\t\n\t\treturn ZonedDateTimeToDateConverter.INSTANCE.convert(employee.getHireDate());\n\t}"
] |
[
"0.78690153",
"0.7472683",
"0.73546344",
"0.7179246",
"0.7113759",
"0.700598",
"0.69404876",
"0.6910578",
"0.68460244",
"0.6821757",
"0.68215984",
"0.680668",
"0.68007666",
"0.6729872",
"0.67286766",
"0.67255706",
"0.67125213",
"0.6676052",
"0.66206855",
"0.6581765",
"0.6543999",
"0.65344924",
"0.6529199",
"0.6486968",
"0.6484761",
"0.6458822",
"0.64465344",
"0.64465344",
"0.64465344",
"0.63907",
"0.63895196",
"0.63863957",
"0.63496983",
"0.634658",
"0.6338846",
"0.6326739",
"0.6316099",
"0.6312835",
"0.62070894",
"0.61824137",
"0.61743385",
"0.6154224",
"0.6112946",
"0.6112946",
"0.60896444",
"0.60860187",
"0.6082674",
"0.606547",
"0.6052692",
"0.6034488",
"0.6033559",
"0.60173607",
"0.5990345",
"0.5981148",
"0.59763974",
"0.5965967",
"0.59541553",
"0.5953615",
"0.5949058",
"0.59359694",
"0.59176147",
"0.5908907",
"0.59004027",
"0.58756876",
"0.5873591",
"0.58700615",
"0.5859208",
"0.5850539",
"0.583674",
"0.58346266",
"0.58331543",
"0.5822006",
"0.5821683",
"0.5817622",
"0.58170766",
"0.5812142",
"0.57849395",
"0.5780494",
"0.5775243",
"0.57668436",
"0.57486916",
"0.5738056",
"0.57312894",
"0.5728398",
"0.57245463",
"0.5723455",
"0.57216704",
"0.5701484",
"0.56994975",
"0.5698554",
"0.569766",
"0.569399",
"0.5660964",
"0.5643313",
"0.56428134",
"0.5638612",
"0.56001997",
"0.5599559",
"0.559606",
"0.5592511"
] |
0.71756357
|
4
|
An object is groupable if it can be collected together into a herd
|
public interface Groupable {
/**
* Access method for getting the list of abilities from the member instance
*
* @see common.objects.Herd
* @see common.objects.Leader
* @see common.datatypes.Ability
*
* @return Collection (ArrayList) Abilities (enum) that this member has
*
* @throws RemoteException RMI between Member-Leader
*/
ArrayList<Ability> getAbilities() throws RemoteException;
boolean kill(String log) throws RemoteException;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Collection derive(Object o) {\r\n\r\n LinkedList groups = new LinkedList();\r\n\r\n if ( ! (o instanceof Order) ) return groups; // stubs have no groups\r\n Order order = (Order) o;\r\n\r\n // first pass, gather unique SKUs\r\n\r\n HashSet skus = new HashSet();\r\n\r\n Iterator i = order.items.iterator();\r\n while (i.hasNext()) {\r\n Order.Item item = (Order.Item) i.next();\r\n skus.add(item.sku);\r\n }\r\n\r\n // second pass, construct group per SKU\r\n\r\n i = skus.iterator();\r\n while (i.hasNext()) {\r\n SKU sku = (SKU) i.next();\r\n groups.add(derive(order,sku));\r\n }\r\n\r\n return groups;\r\n }",
"protected void sequence_BY_GROUP_GroupBy(ISerializationContext context, GroupBy semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}",
"public interface Group extends Item {\n\n /**\n * Gets all parents of this group in no particular order.\n * \n * @return array of parent groups, or empty array if there are no parent groups.\n * @throws AccessManagementException\n */\n Group[] getParents() throws AccessManagementException;\n\n /**\n * Gets all members of this group in no particular order.\n * \n * @return array of members, or empty array if there are no members.\n * @throws AccessManagementException\n */\n Item[] getMembers() throws AccessManagementException;\n\n // TODO: Because of scalability issues We should introduce an iterator for getting all members\n\n /**\n * Adds a member to this group.\n * The group is not saved automatically.\n * \n * @param item\n * @throws AccessManagementException\n * if item already is a member of this group, or if something\n * else goes wrong.\n */\n void addMember(Item item) throws AccessManagementException;\n\n /**\n * Removes item from this group.\n * The group is not saved automatically.\n * \n * @param item\n * @throws AccessManagementException\n * if item is not a member of this group, or if something else\n * goes wrong.\n */\n void removeMember(Item item) throws AccessManagementException;\n\n /**\n * Indicates whether the item is a member of this group.\n * \n * @param item\n * @return true if the item is a member of this group, false otherwise.\n * @throws AccessManagementException\n */\n boolean isMember(Item item) throws AccessManagementException;\n}",
"@Override\n public boolean isGroup() {\n return false;\n }",
"public interface IWithGroupOrUnit extends Iterable<IGroupOrUnit> {\r\n\r\n\t/**\r\n\t * Gets the id for this object.\r\n\t * @return the id for this object (never null).\r\n\t */\r\n\tpublic String getId ();\r\n\t\r\n\t/**\r\n\t * Sets the id for this object.\r\n\t * @param id the id for this object (cannot be null).\r\n\t */\r\n\tpublic void setId (String id);\r\n\r\n\t/**\r\n\t * Gets the {@link IGroup} for a given id.\r\n\t * The group can be at any level in this object.\r\n\t * @param id the id to look for.\r\n\t * @return the group for the given id, or null if none is found.\r\n\t */\r\n\tpublic IGroup getGroup (String id);\r\n\t\r\n\t/**\r\n\t * Adds a {@link IGroup} to this object.\r\n\t * @param group the group to add.\r\n\t * @return the added group (same as the parameter).\r\n\t */\r\n\tpublic IGroup add (IGroup group);\r\n\r\n\t/**\r\n\t * Gets the {@link IUnit} for a given id.\r\n\t * The unit can be at any level in this object.\r\n\t * @param id the id to look for.\r\n\t * @return the unit for the given id, or null if none is found.\r\n\t */\r\n\tpublic IUnit getUnit (String id);\r\n\t\r\n\t/**\r\n\t * Adds a {@link IUnit} to this object.\r\n\t * @param unit the unit to add.\r\n\t * @return the added unit (same as the parameter).\r\n\t */\r\n\tpublic IUnit add (IUnit unit);\r\n\r\n}",
"Boolean groupingEnabled();",
"public T caseGroup(Group object) {\n\t\treturn null;\n\t}",
"public void groupObjects(String type) {\n\t\tif(type.equals(\"IPv4\")) {\n\t\t\tgroupWebPageObjects(14,17);\n\t\t\tgroupHostObjects(14);\n\t\t}\n\t\telse if(type.equals(\"IPv6\")) {\n\t\t\tgroupWebPageObjects(7,10);\n\t\t\tgroupHostObjects(7);\n\t\t}\n\t\telse if(type.equals(\"Netflow\")) {\n\t\t\tgroupWebPageObjects(4,7);\n\t\t\tgroupHostObjects(4);\n\t\t}\n\t\telse if(type.equals(\"Webserver\")) {\n\t\t\tgroupHostObjects(0);\n\t\t}\n\t\telse if(type.equals(\"Syslog\")) {\n\t\t\tgroupHostObjects(2);\n\t\t}\n\t}",
"public ObjectGroup getObjectGroup() {\r\n return ObjectGroup.forType(id);\r\n }",
"public abstract Collection getGroups();",
"private static void DoGroupBy()\n\t{\n\n\t\tArrayList<Attribute> inAtts = new ArrayList<Attribute>();\n\t\tinAtts.add(new Attribute(\"Int\", \"o_orderkey\"));\n\t\tinAtts.add(new Attribute(\"Int\", \"o_custkey\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_orderstatus\"));\n\t\tinAtts.add(new Attribute(\"Float\", \"o_totalprice\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_orderdate\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_orderpriority\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_clerk\"));\n\t\tinAtts.add(new Attribute(\"Int\", \"o_shippriority\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_comment\"));\n\n\t\tArrayList<Attribute> outAtts = new ArrayList<Attribute>();\n\t\toutAtts.add(new Attribute(\"Str\", \"att1\"));\n\t\toutAtts.add(new Attribute(\"Str\", \"att2\"));\n\t\toutAtts.add(new Attribute(\"Float\", \"att3\"));\n\t\toutAtts.add(new Attribute(\"Int\", \"att4\"));\n\n\t\tArrayList<String> groupingAtts = new ArrayList<String>();\n\t\tgroupingAtts.add(\"o_orderdate\");\n\t\tgroupingAtts.add(\"o_orderstatus\");\n\n\t\tHashMap<String, AggFunc> myAggs = new HashMap<String, AggFunc>();\n\t\tmyAggs.put(\"att1\", new AggFunc(\"none\",\n\t\t\t\t\"Str(\\\"status: \\\") + o_orderstatus\"));\n\t\tmyAggs.put(\"att2\", new AggFunc(\"none\", \"Str(\\\"date: \\\") + o_orderdate\"));\n\t\tmyAggs.put(\"att3\", new AggFunc(\"avg\", \"o_totalprice * Int (100)\"));\n\t\tmyAggs.put(\"att4\", new AggFunc(\"sum\", \"Int (1)\"));\n\n\t\t// run the selection operation\n\t\ttry\n\t\t{\n\t\t\tnew Grouping(inAtts, outAtts, groupingAtts, myAggs, \"orders.tbl\", \"out.tbl\", \"g++\", \"cppDir/\");\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}",
"public interface GroupDescription {\n /**\n * Types of the group supported by ONOS.\n */\n enum Type {\n /**\n * Load-balancing among different buckets in a group.\n */\n SELECT,\n /**\n * Single Bucket Group.\n */\n INDIRECT,\n /**\n * Multicast to all buckets in a group.\n */\n ALL,\n /**\n * Similar to {@link Type#ALL} but used for cloning of packets\n * independently of the egress decision (singleton treatment or other\n * group).\n */\n CLONE,\n /**\n * Uses the first live bucket in a group.\n */\n FAILOVER\n }\n\n /**\n * Returns type of a group object.\n *\n * @return GroupType group type\n */\n Type type();\n\n /**\n * Returns device identifier on which this group object is created.\n *\n * @return DeviceId device identifier\n */\n DeviceId deviceId();\n\n /**\n * Returns application identifier that has created this group object.\n *\n * @return ApplicationId application identifier\n */\n ApplicationId appId();\n\n /**\n * Returns application cookie associated with a group object.\n *\n * @return GroupKey application cookie\n */\n GroupKey appCookie();\n\n /**\n * Returns groupId passed in by caller.\n *\n * @return Integer group id passed in by caller. May be null if caller\n * passed in null to let groupService determine the group id.\n */\n Integer givenGroupId();\n\n /**\n * Returns group buckets of a group.\n *\n * @return GroupBuckets immutable list of group bucket\n */\n GroupBuckets buckets();\n}",
"public void addToGroup(Movable movable){\n things.add(movable);\n }",
"interface Group\n{\n\n public abstract LabelMap getElements(Context context)\n throws Exception;\n\n public abstract Label getLabel(Class class1);\n\n public abstract boolean isInline();\n}",
"interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithCluster> {\n }",
"public boolean isGroupBy() {\n return groupBy;\n }",
"public abstract boolean wrapsCollectible();",
"boolean hasGroupByCategory();",
"public Object getObject() {\n return getGroup();\n }",
"public ProductGroup beProductGroup();",
"public boolean f(Context ctx, Object obj)\r\n {\n if (groupIds_ == null)\r\n {\r\n new MinorLogMsg(\r\n this,\r\n \"Unable to filter because the contract group ids is unspecified.\",\r\n null).log(ctx);\r\n return true;\r\n }\r\n \r\n ContractGroup group = (ContractGroup) obj;\r\n\r\n if (groupIds_.contains(group.getIdentifier()))\r\n {\r\n return true;\r\n }\r\n \r\n return false;\r\n }",
"public final DodlesGroup getNewObjectGroup() {\n return newObjectGroup;\n }",
"public interface GroupCell<T> extends Cell<T>{\n\t\n\t/**\n\t * has this cell a group (has it more elements)? \n\t * \n\t * @param model the model of this cell\n\t * @return true if the cell has more elements (more details), otherwise false\n\t */\n\tpublic boolean isGroupCell(T model);\n\n}",
"Relations getGroupOfRelations();",
"interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithCreate> {\n }",
"public boolean inGroup(Person p){\n\t return false;\n }",
"public boolean createGroup(GroupsGen group) {\n \n super.create(group);\n return true;\n }",
"GroupBuckets buckets();",
"public T caseGroupByClause(GroupByClause object)\n {\n return null;\n }",
"public ArrayList buildGroup(AbstractEntityInterface anEntity) {\n/* 25 */ ArrayList resultList = new ArrayList();\n/* 26 */ if (!(anEntity instanceof lrg.memoria.core.Class)) {\n/* 27 */ return resultList;\n/* */ }\n/* 29 */ ModelElementList modelElementList = ((DataAbstraction)anEntity).getAncestorsList();\n/* 30 */ modelElementList.remove(anEntity);\n/* 31 */ return modelElementList;\n/* */ }",
"boolean groupSupports(Object groupID, int groupConstant) throws Exception;",
"@Override\n public void groupBy(StructuredRecord record, Emitter<StructuredRecord> emitter) throws Exception {\n StructuredRecord.Builder builder = StructuredRecord.builder(getGroupKeySchema(record.getSchema()));\n for (String groupByField : conf.getGroupByFields()) {\n builder.set(groupByField, record.get(groupByField));\n }\n emitter.emit(builder.build());\n }",
"public boolean isNotASummarizedObject() {\n checkNotPolymorphicOrUnknown();\n if (object_labels == null) {\n return true;\n }\n for (ObjectLabel object_label : object_labels) {\n if (!object_label.isSingleton()) {\n return false;\n }\n }\n return true;\n }",
"public void visit(GroupBy obj) {\n List<Expression> symbols = obj.getSymbols();\n for (int i = 0; i < symbols.size(); i++) {\n Expression symbol = symbols.get(i);\n symbols.set(i, replaceExpression(symbol));\n }\n }",
"@GroupSequence({Default.class, GroupA.class, GroupB.class})\r\npublic interface Group {\r\n}",
"public boolean isFilterByGroup()\r\n {\r\n return getSemanticObject().getBooleanProperty(swpres_filterByGroup);\r\n }",
"io.dstore.values.BooleanValue getGroupByCategory();",
"Object getGroup(int groupPosition);",
"public T caseAnalysisGroupList(AnalysisGroupList object)\r\n {\r\n return null;\r\n }",
"boolean hasMaterialization(Object groupID) throws Exception;",
"public List<RecordGroup> splitIntoProcessableSubgroups() {\n List<RecordGroup> recordGroupList = new LinkedList<>();\n if (areAllRecordsValid()) {\n isolateHeartbeatRecords(recordGroupList);\n return recordGroupList;\n } else {\n List<AbstractRecord> recordList = new LinkedList<>();\n Boolean valid = null;\n for (AbstractRecord record : records) {\n boolean tempValid = isRecordInvalid(record);\n if (valid == null || Objects.equals(tempValid, valid)) {\n valid = tempValid;\n recordList.add(record);\n } else {\n recordGroupList.add(new RecordGroup(recordList));\n valid = tempValid;\n recordList = new LinkedList<>();\n recordList.add(record);\n }\n }\n if (!recordList.isEmpty()) {\n recordGroupList.add(new RecordGroup(recordList));\n }\n }\n return recordGroupList;\n\n }",
"@Override\n public boolean equals(Object object) {\n if (!(object instanceof Groups)) {\n return false;\n }\n Groups other = (Groups) object;\n if ((this.gid == null && other.gid != null) || (this.gid != null && !this.gid.equals(other.gid))) {\n return false;\n }\n return true;\n }",
"ZigBeeGroup getGroup(int groupId);",
"private static boolean rscInGroup(IResourceGroup group,\n AbstractVizResource<?, ?> resource) {\n\n for (ResourcePair pair : group.getResourceList()) {\n if (pair.getResource() == resource) {\n return true;\n }\n AbstractResourceData resourceData = pair.getResourceData();\n if (resourceData instanceof IResourceGroup) {\n if (rscInGroup((IResourceGroup) resourceData, resource)) {\n return true;\n }\n }\n }\n return false;\n }",
"boolean hasAdGroupCriterion();",
"public interface CoreGroup extends AbstractGroup {\r\n}",
"public boolean isGroupPossible()\n\t\t{\n\t\t\treturn this.m_allowedAddGroupRefs != null && ! this.m_allowedAddGroupRefs.isEmpty();\n\n\t\t}",
"void add(R group);",
"@Override\n\tpublic boolean isAggregate() {\n\t\treturn true;\n\t}",
"private List<Object> handleAggregates(List<Object> resultSet)\n {\n final Expression[] grouping = compilation.getExprGrouping();\n Comparator<Object> c = new Comparator<>()\n {\n public int compare(Object arg0, Object arg1)\n {\n for (int i=0; i<grouping.length; i++)\n {\n state.put(candidateAlias, arg0);\n Object a = grouping[i].evaluate(evaluator);\n state.put(candidateAlias, arg1);\n Object b = grouping[i].evaluate(evaluator);\n // Put any null values at the end\n if (a == null && b == null)\n {\n return 0;\n }\n else if (a == null)\n {\n return -1;\n }\n else if (b == null)\n {\n return 1;\n }\n else\n {\n int result = ((Comparable)a).compareTo(b);\n if (result != 0)\n {\n return result;\n }\n }\n }\n return 0;\n }\n };\n \n List<List<Object>> groups = new ArrayList<>();\n List<Object> group = new ArrayList<>();\n groups.add(group);\n for (int i=0; i<resultSet.size(); i++)\n {\n if (i > 0)\n {\n if (c.compare(resultSet.get(i-1), resultSet.get(i)) != 0)\n {\n group = new ArrayList<>();\n groups.add(group);\n }\n }\n group.add(resultSet.get(i));\n }\n List<Object> result = new ArrayList<>();\n Expression having = compilation.getExprHaving();\n if (having != null)\n {\n for (int i=0; i<groups.size(); i++)\n {\n if (satisfiesHavingClause(groups.get(i)))\n {\n result.addAll(groups.get(i));\n }\n }\n }\n else\n {\n for (int i = 0; i < groups.size(); i++)\n {\n result.addAll(groups.get(i));\n }\n }\n return result;\n }",
"boolean visitSmartContainer(Object o);",
"public void visitGroup(Group group) {\n\t}",
"@DtoReadableAs(JSON)\n@DtoWritableAs(JSON)\npublic interface ServiceRegistryGrouped {\n\tAutoCompleteData autoCompleteData();\n\tList<ServiceGroup> servicesGroupedByServiceDefinition();\n\tList<SystemGroup> servicesGroupedBySystems();\n}",
"private static Stream<GroupModel> groupAndItsParentsStream(GroupModel group) {\n Stream.Builder<GroupModel> sb = Stream.builder();\n while (group != null) {\n sb.add(group);\n group = group.getParent();\n }\n return sb.build();\n }",
"Object getMaterialization(Object groupID) throws Exception;",
"public interface IGroupActionHelper {\n\t\n\t/**\n\t * Restituisce l'insieme delle referenze sul gruppo specificato.\n\t * Il metodo restituisce la mappa della lista degli oggetti referenzianti, indicizzata in base al nome \n\t * del manager che gestisce gli oggetti specifici.\n\t * @param group Il gruppo cui ricavare le referenze.\n\t * @param request La request.\n\t * @return La mappa della lista di oggetti referenzianti.\n\t * @throws ApsSystemException In caso di errore.\n\t */\n\tpublic Map<String, List<Object>> getReferencingObjects(Group group, HttpServletRequest request) throws ApsSystemException;\n\t\n}",
"public boolean applyCommonGroupingRule() {\n\t \n\t if(isApplicableSameGroupingRule() == false) {\n\t \tSystem.out.println(\"ERROR: Failure to apply Same Grouping Rewriting Rule\");\n\t \treturn false;\n\t }\n\t \n\t this.rset = new HashMap<Integer, Query>();\n\t this.rtype = RType.SAME_GROUPING_RULE;\n\t this.rqId = 1;\n\n\t Grouping gPart = this.qset.entrySet().iterator().next().getValue().getQueryTriple()._1();\n\t \n\t Measuring mPart = new Measuring();\n\t Operation opPart = new Operation();\n\t for(Map.Entry<Integer, Query> entry2 : this.qset.entrySet()){\n\t\t\tmPart.addMeasuring(entry2.getValue().getQueryTriple()._2());\n\t\t opPart.addOperation(entry2.getValue().getQueryTriple()._3());\n\t }\n\t Tuple3<Grouping, Measuring, Operation> query = new Tuple3<>(gPart, mPart, opPart);\n\t \n\t rset.put(rqId, new Query(query));\n\t return true;\n\t}",
"@Override\n\tpublic String getGroup() {\n\t\treturn \"Group_\"+SliceName(stdClass);\n\t}",
"private static Group getObjectFromCursor(ResultSet resultset) throws SQLException {\r\n\t\tGroup group = new Group();\r\n\t\tgroup.id = resultset.getInt(\"id\");\r\n\t\tgroup.name = resultset.getString(\"name\");\r\n group.keyword = resultset.getString(\"keyword\");\r\n group.level = resultset.getInt(\"level\");\r\n\t\treturn group;\r\n\t}",
"public T caseLoadGroup(LoadGroup object) {\n\t\treturn null;\n\t}",
"private void newGroup()\n\t{\n\t\t// There is no need anymore to take care of the meta-data.\n\t\t// That is done once in DenormaliserMeta.getFields()\n\t\t//\n data.targetResult = new Object[meta.getDenormaliserTargetFields().length];\n \n for (int i=0;i<meta.getDenormaliserTargetFields().length;i++)\n {\n data.targetResult[i] = null;\n\n data.counters[i]=0L; // set to 0\n data.sum[i]=null;\n }\n\t}",
"public interface GroupPredicateBuilder {\r\n\r\n Predicate build(CriteriaBuilder criteriaBuilder, List<Predicate> criteriaList);\r\n \r\n}",
"protected boolean isObjectHeld() { return objHeld; }",
"private void computeStoneGroups() {\n stoneGroups = new ArrayList<>();\n for (Stone stone : getStones()) {\n if (!stoneGroups.contains(stone.getStoneGroup())) {\n stoneGroups.add(stone.getStoneGroup());\n }\n }\n }",
"@Secured({ \"GROUP_AGENT\" })\n Collection<ExpressionExperimentDetailsValueObject> generateSummaryObjects();",
"public DefaultGraphCell getGroupObject() {\n return groupObject;\n }",
"public interface GroupFour extends DomElement {\n\n /**\n * Gets constructor.\n *\n * @return the constructor\n */\n @SubTag(\"constructor\")\n Constructor getConstructor();\n\n /**\n * Gets ids.\n *\n * @return the ids\n */\n @SubTagList(\"id\")\n List<Id> getIds();\n\n /**\n * Gets results.\n *\n * @return the results\n */\n @SubTagList(\"result\")\n List<Result> getResults();\n\n /**\n * Gets associations.\n *\n * @return the associations\n */\n @SubTagList(\"association\")\n List<Association> getAssociations();\n\n /**\n * Gets collections.\n *\n * @return the collections\n */\n @SubTagList(\"collection\")\n List<Collection> getCollections();\n\n /**\n * Gets discriminator.\n *\n * @return the discriminator\n */\n @SubTag(\"discriminator\")\n Discriminator getDiscriminator();\n}",
"@Override\n\tpublic boolean equals(Object object){\n\t\tif(object.getClass() != getClass())\n\t\t\treturn false;\n\t\tLibrary library = (Library) object;\n\t\treturn library.group.equals(group) && library.name.equals(name);\n\t}",
"interface WithGroup\n extends GroupableResource.DefinitionStages.WithGroup<DefinitionStages.WithSku> {\n }",
"private List<IShape> splitGroup(ShapeComponent component)\n\t{\n\t\tvar shapes = new ArrayList<IShape>();\n\n\t\tif (component instanceof ShapeGroup)\n\t\t{\n\t\t\tshapes.addAll(component.getShapes());\n\t\t}\n\n\t\treturn shapes;\n\t}",
"public interface Filters extends MultiBucketsAggregation {\n\n /**\n * A bucket associated with a specific filter (identified by its key)\n */\n interface Bucket extends MultiBucketsAggregation.Bucket {}\n\n /**\n * The buckets created by this aggregation.\n */\n @Override\n List<? extends Bucket> getBuckets();\n\n Bucket getBucketByKey(String key);\n\n}",
"@Override\n public boolean equals(Object obj)\n {\n if (obj == null)\n {\n return false;\n }\n if (getClass() != obj.getClass())\n {\n return false;\n }\n final Group other = (Group) obj;\n if(this.getID() != other.getID())\n {\n return false;\n }\n return true;\n }",
"public interface ObjectHandler\n{\n\n public void readObjectList(ArrayList<ArrayList<Point>> objectList, ArrayList<ArrayList<Point>> cornerList);\n //use the objectList and cornerList to classify objects\n\n public Object getObject();\n //return one classified object\n\n public Bitmap getFinalShapesImage();\n //return bitmap showing objects that will be returned by getObject()\n\n public Bitmap getShapesImage();\n //return bitmap showing all objects that have classified as something\n\n public boolean isEmpty();\n //return whether or not nothing was found\n}",
"public static void main(String[] args) {\n\t\tHuman humanOne = new Human(\"Konovalov\", \"Anton\", 1991, true);\r\n\r\n\t\tStudent studentOne = new Student(\"One\", \"Arst\", 1992, true, \"It\", 3);\r\n\t\tStudent studentTho = new Student(\"Tho\", \"Adsart\", 1993, true, \"It\", 3);\r\n\t\tStudent studentThree = new Student(\"Three\", \"Adrt\", 1994, true, \"It\", 3);\r\n\t\tStudent studentFour = new Student(\"Four\", \"Agfrt\", 1995, true, \"It\", 3);\r\n\t\tStudent studentFive = new Student(\"Five\", \"Asrt\", 1996, true, \"It\", 3);\r\n\t\tStudent studentSix = new Student(\"Six\", \"Arrt\", 1997, false, \"It\", 3);\r\n\t\tStudent studentSeven = new Student(\"Seven\", \"Aeqrt\", 1998, true, \"It\", 3);\r\n\t\tStudent studentEight = new Student(\"Eight\", \"Aeqwrt\", 1999, true, \"It\", 3);\r\n\t\tStudent studentNine = new Student(\"Nine\", \"Areqt\", 1992, false, \"It\", 3);\r\n\t\tStudent studentTen = new Student(\"Ten\", \"Aeqrt\", 1993, true, \"It\", 3);\r\n\t\tStudent studentEleven = new Student(\"Eleven\", \"Aehrt\", 1991, true, \"It\", 3);\r\n\r\n\t\tGroup group = new Group();\r\n\t\ttry {\r\n\t\t\tgroup.add(studentOne);\r\n\t\t\tgroup.add(studentTho);\r\n\t\t\tgroup.add(studentThree);\r\n\t\t\tgroup.add(studentFour);\r\n\t\t\tgroup.add(studentFive);\r\n\t\t\tgroup.add(studentSix);\r\n\t\t\tgroup.add(studentSeven);\r\n\t\t\tgroup.add(studentEight);\r\n\t\t\tgroup.add(studentNine);\r\n\t\t\t// group.add(studentTen);\r\n\t\t\t// group.add(studentEleven);\r\n\t\t\t//group.addNewStudent();\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Error, more than 10 can not be created\");\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n//\t\tSystem.out.println(group);\r\n//\t\tgroup.sort();\r\n//\t\tSystem.out.println(group);\r\n//\t\t\r\n//\t\tStudent [] arrayStudentArmy= group.goToArmy(group);\r\n//\t\tfor (Student student : arrayStudentArmy) {\r\n//\t\t\tSystem.out.println(student);\r\n//\t\t}\r\n\t\t\r\n\t\tgroup.fileSave();\r\n\t\t\r\n\t\tGroup groupFromFile=new Group();\r\n\t\tgroupFromFile.newGroupStudent();\r\n\t\tSystem.out.println(groupFromFile);\r\n\t\r\n\r\n\t}",
"IGroup getFullGroup();",
"private Map<String, List<String>> getObjectsGroupedByType() throws SQLException {\n boolean xmlDbAvailable = dbSupport.isXmlDbAvailable();\n String query =\n // Most of objects are seen in ALL_OBJECTS\n \"SELECT OBJECT_TYPE, OBJECT_NAME FROM ALL_OBJECTS WHERE OWNER = ? \" +\n (xmlDbAvailable\n // XML tables are seen in a separate dictionary table\n ? \"UNION ALL SELECT 'TABLE', TABLE_NAME FROM ALL_XML_TABLES WHERE OWNER = ? \" +\n \"AND TABLE_NAME NOT LIKE 'BIN$________________________$_'\" //ignore recycle bin objects\n : \"\");\n\n // Count params\n int n = 1;\n if (xmlDbAvailable) n += 1;\n String[] params = new String[n];\n Arrays.fill(params, name);\n\n List<Map<String, String>> rows = jdbcTemplate.queryForList(query, params);\n Map<String, List<String>> result = new HashMap<String, List<String>>();\n for (Map<String, String> row : rows) {\n String objectType = row.get(\"OBJECT_TYPE\");\n String objectName = row.get(\"OBJECT_NAME\");\n if (result.containsKey(objectType)) {\n result.get(objectType).add(objectName);\n } else {\n List<String> newList = new ArrayList<String>();\n newList.add(objectName);\n result.put(objectType, newList);\n }\n }\n return result;\n }",
"public T caseConformLoadGroup(ConformLoadGroup object) {\n\t\treturn null;\n\t}",
"private static boolean allowClose(MutableGroup currentGroup) {\n \t\tif (currentGroup instanceof Instance) {\n \t\t\treturn false; // instances may never be closed, they have no parent in the group stack\n \t\t}\n \t\t\n \t\tif (currentGroup.getDefinition() instanceof GroupPropertyDefinition && \n \t\t\t\t((GroupPropertyDefinition) currentGroup.getDefinition()).getConstraint(ChoiceFlag.class).isEnabled()) {\n \t\t\t// group is a choice\n \t\t\tIterator<QName> it = currentGroup.getPropertyNames().iterator();\n \t\t\tif (it.hasNext()) {\n \t\t\t\t// choice has at least on value set -> check cardinality for the corresponding property\n \t\t\t\tQName name = it.next();\n \t\t\t\treturn isValidCardinality(currentGroup, currentGroup.getDefinition().getChild(name));\n \t\t\t}\n \t\t\t// else check all children like below\n \t\t}\n \t\t\n \t\t// determine all children\n \t\tCollection<? extends ChildDefinition<?>> children = DefinitionUtil.getAllChildren(currentGroup.getDefinition());\n \t\n \t\t// check cardinality of children\n \t\tfor (ChildDefinition<?> childDef : children) {\n \t\t\tif (isValidCardinality(currentGroup, childDef)) { //XXX is this correct?! should it be !isValid... instead?\n \t\t\t\treturn false;\n \t\t\t}\n \t\t}\n \t\t\n \t\treturn true;\n \t}",
"GroupRefType createGroupRefType();",
"Group getGroupById(String id);",
"private static List<Group> getCollectionFromResultSet(ResultSet resultset) throws SQLException {\r\n\t\t\r\n\t\tList<Group> collection = new LinkedList<Group>();\r\n\t\t\r\n\t\twhile (resultset.next()) { \r\n\t\t\t// Appending all the objects to the collection.\r\n\t\t\tGroup group = getObjectFromCursor(resultset);\r\n\t\t\tcollection.add(group);\r\n\t\t\tlog.trace(\"Loaded client group: \" + group.toString());\r\n\t\t}\t\t\r\n\t\t\r\n\t\treturn Collections.unmodifiableList(collection);\r\n\r\n\t}",
"@Override\n\tpublic boolean add(Building object) {\n\t\tif (contains(object)) {\n\t\t\tsuper.remove(object);\n\t\t}\n\t\tsuper.add(object);\n\t\treturn true;\n\t}",
"GroupId groupId();",
"public void setGroupBy(boolean value) {\n this.groupBy = value;\n }",
"private boolean wellFormed() {\n\n\n\t\t\tGroup e = this;\n\n\t\t\tint i = 0;\n\t\t\tif(e.first == null && e.last == null && e.size == 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\n\t\t\tCard p = e.first;\n\t\t\tboolean check = false;\n\t\t\tif(e.first != null && e.last != null) {\n\t\t\t\tCard n = null;\n\t\t\t\tif(e.first.prev != null) return report(\"There is a loop\");\n\n\t\t\t\tfor(p = e.first; p.next != null; p = p.next) {\n\n\t\t\t\t\tn = p.next;\n\n\t\t\t\t\tif(n.prev != p) return report(\"p.next is null\");\n\t\t\t\t\tif(this != p.group) {\n\t\t\t\t\t\treturn report(\"this is not set to the group\");\n\t\t\t\t\t}\n\n\n\t\t\t\t}\n\n\t\t\t\tif(e.last.next != null) {\n\t\t\t\t\treturn report(\"Size is not equal to the amount of cards\");\n\t\t\t\t}\n\n\t\t\t\tfor(Card c = e.first; c.next != null; c = c.next) {\n\t\t\t\t\t++i;\n\t\t\t\t}\n\t\t\t\tif(i != this.size-1) {\n\t\t\t\t\treturn report(\"Size is not equal to the amount of cards\");\n\t\t\t\t}\n\t\t\t\tcheck = true;\n\t\t\t}\n\t\t\tif(check != true) {\n\t\t\t\tif(i != this.size) {\n\t\t\t\t\treturn report(\"Size is not equal to the amount of cards\");\n\t\t\t\t}\n\t\t\t\tif(e.first == null || e.last == null) {\n\t\t\t\t\treturn report(\"Error\");\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t}",
"public void groupHostObjects(int addr) {\n\t\tfor(List<String> pkt : pkts) {\n\t\t\tif(!hosts.contains(pkt.get(addr)) && (!webPages.contains(pkt.get(addr)))) {\n\t\t\t\thosts.add(pkt.get(addr));\n\t\t\t}\n\n\t\t}\n\t}",
"public interface IAggregator<T> {\r\n void aggregate(Collection<T> batch);\r\n}",
"@Inject(\n method = \"getGroupForRecipe\",\n at = @At(\"HEAD\"),\n cancellable = true\n )\n private static void hookGetGroupForRecipe(Recipe<?> recipe, CallbackInfoReturnable<RecipeBookGroup> cir) {\n if (recipe.getType() == Woodcutters.RECIPE_TYPE)\n cir.setReturnValue(RecipeBookGroup.STONECUTTER);\n\n if (recipe.getType() == Kilns.RECIPE_TYPE)\n cir.setReturnValue(RecipeBookGroup.FURNACE_MISC);\n }",
"@Override\n public List<Object> getGroupMember(Map<String, Object> condition) {\n return null;\n }",
"Collection<? extends WrappedIndividual> getIsPartOf();",
"public interface Visitor {\n /**\n * Called on entry to a group visit\n * @param group the group being visited\n */\n void startVisit(Group group);\n\n /**\n * Called on exit from a group visit\n * @param group the group being exited\n */\n void endVisit(Group group);\n\n /**\n * Called on visit to an entry\n * @param entry the entry being visited\n */\n void visit(Entry entry);\n\n /**\n * called to determine whether to visit entries before subgroups, or not\n * @return true to visit\n */\n boolean isEntriesFirst();\n\n /**\n * Empty implementation of Visitor\n */\n abstract class Default implements Visitor {\n\n @Override\n public void startVisit(Group group) {}\n\n @Override\n public void endVisit(Group group) {}\n\n @Override\n public void visit(Entry entry) {}\n\n @Override\n public boolean isEntriesFirst() {\n return true;\n }\n }\n\n /**\n * Visitor prints the Groups and Entries it visits\n */\n class Print extends Default {\n @Override\n public void startVisit(Group group) {\n System.out.println(group.toString());\n }\n\n @Override\n public void visit(Entry entry) {\n System.out.println(entry.toString());\n }\n }\n}",
"public boolean applyCommonGroupingMeasuringRule() {\n\t\t\n\t if(isApplicableSameGroupingMeasuringRule() == false) {\n\t \tSystem.out.println(\"ERROR: Failure to apply Same Grouping Rewriting Rule\");\n\t \treturn false;\n\t }\n\t \n\t\tthis.rset = new HashMap<Integer, Query>();\n\t\tthis.rtype = RType.SAME_GROUPING_MEASURING_RULE;\n\t\tthis.rqId = 1;\n\t \n\t\tGrouping gPart = this.qset.entrySet().iterator().next().getValue().getQueryTriple()._1();\n\t\tMeasuring mPart = this.qset.entrySet().iterator().next().getValue().getQueryTriple()._2();\n\t\t\n\t\tOperation opPart = new Operation();\n\t\tfor(Map.Entry<Integer, Query> entry2 : this.qset.entrySet()){\n\t\t\topPart.addOperation(entry2.getValue().getQueryTriple()._3());\n\t\t}\n\t\tTuple3<Grouping, Measuring, Operation> query = new Tuple3<>(gPart, mPart, opPart);\n\t\trset.put(rqId, new Query(query));\n\t\treturn true;\n\t}",
"public void groupShape() {\n\t\tif(currentShape != null && !(groupedShapes.contains(currentShape))) {\n\t\t\tgroupedShapes.add(currentShape);\n\t\t\tnotifyObservers();\n\t\t}\n\t}",
"GroupType createGroupType();",
"GroupType createGroupType();",
"public static Collection<KindGroupVo> getInstances(Collection<KindGroup> entities, boolean cascadable) throws Exception {\n\t Collection<KindGroupVo> vos = new ArrayList<KindGroupVo>();\n\t \n\t for(KindGroup entity : entities){\n\t\t vos.add(KindGroupVo.getInstance(entity, cascadable));\n\t }\n\t \n\t return vos;\n }",
"public boolean setLightForGroupingToGroup(LinkedList<Light> group) {\n Log.i(tag, \"setLightForGroupingToGroup\");\n if (group.contains(this.lightForGrouping)) {\n Log.i(tag, \"dropped into its own group, dont do anything\");\n } else {\n if ((this.lightForGrouping instanceof DreamScreen) && ((Light) group.get(0)).getGroupNumber() != 0) {\n Iterator it = group.iterator();\n while (true) {\n if (it.hasNext()) {\n if (((Light) it.next()) instanceof DreamScreen) {\n Toast.makeText(this, \"Warning, multiple DreamScreens in the same group may cause unexpected behavior.\", 1).show();\n break;\n }\n } else {\n break;\n }\n }\n }\n Iterator it2 = this.groups.iterator();\n while (it2.hasNext()) {\n ((LinkedList) it2.next()).remove(this.lightForGrouping);\n }\n this.lightForGrouping.setGroupName(((Light) group.get(0)).getGroupName(), false);\n this.lightForGrouping.setGroupNumber(((Light) group.get(0)).getGroupNumber(), false);\n if (this.lightForGrouping instanceof DreamScreen) {\n group.addFirst(this.lightForGrouping);\n } else {\n group.add(this.lightForGrouping);\n }\n if (this.currentLight == this.lightForGrouping && this.broadcastingToGroup) {\n setToolbarTitle();\n }\n for (int i = 0; i < this.groups.size(); i++) {\n if (i != 0 && ((LinkedList) this.groups.get(i)).isEmpty()) {\n this.groups.remove(i);\n Log.i(tag, \"removed group\");\n }\n }\n redrawDrawerLinearLayout();\n highlightDrawerSelection();\n if ((this.currentLight instanceof SideKick) || (this.currentLight instanceof Connect)) {\n Fragment currentFragment = getSupportFragmentManager().findFragmentById(R.id.frameLayout);\n if (currentFragment instanceof DreamScreenFragment) {\n Log.i(tag, \"redrawing currentLight sidekick dreamscreenfragment\");\n ((DreamScreenFragment) currentFragment).redrawFragment();\n }\n }\n }\n return true;\n }",
"public RecordObject addGroup(String token, Object record) throws RestResponseException;",
"GroupsType createGroupsType();",
"public interface PooledObject {\n \n /** Object is checked in to the pool **/ \n public final int CHECKEDIN = 1;\n \n /** Object is checked out from the pool **/ \n public final int CHECKEDOUT = 2;\n \n /** Object is marked for sweep **/\n public final int MARKEDFORSWEEP = 3; \n \n /**\n * Match the the pooled object for the given properties.\n *\n * @param\tp\tProperties while creating.\n * @return True if matches.\n */ \n public abstract boolean isMatching(Properties p);\n \n /**\n * Checks whether the pooled object is usable or not.\n *\n * @return\tTrue if it is usable.\n */\n public abstract boolean isUsable(); \n \n /**\n * Mark pooled object as usable.\n */\n public abstract void markUsable(); \n \n /**\n * Mark the object as checked out\n */ \n public abstract void checkedOut(); \n \n /**\n * Mark the object as checked in\n */ \n public abstract void checkedIn();\n \n /**\n * This marks the object for sweeping.\n */\n public abstract void markForSweep();\n \n /**\n * Checks whether the object is marked for sweeping.\n * \n * @return\tIf it is already marked for sweeping.\n */\n public abstract boolean isMarkedForSweep(); \n \n /**\n * Destroys the pooled object. This will abruptly destroy the object.\n * Generally used when there is an error or connection pool is shutdown.\n */\n public abstract void destroy() throws Exception;\n \n /**\n * Get the time of creation of this object.\n *\n * @return the Time of creation of this object.\n */\n public abstract long getCreatedTime(); \n \n}"
] |
[
"0.6173314",
"0.592443",
"0.577433",
"0.5704399",
"0.56719476",
"0.5590991",
"0.556903",
"0.55407417",
"0.55373263",
"0.5536259",
"0.55078423",
"0.5461039",
"0.54565275",
"0.5422513",
"0.5386402",
"0.5336668",
"0.529646",
"0.5282929",
"0.52669346",
"0.523681",
"0.5204614",
"0.51974887",
"0.5195318",
"0.517987",
"0.515263",
"0.5152509",
"0.5151305",
"0.5126298",
"0.5122652",
"0.5117935",
"0.5103552",
"0.5086009",
"0.50757307",
"0.50659627",
"0.50632334",
"0.5056796",
"0.5056133",
"0.5047079",
"0.5044888",
"0.5039949",
"0.5028746",
"0.50276786",
"0.5027318",
"0.50238603",
"0.50194836",
"0.50004554",
"0.4992491",
"0.49714476",
"0.49713653",
"0.4956051",
"0.4951711",
"0.49293262",
"0.49141836",
"0.49135324",
"0.49051344",
"0.48873243",
"0.48788682",
"0.48786137",
"0.48754662",
"0.48720694",
"0.48658386",
"0.4859713",
"0.48440573",
"0.48427805",
"0.48413804",
"0.48370188",
"0.48366606",
"0.48301905",
"0.4824248",
"0.4820724",
"0.48190147",
"0.48111898",
"0.48030698",
"0.47989637",
"0.47953826",
"0.47807205",
"0.47719997",
"0.47701958",
"0.47651008",
"0.4764067",
"0.47600943",
"0.47575787",
"0.4754601",
"0.47533387",
"0.47524604",
"0.47409976",
"0.47394636",
"0.4734975",
"0.47341642",
"0.47319487",
"0.47300762",
"0.47295982",
"0.4722659",
"0.47199523",
"0.47199523",
"0.4715801",
"0.47156408",
"0.47127646",
"0.4707686",
"0.47041488"
] |
0.5680667
|
4
|
Access method for getting the list of abilities from the member instance
|
ArrayList<Ability> getAbilities() throws RemoteException;
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public abstract Ability[] getAbilities();",
"public static List<Ability> getAbilities() {\n return Collections.unmodifiableList(new ArrayList<>(ABILITIES.values()));\n }",
"@Override\n\tpublic Ability[] getAbilities() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic void setAbilities() {\n\t\t\r\n\t}",
"java.util.List<pb4client.AchievementInfo> \n getAchieveInfoList();",
"public abstract List<String> getAdditionalAccessions();",
"Item[] getMembers() throws AccessManagementException;",
"java.util.List<proto.Achievement> \n getAchievementsList();",
"public interface Groupable {\r\n\r\n /**\r\n * Access method for getting the list of abilities from the member instance\r\n * \r\n * @see common.objects.Herd\r\n * @see common.objects.Leader\r\n * @see common.datatypes.Ability\r\n *\r\n * @return Collection (ArrayList) Abilities (enum) that this member has\r\n * \r\n * @throws RemoteException RMI between Member-Leader\r\n */\r\n ArrayList<Ability> getAbilities() throws RemoteException;\r\n\r\n boolean kill(String log) throws RemoteException;\r\n}",
"@GetMapping(\"/abilities\")\n @Timed\n public ResponseEntity<List<NamedApiResource>> getAllAbilities(@ApiParam Pageable pageable) {\n log.debug(\"REST request to get a page of Ability\");\n NamedApiResourceList abilityList = api.getAbilityList(pageable.getOffset(), pageable.getPageSize());\n Page<NamedApiResource> page = new PageImpl<>(abilityList.getResults(), pageable, abilityList.getCount()) ;\n HttpHeaders headers = PaginationUtil.generatePaginationHttpHeaders(page, \"/api/abilities\");\n return new ResponseEntity<>(page.getContent(), headers, HttpStatus.OK);\n }",
"public List<Achievement> getAchievements()\n\t{\n\t\treturn achievements;\n\t}",
"public final ArrayList<Account> getMemberList()\n\t{\n\t\treturn members;\n\t}",
"public List<Member> members() {\n return list;\n }",
"public static AchievementsList getInstance(){\n return achievementListInstance;\n }",
"public Vector<EntityWeapon> getWeaponList();",
"@Get\n public String getMembers(){\n ArrayList<String> members = new ArrayList<>();\n try {\n members.addAll(controller.getMembers(getQueryValue(\"id\")));\n }catch(MenuException e){\n System.out.println(e.getMessage());\n }\n return new YaGson().toJson(members, ArrayList.class);\n }",
"@Override\n\tpublic List<UPermission> listChild() {\n\t\treturn roleMapper.listChild();\n\t}",
"public ArrayList<Member> getMemberWholeList() {\n\t\t return dao.selectMemberwholeList();\r\n\t}",
"@Override\n\tpublic List<MemberDTO> getListMember() {\n\t\treturn mdao.getListMember();\n\t}",
"public List<Privilege> get() throws Exception {\n\t\treturn get(null);\r\n\t}",
"public ArrayList<Collective> getMemberCollectives() { return this.memberCollectives;}",
"public ArrayList getMembers()\n\t{\n\t\treturn this.members;\n\t}",
"public List<String> getMemberList()\n\t{\n\t\treturn source.getMemberList();\n\t}",
"public Collection members() {\n return this.<Collection>get(\"members\");\n }",
"public void abilityOne() {\n ability(map.getCurrentTurnHero().getAbilities().get(0));\n }",
"public List<Enemy> getEnemies();",
"public nl.webservices.www.soap.GCRLiabilities getLiabilities() {\n return liabilities;\n }",
"protected List<String> getActives() {\n\t\treturn myActives;\n\t}",
"public List<Achievement> getAllAchievements() {\n return achievementList;\n }",
"Resource getAbilityResource();",
"ImmutableList<SchemaOrgType> getAccessibilityHazardList();",
"public Enumeration permissions();",
"AbilityTarget getAbilityTarget();",
"ImmutableList<SchemaOrgType> getAccessibilityControlList();",
"public List< Achievement > getAchievementsList() {\n\t\treturn getPlayerstatsObject().getAchievements();\n\t}",
"public void weaponAbility() {\n \tlogger.info(\"weapon abilities aren't implemented yet. Using slash ability\");\n \t//ability(map.getCurrentTurnHero().getWeaponAbility());\n \tability(new Slash());\n }",
"List<Permission> getPermissions();",
"public Collection<AccessUser> getMembers()\n {\n return username_to_profile.values();\n }",
"public List<IWeapon> getWeaponsInventory(){\n return weaponsInventory;\n }",
"List<Accessprofile> listAll();",
"ImmutableList<SchemaOrgType> getAccessibilityAPIList();",
"public List<Annotation> getMembers();",
"interface Ability {\n\n}",
"public Enumeration elements()\n {\n return m_permissions.elements();\n }",
"List<BillingPermissionsProperties> permissions();",
"ImmutableList<SchemaOrgType> getAccessibilityFeatureList();",
"public List<String> getMembers() {\n return this.members;\n }",
"public List<User> getMembers() {\n return members;\n }",
"@Override\r\n\tpublic List<MemberDto> list() {\n\t\treturn jdbcTemplate.query(\"select * from s_member\", mapper);\r\n\t}",
"protected ArrayList<Long> getRoomMembers() {\n\treturn roomMembers;\n }",
"public ArrayList<Entry> getMembers(){\n return members;\n }",
"@Override\r\n\tpublic String name() {\n\t\treturn \"&5Toggle abilities.\";\r\n\t}",
"List<Moderator> getModerators();",
"@SuppressWarnings({\"unchecked\", \"cast\"})\n public List<Access> getTypeBoundList() {\n List<Access> list = (List<Access>)getChild(2);\n list.getNumChild();\n return list;\n }",
"private Abilities parseAbilities(JSONObject abilitiesData, String agentPath) {\n return new Abilities(\n parseAbility(abilitiesData, Ability.FIRST_BASIC_ABILITY_ID, agentPath),\n parseAbility(abilitiesData, Ability.SECOND_BASIC_ABILITY_ID, agentPath),\n parseAbility(abilitiesData, Ability.GRENADE_ABILITY_ID, agentPath),\n parseAbility(abilitiesData, Ability.ULTIMATE_ABILITY_ID, agentPath)\n );\n }",
"public static List<Ability> getAbilitiesForAge(int age) {\n return ABILITIES.values().stream().filter(a -> a.level == age).collect(Collectors.toList());\n }",
"java.util.List<java.lang.String>\n getPermissionsList();",
"public List<CardWeapon> getWeapons() {\n return weapons;\n }",
"public void utilityAbility() {\n ability(map.getCurrentTurnHero().getUtilityAbility());\n }",
"public List<User> getEnabledUsers();",
"public synchronized Membership.MembershipList getMembershipList() {\n Membership.MembershipList.Builder builder = Membership.MembershipList.newBuilder().addMember(localMemberHealth.toMember());\n for (MemberHealth memberHealth : memberHealths) {\n if (!memberHealth.hasLeft() && !memberHealth.hasFailed()) {\n builder.addMember(memberHealth.toMember());\n }\n }\n return builder.build();\n }",
"public AccessControlList getAcl()\n {\n return acl;\n }",
"@GetMapping( value = \"/getMembersByAvailability\")\n\tpublic List<Employee> getAllMembers()\n\t{\n\t\treturn this.integrationClient.getAllMembers();\n\t}",
"@Override\n\tpublic List<Member> getMemberList() {\n\t\treturn null;\n\t}",
"public List<DN> getMembers() {\n\t\treturn members;\n\t}",
"public HashMap<Integer, Administrative> getAdministratives() {\n return _administratives;\n }",
"public int getAchievements() {\n return achievements;\n }",
"@Override\n\tpublic List<MenuItem> getMenuItemListAdmin() {\n\t\treturn this.menuItemList ;\n\t}",
"public List<Loan> getLoan();",
"public Ability get_ability(String name) throws IllegalArgumentException{\n if(check_ab_exist(name))\n return ab_store.get(name);\n else\n throw new IllegalArgumentException();\n }",
"public List<Permission> getPermissionList() {\n return permissionList;\n }",
"public ArrayList<CastMember> getActors() \n\t{\n\t\treturn peopleAct;\n\t}",
"@Override\r\n\tpublic List<MemberDTO> list() {\n\t\treturn session.selectList(NAMESPACE+\".list\");\r\n\t}",
"public static ArrayList<Admin> getLockedAdmin() {\n\t\tRequestContent rp = new RequestContent();\n\t\trp.type = RequestType.GET_LOCKED_ADMINS;\n\t\tReceiveContent rpp = sendReceive(rp);\n\t\tArrayList<Admin> adminBloccati = (ArrayList<Admin>) rpp.parameters[0];\n\t\treturn adminBloccati;\n\t}",
"private static void getMember() {\n\t\toutput(\"\");\r\n\t\tfor (member member : library.getMember()) {// variable name LIB to library and MEMBER to getMember()\r\n\t\t\toutput(member + \"\\n\");\r\n\t\t}\t\t\r\n\t}",
"public String memberList() {\n\treturn roomMembers.stream().map(id -> {\n\t try {\n\t\treturn api.getUserById(id).get().getNicknameMentionTag();\n\t } catch (InterruptedException | ExecutionException e) {\n\t\te.printStackTrace();\n\t }\n\t return \"\";\n\t}).collect(Collectors.joining(\"\\n\"));\n }",
"public String[] listAchievements(long id) {\n\t\treturn new Tutor().listAchievements(id);\n\t}",
"List memberClasses();",
"AbilityDamage getAbilityDamage();",
"public List<String> getWeaponCardList() {\n return weaponCardList;\n }",
"@ManyToMany\r\n\t@OrderBy(\"name\")\r\n\tpublic Set<Facility> getFacilities() {\r\n\t\treturn facilities;\r\n\t}",
"List<IRoleDto> getRoles(Integer memberId);",
"public List<SecRight> getAllRights(int type);",
"ImmutableList<SchemaOrgType> getAwardsList();",
"public List<Permission> getPermissions()\r\n/* */ {\r\n/* 228 */ return this.permissions;\r\n/* */ }",
"ArrayList<Actor> getActors();",
"public ArrayList<Member> getAllMembers() {\n return memberDAO.getAllMembers();\n }",
"private List<String> getAttributes(ModuleURN inURN) throws Exception {\r\n MBeanInfo beanInfo = getMBeanServer().getMBeanInfo(inURN.toObjectName());\r\n List<String> attribs = new ArrayList<String>();\r\n for(MBeanAttributeInfo info: beanInfo.getAttributes()) {\r\n attribs.add(info.getName());\r\n }\r\n return attribs;\r\n }",
"@Override\r\n\tpublic List<Member> getAllMember() {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tList<Member> list = session.createCriteria(Member.class).list();\r\n\t\treturn list;\r\n\t}",
"ImmutableList<SchemaOrgType> getAwardList();",
"public String getAccess();",
"private Ability parseAbility(JSONObject abilitiesData, String abilityId, String agentPath) {\n JSONObject abilityData = abilitiesData.getJSONObject(abilityId);\n return new Ability(\n abilityId,\n abilityData.getString(NAME_KEY),\n resourceHandler.getImageResource(agentPath + \"Abilities/\" + abilityId + \".png\")\n );\n }",
"@Override\n\tprotected List<AbilityImpl> initAbility2() {\n\t\tint[] tilesChangedByLevel = {3, 3, 4, 4, 5};\n\t\t// TODO Auto-generated method stub\n\t\tList<AbilityImpl> abilityList = new ArrayList<>();\n\n\t\tfor (int i = 0; i < 5; i++) {\n\n\t\t\tAbilityComponent changeTiles = new ChangeTileColorAbilityComponent(tilesChangedByLevel[i], TileColor.BLUE);\n\t\t\tAbilityImpl ability = new AbilityImpl();\n\t\t\tability.addComponent(changeTiles);\n\t\t\tabilityList.add(ability);\n\t\t}\n\t\treturn abilityList;\n\t}",
"public ArrayList<String> getMembers() {\n if(!members.isEmpty()){\n return new ArrayList(members.keySet());\n }else{\n return null;\n }\n }",
"@Override\r\n\tpublic void list_private() throws Exception {\n\t\tif (JavastravaApplicationConfig.STRAVA_ALLOWS_CHALLENGES_ENDPOINT) {\r\n\t\t\tsuper.list_private();\r\n\t\t}\r\n\t}",
"public ArrayList getRooms();",
"protected List<Membership> getMemberships() {\n return new ArrayList<Membership>(memberships.values());\n }",
"public AccessLevel getAccessLevel(){\n return this.accessLevel;\n }",
"public List<XmlsonMember> getMembers() {\n\t\treturn Collections.unmodifiableList(members);\n\t}",
"public ArrayList<Weapon> getWeaponList() {\n return new ArrayList<>(weaponList);\n }"
] |
[
"0.8037297",
"0.7474722",
"0.67502946",
"0.6513916",
"0.6418352",
"0.6162733",
"0.61300504",
"0.6087043",
"0.6016307",
"0.6003496",
"0.59827054",
"0.59778637",
"0.59627736",
"0.5958675",
"0.58829945",
"0.5876017",
"0.58420825",
"0.58386433",
"0.5834337",
"0.5801583",
"0.57922864",
"0.57327455",
"0.5728735",
"0.5719164",
"0.5712144",
"0.5705558",
"0.56997687",
"0.5695671",
"0.56895506",
"0.56853944",
"0.567153",
"0.5665307",
"0.56627804",
"0.56453925",
"0.5627478",
"0.56190395",
"0.56146127",
"0.5609854",
"0.56000847",
"0.5598521",
"0.5592997",
"0.55918735",
"0.5584677",
"0.5564453",
"0.55534196",
"0.552458",
"0.55238754",
"0.55234754",
"0.5516625",
"0.55120164",
"0.54971004",
"0.5495703",
"0.54870653",
"0.5484809",
"0.547862",
"0.5460447",
"0.5458436",
"0.5444717",
"0.5440672",
"0.54328936",
"0.5428882",
"0.54271305",
"0.5422982",
"0.54178244",
"0.5416608",
"0.540861",
"0.5405344",
"0.53938216",
"0.5385598",
"0.5383259",
"0.5373448",
"0.5370046",
"0.5367432",
"0.5362449",
"0.5361519",
"0.53603595",
"0.53506786",
"0.5349009",
"0.5346468",
"0.5344653",
"0.5342315",
"0.53415686",
"0.5331755",
"0.53130734",
"0.531212",
"0.5301776",
"0.5294505",
"0.52941746",
"0.5290397",
"0.5274886",
"0.52687407",
"0.5262233",
"0.52553403",
"0.5249623",
"0.5246756",
"0.5245008",
"0.5239755",
"0.52396864",
"0.5229",
"0.5228258"
] |
0.8098993
|
0
|
TODO Autogenerated method stub
|
@Override
public void mouseDragged(MouseEvent arg0) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void mouseMoved(MouseEvent arg0) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
"0.6076905",
"0.6041205",
"0.6024897",
"0.60200036",
"0.59985113",
"0.5967729",
"0.5967729",
"0.5965808",
"0.5949083",
"0.5941002",
"0.59236866",
"0.5909713",
"0.59030116",
"0.589475",
"0.58857024",
"0.58837134",
"0.586915",
"0.58575684",
"0.5850424",
"0.5847001",
"0.5824116",
"0.5810248",
"0.5809659",
"0.58069366",
"0.58069366",
"0.5800507",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.57900196",
"0.5790005",
"0.578691",
"0.578416",
"0.578416",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5761079",
"0.57592577",
"0.57592577",
"0.5749888",
"0.5749888",
"0.5749888",
"0.5748457",
"0.5733414",
"0.5733414",
"0.5733414",
"0.57209575",
"0.57154554",
"0.57149583",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.571194",
"0.57043016",
"0.56993437",
"0.5696782",
"0.5687825",
"0.5677794",
"0.5673577",
"0.5672046",
"0.5669512",
"0.5661156",
"0.56579345",
"0.5655569",
"0.5655569",
"0.5655569",
"0.56546396",
"0.56543446",
"0.5653163",
"0.56502634"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void mouseClicked(MouseEvent arg0) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void mouseEntered(MouseEvent arg0) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public void mouseExited(MouseEvent arg0) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.