query stringlengths 7 33.1k | document stringlengths 7 335k | metadata dict | negatives listlengths 3 101 | negative_scores listlengths 3 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
/ renamed from: a | public final boolean mo34575a() {
return this.f16545b == 2;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064... | 0.0 | -1 |
/ renamed from: a | public final void mo34573a(PresageSdkInitCallback presageSdkInitCallback) {
if (mo34576b()) {
presageSdkInitCallback.onSdkInitialized();
} else if (mo34575a()) {
this.f16547d.add(presageSdkInitCallback);
} else if (m20452e()) {
presageSdkInitCallback.onSdkNotI... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064... | 0.0 | -1 |
/ access modifiers changed from: private / renamed from: a | public final void m20436a(Context context, C6502h hVar) {
if (!m20448c(context)) {
Context applicationContext = context.getApplicationContext();
String i = hVar.mo35513i();
if (!C6514hl.m21416a((Object) i, (Object) "")) {
TommedAuvergne.CamembertauCalvados cam... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14:... | [
"0.74791193",
"0.7183595",
"0.706427",
"0.69989604",
"0.69537586",
"0.68506294",
"0.6671992",
"0.6662657",
"0.6653048",
"0.66148585",
"0.66131645",
"0.6557727",
"0.6512991",
"0.6500032",
"0.6500032",
"0.6463079",
"0.63729537",
"0.63633233",
"0.63582325",
"0.63552934",
"0.6350... | 0.0 | -1 |
/ renamed from: a | private static void m20437a(Context context, String str, C6502h hVar) {
C6556j a = C6565k.m21538a(context);
if (a != null) {
try {
CrashReport.register(context, new SdkInfo(m20449d(), str, hVar.mo35503c()), new CrashConfig(a.mo35594o(), context.getPackageName()));
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064... | 0.0 | -1 |
/ compiled from: MainSplashContract | public interface i {
void D(String str);
void H();
void L(String str);
void b0(Response response);
void c(List<DomainExpired> list);
void h(Map<String, List<ExtendedMail>> map);
void p(ApiError apiError);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface SplashContract {\n\n void showSplashImage();\n\n void isLogin();\n\n}",
"interface SplashContract {\n\n interface View{\n void changeToMainScreen(Intent intent);\n void showLoader();\n void hideLoader();\n }\n\n interface Presenter{\n void start();\n ... | [
"0.72668517",
"0.684685",
"0.64813554",
"0.63527024",
"0.6144714",
"0.61340606",
"0.6069095",
"0.60440606",
"0.5988055",
"0.5970808",
"0.5760777",
"0.5720235",
"0.5683814",
"0.565484",
"0.56033534",
"0.55989385",
"0.5560012",
"0.55569434",
"0.55393094",
"0.5537396",
"0.550970... | 0.0 | -1 |
Methode zum Abfragen der ID | public int getId() {
return id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getAId();",
"String getID();",
"String getID();",
"String getID();",
"String getID();",
"@Override public String getID() { return id;}",
"java.lang.String getID();",
"public String getID();",
"public String getID();",
"public String getID();",
"public String getID();... | [
"0.7468488",
"0.7166499",
"0.7166499",
"0.7166499",
"0.7166499",
"0.70697856",
"0.7024694",
"0.701675",
"0.701675",
"0.701675",
"0.701675",
"0.701675",
"0.701675",
"0.701675",
"0.7010748",
"0.7010748",
"0.7010748",
"0.7006122",
"0.7006122",
"0.7006122",
"0.7006122",
"0.7006... | 0.0 | -1 |
Methode zum Abfragen des Schuldners zur Forderung | public Account getDebtor() {
return debtor;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void bfs() {\n\n }",
"@Override\r\n\tpublic void benachrichtigeBeobachter() {\n\t\tfor (int i = 0; i < beobachter.size(); i++) {\r\n\t\t\tBeobachter b = (Beobachter)beobachter.get(i);\r\n\t\t\tb.aktualisieren(temperatur, feuchtigkeit, luftdruck);\r\n\t\t}\r\n\t}",
"public void lowerFla... | [
"0.65572536",
"0.5616409",
"0.55701256",
"0.54736626",
"0.5445026",
"0.5409422",
"0.5404021",
"0.53740317",
"0.53600454",
"0.5354998",
"0.534457",
"0.5326353",
"0.5310751",
"0.52900773",
"0.5273624",
"0.52735347",
"0.5254639",
"0.52387226",
"0.5232235",
"0.5232111",
"0.523016... | 0.0 | -1 |
Methode zum verringern der Forderung | public void decrease(BigDecimal amount) {
this.amount = this.amount.subtract(amount);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"public void trenneVerbindung();",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\n\tpublic void verkaufen() {\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Overrid... | [
"0.70100605",
"0.6994223",
"0.6901269",
"0.68710166",
"0.68413174",
"0.6829898",
"0.66438633",
"0.6618676",
"0.661696",
"0.6601455",
"0.6589873",
"0.65485066",
"0.65485066",
"0.6511183",
"0.65087616",
"0.65072227",
"0.6485759",
"0.648491",
"0.6432402",
"0.6416005",
"0.6376511... | 0.0 | -1 |
getter for char rep of the letter | public char getLetter() {
return letter;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public char getChar();",
"public char getLetter(){\r\n\t\treturn letter;\r\n\t}",
"public char getLetter()\n {\n \treturn letter;\n }",
"public char getLetter()\n\t{\n\t\treturn letter;\n\t}",
"public char getLetter() {\r\n\t\treturn letter;\r\n\t}",
"public char getRepresentative_le... | [
"0.758838",
"0.7339129",
"0.7325808",
"0.725026",
"0.7236674",
"0.7192899",
"0.7160828",
"0.6967036",
"0.69568145",
"0.69083744",
"0.6904582",
"0.6848068",
"0.6837476",
"0.6835895",
"0.68030167",
"0.6764752",
"0.6755149",
"0.6748766",
"0.67449987",
"0.6721923",
"0.66813993",
... | 0.7309393 | 3 |
gets the value associated with the letter | public int getValue() {
return value;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int letterValue(char letter){\n int val;\n\n switch(letter){\n case 'a':\n case 'e':\n case 'i':\n case 'o':\n case 'u':\n case 'l':\n case 'n':\n case 's':\n case 't':\n case 'r': val... | [
"0.7828008",
"0.73155653",
"0.7286312",
"0.72601426",
"0.7213007",
"0.7202301",
"0.7191452",
"0.71355736",
"0.7089925",
"0.7081815",
"0.70397073",
"0.7022884",
"0.70151937",
"0.6988424",
"0.698187",
"0.698187",
"0.698187",
"0.698187",
"0.698187",
"0.698187",
"0.698187",
"0.... | 0.0 | -1 |
gets the value of blank for the tile | public boolean getBlank(){
return blank;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract AwtCell getEmpty();",
"public void checkBlankSpace() {\n\t\tif (xOffset < 0) {\n\t\t\txOffset = 0;\n\t\t} else if (xOffset > handler.getWorld().getWidth() * Tile.TILEWIDTH - handler.getWidth()) {\n\t\t\txOffset = handler.getWorld().getWidth() * Tile.TILEWIDTH - handler.getWidth();\n\t\t}\n\t\t\n\... | [
"0.62383974",
"0.60674244",
"0.6066666",
"0.60545945",
"0.6043541",
"0.6034995",
"0.59981364",
"0.5937425",
"0.5918904",
"0.5910431",
"0.5890343",
"0.58892894",
"0.58892894",
"0.58875364",
"0.58797425",
"0.5861096",
"0.58597296",
"0.5827006",
"0.5769366",
"0.5769366",
"0.5769... | 0.56044185 | 37 |
Setter for the blank value of the tile | public void setBlankValue(char let){
value = 0;
letter = Character.toUpperCase(let);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setEmpty() {\n this.lo = 1;\n this.hi = 0;\n }",
"public abstract void setEmpty(AwtCell empty);",
"void setTile(Tile tile) {\n _tile = tile;\n }",
"public void setAsEmpty(){\n\t\tnodeStatus = Status.empty;\n\t\tunitNum=-1;\n\t}",
"public void blank() {\r\n\t\trunning = false;// sets the sim... | [
"0.664872",
"0.66213506",
"0.6485722",
"0.6451571",
"0.64229447",
"0.63223976",
"0.62417024",
"0.6161327",
"0.61539805",
"0.61465263",
"0.606473",
"0.6054591",
"0.603357",
"0.6017958",
"0.5998147",
"0.5991219",
"0.5983128",
"0.5895712",
"0.58956546",
"0.5856921",
"0.58555657"... | 0.6174526 | 7 |
gets the value of the letter passed into the funciton assigned by the Scrabble letter values | public int letterValue(char letter){
int val;
switch(letter){
case 'a':
case 'e':
case 'i':
case 'o':
case 'u':
case 'l':
case 'n':
case 's':
case 't':
case 'r': val =1;
b... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static int getValue(char c) {\n\t\tswitch(c) {\n\t\tcase 'A': return 0;\n\t\tcase 'C': return 1;\n\t\tcase 'G': return 2;\n\t\tcase 'T': return 3;\n\t\tdefault: return -1;\n\t\t}\n\t}",
"public char getLetter()\n {\n \treturn letter;\n }",
"public static int lookup(char letter) {\n\t\tswit... | [
"0.6715979",
"0.6702214",
"0.66882616",
"0.66550356",
"0.66427976",
"0.66316885",
"0.6593994",
"0.6569289",
"0.6534666",
"0.64779276",
"0.64656746",
"0.6458851",
"0.64331496",
"0.6402616",
"0.6363027",
"0.63328934",
"0.6327007",
"0.6325596",
"0.6308495",
"0.6306343",
"0.62731... | 0.7408698 | 0 |
note that we can't call 'new Guns(code)' because enum can't be instantiated | public static Guns getByCode(int code) {
switch (code){
case 0:
return RIFLE;
case 1:
return SHOTGUN;
case 2:
return REVOLVER;
default:
throw new IllegalArgumentExc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getGunType();",
"EnumValue createEnumValue();",
"EnumValue createEnumValue();",
"EnumValue createEnumValue();",
"CommandEnum() {}",
"public interface CodeEnum {\n int getCode();\n}",
"public interface CodeEnum {\n Integer getCode();\n}",
"public interface CodeEnum {\n\n Integer getCode()... | [
"0.597819",
"0.5926889",
"0.5926889",
"0.5926889",
"0.59195983",
"0.5891851",
"0.5837206",
"0.5832469",
"0.5788721",
"0.5780436",
"0.57726693",
"0.5720042",
"0.56357557",
"0.562155",
"0.55755705",
"0.5563185",
"0.5563185",
"0.5485664",
"0.5483217",
"0.5480538",
"0.5478481",
... | 0.7099625 | 0 |
Implementations are used to wrap credentials (private key and certificate) in various formats. Methods allow for converting the wrapped credentials into the format usable by the Java API. | public interface X509Credential
{
/**
* Returns the credential in a keystore.
* @return the KeyStore
*/
public KeyStore getKeyStore();
/**
* Returns a KeyManager which accompanies the KeyStore.
* @return the KeyManager
*/
public X509ExtendedKeyManager getKeyManager();
/**
* Returns a password w... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static interface Credentials extends Serializable {\n\t\tpublic String getUserName();\n\t\t/**\n\t\t* The password is encrypted.\n\t\t*/\n\t\tpublic String getPassword();\n\t}",
"java.lang.String getCred();",
"public String getCredentials();",
"protected static Credentials getServiceCredentials() thro... | [
"0.62331814",
"0.57630754",
"0.56985074",
"0.5611803",
"0.5477301",
"0.5443048",
"0.5374644",
"0.5362595",
"0.535356",
"0.53035194",
"0.52992547",
"0.5287734",
"0.5240347",
"0.51957566",
"0.51165956",
"0.5115638",
"0.5070796",
"0.5070796",
"0.5070796",
"0.5056618",
"0.50333",... | 0.6055682 | 1 |
Returns the credential in a keystore. | public KeyStore getKeyStore(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException;",
"public interface X509Credential\n{\n\t/**\n\t * Returns the credential in a keystore.\n\t * @return the KeyStore\n\t */\n\tpublic KeyStore getKeyStore();\n\t\n\t/**\n\t * Returns a KeyManager which accompanies the KeySt... | [
"0.6737188",
"0.6554637",
"0.65227765",
"0.6455465",
"0.6375065",
"0.62809235",
"0.6241981",
"0.61765426",
"0.6126623",
"0.6125564",
"0.6077324",
"0.60534704",
"0.60534704",
"0.60534704",
"0.6026971",
"0.601859",
"0.59312695",
"0.5925514",
"0.59077376",
"0.58736247",
"0.58549... | 0.638941 | 4 |
Returns a KeyManager which accompanies the KeyStore. | public X509ExtendedKeyManager getKeyManager(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"KeyManager createKeyManager();",
"private KeyManager getKeyManager() {\n\t\tDefaultResourceLoader loader = new FileSystemResourceLoader();\n\t\tResource storeFile = loader.getResource(\"file:\" + samlProps.get(\"keyStoreFilePath\"));\n\t\tMap<String, String> keyPasswords = new HashMap<String, String>();\n\t\tkey... | [
"0.7823032",
"0.76427734",
"0.69777966",
"0.64417183",
"0.6420365",
"0.6252431",
"0.6236953",
"0.6168296",
"0.61205155",
"0.6082375",
"0.5863376",
"0.5843176",
"0.5772982",
"0.57217246",
"0.56029856",
"0.55916965",
"0.5567912",
"0.55526435",
"0.5536489",
"0.5508041",
"0.54806... | 0.6530037 | 3 |
Helper method to get private key from the underlying keystore | public PrivateKey getKey(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"PrivateKey getPrivateKey();",
"private static RSAPrivateKey getPrivateKey() throws GeneralSecurityException {\n String privateKeyPath = getPrivateKeyPath();\n String keyStorePath = getKeyStorePath();\n String keyStorePrivateKeyAlias = getKeyStoreAlias();\n if (privateKeyPath != null) {\n File pr... | [
"0.7690842",
"0.7603165",
"0.7481525",
"0.7344887",
"0.7344887",
"0.70129824",
"0.69748795",
"0.6971678",
"0.6966449",
"0.69216806",
"0.689514",
"0.6826009",
"0.6815615",
"0.678098",
"0.67638445",
"0.6706222",
"0.6679827",
"0.6650743",
"0.66500586",
"0.6635521",
"0.6635521",
... | 0.731438 | 5 |
Helper method to get certificate from the underlying keystore | public X509Certificate getCertificate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;",
"public @Nullable\n Certificate getCertificate() throws GeneralSecurityException, IOException {\n KeyStoreManager keyStoreManager = KeyStoreManager.builder()\n .context(Config.getIns... | [
"0.8103576",
"0.74788564",
"0.7285411",
"0.69018865",
"0.68898463",
"0.67538553",
"0.65964067",
"0.6509896",
"0.64594394",
"0.6454644",
"0.6421646",
"0.63772905",
"0.6288853",
"0.6217554",
"0.614504",
"0.6121654",
"0.6116181",
"0.6069139",
"0.6058151",
"0.60007554",
"0.598945... | 0.6940157 | 3 |
Helper method to get certificate chain from the underlying keystore | public X509Certificate[] getCertificateChain(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private java.security.cert.Certificate[] getJCACertificateChain() throws KeyStoreException, CertificateException {\n\tjava.security.cert.Certificate[] cert;\n\tcert = keyStore.getCertificateChain(alias);\n\tif (cert == null) {\n\t throw new CertificateException(\"Unknown alias.\");\n\t}\n\treturn cert;\n }",... | [
"0.69246125",
"0.6718227",
"0.64766884",
"0.6105908",
"0.6082079",
"0.5988767",
"0.5880961",
"0.5877681",
"0.5877681",
"0.57865036",
"0.57865036",
"0.5769726",
"0.5769013",
"0.57302564",
"0.57227564",
"0.56792635",
"0.56396896",
"0.56396896",
"0.56198156",
"0.5580087",
"0.554... | 0.69292176 | 0 |
Returns true if the given permutation is valid | private static boolean validateCurrentPerm(int[] perm, int k) {
if (k == 0) {
return true;
}
for (int i = 0; i <= k - 1; i++) {
for (int j = i + 1; j <= k; j++) {
if (perm[i] == perm[j]) {
return false;
}
}
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testIsPermutationOnPermutation() {\n\t\tassertTrue(ArraysAndStrings.isPermutation(PERMUTATION_ONE, PERMUTATION_TWO));\n\t}",
"@Test\n\tprivate void checkPossibilityTest() {\n\t\tint[] input = new int[] {1,1,1};\n Assertions.assertThat(checkPossibility(input)).isTrue();\n\n inpu... | [
"0.7112776",
"0.67287916",
"0.65005976",
"0.6498548",
"0.64521176",
"0.6396646",
"0.6382",
"0.6364895",
"0.63557434",
"0.6326406",
"0.63038933",
"0.623732",
"0.61553967",
"0.61182564",
"0.60823506",
"0.58976334",
"0.58880436",
"0.58688504",
"0.58561295",
"0.58515084",
"0.5849... | 0.6637259 | 2 |
Classic backtracking to generate all permutations. TODO optimize | private static void back(int k) {
for (int i = 0; i < SIZE; i++) {
currentPerm[k] = i;
if (validateCurrentPerm(currentPerm, k)) {
if (k == SIZE - 1) {
String currentPermString = "";
for (int t : currentPerm) {
currentPermString += t;
}
perms.add(currentPermString);
} ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void genPermute() {\n\t\tpermute = new ArrayList<Integer>();\n\t\tfor(int idx = 0; idx < dim(); idx++)\n\t\t\tpermute.add(idx);\n\t\tjava.util.Collections.shuffle(permute);\n\t}",
"private ArrayList<int[]> buildPermutations(int n) {\n mPermutations = new ArrayList();\n mPermuteArray = new int[n];\n for ... | [
"0.7047606",
"0.67845076",
"0.67543393",
"0.65814096",
"0.65382844",
"0.6494808",
"0.6429352",
"0.6335823",
"0.63345945",
"0.63184327",
"0.62838507",
"0.61987627",
"0.61817247",
"0.61154646",
"0.6112818",
"0.61090845",
"0.6101772",
"0.60955405",
"0.6092712",
"0.6089969",
"0.6... | 0.0 | -1 |
/ BWP, 08/26/07: made the method more protective and robust, so that it handles problems with parameters such as "text " (note the space within the String). | public static ResponseType getByName(String name) {
if (name == null || name.length() < 1) {
return ResponseType.INVALID;
}
name = name.trim();
for (int i = 0; i < list.size(); i++) {
ResponseType temp = (ResponseType) list.get(i);
if (temp.getName().e... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected String getString(String text, Object... args){\n return text;\n }",
"String getFromText();",
"protected testString(String text)\r\n\t{\r\n\t\tthis.text = text;\r\n\t}",
"void baInfo(String text);",
"String processing();",
"private String checkNullString(String text) {\n if ( te... | [
"0.66332304",
"0.61141294",
"0.61021185",
"0.60632557",
"0.5999283",
"0.5864458",
"0.57753515",
"0.5753534",
"0.57424045",
"0.56064093",
"0.56037736",
"0.55905986",
"0.5588847",
"0.5522538",
"0.5508843",
"0.54926544",
"0.54668677",
"0.5443419",
"0.5408071",
"0.54008394",
"0.5... | 0.0 | -1 |
TODO check if array not full | public void push(T element){
array[noOfElements] = element;
noOfElements ++;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void checkIfArrayFull() {\n\n if(this.arrayList.length == this.elementsInArray) {\n size *= 2;\n arrayList = Arrays.copyOf(arrayList, size);\n }\n }",
"private boolean checkFull() {\n\t\treturn this.array.length - 1 == this.lastNotNull();\n\t}",
"boolean hasArray(... | [
"0.6938602",
"0.6637463",
"0.6287398",
"0.62864196",
"0.6237319",
"0.62321585",
"0.62071645",
"0.6205745",
"0.6145746",
"0.6052841",
"0.6032794",
"0.6017703",
"0.60161674",
"0.5933468",
"0.59325993",
"0.5922315",
"0.5918535",
"0.58802164",
"0.58763653",
"0.5871758",
"0.586629... | 0.0 | -1 |
Function to check if array has 2 elements whose sum is equal to the given value | static boolean hasArrayTwoCandidates(int A[],
int arr_size, int sum)
{
int l, r;
/* Sort the elements */
Arrays.sort(A);
/* Now look for the two candidates
in the sorted array*/
l = 0;
r = arr_size-1;
while (l < r)
{
if(A[l] + A[r] == sum)
return true;
else if(A[l] + A... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static boolean tripletWithSumExists(int[] arr, int expectedSum){\n Set<Integer> observedElems = new HashSet<>();\n int size = arr.length;\n\n observedElems.add(arr[0]);\n\n for(int i=1; i<size-1; ++i){\n for(int j=i+1; j<size; ++j){\n int complement = expectedSum - (a... | [
"0.72185886",
"0.7085901",
"0.7063605",
"0.70432544",
"0.7027641",
"0.69759285",
"0.6836299",
"0.6835419",
"0.68295515",
"0.6783159",
"0.6771302",
"0.6767058",
"0.6745541",
"0.6681915",
"0.6679203",
"0.6635326",
"0.6621885",
"0.65479696",
"0.65400857",
"0.65075064",
"0.649287... | 0.7527626 | 0 |
Instantiates a new reference range. | public ReferenceRange() {
super();
mRr = CDAFactory.eINSTANCE.createReferenceRange();
mRr.setObservationRange(getObsR());
mRr.setTypeCode(ActRelationshipType.REFV);
this.setInterpretationCode(ObservationInterpretation.NORMAL);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Range createRange();",
"abstract public Range createRange();",
"private Range() {}",
"org.hl7.fhir.ObservationReferenceRange addNewReferenceRange();",
"private ElectronRange(String name, String reference) {\n super(\"Electron Range\", name, reference);\n }",
"Range() {}",
"CollectionRange create... | [
"0.7162287",
"0.7039562",
"0.69284123",
"0.6701876",
"0.6660831",
"0.65163034",
"0.6454936",
"0.6406084",
"0.63112086",
"0.6023787",
"0.6015675",
"0.5982329",
"0.5883854",
"0.5869817",
"0.5746553",
"0.57311714",
"0.5695252",
"0.5688207",
"0.56816196",
"0.56304526",
"0.5581845... | 0.7756733 | 0 |
Instantiates a new reference range. | public ReferenceRange(org.openhealthtools.mdht.uml.cda.ReferenceRange mdht) {
super(mdht.getObservationRange());
this.mRr = mdht;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ReferenceRange() {\n\t\tsuper();\n\t\tmRr = CDAFactory.eINSTANCE.createReferenceRange();\n\t\tmRr.setObservationRange(getObsR());\n\t\tmRr.setTypeCode(ActRelationshipType.REFV);\n\t\tthis.setInterpretationCode(ObservationInterpretation.NORMAL);\n\t}",
"Range createRange();",
"abstract public Range creat... | [
"0.77565277",
"0.71617514",
"0.7039205",
"0.69282246",
"0.6701104",
"0.66612965",
"0.65160656",
"0.6453857",
"0.64041346",
"0.63113886",
"0.60233617",
"0.6014097",
"0.5883209",
"0.58695835",
"0.5746848",
"0.5730704",
"0.56958395",
"0.56882715",
"0.5682752",
"0.5629529",
"0.55... | 0.59815586 | 12 |
Instantiates a new reference range. | public ReferenceRange(Value value, ObservationInterpretation interpretationCode) {
this();
setValue(value);
setInterpretationCode(interpretationCode);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ReferenceRange() {\n\t\tsuper();\n\t\tmRr = CDAFactory.eINSTANCE.createReferenceRange();\n\t\tmRr.setObservationRange(getObsR());\n\t\tmRr.setTypeCode(ActRelationshipType.REFV);\n\t\tthis.setInterpretationCode(ObservationInterpretation.NORMAL);\n\t}",
"Range createRange();",
"abstract public Range creat... | [
"0.7756733",
"0.7162287",
"0.7039562",
"0.69284123",
"0.6701876",
"0.6660831",
"0.65163034",
"0.6454936",
"0.6406084",
"0.63112086",
"0.6023787",
"0.6015675",
"0.5982329",
"0.5869817",
"0.5746553",
"0.57311714",
"0.5695252",
"0.5688207",
"0.56816196",
"0.56304526",
"0.5581845... | 0.5883854 | 13 |
for modal dlg we need to load associaitons regardless of postback | public void setSettingGroupIdForModalDlg(Long id) {
setEntityIdForModalDlg(id);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void SessionConfirmationDialog() {\n sessiondetailConfirmationDialogBinding = DataBindingUtil.\n inflate(LayoutInflater.from(mContext), R.layout.sessiondetail_confirmation_dialog, (ViewGroup) addStudentScreenBinding.getRoot(), false);\n confimDialog = new Dialog(mContext, R.styl... | [
"0.55636656",
"0.5500789",
"0.54889697",
"0.5470884",
"0.54399526",
"0.53821504",
"0.53583616",
"0.5347761",
"0.53212255",
"0.52808315",
"0.52495193",
"0.52419394",
"0.5235299",
"0.5219155",
"0.51883775",
"0.5187576",
"0.51866543",
"0.51842564",
"0.51827437",
"0.51507074",
"0... | 0.0 | -1 |
Adds the contained associations that should be available for a newly created object e.g. An order should always have at least one order item . Marked in uml with 1.. multiplicity | private void addDefaultAssociations() {
instance = getInstance();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setUpRelations() {\n g[0].getAuthorities().add(a[0]);\n g[1].getAuthorities().add(a[0]);\n g[1].getAuthorities().add(a[1]);\n g[2].getAuthorities().add(a[2]);\n\n u[0].getGroups().add(g[0]);\n u[0].getOwnAuthorities().add(a[2]);\n u[1].getGroups().add(g... | [
"0.63694084",
"0.60895747",
"0.5914892",
"0.58350176",
"0.58001834",
"0.5759002",
"0.56687105",
"0.5624243",
"0.5614325",
"0.5600234",
"0.55854744",
"0.55366915",
"0.54633737",
"0.53729486",
"0.53332496",
"0.528271",
"0.5226366",
"0.51754",
"0.515761",
"0.51539624",
"0.514259... | 0.5557821 | 11 |
This function is responsible for loading associations for the given entity e.g. when viewing an order, we load the customer so that customer can be shown on the customer tab within viewOrder.xhtml | public void loadAssociations() {
initListSettingNames();
addDefaultAssociations();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void loadAssociations() {\r\n\r\n\t\tif (immunization.getPatient() != null) {\r\n\t\t\tpatientAction.setInstance(getInstance().getPatient());\r\n\t\t}\r\n\r\n\t\tif (immunization.getVaccine() != null) {\r\n\t\t\tvaccineAction.setInstance(getInstance().getVaccine());\r\n\t\t}\r\n\r\n\t}",
"@Override\n p... | [
"0.5908888",
"0.58950317",
"0.58445513",
"0.58091766",
"0.5791905",
"0.5701129",
"0.56708014",
"0.56391174",
"0.55911666",
"0.5423651",
"0.53261644",
"0.53124666",
"0.5114648",
"0.50872374",
"0.49972546",
"0.49484652",
"0.49434748",
"0.49345616",
"0.49328497",
"0.49216732",
"... | 0.6202783 | 0 |
TODO Autogenerated method stub | public boolean DeveloperRegist(DeveloperInfo developer) {
DeveloperInfo oldDeveloper = dev.findOneDeveloper(developer.getId());
if(oldDeveloper != null) {
return false;//该开发者已经存在,不能再次注册.
}
else {
dev.addDeveloper(developer);
return true;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | public boolean DeveloperLogin(DeveloperInfo developer) {
DeveloperInfo oldDeveloper = dev.findOneDeveloper(developer.getId());
if(oldDeveloper != null) {
return false;//该开发者已经存在,不能再次注册.
}
else {
dev.addDeveloper(developer);
return true;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public int DeveloperDelete(DeveloperInfo developer) {
return 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public int DeveloperUpdate(DeveloperInfo developer) {
return 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66708666",
"0.65675074",
"0.65229905",
"0.6481001",
"0.64770633",
"0.64584893",
"0.6413091",
"0.63764185",
"0.6275735",
"0.62541914",
"0.6236919",
"0.6223816",
"0.62017626",
"0.61944294",
"0.61944294",
"0.61920846",
"0.61867654",
"0.6173323",
"0.61328775",
"0.61276996",
"0... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public DeveloperInfo DeveloperQuery(int id) {
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
Find the variant using the variantID | @GET
@Produces(MediaType.APPLICATION_JSON)
public Response findVariantInstances(@PathParam("variantID") String variantId){
MobileVariant mobileVariant = mobileApplicationService.findByVariantID(variantId);
if(mobileVariant == null){
return Response.status(Response.Status.NOT_FOUND)... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"ItemVariant getItemVariant(Integer itemVariantId);",
"public VariantDto getVariantById(String id) throws VariantNotFound {\n return variantRepository.findById(id)\n .map(q -> mapper.toDto(q)).orElseThrow(() -> new VariantNotFound());\n }",
"public int getVariantId() {\n return varia... | [
"0.7125249",
"0.6726727",
"0.64664394",
"0.6357142",
"0.6267726",
"0.6142135",
"0.61250633",
"0.61233544",
"0.5993252",
"0.59819156",
"0.5938565",
"0.59186494",
"0.5881903",
"0.5782801",
"0.5658315",
"0.55634284",
"0.5552413",
"0.55512",
"0.5548655",
"0.55444556",
"0.5512012"... | 0.53830177 | 35 |
Stores a new TAlgmntSalesTeam entity object in to the persistent store | public TAlgmntSalesTeam createTAlgmntSalesTeam(final TAlgmntSalesTeam tAlgmntSalesTeam) {
LOGGER.info("=========== Create TAlgmntSalesTeam ===========");
return genericDAO.store(tAlgmntSalesTeam);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void save() {\n Saver.saveTeam(team);\n }",
"@Test\r\n\tpublic void saveTeam() {\r\n\t\t// TODO: JUnit - Populate test inputs for operation: saveTeam \r\n\t\tTeam team = new wsdm.domain.Team();\r\n\t\tservice.saveTeam(team);\r\n\t}",
"public void insertTeam(Team t) {\n\t\tEntityManager em = e... | [
"0.6914611",
"0.688269",
"0.6568689",
"0.62544906",
"0.62519425",
"0.6145038",
"0.6047155",
"0.5980845",
"0.59675115",
"0.5943236",
"0.5840548",
"0.58221877",
"0.57883453",
"0.5780678",
"0.57747084",
"0.5745156",
"0.56910247",
"0.56823784",
"0.56721824",
"0.566532",
"0.565527... | 0.7378269 | 0 |
Deletes a TAlgmntSalesTeam entity object from the persistent store | public void deleteTAlgmntSalesTeam(final TAlgmntSalesTeamId tAlgmntSalesTeamId) {
LOGGER.info("=========== Delete TAlgmntSalesTeam ===========");
final TAlgmntSalesTeam tAlgmntSalesTeam = genericDAO.get(clazz, tAlgmntSalesTeamId);
genericDAO.remove(tAlgmntSalesTeam);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\r\n\tpublic void deleteTeam() {\r\n\t\t// TODO: JUnit - Populate test inputs for operation: deleteTeam \r\n\t\tTeam team_1 = new wsdm.domain.Team();\r\n\t\tservice.deleteTeam(team_1);\r\n\t}",
"public void deleteTeam(Team team) {\n\t\tEntityManager em = emfactory.createEntityManager();\n\t\tem.getTransacti... | [
"0.72767043",
"0.68566",
"0.6732738",
"0.65734684",
"0.646314",
"0.64043885",
"0.61667264",
"0.61574244",
"0.60917073",
"0.6038273",
"0.59781754",
"0.5968815",
"0.59579545",
"0.5925806",
"0.59161955",
"0.58984256",
"0.5895253",
"0.58596057",
"0.57880104",
"0.57860714",
"0.578... | 0.7545222 | 0 |
Updates a TAlgmntSalesTeam entity object in to the persistent store | public TAlgmntSalesTeam updateTAlgmntSalesTeam(final TAlgmntSalesTeam tAlgmntSalesTeam) {
LOGGER.info("=========== Update TAlgmntSalesTeam ===========");
return genericDAO.update(tAlgmntSalesTeam);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Team update(TeamDTO teamForm) throws TeamNotFoundException;",
"int updateByPrimaryKey(SysTeam record);",
"public TAlgmntSalesTeam createTAlgmntSalesTeam(final TAlgmntSalesTeam tAlgmntSalesTeam) {\n\t\tLOGGER.info(\"=========== Create TAlgmntSalesTeam ===========\");\n\t\treturn genericDAO.store(tAlgmntS... | [
"0.65250665",
"0.64607406",
"0.64230305",
"0.6274574",
"0.6235378",
"0.61947465",
"0.61331916",
"0.6049645",
"0.60003144",
"0.59916276",
"0.5939011",
"0.59361434",
"0.5928978",
"0.58940756",
"0.585529",
"0.58064985",
"0.56924254",
"0.56505185",
"0.5648314",
"0.5609916",
"0.56... | 0.7867232 | 0 |
Retrieve an TAlgmntSalesTeam object based on given TAlgmntSalesTeam TAlgmntSalesTeamId. | public TAlgmntSalesTeam findTAlgmntSalesTeamById(final TAlgmntSalesTeamId tAlgmntSalesTeamId) {
LOGGER.info("find TAlgmntSalesTeam instance with TAlgmntSalesTeamId: " + tAlgmntSalesTeamId);
return genericDAO.get(clazz, tAlgmntSalesTeamId);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public VwTeams get(int teamId)\n\t{\n\t\tVwTeams [] results = null;\n\t\t\n\t\ttry\n\t\t{\n\t\t\tresults = dao.findWhereTeamIdEquals(teamId);\t\t\t\n\t\t}\n\t\tcatch (VwTeamsDaoException e)\n\t\t{\n\t\t\tlogger.error(e.getMessage());\n\t\t\t\n\t\t\terror.setCode(Errors.Codes.DB_DAO.getCode());\n\t\t\terror.setWind... | [
"0.67796856",
"0.67087704",
"0.67045444",
"0.66146976",
"0.6568315",
"0.63588715",
"0.6166101",
"0.60783947",
"0.6065499",
"0.6028061",
"0.59836984",
"0.5950198",
"0.584919",
"0.5848757",
"0.57814085",
"0.5779105",
"0.57075554",
"0.5686735",
"0.56088847",
"0.56088847",
"0.560... | 0.8752604 | 0 |
Retrieve TAlgmntSalesTeam based on given search criteria using Dynamic JPAQL. | public List<TAlgmntSalesTeam> findTAlgmntSalesTeams(final SearchFilter<TAlgmntSalesTeam> searchFilter) {
LOGGER.info("=========== Find TAlgmntSalesTeams ===========");
final PaginationInfo paginationInfo = searchFilter.getPaginationInfo();
final OperatorInfo operatorInfo = searchFilter.getOperatorInfo();
fina... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public TAlgmntSalesTeam findTAlgmntSalesTeamById(final TAlgmntSalesTeamId tAlgmntSalesTeamId) {\n\t\tLOGGER.info(\"find TAlgmntSalesTeam instance with TAlgmntSalesTeamId: \" + tAlgmntSalesTeamId);\n\t\treturn genericDAO.get(clazz, tAlgmntSalesTeamId);\n\t}",
"public List<TAlgmntSalesTeam> getTAlgmntSalesTeamsByT... | [
"0.6052462",
"0.5999657",
"0.5947497",
"0.5899876",
"0.5691271",
"0.56675124",
"0.5582717",
"0.5563552",
"0.5483927",
"0.5438527",
"0.5421277",
"0.5396687",
"0.5291685",
"0.52594686",
"0.5250941",
"0.522694",
"0.5210747",
"0.52100646",
"0.52100646",
"0.51737225",
"0.51596344"... | 0.67538697 | 0 |
Fetch count of records for TAlgmntSalesTeams. | public Object countTAlgmntSalesTeams(final SearchFilter<TAlgmntSalesTeam> searchFilter) {
LOGGER.info("=========== Count TAlgmntSalesTeam ===========");
final OperatorInfo operatorInfo = searchFilter.getOperatorInfo();
final TAlgmntSalesTeam tAlgmntSalesTeam = searchFilter.getEntityClass();
final LogicalOperat... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\r\n\tpublic void countTeams() {\r\n\t\tInteger response = null;\r\n\t\tresponse = service.countTeams();\r\n\t\t// TODO: JUnit - Add assertions to test outputs of operation: countTeams\r\n\t}",
"public Object countTAlgmntSalesTeamsByTSalesTeam(final SearchFilter<TSalesTeam> searchFilter) {\n\n\t\tfinal TSal... | [
"0.6935755",
"0.68690693",
"0.6683259",
"0.6387172",
"0.5844456",
"0.58374065",
"0.5770847",
"0.57428277",
"0.57428277",
"0.57106286",
"0.56719315",
"0.56566703",
"0.5649943",
"0.5638887",
"0.56326246",
"0.56039435",
"0.56039435",
"0.5578111",
"0.5572579",
"0.5545355",
"0.549... | 0.7094778 | 0 |
Retrieve TAlgmntSalesTeam based on given search criteria using JPA named Query. The search criteria is of TSalesTeam type. | public List<TAlgmntSalesTeam> getTAlgmntSalesTeamsByTSalesTeam(final SearchFilter<TSalesTeam> searchFilter) {
final PaginationInfo paginationInfo = searchFilter.getPaginationInfo();
final TSalesTeam tSalesTeam = searchFilter.getEntityClass();
List<Object> tSalesTeamList = new ArrayList<Object>();
tSalesTeamLis... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<TAlgmntSalesTeam> findTAlgmntSalesTeams(final SearchFilter<TAlgmntSalesTeam> searchFilter) {\n\t\tLOGGER.info(\"=========== Find TAlgmntSalesTeams ===========\");\n\n\t\tfinal PaginationInfo paginationInfo = searchFilter.getPaginationInfo();\n\t\tfinal OperatorInfo operatorInfo = searchFilter.getOperat... | [
"0.69835764",
"0.64047647",
"0.61738294",
"0.61049634",
"0.5958668",
"0.5954788",
"0.5797781",
"0.5681675",
"0.5667475",
"0.5507485",
"0.54982185",
"0.5481637",
"0.54698604",
"0.5312853",
"0.5307549",
"0.52606976",
"0.5206091",
"0.5202854",
"0.5198662",
"0.5184172",
"0.517257... | 0.6350414 | 2 |
Count TAlgmntSalesTeam based on given search criteria using JPA named Query. The search criteria is of TSalesTeam type. | public Object countTAlgmntSalesTeamsByTSalesTeam(final SearchFilter<TSalesTeam> searchFilter) {
final TSalesTeam tSalesTeam = searchFilter.getEntityClass();
List<Object> tSalesTeamList = new ArrayList<Object>();
return genericDAO.findEntitiesByNamedQuery("CountTAlgmntSalesTeamsByTSalesTeam", tSalesTeamList);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object countTAlgmntSalesTeams(final SearchFilter<TAlgmntSalesTeam> searchFilter) {\n\t\tLOGGER.info(\"=========== Count TAlgmntSalesTeam ===========\");\n\n\t\tfinal OperatorInfo operatorInfo = searchFilter.getOperatorInfo();\n\t\tfinal TAlgmntSalesTeam tAlgmntSalesTeam = searchFilter.getEntityClass();\n\t\... | [
"0.7683757",
"0.6919737",
"0.682111",
"0.58971566",
"0.58296686",
"0.5694303",
"0.56902856",
"0.5684888",
"0.5610418",
"0.5591676",
"0.55885124",
"0.557238",
"0.5565244",
"0.55470824",
"0.5457516",
"0.5436302",
"0.5389513",
"0.53795964",
"0.534055",
"0.53341496",
"0.532389",
... | 0.7197799 | 1 |
Retrieve TAlgmntSalesTeam based on given search criteria using JPA named Query. The search criteria is of TAlgmnt type. | public List<TAlgmntSalesTeam> getTAlgmntSalesTeamsByTAlgmnt(final SearchFilter<TAlgmnt> searchFilter) {
final PaginationInfo paginationInfo = searchFilter.getPaginationInfo();
List<Object> tAlgmntList = new ArrayList<Object>();
tAlgmntList.add(searchFilter.getEntityClass());
final int maxresult = paginationInf... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<TAlgmntSalesTeam> findTAlgmntSalesTeams(final SearchFilter<TAlgmntSalesTeam> searchFilter) {\n\t\tLOGGER.info(\"=========== Find TAlgmntSalesTeams ===========\");\n\n\t\tfinal PaginationInfo paginationInfo = searchFilter.getPaginationInfo();\n\t\tfinal OperatorInfo operatorInfo = searchFilter.getOperat... | [
"0.6716149",
"0.6186818",
"0.5743437",
"0.57375103",
"0.5715184",
"0.5646621",
"0.54148453",
"0.5369082",
"0.5350663",
"0.531239",
"0.5261536",
"0.52509755",
"0.51677173",
"0.5151673",
"0.5144374",
"0.5123618",
"0.511923",
"0.5102341",
"0.50778717",
"0.5048218",
"0.49847165",... | 0.6181162 | 2 |
Count TAlgmntSalesTeam based on given search criteria using JPA named Query. The search criteria is of TAlgmnt type. | public Object countTAlgmntSalesTeamsByTAlgmnt(final SearchFilter<TAlgmnt> searchFilter) {
List<Object> tAlgmntList = new ArrayList<Object>();
tAlgmntList.add(searchFilter.getEntityClass());
return genericDAO.findEntitiesByNamedQuery("CountTAlgmntSalesTeamsByTAlgmnt", tAlgmntList);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object countTAlgmntSalesTeams(final SearchFilter<TAlgmntSalesTeam> searchFilter) {\n\t\tLOGGER.info(\"=========== Count TAlgmntSalesTeam ===========\");\n\n\t\tfinal OperatorInfo operatorInfo = searchFilter.getOperatorInfo();\n\t\tfinal TAlgmntSalesTeam tAlgmntSalesTeam = searchFilter.getEntityClass();\n\t\... | [
"0.7562839",
"0.7026744",
"0.6676494",
"0.6078546",
"0.59777933",
"0.58701617",
"0.582322",
"0.5815612",
"0.57363975",
"0.5719658",
"0.55155116",
"0.55107534",
"0.5481985",
"0.5465433",
"0.54223746",
"0.54137236",
"0.54122066",
"0.54055387",
"0.5403246",
"0.53943455",
"0.5373... | 0.700844 | 2 |
Gets the aff alignments. | @Override
public List<Object[]> getAffAlignments(Short tenantId) {
StringBuilder query = new StringBuilder().append(QueryConstants.ALIGMENT_IS_AFFILIATED);
List<Object> queryParam = new ArrayList<Object>();
queryParam.add(tenantId);
return genericDAO.findEntitiesByBuildQueries(query.toString(), queryParam, 0, ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.util.List getAlignmentRefs();",
"org.landxml.schema.landXML11.AlignmentNameRefs xgetAlignmentRefs();",
"public Alignment getAlignment() {\n return alignment;\n }",
"Alignment getAlignment() {\n return alignment;\n }",
"private jalview.datamodel.Sequence[] getVamsasA... | [
"0.6794659",
"0.6425066",
"0.5819228",
"0.5801121",
"0.57805973",
"0.56964236",
"0.56293523",
"0.55262095",
"0.5461552",
"0.5461552",
"0.54240096",
"0.5421392",
"0.5321051",
"0.5307366",
"0.524783",
"0.5244497",
"0.5222209",
"0.515123",
"0.51502633",
"0.5133946",
"0.51294214"... | 0.5861324 | 2 |
Gets the cR config. | @Override
public List<Object[]> getCRConfig(Short tenantId) {
StringBuilder query = new StringBuilder().append(QueryConstants.ALIGMENT_CR_CONFIG);
List<Object> queryParam = new ArrayList<Object>();
queryParam.add(tenantId);
return genericDAO.findEntitiesByBuildQueries(query.toString(), queryParam, 0, -1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public C getConfig()\n {\n return config;\n }",
"public FabricCommonConfig getConfig() {\n if (null == config) {\n config = new FabricCommonConfig();\n }\n return config;\n }",
"public ConfigCommon getConfig() {\n return config;\n }",
"protected Config getConfig ()... | [
"0.7630294",
"0.7319245",
"0.71219695",
"0.6968655",
"0.69189876",
"0.6813121",
"0.67857033",
"0.678033",
"0.67768705",
"0.67731",
"0.6741172",
"0.67006475",
"0.66381097",
"0.6635333",
"0.6629191",
"0.6562647",
"0.65525025",
"0.65454084",
"0.65331644",
"0.65165603",
"0.650471... | 0.0 | -1 |
Fetch active algmnts data. | @Override
public List<Object[]> fetchActiveAlgmntsData(Date effEdDt,Short tenantId){
List<Object> paramList = new ArrayList<Object>();
paramList.add(effEdDt);
paramList.add(tenantId);
return genericDAO.findEntitiesByNamedQueryMultiCond("FetchActiveAlgmntsData", paramList, 0, -1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void fetch() {\n HttpClient client = new HttpClient();\n client.getHostConfiguration().setHost(HOST, PORT, SCHEME);\n\n List<String> prefectures = getCodes(client, PATH_PREF, \"pref\");\n List<String> categories = getCodes(client, PATH_CTG, \"category_s\");\n\n // This ... | [
"0.5690394",
"0.54594713",
"0.5333111",
"0.5291976",
"0.5255513",
"0.5216136",
"0.5124715",
"0.5112746",
"0.51069486",
"0.5106239",
"0.5022071",
"0.5021154",
"0.50044405",
"0.50010186",
"0.49873444",
"0.4982375",
"0.49821046",
"0.4963658",
"0.49607155",
"0.4915705",
"0.489843... | 0.47830805 | 36 |
make a connection to the mysql database table | public Connection getConnection() throws SQLException {
Connection conn = null;
Properties connectionProps = new Properties();
connectionProps.put("user", this.userName);
connectionProps.put("password", this.password);
conn = DriverManager.getConnection(
"jdbc:mysql://" + this.serverName + ":" + this.por... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void makeConnection(){\n\t\t\n\t\t\n\t\t\n\t\ttry{\n\t\t\tmySqlConn=new MySqlConnection(server,databaseName,userName,passWord);\n\t\t\tst=mySqlConn.conn.createStatement();\n\t\t }\n\t\tcatch(SQLException s){\n\t\t\tSystem.out.println(\"SQL not able to execute\");\n\t\t}\n\t\tcatch(Exception e){\n\t\t\te.pri... | [
"0.7697629",
"0.7502805",
"0.7495895",
"0.7471557",
"0.7428004",
"0.7401644",
"0.73992574",
"0.73918957",
"0.73310393",
"0.72666854",
"0.725491",
"0.72444737",
"0.7228563",
"0.7179799",
"0.7159436",
"0.70928085",
"0.70906115",
"0.70795816",
"0.7070299",
"0.70637995",
"0.70495... | 0.0 | -1 |
Complete the minimumSwaps function below. | static void minimumSwaps(int[] arr) {
HashMap<Integer , Integer> hm = new HashMap<Integer , Integer>();
for(int i = 0 ; i < arr.length ; i++ ){
hm.put(arr[i], 2);
}
Iterator iterator = hm.keySet().iterator();
while (iterator.hasNext()) {
Integer key = (Int... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getSwaps();",
"static int minimumSwaps(int[] arr) {\n int length = arr.length;\n int swaps = 0;\n int ind = 0;\n int temp = 0;\n int count = 0;\n for(int i=0;i<length;i++)\n {\n if(i+1 != arr[i])\n {\n count++;\n ... | [
"0.71855634",
"0.7161675",
"0.69182116",
"0.6831887",
"0.67304295",
"0.67161286",
"0.660553",
"0.6601994",
"0.6448409",
"0.63201445",
"0.6317089",
"0.62351775",
"0.60995567",
"0.60367346",
"0.5999381",
"0.59088826",
"0.59081036",
"0.5797037",
"0.5734142",
"0.57206225",
"0.569... | 0.65423054 | 8 |
Checks if the class corresponding to this JSP is up to date | public boolean isUpToDate() {
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@SuppressWarnings(\"rawtypes\") \n public boolean isClassReloadable(Class clazz) {\n return true;\n }",
"@Override\r\n\tpublic boolean updateClassified(Classified classified) {\n\t\treturn false;\r\n\t}",
"public boolean isSetJavaClass()\r\n {\r\n synchronized (monitor())\r\n ... | [
"0.56753594",
"0.5392332",
"0.5374949",
"0.5291752",
"0.5284094",
"0.526758",
"0.524023",
"0.5176924",
"0.512935",
"0.5090071",
"0.50708586",
"0.50670826",
"0.4989806",
"0.4971344",
"0.49419898",
"0.49209556",
"0.4917359",
"0.48803884",
"0.48657164",
"0.48626602",
"0.485508",... | 0.54294056 | 1 |
Identifier for type of compiler. This method allows subclasses to specify the type this compiler belongs to. Compilers that belong to the same class will be compiled together by one external process. It is necessary for all compilers of the same type to have same process descriptor and error expression. This implementa... | public Object compilerGroupKey () {
return throwable; // just one compiler per group
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCompilerClassName();",
"public String getCompiler();",
"public CompilerSpecID getOldCompilerSpecID() {\n\t\tCollection<CompilerSpecDescription> compatibleCompilerSpecDescriptions =\n\t\t\tlangDescription.getCompatibleCompilerSpecDescriptions();\n\t\tif (!compatibleCompilerSpecDescriptions.isEm... | [
"0.6373411",
"0.59156626",
"0.56803274",
"0.5653521",
"0.5433037",
"0.53773195",
"0.5376425",
"0.5339241",
"0.53234243",
"0.5306578",
"0.5289725",
"0.5210171",
"0.5194935",
"0.5151959",
"0.51508766",
"0.51431954",
"0.5139403",
"0.513625",
"0.51172394",
"0.51038635",
"0.509718... | 0.5103992 | 19 |
Creates new form ScenarioDataTable | public DataTable(JTable t) {
initComponents();
setupComponents(t);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"DataTable createDataTable();",
"void create(DataTableDef def) throws IOException;",
"Rows createRows();",
"DT createDT();",
"tbls createtbls();",
"public abstract void createTables() throws DataServiceException;",
"void addTabularData(TabularData data);",
"public void populateDataToTable() throws SQL... | [
"0.6400765",
"0.62577903",
"0.59133804",
"0.5902162",
"0.5902146",
"0.5864747",
"0.586277",
"0.58240443",
"0.5780932",
"0.57379335",
"0.57175577",
"0.5687936",
"0.5658727",
"0.5641057",
"0.56315684",
"0.56192696",
"0.5549577",
"0.5540473",
"0.5533271",
"0.55260724",
"0.552432... | 0.0 | -1 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. //GENBEGIN:initComponents | private void initComponents() {
setLayout(new java.awt.BorderLayout());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public Form() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public GUIForm() { \... | [
"0.7391324",
"0.7391324",
"0.7391324",
"0.73507947",
"0.7331336",
"0.7329534",
"0.7294399",
"0.7266276",
"0.7225115",
"0.7214399",
"0.7159046",
"0.7153979",
"0.7149596",
"0.71404046",
"0.71353865",
"0.71322703",
"0.7120659",
"0.7118281",
"0.71138704",
"0.71097445",
"0.7087580... | 0.0 | -1 |
END_INCLUDE(recyclerViewSampleViewHolder) Initialize the dataset of the Adapter. | public PreGalleryAdaptador(String[] dataSet) {
mDataSet = dataSet;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void initDataset() {\r\n CollGestDBHelper collGestDBHelper = new CollGestDBHelper(activityContext);\r\n List<CollGestItem> listAllItems = collGestDBHelper.getAllGestItem();\r\n\r\n mDataset = new String[listAllItems.size()][7];\r\n System.out.println(\"++++++++++++++++++++++++++... | [
"0.6685727",
"0.658974",
"0.6410223",
"0.640342",
"0.639604",
"0.6371115",
"0.63645434",
"0.6355408",
"0.6341764",
"0.6338272",
"0.63249373",
"0.63093394",
"0.63077384",
"0.63050073",
"0.6294913",
"0.62840056",
"0.6259465",
"0.6255046",
"0.6246637",
"0.62328213",
"0.6218811",... | 0.0 | -1 |
BEGIN_INCLUDE(recyclerViewOnCreateViewHolder) Create new views (invoked by the layout manager) | @Override
public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) {
// Create a new view.
View v = LayoutInflater.from(viewGroup.getContext())
.inflate(R.layout.pregallery_item, viewGroup, false);
final RelativeLayout RelativeLayout;
RelativeLayout = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public ActiveAdapter.ViewHolder onCreateViewHolder(ViewGroup parent,\n int viewType) {\n // create a new view\n View v = LayoutInflater.from(parent.getContext())\n .inflate(R.layout.notification_si... | [
"0.730278",
"0.7117317",
"0.71127385",
"0.71053183",
"0.7090692",
"0.70788693",
"0.7068677",
"0.7050558",
"0.70244527",
"0.70110786",
"0.7006924",
"0.6990761",
"0.6989491",
"0.69883335",
"0.6979317",
"0.6966584",
"0.6963642",
"0.6952616",
"0.69505584",
"0.6950092",
"0.6942207... | 0.0 | -1 |
END_INCLUDE(recyclerViewOnCreateViewHolder) BEGIN_INCLUDE(recyclerViewOnBindViewHolder) Replace the contents of a view (invoked by the layout manager) | @Override
public void onBindViewHolder(ViewHolder viewHolder, final int position)
{
Log.d(TAG, "Element " + position + " set.");
if(position==0)
{
posicion=1;
}
if(position==1)
{
posicion=2;
}
if(position==2)
{
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n // Replace the contents of a view (invoked by the layout manager)\n public void onBindViewHolder(@NonNull ViewHolder holder, int position) {\n holder.bind(getItem(position));\n }",
"@Override\n public void onBindViewHolder(MyViewHolder holder, int position) {\n // - get elem... | [
"0.740333",
"0.66787094",
"0.65588075",
"0.64277834",
"0.6411885",
"0.64053965",
"0.6402466",
"0.6391611",
"0.63879",
"0.6376915",
"0.63758373",
"0.6362023",
"0.6349252",
"0.63451385",
"0.63347507",
"0.63135284",
"0.6306931",
"0.6258101",
"0.624619",
"0.62283134",
"0.62242746... | 0.60604227 | 40 |
END_INCLUDE(recyclerViewOnBindViewHolder) Return the size of your dataset (invoked by the layout manager) | @Override
public int getItemCount() {
return mDataSet.length;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int getItemCount() {\n return mDataset.length();\n }",
"@Override\n public int getItemCount() {\n return mDataset.length();\n }",
"@Override\n public int getItemCount() {\n //list.length to return\n return mDataset.size();\n }",
"in... | [
"0.75728256",
"0.7534353",
"0.7519458",
"0.74550897",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
"0.7415981",
... | 0.72033954 | 39 |
TODO Autogenerated method stub AbstractQueuedSynchronizer aqs = | public static void main(String[] args) {
ReentrantReadWriteLock lock = new ReentrantReadWriteLock();
// ConditionObject
CyclicBarrier cyclicBarrier = new CyclicBarrier(2);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void onQueued() {}",
"protected abstract List<BlockingQueue<CallRunner>> getQueues();",
"Collection<QueuedPrintJob> getQueue();",
"public void onQueue();",
"public CincamimisQueue()\r\n {\r\n measurementQueue=new ArrayBlockingQueue(10,true);\r\n }",
"private void workOnQueue() {\n ... | [
"0.60446066",
"0.59166837",
"0.5521474",
"0.5519596",
"0.54575306",
"0.5418654",
"0.5392749",
"0.53597283",
"0.5352282",
"0.5342178",
"0.53181136",
"0.53000546",
"0.52428716",
"0.51489097",
"0.5146061",
"0.5115403",
"0.51136893",
"0.51008123",
"0.50845695",
"0.50746554",
"0.5... | 0.0 | -1 |
Set the ant file to generate documentation. | public void setAntFile( File f )
{
this.antFile = f;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAntfile(String antFile) {\n // @note: it is a string and not a file to handle relative/absolute\n // otherwise a relative file will be resolved based on the current\n // basedir.\n this.antFile = antFile;\n }",
"public void setAntlib(String antlib) {\n if... | [
"0.6771864",
"0.58070105",
"0.56788385",
"0.56431013",
"0.5615227",
"0.5587068",
"0.5572043",
"0.53679025",
"0.52084047",
"0.52084047",
"0.5204309",
"0.52028555",
"0.5171362",
"0.5171362",
"0.5154064",
"0.5112383",
"0.50223964",
"0.5007889",
"0.4980378",
"0.49561426",
"0.4956... | 0.68393797 | 0 |
Set the destination directory. | public void setDestDir( File d )
{
this.destDir = d;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setToDir(File dir) {\n _destDir = dir;\n }",
"public void setDestdir(File dest) {\n this.destdir = dest;\n }",
"void setDirectory(File dir);",
"public void setDest(File destination) {\r\n if (destination.exists() && destination.isDirectory()) {\r\n throw new BuildExceptio... | [
"0.75599486",
"0.7512542",
"0.66976887",
"0.66894054",
"0.62209845",
"0.6115669",
"0.60990584",
"0.60720444",
"0.6064003",
"0.6011139",
"0.5984726",
"0.5979963",
"0.59719837",
"0.59595144",
"0.5948333",
"0.5946266",
"0.5914442",
"0.5873207",
"0.5855026",
"0.5846182",
"0.58198... | 0.7393946 | 2 |
Set the the dotExecutable to set | public void setDotExecutable( File dotExecutable )
{
this.dotExecutable = dotExecutable;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setExecutable(String executable);",
"public static void setExecutable(String executable) {\n \tGlobals.executable = executable;\n \tsetProperty(\"executable\", executable);\n }",
"void setStartUpExe(String s);",
"public static String getExecutable() {\n \texecutable = getProperty(\"ex... | [
"0.7863763",
"0.72027385",
"0.6397579",
"0.6395054",
"0.60085773",
"0.60018206",
"0.5898194",
"0.56957996",
"0.56853974",
"0.5543742",
"0.5410345",
"0.540416",
"0.540186",
"0.5349137",
"0.52858216",
"0.5270682",
"0.5253706",
"0.52068",
"0.5206081",
"0.52013975",
"0.51837",
... | 0.87350285 | 0 |
Set fail on an error. | public void setFailonerror( boolean b )
{
this.failOnError = b;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setFailonerror(boolean fail) {\r\n failOnError = fail;\r\n incompatibleWithSpawn |= fail;\r\n }",
"void setFailed(Throwable lastFailure);",
"public void setFailOnErr(boolean failonerr) {\n mFailonerr = failonerr;\n }",
"public void setFailure(boolean value) {\n\t\tif (v... | [
"0.7765001",
"0.7530788",
"0.74944025",
"0.7169759",
"0.7125129",
"0.7112869",
"0.7064633",
"0.7034966",
"0.69863254",
"0.6869842",
"0.6857609",
"0.67743284",
"0.67646474",
"0.6763682",
"0.66651875",
"0.66628796",
"0.6660654",
"0.6616423",
"0.6599805",
"0.6594666",
"0.6560584... | 0.70192546 | 8 |
TODO Autogenerated method stub | @Override
protected ActiveAreaPresenter createPresenter() {
return new ActiveAreaPresenter(this);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
private String MyString; //in its self protected String lotsOfString; // in certain places public String lastString; //in all String anotherString; // is defualt promissions | public static void main(String[] args) {
Dog dog = new Dog(true, true, "big");
System.out.println(" ");
Kat kat = new Kat(true, 2,true, 123, true, true, "yes");
// System.out.println(dog.makeSound() + kat.makeSound());
System.out.println(kat.catYears())... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getMyString() {\n return myString;\n }",
"private Strings()\n\t{\n\t}",
"private Strings()\n\t{\n\t}",
"public abstract String getString();",
"public abstract String getString();",
"public LitteralString() \n\t{\n\t\tthis(\"Chaine Litterale\");\n\t\t// TODO Auto-generated construc... | [
"0.5899474",
"0.57501847",
"0.57501847",
"0.56561816",
"0.56561816",
"0.56316996",
"0.5621802",
"0.5545958",
"0.55370355",
"0.5478369",
"0.54757726",
"0.54757726",
"0.544867",
"0.5402428",
"0.53381157",
"0.53381157",
"0.5334",
"0.5334",
"0.53285706",
"0.532716",
"0.53261054",... | 0.0 | -1 |
Get captured `from` argument. | public Optional<Tag> capturedFrom() {
return this.from.get();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public V getFrom()\n\t{\n\t\treturn from;\n\t}",
"public long getFrom() {\n return from_;\n }",
"public int getFrom() {\n return from_;\n }",
"public long getFrom() {\n return from_;\n }",
"Object getFrom();",
"public String getFrom() {\n return from;\n }",
"public Strin... | [
"0.6558771",
"0.63965213",
"0.63472515",
"0.6318182",
"0.6317612",
"0.6308761",
"0.6285123",
"0.62261146",
"0.62238413",
"0.6223348",
"0.6219418",
"0.620324",
"0.6165973",
"0.61544794",
"0.61528146",
"0.61459005",
"0.613964",
"0.6115008",
"0.5993",
"0.5993",
"0.5993",
"0.59... | 0.66974616 | 0 |
Get captured `limit` argument. | public int capturedLimit() {
return this.limit.get();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getLimit();",
"int getLimit();",
"public long limit();",
"public Integer getLimit() {\n return limit;\n }",
"public int getLimit() {\r\n return limit;\r\n }",
"public int getLimit() {\n return limit;\n }",
"public String getLimit() {\r\n\t\treturn this.limit;\r\n\t}",
... | [
"0.689554",
"0.689554",
"0.68899685",
"0.6709508",
"0.6666661",
"0.66509765",
"0.6643907",
"0.6643549",
"0.6643549",
"0.6643549",
"0.6637327",
"0.65785056",
"0.65785056",
"0.6536488",
"0.64739144",
"0.64115274",
"0.64115274",
"0.64078057",
"0.6397749",
"0.6343",
"0.63079",
... | 0.7559044 | 0 |
Methods: Getter method for the COM property "MainBody" | @DISPID(1610940416) //= 0x60050000. The runtime will prefer the VTID if present
@VTID(22)
Body mainBody(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DISPID(1610940416) //= 0x60050000. The runtime will prefer the VTID if present\n @VTID(23)\n void mainBody(\n Body oMainBody);",
"Body getBody();",
"public String getBody()\n\t{\n\t\treturn m_sBody;\t\n\t}",
"public String getBody() {\r\n\t\treturn mBody;\r\n\t}",
"public Object getBody() {\n ... | [
"0.71160054",
"0.6732933",
"0.6674161",
"0.6596416",
"0.6591796",
"0.6474041",
"0.64728373",
"0.64713335",
"0.6459638",
"0.64520043",
"0.63713455",
"0.63427204",
"0.63196665",
"0.6267239",
"0.6242836",
"0.62337637",
"0.6224154",
"0.62228864",
"0.6213828",
"0.6204763",
"0.6174... | 0.6987922 | 1 |
Setter method for the COM property "MainBody" | @DISPID(1610940416) //= 0x60050000. The runtime will prefer the VTID if present
@VTID(23)
void mainBody(
Body oMainBody); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBody(Object body) {\n this.body = body;\n }",
"public void setBody(Body body) {\n this.body = body;\n }",
"void setBody (DBody body);",
"void setBody(final Body body);",
"@DISPID(1610940416) //= 0x60050000. The runtime will prefer the VTID if present\n @VTID(22)\... | [
"0.6371849",
"0.63317543",
"0.6319506",
"0.62316865",
"0.6224764",
"0.6144947",
"0.6068449",
"0.6057788",
"0.6029412",
"0.59547824",
"0.590569",
"0.5838146",
"0.58364546",
"0.5806095",
"0.579905",
"0.57641035",
"0.57641035",
"0.57279783",
"0.5722513",
"0.57182014",
"0.5703112... | 0.7405168 | 0 |
Getter method for the COM property "InWorkObject" | @DISPID(1610940418) //= 0x60050002. The runtime will prefer the VTID if present
@VTID(24)
AnyObject inWorkObject(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DISPID(1610940418) //= 0x60050002. The runtime will prefer the VTID if present\n @VTID(25)\n void inWorkObject(\n AnyObject oInWorkObject);",
"public WorkObject getWorkObject()\n {\n throw new UnsupportedOperationException(\n \"This method is not supported. Use getLevelObjectType(... | [
"0.6942762",
"0.64797944",
"0.6219518",
"0.6106553",
"0.58292633",
"0.579765",
"0.56626403",
"0.5642819",
"0.55861294",
"0.55620253",
"0.5451764",
"0.53773236",
"0.5333906",
"0.5325888",
"0.5323893",
"0.53055656",
"0.53042156",
"0.52917916",
"0.52793074",
"0.5273058",
"0.5252... | 0.7619849 | 0 |
Setter method for the COM property "InWorkObject" | @DISPID(1610940418) //= 0x60050002. The runtime will prefer the VTID if present
@VTID(25)
void inWorkObject(
AnyObject oInWorkObject); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DISPID(1610940418) //= 0x60050002. The runtime will prefer the VTID if present\n @VTID(24)\n AnyObject inWorkObject();",
"public void setObject(XSerial obj);",
"public void setExtObject(IComponent ext){\n\t\textObj = ext;\n\t}",
"boolean updateWorkByObject(Work work);",
"@Override\n\tpublic void setActi... | [
"0.7031903",
"0.5994626",
"0.57543254",
"0.5743018",
"0.57052064",
"0.5491688",
"0.5484905",
"0.54476917",
"0.5392773",
"0.5359887",
"0.5251762",
"0.5180148",
"0.5172868",
"0.51542073",
"0.51261914",
"0.5093667",
"0.50905675",
"0.50750417",
"0.5068477",
"0.50677836",
"0.50658... | 0.7578926 | 0 |
Getter method for the COM property "Bodies" | @DISPID(1610940420) //= 0x60050004. The runtime will prefer the VTID if present
@VTID(26)
Bodies bodies(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Vector<YANG_Body> getBodies() {\n\t\treturn bodies;\n\t}",
"@DISPID(1610940418) //= 0x60050002. The runtime will prefer the VTID if present\n @VTID(24)\n Bodies bodies();",
"public ArrayList<CollisionBody> getBodies() {\n return collisionBodies;\n }",
"public String getBody(){\n ret... | [
"0.7956385",
"0.73497576",
"0.71826935",
"0.7045905",
"0.68004614",
"0.65844643",
"0.65597713",
"0.6420325",
"0.63938695",
"0.6357365",
"0.6302405",
"0.6285111",
"0.61868244",
"0.61578226",
"0.6150959",
"0.61412174",
"0.61286944",
"0.6121218",
"0.61194503",
"0.6116627",
"0.60... | 0.72988963 | 2 |
Getter method for the COM property "HybridBodies" | @DISPID(1610940421) //= 0x60050005. The runtime will prefer the VTID if present
@VTID(27)
HybridBodies hybridBodies(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DISPID(1610940419) //= 0x60050003. The runtime will prefer the VTID if present\n @VTID(25)\n HybridBodies hybridBodies();",
"@DISPID(1610940418) //= 0x60050002. The runtime will prefer the VTID if present\n @VTID(24)\n Bodies bodies();",
"@DISPID(1610940420) //= 0x60050004. The runtime will prefer the VTI... | [
"0.76568747",
"0.62821287",
"0.627322",
"0.6260263",
"0.60956794",
"0.59787387",
"0.58880436",
"0.587728",
"0.58672106",
"0.5793769",
"0.5759326",
"0.56414616",
"0.5616917",
"0.5611326",
"0.5582906",
"0.55045646",
"0.5468633",
"0.5388771",
"0.5378441",
"0.53776187",
"0.534613... | 0.7671092 | 0 |
Getter method for the COM property "ShapeFactory" | @DISPID(1610940422) //= 0x60050006. The runtime will prefer the VTID if present
@VTID(28)
Factory shapeFactory(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Shape getShape();",
"public Shape getShape();",
"@DISPID(1610940423) //= 0x60050007. The runtime will prefer the VTID if present\n @VTID(29)\n Factory hybridShapeFactory();",
"ShapeType getShapeType();",
"public Shape getShape() {\n\treturn shape;\n }",
"public Shape getShape() { return shape; }",
... | [
"0.7227231",
"0.714196",
"0.6961234",
"0.69098145",
"0.6877577",
"0.68496925",
"0.68447495",
"0.684371",
"0.683157",
"0.68086433",
"0.6732153",
"0.67140067",
"0.66589046",
"0.66475666",
"0.6632471",
"0.6621294",
"0.6616419",
"0.6602028",
"0.66007084",
"0.652058",
"0.65178883"... | 0.7557735 | 0 |
Getter method for the COM property "HybridShapeFactory" | @DISPID(1610940423) //= 0x60050007. The runtime will prefer the VTID if present
@VTID(29)
Factory hybridShapeFactory(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DISPID(1610940422) //= 0x60050006. The runtime will prefer the VTID if present\n @VTID(28)\n Factory shapeFactory();",
"Shape getShape();",
"public Shape getShape();",
"@DISPID(1610940417) //= 0x60050001. The runtime will prefer the VTID if present\n @VTID(23)\n HybridShapes hybridShapes();",
"ShapeTy... | [
"0.679011",
"0.6671473",
"0.6666425",
"0.6538501",
"0.6466183",
"0.64286923",
"0.64050347",
"0.63910174",
"0.6384009",
"0.6374903",
"0.636569",
"0.6356568",
"0.6351948",
"0.63370866",
"0.632962",
"0.6264806",
"0.62295467",
"0.62256163",
"0.6219979",
"0.6184107",
"0.6173686",
... | 0.7933282 | 0 |
Getter method for the COM property "SheetMetalFactory" | @DISPID(1610940424) //= 0x60050008. The runtime will prefer the VTID if present
@VTID(30)
Factory sheetMetalFactory(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DISPID(1610940425) //= 0x60050009. The runtime will prefer the VTID if present\n @VTID(31)\n AnyObject sheetMetalParameters();",
"@DISPID(149)\n @PropGet\n com.exceljava.com4j.excel.XlCreator getCreator();",
"@DISPID(149)\n @PropGet\n excel.XlCreator getCreator();",
"public CellFactory getCellFactory(... | [
"0.65363044",
"0.5942128",
"0.5801805",
"0.5764562",
"0.5688068",
"0.56512344",
"0.5541352",
"0.5541352",
"0.5541352",
"0.5541352",
"0.5351848",
"0.5294674",
"0.5292217",
"0.5287853",
"0.52729815",
"0.5261105",
"0.52480185",
"0.52308476",
"0.5085376",
"0.5085224",
"0.50844485... | 0.80112284 | 0 |
Getter method for the COM property "SheetMetalParameters" | @DISPID(1610940425) //= 0x60050009. The runtime will prefer the VTID if present
@VTID(31)
AnyObject sheetMetalParameters(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setParameters(MaterialParams mp);",
"public Properties getParameters() {\r\n return mParameters;\r\n }",
"public final Object[] getMatLabParams()\r\n\t{\r\n\t\treturn matLabParams;\r\n\t}",
"private void getParameters(BlendmontParam blendmontParam) {\n blendmontParam.setBinByFactor(getBinn... | [
"0.5853599",
"0.5695381",
"0.5564943",
"0.5500982",
"0.5379139",
"0.53363323",
"0.5214816",
"0.51683897",
"0.51390123",
"0.5104565",
"0.5078596",
"0.5074097",
"0.5067431",
"0.50527173",
"0.50527173",
"0.50325716",
"0.50272435",
"0.5015968",
"0.5002574",
"0.50025356",
"0.49827... | 0.8487593 | 0 |
Getter method for the COM property "GeometricElements" | @DISPID(1610940426) //= 0x6005000a. The runtime will prefer the VTID if present
@VTID(32)
GeometricElements geometricElements(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DISPID(1610940416) //= 0x60050000. The runtime will prefer the VTID if present\n @VTID(22)\n GeometricElements geometricElements();",
"public double[] element() {\n\t\treturn _coordinates;\n\t}",
"@Override\r\n\t\tpublic Geom_element getGeom() {\n\t\t\treturn this.point;\r\n\t\t}",
"public ArrayList<IGene... | [
"0.80758244",
"0.6545601",
"0.635309",
"0.63137513",
"0.6142166",
"0.612518",
"0.6109351",
"0.60542",
"0.60371757",
"0.5943978",
"0.59243894",
"0.58876574",
"0.58483815",
"0.5816303",
"0.58081406",
"0.5788828",
"0.57805717",
"0.5729069",
"0.56961155",
"0.5694371",
"0.56817853... | 0.823337 | 0 |
Getter method for the COM property "Constraints" | @DISPID(1610940427) //= 0x6005000b. The runtime will prefer the VTID if present
@VTID(33)
Constraints constraints(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<Constraint> getConstraints();",
"public List<Constraint> getConstraints() {\r\n\t\treturn constraints;\r\n\t}",
"com.microsoft.schemas.crm._2011.contracts.ArrayOfConstraintRelation getConstraints();",
"@objid (\"db7f3c97-1871-4855-958d-3659b2211f8a\")\n protected Object getConstraint() {\n ... | [
"0.7593114",
"0.7461018",
"0.7139735",
"0.7079745",
"0.6898075",
"0.68674976",
"0.686355",
"0.6813287",
"0.6740089",
"0.66587764",
"0.66004187",
"0.65609413",
"0.6514716",
"0.6498507",
"0.64512444",
"0.64460874",
"0.6443249",
"0.6427069",
"0.6419719",
"0.6414252",
"0.63977134... | 0.7327026 | 2 |
Getter method for the COM property "Relations" | @DISPID(1610940428) //= 0x6005000c. The runtime will prefer the VTID if present
@VTID(34)
Relations relations(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String[] getRelations() {\n/* 270 */ return getStringArray(\"relation\");\n/* */ }",
"public ru.terralink.mvideo.sap.Relations getRelations()\n {\n if (! __relationsValid)\n {\n if( (__relationsFK != null))\n {\n __relations = ru.terralink.mv... | [
"0.8131639",
"0.78044933",
"0.7780256",
"0.77695835",
"0.75817615",
"0.7343158",
"0.730516",
"0.7275917",
"0.7183904",
"0.6948856",
"0.6797718",
"0.6795556",
"0.6729814",
"0.6688294",
"0.66352564",
"0.6548232",
"0.65385866",
"0.65361327",
"0.65259904",
"0.6501699",
"0.6474208... | 0.73645025 | 5 |
Getter method for the COM property "Parameters" | @DISPID(1610940429) //= 0x6005000d. The runtime will prefer the VTID if present
@VTID(35)
Parameters parameters(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Properties getParameters() {\r\n return mParameters;\r\n }",
"public String getParameters() {\n return this.Parameters;\n }",
"public Properties getParameters() {\n\t\treturn null;\n\t}",
"public Parameters getParameters();",
"public Parameters getParameters() {\r\n return params;\r... | [
"0.7810633",
"0.7599378",
"0.74386424",
"0.7430177",
"0.7369468",
"0.7353772",
"0.73067325",
"0.72877514",
"0.7279827",
"0.72706234",
"0.726948",
"0.72565764",
"0.7233751",
"0.7164745",
"0.71446514",
"0.71112216",
"0.7024321",
"0.6960711",
"0.6941089",
"0.6940194",
"0.6930896... | 0.695747 | 18 |
Getter method for the COM property "AnnotationSets" | @DISPID(1610940430) //= 0x6005000e. The runtime will prefer the VTID if present
@VTID(36)
Collection annotationSets(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Set<String> annotations();",
"public ElementMap[] getAnnotations() {\r\n return union.value();\r\n }",
"public ElementList[] getAnnotations() {\r\n return union.value();\r\n }",
"Set<? extends Class<? extends Annotation>> annotations();",
"public Element[] getAnnotations() {\r\n ... | [
"0.70060503",
"0.6731745",
"0.6726843",
"0.6542233",
"0.65280443",
"0.6484949",
"0.64355266",
"0.63216364",
"0.6318689",
"0.62813663",
"0.61962116",
"0.6158763",
"0.6157877",
"0.6126831",
"0.61256075",
"0.6068723",
"0.6050587",
"0.60442024",
"0.60416615",
"0.5919311",
"0.5901... | 0.7640933 | 0 |
Getter method for the COM property "UserSurfaces" | @DISPID(1610940431) //= 0x6005000f. The runtime will prefer the VTID if present
@VTID(37)
Collection userSurfaces(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.util.List getSurfaceRefs();",
"public Surface getSurface() {\n \t\treturn surface;\n \t}",
"org.landxml.schema.landXML11.SurfaceNameRefs xgetSurfaceRefs();",
"public Face[] getFaces() {\n return faces;\n }",
"@UML(identifier=\"proxy\", obligation=MANDATORY, specification=ISO_19107)\n Orie... | [
"0.6336449",
"0.5959914",
"0.57674205",
"0.57117313",
"0.560983",
"0.5568781",
"0.5519347",
"0.5514634",
"0.5399",
"0.5352785",
"0.533649",
"0.52306473",
"0.5214066",
"0.5209738",
"0.51870626",
"0.5161845",
"0.5116802",
"0.5110095",
"0.5089112",
"0.50669587",
"0.5045561",
"... | 0.80979884 | 0 |
Getter method for the COM property "AxisSystems" | @DISPID(1610940432) //= 0x60050010. The runtime will prefer the VTID if present
@VTID(38)
AxisSystems axisSystems(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public net.opengis.gml.x32.CoordinateSystemAxisPropertyType[] getAxisArray()\n {\n synchronized (monitor())\n {\n check_orphaned();\n java.util.List targetList = new java.util.ArrayList();\n get_store().find_all_element_users(AXIS$1, targetList);\n net.o... | [
"0.66428787",
"0.6377399",
"0.6340488",
"0.63175035",
"0.6302686",
"0.6243497",
"0.62266254",
"0.6075268",
"0.60069287",
"0.60014826",
"0.5989105",
"0.5972475",
"0.5951971",
"0.59327203",
"0.58908564",
"0.58876705",
"0.58546805",
"0.57697237",
"0.5761431",
"0.5755936",
"0.572... | 0.7925564 | 0 |
Getter method for the COM property "OriginElements" | @DISPID(1610940433) //= 0x60050011. The runtime will prefer the VTID if present
@VTID(39)
OriginElements originElements(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getOrigin()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORIGIN$16, 0);\n if (target == null)\n ... | [
"0.65715486",
"0.64855415",
"0.64323324",
"0.63389194",
"0.6331187",
"0.61980784",
"0.6189644",
"0.61852455",
"0.61555636",
"0.6148627",
"0.6136228",
"0.6101965",
"0.60904896",
"0.60904896",
"0.6084553",
"0.60729134",
"0.6060217",
"0.6027385",
"0.5948994",
"0.5939517",
"0.592... | 0.8191341 | 0 |
Getter method for the COM property "Density" | @DISPID(1610940434) //= 0x60050012. The runtime will prefer the VTID if present
@VTID(40)
double density(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public float getDensity() {\n return density;\n }",
"public float getDensity() {\n return density;\n }",
"public abstract float getDensity();",
"public double getDensity() {\n\t\tdouble widthX = this.maxx.getData().getX()-this.minx.getData().getX();\n\t\tdouble widthY = this.maxy.getData(... | [
"0.8157972",
"0.8157972",
"0.8134034",
"0.71142036",
"0.6762378",
"0.66455626",
"0.6633152",
"0.6533743",
"0.6512345",
"0.6427961",
"0.6377633",
"0.6331289",
"0.63261926",
"0.6286055",
"0.62401706",
"0.6231432",
"0.6213711",
"0.62056077",
"0.6196798",
"0.6173246",
"0.61621803... | 0.7314401 | 3 |
Getter method for the COM property "OrderedGeometricalSets" | @DISPID(1610940447) //= 0x6005001f. The runtime will prefer the VTID if present
@VTID(53)
OrderedGeometricalSets orderedGeometricalSets(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ArrayList<Sets> getSets() {\n return this.sets;\n }",
"public abstract java.util.Set getLocations();",
"Map<String, OperationalSets> getSets();",
"public DisjointSets getSets()\n\t{\n\t\treturn sets;\n\t}",
"public List<Set> getSets() {\n\t\treturn this.sets;\n\t}",
"public ArrayList<IGe... | [
"0.66151947",
"0.65485543",
"0.6454135",
"0.6374137",
"0.63658476",
"0.6194432",
"0.61681294",
"0.61581826",
"0.61290294",
"0.6074064",
"0.5954298",
"0.59388745",
"0.5866169",
"0.58636844",
"0.5859048",
"0.58515316",
"0.58190495",
"0.5796099",
"0.5796099",
"0.5773249",
"0.576... | 0.831773 | 0 |
Repeat this the same runnable code block again every 60 seconds | @Override
public void run() {
handler.postDelayed(runnableCode, apiCallFrequency);
//Initiates reload of forceLoad() in TickerLoader
reload();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void runEachMinute() {\n \n }",
"public void run()\r\n\t{\r\n\t\ttimer.scheduleAtFixedRate(this.getTimerTask(), 0, repeat * 60 * 1000);\r\n\t}",
"protected void runEachSecond() {\n \n }",
"@Override\r\n\tpublic void run() {\r\n\t\ttimer = new Timer();\r\n\t\ttimer.schedule(new T... | [
"0.7621495",
"0.7356082",
"0.7147195",
"0.6978512",
"0.6892569",
"0.67218494",
"0.6716056",
"0.66955024",
"0.66809195",
"0.6591964",
"0.6557329",
"0.65297747",
"0.6432694",
"0.64317214",
"0.64219993",
"0.63611853",
"0.6354576",
"0.6341665",
"0.6336421",
"0.6316394",
"0.628123... | 0.0 | -1 |
Check if the encoder is plugged in | public static boolean checkEncoder(TalonSRX... motors)
{
boolean result = true;
for (TalonSRX t : motors)
{
boolean isPresent = t.getSensorCollection().getPulseWidthRiseToRiseUs() != 0;
if (isPresent)
{
System.out.println(String.format("M... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static boolean getCodecEnabled(String codec) throws IOException, InterruptedException {\n return pi4jSystemInfoConnector.getCodecEnabled(codec);\r\n }",
"public boolean isSetInputEncoding()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return ge... | [
"0.6367775",
"0.62668806",
"0.6223938",
"0.5921665",
"0.59155405",
"0.5906242",
"0.5880857",
"0.5880857",
"0.580257",
"0.5756842",
"0.5707319",
"0.5683113",
"0.56578857",
"0.5649548",
"0.5609988",
"0.55897224",
"0.557805",
"0.55578166",
"0.55464697",
"0.5520989",
"0.5485624",... | 0.57029605 | 11 |
Check if motor controller needs a software update | public static boolean checkFirmware(BaseMotorController... motors)
{
final int expectedFirmwares = 0x0308; // VictorSPX firmware in sync (2018)
boolean result = true;
for (BaseMotorController t : motors)
{
final int version = t.getFirmwareVersion();
final bo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean updateSoftware()\n\t{\n\t\tif (this.updater.checkNewSoftwareUpdate() == false)\n\t\t{\n\t\t\tSystem.out.println(\"Can't connect to the server\");\n\t\t}\n\t\t\n\t\tif (this.updater.isNeedUpdate() == false)\n\t\t{\n\t\t\tthis.view.setState(new String (\"There is no update\"));\n\t\t\treturn true;\n\t... | [
"0.6866685",
"0.6805362",
"0.6574942",
"0.6473765",
"0.637106",
"0.61946857",
"0.618664",
"0.6123209",
"0.60928327",
"0.60928327",
"0.60352516",
"0.60197526",
"0.5966222",
"0.5919129",
"0.59159946",
"0.59158945",
"0.5871697",
"0.5840785",
"0.5835281",
"0.5818724",
"0.58174574... | 0.6562339 | 3 |
Check if motor controller needs a software update | public static boolean checkFirmware(List<BaseMotorController> motors1, BaseMotorController... motors2)
{
List<BaseMotorController> all = new ArrayList<BaseMotorController>(motors1);
all.addAll(Arrays.asList(motors2));
return checkFirmware(all);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean updateSoftware()\n\t{\n\t\tif (this.updater.checkNewSoftwareUpdate() == false)\n\t\t{\n\t\t\tSystem.out.println(\"Can't connect to the server\");\n\t\t}\n\t\t\n\t\tif (this.updater.isNeedUpdate() == false)\n\t\t{\n\t\t\tthis.view.setState(new String (\"There is no update\"));\n\t\t\treturn true;\n\t... | [
"0.6866685",
"0.6805362",
"0.6574942",
"0.6562339",
"0.6473765",
"0.637106",
"0.61946857",
"0.618664",
"0.6123209",
"0.60928327",
"0.60928327",
"0.60352516",
"0.60197526",
"0.5966222",
"0.5919129",
"0.59159946",
"0.59158945",
"0.5871697",
"0.5840785",
"0.5835281",
"0.5818724"... | 0.0 | -1 |
Check speed CAN messages are sent. Visually able to see potential performance improvements/issues. | public static boolean checkFrameRates(TalonSRX t) // TODO pass in criteria (ex: CurrentLimits)?
{
boolean result = true;
List<FrameCriteria> expectations = Arrays.asList(new FrameCriteria[] {
new FrameCriteria(StatusFrameEnhanced.Status_1_General, 5, CRITERIA.NO_FASTER_THAN),
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\t@Test(groups = {\"function\",\"setting\"} ) \r\n\tpublic boolean checkSpeed() {\n\t\tboolean flag = oTest.checkSpeed();\r\n\t\tAssertion.verifyEquals(flag, true);\r\n\t\treturn flag;\r\n\t}",
"@Override\n public void handleMessage(Message msg) {\n sendEmptyMessageDelayed(... | [
"0.60616255",
"0.60275775",
"0.59819865",
"0.57595044",
"0.5675014",
"0.56506616",
"0.56506616",
"0.56506616",
"0.56506616",
"0.56506616",
"0.56506616",
"0.5648086",
"0.5591059",
"0.5591059",
"0.5589531",
"0.5582543",
"0.5577786",
"0.5577786",
"0.55770427",
"0.55761415",
"0.5... | 0.0 | -1 |
Check the encoder reads positive position changes for positive commanded values, used in closed loop | public static boolean checkSensorPhase(double percentVoltage, TalonSRX... motors)
{
double movementDuration = 0.25;
List<TalonSRX> motorsUnderTest = Arrays.asList(motors); // Must set all at once to safely move subsystems
List<Integer> initialPositions = new ArrayList<Integer>();
f... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean checkOverflow() {\n\t\tfor(int i = 0; i < hand.size(); i++) {\n\t\t\tif(hand.get(i).getValue() == 11) {\n\t\t\t\thand.get(i).makeSoft();\n\t\t\t\tSystem.out.println(\"The value of the \" + hand.get(i) +\" was changed to 1\");\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t\t\n\t}",
"p... | [
"0.59030646",
"0.5862398",
"0.5633115",
"0.5597317",
"0.5527633",
"0.54965746",
"0.54855",
"0.53658825",
"0.5360141",
"0.534039",
"0.53388226",
"0.5336219",
"0.5317288",
"0.52911156",
"0.5268445",
"0.52497256",
"0.52194977",
"0.5205087",
"0.514465",
"0.5140067",
"0.51177937",... | 0.0 | -1 |
getDriver(); // argument is mandatory | public static void main(String[] args) {
String str = getDriver("chrome");
System.out.println(str);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Driver getDriver();",
"public void selectDriver();",
"public abstract String getDriver();",
"public String getDriver() {\r\n return driver;\r\n }",
"public String getDriver() {\n return driver;\n }",
"public String getDriver() {\n return driver;\n }",
"void createDriver(Dr... | [
"0.89940023",
"0.84208065",
"0.8269401",
"0.7520563",
"0.74661916",
"0.74661916",
"0.74257",
"0.7344885",
"0.7176095",
"0.70536554",
"0.70138264",
"0.70072633",
"0.69557184",
"0.6941041",
"0.68648154",
"0.6843621",
"0.6832828",
"0.672223",
"0.6692424",
"0.66550386",
"0.658413... | 0.6098721 | 50 |
Makes a transaction specified in the OrderTransfer object. | @Transactional
public long makeTransaction(OrderTransfer orderTransfer) throws IOException {
long securityCode = orderTransfer.getSecurityCode();
long barCode = orderTransfer.getBarCode();
Client client = clientRepo.findBySecurityCode(securityCode);
Product product = productRepo.fin... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Transaction createTransaction(Credentials user, TransactionType tt) throws RelationException;",
"public void createTransaction(Transaction trans);",
"public abstract Response makeTransfer(Transaction transaction) throws AccountNotFoundException, InsufficientFundsException;",
"public long createTransac... | [
"0.6964084",
"0.68859524",
"0.6853995",
"0.6620889",
"0.6395483",
"0.62260586",
"0.6211164",
"0.6208816",
"0.6171219",
"0.60645443",
"0.601914",
"0.6005035",
"0.5999166",
"0.5948976",
"0.58615756",
"0.58563215",
"0.58321595",
"0.5827192",
"0.5820144",
"0.5815678",
"0.5790647"... | 0.70225924 | 0 |
The interface for the vcms discussion remote service. This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely. | @JSONWebService
@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
PortalException.class, SystemException.class})
public interface VcmsDiscussionService {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link VcmsDiscussionServiceUtil} to access the vcms d... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Remote\r\npublic interface NoteMailManagerRemote\r\n extends NoteMailManager\r\n{\r\n\r\n\r\n}",
"public interface VSGroupChat extends Remote {\n\n void register(VSGCListener listener, VSGCGroup group) throws RemoteException;\n void post(VSGCListener listener, VSGCMessage message) throws RemoteExceptio... | [
"0.57463074",
"0.57133484",
"0.57045436",
"0.56824183",
"0.5631137",
"0.56110835",
"0.55472654",
"0.5504452",
"0.5464434",
"0.54596716",
"0.544885",
"0.54470414",
"0.5374772",
"0.5366038",
"0.5365301",
"0.53328174",
"0.52972966",
"0.5295797",
"0.5275198",
"0.52467376",
"0.523... | 0.7054812 | 0 |
Main entry point method. Will start application. | public static void main(String[] args) throws FrameworkException
{
int port = 1234; // Default application port
if (args.length > 0) {
port = Integer.parseInt(args[0]);
}
start(port);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args) {\n startApplication();\n }",
"public static void main(String arg[]) {\n\n\t\tUtility.runApplication();\n\t}",
"public static void main(String[] args) {\n\t\trunApplication();\n\t}",
"public static void main(final String... args) {\n\n Application.launc... | [
"0.74179363",
"0.7116715",
"0.7105455",
"0.6869621",
"0.68419385",
"0.68213487",
"0.6818836",
"0.6768056",
"0.67474604",
"0.67416364",
"0.67238903",
"0.6710905",
"0.67097425",
"0.6686813",
"0.6676405",
"0.6658963",
"0.6646482",
"0.664209",
"0.6639221",
"0.66359824",
"0.662448... | 0.6572601 | 28 |
Initialise system components, start application. | public static Kernel start(int port)
{
Kernel app = Kernel.newInstance();
Container container = app.getContainer();
// Forms
container.add(new ServiceDefinition<>(AnnualReviewType.class));
container.add(new ServiceDefinition<>(UserType.class));
// Managers
c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void startUp() {\n\t\t/* Language of App */\n\t\t\n\t\t/* Init Icons */\n\t\tPaintShop.initIcons(display);\n\t\t/* Init all components */\n\t\tinitComponents();\n\t\t\n\t\t\n\t}",
"@Override\n protected final void startApplication() throws Exception {\n if (!checkSimulationDirectory()) {\n ... | [
"0.7255831",
"0.7232779",
"0.71898526",
"0.69586235",
"0.68421334",
"0.68220764",
"0.6786215",
"0.6777654",
"0.67743737",
"0.6723446",
"0.67141753",
"0.67136204",
"0.66948825",
"0.6629729",
"0.662298",
"0.65829855",
"0.6565706",
"0.6550542",
"0.6550542",
"0.65355337",
"0.6516... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.