id
stringlengths
36
36
text
stringlengths
1
1.25M
0ccef37f-edb0-4a4f-956a-5370887d32e0
public void setVehicleUsedNew(java.lang.String vehicleUsedNew) { this.vehicleUsedNew = vehicleUsedNew; }
01b92d3d-9d9b-4934-b44f-4f81fbd1d47c
public java.util.Calendar getCustomDate55() { return this.customDate55; }
cb836c4d-4b86-45e6-9acb-73a9622704bb
public java.lang.String getVehicleExternalSystemId() { return this.vehicleExternalSystemId; }
cba28d72-5dce-46da-a9a6-7f37e75e6b4e
public Builder clearNukeDetect() { if (nukeDetectBuilder_ == null) { nukeDetect_ = org.bwapi.proxy.messages.BasicTypes.Position.getDefaultInstance(); onChanged(); } else { nukeDetectBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00040000); return this; }
b2d4c087-7522-40c3-9fb9-a62390d9217c
public Map<String, ArrayList> prepareLoadersByProductFamily() { ArrayList <Loader> allLoaders = Loader.getAllLoaders(); Map<String, ArrayList> loadersByFamily = new HashMap<String, ArrayList> (); for(Loader selectedLoader : allLoaders) { ArrayList loaderList = loadersByFamily.get(selectedLoader.getProductFamily()); if (loaderList == null) { loaderList = new ArrayList (); loadersByFamily.put(selectedLoader.getProductFamily(), loaderList); } loaderList.add(selectedLoader); //System.out.println(s); } return loadersByFamily; }
efd73966-728f-491e-856e-9758b4781fa1
public void setCustomDate32(java.util.Calendar customDate32) { this.customDate32 = customDate32; }
1a79b451-e447-4f1e-9819-f3f8013f98ea
private static void upkeep_Oath_of_Druids() { CardList oathList = AllZoneUtil.getCardsInPlay("Oath of Druids"); if (oathList.isEmpty()) return; final Player player = AllZone.getPhase().getPlayerTurn(); if (AllZoneUtil.compareTypeAmountInPlay(player, "Creature") < 0) { for (int i = 0; i < oathList.size(); i++) { final Card oath = oathList.get(i); Ability ability = new Ability(oath, "0") { @Override public void resolve() { CardList libraryList = AllZoneUtil.getPlayerCardsInLibrary(player); PlayerZone battlefield = AllZone.getZone(Constant.Zone.Battlefield, player); boolean oathFlag = true; if (AllZoneUtil.compareTypeAmountInPlay(player, "Creature") < 0) { if (player.isHuman()) { StringBuilder question = new StringBuilder(); question.append("Reveal cards from the top of your library and place "); question.append("the first creature revealed onto the battlefield?"); if (!GameActionUtil.showYesNoDialog(oath, question.toString())) { oathFlag = false; } } else { // if player == Computer CardList creaturesInLibrary = AllZoneUtil.getPlayerTypeInLibrary(player, "Creature"); CardList creaturesInBattlefield = AllZoneUtil.getPlayerTypeInPlay(player, "Creature"); // if there are at least 3 creatures in library, or none in play with one in library, oath if (creaturesInLibrary.size() > 2 || (creaturesInBattlefield.size() == 0 && creaturesInLibrary.size() > 0)) oathFlag = true; else oathFlag = false; } if (oathFlag) { CardList cardsToReveal = new CardList(); int max = libraryList.size(); for (int i = 0; i < max; i++) { Card c = libraryList.get(i); cardsToReveal.add(c); if (c.isCreature()) { AllZone.getGameAction().moveTo(battlefield, c); break; } else { AllZone.getGameAction().moveToGraveyard(c); } }// for loop if (cardsToReveal.size() > 0) GuiUtils.getChoice("Revealed cards", cardsToReveal.toArray()); } } } };// Ability StringBuilder sb = new StringBuilder(); sb.append("At the beginning of each player's upkeep, that player chooses target player "); sb.append("who controls more creatures than he or she does and is his or her opponent. The "); sb.append("first player may reveal cards from the top of his or her library until he or she "); sb.append("reveals a creature card. If he or she does, that player puts that card onto the "); sb.append("battlefield and all other cards revealed this way into his or her graveyard."); ability.setStackDescription(sb.toString()); AllZone.getStack().addSimultaneousStackEntry(ability); } } }
54f8a29c-2fec-4837-a5e8-e1d9150feac8
public static byte readByte() { return scanner.nextByte(); }
7b840a24-7c79-4df9-96bc-6c14864caecc
public void setCustomText72(crmondemand.xml.customobject6.query.QueryType customText72) { this.customText72 = customText72; }
01e190d6-d1b4-42be-881f-e24a7262e391
public crmondemand.xml.contact.query.QueryType getCustomText69() { return this.customText69; }
af051afa-2c51-4572-939e-ab29d3e2bc0b
public void setCustomText39(java.lang.String customText39) { this.customText39 = customText39; }
9f812184-0cd3-429e-82f0-dd1e52d0a625
public void setCustomDate38(crmondemand.xml.customobject6.query.QueryType customDate38) { this.customDate38 = customDate38; }
16bd9db2-f32c-443a-9da0-2bb3499f11b6
public crmondemand.xml.customobject6.query.QueryType getCustomObject15Name() { return this.customObject15Name; }
fb1b067d-5caf-47ca-8970-2954d5bc92e8
public void setCenter(Point pt){ double scale = _panel.getScale(); Point point=new Point((int)(pt.getX()*scale),(int)(pt.getY()*scale)); double w = getViewport().getWidth(); double h = getViewport().getHeight(); // Turn the top left coordinates into the center coordinates of the viewport int halfW = (int) (w/2.0); int halfH = (int) (h/2.0); // Move back to top left point.translate(-halfW, -halfH); if(point.getX()<0){ point.setLocation(0,point.getY()); } if(point.getY()<0){ point.setLocation(point.getX(),0); } // Set this to be the new top left coordinates of the viewport getViewport().setViewPosition(point); }
93907bfc-2305-4e56-86fb-5a3ecfcf5388
public void setCustomText62(crmondemand.xml.customobject3.query.QueryType customText62) { this.customText62 = customText62; }
a0f98185-0fba-47d0-a3df-5ef05c2563bc
public void setCustomDate51(java.util.Calendar customDate51) { this.customDate51 = customDate51; }
9174b489-f2e3-43c3-8096-55d7ce2f27ee
public crmondemand.xml.opportunity.query.QueryType getCustomNumber12() { return this.customNumber12; }
f5b06c62-6582-42b9-b824-3bc6dcf6bd54
public java.lang.String getCustomText73() { return this.customText73; }
6d8d3904-40e1-4664-8cde-0cba3604a474
public java.lang.String getCustomText85() { return this.customText85; }
91084cbb-dc2b-4ba0-878c-45031617039a
public java.lang.String getCustomPickList16() { return this.customPickList16; }
5a03c31c-7a24-43ef-9f1f-83aec5f95998
public String getContent() { return content; }
2b65a806-7533-4aef-84be-f4cf18fdab23
public void run(){ while(NodeThread.getNumFinished() != Graph.n){ try { sleep(1000); } catch(InterruptedException e) { //do Nothing } } }
aaaf1565-7598-4835-90c9-a04e31d832da
public void setCustomNumber56(crmondemand.xml.contact.query.QueryType customNumber56) { this.customNumber56 = customNumber56; }
3ffd730d-32f0-431e-bd9a-7cb45b592591
public void setOwnerExternalSystemId(crmondemand.xml.contact.query.QueryType ownerExternalSystemId) { this.ownerExternalSystemId = ownerExternalSystemId; }
9fa69d61-1193-4113-bd2c-1d5f8f55cba0
public void setCustomText48(crmondemand.xml.contact.query.QueryType customText48) { this.customText48 = customText48; }
5e3a281d-5935-453a-b3eb-ee3f89cf2dac
public void setCustomDate5(crmondemand.xml.opportunity.query.QueryType customDate5) { this.customDate5 = customDate5; }
47088a40-9a23-4833-b3f5-0910997744eb
public crmondemand.xml.contact.query.QueryType getCustomPickList73() { return this.customPickList73; }
3fee1212-22ca-4d8a-9d1e-4a39e952c606
private boolean jj_2_6(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_6(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(5, xla); } }
93344527-0083-4f2e-9a9d-ea17fdc64021
public crmondemand.xml.customobject3.query.QueryType getCustomText80() { return this.customText80; }
50428c4d-9493-47be-bb1e-ba52e4a0da55
public void setSPRequestIntegrationId(crmondemand.xml.customobject6.query.QueryType sPRequestIntegrationId) { this.sPRequestIntegrationId = sPRequestIntegrationId; }
0565cb01-ec11-4c85-b030-c441b8af0391
public void setCustomDate5(crmondemand.xml.customobject6.query.QueryType customDate5) { this.customDate5 = customDate5; }
242441b4-050d-48ae-a810-e701042d8894
public boolean getTeam() { return this.team; }
d9253484-3725-46ad-8add-897d67b65e80
public java.lang.String getOpportunityCurrencyCode() { return this.opportunityCurrencyCode; }
d62587b2-d8d2-49bc-9e93-c203fb20a970
public void setCustomBoolean0(java.lang.Boolean customBoolean0) { this.customBoolean0 = customBoolean0; }
e51342d4-a586-4240-be04-1ecc37948dec
public java.lang.String getCustomPickList68() { return this.customPickList68; }
db1940b7-a3b5-4132-bf10-0a9f11239891
public void setCustomNumber136(java.math.BigDecimal customNumber136) { this.customNumber136 = customNumber136; }
8d2b4865-bf38-4889-bd56-9aa1a2a10a06
public void setCustomDate21(crmondemand.xml.customobject6.query.QueryType customDate21) { this.customDate21 = customDate21; }
7523b406-8857-4af7-aec2-b9538737f34a
public void launch(final File workflowFile, final List<Variable> inheritedVariables) { final Workflow workflow; try { workflow = (Workflow) UNMARSHALLER.unmarshal(workflowFile); } catch (final JAXBException e) { throw new AzotException(e); } if (workflow != null) { final WorkflowStarter workflowStarter = new WorkflowStarter(workflowFile, inheritedVariables, workflow); // Asynchrone if (isFork()) { final Thread workflowThread = new Thread(getWorkflowGroup(), workflowStarter); workflowThread.start(); } // Synchrone else { workflowStarter.run(); } } }
690fc631-3c3a-4384-9ff9-7d57056926a1
public Button(float x, float y, String text, int buttonID) throws SlickException { super(x, y, 180, 53); this.buttonID = buttonID; this.text = text; int length = text.length(); normal = new Image("res/gui/button.png"); pressed = new Image("res/gui/buttonPressed.png"); hovered = new Image("res/gui/buttonHighlight.png"); state = normal; text_x = x + 91 - (length * 5); text_y = y + 17; }
30aa0666-faa3-4cdd-a177-a4d591f4e135
public java.math.BigDecimal getCustomNumber25() { return this.customNumber25; }
ee13289a-2840-4adb-a86a-ebe5d4ba8aab
public java.util.Calendar getCustomDate30() { return this.customDate30; }
9c76167d-97d5-4646-bfe6-bd64f0ada3a8
public crmondemand.xml.opportunity.query.QueryType getCustomBoolean16() { return this.customBoolean16; }
3724f732-eb8d-446a-a77e-e27fada7e966
public java.lang.String getCustomText3() { return this.customText3; }
9c1d6400-da36-499c-ab8e-151639e5967f
public java.lang.String getCustomPickList24() { return this.customPickList24; }
9c12db32-a409-4cb0-aaea-e06869ef232a
public void setCustomPhone11(crmondemand.xml.contact.query.QueryType customPhone11) { this.customPhone11 = customPhone11; }
2a95f8a6-0676-4fe4-90ee-e14de495e950
public java.math.BigDecimal getCustomNumber28() { return this.customNumber28; }
492e6325-c0fd-458f-920b-5ea4bc448ca6
public WXMsgToDocument(String inFilename,String outFilename,String charset){ this.inFilename = inFilename; this.outFilename = outFilename; this.charset = charset; }
e8d614af-5570-464a-930f-563f99023a60
public void setPartnerOrgStatus(java.lang.String partnerOrgStatus) { this.partnerOrgStatus = partnerOrgStatus; }
9f997330-915b-4fd5-8349-d865cca88083
@Override public void setNif(long nif) { this.nif = nif; }
9f13253e-5551-4b55-86b9-58bb602a919d
public void setCustomPickList54(crmondemand.xml.customobject3.query.QueryType customPickList54) { this.customPickList54 = customPickList54; }
7d3bc736-4328-4253-9b06-eaa521f57b6c
public static void loadConditions() throws Exception { LIST.clear(); Logger.log("Loading conditions..."); BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream("files/conditions.dat"))); reader.readLine(); String line; while ((line = reader.readLine()) != null) { String[] args = line.split("="); LIST.add(new Condition(args[0], Integer.parseInt(args[1]))); } reader.close(); }
0c6452f3-b31f-47ce-83a5-3e5e00d89050
public void goToHome() { if(this.current != category) { gocategory.execute(); history.add(category); } }
af886521-b30d-44a9-bdfe-5268af32df63
public void setCustomText82(java.lang.String customText82) { this.customText82 = customText82; }
25706414-c006-4bd1-9fe2-544d74fab4f4
public void setCustomBoolean33(crmondemand.xml.contact.query.QueryType customBoolean33) { this.customBoolean33 = customBoolean33; }
d89fc6af-95b0-4b94-899d-ff082eb02760
public void setCustomPickList48(java.lang.String customPickList48) { this.customPickList48 = customPickList48; }
a8425eaa-081f-4630-aa4e-b2da0237fb0c
public int getChildCount(Object node) { walker.setCurrentNode((Node) node); // Set the current node // TreeWalker doesn't count children for us, so we count ourselves int numkids = 0; Node child = walker.firstChild(); // Start with the first child while (child != null) { // Loop 'till there are no more numkids++; // Update the count child = walker.nextSibling(); // Get next child } return numkids; // This is the number of children }
11ea4abe-db2d-4b28-a114-fdca6758061f
public static void write(File file, List<String> resultList) throws IOException { if (!file.exists()) { file.createNewFile(); } FileWriter fw = new FileWriter(file.getAbsoluteFile()); BufferedWriter bufferReader = new BufferedWriter(fw); for (String content : resultList) { bufferReader.write(content); } try { bufferReader.close(); } catch (IOException ex) { Logger.getLogger(FileUtility.class.getName()).log(Level.SEVERE, null, ex); } }
6fb27b50-1ec2-47ee-97fb-7225b15628bb
public java.math.BigDecimal getCustomNumber53() { return this.customNumber53; }
31cf3f5e-405c-480b-950a-b69f8dab34e1
public void setCustomBoolean31(crmondemand.xml.contact.query.QueryType customBoolean31) { this.customBoolean31 = customBoolean31; }
da8c8cc2-0615-410c-8767-80391ec14f32
public void setCustomObject5Id(crmondemand.xml.customobject3.query.QueryType customObject5Id) { this.customObject5Id = customObject5Id; }
d4bd2a07-fb0c-445d-9eb6-d914ad4ab05f
public void setCreatedByExternalSystemId(crmondemand.xml.contact.query.QueryType createdByExternalSystemId) { this.createdByExternalSystemId = createdByExternalSystemId; }
99d53cea-f23b-4bc7-8df9-8a8c6c3c8e02
public Vector3d getGravity() { return gravity; }
7b1b68b5-eb0a-4f0b-be5b-f9479d380191
public java.lang.String getCustomObject4Name() { return this.customObject4Name; }
612cf23f-bff9-4f88-9973-f8e9408637e8
void ganttChartData(ArrayList<GanttChartHolder> ganttChart);
ab860ff6-c74d-4918-8fa1-99aac8f6342c
public void setCustomNumber38(crmondemand.xml.customobject3.query.QueryType customNumber38) { this.customNumber38 = customNumber38; }
7e961819-953e-4e6b-999b-f2d0b999be00
public void setCustomText45(java.lang.String customText45) { this.customText45 = customText45; }
22cccc60-623a-42f5-85d5-13b2b70982a1
public crmondemand.xml.customobject3.query.QueryType getCustomText89() { return this.customText89; }
6462f996-d8af-462c-bf4e-f6e4c46e4cd8
public crmondemand.xml.contact.query.QueryType getCustomPhone10() { return this.customPhone10; }
bc35a126-7ddb-486f-93d6-66e5e763ec89
public void setCustomText43(crmondemand.xml.contact.query.QueryType customText43) { this.customText43 = customText43; }
b2bddcbf-ae2c-4205-87c0-0aad30ece354
public crmondemand.xml.contact.query.QueryType getCustomPhone7() { return this.customPhone7; }
59089ee6-1694-40e1-8c0a-dc55b2f1906b
public java.math.BigDecimal getCustomNumber14() { return this.customNumber14; }
158775b1-170b-46cd-b228-4e48bb6d4bed
private void renderParticle(Particle particle) { double p = particle.getLifeTime() / particle.getTimeToLive(); double size = this.startSize * p + this.endSize * (1 - p); GL11.glPushMatrix(); GL11.glTranslated(particle.getPosX(), particle.getPosY(), 0); GL11.glRotatef((float) (particle.getAngle() * RAD2DEG), 0, 0, 1); Color c = this.visual.getColor(); c.setRed(this.startColor.getRed() * p + this.endColor.getRed() * (1 - p)); c.setGreen(this.startColor.getGreen() * p + this.endColor.getGreen() * (1 - p)); c.setBlue(this.startColor.getBlue() * p + this.endColor.getBlue() * (1 - p)); c.setAlpha(this.startColor.getAlpha() * p + this.endColor.getAlpha() * (1 - p)); this.visual.setScale(size); this.visual.render(); GL11.glPopMatrix(); }
1285dc6f-6f2f-42bc-af61-a4d4e226c90e
public Room getLocation() { return locationHistory.peek(); }
da79c608-746a-4dd6-9f8c-707999fe0b03
public crmondemand.xml.contact.query.QueryType getOwnerUserSignInId() { return this.ownerUserSignInId; }
1cb41a3d-2028-4349-ae3c-144823f0c1ed
public java.lang.Integer getCustomInteger33() { return this.customInteger33; }
0bd5f5fc-be2d-4d3c-91ca-af74fde4d268
public void setCustomDate21(crmondemand.xml.customobject3.query.QueryType customDate21) { this.customDate21 = customDate21; }
9a3e1152-c18c-4062-aad0-b4898fe59297
public void setCustomBoolean33(crmondemand.xml.customobject6.query.QueryType customBoolean33) { this.customBoolean33 = customBoolean33; }
45dc0305-fea8-4c63-9ceb-4e33ffa56f74
public crmondemand.xml.contact.query.QueryType getSolutionId() { return this.solutionId; }
5c1da7f0-12b7-4711-9adc-5b64ae485c05
private void adjustHeight(int increment) { if ((timeLineObject.setHeight>60) && increment<=0) { timeLineObject.setHeight+=increment; } else if ((timeLineObject.setHeight<200)&& increment>0) { timeLineObject.setHeight+=increment; } }
5c80db70-9c5b-4f35-a761-6cdf296bbe9a
public crmondemand.xml.opportunity.query.QueryType getFinancialAccountHeldAway() { return this.financialAccountHeldAway; }
4bc48139-5d1a-4ce3-9184-fcfe6e4f4be2
public void setAccountId(crmondemand.xml.customobject6.query.QueryType accountId) { this.accountId = accountId; }
4790f5bd-3e0c-4ad9-9b8e-82d8f62af5b3
public void actionPerformed(ActionEvent e) { pesq.dispose(); }
6db162e9-fff3-4da6-843c-ba4f435eefc7
public crmondemand.xml.customobject6.query.QueryType getUpdatedByIntegrationId() { return this.updatedByIntegrationId; }
f767d276-3a4d-4164-8c56-610f7f25a584
public void setPrimaryGroup(crmondemand.xml.customobject6.query.QueryType primaryGroup) { this.primaryGroup = primaryGroup; }
c98355d3-b31e-488a-b700-e09798e22a50
public void setListOfFinancialAccount(crmondemand.xml.customobject3.query.ListOfFinancialAccountQuery listOfFinancialAccount) { this.listOfFinancialAccount = listOfFinancialAccount; }
f913e8b4-2b7f-47ec-ae7d-f9b5d9ab66a0
public void setCustomPickList78(java.lang.String customPickList78) { this.customPickList78 = customPickList78; }
024a1c91-2dc3-4f06-b357-c1ddeb049a73
public Parser setStatement() { if (setStatementParser == null) { FutureParser future = scoped("setStatement"); setStatementParser = future; future.setParser( sequence( token("SET"), choice( setFormatMonitorValue(), setFormatDataPointerAssignment(), setFormatProcedurePointerAssignment(), setFormatSemaphoreValue(), setFormat1(), setFormat2(), setFormat3() ), optional( skipto( choice( token("."), endOfStatement() ) ) ) ) ); } return setStatementParser; }
47b4167f-28a3-4f66-afc5-e0fc6dcef096
public java.lang.String getDealRegistrationExternalSystemId() { return this.dealRegistrationExternalSystemId; }
236293d8-e47e-4c59-a331-e5ad02c8abd1
public void setCustomDate1(crmondemand.xml.customobject6.query.QueryType customDate1) { this.customDate1 = customDate1; }
0da1b16d-f847-422a-810e-0ac8f2649a6d
public void setZCustomNumber3(crmondemand.xml.customobject6.query.QueryType zCustomNumber3) { this.zCustomNumber3 = zCustomNumber3; }
3a7eac52-daca-490a-98d8-2e22a3a69163
public void setCustomPickList55(java.lang.String customPickList55) { this.customPickList55 = customPickList55; }
b1a004c8-9abc-4ba2-96c0-5bd14d7ae75a
public java.util.List<org.bwapi.proxy.messages.GameMessages.UnitTypeIntPair> getIncompleteUnitCountList() { if (incompleteUnitCountBuilder_ == null) { return java.util.Collections.unmodifiableList(incompleteUnitCount_); } else { return incompleteUnitCountBuilder_.getMessageList(); } }
5685c019-b6e8-4ff9-86cf-8648200c1b07
public static String getUUID(String player) { String uuid = null; try { URL url = new URL("https://uuid.swordpvp.com/uuid/" + player); URLConnection uc = url.openConnection(); uc.setUseCaches(false); uc.setDefaultUseCaches(false); uc.addRequestProperty("User-Agent", "Mozilla/5.0"); uc.addRequestProperty("Cache-Control", "no-cache, no-store, must-revalidate"); uc.addRequestProperty("Pragma", "no-cache"); String json = new Scanner(uc.getInputStream(), "UTF-8").useDelimiter("\\A").next(); JSONParser parser = new JSONParser(); Object obj = parser.parse(json); uuid = (String) ((JSONObject) ((JSONArray) ((JSONObject) obj).get("profiles")).get(0)).get("id"); } catch (Exception ex) { ex.printStackTrace(); } return uuid; }
a02929f5-01ed-4629-8040-2b758cd21e75
public void setCustomText48(java.lang.String customText48) { this.customText48 = customText48; }
8252bba4-9200-497e-8c5c-e9824dde60c0
public boolean isonFloor() { for (int count = 0; count < Game.getFloorHitBox().size(); count++) { Rectangle r = (Rectangle) Game.getFloorHitBox().get(count); //on floor if (r.inside(Game.p.getX(), Game.p.getY() + Game.p.height)) { return true; } } return false; }
648898e2-7ad9-439e-9a4f-95a20694df2f
public java.math.BigDecimal getCustomNumber54() { return this.customNumber54; }
f863a198-6c3a-454f-b580-de049f4209eb
public java.lang.String getAssetId() { return this.assetId; }
32886bb3-3326-4620-b2a3-895ed57aa3ca
public String getName() { return this.name; }
39020c69-431f-4f3c-add6-45ea3e326e6c
public java.math.BigDecimal getCustomNumber60() { return this.customNumber60; }
d3b4b7f9-1eb9-44ce-96d5-f9cee211c794
public void setCustomNumber58(crmondemand.xml.opportunity.query.QueryType customNumber58) { this.customNumber58 = customNumber58; }