id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
656586af-98e6-4934-823c-50e0e95a2506
|
public void setCertficationCertificationNum(java.lang.String certficationCertificationNum) {
this.certficationCertificationNum = certficationCertificationNum;
}
|
7d6df5f0-b568-4fb3-a1eb-bb3ba9cdd564
|
public void enterRunningState()
{
if(duration()>=0)
{
waitRemaining=-1;
if(duration()==0)
ticksRemaining=1;
else
if((resetData!=null)&&(resetData[1]>0))
ticksRemaining=resetData[1];
else
ticksRemaining=duration();
CMLib.threads().startTickDown(this,Tickable.TICKID_QUEST,1);
}
resetData=null;
lastStartDateTime=System.currentTimeMillis();
stepEllapsedTimes.remove(script());
}
|
ca4b0ebe-203d-427b-8fe6-c5e50ce7a8f2
|
public crmondemand.xml.customobject3.query.QueryType getCustomText4() {
return this.customText4;
}
|
72107378-c427-4b79-9972-6cdc53a66808
|
public void setCustomDate18(java.util.Calendar customDate18) {
this.customDate18 = customDate18;
}
|
6904f8cd-3a50-40ea-a89e-21fb5f18fc5a
|
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof Java7Listener ) ((Java7Listener)listener).enterStatementExpression(this);
}
|
859a6618-9625-4772-9bfe-86213782ccf9
|
public static void DressUpRequest(final MapleCharacter chr, LittleEndianAccessor slea) {
int code = slea.readInt();
switch (code) {
case 5010093:
chr.getClient().getSession().write(JobPacket.AngelicPacket.updateDress(code, chr));
chr.getClient().getSession().write(CField.updateCharLook(chr, true));
break;
case 5010094:
chr.getClient().getSession().write(JobPacket.AngelicPacket.updateDress(code, chr));
chr.getClient().getSession().write(CField.updateCharLook(chr, true));
break;
}
}
|
02460209-7449-4047-917e-9cf9bf85273c
|
public void setCustomDate18(crmondemand.xml.contact.query.QueryType customDate18) {
this.customDate18 = customDate18;
}
|
94c7e7d0-6608-4141-9c03-4eafe52917c6
|
public void setCustomPickList18(java.lang.String customPickList18) {
this.customPickList18 = customPickList18;
}
|
2035cad5-f533-4288-9d51-b675afb8e7f7
|
public java.lang.String getCustomPickList60() {
return this.customPickList60;
}
|
9494b42f-b295-4236-a890-8fd40072c95c
|
public crmondemand.xml.customobject6.query.QueryType getCustomCurrency16() {
return this.customCurrency16;
}
|
f92bced0-29e0-4f4a-8483-b223557135d2
|
public crmondemand.xml.customobject6.query.QueryType getCustomObject3ExternalSystemId() {
return this.customObject3ExternalSystemId;
}
|
a1e802a6-0cff-44aa-846e-608edd6aeddb
|
public void windowOpened(java.awt.event.WindowEvent evt) {
formWindowOpened(evt);
}
|
9fe42b4c-3872-4000-9031-b62d9ffc1bd9
|
public crmondemand.xml.contact.query.QueryType getCustomPickList54() {
return this.customPickList54;
}
|
2e3c861f-7f54-477b-8f61-019ab82bb55c
|
public void setCustomNumber23(crmondemand.xml.contact.query.QueryType customNumber23) {
this.customNumber23 = customNumber23;
}
|
3dacdc4d-7470-4ace-b088-3e84b9db78ad
|
public java.lang.String getCustomObject10Id() {
return this.customObject10Id;
}
|
170b52f9-57bf-4e7d-821a-49ad97f20c21
|
@Override
public boolean isSupported(DateTimeField field) {
if (field instanceof ChronoField) {
ChronoField f = (ChronoField) field;
return f.isDateField() || f.isTimeField();
}
return field != null && field.doIsSupported(this);
}
|
998654e3-59d9-423d-a322-775155f79a8c
|
public java.lang.String getCampaignExternalSystemId() {
return this.campaignExternalSystemId;
}
|
01cc81b5-efe2-4203-83af-36cbc2a20150
|
public void setDistributorReference(java.lang.Boolean distributorReference) {
this.distributorReference = distributorReference;
}
|
9f0d987a-ff0a-47cc-990f-13a3554648cf
|
public crmondemand.xml.customobject6.query.QueryType getZCustomText87() {
return this.zCustomText87;
}
|
c3321f6c-55ec-4731-ae5a-c7a891f5b181
|
public void setCustomCurrency19(java.math.BigDecimal customCurrency19) {
this.customCurrency19 = customCurrency19;
}
|
9259d81a-a993-44ed-91d6-a309cfd5d5c9
|
public java.util.Calendar getCustomDate55() {
return this.customDate55;
}
|
aae2085b-7e80-4f7c-bea7-f196367372f5
|
public int getCenterY() {
return centerY;
}
|
3936e6bb-5824-4268-b338-0aa830207543
|
public void setCustomBoolean14(crmondemand.xml.contact.query.QueryType customBoolean14) {
this.customBoolean14 = customBoolean14;
}
|
e59e4de6-7ac6-4580-8ec8-0558ced633b2
|
public java.lang.String getCustomPhone8() {
return this.customPhone8;
}
|
963ac514-2fde-4a4d-8492-61e7df148a91
|
public void setAccountTerritory(crmondemand.xml.customobject6.query.QueryType accountTerritory) {
this.accountTerritory = accountTerritory;
}
|
362cc4ba-d00c-494c-92aa-7605d646263d
|
public void setIndustry(java.lang.String industry) {
this.industry = industry;
}
|
bb0c8f68-90e6-4eed-8288-7a3c0cb2a2d2
|
public void setCustomInteger3(java.lang.Integer customInteger3) {
this.customInteger3 = customInteger3;
}
|
3c74d2e2-aaf5-4e1d-b9bc-5127bc0582f8
|
public double getHerstelPrijs(String id) {
return producten.get(id).getBasisprijs() / 3;
}
|
3e75e117-6cb9-41bb-ae63-cb58360a9f63
|
public void setCustomText74(java.lang.String customText74) {
this.customText74 = customText74;
}
|
afc53d72-9bd2-4033-950d-19c0973e6e58
|
public java.math.BigDecimal getCustomNumber53() {
return this.customNumber53;
}
|
5105c614-9b34-4beb-952a-fc662465b15c
|
public void setCustomPickList93(crmondemand.xml.opportunity.query.QueryType customPickList93) {
this.customPickList93 = customPickList93;
}
|
a871aff9-f48c-4867-b736-626e1cd952da
|
public crmondemand.xml.customobject6.query.QueryType getDealRegistrationDealRegistrationName() {
return this.dealRegistrationDealRegistrationName;
}
|
3fa81d29-a331-41e0-97d7-a4ce7a7c05c2
|
public static int consultarVenda(String data) {
Date dataRetornada = Date.valueOf(data);
String venda = Facade.getInstance().consultarVenda(dataRetornada);
int codigo = 0;
if (!venda.isEmpty()) {
codigo = Integer.parseInt(JOptionPane.showInputDialog(
null, new JTextArea("Digite o código referente a venda que deseja detalhar: \n\n" + venda)).toString());
}
return codigo;
}
|
0729d8f5-2153-4b7d-a95c-875cad20993f
|
public java.math.BigDecimal getCustomNumber57() {
return this.customNumber57;
}
|
fdfa338f-35c0-4038-bec8-3bfbf19f872a
|
public crmondemand.xml.contact.query.QueryType getNextStep() {
return this.nextStep;
}
|
e7499e93-a473-43ca-8836-640d37adebdd
|
public crmondemand.xml.customobject6.query.QueryType getCustomText47() {
return this.customText47;
}
|
e42d833c-5221-4dd9-ae08-0868e548a4c3
|
public int getxPos() {
return xPos + Game.instance.screen.xOff;
}
|
e4dbc9b0-32ad-41d8-938d-1579c4d97da5
|
public crmondemand.xml.customobject3.query.QueryType getCustomPhone11() {
return this.customPhone11;
}
|
57bf747a-3775-4309-8f83-73e9d62af1e0
|
public java.lang.String getActivityStatus() {
return this.activityStatus;
}
|
f8a97dac-7b18-48b4-b769-9d35f06d75d3
|
public static FixedObject create(String name)
{
return new FixedObject(name);
}
|
3b6e2ec5-4f1c-4876-81d6-1f2870265cbc
|
public crmondemand.xml.customobject3.query.QueryType getCustomPickList83() {
return this.customPickList83;
}
|
e9758d63-0edb-4b60-9c4c-9d89f37bec3c
|
public java.lang.String getCustomObject8IntegrationId() {
return this.customObject8IntegrationId;
}
|
60f1a1a7-569a-4e47-a12d-8ed958770d4e
|
public void setCustomText23(java.lang.String customText23) {
this.customText23 = customText23;
}
|
fd1e88d9-e9e3-4b02-9540-01c88e1d677f
|
public void setCustomDate14(java.util.Calendar customDate14) {
this.customDate14 = customDate14;
}
|
c9b65798-68ab-4949-8904-5a4b9a7678b6
|
public Body(int name, GPUTexture[] textures, double rx,double ry,double rz){
this.name = name;
this.ib = new ImageBoard(name, textures, 100, 100);
axis = new Vector3f((float)rx,(float)ry,(float)rz);
if(axis.length()==0){
mat.setIdentity();
} else {
axis.normalise();
mat.rotate((float)(2*Math.PI*Math.random()), axis);
}
this.x = Math.random()*500 - 250;
this.y = 500;
this.z = Math.random()*500 - 250;
this.vx = Math.random()*1.0 - 0.5;
this.vy = Math.random()*2.0 - 2.5;
this.vz = Math.random()*1.0 - 0.5;
refreshImageBoard();
isAlive = true;
dragging = false;
}
|
cd301128-aa1e-4f59-a995-be77aa092886
|
public User get(String key){
return map.get(key);
}
|
41adef5d-b96e-4032-8c18-4075bec58b54
|
public java.lang.String getPlanName() {
return this.planName;
}
|
54b3f0e5-fd20-4f98-bc9e-cac54a6239e4
|
public TileServer getTileServer() {
return tileServer;
}
|
e44eb0da-b31b-4109-985a-a8ca73f4d9d2
|
public void setHouseholdId(java.lang.String householdId) {
this.householdId = householdId;
}
|
d55f1e4c-d1da-4c2e-827c-87994b8cbfe1
|
public void setCustomDate22(java.util.Calendar customDate22)
{
this.customDate22 = customDate22;
}
|
1ff2d851-9ac2-435d-a804-70f762f2e3e4
|
public void setCustomPhone0(java.lang.String customPhone0) {
this.customPhone0 = customPhone0;
}
|
6b50f52c-5f64-4362-835c-d1aeb7fbd710
|
*/
private int backspace(final int num) throws IOException {
if (buf.cursor == 0) {
return 0;
}
int count = - moveCursor(-num);
int clear = wcwidth(buf.buffer, buf.cursor, buf.cursor + count, getCursorPosition());
buf.buffer.delete(buf.cursor, buf.cursor + count);
drawBuffer(clear);
return count;
}
|
0b9e923b-23e9-4216-8dd5-b75fa4423768
|
public java.util.Calendar getCustomDate55() {
return this.customDate55;
}
|
2ef0497a-d357-4db4-b99f-3a5d5091d6a9
|
public BufferedImage getMenuBG(){
return bg;
}
|
763cf876-45cc-4b5b-bbc3-7defc1caef94
|
public void setServiceRequestExternalSystemId(java.lang.String serviceRequestExternalSystemId) {
this.serviceRequestExternalSystemId = serviceRequestExternalSystemId;
}
|
d821188e-cff0-4254-a379-a9a56aef60ec
|
@Override
public void actionPerformed(ActionEvent e) {
if(lt.getText().equalsIgnoreCase(lts))
{
lt.setForeground(cc);
lt.setBorder(null);
lt.setEditable(false);
}
else
{
lt.setForeground(wc);
}
}
|
129af35c-5e36-4a2c-88e6-44c09239c4d2
|
@Override
public void run() {
try {
if (log.isDebugEnabled()) {
log.debug(String.format("concurrent start trigger event=%s listener=%s",
innerEventContext.getEventName(), innerListener.getClass()));
}
innerListener.response(innerEventContext);
if (log.isDebugEnabled()) {
log.debug(String.format("concurrent end trigger event=%s listener=%s",
innerEventContext.getEventName(), innerListener.getClass()));
}
} catch (EventException e) {
log.error(String.format("trigger event for listener exception event=%s listener=%s",
innerEventContext.getEventName(), innerListener.getClass()), e);
} catch (Exception e) {
log.error(e);
}
}
|
97393305-05a0-4abb-a167-f1d8888314f3
|
public java.lang.String getServiceRequestId() {
return this.serviceRequestId;
}
|
84c715d1-58ff-45c8-9d60-f7d16a5c9d7e
|
public Plants(){}
|
d6c9b485-818d-4b45-a02d-151b9ecc844f
|
public void setOwnerAlias(crmondemand.xml.opportunity.query.QueryType ownerAlias) {
this.ownerAlias = ownerAlias;
}
|
2d43dc11-929e-485f-9e9b-20abd754bbf9
|
@Override
public DeadBody killMeDead(boolean createBody)
{
final Room deathRoom;
if (isMonster())
deathRoom = location();
else
deathRoom = CMLib.login().getDefaultBodyRoom(this);
if (location() != null)
location().delInhabitant(this);
DeadBody Body = null;
if (createBody)
{
Body = charStats().getMyRace().getCorpseContainer(this, deathRoom);
if ((Body != null) && (playerStats() != null))
playerStats().getExtItems().addItem(Body);
}
amDead = true;
makePeace(false);
setRiding(null);
synchronized (commandQue)
{
commandQue.clear();
}
Ability A = null;
for (int a = numEffects() - 1; a >= 0; a--)
{
A = fetchEffect(a);
if (A != null)
A.unInvoke();
}
setLocation(null);
if (isMonster())
{
while (numFollowers() > 0)
{
final MOB follower = fetchFollower(0);
if (follower != null)
{
follower.setFollowing(null);
delFollower(follower);
}
}
setFollowing(null);
}
if ((!isMonster()) && (soulMate() == null))
bringToLife(CMLib.login().getDefaultDeathRoom(this), true);
if (deathRoom != null)
deathRoom.recoverRoomStats();
return Body;
}
|
778ec7b2-e954-42db-bef2-d58c8c4ca1f2
|
public int getGoodsNum() {
return goodsNum;
}
|
05a45240-2675-4628-bc9e-42082a795e10
|
public void setCustomPickList83(java.lang.String customPickList83) {
this.customPickList83 = customPickList83;
}
|
dac26513-66be-4e5a-be38-5707bd2a1f2d
|
public void setType(crmondemand.xml.customobject6.query.QueryType type) {
this.type = type;
}
|
71741fe6-984a-4300-a164-be797e5ef578
|
double sin(double input) {
return Math.sin(input);
}
|
86ccf139-23f0-4aba-b586-9277ff0ddd40
|
public java.lang.String getCustomPickList96() {
return this.customPickList96;
}
|
87376f3e-c59b-4bc2-a1d1-55a394cc85cb
|
public crmondemand.xml.customobject3.query.QueryType getCustomDate32() {
return this.customDate32;
}
|
fc091e59-4765-46a4-b0a8-bdcf9641c5c4
|
public void setCustomPickList23(crmondemand.xml.customobject3.query.QueryType customPickList23) {
this.customPickList23 = customPickList23;
}
|
d546278f-162f-485f-9722-fa64047abc8a
|
public crmondemand.xml.customobject6.query.QueryType getCustomBoolean33() {
return this.customBoolean33;
}
|
2da81b90-f7f6-44da-b287-0738c824b4c9
|
public crmondemand.xml.customobject6.query.QueryType getCustomDate24() {
return this.customDate24;
}
|
d8467b80-7267-4370-95b7-243daad3ce0c
|
public void setCustomText60(crmondemand.xml.customobject3.query.QueryType customText60) {
this.customText60 = customText60;
}
|
9ee3e8c0-4ab6-4808-b1dc-deaba815304f
|
public java.lang.String getCustomText23() {
return this.customText23;
}
|
5ea44fb9-4780-47e1-b9f2-9f071eeb6462
|
public void setCustomDate17(crmondemand.xml.customobject6.query.QueryType customDate17) {
this.customDate17 = customDate17;
}
|
0ed4d4cf-1234-481a-b7fa-a913eed1efde
|
public static PokerGameType[] getAllGameTypesArray() {
return values();
}
|
8102c83d-8b36-472c-9a07-311bf2bc3b73
|
public java.lang.String getCustomPhone18() {
return this.customPhone18;
}
|
e4c930a6-395a-4899-a973-b970da6fb31b
|
public void setLoginMB(LoginMB loginMB) {
this.loginMB = loginMB;
}
|
a8a1db01-b553-4b8e-a033-acfd91b2ef5f
|
public crmondemand.xml.contact.query.QueryType getQuickSearch2() {
return this.quickSearch2;
}
|
93b22466-9ca8-4c47-8c35-1a6f3be965dc
|
@Test
public void testThreeScenarios() {
DataFile dataFile = new DataFile("com/zavazoo/dingo/three-scenarios", null);
dataFile.openFile();
Scenarios scenarios = new Scenarios(dataFile);
assertTrue(scenarios.more());
assertTrue(scenarios.more());
assertTrue(scenarios.more());
assertTrue(scenarios.more());
assertTrue(scenarios.more());
assertTrue(scenarios.more());
dataFile = new DataFile("com/zavazoo/dingo/three-scenarios", null);
dataFile.openFile();
scenarios = new Scenarios(dataFile);
assertNotNull(scenarios.next());
assertNotNull(scenarios.next());
assertNotNull(scenarios.next());
assertNull(scenarios.next());
assertNull(scenarios.next());
assertNull(scenarios.next());
dataFile = new DataFile("com/zavazoo/dingo/three-scenarios", null);
dataFile.openFile();
scenarios = new Scenarios(dataFile);
assertTrue(scenarios.more());
assertNotNull(scenarios.next());
assertTrue(scenarios.more());
assertNotNull(scenarios.next());
assertTrue(scenarios.more());
assertNotNull(scenarios.next());
assertFalse(scenarios.more());
assertNull(scenarios.next());
assertFalse(scenarios.more());
assertNull(scenarios.next());
dataFile = new DataFile("com/zavazoo/dingo/three-scenarios", null);
dataFile.openFile();
scenarios = new Scenarios(dataFile);
assertNotNull(scenarios.next());
assertTrue(scenarios.more());
assertNotNull(scenarios.next());
assertTrue(scenarios.more());
assertNotNull(scenarios.next());
assertFalse(scenarios.more());
assertNull(scenarios.next());
assertFalse(scenarios.more());
assertNull(scenarios.next());
dataFile = new DataFile("com/zavazoo/dingo/three-scenarios", null);
dataFile.openFile();
scenarios = new Scenarios(dataFile);
assertTrue(scenarios.more());
assertTrue(scenarios.more());
assertTrue(scenarios.more());
assertTrue(scenarios.more());
assertTrue(scenarios.more());
assertNotNull(scenarios.next());
assertTrue(scenarios.more());
assertNotNull(scenarios.next());
assertNotNull(scenarios.next());
assertFalse(scenarios.more());
assertFalse(scenarios.more());
assertFalse(scenarios.more());
assertNull(scenarios.next());
}
|
aa2b9deb-409b-455c-8d8c-e135124e5539
|
opcode op_2f = new opcode() { public void handler()/* CPL */
{
//TODO recheck it i am not sure (shadow)
// _A ^= 0xff; _F = (_F&(SF|ZF|PF|CF))|HF|NF|(_A&(YF|XF));
Z80.AF.SetH(Z80.AF.H ^ 0xff);
//Z80.AF.SetL(((Z80.AF.L & (SF|ZF|PF|CF)) | HF|NF | (Z80.AF.H & (YF|XF))) & 0xFF);
Z80.AF.SetL((Z80.AF.L & (0xc5)) | 0x12 | (Z80.AF.H & (0x28)));
}}
|
92f3156d-02f8-41db-9a3b-2ba08fc05812
|
public void setCustomCurrency18(crmondemand.xml.contact.query.QueryType customCurrency18) {
this.customCurrency18 = customCurrency18;
}
|
322956c3-f75f-4713-84d5-1e2168c03f41
|
public void setShuffledState() {
Random random = new Random();
for(int i=0;i<20;i++) {
switch(random.nextInt(5)) {
case 0 : shiftUp(random.nextInt(3)); break;
case 1 : shiftDown(random.nextInt(3)); break;
case 2 : shiftLeft(random.nextInt(3)); break;
case 3 : shiftRight(random.nextInt(3)); break;
case 4 : shiftRotate("F", 1); break;
case 5 : shiftRotate("F", 3); break;
default : break;
}
}
for(int i=0;i<3;i++) {
grid[i][0] = -1;
grid[i][1] = -1;
}
main_grid.setColor(color_bg);
resetMoves();
goToFront();
}
|
83ef2b5f-0c87-4c37-a855-8fbd0e9887df
|
public void setOpportunityRevenue(crmondemand.xml.contact.query.QueryType opportunityRevenue) {
this.opportunityRevenue = opportunityRevenue;
}
|
40765cf4-9c1b-4ffd-9c67-8aa9c3c6a049
|
public crmondemand.xml.customobject6.query.QueryType getBusinessAccountIntegrationId() {
return this.businessAccountIntegrationId;
}
|
f1546955-e08d-45ed-8545-e3a370823db9
|
public void setCustomObject12ExternalSystemId(java.lang.String customObject12ExternalSystemId) {
this.customObject12ExternalSystemId = customObject12ExternalSystemId;
}
|
0c920014-b07c-4ed2-a1f7-a805b2be3095
|
public Builder addAllMessageType(
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.DescriptorProto> values) {
if (messageTypeBuilder_ == null) {
ensureMessageTypeIsMutable();
super.addAll(values, messageType_);
onChanged();
} else {
messageTypeBuilder_.addAllMessages(values);
}
return this;
}
|
04fbba4a-2b12-4cf1-9c8d-20bea620e57a
|
public java.lang.String getCustomObject13ExternalSystemId() {
return this.customObject13ExternalSystemId;
}
|
b389c2e2-0cf0-4491-9e20-82e7ae8ca060
|
public void setCustomPickList5(java.lang.String customPickList5) {
this.customPickList5 = customPickList5;
}
|
603f8355-db2e-44f8-a978-40c46b1a85ba
|
public java.lang.String getCustomText53() {
return this.customText53;
}
|
ea6bde0d-282e-4d9a-aea6-768b3a43f480
|
public void setDealRegistrationDealRegistrationName(java.lang.String dealRegistrationDealRegistrationName) {
this.dealRegistrationDealRegistrationName = dealRegistrationDealRegistrationName;
}
|
8a597c99-e201-4f37-8dc2-61cc2edaf7e0
|
public java.lang.String getCustomPickList32() {
return this.customPickList32;
}
|
2c9d3ec6-71c7-47b2-8a85-ace3e55d6170
|
public void setCustomDate0(crmondemand.xml.opportunity.query.QueryType customDate0) {
this.customDate0 = customDate0;
}
|
87c9cdab-023a-4878-a124-37b13f0bfb00
|
public java.util.Calendar getCustomDate33() {
return this.customDate33;
}
|
ab5b1756-729b-4ee1-9e54-969892601ddb
|
public void setCustomText52(java.lang.String customText52) {
this.customText52 = customText52;
}
|
26a090ec-bab2-4196-b812-9e2ede8e305f
|
public crmondemand.xml.opportunity.query.QueryType getCustomCurrency1() {
return this.customCurrency1;
}
|
4c7e0ec1-d961-433c-a645-ea90e39182a3
|
public java.lang.String getCustomMultiSelectPickList1() {
return this.customMultiSelectPickList1;
}
|
218c1157-eccc-4c47-815b-98409d0585de
|
public FollowerList(User currUser, ResultSet rs, Connection cnxn, boolean confirmedVal, GUI currGUI) {
super(new BorderLayout());
this.currGUI = currGUI;
this.currUser = currUser;
this.cnxn = cnxn;
this.confirmedVal = confirmedVal;
this.listModel = new DefaultListModel();
//keep track of number of results returned
int rslCnt = 0;
//get follower names
try {
//add followers' names to list model
while (rs.next()) {
listModel.addElement(rs.getString("name"));
rslCnt++;
}
} catch (SQLException e) {
// TODO suppress stack trace
e.printStackTrace();
}
//Create the list
list = new JList(listModel);
//only allow one follower to be selected at a time
list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
//setup listener for when a list item is selected
list.addListSelectionListener(this);
//show five rows of followers, scroll through rest
list.setVisibleRowCount(5);
//create pane for list
JScrollPane listScrollPane = new JScrollPane(list);
//if at least one follower was returned
if (rslCnt > 0) {
//add buttons based on whether we're getting followers or requested followers
if (confirmedVal) {
//create button to revoke follow permission from follower
denyButton = new JButton(REVOKE_STRING);
denyButton.setActionCommand(REVOKE_STRING);
denyButton.addActionListener(new DenyListener());
} else {
//add approve + deny follow request buttons
denyButton = new JButton(DENY_STRING);
denyButton.setActionCommand(DENY_STRING);
denyButton.addActionListener(new DenyListener());
approveButton = new JButton(APPROVE_STRING);
approveButton.setActionCommand(APPROVE_STRING);
approveButton.addActionListener(new ApproveListener());
}
//TODO: implement followback
/*
followBackButton = new JButton(FOLLOW_BACK_STRING);
followBackButton.setActionCommand(FOLLOW_BACK_STRING);
followBackButton.addActionListener(new FollowBackListener());
*/
}
//Create a panel that uses BoxLayout.
JPanel buttonPane = new JPanel();
buttonPane.setLayout(new BoxLayout(buttonPane, BoxLayout.LINE_AXIS));
buttonPane.add(Box.createHorizontalStrut(5));
//set border
buttonPane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
//add button(s) if at least one result was returned
if (rslCnt > 0) {
//if we're dealing with follow requests, add the approve button
if (!confirmedVal) {
buttonPane.add(approveButton);
}
//add the revoke/deny button
buttonPane.add(denyButton);
//TODO: followback not yet implemented
//buttonPane.add(followBackButton);
}
add(listScrollPane, BorderLayout.CENTER);
add(buttonPane, BorderLayout.PAGE_END);
}
|
7b69c638-86c1-4c82-b5f7-320982ad6ea8
|
@Override
public String toString() {
return "IkszorBinaryObject " +
"[encodedValue=" + IkszorManager.booleanArray2BinaryString(encodedValue) + "["+(encodedValue != null ? encodedValue.length : "null")+"]" +
", symmetricKey=" + IkszorManager.booleanArray2BinaryString(symmetricKey) + "["+(symmetricKey != null ? symmetricKey.length : "null")+"]" +
", decodedValue=" + IkszorManager.booleanArray2BinaryString(decodedValue) + "["+(decodedValue != null ? decodedValue.length : "null")+"]" +
", isEncoded=" + isEncoded +
", isDecoded=" + isDecoded + "]";
}
|
f9671adf-ecd0-4ab2-83ac-7282c0d780ba
|
public crmondemand.xml.customobject6.query.QueryType getFinancialAccountExchangeDate() {
return this.financialAccountExchangeDate;
}
|
c4dce630-b72b-445a-bb7c-4598144fdd20
|
@Override
public void render(Graphics2D gd) {
background.render(gd);
levels.render(gd);
speed.render(gd);
}
|
82917d44-5716-4402-939f-ce5f7ab46ed7
|
public void handler() {
if (m68klog != null) {
fclose(m68klog);
}
throw new UnsupportedOperationException("Unimplemented");
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.