id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
217ed292-f084-48b7-8e2f-9c22e09f9f8e | @Override
public V remove(K key) {
int keyhash = hash(key) % lock.length;
synchronized(lock[keyhash]){
int tabHash = hash(key) % table.length;
//long t = System.currentTimeMillis();
V val = table[tabHash].remove(key);
/*long time;
if((time = System.currentTimeMillis()) > t+2000){
System.out.println("error in remove! Thread " + ((HMThread)Thread.currentThread()).getThreadId()
+ " went over by " + (time - t) + " on key " + keyhash);
}*/
return val;
}
} |
17a75d75-012a-426a-9f19-b11bea287a7b | public void setOpcao1(Refeicao opcao1) {
this.opcao1 = opcao1;
} |
b8e9ffab-cc75-4a78-9935-6fee921c70f6 | public crmondemand.xml.customobject6.query.QueryType getCustomNumber22() {
return this.customNumber22;
} |
893094da-b585-49c9-aa47-da8f871bedaf | private void jRadioButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButton1ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jRadioButton1ActionPerformed |
20316166-c073-4965-a2c2-acaa9dcbfd0b | public Node[] getNodes() {
return nodes;
} |
e03cbfe4-0d91-46ee-a065-5c19bea8992a | public crmondemand.xml.contact.query.QueryType getCustomPickList61() {
return this.customPickList61;
} |
ca8e99ef-0b66-49ad-8166-2c45b855eb56 | public boolean isHabilitado() {
return habilitado;
} |
f854c91d-04f8-4720-81cb-bc96d7dd649e | public void setCustomPickList66(java.lang.String customPickList66) {
this.customPickList66 = customPickList66;
} |
e610bc2c-d70e-4141-a86c-01f7d1215bda | public void setCustomCurrency12(crmondemand.xml.contact.query.QueryType customCurrency12) {
this.customCurrency12 = customCurrency12;
} |
307b11a6-104b-4f9f-bf56-e3d9ddcf3ec0 | public crmondemand.xml.opportunity.query.QueryType getCustomText10() {
return this.customText10;
} |
1b96bffc-da6e-4c50-aa61-4cd95847f1ff | public java.lang.String getCustomPickList1() {
return this.customPickList1;
} |
5a605515-d391-43c5-b66d-383bd85be02f | public crmondemand.xml.customobject3.query.QueryType getCustomInteger12() {
return this.customInteger12;
} |
07d57308-2c24-4818-ad1c-c408d2170383 | public java.lang.Integer getNumberOfPeriods() {
return this.numberOfPeriods;
} |
ff8f1df8-ef33-4706-b505-078b0fab447b | public crmondemand.xml.opportunity.query.QueryType getCustomText28() {
return this.customText28;
} |
6830fd2e-57d9-4a10-bc86-a33fa821c6a5 | public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int count = 1;
int max = 1;
String input = sc.nextLine();
String[] strArr = input.split(" ");
String largest = strArr[0];
for (int i = 1; i < strArr.length; i++) {
if (strArr[i].equals(strArr[i - 1])) {
count++;
if (count > max) {
max = count;
largest = strArr[i];
}
} else {
count = 1;
}
}
for (int i = 0; i < max; i++) {
System.out.print(largest + " ");
}
} |
b2918117-05a7-48d5-b2e6-50e785de3b07 | public void setCustomText27(crmondemand.xml.contact.query.QueryType customText27) {
this.customText27 = customText27;
} |
0d427484-14e0-4383-873b-5f978c03acfb | public java.lang.String getCustomText28() {
return this.customText28;
} |
16b564ab-ddb2-4016-a6d3-cc9116d19b8b | public void setCustomNumber5(java.math.BigDecimal customNumber5) {
this.customNumber5 = customNumber5;
} |
bdbf4f2a-5c96-4d72-8079-31c1e7b96d22 | public java.lang.String getCustomPickList42() {
return this.customPickList42;
} |
a18a11a9-f261-4be5-b3a2-1b6cf4916c2d | @Override
public void setDisplayName(String newName)
{
displayName = newName;
} |
3b82a93c-7a8d-407e-8553-2bda12d01956 | public void setCustomText57(java.lang.String customText57) {
this.customText57 = customText57;
} |
6ea26889-ef2a-4627-a505-3138fb81ced0 | public crmondemand.xml.opportunity.query.QueryType getCustomBoolean32() {
return this.customBoolean32;
} |
3055b248-4b8e-4329-8b82-103f02c7b3ef | public java.lang.Integer getCustomInteger20() {
return this.customInteger20;
} |
faf0dba7-3bc8-4ea0-8075-0b7f536c4349 | public void setCode_postal(String code_postal) {
this.code_postal = code_postal;
} |
3d73c3fc-35e7-484f-ac2a-ebcbc1c10ecd | public java.lang.String getCustomPickList45() {
return this.customPickList45;
} |
c0dc0ee6-2bb0-4943-a062-2d7e021640e7 | public void setCustomObject9IntegrationId(crmondemand.xml.contact.query.QueryType customObject9IntegrationId) {
this.customObject9IntegrationId = customObject9IntegrationId;
} |
60738dbc-45b8-449d-a04c-0fdbf32517b4 | public java.lang.String getCustomPickList22() {
return this.customPickList22;
} |
7752b985-9644-4e62-81d9-fe7f71a70766 | public static JOutPiqi.result parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
} |
bf609c72-6499-43d0-89e9-1d4c8e7e1f23 | public crmondemand.xml.customobject6.query.QueryType getQuickSearch2() {
return this.quickSearch2;
} |
066b5e6e-518c-4e36-8c21-d6982ec32d77 | public crmondemand.xml.customobject6.query.QueryType getCustomText13() {
return this.customText13;
} |
88a09759-631f-4028-a457-85ade8020580 | public void setCustomNumber45(java.math.BigDecimal customNumber45) {
this.customNumber45 = customNumber45;
} |
837a768c-5edd-49d1-944b-2cf84e52f1ad | public java.lang.String getCustomObject15Type() {
return this.customObject15Type;
} |
26c62aca-a4e5-4296-9db9-6c4402ad0930 | private void checkBlasticHit() {
// TODO Auto-generated method stub
for (int i = 0; i < blastikLaser.size(); i++) {
if ((blastik.getRect().intersects(blastikLaser.get(i)
.getRect())) && !blastikLASERcollision) {
blastikLASERcollision = true;
blastik.health -= 100;
// player.shootLaser = false;
blastikLaser.remove(i);
blastikLASERcollision = false;
System.out.println("Blastic Health:\t"
+ blastik.health);
}
if (blastik.health <= 0) {
blastik.dead = true;
}
}
} |
165ab8d4-4143-4879-932a-09ae572c42f8 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList39() {
return this.customPickList39;
} |
9d5ac39d-9d0e-40c8-86e7-859aa830a87c | public java.lang.String getLeadSource() {
return this.leadSource;
} |
d3fe51a2-f9e2-4f9b-9b92-9a498213992d | * @return boolean
*/
public static boolean isString(Stella_Object obj) {
return (Stella_Object.isaP(obj, Logic.SGT_STELLA_STRING_WRAPPER));
} |
28e73da3-8fe7-4b43-98f9-3b3f3e3249ec | public java.lang.String getOwnerEMailAddr() {
return this.ownerEMailAddr;
} |
fc788171-0aea-4412-8923-55e920533e63 | public void setCustomDate10(crmondemand.xml.customobject6.query.QueryType customDate10) {
this.customDate10 = customDate10;
} |
469d5fe7-2dae-49e3-aaf2-1a5b5c969c21 | public java.lang.String getCreatedByEMailAddr() {
return this.createdByEMailAddr;
} |
9f93c1aa-fd5d-4159-9ac9-ee490d564477 | public void setLeadStatus(crmondemand.xml.opportunity.query.QueryType leadStatus) {
this.leadStatus = leadStatus;
} |
43eead68-49a8-4cdd-a0b7-9a02e7686f50 | public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton7ActionPerformed(evt);
} |
8a8dadb9-6ab1-446e-8104-9e083a06e9fe | private void connectToServer() throws IOException
{
connection = new Socket(server, serverPort);
} |
0bd4433a-74f4-46e1-95e1-69e8ad3e3ffa | public void setAccountStatus(crmondemand.xml.customobject6.query.QueryType accountStatus) {
this.accountStatus = accountStatus;
} |
142bb3ea-9237-4bca-baf5-827563595668 | public java.lang.String getParentoptyCurrencyCode() {
return this.parentoptyCurrencyCode;
} |
37f3ed62-ab4b-493d-852f-b21b22f550f3 | public void setCreatedByIntegrationId(crmondemand.xml.contact.query.QueryType createdByIntegrationId) {
this.createdByIntegrationId = createdByIntegrationId;
} |
72220178-df29-4e33-987c-a22ba5f9e2aa | public void setCustomDate20(crmondemand.xml.customobject6.query.QueryType customDate20) {
this.customDate20 = customDate20;
} |
6cb20004-ccd1-437f-b6d5-6be27a99096d | public java.lang.String getCustomText35() {
return this.customText35;
} |
8131472d-7c65-4e45-8e27-71497805c671 | public void setCustomCurrency17(java.math.BigDecimal customCurrency17) {
this.customCurrency17 = customCurrency17;
} |
70ec5da6-4a62-4ee0-9bb2-889dd5fca5f1 | public void handler() {
set_DY(get_DY() | 0xffL);
USE_CLKS(6);
if (m68klog != null) {
fprintf(m68klog, "st_d :PC:%d,PPC:%d,mode:%d,dr0:%d,dr1:%d,dr2:%d,dr3:%d,dr4:%d,dr5:%d,dr6:%d,dr7:%d,ar0:%d,ar1:%d,ar2:%d,ar3:%d,ar4:%d,ar5:%d,ar6:%d,ar7:%d,sp0:%d,sp1:%d,sp2:%d,sp3:%d,vbr:%d,sfc:%d,dfc:%d,cacr:%d,caar:%d,ir:%d,t1:%d,t0:%d,s:%d,m:%d,x:%d,n:%d,nz:%d,v:%d,c:%d,intm:%d,ints:%d,stop:%d,halt:%d,intc:%d,prefa:%d,prefd:%d\n", m68k_cpu.pc, m68k_cpu.ppc, m68k_cpu.mode, m68k_cpu.dr[0], m68k_cpu.dr[1], m68k_cpu.dr[2], m68k_cpu.dr[3], m68k_cpu.dr[4], m68k_cpu.dr[5], m68k_cpu.dr[6], m68k_cpu.dr[7], m68k_cpu.ar[0], m68k_cpu.ar[1], m68k_cpu.ar[2], m68k_cpu.ar[3], m68k_cpu.ar[4], m68k_cpu.ar[5], m68k_cpu.ar[6], m68k_cpu.ar[7], m68k_cpu.sp[0], m68k_cpu.sp[1], m68k_cpu.sp[2], m68k_cpu.sp[3], m68k_cpu.vbr, m68k_cpu.sfc, m68k_cpu.dfc, m68k_cpu.cacr, m68k_cpu.caar, m68k_cpu.ir, m68k_cpu.t1_flag, m68k_cpu.t0_flag, m68k_cpu.s_flag, m68k_cpu.m_flag, m68k_cpu.x_flag, m68k_cpu.n_flag, m68k_cpu.not_z_flag, m68k_cpu.v_flag, m68k_cpu.c_flag, m68k_cpu.int_mask, m68k_cpu.int_state, m68k_cpu.stopped, m68k_cpu.halted, m68k_cpu.int_cycles, m68k_cpu.pref_addr, m68k_cpu.pref_data);
}
} |
b0fd413f-20c4-4ca5-a5b7-5ccd022e79fa | public void setProductType(crmondemand.xml.contact.query.QueryType productType) {
this.productType = productType;
} |
22b596f2-6e8f-407e-b0ff-bd04e23b5ab3 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList36() {
return this.customPickList36;
} |
d80cb241-f433-4afd-8b55-b6a4aaf16aeb | public crmondemand.xml.contact.query.QueryType getCustomNumber43() {
return this.customNumber43;
} |
d7430f11-cb85-4223-bc55-c15ede637627 | public crmondemand.xml.customobject3.query.QueryType getCustomText18() {
return this.customText18;
} |
485b1319-0aea-48df-a65a-878d19ef3d88 | public void gainVPoints(int amount) {
this.vpoints += amount;
} |
387270a6-493d-4a31-bf5b-d341bbbd657a | public void setDescription(java.lang.String description) {
this.description = description;
} |
85741da7-11f7-44b9-9b9f-85ecd575bdd2 | public void setReference(java.lang.Boolean reference) {
this.reference = reference;
} |
8df134c8-2b2d-45b0-af91-03f10409c8cb | public void setCustomObject5ExternalSystemId(crmondemand.xml.customobject6.query.QueryType customObject5ExternalSystemId) {
this.customObject5ExternalSystemId = customObject5ExternalSystemId;
} |
d2312f87-7401-4e5e-9f6a-4e436dd5f3de | public void setCustomCurrency5(java.math.BigDecimal customCurrency5) {
this.customCurrency5 = customCurrency5;
} |
595a02a5-1bd2-4216-8196-7e04317076b1 | public crmondemand.xml.contact.query.QueryType getCustomBoolean30() {
return this.customBoolean30;
} |
f16cfeb3-0f42-41e6-92de-add3552c05f3 | public java.lang.Integer getCustomInteger24() {
return this.customInteger24;
} |
cb30e500-8d9b-4e31-8340-bf0e52c14270 | public crmondemand.xml.contact.query.QueryType getCustomPhone12() {
return this.customPhone12;
} |
b18150b3-2c52-4ace-89ed-e8ce5939bc12 | public java.lang.String getOpportunityType() {
return this.opportunityType;
} |
c6b0b7ee-4bb8-458e-b746-8f3197a5903c | public java.math.BigDecimal getCustomNumber9() {
return this.customNumber9;
} |
30a05a87-7425-4f07-b715-fd2a1c814e6f | public void setIndexedBoolean0(java.lang.Boolean indexedBoolean0) {
this.indexedBoolean0 = indexedBoolean0;
} |
53345b6c-e8e8-4508-af6d-5dea8aba9492 | public java.lang.Boolean getPermissionsEnableNotifications() {
return PermissionsEnableNotifications;
} |
913c06d5-6026-4886-909c-c9df531e49b4 | public java.util.Calendar getCustomDate45() {
return this.customDate45;
} |
84681620-7ab3-4bb8-a9df-7c70fcf3fb95 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList48() {
return this.customPickList48;
} |
48520de1-2f8d-42ba-bdea-de81c23565c0 | public crmondemand.xml.customobject6.query.QueryType getCustomInteger11() {
return this.customInteger11;
} |
9c31347d-8b05-4576-9d23-5fd53a0d9902 | public void setPolicyIntegrationId(java.lang.String policyIntegrationId)
{
this.policyIntegrationId = policyIntegrationId;
} |
1c4bbdcd-ef8a-4bbd-a168-0c5679e1e398 | public Builder clone() {
return create().mergeFrom(buildPartial());
} |
0984aaa4-b1cc-428c-bc51-6ef7fe60694d | public void setCustomPickList69(java.lang.String customPickList69) {
this.customPickList69 = customPickList69;
} |
f58f1059-8cbd-42dd-99b2-2f360b83e590 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList6() {
return this.customPickList6;
} |
b6f358bc-0c70-4a05-9aa8-6e0f4c0581a2 | public java.lang.String getCustomText40() {
return this.customText40;
} |
b7b28261-caf8-4a39-bbd9-9e4f379649b9 | public void cancel() {
cancel = true;
//رȫݿ
// dao.closeAll();
} |
01095468-dd0d-46d2-8d8d-cb738f28f879 | public java.lang.String getCreatedByAlias() {
return this.createdByAlias;
} |
fe267492-daed-4cb8-a89a-c1f136d42eb4 | public boolean buyMule(Player curr_player, int muleType)
{
Player player = Controller.getController().getCurrentPlayer();
int fee = 125 + 25 * muleType; // food costs 125, energy costs 150, and ore costs 175
switch (muleType)
{
case 0:
fee = 125;
break;
case 1:
fee = 150;
break;
case 2:
fee = 175;
break;
default:
break;
}
System.out.println("The fee is " + fee);
System.out.println("Mules " + mule + "\t Player has mule: "
+ player.getMule());
// If Store has a mule to sell, player doesn't currently have a mule, and
// the player can afford the selected mule, a mule shall be granted unto him.
if (mule > 0 && player.getMule() < 0 && fee > 0)
{
// If the player can afford the fee
if (fee <= player.getGold())
{
player.addResources(0, -(fee), 0, 0);
mule--;
System.out.println("This many mules: " + mule);
gold += fee;
System.out.println("New Store balance: " + gold);
player.setMule(muleType);
return true;
}
}
return false;
} |
45f9b66f-f479-488e-9b17-3035fd8254ef | public java.lang.String getLeadIntegrationId() {
return this.leadIntegrationId;
} |
bf5f370e-4e6f-4289-b84b-c8c2ffa90002 | final aa method3661(int i, int i_31_, int[] is, int[] is_32_) {
try {
anInt7957++;
return Class318_Sub4.method2501(i_31_, this, is, (byte) -42,
is_32_, i);
} catch (RuntimeException runtimeexception) {
throw Class348_Sub17.method2929(runtimeexception,
("wga.RF(" + i + ',' + i_31_ + ','
+ (is != null ? "{...}" : "null")
+ ','
+ (is_32_ != null ? "{...}"
: "null")
+ ')'));
}
} |
09b979c3-8a8d-4375-a50e-cbc54e2fd2ff | public java.lang.String getCustomPickList70() {
return this.customPickList70;
} |
f563e9a0-9156-4e3b-9901-3eeddba51c82 | public void setCustomPickList38(java.lang.String customPickList38) {
this.customPickList38 = customPickList38;
} |
51e9253c-d928-42fd-bb68-49d40224844d | public void setCustomPickList75(java.lang.String customPickList75) {
this.customPickList75 = customPickList75;
} |
e8e39fc0-820d-464c-a3d1-25991d2707a4 | public crmondemand.xml.opportunity.query.QueryType getCustomDate54() {
return this.customDate54;
} |
89862624-0f73-4b64-a610-ebc5378b007e | public java.lang.String getCustomObject7IntegrationId() {
return this.customObject7IntegrationId;
} |
783b2882-3b8c-4759-b5ef-f66880a6d79a | public void removeObserver( PhoneNumberObserver obj )
{
int i = observers.indexOf(obj) ;
if ( i >= 0 )
observers.remove(i) ;
} |
13b4f6ea-19f7-4936-9d43-c63da81d5524 | public void setCustomBoolean3(java.lang.Boolean customBoolean3) {
this.customBoolean3 = customBoolean3;
} |
20bb4e2d-09df-4458-96e0-4009bfc7f0e8 | public crmondemand.xml.customobject6.query.QueryType getCustomText91() {
return this.customText91;
} |
0d1df707-a56b-454a-8846-234d8ca16b35 | public crmondemand.xml.contact.query.QueryType getCustomNumber47() {
return this.customNumber47;
} |
e75b57d2-1ac4-4911-9e3e-bba1d6d494a7 | public crmondemand.xml.customobject3.query.QueryType getCustomDate17() {
return this.customDate17;
} |
5d32dc50-f956-4361-bf1b-fc41f7a5a408 | public java.lang.String getCustomText8() {
return this.customText8;
} |
799be538-8749-4a37-8dba-d396e4454ddd | public void setFundStatus(java.lang.String fundStatus) {
this.fundStatus = fundStatus;
} |
13ca3678-4ec0-4402-936a-6bb88487cff7 | public void setIndexedShortText0(crmondemand.xml.opportunity.query.QueryType indexedShortText0) {
this.indexedShortText0 = indexedShortText0;
} |
2d13c052-977b-4307-9c73-919cb19dfce0 | public void setCustomPickList70(crmondemand.xml.opportunity.query.QueryType customPickList70) {
this.customPickList70 = customPickList70;
} |
d32256f3-0db1-43b9-9653-13740ba91da3 | public void setHumidity(Point pnt, double hum) {
Tile t = TILES.get(pnt);
if (t != null) {
float humF = (float) hum;
t.humidity = Math.round(humF*MyzoGEN.HUMIDITY_RANGE);
} else {
System.out.println("Tile at "+pnt+" not found.");
return;
}
} |
e331f008-06be-4416-a035-68c325c280dd | public void setCustomObject14ExternalSystemId(java.lang.String customObject14ExternalSystemId) {
this.customObject14ExternalSystemId = customObject14ExternalSystemId;
} |
9315d1d1-0981-492a-a757-9603072bf741 | public static <T extends Comparable<T>> T findMin(List<T> al){
T min=null;
//remember to test if null or empty-throw an exception-index out of bounds used here
if((al==null)||(al.isEmpty())){
throw new IndexOutOfBoundsException("Empty or non-existent list");
}
else{
//start with first element on the list
min=al.get(0);
for(T item: al){
//cannot use this unless extending comparable
if(item.compareTo(min)<0){
min=item;
}
}
}
return min;
} |
4452cef9-a641-42b1-b825-10bac1b85272 | public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
} |
fc066c85-adfd-4069-a68a-0a4d8c2a9a29 | @Override
public void changeWorkForceFocusInCityAt(Position p, String balance) {
} |
2bc8d321-23ad-4b32-b7c3-e9270d0a097d | public crmondemand.xml.customobject6.query.QueryType getCustomCurrency9() {
return this.customCurrency9;
} |
2b801644-0d04-496a-994d-6920691a159f | public void setCustomCurrency23(java.math.BigDecimal customCurrency23) {
this.customCurrency23 = customCurrency23;
} |
be75b358-6c7a-453c-bfe9-76cd18932c3b | public void setCustomInteger8(crmondemand.xml.customobject6.query.QueryType customInteger8) {
this.customInteger8 = customInteger8;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.