id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
1e6b02eb-93af-41db-84fb-ab8058ea07f5 | public Iterator obtenerPorClase(Class clase) {
Extent e = persistencia.getExtent(clase, true);
Query q = persistencia.newQuery(e);
Collection c = (Collection) q.execute();
Iterator iter = c.iterator();
return iter;
} |
e2df5943-f168-4658-aeb3-c4180066f1f6 | public java.util.Calendar getCustomDate44() {
return this.customDate44;
} |
072da5fb-2c93-4ba2-94db-3bbf05d4c1e6 | */
public void viewport (int x, int y, int width, int height) {
render_4i (191, x, y, width, height);
} |
7fcde748-6139-4347-bfb6-9783aefeb72e | public void setCustomObject14Name(crmondemand.xml.customobject6.query.QueryType customObject14Name) {
this.customObject14Name = customObject14Name;
} |
77f5beab-6b83-4b07-af03-e6882dee66be | public void generate() {
int counter = 2;
int amountOfLakes = 6;
int lakesMade = 0;
for (int x = 0; x < Tile.SIZE; x++) {
for (int y = 0; y < Tile.SIZE; y++) {
int random = (int) (Math.random() * 50000);
//Generates random tiles.
if (level[x][y] == null) {
if (random > 0 && random < 10000) {
level[x][y] = new Plant(x * Tile.BLOCK, y * Tile.BLOCK);
} else if (random > 10000 && random < 11000) {
level[x][y] = new Rock(x * Tile.BLOCK, y * Tile.BLOCK);
//Lake generator...
} else if(random < 50000 && random > 49994 & lakesMade < amountOfLakes && x > 25 / 2 && y > 25) {
int widthLake = (int) (Math.random() * 20);
int heightLake = (int) (Math.random() * 20);
for (int i = 0; i < widthLake; i++) {
for (int t = 0; t < heightLake; t++) {
level[x + i][y + t] = new Water((x + i) * Tile.BLOCK, (y + t) * Tile.BLOCK);
}
}
lakesMade += 1;
System.out.println("water " + x + " " + y);
}else{
level[x][y] = new Grass(x * Tile.BLOCK, y * Tile.BLOCK);
}
}else{
}
counter = 2;
}
}
} |
fc899195-7f26-4184-88d7-75c20b48e592 | public void setCustomPickList87(java.lang.String customPickList87) {
this.customPickList87 = customPickList87;
} |
ebac64c3-5ddf-4a37-a3e5-e933749fd738 | public void setParentoptyStatus(crmondemand.xml.opportunity.query.QueryType parentoptyStatus) {
this.parentoptyStatus = parentoptyStatus;
} |
5c2f713d-2081-4721-8c8c-283d2a81f3f9 | public int getSpeed() {
return speed;
} |
5368ade8-adec-4aa9-89c6-160eab9d6d82 | opcode ed_f8 = new opcode() { public void handler(){ illegal_2(); }} |
8a83ec3a-9165-447f-a9e3-7ea9d3229c4d | public crmondemand.xml.contact.query.QueryType getCustomPickList67() {
return this.customPickList67;
} |
9baa55ad-43ef-4504-bad7-8a99363b01ed | public Button(String name)
{
//Set up the basics
ImageIcon background = new ImageIcon("src/images/menu.png");
this.setIcon(background);
this.setText(name);
this.setSize(300, 80);
this.setHorizontalTextPosition(JButton.CENTER);
this.setVerticalTextPosition(JButton.CENTER);
this.setAlignmentX(Component.CENTER_ALIGNMENT);
//Change the appearance
Font font = new Font("ARMY RUST", Font.BOLD, 32);
this.setFont(font);
this.setForeground(Color.WHITE);
//Remove the border
Border emptyBorder = BorderFactory.createEmptyBorder();
this.setBorder(emptyBorder);
} |
f256a125-86aa-4645-a3ed-9215bd090761 | public java.lang.String getOriginatingPartnerLocation() {
return this.originatingPartnerLocation;
} |
e2e8a0ef-e87a-4e78-9e72-d4a590cd0612 | public crmondemand.xml.customobject3.query.QueryType getCustomPickList76() {
return this.customPickList76;
} |
d7b18d60-ce7a-467a-8ce3-a0c6ad2da4dd | public java.lang.String getCustomText27() {
return this.customText27;
} |
649c6bb8-43db-4bfe-80ba-76e139ac69a5 | public void actionPerformed(java.awt.event.ActionEvent evt) {
loot3ActionPerformed(evt);
} |
012d8ef1-f64a-4f75-9ea1-d2fce90c21a9 | public crmondemand.xml.customobject3.query.QueryType getCustomText74() {
return this.customText74;
} |
796fbead-dd99-4378-87d8-3ff2c7e8aa05 | public java.lang.String getCustomObject7Name() {
return this.customObject7Name;
} |
5f7fa603-c112-4f00-aa6d-b13712f22f0a | public void setCourseId(crmondemand.xml.customobject6.query.QueryType courseId) {
this.courseId = courseId;
} |
20231f00-7797-4a04-aeec-3323598c623c | public void setServiceRequestType(java.lang.String serviceRequestType) {
this.serviceRequestType = serviceRequestType;
} |
aade277c-260b-4871-8768-419af4337524 | public StackTraceElement createStackTraceElement(String singleStackTraceElement) {
throw new UnsupportedOperationException();
} |
8ed11d66-eaa1-45cb-b190-4607f4e735bd | public void setCustomPickList51(java.lang.String customPickList51) {
this.customPickList51 = customPickList51;
} |
92760a08-93cc-45b3-9b45-da41029776e7 | public void setCustomText81(java.lang.String customText81) {
this.customText81 = customText81;
} |
d845bf2e-60a5-4279-9fdc-a7992fe4d006 | public void setCustomPickList42(java.lang.String customPickList42) {
this.customPickList42 = customPickList42;
} |
3c01dc50-fe74-4aa8-8883-59f5b5749b2a | public void setCustomInteger26(java.lang.Integer customInteger26) {
this.customInteger26 = customInteger26;
} |
080c4034-dd61-41ef-a8d6-031d53f1901d | public java.lang.Integer getCustomInteger30() {
return this.customInteger30;
} |
34804985-a784-44b2-8b21-420ebc81b3f6 | public void setCustomDate31(crmondemand.xml.contact.query.QueryType customDate31) {
this.customDate31 = customDate31;
} |
04792295-0165-4cb8-a7e0-2627d6ef63b4 | public void setStamina(int stamina) {
this.stamina = stamina;
} |
8f9e2a3d-f300-41b2-a917-83689899e660 | public void test_plus_adjuster_Period_zero() {
ZonedDateTime t = this.TEST_DATE_TIME.plus(MockSimplePeriod.ZERO_DAYS);
assertEquals(t, this.TEST_DATE_TIME);
}
@Test(groups = { "tck" } |
2d76b8dc-a2aa-4ac4-800f-0e9ae3d213fe | public java.lang.String getSolutionVerificationStatus() {
return this.solutionVerificationStatus;
} |
9f736d05-3b97-42ec-b463-cac3e3e67245 | public void setModId(crmondemand.xml.contact.query.QueryType modId) {
this.modId = modId;
} |
83ab185f-1018-437b-ac0a-af92ad0cebbd | public void setCustomObject10Id(java.lang.String customObject10Id) {
this.customObject10Id = customObject10Id;
} |
668fab62-b95b-4e73-b67f-9ddfd45df07f | public crmondemand.xml.customobject6.query.QueryType getCustomDate14() {
return this.customDate14;
} |
3039e8de-daba-42de-81ba-9f936c2a6bcd | public int darNumeroHoras( )
{
return numeroHoras;
} |
9d80bc93-7518-4fba-83e9-980443e67242 | public void setFinancialAccountId(java.lang.String financialAccountId) {
this.financialAccountId = financialAccountId;
} |
3ee7a547-335e-4d3a-830e-56d7d5b83e15 | public void setOwnerUserSignInId(java.lang.String ownerUserSignInId) {
this.ownerUserSignInId = ownerUserSignInId;
} |
741ba0fb-0e8b-4e85-a499-c33320ecc30f | public crmondemand.xml.contact.query.QueryType getCustomDate7() {
return this.customDate7;
} |
11b78552-447c-4608-8b05-39d59284d968 | public crmondemand.xml.contact.query.QueryType getCustomPickList10() {
return this.customPickList10;
} |
fd94c5fb-6bc5-4508-b146-6200fe164733 | public PlayerInfo getInfo(){
return info;
} |
df4a0a0c-e077-4065-bba7-c2480610fa1e | public crmondemand.xml.customobject6.query.QueryType getNewContact() {
return this.newContact;
} |
bee26f02-4eb6-4e57-84fa-e5ae3aa85b1a | public void setContactIntegrationId(crmondemand.xml.contact.query.QueryType contactIntegrationId) {
this.contactIntegrationId = contactIntegrationId;
} |
671e6697-4ac8-420e-8198-f03f809cca13 | public void setCustomPickList58(java.lang.String customPickList58) {
this.customPickList58 = customPickList58;
} |
79b2e15d-8145-4db9-acf2-904902381c34 | public void setCustomNumber56(java.math.BigDecimal customNumber56) {
this.customNumber56 = customNumber56;
} |
d3f9b578-1f22-4a23-8a69-1687c93804c1 | @Test
public void topLeftCellsDugSomeBombsSomeFlagged(){
Board board = new Board(3);
board.setCellState(0, 0, "dug");
board.setCellState(0, 1, "dug");
board.setCellState(1, 0, "dug");
board.setCellBomb(1, 1, true);
board.setCellBomb(2, 0, true);
board.setCellBomb(2, 2, true);
board.setCellState(1, 2, "flagged");
board.setCellState(2, 0, "flagged");
String output = board.look();
String expected = "1 1 -" + "/n" +
"2 - F" + "/n" +
"F - -" + "/n";
assertEquals(expected, output);
} |
b9db0f5e-5a95-4218-934e-56fe31509c7e | @Override
public Set<EdgePulse> removeAllEdges(VertexPulse sourceVertex,
VertexPulse targetVertex) {
// TODO Auto-generated method stub
return null;
} |
40b01a19-2dbe-40c2-a30c-02614ce0dc36 | @Override
public void run() {
while(!partitionTrees[index].isBuilt()){
frame.repaint();
}
frame.setScanStatus(false);
} |
3ea2d185-a445-4e7f-9b49-370881534493 | public void setCustomObject6Type(java.lang.String customObject6Type) {
this.customObject6Type = customObject6Type;
} |
6c37dd91-1f8e-432e-b512-4308f70c3209 | public static boolean ruleCoversExampleP(Cons reverseRule, TrainingExample example) {
if (reverseRule == Stella.NIL) {
return (true);
}
{ QueryIterator query = null;
Cons rule = ((Cons)(Stella_Object.copyConsTree(reverseRule))).reverse();
List vars = ((List)(Logic.getVariablesFromConsPropositions(rule).remove(Logic.SYM_LOGIC_pY)));
Cons consQuery = Stella.NIL;
Cons types = Stella.NIL;
if (example.module != null) {
example.module.changeModule();
}
consQuery = Cons.cons(Logic.SYM_STELLA_AND, ((Cons)(Stella_Object.substituteConsTree(rule, example.name, Logic.SYM_LOGIC_pY))));
if (!vars.emptyP()) {
{ Symbol var = null;
Cons iter000 = vars.theConsList;
for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
var = ((Symbol)(iter000.value));
if (Logic.$ENABLE_USER_THING$ &&
((var.symbolName).charAt(1) == 'X')) {
types = Cons.cons(Cons.cons(var, Cons.cons(Logic.SYM_LOGIC_USER_THING, Stella.NIL)), types);
}
else {
types = Cons.cons(var, types);
}
}
}
consQuery = Cons.list$(Cons.cons(Logic.SYM_STELLA_EXISTS, Cons.cons(types, Cons.cons(Cons.cons(consQuery, Stella.NIL), Stella.NIL))));
}
if (Logic.$OPTIMIZE_INDUCED_QUERIES$) {
query = Logic.makeQuery(Stella.NIL, consQuery, Stella.NIL, Cons.list$(Cons.cons(Logic.KWD_TIMEOUT, Cons.cons(IntegerWrapper.wrapInteger(300), Cons.cons(Stella.NIL, Stella.NIL)))));
}
else {
query = Logic.makeQuery(Stella.NIL, consQuery, Stella.NIL, Cons.list$(Cons.cons(Logic.KWD_TIMEOUT, Cons.cons(IntegerWrapper.wrapInteger(300), Cons.cons(Logic.KWD_DONT_OPTIMIZEp, Cons.cons(Logic.SYM_STELLA_TRUE, Cons.cons(Stella.NIL, Stella.NIL)))))));
}
return (TruthValue.trueTruthValueP(Logic.callAsk(query)));
}
} |
b4ac1b1e-e278-4496-9e4f-cde51320912b | public java.lang.String getIndexedPick2() {
return this.indexedPick2;
} |
2779d438-7da1-4c94-ab2a-9e1430c2eae9 | public java.util.Calendar getCustomDate10() {
return this.customDate10;
} |
a63786d9-c582-45d4-9a17-d7dae86ecc50 | @Override
public boolean equals(Object vector) {
return equals((UnitVector) vector, 3);
} |
ed47a725-3d6b-47a9-b398-a2c806ba1adc | public void setCustomDate3(crmondemand.xml.customobject6.query.QueryType customDate3) {
this.customDate3 = customDate3;
} |
35418eb9-5c33-4ef3-9611-d5348383c573 | public void setCustomObject10Type(crmondemand.xml.contact.query.QueryType customObject10Type) {
this.customObject10Type = customObject10Type;
} |
cb76f0f5-b31f-42a4-83ba-41a0dc278d4c | public crmondemand.xml.contact.query.QueryType getCustomPhone8() {
return this.customPhone8;
} |
ee7eceb3-5850-48ae-aef5-fb3edef3e738 | public crmondemand.xml.customobject3.query.QueryType getIndexedPick4() {
return this.indexedPick4;
} |
b6d87c55-5460-40bf-ba5f-d4b75ba5cd94 | public void setCustomInteger4(crmondemand.xml.customobject6.query.QueryType customInteger4) {
this.customInteger4 = customInteger4;
} |
2100e405-a814-45b3-8c4f-23ec6a08d0e3 | @Override
@SuppressWarnings("unchecked")
public Enumeration<LocatedPair> scriptHosts(final Area area)
{
final LinkedList<List<LocatedPair>> V = new LinkedList<List<LocatedPair>>();
if(area == null)
{
for(final String areaKey : scriptHostMap.keySet())
V.add(scriptHostMap.get(areaKey));
}
else
{
final SLinkedList<LocatedPair> hosts = scriptHostMap.get(area.Name());
if(hosts==null)
return EmptyEnumeration.INSTANCE;
V.add(hosts);
}
if(V.size()==0)
return EmptyEnumeration.INSTANCE;
final MultiListEnumeration<LocatedPair> me=new MultiListEnumeration<LocatedPair>(V,true);
return new Enumeration<LocatedPair>()
{
@Override
public boolean hasMoreElements()
{
return me.hasMoreElements();
}
@Override
public LocatedPair nextElement()
{
final LocatedPair W = me.nextElement();
final PhysicalAgent E = W.obj();
if(((E==null) || (E.amDestroyed())) && hasMoreElements())
return nextElement();
return W;
}
};
} |
4defea55-c25f-4729-8781-7f1a85ec7e96 | public static void main(String[] args) {
Handler h1 = new ConcreteHandler1();
Handler h2 = new ConcreteHandler2();
Handler h3 = new ConcreteHandler3();
h1.setSuccessor(h2);
h2.setSuccessor(h3);
int[] request = { 24, 3, 45, 5, 2, 5, 6, 7, 12, 5, 6 };
for (Integer i : request) {
h1.handleRequest(i);
}
} |
31f8ccde-4d7a-43fa-9eb5-bb80999053a3 | public crmondemand.xml.contact.query.QueryType getObjectiveStatus() {
return this.objectiveStatus;
} |
0447f9d0-30a0-43ae-8335-645144413bf9 | @Override
public void handleDamageSpamSummary(final MOB mob)
{
if((mob.isAttributeSet(MOB.Attrib.NOBATTLESPAM))
&&(mob.playerStats()!=null))
{
int numEnemies=0;
final Room R=mob.location();
for(final Enumeration<MOB> m=R.inhabitants();m.hasMoreElements();)
{
final MOB M=m.nextElement();
if((M!=null)&&(M!=mob)&&(M.getVictim()==mob))
numEnemies++;
}
Map<String,int[]> combatSpam = mob.playerStats().getCombatSpams();
final StringBuilder msg=new StringBuilder("");
synchronized(combatSpam)
{
if(numEnemies>1)
msg.append("^<FIGHT^>"+L("Fighting @x1 enemies. ",""+numEnemies)+"^</FIGHT^>");
if(combatSpam.size()==0)
msg.append("^<FIGHT^>"+L("No new combat damage reported.")+"^</FIGHT^>");
else
{
msg.append("^<FIGHT^>"+L("New combat damage: "));
for(String str : combatSpam.keySet())
{
msg.append(str).append(" ").append(combatSpam.get(str)[0]).append(" points. ");
}
msg.append("^</FIGHT^>");
}
mob.tell(msg.toString());
combatSpam.clear();
}
}
} |
c8d438b6-240e-4aed-8826-61b0eb742ba9 | public void setId(crmondemand.xml.customobject6.query.QueryType id) {
this.id = id;
} |
e07bfaa0-01d7-4f6c-a147-685e90a7ed88 | public void setCustomCurrency22(java.math.BigDecimal customCurrency22) {
this.customCurrency22 = customCurrency22;
} |
ddfb6453-78e9-4707-84c7-92416abd0bb8 | public void setCustomDate17(java.util.Calendar customDate17) {
this.customDate17 = customDate17;
} |
23349ffb-2b5e-420b-ba18-5edaaf46a064 | private STNode<Key, Value> rotateLeft(STNode<Key, Value> x)
{
STNode<Key, Value> t = x.right;
x.right = t.left;
t.left = x;
x.N = size(x);
t.N = size(t);
x.h = height(x);
t.h = height(t);
return t;
} |
614d432d-cfb8-4810-ab40-7ae7ec0c0de2 | public static Cursor getCursor(int id) {
Integer key = Integer.valueOf(id);
Cursor cursor = m_idToCursorMap.get(key);
if (cursor == null) {
cursor = new Cursor(Display.getDefault(), id);
m_idToCursorMap.put(key, cursor);
}
return cursor;
} |
058b3c66-a455-4773-960e-6d3323c052a9 | public java.lang.String getSRNumber() {
return this.sRNumber;
} |
fea9b7c8-a36e-40af-ad41-0482454ae440 | public void setCustomInteger0(crmondemand.xml.customobject6.query.QueryType customInteger0) {
this.customInteger0 = customInteger0;
} |
3928cb98-1e57-474d-b01b-49d62452ff59 | public java.lang.String getCustomObject12IntegrationId() {
return this.customObject12IntegrationId;
} |
b2aab1f1-5021-4b9c-b8b1-909e05eb49a3 | public void setCustomDate6(crmondemand.xml.contact.query.QueryType customDate6) {
this.customDate6 = customDate6;
} |
d864d8bd-516b-41c5-a45d-7bb23c3ce39b | private String minInColumn(int c,int startIndex,int endIndex)
{
//determine type of value in 1st cell
String type = getColumnType(c);
if(startIndex < 0 | endIndex > this.ROWS)
return "NaN";
//if this is a value we can sum
if (type.equals("int"))
{
int[] cells = Common.convertStringListToIntArray(getColumn(c).subList(startIndex, endIndex));
return Cast.DoubleToString(StatsOps.Min(cells));
}
else if (type.equals("float"))
{
float[] cells = Common.convertStringListToFloatArray(getColumn(c).subList(startIndex, endIndex));
return Cast.FloatToString(StatsOps.Min(cells));
}
else if (type.equals("double"))
{
double[] cells = Common.convertStringListToDoubleArray(getColumn(c).subList(startIndex, endIndex));
return Cast.DoubleToString(StatsOps.Min(cells));
}
else if (type.equals("String"))
return "";
else
return "NaN";
} |
c86caf53-efdc-45a6-81cf-a60f37368a04 | public java.lang.String getCustomText28() {
return this.customText28;
} |
b213fdb4-5973-41eb-84d8-d0c480808e78 | public java.lang.String getCustomObject14Type() {
return this.customObject14Type;
} |
53dd68d6-4cda-4585-8253-99c0f9d77de4 | public static void main(String[] args) {
ApplicationContext context = new ClassPathXmlApplicationContext("Stage.xml");
Stage stage = (Stage)context.getBean("stage");
stage.embark(); // I'm unique stage
stage.setDescription("Wei Jingjing");
ApplicationContext context_2 = new ClassPathXmlApplicationContext("Stage.xml");
Stage stage_2 = (Stage)context_2.getBean("stage");
stage_2.embark(); // I'm Wei Jingjing
// stage and stage_2 are the same reference to Stage
} |
c74e6638-4689-4718-a6b4-aaea321d2e90 | public void actionPerformed(ActionEvent e)
{
jButton1_actionPerformed(e);
} |
fa8116c9-9c4e-48ad-826f-067964e3c07e | public java.lang.String getCustomText79() {
return this.customText79;
} |
abb6f063-30b6-414e-b062-84afe4902c32 | public void actionPerformed(java.awt.event.ActionEvent evt) {
addCustomerButtonActionPerformed(evt);
} |
37d83be8-d021-4a38-b06e-53146037e666 | public java.lang.String getCustomObject2Id() {
return this.customObject2Id;
} |
0311b91b-7343-42d0-ab3f-36445de692b0 | public void setCustomPickList27(java.lang.String customPickList27) {
this.customPickList27 = customPickList27;
} |
4380947c-b15f-4d55-b0eb-07f8f82217d1 | public java.lang.String getCustomText62() {
return this.customText62;
} |
427b29ba-4dd4-42f1-ac73-e24c3d6ae2ff | public static String getClassificationBTR(Vector<NearestNeighbour> nn)
{
// The nearest neighbour will be first in the list.
int posCount = 0;
int negCount = 0;
int unknownCount = 0;
for(int i =0; i < nn.size();i++)
{
String classification = nn.get(i).getNeighbourClassificationBTR();
if(classification.equals(Constants.PULSAR))
posCount++;
else if(classification.equals(Constants.RFI))
negCount++;
else
unknownCount++;
System.out.println("neighbour: "+ i + " class:"+ classification);
}
System.out.println("+: "+ posCount + " -:"+ negCount + " unknown:"+unknownCount);
// Whichever is greater decides the classification label
// in the case of a tie, randomly choose.
if( negCount > posCount )
return Constants.RFI;
else if( posCount > negCount )
return Constants.PULSAR;
else if( posCount == negCount )
{
Random r = new Random();
double d = r.nextDouble();// generate number between 0.0-1.0
double split = 0.5;
// Just in case d is equal to the split point.
while(Double.compare(d, split) == 0)
d = r.nextDouble();
if(Double.compare(d, split) > 0)// d greater than 0.5
return Constants.PULSAR;
else
return Constants.RFI;
}
else // label unknown
return Constants.UNKNOWN;
} |
7e6139f6-bfab-41d4-bf18-de2607c4fd3e | public int getNumberOfDays()
{
int mn = theMonthNumber;
if (mn == 1 || mn == 3 || mn == 5 || mn == 7 || mn == 8 || mn == 10 || mn == 12)
{return 31;}
if (mn == 4 || mn == 6 || mn == 9 || mn == 11)
{return 30;}
else
{return 28;}
} |
ddc97ad7-b15a-4c79-9867-5be1f5231811 | public void setCustomPickList2(java.lang.String customPickList2) {
this.customPickList2 = customPickList2;
} |
c42cb5c1-199d-4f2f-9f1c-31d1acad1f7b | public void setCustomNumber4(java.math.BigDecimal customNumber4) {
this.customNumber4 = customNumber4;
} |
3ae11f13-d923-4a74-8aa7-f0a8de2f6b57 | public boolean isPassive() {
return passive;
} |
d91a01ba-cc39-40bf-a435-0b9aa2e98604 | public final void cambiarDireccio() {
direccio = -direccio;
mostraImatgeDireccio();
} |
381731b5-74db-40aa-ba02-2b4660dc91f9 | public void resolve() {
PlayerZone library = AllZone.getZone(Constant.Zone.Library, player);
if (library.size() <= 0)
return;
peek[0] = library.get(0);
boolean wantToMillOpponent = false;
// We assume that both players will want to peek, ask if they want to reveal.
// We do not want to slow down the pace of the game by asking too many questions.
// Dialogs outside of the Ability appear at the previous end of turn phase !!!
if (peek[0].isValidCard(shareTypes, k.getController(), k)) {
if (player.isHuman()) {
StringBuilder question = new StringBuilder();
question.append("Your top card is ").append(peek[0].getName());
question.append(". Reveal card and opponent puts the top 3 ");
question.append("cards of his library into his graveyard?");
if (showYesNoDialog(k, question.toString())) {
wantToMillOpponent = true;
}
}
// player isComputer()
else {
String title = "Computer reveals";
revealTopCard(title);
wantToMillOpponent = true;
}
} else if (player.isHuman()) {
String title = "Your top card is";
revealTopCard(title);
}
if (wantToMillOpponent)
opponent.mill(3);
} |
b0388c8c-5f82-4037-9439-74bd3d61ee22 | public void setCustomNumber40(java.math.BigDecimal customNumber40) {
this.customNumber40 = customNumber40;
} |
00bfd828-47fc-4055-878d-3ff36c542122 | public void setCustomPickList85(crmondemand.xml.customobject6.query.QueryType customPickList85) {
this.customPickList85 = customPickList85;
} |
f64b2151-9c09-4db1-a61a-268f8ecca05d | public void zoomInButtonHit(); |
8593a26e-a173-4211-9eaa-06a7f3947ad3 | public crmondemand.xml.contact.query.QueryType getCustomText1() {
return this.customText1;
} |
f2841eda-222a-43af-8d85-961714bad5df | public void setCustomObject4IntegrationId(java.lang.String customObject4IntegrationId) {
this.customObject4IntegrationId = customObject4IntegrationId;
} |
c1417874-bee0-44da-bd87-82110ad1652a | public crmondemand.xml.customobject6.query.QueryType getCustomPickList85() {
return this.customPickList85;
} |
988c0b3e-6819-4f8b-ac0b-2a80286ca432 | public int getTotalWordCount() {
my_total_word_count = my_map.size();
System.out.println(my_total_word_count);
return my_total_word_count;
} |
1083f731-f039-4d7f-9e04-3cb0f7c6e243 | public void setCustomNumber9(crmondemand.xml.contact.query.QueryType customNumber9) {
this.customNumber9 = customNumber9;
} |
39c03730-c1b9-494a-be04-4e30544b6e3e | public King getWhite_king() {
return white_king;
} |
f2238c24-3eb5-4566-b880-e92541cd14af | public void populateSymbolTable()
{
m_declaration.populateSymbolTable();
m_predicate.populateSymbolTable();
} |
311cf9d5-4794-4d7b-aab1-a63150d43450 | public void test_plusYears_zero() {
LocalDateTime ldt = LocalDateTime.of(2008, 6, 30, 23, 30, 59, 0);
ZonedDateTime base = ZonedDateTime.of(ldt, ZONE_0100);
ZonedDateTime test = base.plusYears(0);
assertEquals(test, base);
}
// -----------------------------------------------------------------------
// plusMonths()
// -----------------------------------------------------------------------
@Test(groups = { "tck" } |
e376a58e-680d-4f7a-86d8-33a0057dac38 | public void setCustomPickList40(java.lang.String customPickList40) {
this.customPickList40 = customPickList40;
} |
26a5a671-3570-4ef0-a4a0-5c6f6161a020 | public void setCustomCurrency173(java.math.BigDecimal customCurrency173) {
this.customCurrency173 = customCurrency173;
} |
4f60c075-cfa7-487d-8db0-0122c5c97ef7 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList36() {
return this.customPickList36;
} |
b1c0108c-117d-4ce9-adc9-a8870078906e | public java.lang.String getIntegrationId() {
return this.integrationId;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.