id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
f634cb00-9d89-484b-9309-8eb2d3913e31
|
public org.bwapi.proxy.messages.GameMessages.UnitId getStaticNeutralUnits(int index) {
if (staticNeutralUnitsBuilder_ == null) {
return staticNeutralUnits_.get(index);
} else {
return staticNeutralUnitsBuilder_.getMessage(index);
}
}
|
0582dfc7-fac6-40a5-97e0-464a622b645f
|
public void setCustomObject10Id(crmondemand.xml.customobject6.query.QueryType customObject10Id) {
this.customObject10Id = customObject10Id;
}
|
5251f8c5-17b9-480e-a94c-8e6812bace35
|
public java.math.BigDecimal getCustomNumber13() {
return this.customNumber13;
}
|
1fb5a298-e6eb-4a99-b645-f56c6a037b05
|
public crmondemand.xml.contact.query.QueryType getAccreditationExternalSystemId() {
return this.accreditationExternalSystemId;
}
|
624e4afd-c1b7-48cc-accd-301f3020aef1
|
public java.lang.String getCustomPickList90() {
return this.customPickList90;
}
|
39428772-5673-44be-ad43-b558eb28fb2e
|
public crmondemand.xml.opportunity.query.QueryType getCustomObject4Type() {
return this.customObject4Type;
}
|
306be0ed-c336-4a8f-8c05-e50fb5bc55e4
|
public void setCustomCurrency17(java.math.BigDecimal customCurrency17) {
this.customCurrency17 = customCurrency17;
}
|
03f9363a-8cb7-4e9b-a7fb-93605e3b361f
|
public Tile(Sprite sprite, String name){
this.sprite = sprite;
this.name = name;
}
|
e90ebdd9-8274-46a1-9288-4e29742b54d7
|
public void addIdentifier(String identifier){
this.ident.add(identifier);
}
|
b0310233-0192-43f4-8eed-66bd0c36983c
|
public java.lang.String getProductPartNumber() {
return this.productPartNumber;
}
|
6ace945d-68ad-43d6-857e-c28ad607ff30
|
private void registerStudentToTutorial(HttpServletRequest request) {
System.out.println("MSSServlet: registerStudentToTutorial()");
String moduleCode = request.getParameter("modCode");
String tutGrp = request.getParameter("tutGrp");
System.out.println("MSSServlet: tutGrp = " + tutGrp);
String outcome = mrsb.webAssignTutorial(moduleCode, tutGrp, matricNumber);
System.out.println("MSSServlet: " + outcome);
request.setAttribute("message", outcome);
}
|
7aab84fe-8ec2-4548-9cff-a7d0739c1ee3
|
public void setCustomText81(crmondemand.xml.opportunity.query.QueryType customText81) {
this.customText81 = customText81;
}
|
1dcda19d-c279-4c85-b031-20b733133dbe
|
public void setAgentEmail(String agentEmail) {
this.agentEmail = agentEmail;
}
|
d1bd0d32-e4dc-4f1d-9e03-c36ec6d171d5
|
public void setCustomText62(java.lang.String customText62) {
this.customText62 = customText62;
}
|
f8cf0f76-ba72-44b9-b95f-f627ae162bd6
|
public crmondemand.xml.contact.query.QueryType getCustomObject12Id() {
return this.customObject12Id;
}
|
ed62eda0-1362-423d-a5e0-b0ac19bf63a2
|
public java.lang.String getOwnerFullName() {
return this.ownerFullName;
}
|
c32689a5-c506-4a02-b6f4-1ef16b1de5c4
|
public void setCustomBoolean24(java.lang.Boolean customBoolean24) {
this.customBoolean24 = customBoolean24;
}
|
89de6fd8-9426-4905-9b1c-5427e79d4006
|
public void setCustomCurrency18(java.math.BigDecimal customCurrency18) {
this.customCurrency18 = customCurrency18;
}
|
84894012-16ab-4e78-831c-f7a56510703f
|
public void setCustomText43(java.lang.String customText43) {
this.customText43 = customText43;
}
|
b9fcacf7-2f1f-4a25-8813-8105dddef2be
|
public void setCampaignIntegrationId(java.lang.String campaignIntegrationId) {
this.campaignIntegrationId = campaignIntegrationId;
}
|
6a68343f-c2de-44e6-bc1f-e5c9c2f6e349
|
public static Symbol internalStellaOperatorToKif(Symbol operator) {
return (operator);
}
|
61647417-11a3-4e6f-bd14-cd6550d09b2d
|
public java.lang.Integer getCustomInteger16() {
return this.customInteger16;
}
|
481547fc-8ff3-40e2-9c33-244c44c22853
|
public crmondemand.xml.customobject3.query.QueryType getCustomDate41() {
return this.customDate41;
}
|
bb6e03b6-d610-4f9e-960d-f8de8cf5e414
|
public void setCustomObject4Name(crmondemand.xml.opportunity.query.QueryType customObject4Name) {
this.customObject4Name = customObject4Name;
}
|
ada0b8cf-4da3-4416-bd4f-94d0d90658ad
|
public java.math.BigDecimal getCustomNumber62() {
return this.customNumber62;
}
|
ecb7e535-c2a1-472f-8455-ae9ef6a0d4b6
|
public boolean active()
{
return(active);
}
|
9928cf74-291b-495c-96db-9d61d20fe902
|
public void setSlot(int slots) {
this.slots = slots;
}
|
3f98ba2f-2a18-42ad-82d4-1bdb183a0a19
|
public void setCustomNumber61(crmondemand.xml.contact.query.QueryType customNumber61) {
this.customNumber61 = customNumber61;
}
|
c75554ed-0ca5-4303-bdcb-fabe2e7b267b
|
public java.lang.String getCustomPhone7() {
return this.customPhone7;
}
|
3f738f04-b204-436b-a7ee-eb9993f93439
|
opcode dd_15 = new opcode() { public void handler(){ illegal_1(); }}
|
b4728083-2578-4a82-b1f6-faccdf444359
|
public static boolean javaPrognP(Stella_Object tree) {
return (Stella_Object.consP(tree) &&
(((Cons)(tree)).value == Stella.SYM_STELLA_JAVA_PROGN));
}
|
1b7c7032-bfca-4458-9374-7de13370bc4f
|
public void setCustomText11(crmondemand.xml.customobject6.query.QueryType customText11) {
this.customText11 = customText11;
}
|
4519f0ef-9eaf-439e-8745-7526ce9997aa
|
public crmondemand.xml.contact.query.QueryType getCustomPickList86() {
return this.customPickList86;
}
|
05cf225a-3c91-4ad5-a707-06b443e635dd
|
public crmondemand.xml.opportunity.query.QueryType getContactLastName() {
return this.contactLastName;
}
|
145c64dd-e82d-4bce-9397-ab45685f756e
|
public void setCustomDate52(java.util.Calendar customDate52) {
this.customDate52 = customDate52;
}
|
b973ca3a-084f-4e6c-b159-0cff20d4599b
|
private boolean jj_3R_324() {
if (jj_3R_352()) return true;
return false;
}
|
913f688b-4873-4cba-889e-3eac6c48f27a
|
public void setCustomNumber23(crmondemand.xml.customobject6.query.QueryType customNumber23) {
this.customNumber23 = customNumber23;
}
|
c1046119-fe2a-4e07-a654-b6f560eb855f
|
public int getCol() {
return col;
}
|
8705b14e-98ee-4af1-b2e9-7d7dfb33f128
|
public void setInvtPeriodId(java.lang.String invtPeriodId) {
this.invtPeriodId = invtPeriodId;
}
|
6ff3216d-c6e6-4c7b-a0ea-10a98562bd7b
|
public void setCustomText82(crmondemand.xml.customobject6.query.QueryType customText82) {
this.customText82 = customText82;
}
|
b3ae467a-0375-47c3-b53f-fa68c9dc8ea4
|
public crmondemand.xml.customobject3.query.QueryType getCustomDate11() {
return this.customDate11;
}
|
2def0b51-3b92-41ba-9530-a721d254ea0b
|
public void setCustomBoolean5(java.lang.Boolean customBoolean5) {
this.customBoolean5 = customBoolean5;
}
|
dd08e606-be30-4482-b51d-5633b0662998
|
public void setCustomPickList74(crmondemand.xml.contact.query.QueryType customPickList74) {
this.customPickList74 = customPickList74;
}
|
afc4fcfb-bc7d-41b0-9c65-f3ec691c4102
|
public java.lang.String getCustomPickList31() {
return this.customPickList31;
}
|
de62b84e-4469-440d-aece-e627396754d7
|
@Override
public void stateChanged(ChangeEvent e) {
if(e.getSource()==redSlider)
{
Color color = new Color(redSlider.getValue(),greenSlider.getValue() , blueSlider.getValue());
showColor.setForeground(color);
}
else if(e.getSource()==greenSlider)
{
Color color = new Color(redSlider.getValue(),greenSlider.getValue() , blueSlider.getValue());
showColor.setForeground(color);
}
else if(e.getSource()==blueSlider)
{
Color color = new Color(redSlider.getValue(),greenSlider.getValue() , blueSlider.getValue());
showColor.setForeground(color);
}
}
|
2a73bdbb-a5e3-48b8-b913-ae012c4e4778
|
public java.lang.Integer getCustomInteger27() {
return this.customInteger27;
}
|
ad4872c1-1fd6-4aa8-82fd-9f1b0ac3d569
|
* @return An amount to raise tension by.
*/
private int getSlaughterTension(Unit loser) {
// Tension rises faster when units die.
Settlement settlement = loser.getSettlement();
if (settlement != null) {
if (settlement instanceof IndianSettlement) {
return (((IndianSettlement) settlement).isCapital())
? Tension.TENSION_ADD_CAPITAL_ATTACKED
: Tension.TENSION_ADD_SETTLEMENT_ATTACKED;
} else {
return Tension.TENSION_ADD_NORMAL;
}
} else { // attack in the open
return (loser.getIndianSettlement() != null)
? Tension.TENSION_ADD_UNIT_DESTROYED
: Tension.TENSION_ADD_MINOR;
}
}
|
67c897c5-e5cf-4fb1-a79d-45cf9832c97a
|
public crmondemand.xml.opportunity.query.QueryType getCustomNumber62() {
return this.customNumber62;
}
|
fa309d19-db1e-4682-bdf8-dc453e22231d
|
public crmondemand.xml.customobject6.query.QueryType getCustomInteger15() {
return this.customInteger15;
}
|
e33e4084-e0d9-43b1-b19f-65e369c6654d
|
public void setCustomInteger3(java.lang.Integer customInteger3) {
this.customInteger3 = customInteger3;
}
|
0a4e5768-ef16-4756-88f4-3de1794eed2b
|
public void setCustomObject1Name(java.lang.String customObject1Name) {
this.customObject1Name = customObject1Name;
}
|
5565221e-7f28-4643-a7f9-f228b32d30ff
|
public java.lang.String getCustomPickList76() {
return this.customPickList76;
}
|
eebbd9b5-17f5-4846-915c-c14c63339459
|
public void factory_parse_invalidValue() {
ZonedDateTime.parse("2008-06-31T11:15+01:00[Europe/Paris]");
}
@Test(expectedExceptions = NullPointerException.class, groups = { "tck" }
|
fb62b446-a31d-4a86-890a-91868ecdbd70
|
public crmondemand.xml.contact.query.QueryType getCustomPickList40() {
return this.customPickList40;
}
|
bb8b18af-ac2c-4e64-a232-ac1aeb63c568
|
private boolean beMobile(final MOB mob,
boolean dooropen,
final boolean wander,
final boolean roomprefer,
final boolean roomobject,
final boolean sneakIfAble,
final int[] status,
final Set<Room> rooms)
{
if(status!=null)
status[0]=Tickable.STATUS_MISC7+0;
// ridden and following things aren't mobile!
if(((mob instanceof Rideable)&&(((Rideable)mob).numRiders()>0))
||((mob.amFollowing()!=null)&&(mob.location()==mob.amFollowing().location())))
{
if(status!=null)
status[0]=Tickable.STATUS_NOT;
return false;
}
Room oldRoom=mob.location();
if(isAnAdminHere(oldRoom, true))
{
if(status!=null)
status[0]=Tickable.STATUS_NOT;
return false;
}
if(oldRoom instanceof GridLocale)
{
final Room R=((GridLocale)oldRoom).getRandomGridChild();
if(R!=null)
R.bringMobHere(mob,true);
oldRoom=mob.location();
}
if(oldRoom == null)
{
if((!mob.amDead())&&(!mob.amDestroyed()))
{
if(mob.isPlayer() && (mob.getStartRoom()!=null))
mob.getStartRoom().bringMobHere(mob, true);
else
mob.killMeDead(false);
Log.errOut("MUDTracker","Inexplicable lost room for '"+mob.Name()+"'. Killing dead.");
}
return false;
}
if(status!=null)
status[0]=Tickable.STATUS_MISC7+3;
int tries=0;
int direction=-1;
final CMFlagLibrary flags=CMLib.flags();
while(((tries++)<10)&&(direction<0))
{
direction=CMLib.dice().roll(1,Directions.NUM_DIRECTIONS(),-1);
final Room nextRoom=oldRoom.getRoomInDir(direction);
final Exit nextExit=oldRoom.getExitInDir(direction);
if((nextRoom!=null)&&(nextExit!=null))
{
if(isAnAdminHere(nextRoom, true))
{
direction=-1;
continue;
}
final Exit opExit=nextRoom.getExitInDir(Directions.getOpDirectionCode(direction));
if(flags.isTrapped(nextExit)
||(flags.isHidden(nextExit)&&(!flags.canSeeHidden(mob))&&(!flags.canSeeHiddenItems(mob)))
||(flags.isInvisible(nextExit)&&(!flags.canSeeInvisible(mob))))
direction=-1;
else
if((opExit!=null)&&(flags.isTrapped(opExit)))
direction=-1;
else
if((oldRoom.domainType()!=nextRoom.domainType())
&&(!flags.isInFlight(mob))
&&((nextRoom.domainType()==Room.DOMAIN_INDOORS_AIR)
||(nextRoom.domainType()==Room.DOMAIN_OUTDOORS_AIR)))
direction=-1;
else
if((oldRoom.domainType()!=nextRoom.domainType())
&&(!flags.isSwimming(mob))
&&(flags.isUnderWateryRoom(nextRoom)))
direction=-1;
else
if((!wander)&&(!oldRoom.getArea().Name().equals(nextRoom.getArea().Name())))
direction=-1;
else
if((roomobject)&&(rooms!=null)&&(rooms.contains(nextRoom)))
direction=-1;
else
if((roomprefer)&&(rooms!=null)&&(!rooms.contains(nextRoom)))
direction=-1;
else
break;
}
else
direction=-1;
}
if(status!=null)
status[0]=Tickable.STATUS_MISC7+10;
if(direction<0)
{
if(status!=null)
status[0]=Tickable.STATUS_NOT;
return false;
}
final Room nextRoom=oldRoom.getRoomInDir(direction);
final Exit nextExit=oldRoom.getExitInDir(direction);
final int opDirection=Directions.getOpDirectionCode(direction);
if((nextRoom==null)||(nextExit==null))
{
if(status!=null)
status[0]=Tickable.STATUS_NOT;
return false;
}
if(dooropen)
{
final LandTitle landTitle=CMLib.law().getLandTitle(nextRoom);
if((landTitle!=null)&&(landTitle.getOwnerName().length()>0))
dooropen=false;
}
boolean reclose=false;
boolean relock=false;
// handle doors!
if(nextExit.hasADoor()&&(!nextExit.isOpen())&&(dooropen))
{
if((nextExit.hasALock())&&(nextExit.isLocked()))
{
CMMsg msg=CMClass.getMsg(mob,nextExit,null,CMMsg.MSG_OK_VISUAL,CMMsg.MSG_OK_VISUAL,CMMsg.MSG_OK_VISUAL,null);
if(oldRoom.okMessage(mob,msg))
{
relock=true;
msg=CMClass.getMsg(mob,nextExit,null,CMMsg.MSG_OK_VISUAL,CMMsg.MSG_UNLOCK,CMMsg.MSG_OK_VISUAL,L("<S-NAME> unlock(s) <T-NAMESELF>."));
if(oldRoom.okMessage(mob,msg))
CMLib.utensils().roomAffectFully(msg,oldRoom,direction);
}
}
if(!nextExit.isOpen())
{
mob.doCommand(getOpenCommandSet(direction),MUDCmdProcessor.METAFLAG_FORCED);
if(nextExit.isOpen())
reclose=true;
}
}
if(!nextExit.isOpen())
{
if(status!=null)
status[0]=Tickable.STATUS_NOT;
return false;
}
if(((flags.isWaterySurfaceRoom(nextRoom)))
&&(!flags.isWaterWorthy(mob))
&&(!flags.isInFlight(mob))
&&(mob.fetchAbility("Skill_Swim")!=null))
{
final Ability A=mob.fetchAbility("Skill_Swim");
final List<String> V=getDirectionCommandSet(direction);
if(A.proficiency()<50)
A.setProficiency(CMLib.dice().roll(1,50,A.adjustedLevel(mob,0)*15));
final CharState oldState=(CharState)mob.curState().copyOf();
A.invoke(mob,V,null,false,0);
mob.curState().setMana(oldState.getMana());
mob.curState().setMovement(oldState.getMovement());
}
else
if(((nextRoom.ID().indexOf("Surface")>0)||(flags.isClimbing(nextExit))||(flags.isClimbing(nextRoom)))
&&(!flags.isClimbing(mob))
&&(!flags.isInFlight(mob))
&&((mob.fetchAbility("Skill_Climb")!=null)||(mob.fetchAbility("Power_SuperClimb")!=null)))
{
Ability A=mob.fetchAbility("Skill_Climb");
if(A==null )
A=mob.fetchAbility("Power_SuperClimb");
final List<String> V=getDirectionCommandSet(direction);
if(A.proficiency()<50)
A.setProficiency(CMLib.dice().roll(1,50,A.adjustedLevel(mob,0)*15));
final CharState oldState=(CharState)mob.curState().copyOf();
A.invoke(mob,V,null,false,0);
mob.curState().setMana(oldState.getMana());
mob.curState().setMovement(oldState.getMovement());
}
else
if((mob.fetchAbility("Thief_Sneak")!=null)&&(sneakIfAble))
{
final Ability A=mob.fetchAbility("Thief_Sneak");
final List<String> V=getDirectionCommandSet(direction);
if(A.proficiency()<50)
{
A.setProficiency(CMLib.dice().roll(1,50,A.adjustedLevel(mob,0)*15));
final Ability A2=mob.fetchAbility("Thief_Hide");
if(A2!=null)
A2.setProficiency(CMLib.dice().roll(1,50,A.adjustedLevel(mob,0)*15));
}
final int oldMana=mob.curState().getMana();
final int oldMove=mob.curState().getMovement();
A.invoke(mob,V,null,false,0);
mob.curState().setMana(oldMana);
mob.curState().setMovement(oldMove);
}
else
{
walk(mob,direction,false,false);
}
if(status!=null)
status[0]=Tickable.STATUS_MISC7+21;
if((reclose)&&(mob.location()==nextRoom)&&(dooropen))
{
final Exit opExit=nextRoom.getExitInDir(opDirection);
if((opExit!=null)
&&(opExit.hasADoor())
&&(opExit.isOpen()))
{
mob.doCommand(getCloseCommandSet(opDirection),MUDCmdProcessor.METAFLAG_FORCED);
if((opExit.hasALock())&&(relock))
{
CMMsg msg=CMClass.getMsg(mob,opExit,null,CMMsg.MSG_OK_VISUAL,CMMsg.MSG_OK_VISUAL,CMMsg.MSG_OK_VISUAL,null);
if(nextRoom.okMessage(mob,msg))
{
msg=CMClass.getMsg(mob,opExit,null,CMMsg.MSG_OK_VISUAL,CMMsg.MSG_LOCK,CMMsg.MSG_OK_VISUAL,L("<S-NAME> lock(s) <T-NAMESELF>."));
if(nextRoom.okMessage(mob,msg))
CMLib.utensils().roomAffectFully(msg,nextRoom,opDirection);
}
}
}
}
if(status!=null)
status[0]=Tickable.STATUS_NOT;
return mob.location()!=oldRoom;
}
|
0713a708-876d-4322-918c-e7cf3b15bc77
|
public void setFundRequestStatus(crmondemand.xml.customobject6.query.QueryType fundRequestStatus) {
this.fundRequestStatus = fundRequestStatus;
}
|
641351a9-201d-4c8c-989d-27c1010daca7
|
public int numMoves(String[] board) {
m = board.length;
n = board[0].length();
char[][] map = new char[m][n];
for(int i = 0;i < m;i++)
map[i] = board[i].toCharArray();
int answer = 0;
for(int i = 0;i < m;i++){
for(int j = 0;j < n;j++){
//up
if(ValidPosition(i-1, j)){
swap(map, i, j, i-1, j);
if(check(map, i-1, j) || check(map, i, j))
answer++;
swap(map, i, j, i-1, j);
}
//right
if(ValidPosition(i, j+1)){
swap(map, i, j, i, j+1);
if(check(map, i, j) || check(map, i, j+1))
answer++;
swap(map, i, j, i, j+1);
}
}
}
return answer;
}
|
b5614501-4ada-4ca6-906d-e2068765eb46
|
public void test_minusYears_int_invalidTooSmall() {
createDateMidnight(Year.MIN_YEAR, 1, 1).minusYears(1);
}
// -----------------------------------------------------------------------
// minusMonths()
// -----------------------------------------------------------------------
@Test(groups = { "tck" }
|
8d7f3bc9-33df-4839-8d69-4397171d8cd8
|
* @param encoding encoding<br>
* @param errors error handling<br>
* <i>native declaration : unicodeobject.h:110</i>
*/
public static Pointer<PyObject > PyUnicodeUCS4_Decode(Pointer<Byte > s, @Ptr long size, Pointer<Byte > encoding, Pointer<Byte > errors) {
return Pointer.pointerToAddress(PyUnicodeUCS4_Decode(Pointer.getPeer(s), size, Pointer.getPeer(encoding), Pointer.getPeer(errors)), PyObject.class);
}
|
c6c919c9-3bab-4a56-a3b7-d653cf0be1c1
|
public crmondemand.xml.customobject6.query.QueryType getCustomPhone17() {
return this.customPhone17;
}
|
5e83f5e5-b633-4b2c-8010-edc0984b4938
|
public crmondemand.xml.customobject6.query.QueryType getIndexedPick3() {
return this.indexedPick3;
}
|
5df0d55b-04d1-4a91-b981-bf5411f7e404
|
public void setCustomPickList11(java.lang.String customPickList11) {
this.customPickList11 = customPickList11;
}
|
fa512cc4-e758-4c28-9625-997d09220e57
|
public crmondemand.xml.opportunity.query.QueryType getUpdatedByFullName() {
return this.updatedByFullName;
}
|
b3f479c5-a6ef-4575-a644-5935617015ec
|
public crmondemand.xml.customobject6.query.QueryType getCustomText17() {
return this.customText17;
}
|
63cf602a-5c1e-4721-adb4-b2a5961f9fb1
|
@Override
public void actionPerformed(ActionEvent e) {
text = "Scan of "+ scanDrive + " in progress";
this.setText(text);
this.setBackground(Color.yellow);
this.setEnabled(false);
VisualHDD.getInstance().scan(scanPartition);
}
|
9834d886-eacf-4ed0-bb3f-fc12c0478909
|
public static PropagationEnvironment getPropagationEnvironment(Context self) {
{ PropagationEnvironment environment = ((PropagationEnvironment)(KeyValueList.dynamicSlotValue(self.dynamicSlots, Logic.SYM_LOGIC_PROPAGATION_ENVIRONMENT, null)));
if (environment == null) {
environment = PropagationEnvironment.newPropagationEnvironment();
KeyValueList.setDynamicSlotValue(self.dynamicSlots, Logic.SYM_LOGIC_PROPAGATION_ENVIRONMENT, environment, null);
}
return (environment);
}
}
|
14404a3f-6bc9-4ff9-b058-4330e38a713e
|
public void setCustomBoolean3(crmondemand.xml.contact.query.QueryType customBoolean3) {
this.customBoolean3 = customBoolean3;
}
|
999cd51d-b136-4a4c-86e3-288decc963ea
|
boolean queryNeedsGroupBy(){ return false; }
|
25602b81-05cd-4980-aca5-0fae1f97e8b2
|
public java.lang.String getCustomPhone11() {
return this.customPhone11;
}
|
c61c0226-362e-4193-87ca-67cd6b346daa
|
public void setCustomObject2ExternalSystemId(crmondemand.xml.customobject6.query.QueryType customObject2ExternalSystemId) {
this.customObject2ExternalSystemId = customObject2ExternalSystemId;
}
|
b411a70d-77e5-44c5-a566-c5b768e4be85
|
public crmondemand.xml.customobject6.query.QueryType getCustomNumber16() {
return this.customNumber16;
}
|
bab94047-0f87-4e1a-ab12-fe884b65d585
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
jRadioButton3ActionPerformed(evt);
}
|
723a7853-cfbe-49c1-b77c-04869e30d754
|
public java.util.Calendar getCustomDate6() {
return this.customDate6;
}
|
96f15105-a7c1-4eb5-b9c8-ecde76f6d123
|
@Override
public BufferedImage Generate(BufferedImage img){
// Make original image greyscale
double[][] greyscale = new double[img.getHeight()][img.getWidth()];
for(int x = 0; x < img.getWidth(); x++){
for(int y = 0; y < img.getHeight(); y++){
Color color = new Color(img.getRGB(x, y));
greyscale[y][x] = (color.getRed() + color.getGreen()+ color.getBlue()) / 3;
}
}
// Filter image using operator on both axes
double[][] X = Convolve(greyscale, OPERATOR_X());
double[][] Y = Convolve(greyscale, OPERATOR_Y());
// Initialize the image to return
BufferedImage result = new BufferedImage(img.getWidth(), img.getHeight(), BufferedImage.TYPE_INT_RGB);
for(int x = 0; x < img.getWidth(); x++){
for(int y = 0; y < img.getHeight(); y++){
float red = Math.min(1,(float) X[y][x]);
float green = Math.min(1,(float) Y[y][x]);
float blue = Math.min(1,(float) ((X[y][x] + Y[y][x])) * 2);
Color color = new Color(red, green, blue);
//Color color = Color.red;
result.setRGB(x, y, color.getRGB());
}
}
return result;
}
|
b1940866-0d29-47f8-a11b-3726988d52a2
|
public void setCustomText89(java.lang.String customText89) {
this.customText89 = customText89;
}
|
4107a5ae-2f9c-4369-909e-dfc3a5703854
|
public java.math.BigDecimal getCustomNumber62() {
return this.customNumber62;
}
|
f6a36687-65c1-4cbc-baec-8b474711608e
|
public crmondemand.xml.contact.query.QueryType getCustomPickList37() {
return this.customPickList37;
}
|
6b5aeb96-024f-4c72-a9a6-4a39a5c9e1f5
|
public final ExplicitConstructorInvocationContext explicitConstructorInvocation() throws RecognitionException {
ExplicitConstructorInvocationContext _localctx = new ExplicitConstructorInvocationContext(_ctx, getState());
enterRule(_localctx, 108, RULE_explicitConstructorInvocation);
int _la;
try {
setState(708);
switch ( getInterpreter().adaptivePredict(_input,82,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(693);
_la = _input.LA(1);
if (_la==5) {
{
setState(692); nonWildcardTypeArguments();
}
}
setState(695);
_la = _input.LA(1);
if ( !(_la==18 || _la==79) ) {
_errHandler.recoverInline(this);
}
consume();
setState(696); arguments();
setState(697); match(77);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(699); primary();
setState(700); match(71);
setState(702);
_la = _input.LA(1);
if (_la==5) {
{
setState(701); nonWildcardTypeArguments();
}
}
setState(704); match(18);
setState(705); arguments();
setState(706); match(77);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
|
c26c9dc2-6644-4887-8713-5b07ce3e57d2
|
public void setCustomPhone15(java.lang.String customPhone15) {
this.customPhone15 = customPhone15;
}
|
b4ceea35-09ac-468d-8ae6-bb47622110c4
|
public String categorize(String s)
{
String t = s.toUpperCase();
// the array to store the number of keywords in each category hash
// table which are also contained in the given string s.
int[] results = new int[categoryHashsets.size()];
for(int i = 0; i < results.length; i++)
results[i] = 0 ;
// see if the string to be categorized contains any keyword in the
// the category keywords hash tables contained in the categoryHashsets
for(int i = 0; i < categoryHashsets.size(); i++){
for(Object word : categoryHashsets.get(i)){
if(StringUtils.contains(t, ((String) word).toUpperCase())){
results[i]++;
}
}
}
int i = 0;
// if no keyword in the current category keywords hash tables matches,
// return "Other Crime Reports";
while(results[i] <= 0){
i++;
if(i == results.length)
return "Other Crime Reports";
}
// return the first category which has keywords mentioned in the given string s
return this.categories.get(i);
}
|
7b76df52-a638-4a06-8066-4c1c4a5c8030
|
public void setCustomBoolean5(java.lang.Boolean customBoolean5) {
this.customBoolean5 = customBoolean5;
}
|
3ac67e9e-38c9-4938-8233-0395146c56dd
|
public java.lang.String getCustomObject11Name() {
return this.customObject11Name;
}
|
f0622bac-70be-4327-b681-e5c9220f5532
|
public crmondemand.xml.customobject6.query.QueryType getCustomPickList72() {
return this.customPickList72;
}
|
590f56e5-ab58-4c49-83eb-0ca0854c7a7e
|
public crmondemand.xml.opportunity.query.QueryType getActivitySubject() {
return this.activitySubject;
}
|
b656100c-d55f-401f-bcbd-79cb586d4152
|
public void setCustomDate17(java.util.Calendar customDate17) {
this.customDate17 = customDate17;
}
|
80e6a84d-873b-42a6-b99d-0d523f702e89
|
public java.lang.String getExternalSystemId() {
return this.externalSystemId;
}
|
a3692b7c-0bcf-4f60-9fe1-d5d26d233c84
|
public java.lang.String getPlanItemExternalSystemId() {
return this.planItemExternalSystemId;
}
|
10ced373-5914-465a-8ee9-9191d42e6735
|
public static Sprite sprite(String name)
{
return(spriteMap.get(name));
}
|
93b0b11e-54ad-4d41-b3ba-730731793be2
|
public void setCustomDate12(crmondemand.xml.opportunity.query.QueryType customDate12) {
this.customDate12 = customDate12;
}
|
c96ed2bb-1cd9-4c67-8b29-660ca0b32d0c
|
public java.lang.String getCustomText26() {
return this.customText26;
}
|
6549fc98-4314-46b1-ae29-d381f40b34d4
|
public void setCustomNumber60(crmondemand.xml.contact.query.QueryType customNumber60) {
this.customNumber60 = customNumber60;
}
|
ff597ad6-f0cd-4920-aa12-e30a061fcb63
|
public short getThriftFieldId() {
return _thriftId;
}
|
9e85881d-a848-4996-931b-35b44178dce4
|
public void setCustomObject13IntegrationId(java.lang.String customObject13IntegrationId) {
this.customObject13IntegrationId = customObject13IntegrationId;
}
|
bd22fc79-5a21-47e1-bb83-9983892acc1c
|
public void setCustomObject2Type(crmondemand.xml.customobject3.query.QueryType customObject2Type) {
this.customObject2Type = customObject2Type;
}
|
0b2e615c-a462-49b4-bdc5-17b61592d130
|
public crmondemand.xml.customobject3.query.QueryType getCustomDate24() {
return this.customDate24;
}
|
271999b6-49f6-417f-8275-56c9579bccd1
|
public String dequeue() throws Exception {
String retVal = null;
// Check for underflow.
if (! this.isEmpty()) {
retVal = arr[frontPtr];
// Shift every element towards the front.
for(int i = 0; i < backPtr; i++) {
arr[i] = arr[i+1];
}
// Reinitialize the last element
arr[backPtr] = null;
// shift the back pointer towards the front.
backPtr--;
} else {
// In case of underflow, throw an underflow exception.
Exception underflow = new Exception("Queue Underflow");
throw underflow;
}
return retVal;
}
|
a3d7f7af-e6bd-4836-8065-e224561acfd0
|
public Parser standard2AlphabetType() {
if (standard2AlphabetTypeParser == null) {
FutureParser future = scoped("standard2AlphabetType");
standard2AlphabetTypeParser = future;
future.setParser(
token("STANDARD-2")
);
}
return standard2AlphabetTypeParser;
}
|
92521696-b69e-4640-8621-afece17e469f
|
public void setCustomText21(java.lang.String customText21) {
this.customText21 = customText21;
}
|
c4ad68ee-5387-4826-b052-41af62036055
|
public static OutputStream wrapNativeOutputStream(PrintableStringWriter nativestream) {
if (nativestream == Stella.STANDARD_OUTPUT.nativeStream) {
return (Stella.STANDARD_OUTPUT);
}
else {
{ OutputStream self000 = OutputStream.newOutputStream();
self000.nativeStream = nativestream;
{ OutputStream value000 = self000;
return (value000);
}
}
}
}
|
ed3fc7a3-adaf-4ebd-b1cb-cb98793ef195
|
public boolean existeCarroceria(String nombre) throws Exception;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.