id stringlengths 36 36 | text stringlengths 1 1.25M |
|---|---|
35566dee-3a7e-4a53-af83-4876bc074b20 | public static String parse(String expression){
expression=expression.toLowerCase();
try {
return ""+(new ParseExpression()).evaluate(expression);
} catch (Exception e) {
// TODO Auto-generated catch block
return "error: "+e.getMessage();
}
} |
e92c9612-296c-4843-ba10-f4529cd2a6e2 | public java.util.Calendar getCustomDate46() {
return this.customDate46;
} |
17e04320-8f41-4052-9f64-b0f0a69dbabc | public org.bwapi.proxy.messages.GameMessages.UpgradeTypeOrBuilder getUpgradeTypeOrBuilder() {
return upgradeType_;
} |
d902ee57-b706-46fd-85dc-36f235db6338 | * @return char
*/
public static char codeCharacter(int code) {
return ((char) code);
} |
f6c87741-8635-4470-b6fa-ddd3839354cd | public static Population getInstance() {
if (uniqueInstance == null) {
uniqueInstance = new Population();
}
return uniqueInstance;
} |
4ad81103-0c48-4c5e-aa3a-31b7d2561dce | public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
} |
344b7fa6-317d-408f-b18e-88bdd2de1d41 | public void setCreatedByIntegrationId(crmondemand.xml.opportunity.query.QueryType createdByIntegrationId) {
this.createdByIntegrationId = createdByIntegrationId;
} |
243aa862-d434-4b08-96f6-5bea16cc0239 | public void setCustomBoolean6(java.lang.Boolean customBoolean6) {
this.customBoolean6 = customBoolean6;
} |
d28a8f8f-fea6-4c76-8579-482d949f882e | public void setProductExternalSystemId(java.lang.String productExternalSystemId) {
this.productExternalSystemId = productExternalSystemId;
} |
771867ef-48a0-4bc3-8dc4-1978b1a4bdc5 | public void setCustomBoolean29(crmondemand.xml.opportunity.query.QueryType customBoolean29) {
this.customBoolean29 = customBoolean29;
} |
58f85560-d18f-49bc-abaf-33716787b70b | public void setCustomNumber22(java.math.BigDecimal customNumber22) {
this.customNumber22 = customNumber22;
} |
0eaee0ba-b231-4097-923d-365fd2603864 | public void setCustomPickList91(crmondemand.xml.customobject6.query.QueryType customPickList91) {
this.customPickList91 = customPickList91;
} |
cbcb679c-4e0a-4112-8424-f93469c55b8c | public void setIndexedNumber0(crmondemand.xml.customobject3.query.QueryType indexedNumber0) {
this.indexedNumber0 = indexedNumber0;
} |
a6b1796d-66aa-43d9-a276-04aa628699f7 | public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
} |
d01c4c7d-5170-40ef-82f5-267f67d69458 | public void setInvtPeriodExternalSystemId(crmondemand.xml.customobject6.query.QueryType invtPeriodExternalSystemId) {
this.invtPeriodExternalSystemId = invtPeriodExternalSystemId;
} |
c2d7ecfa-ead9-4003-92e7-20654c75d99e | public int checkBounds(float mouse,float a,float b){
//Resolve the boundaries for comparison, start is lower value, end is higher
float start,end;
if (a>b){
end = a;
start =b;
}else{
start = a;
end = b;
}
//Check if the mouse i... |
cc06136b-ce68-4620-9f66-a3a9568598a1 | public void onRightClick(MouseHandler m, Level l, Player p) {
if (!m.isRightClickedButton() || p.getMana() <= 50)
return;
if (!Entity.safeSpawn(m.getxPos() / 16, m.getyPos() / 16, l))
return;
Sheep f = new Sheep((int) m.getxPos(), (int) m.getyPos(), l);
l.addEntity(f);
} |
9707ef8f-c46e-412e-b702-c746ff1a9eed | public crmondemand.xml.contact.query.QueryType getCustomDate51() {
return this.customDate51;
} |
c8c9ffdd-a2ce-44ed-9244-56424a149937 | public void setCustomText63(java.lang.String customText63) {
this.customText63 = customText63;
} |
c3be3b43-c5ac-49bb-ae0c-f932f61fdea9 | private void initDeck(List<PropertyCard> properties,
List<ActionCard> actions) {
for (int i = 0; i < properties.size(); i++) {
Card aCard;
aCard = properties.get(i);
currentDeck.add(aCard);
}
for (int j = 0; j < actions.size(); j++) {
Card pCard;
pCard = actions.get(j);
currentDeck.add(pCa... |
bc72c4d1-bb50-4be7-9366-151352aff00c | public Parser levelNumber() {
if (levelNumberParser == null) {
FutureParser future = scoped("levelNumber");
levelNumberParser = future;
future.setParser(new Parser() {
protected boolean accepts(TokenStream stream) {
Token token = null;
... |
9395eb35-d773-4022-9426-8d210445c900 | public void setCustomBoolean31(java.lang.Boolean customBoolean31) {
this.customBoolean31 = customBoolean31;
} |
8dbac4ab-4805-43ae-a8fd-0958a5af5adb | private static String errorFormat(String text,Exception e)
{
String DATE = Common.getDate();
String TIME = Common.getTime();
//Get Tick count
long TICKS = System.currentTimeMillis();
//Form a string describing the exception
String EXCEPTION = e.toString();
String MESSAGE = "Error," + DATE + "," + TIME + ... |
fc539568-feb1-407e-ab39-4b12835ef278 | public crmondemand.xml.customobject6.query.QueryType getLicenseNumber() {
return this.licenseNumber;
} |
6c7e1ae5-dde0-4260-8c2b-772dbb1fd586 | public java.lang.String getCustomText71() {
return this.customText71;
} |
96b0ad38-9594-433a-a8d1-6d5148979ab3 | public void setCustomText9(crmondemand.xml.contact.query.QueryType customText9) {
this.customText9 = customText9;
} |
fff46db1-2b59-4574-812d-ffa5cdccb1a5 | public void setCustomText32(crmondemand.xml.customobject6.query.QueryType customText32) {
this.customText32 = customText32;
} |
3f8fef4f-9ab8-43fe-a1dd-cced0535393a | public java.lang.Boolean getPermissionsEmailTemplateManagement() {
return PermissionsEmailTemplateManagement;
} |
1702cbf4-3b53-478b-9a5c-bebbfa4b288f | public void setCustomDate26(java.util.Calendar customDate26) {
this.customDate26 = customDate26;
} |
6a308627-5b6e-4e82-b5be-01ec7965c9c2 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList53() {
return this.customPickList53;
} |
efa1abbf-be21-4bbe-bd51-c344fb989396 | public void setCustomCurrency21(crmondemand.xml.opportunity.query.QueryType customCurrency21) {
this.customCurrency21 = customCurrency21;
} |
2211dbab-5747-48fa-b5a7-f8500e7678ce | public crmondemand.xml.opportunity.query.QueryType getAccountPriority() {
return this.accountPriority;
} |
03e4358c-3e8c-4f5b-b644-0e9b088e41f6 | public void setOriginatingPartnerMainPhone(java.lang.String originatingPartnerMainPhone) {
this.originatingPartnerMainPhone = originatingPartnerMainPhone;
} |
c596ae57-0b82-4bbf-8290-f0b3dfab0c4b | public java.util.Calendar getCustomDate11() {
return this.customDate11;
} |
3b0cb8d4-2a0c-430f-a9a6-9aaf859f5dbd | public java.lang.String getCustomText62() {
return this.customText62;
} |
3d677c50-0c51-44b7-b2f1-0ac115de3fb7 | public static String makeYellow(String s) {
return YELLOW+ s.toUpperCase() + RESET;
} |
6a944d52-fab2-43be-9bff-cd4747b7a112 | public void setCustomBoolean13(java.lang.Boolean customBoolean13) {
this.customBoolean13 = customBoolean13;
} |
736d7c69-2218-4871-aabe-7a5387d2054e | @Override
public void render(Graphics2D g2do, int width, int height) {
this.width = width;
this.height = height;
cache = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
Graphics2D g2d = cache.createGraphics();
for (GuiControl c : controlList)
c.render(g2d, width, height);
Tile[][] map = C... |
3af71897-3d38-4976-85d6-705f26a329e2 | private void EliminarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_EliminarActionPerformed
// TODO add your handling code here:
JFrame marco = new JFrame("DialogDemo");
marco.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
marco.pack();
try{
con=P... |
97d222ee-8ea1-44e4-ac84-a7a9aee9f1b7 | public java.lang.String getCustomPickList41() {
return this.customPickList41;
} |
89b1b0eb-eae2-4382-b09e-df31ff446e10 | private void selectResearch()
{
selectedResearch = (Research)(view.getResearchList().getSelectedValue());
System.out.println("Research Selected: " + selectedResearch );
update();
} |
c46abc45-fe69-40f5-89d8-980eb29aa517 | public void setCustomBoolean127(java.lang.Boolean customBoolean127) {
this.customBoolean127 = customBoolean127;
} |
99b45519-53f2-4af1-8105-bea028d3b3bc | public void setCustomText18(crmondemand.xml.opportunity.query.QueryType customText18) {
this.customText18 = customText18;
} |
a7170ed0-29c5-4bac-98a8-dce4f833ef90 | @Override
public double getTemperatureInC() {
return celciusReporter.getTemperature();
} |
71ec018a-dfd1-44bc-9879-520211980c85 | public crmondemand.xml.customobject3.query.QueryType getCustomCurrency18() {
return this.customCurrency18;
} |
5592d684-9157-4e1e-a0b0-daa269929dd4 | public void initializeItem(String name, String description, double weight, String parameterType, int parameter, boolean takeable, String type, String use, boolean questItem, String place) {
Item item = new Item(name, description, weight, parameterType, parameter, takeable, type, use, questItem);
items.p... |
28695dde-69d5-42c1-85cd-693d559a2ebd | public crmondemand.xml.customobject6.query.QueryType getCustomObject12Name() {
return this.customObject12Name;
} |
7a75455b-f131-468a-bc70-50a797c20016 | private void jButton3_actionPerformed(ActionEvent e)
{
System.out.println("\njButton3_actionPerformed(ActionEvent e) called.");
} |
5e42e517-1fcb-4b27-9331-5ae6779fae1d | public crmondemand.xml.contact.query.QueryType getCustomDate4() {
return this.customDate4;
} |
9e68092e-91c1-41b0-bbed-85d6b4569652 | public java.lang.String getCustomPickList99() {
return this.customPickList99;
} |
c0a107aa-2255-42f3-982e-3a703b6d535e | public java.util.Calendar getCustomDate30() {
return this.customDate30;
} |
6596ca15-aaa0-4c06-936a-cea11b5bc0fe | private void initFields() {
specName_ = "";
specFile_ = "";
} |
c9209495-2370-4cfc-b40c-afd507eb7190 | public void setCustomNumber16(java.math.BigDecimal customNumber16) {
this.customNumber16 = customNumber16;
} |
a982f35e-028c-4d83-8b22-770a02bc69f8 | public void setHouseholdSegment(java.lang.String householdSegment) {
this.householdSegment = householdSegment;
} |
8273ab26-4e21-454a-b113-0b8c54c30c31 | public void setCustomPickList95(java.lang.String customPickList95) {
this.customPickList95 = customPickList95;
} |
caf303e7-7e87-46ce-8157-aa7ab51e93f4 | public java.lang.String getCustomPhone3() {
return this.customPhone3;
} |
94212401-d8e5-4707-8146-8e39cb732b45 | public crmondemand.xml.customobject3.query.QueryType getCustomDate41() {
return this.customDate41;
} |
0a7fec0a-cc85-498a-8670-050be8b67f78 | public java.lang.String getCustomPickList42() {
return this.customPickList42;
} |
37a389c5-6d59-49a2-9b3c-a7b90ee27810 | public int getSetupId(byte slot) {
MapleInventory setup = getPlayer().getInventory(MapleInventoryType.SETUP);
return setup.getItem(slot).getItemId();
} |
36b16cf8-31f5-438f-91b9-ef566216a853 | public void setControlCarroceria(ControlCarroceria controlCarroceria) {
this.controlCarroceria = controlCarroceria;
} |
ffb6fe65-2e58-42e0-8987-9f79646bb1a0 | public abstract Object evaluate(Context c, HashMap map, DataFactory factory); |
268f4433-b523-4a25-9fde-c7c3c0e19207 | * @param unit The <code>Unit</code> to change the state of.
* @param state The new <code>UnitState</code>.
* @return An <code>Element</code> encapsulating this action.
*/
public Element changeState(ServerPlayer serverPlayer, Unit unit,
UnitState state) {
ChangeS... |
91031425-debe-4f5d-a1da-3a85f3581be9 | public void setCustomBoolean16(java.lang.Boolean customBoolean16) {
this.customBoolean16 = customBoolean16;
} |
8ec507d7-71f4-4796-8110-2233424c27a4 | public void setCustomPickList87(crmondemand.xml.customobject6.query.QueryType customPickList87) {
this.customPickList87 = customPickList87;
} |
95f74fc1-3551-4f6c-92a9-036760b3b04e | public crmondemand.xml.customobject3.query.QueryType getCustomNumber7() {
return this.customNumber7;
} |
4d54d686-9e1c-4e00-8c6e-8be97a29fa32 | public void setCreatedByIntegrationId(crmondemand.xml.contact.query.QueryType createdByIntegrationId) {
this.createdByIntegrationId = createdByIntegrationId;
} |
c70fc58c-4024-4822-9e93-42dd4ef4d1ff | public void setCustomPickList97(crmondemand.xml.customobject6.query.QueryType customPickList97) {
this.customPickList97 = customPickList97;
} |
ceac29c0-0939-4976-beba-cd62c23df1ea | @Override
String addInto() {
return null;
} |
06b0e9da-bdc9-47dc-8be6-76c495e7a266 | public void setCustomNumber45(crmondemand.xml.customobject3.query.QueryType customNumber45) {
this.customNumber45 = customNumber45;
} |
6d244bf6-eff4-4cf0-9621-e98f246fa784 | public crmondemand.xml.contact.query.QueryType getCustomPickList56() {
return this.customPickList56;
} |
ceac22e5-4f10-4e0f-8c80-7f0467645966 | public void setCustomBoolean5(crmondemand.xml.customobject3.query.QueryType customBoolean5) {
this.customBoolean5 = customBoolean5;
} |
bc140464-2da6-4e7c-9bfd-f7b56d7e0a0b | public void setBrokerProfileExternalSystemId(crmondemand.xml.contact.query.QueryType brokerProfileExternalSystemId) {
this.brokerProfileExternalSystemId = brokerProfileExternalSystemId;
} |
ffbf05ab-bc86-4328-9c5d-cd0b389aa296 | public crmondemand.xml.contact.query.QueryType getCustomDate17() {
return this.customDate17;
} |
90a5bba9-5c25-4900-aa47-033264109244 | public void setCustomDate13(java.util.Calendar customDate13) {
this.customDate13 = customDate13;
} |
24ff9ef2-8122-4bd9-967c-cfcfd3ccddb1 | public void setPrimaryProductName(java.lang.String primaryProductName) {
this.primaryProductName = primaryProductName;
} |
67454495-6431-4eab-a93c-f276c8b6a472 | public java.util.Calendar getCustomDate39() {
return this.customDate39;
} |
8a90c4a9-426c-4799-b050-a7f95fa4630e | public crmondemand.xml.contact.query.QueryType getCustomCurrency16() {
return this.customCurrency16;
} |
7f8837d6-9a05-4688-bbf2-907acd5bd270 | public java.lang.String getIntegrationId() {
return this.integrationId;
} |
d578ff4f-28a0-4db8-b4d7-36ea9d657c1e | public void setCustomText60(java.lang.String customText60) {
this.customText60 = customText60;
} |
6ec947b6-bfca-4b3a-af62-a08f4dde0304 | int getCoins();
}
public static final class grant_coins_request extends
com.google.protobuf.GeneratedMessage
implements grant_coins_requestOrBuilder {
// Use grant_coins_request.newBuilder() to construct.
private grant_coins_request(Builder builder) {
super(builder);
}
private gran... |
174952c9-2689-4e26-a216-cf21b9efb5c0 | public crmondemand.xml.contact.query.QueryType getCustomText67() {
return this.customText67;
} |
405b9691-73c4-4160-ac04-5a5ce1fb7dce | public crmondemand.xml.opportunity.query.QueryType getCustomInteger12() {
return this.customInteger12;
} |
d86fad3a-a522-4481-b9de-18e2673a96ba | public crmondemand.xml.customobject3.query.QueryType getCustomPickList83() {
return this.customPickList83;
} |
698708a0-a0f1-4c83-b945-b5ad7c535698 | @Override
public int getQualifyingLevel(String ID, boolean checkAll, String abilityID)
{
if(completeAbleMap.containsKey(ID))
{
final Map<String,AbilityMapping> ableMap=completeAbleMap.get(ID);
if(ableMap.containsKey(abilityID))
return ableMap.get(abilityID).qualLevel();
}
if((checkAll)&&(completeAbl... |
0fc42410-1aa8-4f12-90dc-f2665c71850b | public void setCustomDate8(java.util.Calendar customDate8) {
this.customDate8 = customDate8;
} |
6aec0219-532e-4ecf-a091-4f890b5136f0 | public void setCustomBoolean27(crmondemand.xml.customobject6.query.QueryType customBoolean27) {
this.customBoolean27 = customBoolean27;
} |
aa14ad56-30f9-497d-9cf4-64f7b4ef83e4 | public void setCustomPickList96(java.lang.String customPickList96) {
this.customPickList96 = customPickList96;
} |
d931bea0-3342-4cb9-86bf-c7c6408ae890 | public static void PyThreadState_Clear(Pointer<PyThreadState > PyThreadStatePtr1) {
PyThreadState_Clear(Pointer.getPeer(PyThreadStatePtr1));
} |
36f08c0e-2428-4364-90dc-ff3ca700278c | public void setCustomDate36(crmondemand.xml.opportunity.query.QueryType customDate36) {
this.customDate36 = customDate36;
} |
c570f131-b315-4123-8a8e-55105aa96bad | public void setCustomObject1Type(java.lang.String customObject1Type) {
this.customObject1Type = customObject1Type;
} |
9bce0c24-c9e0-4a95-827e-6c8bf8220e15 | @After
public void tearDown() throws Exception {
} |
c98b888b-fb1c-4606-b026-c4d4c39e2d36 | public java.util.Calendar getCustomDate29() {
return this.customDate29;
} |
cfc04e16-8b84-40d6-9726-1e6e47ea6fa1 | public Builder mergeFrom(org.bwapi.proxy.messages.TerrainMessages.StaticTerrainInfo other) {
if (other == org.bwapi.proxy.messages.TerrainMessages.StaticTerrainInfo.getDefaultInstance()) return this;
if (regionsBuilder_ == null) {
if (!other.regions_.isEmpty()) {
if (regions_.isEmp... |
8322dc63-9c4f-4fa4-b099-24fdf2ba440f | public void setCustomNumber5(java.math.BigDecimal customNumber5) {
this.customNumber5 = customNumber5;
} |
b32ea49f-72f6-4cc4-bd58-1ad0a61a0482 | public java.lang.String getCustomObject3Name() {
return this.customObject3Name;
} |
d09314ec-3ee8-426b-9fee-cd9d56642fe6 | public void setCustomNumber48(crmondemand.xml.opportunity.query.QueryType customNumber48) {
this.customNumber48 = customNumber48;
} |
4fd900e5-8d08-42d8-ad01-2f8a1593af1c | @Override
public String getValueOrTargetHelp() {
return getValue();
} |
a2fd43aa-29cd-47ec-b776-7e5d44dcdb74 | public void setUpdatedByAlias(crmondemand.xml.customobject6.query.QueryType updatedByAlias) {
this.updatedByAlias = updatedByAlias;
} |
9fd38539-0517-4c28-bf25-6fa3d2a23ce1 | public void setCustomInteger22(java.lang.Integer customInteger22) {
this.customInteger22 = customInteger22;
} |
3ddc0ac7-b836-4f45-abdd-918b917e226a | public java.lang.Boolean getCustomBoolean30() {
return this.customBoolean30;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.