id
stringlengths
36
36
text
stringlengths
1
1.25M
78ccec9f-5968-4f03-8c0b-a2dc207636a8
public void setCustomInteger2(crmondemand.xml.contact.query.QueryType customInteger2) { this.customInteger2 = customInteger2; }
957ca14f-22c1-4fd8-9a1f-80617b1b0a5e
public java.math.BigDecimal getCustomNumber47() { return this.customNumber47; }
177e1cd9-e752-4df5-b024-d0e282493082
public crmondemand.xml.customobject6.query.QueryType getCustomText4() { return this.customText4; }
142b8bbd-90f8-4f5a-bdbb-0765cc34345a
public crmondemand.xml.contact.query.QueryType getCustomInteger21() { return this.customInteger21; }
958aaf31-fc1b-4a22-af65-fa86cd7c7bd6
public void setCustomDate20(crmondemand.xml.contact.query.QueryType customDate20) { this.customDate20 = customDate20; }
ff93823f-77d3-4281-b2e2-a71b29509f7f
public java.math.BigDecimal getOrderItemOrderItemNum() { return this.orderItemOrderItemNum; }
c04ab14d-63f2-4b56-94e9-f1fc52c47a6c
public void setCustomPickList61(java.lang.String customPickList61) { this.customPickList61 = customPickList61; }
d8e67168-fc95-48cb-8f35-f8069c57fbe6
public java.lang.String getOwnerFirstName() { return this.ownerFirstName; }
54210dc4-cd31-4f4d-a20a-1a1880ced185
@Override public String getValueOrTargetHelp() { return getValue(); }
49cfd320-e79d-4525-aa08-b4a3da81da5e
public void setPolicyEffectiveDate(java.util.Calendar policyEffectiveDate) { this.policyEffectiveDate = policyEffectiveDate; }
99c18b9d-7b94-4c53-a464-47a303025846
public void setCustomObject2IntegrationId(java.lang.String customObject2IntegrationId) { this.customObject2IntegrationId = customObject2IntegrationId; }
ca0f93d8-5c0e-4dd9-b8e2-f80bc01637c3
public java.lang.String getCustomText86() { return this.customText86; }
c75d5e79-ccda-4b36-ab21-8aff1c891000
public crmondemand.xml.customobject6.query.QueryType getCustomDate26() { return this.customDate26; }
cc2fe219-a62d-41a4-bf5e-21da9104a9b1
public crmondemand.xml.opportunity.query.QueryType getCustomText0() { return this.customText0; }
d44757f6-bd0c-46b6-9683-5cf5732fcfc8
public void setCustomPickList45(java.lang.String customPickList45) { this.customPickList45 = customPickList45; }
7fcd322e-898d-4774-8902-539f333d0785
public void setCustomObject4Type(java.lang.String customObject4Type) { this.customObject4Type = customObject4Type; }
b5ddc26f-23e4-4c04-86e0-c0126a8700c8
public void setFinancialPlanId(crmondemand.xml.customobject6.query.QueryType financialPlanId) { this.financialPlanId = financialPlanId; }
9cd5412b-2a7d-45d9-9943-ef13bb75e206
public void setActivityId(crmondemand.xml.opportunity.query.QueryType activityId) { this.activityId = activityId; }
9469692a-0fc5-4219-ae7f-6acf56ffbe5e
public void setCustomPickList31(crmondemand.xml.customobject6.query.QueryType customPickList31) { this.customPickList31 = customPickList31; }
5c1551f5-121d-4fa8-b525-d77d212da318
public void setCustomPhone13(java.lang.String customPhone13) { this.customPhone13 = customPhone13; }
29f7d4c7-4a2e-462f-96de-c48b71e46c3d
public java.lang.String getCustomPickList74() { return this.customPickList74; }
291dcc1a-dd1b-4ff7-8012-ab3404d2599a
public java.math.BigDecimal getCustomCurrency7() { return this.customCurrency7; }
b44a5b0b-53eb-422c-ac07-721b7cf94acb
public java.lang.String getCustomPhone3() { return this.customPhone3; }
8200b57b-2841-4444-a2b4-2bffadcc6022
public crmondemand.xml.customobject6.query.QueryType getCustomNumber55() { return this.customNumber55; }
d617aa8b-e433-46d8-a78f-c4ecb5fcc020
public void setCustomObject7Name(java.lang.String customObject7Name) { this.customObject7Name = customObject7Name; }
283fe592-1996-40e5-b739-6195e420bcd5
public int PULUWORD()//TODO recheck { int w = RM(konami.u) << 8; konami.u = konami.u + 1 & 0xFFFF; w |= RM(konami.u); konami.u = konami.u + 1 & 0xFFFF; return w; }
dedbfa85-97e3-4690-806f-52f95a775c63
public void setSolutionMultiFileAsset(crmondemand.xml.customobject6.query.QueryType solutionMultiFileAsset) { this.solutionMultiFileAsset = solutionMultiFileAsset; }
ba195d44-582e-45d0-a970-721f15417bbf
public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); }
3e8a48e9-6ab7-4145-86b1-8394e31122d2
public void setCustomPickList73(java.lang.String customPickList73) { this.customPickList73 = customPickList73; }
a3de6cee-25f1-4b2a-8e9d-0bbe22c3c772
public void setCustomPickList50(crmondemand.xml.opportunity.query.QueryType customPickList50) { this.customPickList50 = customPickList50; }
cc130ba7-48ea-412f-8bcf-3b0e98624fbb
public crmondemand.xml.customobject6.query.QueryType getCustomObject10ExternalSystemId() { return this.customObject10ExternalSystemId; }
cf3e44b8-afc0-4314-8450-49f2bd82b0b4
public void setCustomInteger12(crmondemand.xml.contact.query.QueryType customInteger12) { this.customInteger12 = customInteger12; }
2d43472d-4550-4fb7-b1b9-7e47e2cdd601
public void load (BufferedReader in) throws IOException // load a game from the stream { Vector v = SGFTree.load(in, GF); synchronized (this) { if (v.size() == 0) return; showlast = false; update(lasti, lastj); showlast = true; lasti = lastj = -1; newtree(); Trees = v; T = (SGFTree)v.elementAt(0); CurrentTree = 0; resettree(); setnode(); showinformation(); copy(); } }
be2b5a72-0367-4517-b67f-59c0a1218e07
public void setCustomDate2(crmondemand.xml.customobject3.query.QueryType customDate2) { this.customDate2 = customDate2; }
7c470c08-6476-4010-9f65-b36eabd15c2f
public void setCustomNumber22(crmondemand.xml.contact.query.QueryType customNumber22) { this.customNumber22 = customNumber22; }
3239c719-be82-4a3e-8969-500139294091
public double getOuterRadius() { return this.outerRadius; }
49ad66b4-f796-4ca7-b33a-58ca24aaf33f
public java.lang.String getCustomObject11ExternalSystemId() { return this.customObject11ExternalSystemId; }
a42b0d1e-93d6-4ff2-825a-64e1ee1f17b4
public void setOwnerUserSignInId(java.lang.String ownerUserSignInId) { this.ownerUserSignInId = ownerUserSignInId; }
50601a43-d059-49d8-a738-9ad405333c6b
public void setCustomObject13IntegrationId(crmondemand.xml.contact.query.QueryType customObject13IntegrationId) { this.customObject13IntegrationId = customObject13IntegrationId; }
7d863e79-62f0-4fe1-903e-86c3925efef9
public java.lang.String getCustomText83() { return this.customText83; }
79f06209-5d7b-49d5-a93b-5586914cbcd6
public void setIndexedNumber0(java.math.BigDecimal indexedNumber0) { this.indexedNumber0 = indexedNumber0; }
2f35abb7-102e-4f87-a294-116945a3d75a
public java.math.BigDecimal getCustomNumber37() { return this.customNumber37; }
d9d97786-5ec1-4c29-b8c2-aa64c727c593
public void setIp(String ip) { this.ip = ip; }
0e1066f5-7123-485c-bfb8-b5dae3a51388
*/ public static void printAllMembers(Class<?> c){ System.out.println("クラス: "); System.out.println(c); System.out.println("フィールド: "); Field[] declaredfields = c.getDeclaredFields(); Field[] fields = c.getFields(); ArrayList<Field> fieldList = new ArrayList<Field>(fields.length); for(int i = 0; i < fields.length; i++){ fieldList.add(fields[i]); } for(int i = 0; i < declaredfields.length; i++){ if(!fieldList.contains(declaredfields[i])){ fieldList.add(declaredfields[i]); } } Field[] allFields = new Field[fieldList.size()]; for(int i = 0; i < allFields.length; i++){ allFields[i] = fieldList.get(i); } printMembers(allFields); System.out.println("コンストラクタ: "); Constructor[] declaredconstructors = c.getDeclaredConstructors(); Constructor[] constructors = c.getConstructors(); ArrayList<Constructor> constructorList = new ArrayList<Constructor>(constructors.length); for(int i = 0; i < constructors.length; i++){ constructorList.add(constructors[i]); } for(int i = 0; i < declaredconstructors.length; i++){ if(!constructorList.contains(declaredconstructors[i])){ constructorList.add(declaredconstructors[i]); } } Constructor[] allConstructors = new Constructor[constructorList.size()]; for(int i = 0; i < allConstructors.length; i++){ allConstructors[i] = constructorList.get(i); } printMembers(allConstructors); System.out.println("メソッド: "); Method[] declaredmethods = c.getDeclaredMethods(); Method[] methods = c.getMethods(); ArrayList<Method> methodList = new ArrayList<Method>(methods.length); for(int i = 0; i < methods.length; i++){ methodList.add(methods[i]); } for(int i = 0; i < declaredmethods.length; i++){ if(!methodList.contains(declaredmethods[i])){ methodList.add(declaredmethods[i]); } } Method[] allMethods = new Method[methodList.size()]; for(int i = 0; i < allMethods.length; i++){ allMethods[i] = methodList.get(i); } printMembers(allMethods); }
a109f7e7-4859-461f-9952-10a99e3399ee
public void setCustomObject4Name(crmondemand.xml.opportunity.query.QueryType customObject4Name) { this.customObject4Name = customObject4Name; }
6aa84c70-f08e-4769-9ef9-4e1ba853465a
public java.math.BigDecimal getCustomCurrency5() { return this.customCurrency5; }
47afe739-5992-411e-94b3-22829ef90413
public static void draw(Graphics2D g) { g.setFont(new Font(Font.SANS_SERIF, Font.BOLD, 30)); g.setColor(Color.BLUE); for (int i=0; i<Health.getHealth(); i++) { g.drawImage(healthI, healthX + widthHealth*i, healthY, widthHealth, heightHealth, null); } g.drawImage(scoreI, scoreX, scoreY, widthScore, heightScore, null); g.drawImage(FontConvert.convertString2Image(Integer.toString( Score.instance .getScore()), false), scoreX +widthScore +10, scoreY,null); }
b350608b-8dc0-451c-b559-35659d8c5573
public void setTotalHoldTime(crmondemand.xml.contact.query.QueryType totalHoldTime) { this.totalHoldTime = totalHoldTime; }
155aec90-cb0e-41c7-9878-ab5d88426088
public void setCustomObject4ExternalSystemId(java.lang.String customObject4ExternalSystemId) { this.customObject4ExternalSystemId = customObject4ExternalSystemId; }
37d084ef-04fd-4a80-936e-14400a8bab02
public void setCustomNumber50(crmondemand.xml.contact.query.QueryType customNumber50) { this.customNumber50 = customNumber50; }
4b62b0a4-c734-4fde-bf5d-4da108005926
public boolean offer(Request o) { synchronized (ReqList) { ReqList.add(o); change_signal(true); return true; } }
dbd1ebad-6456-403e-bc4e-0490a0d07662
public java.lang.String getContactIntegrationId() { return this.contactIntegrationId; }
fa56f1d6-acaa-420a-8a2c-722f262b3c08
public java.lang.Boolean getIndexedBoolean0() { return this.indexedBoolean0; }
1d49b0a3-b246-4bc0-8174-bf68bb737905
public void setCustomBoolean30(java.lang.Boolean customBoolean30) { this.customBoolean30 = customBoolean30; }
9ca5d46b-e6f0-4177-a868-51f67111bb1d
public java.lang.String getHouseholdExternalSystemId() { return this.householdExternalSystemId; }
fc2d3558-941f-48dd-9d87-67061ef78991
public java.lang.String getOwnerLastName() { return this.ownerLastName; }
e6efbe88-34fd-4a7b-8640-538875e1d4e6
public void setSolutionIntegrationId(crmondemand.xml.contact.query.QueryType solutionIntegrationId) { this.solutionIntegrationId = solutionIntegrationId; }
2824a4da-51eb-4285-8f95-1a2628af6a77
public TerminalNode Identifier() { return getToken(Java7Parser.Identifier, 0); }
dc8ade47-dac7-4127-9488-5ee3f9550da7
public crmondemand.xml.customobject6.query.QueryType getCustomObject11Id() { return this.customObject11Id; }
aec13e74-4501-4f7b-a970-f00147f3abbb
public void setCustomText34(crmondemand.xml.contact.query.QueryType customText34) { this.customText34 = customText34; }
4522803a-e5b1-4e9e-8e64-b730dc987bf8
public void setCustomPickList131(java.lang.String customPickList131) { this.customPickList131 = customPickList131; }
7e77c74d-ae3b-4817-8be6-ee8cae585ac3
public boolean isOperand() { return (type == TokenType.OPERAND); }
a61ae2c5-3e4d-4f6c-bb41-939a673fcc2c
public crmondemand.xml.opportunity.query.QueryType getPriority() { return this.priority; }
b6b4cefa-1742-4fcc-92f9-05962e3efde7
public SokgraphPoint(int x, int y){ super(x,y); }
fcd41c17-c5c1-46df-af84-ffb67e92e760
public java.lang.String getCustomObject3Type() { return this.customObject3Type; }
462f2b10-bb29-4c25-8ce0-a92a5470b791
public void setConversation(int inst) { this.inst.set(inst); }
975c7a85-d0a5-4939-a775-53fb67f698a3
public java.lang.String getPortfolioIntegrationId() { return this.portfolioIntegrationId; }
3bd92363-df21-426e-ba8a-621348301ffc
public crmondemand.xml.opportunity.query.QueryType getCustomCurrency4() { return this.customCurrency4; }
723da8ef-5423-4916-94b6-635444e5f4b6
public crmondemand.xml.customobject3.query.QueryType getCustomDate6() { return this.customDate6; }
6cf5b58a-4bf8-4430-b4ea-cc10baf3d135
public java.lang.Integer getCustomInteger32() { return this.customInteger32; }
8666096e-da91-44e9-830c-150cbf0eef6c
public void setCustomPickList19(crmondemand.xml.customobject6.query.QueryType customPickList19) { this.customPickList19 = customPickList19; }
34001dec-ba8f-4aa4-af47-d2bf40d7605a
public java.util.Calendar getCustomDate22() { return this.customDate22; }
00951e9b-cfa9-4f6c-9e1d-24b72efb3d1e
public String toString() { return name; }
deecc53b-6b58-4b67-a2a2-d28d21481afa
public void setEars(int ears) { this.ears = ears; equipChanged(); }
c899cf0c-b63e-4228-9f9f-6346f4972f0f
public java.lang.String getCustomPhone12() { return this.customPhone12; }
3657c1e6-9b15-4682-b9df-3812984f70e9
public void setCustomPickList64(crmondemand.xml.customobject3.query.QueryType customPickList64) { this.customPickList64 = customPickList64; }
11a82db9-458d-4616-af0a-d1db2755d99d
public void setCustomText81(crmondemand.xml.customobject3.query.QueryType customText81) { this.customText81 = customText81; }
cf96e60a-31c1-4883-ba97-eb5898de0253
public crmondemand.xml.customobject6.query.QueryType getCustomText54() { return this.customText54; }
07959ca5-6822-49d4-a6cf-6864e3431291
public java.lang.String getCustomObject11IntegrationId() { return this.customObject11IntegrationId; }
83e005d1-3d6e-42f8-b6a9-de5c41e2a344
protected void checkRequirements(Map<String,Object> defined, String requirements) throws CMException { if(requirements==null) return; requirements = requirements.trim(); final List<String> reqs = CMParms.parseCommas(requirements,true); for(int r=0;r<reqs.size();r++) { String reqVariable=reqs.get(r); if(reqVariable.startsWith("$")) reqVariable=reqVariable.substring(1).trim(); String validValues=null; final int x=reqVariable.indexOf('='); if(x>=0) { validValues=reqVariable.substring(x+1).trim(); reqVariable=reqVariable.substring(0,x).trim(); } if(!defined.containsKey(reqVariable.toUpperCase())) throw new CMException("Required variable not defined: '"+reqVariable+"'. Please define this variable"+getRequirementsDescription(validValues)+"."); if(!checkRequirementsValue(validValues, defined.get(reqVariable.toUpperCase()).toString())) throw new CMException("The required variable '"+reqVariable+"' is not properly defined. Please define this variable"+getRequirementsDescription(validValues)+"."); } }
2479810b-63c9-40d5-bdcb-cfc8f125aa22
public crmondemand.xml.customobject6.query.QueryType getCustomNumber34() { return this.customNumber34; }
74942f13-2f99-421a-9fa7-a0694d2db282
public java.lang.String getAccreditationNum() { return this.accreditationNum; }
59ee1c3a-9365-4be8-bb68-b21881805fb3
public void setCustomPickList16(java.lang.String customPickList16) { this.customPickList16 = customPickList16; }
1f2fad4f-d1f3-4c8f-84d2-11618d3ba2c0
public void setAttackTypeImage(BufferedImage attackTypeImage) { this.attackTypeImage = attackTypeImage; }
7def8516-9727-4968-94a8-fb46930a29d1
public java.lang.String getCustomPickList15() { return this.customPickList15; }
d7eb10ad-af69-4b4d-9b29-94c9702bb6fe
public void setPolicyTotalPremium(crmondemand.xml.opportunity.query.QueryType policyTotalPremium) { this.policyTotalPremium = policyTotalPremium; }
fe6de0d1-4ed6-4703-9e42-5911a39842e4
public void setCustomInteger7(crmondemand.xml.customobject6.query.QueryType customInteger7) { this.customInteger7 = customInteger7; }
8237f736-96f1-4c84-8bd7-6fb5732f31c1
public void setCustomObject13Id(java.lang.String customObject13Id) { this.customObject13Id = customObject13Id; }
a7c73bb6-df88-4002-ac46-0728c9202e3e
public void test_serialization() throws IOException, ClassNotFoundException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(baos); oos.writeObject(this.TEST_2008_06); oos.close(); ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray())); assertEquals(ois.readObject(), this.TEST_2008_06); } @Test(groups = { "tck" }
e4efb2a3-2783-4d0d-8141-095879ae8d03
public void setCustomCurrency23(java.math.BigDecimal customCurrency23) { this.customCurrency23 = customCurrency23; }
bb7ef0f6-ffb7-4702-a93f-f097d5a3153a
public void setCustomText71(java.lang.String customText71) { this.customText71 = customText71; }
220efa9c-a07f-4653-b476-c8e4bc76209c
public static void adjust(ChessUser white,ChessUser black, Result result) { double ex = expectancy(white.getRating(),black.getRating()); int delta = 0; if (result.getStatus()==Status.WHITE_WINS) { delta = (int) (K * ex); white.setRating(white.getRating() + delta); black.setRating(black.getRating() -delta); } else if(result.getStatus()==Status.BLACK_WINS){ delta = (int) (K * (1.0 - ex)); white.setRating(white.getRating() - delta); black.setRating(black.getRating() +delta); } else if(result.getStatus()==Status.DRAW) { //For draw favor Black (it is not Elo standard) white.setRating(white.getRating()+1); black.setRating(black.getRating()+2); } }
314faef9-e654-48b5-a53f-1cf79d745e68
public RGBImage(int width, int height) { this.width = width; this.height = height; image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); }
5a0ebfe3-f535-41db-9f50-7c5727b257ee
public void setOpportunityIntegrationId(java.lang.String opportunityIntegrationId) { this.opportunityIntegrationId = opportunityIntegrationId; }
b3e17ed0-a83f-40ba-9d32-0856b0219a37
* @param unit The scout <code>Unit</code>. * @param settlement The <code>IndianSettlement</code> to scout. * @return An <code>Element</code> encapsulating this action. */ public Element scoutIndianSettlement(ServerPlayer serverPlayer, Unit unit, IndianSettlement settlement) { ChangeSet cs = new ChangeSet(); Tile tile = settlement.getTile(); boolean tileDirty = settlement.makeContactSettlement(serverPlayer); String result; // Hateful natives kill the scout right away. Tension tension = settlement.getAlarm(serverPlayer); if (tension.getLevel() == Tension.Level.HATEFUL) { cs.add(See.perhaps().always(serverPlayer), (FreeColGameObject) unit.getLocation()); cs.addDispose(See.perhaps().always(serverPlayer), unit.getLocation(), unit); result = "die"; } else { // Otherwise player gets to visit, and learn about the settlement. List<UnitType> scoutTypes = getGame().getSpecification() .getUnitTypesWithAbility(Ability.EXPERT_SCOUT); UnitType scoutSkill = (scoutTypes.isEmpty()) ? null : scoutTypes.get(0); int radius = unit.getLineOfSight(); UnitType skill = settlement.getLearnableSkill(); int rnd = Utils.randomInt(logger, "scouting", random, 10); if (settlement.hasSpokenToChief()) { // Do nothing if already spoken to. result = "nothing"; } else if (scoutSkill != null && unit.getType().canBeUpgraded(scoutSkill, ChangeType.NATIVES) && ((skill != null && skill.hasAbility(Ability.EXPERT_SCOUT)) || rnd == 0)) { // If the scout can be taught to be an expert it will be. // TODO: in the old code the settlement retains the // teaching ability. WWC1D? unit.setType(scoutSkill); result = "expert"; } else { // Choose tales 1/3 of the time, or if there are no beads. RandomRange gifts = settlement.getType().getGifts(unit); int gold = (gifts == null) ? 0 : gifts.getAmount("Base beads amount", random, true); if (gold <= 0 || rnd <= 3) { radius = Math.max(radius, IndianSettlement.TALES_RADIUS); result = "tales"; } else { if (unit.hasAbility(Ability.EXPERT_SCOUT)) { gold = (gold * 11) / 10; // TODO: magic number } serverPlayer.modifyGold(gold); settlement.getOwner().modifyGold(-gold); result = "beads"; } } // Have now spoken to the chief. csSpeakToChief(serverPlayer, settlement, true, cs); tileDirty = true; // Update settlement tile with new information, and any // newly visible tiles, possibly with enhanced radius. for (Tile t : tile.getSurroundingTiles(radius)) { if (!serverPlayer.canSee(t) && (t.isLand() || t.isShore())) { serverPlayer.setExplored(t); cs.add(See.only(serverPlayer), t); } } // If the unit was promoted, update it completely, otherwise just // update moves and possibly gold+score. unit.setMovesLeft(0); if ("expert".equals(result)) { cs.add(See.perhaps(), unit); } else { cs.addPartial(See.only(serverPlayer), unit, "movesLeft"); if ("beads".equals(result)) { cs.addPartial(See.only(serverPlayer), serverPlayer, "gold", "score"); } } } if (tileDirty) { tile.updatePlayerExploredTile(serverPlayer, true); cs.add(See.only(serverPlayer), tile); } // Always add result. cs.addAttribute(See.only(serverPlayer), "result", result); // Other players may be able to see unit disappearing, or // learning. sendToOthers(serverPlayer, cs); return cs.build(serverPlayer); }
947284c6-a663-4a7b-9a00-39c7342deada
public void setCustomCurrency17(java.math.BigDecimal customCurrency17) { this.customCurrency17 = customCurrency17; }
cf35a70a-c74b-41f1-9936-b56cfbd7d7bf
public void setCustomObject13Name(java.lang.String customObject13Name) { this.customObject13Name = customObject13Name; }
0bdbc819-5d8d-4b6e-a0eb-bd0d8391145f
public crmondemand.xml.contact.query.QueryType getCustomPickList42() { return this.customPickList42; }
8cc98aa0-0831-4ac7-b6c6-e36e72f8d983
public void setCustomNumber52(crmondemand.xml.contact.query.QueryType customNumber52) { this.customNumber52 = customNumber52; }
3ea6a664-7da9-42f1-b694-f2d8cc773924
public void setEndDate(crmondemand.xml.contact.query.QueryType endDate) { this.endDate = endDate; }