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 |
|---|---|---|---|---|---|---|
/ N/3 Repeat Number Problem Description You're given a read only array of n integers. Find out if any integer occurs more than n/3 times in the array in linear time and constant additional space. If so, return the integer. If not, return 1. If there are multiple solutions, return any one. | public static int repeatedNumber(final List<Integer> a) {
int n = a.size();
HashMap<Integer, Integer> map_a=new HashMap<>();
for(int i=0;i<n;i++) {
map_a.put(a.get(i), map_a.getOrDefault(a.get(i), 0)+1);
}
System.out.println(map_a);
for(int i:map_a.values()) {
if(i>n/3)
{
Set<Integer> set= g... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int repeatedNTimes(int[] A) {\n List<Integer> visited = new ArrayList<>();\n int result = A[0];\n for (int i = 0; i < A.length; i++) {\n if (!visited.contains(A[i])) {\n visited.add(A[i]);\n } else {\n result = A[i];\n b... | [
"0.657839",
"0.6437707",
"0.62092227",
"0.6196976",
"0.6114797",
"0.6103873",
"0.60352176",
"0.59799844",
"0.5959746",
"0.5956002",
"0.5943911",
"0.59064645",
"0.58604455",
"0.5822824",
"0.58165675",
"0.5814833",
"0.5805601",
"0.5803369",
"0.5785941",
"0.5759749",
"0.5753468"... | 0.6727885 | 0 |
/ Metodo para generar billetes aleatoriamente Este metodo los genera con una fecha y asiento ademas de para un pasajero | private static List<Billetes> generarBilletes(String fecha, Pasajero p){
List<Billetes> billetes = new ArrayList<>();
for (int i = 0; i < 10; i++) {
Billetes billete = new Billetes();
billete.setId(i);
billete.setFecha(fecha);
char c1 = (char)new Random().nextInt(50);
char c2 = (char)new Rando... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void generTirarDados() {\n\r\n\t}",
"private List<PlanTrabajo> generarPlanesTrabajo( Date fecPrgn, \n\t\t\tList<Cuadrilla> cuadrillas,Map<Long, GrupoAtencion> mpGrupos, \n\t\t\tMap<Long, Long> asignaciones ){\n\t\t\n\t\t\tList<PlanTrabajo> planTrabajoList = new ArrayList<PlanTrabajo>();\n\t\t\tSet<Long>... | [
"0.6916179",
"0.65280145",
"0.6356965",
"0.59516275",
"0.5837908",
"0.57529646",
"0.5746768",
"0.5740683",
"0.5738668",
"0.57170343",
"0.5712279",
"0.5696296",
"0.56949",
"0.5657856",
"0.5647483",
"0.56384665",
"0.56205124",
"0.56129694",
"0.5609765",
"0.55480254",
"0.5544849... | 0.708011 | 0 |
To handle user transactions from a Web component | public CustomerController() {
super();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void confirmRealWorldTrade(IUserAccount user, ITransaction trans);",
"public void authorizeTransaction() {}",
"void sendTransaction(IUserAccount target, ITransaction trans, IUserAccount user);",
"public void transact() {\n\t\truPay.transact();\n\n\t}",
"void addConfirmedTransaction(int transId, String user... | [
"0.66252744",
"0.6492968",
"0.63041776",
"0.6182837",
"0.61490744",
"0.61138403",
"0.60746676",
"0.60584795",
"0.60083556",
"0.5943503",
"0.5869489",
"0.5812886",
"0.5683912",
"0.5661877",
"0.56617224",
"0.56399894",
"0.5594075",
"0.5585083",
"0.5582708",
"0.55782306",
"0.554... | 0.0 | -1 |
TODO Autogenerated method stub | public static void main(String[] args) {
} | {
"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 |
Remove leading white space | @Override
public void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException {
String[] words = value.toString().replaceAll(" ", "").split(",");
// Valid input
if (words.length == 3) {
// Get words
String w... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private String removeLeadingWhitespace(String input) {\n for (int index = 0; index < input.length(); index++) {\n if (!Character.isWhitespace(input.charAt(index))) {\n return input.substring(index);\n }\n }\n return input;\n }",
"static String trimStar... | [
"0.78069293",
"0.7045119",
"0.6988486",
"0.6970293",
"0.6965606",
"0.6897941",
"0.6678045",
"0.66260415",
"0.6625779",
"0.6612424",
"0.6552316",
"0.65103173",
"0.65016174",
"0.6484409",
"0.6451884",
"0.6442585",
"0.639469",
"0.63913393",
"0.6341084",
"0.63019234",
"0.627113",... | 0.0 | -1 |
Section 4: MapReduce Driver | public static void main(String[] args) throws Exception {
// Step 1: Get a new MapReduce Job object
Job job = Job.getInstance();
// Step 2: Register the MapReduce class
job.setJarByClass(mixture.class);
// Step 3: Set I/O files
FileInputFormat.setInputPaths(job, new... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testMapReduce() {\n\n\t\t/*\n\t\t * For this test, the mapper's input will be \"1 cat cat dog\" \n\t\t */\n\t\tmapReduceDriver.withInput(new LongWritable(1), new Text(swedenHealth));\n\n\t\t/*\n\t\t * The expected output (from the reducer) is \"cat 2\", \"dog 1\". \n\t\t */\n\t\tmapReduceDrive... | [
"0.7158686",
"0.66149354",
"0.6430996",
"0.6397082",
"0.6379139",
"0.6361643",
"0.62845695",
"0.62359804",
"0.6212141",
"0.61832815",
"0.6134952",
"0.6121824",
"0.6085091",
"0.60805196",
"0.60563827",
"0.6050788",
"0.6031633",
"0.60194933",
"0.60093266",
"0.59985006",
"0.5979... | 0.0 | -1 |
Called when the activity is first created. | @Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
TabHost tabHost = getTabHost();
// Tab for Places
TabSpec placesSpec = tabHost.newTabSpec("Places");
// setting Title and Icon for the Ta... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t}",
"@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}",
"@Override\n\tpublic void onActivit... | [
"0.791686",
"0.77270156",
"0.7693263",
"0.7693263",
"0.7693263",
"0.7693263",
"0.7693263",
"0.7693263",
"0.7637394",
"0.7637394",
"0.7629958",
"0.76189965",
"0.76189965",
"0.7543775",
"0.7540053",
"0.7540053",
"0.7539505",
"0.75269467",
"0.75147736",
"0.7509639",
"0.7500879",... | 0.0 | -1 |
Get all the jobTitles. | @Override
@Transactional(readOnly = true)
public Page<JobTitleDTO> findAll(Pageable pageable) {
log.debug("Request to get all JobTitles");
return jobTitleRepository.findAll(pageable)
.map(jobTitleMapper::toDto);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<String> getTitles() {\n List<String> list = new ArrayList<>(((List<Entry>) Router.callRouter(this.entries, Entries.class, \"getEntry\", null, null)).size());\n for (Entry entry : this.entries.getEntry()) {\n list.add(entry.getTitle());\n }\n return list;\n }",
... | [
"0.72507536",
"0.7053768",
"0.68798745",
"0.68422854",
"0.6506819",
"0.6318654",
"0.63063973",
"0.6179001",
"0.6159884",
"0.61058646",
"0.6080596",
"0.6061473",
"0.6037803",
"0.60306185",
"0.5967559",
"0.59518546",
"0.59419894",
"0.5932727",
"0.5928761",
"0.5913138",
"0.58227... | 0.57766575 | 23 |
Get one jobTitle by id. | @Override
@Transactional(readOnly = true)
public Optional<JobTitleDTO> findOne(Long id) {
log.debug("Request to get JobTitle : {}", id);
return jobTitleRepository.findById(id)
.map(jobTitleMapper::toDto);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic ThemeTitle getById(int id) {\n\t\treturn mapper.selectByPrimaryKey(id);\n\t}",
"Optional<Job> findOne(String id);",
"public String getJobTitle() {\r\n return jobTitle;\r\n }",
"public String getJob_title() {\r\n return job_title;\r\n }",
"@Override\n\t@Transactional(... | [
"0.66926825",
"0.66131496",
"0.6392839",
"0.638267",
"0.6330883",
"0.6259228",
"0.6192471",
"0.60938114",
"0.6041124",
"0.6020347",
"0.5977304",
"0.58739936",
"0.57665783",
"0.57382274",
"0.5722825",
"0.57126665",
"0.57126665",
"0.57126665",
"0.57126665",
"0.57126665",
"0.571... | 0.76147306 | 0 |
Delete the jobTitle by id. | @Override
public void delete(Long id) {
log.debug("Request to delete JobTitle : {}", id);
jobTitleRepository.deleteById(id);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void deleteJobWithTitleFromUser(final String title, final String uId) {\n DatabaseReference ref = FirebaseDatabase.getInstance().getReference(\"jobs\");\n ref.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull ... | [
"0.6859066",
"0.67736185",
"0.67490256",
"0.66634095",
"0.6658455",
"0.656086",
"0.6464066",
"0.6464066",
"0.6464066",
"0.6464066",
"0.6464066",
"0.6464066",
"0.6464066",
"0.6464066",
"0.6464066",
"0.6464066",
"0.64164174",
"0.64164174",
"0.64164174",
"0.64164174",
"0.6416417... | 0.8594524 | 0 |
Here we test the setting of only individual tokens | @Test
public void testEmbeddingAnnotatorWithFilterAnnotation() throws Exception {
final JCas jCas = JCasFactory.createJCas("de.julielab.jcore.types.jcore-morpho-syntax-types", "de.julielab.jcore.types.jcore-semantics-biology-types");
String sentence1 = "Dysregulated inflammation leads to morbidity a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void tokenTest() {\n // TODO: test token\n }",
"@Test\n public void tokenTest() {\n // TODO: test token\n }",
"@Test\n public void parseToken() {\n }",
"private void setTokenLength() {\n\t\tfor (Token ts : Token.values()) {\n\t\t\tif (ts.getValue().length() == 1... | [
"0.6899482",
"0.6899482",
"0.68088436",
"0.63788205",
"0.6369968",
"0.628052",
"0.62306327",
"0.6229969",
"0.6224397",
"0.6186059",
"0.6186059",
"0.6186059",
"0.6186059",
"0.6186059",
"0.6186059",
"0.6171692",
"0.61603594",
"0.61603594",
"0.61603594",
"0.61209184",
"0.6091308... | 0.0 | -1 |
Tokens for sentence 1 | private void addTokens(JCas jCas) {
new Token(jCas, 0, 12).addToIndexes();
new Token(jCas, 13, 25).addToIndexes();
new Token(jCas, 26, 31).addToIndexes();
new Token(jCas, 32, 34).addToIndexes();
new Token(jCas, 35, 44).addToIndexes();
new Token(jCas, 45, 48).addToIndexes(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Token makeOneToken(String word) {\n Tokenizer tokenizer = new Tokenizer(new StringReader(word), keywords);;\n return tokenizer.next();\n }",
"public String getTokenValue() { return tok; }",
"public String getToken(String line){ \n String[] tokensArr = splitTokens(line, \" &,+.'`\")... | [
"0.63535285",
"0.62480515",
"0.622563",
"0.6202772",
"0.6202772",
"0.6202772",
"0.6202772",
"0.6202772",
"0.6195309",
"0.6105276",
"0.6105276",
"0.6105276",
"0.6105276",
"0.6105276",
"0.6105276",
"0.6105276",
"0.6105276",
"0.6105276",
"0.6105276",
"0.60677147",
"0.6062439",
... | 0.5969406 | 30 |
Create and set up the window. | private static void createAndShowGUI() {
frame = new JFrame("SpringBagLayoutTextWindowDemo");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Set up the content pane.
addComponentsToPane(frame.getContentPane());
//frame.setSize();
//Dis... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setupWindow() {\n\t\tgetContentPane().setLayout(null);\t\t\t\t\n\n\t\t// Set title\n\t\tsetTitle(\"Gallhp\");\n\n\t\t// Set location and size\n\t\tsetLocationRelativeTo(null);\n\t\tsetDefaultCloseOperation(EXIT_ON_CLOSE);\t\n\t\tsetSize(800, 600);\n\t\tsetResizable(false);\n\n\t}",
"void createWindo... | [
"0.80244535",
"0.7816342",
"0.7676266",
"0.7619023",
"0.75751454",
"0.74400616",
"0.7426157",
"0.74101317",
"0.73680085",
"0.7335757",
"0.729503",
"0.72915095",
"0.7281922",
"0.7279456",
"0.7245123",
"0.723747",
"0.7214744",
"0.72016686",
"0.7155268",
"0.7093008",
"0.70570225... | 0.6544541 | 83 |
Schedule a job for the eventdispatching thread: creating and showing this application's GUI. | public static void main(String[] args) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
}
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args) {\n \n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n \npublic void run() {\n \n createAndShowGUI(); \n \n}\n \n });\n }",
"private void createFrame() {\n\t\tEventQueue.invokeLater(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tfina... | [
"0.6489065",
"0.6396974",
"0.62960964",
"0.62751585",
"0.6207059",
"0.62060386",
"0.6192953",
"0.61890584",
"0.6182046",
"0.6165799",
"0.6155733",
"0.61085385",
"0.60945547",
"0.60921544",
"0.60840374",
"0.60840374",
"0.6083604",
"0.6069901",
"0.6043248",
"0.6038109",
"0.6030... | 0.5764873 | 69 |
Write code here that turns the phrase above into concrete actions For automatic transformation, change DataTable to one of E, List, List>, List>, Map or Map>. E,K,V must be a String, Integer, Float, Double, Byte, Short, Long, BigInteger or BigDecimal. For other transformations you can register a DataTableType. | @Then("The user should be able to see following rooms:")
public void the_user_should_be_able_to_see_following_rooms(List <String> rooms) {
System.out.println(rooms);
System.out.println(rooms.size());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract String doTableConvert(String sql);",
"public interface DataConverter<JAVATYPE,METATYPE extends FieldDefinition> {\n /** Method invoked for a single JAVATYPE */\n JAVATYPE convert(JAVATYPE oldValue, final METATYPE meta);\n\n /** Method invoked for a JAVATYPE List. This can be used to alte... | [
"0.6320803",
"0.59018373",
"0.5801718",
"0.56857884",
"0.56781983",
"0.5574299",
"0.554",
"0.5395976",
"0.53444576",
"0.53275263",
"0.5263431",
"0.5233866",
"0.52119714",
"0.5200045",
"0.5194865",
"0.5186791",
"0.51804674",
"0.5174542",
"0.5164534",
"0.5151469",
"0.5134603",
... | 0.0 | -1 |
Auto generated getter method | public long getAnnounces() {
return localAnnounces;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setAnnounces(long param) {
if (param == java.lang.Long.MIN_VALUE) {
localAnnouncesTracker = false;
} else {
localAnnouncesTracker = true;
}
this.localAnnounces = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70670295",
"0.7023798",
"0.6954649",
"0.6890834",
"0.68694764",
"0.6848223",
"0.6767401",
"0.6760354",
"0.67435783",
"0.6741887",
"0.6724721",
"0.6715407",
"0.66984427",
"0.66975236",
"0.66825897",
"0.66573787",
"0.6653471",
"0.6652204",
"0.66411304",
"0.6628469",
"0.66250... | 0.0 | -1 |
Auto generated getter method | public int[] getAttenuator() {
return localAttenuator;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
validate the array for Attenuator | protected void validateAttenuator(int[] param) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected boolean validateData(String [] data) {\n return true;\n }",
"protected void validateItem(Item[] param) {\r\n }",
"public String validate(Data[] data);",
"protected void validateAnimalModel(AnimalModel[] param) {\n }",
"protected void validateAttribute(FactAttribute[] param... | [
"0.63379824",
"0.6246496",
"0.61619747",
"0.59807557",
"0.59540063",
"0.5844596",
"0.58201975",
"0.5685751",
"0.5665231",
"0.56389576",
"0.55903167",
"0.5585976",
"0.55854917",
"0.558214",
"0.5550731",
"0.5535237",
"0.5515153",
"0.5505191",
"0.55050707",
"0.5500006",
"0.55000... | 0.7078284 | 0 |
Auto generated setter method | public void setAttenuator(int[] param) {
validateAttenuator(param);
if (param != null) {
localAttenuatorTracker = true;
} else {
localAttenuatorTracker = true;
}
this.localAttenuator = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public cwterm.service.rigctl.xsd.Channel[] getChannelList() {
return localChannelList;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
validate the array for ChannelList | protected void validateChannelList(cwterm.service.rigctl.xsd.Channel[] param) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean isValidChannel(int channel) {\n\n\t\treturn (channel >= 0)\n\t\t\t&& (channel < channels.length)\n\t\t\t&& (channels[channel] != null);\n\t}",
"@Override\r\n\tprotected void validateList(List<StravaChallenge> list) {\n\t\tif (JavastravaApplicationConfig.STRAVA_ALLOWS_CHALLENGES_ENDPOINT) {\r\n\t\... | [
"0.59117556",
"0.58043426",
"0.57887286",
"0.5739411",
"0.5675963",
"0.5623046",
"0.55899847",
"0.55328035",
"0.54368496",
"0.5424811",
"0.5378509",
"0.5363447",
"0.5320419",
"0.5313923",
"0.5287455",
"0.5273537",
"0.52414864",
"0.5240274",
"0.52078545",
"0.51881146",
"0.5184... | 0.7729324 | 0 |
Auto generated setter method | public void setChannelList(cwterm.service.rigctl.xsd.Channel[] param) {
validateChannelList(param);
if (param != null) {
localChannelListTracker = true;
} else {
localChannelListTracker = true;
}
this.localChannelList = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70670295",
"0.7023798",
"0.6954649",
"0.6890834",
"0.68694764",
"0.6848223",
"0.6767401",
"0.6760354",
"0.67435783",
"0.6741887",
"0.6724721",
"0.6715407",
"0.66984427",
"0.66975236",
"0.66825897",
"0.66573787",
"0.6653471",
"0.6652204",
"0.66411304",
"0.6628469",
"0.66250... | 0.0 | -1 |
Auto generated add method for the array for convenience | public void addChannelList(cwterm.service.rigctl.xsd.Channel param) {
if (localChannelList == null) {
localChannelList = new cwterm.service.rigctl.xsd.Channel[] {};
}
localChannelListTracker = true;
java.util.List list = org.apache.axis2.databinding.utils.ConverterUtil.toList... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void add(T t) {\n checkIfArrayFull();\n\n arrayList[elementsInArray] = t;\n elementsInArray++;\n }",
"public void add( Object value )\n\t{\n\t\tint n = size();\n\t\tif (addIndex >= n)\n\t\t{\n\t\t\tif (n == 0)\n\t\t\t\tn = 8;\n\t\t\telse\n\t\t\t\tn *= 2;\n\t\t\tObjec... | [
"0.7166713",
"0.70580214",
"0.6996931",
"0.694642",
"0.6882074",
"0.68420875",
"0.68217754",
"0.68044376",
"0.6790805",
"0.6725368",
"0.6692168",
"0.6656118",
"0.6651345",
"0.65993327",
"0.65862834",
"0.65862834",
"0.65862834",
"0.65683556",
"0.65683556",
"0.65683556",
"0.656... | 0.0 | -1 |
Auto generated getter method | public cwterm.service.rigctl.xsd.Filter[] getFilters() {
return localFilters;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
validate the array for Filters | protected void validateFilters(cwterm.service.rigctl.xsd.Filter[] param) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void validateFilters() {\r\n\t\t// There should be a column matching each filter\r\n\t\tList<FilterEnumeration> list = this.filterConfig.getFilters();\r\n\t\tif(list != null){\r\n\t\t\tfor(FilterEnumeration filter: list){\r\n\t\t\t\t// Do we have a column matching this filter?\r\n\t\t\t\tHeaderData header ... | [
"0.70494103",
"0.67415184",
"0.6440736",
"0.6223788",
"0.6223788",
"0.6075051",
"0.6072118",
"0.6009612",
"0.6005679",
"0.59851027",
"0.59328365",
"0.58462244",
"0.5825789",
"0.57719016",
"0.575834",
"0.56658095",
"0.5644908",
"0.56373924",
"0.5569983",
"0.55124044",
"0.54911... | 0.80499834 | 0 |
Auto generated setter method | public void setFilters(cwterm.service.rigctl.xsd.Filter[] param) {
validateFilters(param);
if (param != null) {
localFiltersTracker = true;
} else {
localFiltersTracker = true;
}
this.localFilters = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70670295",
"0.7023798",
"0.6954649",
"0.6890834",
"0.68694764",
"0.6848223",
"0.6767401",
"0.6760354",
"0.67435783",
"0.6741887",
"0.6724721",
"0.6715407",
"0.66984427",
"0.66975236",
"0.66825897",
"0.66573787",
"0.6653471",
"0.6652204",
"0.66411304",
"0.6628469",
"0.66250... | 0.0 | -1 |
Auto generated add method for the array for convenience | public void addFilters(cwterm.service.rigctl.xsd.Filter param) {
if (localFilters == null) {
localFilters = new cwterm.service.rigctl.xsd.Filter[] {};
}
localFiltersTracker = true;
java.util.List list = org.apache.axis2.databinding.utils.ConverterUtil.toList(localFilters);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void add(T t) {\n checkIfArrayFull();\n\n arrayList[elementsInArray] = t;\n elementsInArray++;\n }",
"public void add( Object value )\n\t{\n\t\tint n = size();\n\t\tif (addIndex >= n)\n\t\t{\n\t\t\tif (n == 0)\n\t\t\t\tn = 8;\n\t\t\telse\n\t\t\t\tn *= 2;\n\t\t\tObjec... | [
"0.7166713",
"0.70580214",
"0.6996931",
"0.694642",
"0.6882074",
"0.68420875",
"0.68217754",
"0.68044376",
"0.6790805",
"0.6725368",
"0.6692168",
"0.6656118",
"0.6651345",
"0.65993327",
"0.65862834",
"0.65862834",
"0.65862834",
"0.65683556",
"0.65683556",
"0.65683556",
"0.656... | 0.0 | -1 |
Auto generated getter method | public boolean getHasGetFunc() {
return localHasGetFunc;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setHasGetFunc(boolean param) {
if (false) {
localHasGetFuncTracker = false;
} else {
localHasGetFuncTracker = true;
}
this.localHasGetFunc = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public boolean getHasGetLevel() {
return localHasGetLevel;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setHasGetLevel(boolean param) {
if (false) {
localHasGetLevelTracker = false;
} else {
localHasGetLevelTracker = true;
}
this.localHasGetLevel = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public boolean getHasGetParm() {
return localHasGetParm;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setHasGetParm(boolean param) {
if (false) {
localHasGetParmTracker = false;
} else {
localHasGetParmTracker = true;
}
this.localHasGetParm = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public boolean getHasSetFunc() {
return localHasSetFunc;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setHasSetFunc(boolean param) {
if (false) {
localHasSetFuncTracker = false;
} else {
localHasSetFuncTracker = true;
}
this.localHasSetFunc = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public boolean getHasSetLevel() {
return localHasSetLevel;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setHasSetLevel(boolean param) {
if (false) {
localHasSetLevelTracker = false;
} else {
localHasSetLevelTracker = true;
}
this.localHasSetLevel = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public boolean getHasSetParm() {
return localHasSetParm;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setHasSetParm(boolean param) {
if (false) {
localHasSetParmTracker = false;
} else {
localHasSetParmTracker = true;
}
this.localHasSetParm = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public int getItuRegion() {
return localItuRegion;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setItuRegion(int param) {
if (param == java.lang.Integer.MIN_VALUE) {
localItuRegionTracker = false;
} else {
localItuRegionTracker = true;
}
this.localItuRegion = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public long getMaxIfShift() {
return localMaxIfShift;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setMaxIfShift(long param) {
if (param == java.lang.Long.MIN_VALUE) {
localMaxIfShiftTracker = false;
} else {
localMaxIfShiftTracker = true;
}
this.localMaxIfShift = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public long getMaxRIT() {
return localMaxRIT;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setMaxRIT(long param) {
if (param == java.lang.Long.MIN_VALUE) {
localMaxRITTracker = false;
} else {
localMaxRITTracker = true;
}
this.localMaxRIT = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public long getMaxXIT() {
return localMaxXIT;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
Auto generated setter method | public void setMaxXIT(long param) {
if (param == java.lang.Long.MIN_VALUE) {
localMaxXITTracker = false;
} else {
localMaxXITTracker = true;
}
this.localMaxXIT = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated getter method | public int[] getPreamp() {
return localPreamp;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
validate the array for Preamp | protected void validatePreamp(int[] param) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String validate(Data[] data);",
"protected boolean validateData(String [] data) {\n return true;\n }",
"private void validateData() {\n }",
"protected void validateAttenuator(int[] param) {\n }",
"public static boolean isArray_min() {\n return false;\n }",
"protected void... | [
"0.6886699",
"0.6788445",
"0.63221204",
"0.6111341",
"0.6068463",
"0.60599226",
"0.6021475",
"0.5933454",
"0.59183383",
"0.5902084",
"0.58625764",
"0.58350885",
"0.5821826",
"0.582121",
"0.5767906",
"0.57209796",
"0.57135504",
"0.571263",
"0.5655835",
"0.5654081",
"0.5608473"... | 0.7511391 | 0 |
Auto generated setter method | public void setPreamp(int[] param) {
validatePreamp(param);
if (param != null) {
localPreampTracker = true;
} else {
localPreampTracker = true;
}
this.localPreamp = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70670295",
"0.7023798",
"0.6954649",
"0.6890834",
"0.68694764",
"0.6848223",
"0.6767401",
"0.6760354",
"0.67435783",
"0.6741887",
"0.6724721",
"0.6715407",
"0.66984427",
"0.66975236",
"0.66825897",
"0.66573787",
"0.6653471",
"0.6652204",
"0.66411304",
"0.6628469",
"0.66250... | 0.0 | -1 |
Auto generated getter method | public cwterm.service.rigctl.xsd.FreqRange[] getRxRangeList() {
return localRxRangeList;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
validate the array for RxRangeList | protected void validateRxRangeList(cwterm.service.rigctl.xsd.FreqRange[] param) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void validateTxRangeList(cwterm.service.rigctl.xsd.FreqRange[] param) {\n }",
"private boolean isRangeValid() {\n\n\t\tboolean valid = true;\n\n\t\tif (getRange() == null) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\tLong.parseLong(getRange());\n\t\t} catch (NumberFormatException nfe) {\n\t\t\t... | [
"0.7555785",
"0.64515173",
"0.61219835",
"0.6058986",
"0.5954235",
"0.59064144",
"0.5823943",
"0.57855344",
"0.57425267",
"0.57345384",
"0.57194364",
"0.57122225",
"0.5666162",
"0.5649146",
"0.5641344",
"0.559701",
"0.5565587",
"0.5564815",
"0.5547223",
"0.5536757",
"0.551959... | 0.8053214 | 0 |
Auto generated setter method | public void setRxRangeList(cwterm.service.rigctl.xsd.FreqRange[] param) {
validateRxRangeList(param);
if (param != null) {
localRxRangeListTracker = true;
} else {
localRxRangeListTracker = true;
}
this.localRxRangeList = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated add method for the array for convenience | public void addRxRangeList(cwterm.service.rigctl.xsd.FreqRange param) {
if (localRxRangeList == null) {
localRxRangeList = new cwterm.service.rigctl.xsd.FreqRange[] {};
}
localRxRangeListTracker = true;
java.util.List list = org.apache.axis2.databinding.utils.ConverterUtil.to... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void add(T t) {\n checkIfArrayFull();\n\n arrayList[elementsInArray] = t;\n elementsInArray++;\n }",
"public void add( Object value )\n\t{\n\t\tint n = size();\n\t\tif (addIndex >= n)\n\t\t{\n\t\t\tif (n == 0)\n\t\t\t\tn = 8;\n\t\t\telse\n\t\t\t\tn *= 2;\n\t\t\tObjec... | [
"0.71651894",
"0.70569545",
"0.6996057",
"0.69472116",
"0.688253",
"0.68420297",
"0.6820372",
"0.6803505",
"0.67910904",
"0.6724837",
"0.66921943",
"0.66566396",
"0.6650698",
"0.6599233",
"0.6586805",
"0.6586805",
"0.6586805",
"0.6568739",
"0.6568739",
"0.6568739",
"0.6568739... | 0.0 | -1 |
Auto generated getter method | public cwterm.service.rigctl.xsd.TuningStep[] getTuningSteps() {
return localTuningSteps;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
validate the array for TuningSteps | protected void validateTuningSteps(cwterm.service.rigctl.xsd.TuningStep[] param) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void validateFact(Fact[] param) {\r\n\r\n }",
"public String validate(Data[] data);",
"protected void validatePreamp(int[] param) {\n }",
"protected void validateLogModel(LogModel[] param) {\n }",
"protected boolean validateData(String [] data) {\n return true;\n }",
... | [
"0.6182342",
"0.6013943",
"0.58068985",
"0.5738218",
"0.5692894",
"0.56859976",
"0.5658331",
"0.5640086",
"0.55934024",
"0.55772233",
"0.5573081",
"0.5551626",
"0.5548051",
"0.55438757",
"0.5537028",
"0.5526401",
"0.5504291",
"0.55010414",
"0.549197",
"0.5467047",
"0.54546857... | 0.78609824 | 0 |
Auto generated setter method | public void setTuningSteps(cwterm.service.rigctl.xsd.TuningStep[] param) {
validateTuningSteps(param);
if (param != null) {
localTuningStepsTracker = true;
} else {
localTuningStepsTracker = true;
}
this.localTuningSteps = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated add method for the array for convenience | public void addTuningSteps(cwterm.service.rigctl.xsd.TuningStep param) {
if (localTuningSteps == null) {
localTuningSteps = new cwterm.service.rigctl.xsd.TuningStep[] {};
}
localTuningStepsTracker = true;
java.util.List list = org.apache.axis2.databinding.utils.ConverterUtil.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void add(T t) {\n checkIfArrayFull();\n\n arrayList[elementsInArray] = t;\n elementsInArray++;\n }",
"public void add( Object value )\n\t{\n\t\tint n = size();\n\t\tif (addIndex >= n)\n\t\t{\n\t\t\tif (n == 0)\n\t\t\t\tn = 8;\n\t\t\telse\n\t\t\t\tn *= 2;\n\t\t\tObjec... | [
"0.71651894",
"0.70569545",
"0.6996057",
"0.69472116",
"0.688253",
"0.68420297",
"0.6820372",
"0.6803505",
"0.67910904",
"0.6724837",
"0.66921943",
"0.66566396",
"0.6650698",
"0.6599233",
"0.6586805",
"0.6586805",
"0.6586805",
"0.6568739",
"0.6568739",
"0.6568739",
"0.6568739... | 0.0 | -1 |
Auto generated getter method | public cwterm.service.rigctl.xsd.FreqRange[] getTxRangeList() {
return localTxRangeList;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n String get();",
"public abstract String get();",
"public String get();",
"public Method getGetter() {\n return this.getter;\n }",
"@Override\n public void get() {}",
"public void get() {\n }",
"public String getGetter() {\n return \"get\" + getCapName();\n }",
"public ... | [
"0.76842386",
"0.75256884",
"0.75177413",
"0.73855317",
"0.7343197",
"0.7299316",
"0.7276828",
"0.71305454",
"0.7105203",
"0.7105203",
"0.70835894",
"0.70835894",
"0.6954872",
"0.6894192",
"0.6866473",
"0.6866473",
"0.6861372",
"0.6746774",
"0.6746774",
"0.6746774",
"0.674677... | 0.0 | -1 |
validate the array for TxRangeList | protected void validateTxRangeList(cwterm.service.rigctl.xsd.FreqRange[] param) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void validateRxRangeList(cwterm.service.rigctl.xsd.FreqRange[] param) {\n }",
"private boolean isRangeValid() {\n\n\t\tboolean valid = true;\n\n\t\tif (getRange() == null) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\tLong.parseLong(getRange());\n\t\t} catch (NumberFormatException nfe) {\n\t\t\t... | [
"0.75605386",
"0.62169164",
"0.5969827",
"0.5891551",
"0.5816658",
"0.581005",
"0.57528275",
"0.56931525",
"0.56790507",
"0.5640952",
"0.5640005",
"0.56346357",
"0.5603505",
"0.55207664",
"0.55158216",
"0.55142677",
"0.55110395",
"0.5478827",
"0.547782",
"0.54572266",
"0.5371... | 0.83394384 | 0 |
Auto generated setter method | public void setTxRangeList(cwterm.service.rigctl.xsd.FreqRange[] param) {
validateTxRangeList(param);
if (param != null) {
localTxRangeListTracker = true;
} else {
localTxRangeListTracker = true;
}
this.localTxRangeList = param;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void set(String name, Object value) {\n }",
"public abstract void set(M newValue);",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected abstract Set m... | [
"0.70672935",
"0.70209336",
"0.6952419",
"0.6888306",
"0.68668854",
"0.6850035",
"0.67665803",
"0.6759345",
"0.6740062",
"0.673945",
"0.672271",
"0.67139506",
"0.66985214",
"0.6696212",
"0.6679583",
"0.66552854",
"0.6651597",
"0.66500497",
"0.66386336",
"0.6625952",
"0.662392... | 0.0 | -1 |
Auto generated add method for the array for convenience | public void addTxRangeList(cwterm.service.rigctl.xsd.FreqRange param) {
if (localTxRangeList == null) {
localTxRangeList = new cwterm.service.rigctl.xsd.FreqRange[] {};
}
localTxRangeListTracker = true;
java.util.List list = org.apache.axis2.databinding.utils.ConverterUtil.to... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void add(T t) {\n checkIfArrayFull();\n\n arrayList[elementsInArray] = t;\n elementsInArray++;\n }",
"public void add( Object value )\n\t{\n\t\tint n = size();\n\t\tif (addIndex >= n)\n\t\t{\n\t\t\tif (n == 0)\n\t\t\t\tn = 8;\n\t\t\telse\n\t\t\t\tn *= 2;\n\t\t\tObjec... | [
"0.71651894",
"0.70569545",
"0.6996057",
"0.69472116",
"0.688253",
"0.68420297",
"0.6820372",
"0.6803505",
"0.67910904",
"0.6724837",
"0.66921943",
"0.66566396",
"0.6650698",
"0.6599233",
"0.6586805",
"0.6586805",
"0.6586805",
"0.6568739",
"0.6568739",
"0.6568739",
"0.6568739... | 0.0 | -1 |
Util method to write an attribute with the ns prefix | private void writeAttribute(java.lang.String prefix, java.lang.String namespace, java.lang.String attName, java.lang.String attValue, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
if (xmlWriter.getPrefix(namespace) == null) {
xmlWriter.writeNamespace(prefix... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == ... | [
"0.7757312",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"0.7713582",
"... | 0.0 | -1 |
Util method to write an attribute without the ns prefix | private void writeAttribute(java.lang.String namespace, java.lang.String attName, java.lang.String attValue, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
if (namespace.equals("")) {
xmlWriter.writeAttribute(attName, attValue);
} else {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n ... | [
"0.7243607",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"0.7234858",
"... | 0.0 | -1 |
Util method to write an attribute without the ns prefix | private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
java.lang.String attributeNamespace = qname.getNamespaceURI();
java.lang.String attributePrefix... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n ... | [
"0.7242867",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",
"0.72340715",... | 0.0 | -1 |
method to handle Qnames | private void writeQName(javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
java.lang.String namespaceURI = qname.getNamespaceURI();
if (namespaceURI != null) {
java.lang.String prefix = xmlWriter.getPrefix(namespaceURI);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getQueryName();",
"java.lang.String getQ();",
"public abstract Set<String> getQueryNames();",
"java.lang.String getQueryLogicName();",
"public void setQclassname(java.lang.CharSequence value) {\n this.qclassname = value;\n }",
"public java.lang.CharSequence getQclassname() {\n ret... | [
"0.6886604",
"0.6624473",
"0.65047395",
"0.60343796",
"0.5868529",
"0.5861063",
"0.5850215",
"0.58249515",
"0.5819615",
"0.5818052",
"0.58159953",
"0.5758877",
"0.57383424",
"0.56300354",
"0.5604263",
"0.5601166",
"0.5584026",
"0.55747974",
"0.5564673",
"0.5554824",
"0.555229... | 0.0 | -1 |
Register a namespace prefix | private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException {
java.lang.String prefix = xmlWriter.getPrefix(namespace);
if (prefix == null) {
prefix = generatePrefix(namespace);
while (... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void declarePrefix(String prefix, String namespace);",
"public void addNamespacePrefix(String namespace, String prefix) {\n namespacePrefixMap.put(namespace, prefix);\n }",
"private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xm... | [
"0.85063124",
"0.7792544",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
"0.7292682",
... | 0.7185957 | 85 |
databinding method to get an XML representation of this object | public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) throws org.apache.axis2.databinding.ADBException {
java.util.ArrayList elementList = new java.util.ArrayList();
java.util.ArrayList attribList = new java.util.ArrayList();
if (localAnnouncesTracker) {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String toXML() {\n return null;\n }",
"public String toXml() {\n\t\treturn(toString());\n\t}",
"public String toXML() {\n return null;\n }",
"public String getXML() {\n\t\tString xml = \"\";\n\t\ttry {\n\t\t\tJAXBContext jc = JAXBContext.newInstance( VolumeRs.class );\n\t\t\tMarshall... | [
"0.67638165",
"0.6740763",
"0.6725428",
"0.6599888",
"0.65249646",
"0.65249646",
"0.65249646",
"0.6513003",
"0.6513003",
"0.6493537",
"0.6450658",
"0.6377852",
"0.6377852",
"0.63450736",
"0.6307864",
"0.6208105",
"0.6171112",
"0.61245096",
"0.60980886",
"0.6088352",
"0.602202... | 0.0 | -1 |
static method to create the object Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable If this object is not an element, it is a complex type and the reader is at the event just after the outer start element Postcondition: If t... | public static RigState parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception {
RigState object = new RigState();
int event;
java.lang.String nillableValue = null;
java.lang.String prefix = "";
java.lang.String namespaceuri = "";
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"ObjectElement createObjectElement();",
"private void processStartObject() {\n\t\tif (currentFieldName != null) {\r\n\t\t\t// go down the tree following the field name\r\n\t\t\tFieldFilterTree tmpIncludes = curNode.getChild(currentFieldName);\r\n\t\t\tparentNode = curNode;\r\n\t\t\tcurNode = tmpIncludes;\r\n\t\t}... | [
"0.5969459",
"0.5459116",
"0.54158306",
"0.53418684",
"0.5335892",
"0.5252094",
"0.5180868",
"0.5174734",
"0.5145451",
"0.514116",
"0.5132751",
"0.5123655",
"0.51166433",
"0.51121944",
"0.5089792",
"0.5085376",
"0.50705737",
"0.50573283",
"0.5037146",
"0.502315",
"0.49985188"... | 0.0 | -1 |
Creates an instance of this tool. | public AnnotateClueRunWithURLs() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected Tool createSelectionTool() {\n return new SelectionTool(view());\n }",
"public static ConverterRunner createInstance() { return new ConverterRunner(); }",
"public Tool() {\n initComponents();\n }",
"public static Tester create() {\n\t\treturn new Tester();\n\t}",
"public stati... | [
"0.6397341",
"0.625618",
"0.61251336",
"0.6097666",
"0.6056002",
"0.5989063",
"0.5970667",
"0.5946325",
"0.5901821",
"0.5901821",
"0.5901821",
"0.58529776",
"0.58498794",
"0.5815898",
"0.58158755",
"0.5815387",
"0.5764621",
"0.5738438",
"0.5728125",
"0.57127523",
"0.5702251",... | 0.0 | -1 |
Dispatches commandline arguments to the tool via the ToolRunner. | public static void main(String[] args) throws Exception {
int res = ToolRunner.run(new Configuration(), new AnnotateClueRunWithURLs(), args);
System.exit(res);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setupArguments(Commandline commandLine) throws BuildException {\n }",
"public static void main(String[] args) {\r\n\t\tTaskResultAnalysis analysis = extractArguments(args);\r\n\t\tif (analysis == null)\r\n\t\t\tdie(USAGE);\r\n\t\t// determine tool mode, invoke proper action\r\n\t\tif (analysis.... | [
"0.6192599",
"0.6162782",
"0.6006672",
"0.59631026",
"0.59464",
"0.5754049",
"0.5716974",
"0.56596434",
"0.5623595",
"0.56107086",
"0.55801094",
"0.55723494",
"0.5563269",
"0.5549524",
"0.5547036",
"0.55419403",
"0.5530507",
"0.55300725",
"0.55150825",
"0.54427034",
"0.543856... | 0.544374 | 19 |
Constr c = new Constr(123); System.out.println(c); String name = "A"; new Constr("B"); | public static void main(String[] args) {
int a = 0;
new Constr(a);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void construct(String con) {\n\tvariables.append(\" \").append(con).append(\" \");\n }",
"public abstract String construct();",
"@Test\n public void testConCat() {\n System.out.println(\"conCat\");\n String a = \"abc\";\n String b = \"cat\";\n ConCat instance = new ConC... | [
"0.60000855",
"0.596699",
"0.59529984",
"0.59242713",
"0.58756804",
"0.5861784",
"0.5820108",
"0.57392645",
"0.57332504",
"0.568112",
"0.5594865",
"0.5569158",
"0.55442137",
"0.55316687",
"0.55303603",
"0.55223393",
"0.5513837",
"0.5475068",
"0.54705745",
"0.54615796",
"0.545... | 0.6802628 | 0 |
This is for compatible with code generated for dal 1.4.1 and previouse version. Such code is like: SelectSqlBuilder builder = new SelectSqlBuilder("person", dbCategory, true); ... int index = builder.getStatementParameterIndex(); parameters.set(index++, Types.INTEGER, (pageNo 1) pageSize); parameters.set(index++, Types... | public String getPageSuffixTpl() {
switch (this) {
case MySql:
return " limit ?, ?";
case SqlServer:
return " OFFSET ? ROWS FETCH NEXT ? ROWS ONLY";
default:
return null;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Result sqlQueryByPage(String sql,Page page,Object... params);",
"SelectQuery createSelectQuery();",
"public Items[] findByDynamicSelect(String sql, Object[] sqlParams) throws ItemsDaoException;",
"@SuppressWarnings(\"unchecked\")\r\n\tprivate Query createQuery(String jql, Class<?> clazz, boolean isNat... | [
"0.6471698",
"0.6468404",
"0.6389654",
"0.63525623",
"0.6291006",
"0.6281547",
"0.6268147",
"0.625819",
"0.62572575",
"0.62330014",
"0.61551356",
"0.6009477",
"0.59421664",
"0.5928789",
"0.59212935",
"0.58844846",
"0.5867612",
"0.5850244",
"0.5845843",
"0.5844206",
"0.5843532... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View arg0) {
String cell = etCell.getText().toString();
app.getClient().sendConfMsg(cell);
Thread thread = new Thread(new Runnable() {
@Override
public void run() {
int tick = 60;
while (tick != 0) {
try {
Thread.sleep(1000);
tick... | {
"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 void onClick(View arg0) {
showProgress(true);
String cell = etCell.getText().toString();
String msg = etMsg.getText().toString();
MyClient.Param[] par=new MyClient.Param[2];
par[0]=new MyClient.Param("key",cell);
par[1]=new MyClient.Param("forgot",msg);
app.getClient().p... | {
"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 void onClick(View arg0) {
Intent result = new Intent(ForgetActivity.this, LoginActivity.class);
startActivity(result);
finish();
} | {
"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 |
On Honeycomb MR2 we have the ViewPropertyAnimator APIs, which allow for very easy animations. If available, use these APIs to fadein the progress spinner. | @TargetApi(Build.VERSION_CODES.HONEYCOMB_MR2)
private void showProgress(final boolean show) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR2) {
int shortAnimTime = getResources().getInteger(android.R.integer.config_shortAnimTime);
mProgressView.setVisibility(show ? View.VISIBLE : View.GONE);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void startProgressAnimation(){\n progressAnimator = ObjectAnimator.ofFloat(this,\"progress\",mStartProgress, mEndProgress);\n Log.e(TAG, \"progressDuration: \"+ mProgressDuration);\n progressAnimator.setInterpolator(mInterpolator);\n progressAnimator.setDuration(mProgressDuration... | [
"0.67758137",
"0.6322673",
"0.63099176",
"0.62854075",
"0.6242827",
"0.6160483",
"0.61178684",
"0.6060083",
"0.6032713",
"0.60318244",
"0.59617954",
"0.5954367",
"0.59281874",
"0.5917816",
"0.59071624",
"0.5902907",
"0.58796453",
"0.58566993",
"0.5798713",
"0.5797208",
"0.578... | 0.0 | -1 |
/int a = 197; System.out.println(a+ "" +Integer.toBinaryString(a)); int b = 1973; System.out.println(b+ "" +Integer.toBinaryString(b)); / Double n1 = 498828660196; Double n2 = 840477629533; Double n3 = n1n2; System.out.println(n3); | public static void main(String[] args) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String printBinary (String n){\n\t\tint intPart = Integer.parseInt(n.substring(0, n.indexOf(\".\")));\n\t\tdouble decPart = Double.parseDouble(n.substring(n.indexOf(\".\")));\n\t\tString iPart = \"\";\n\t\tint bit;\n\t\twhile(intPart > 0){\n\t\t\tbit = intPart %2; //take mod result as the last digit.... | [
"0.6531835",
"0.6495974",
"0.6439846",
"0.6301515",
"0.6256587",
"0.6137981",
"0.61237603",
"0.6094045",
"0.60214406",
"0.60059524",
"0.59987515",
"0.5990484",
"0.5965535",
"0.5900977",
"0.5891487",
"0.5875258",
"0.58613044",
"0.585739",
"0.5849958",
"0.5847117",
"0.5834125",... | 0.0 | -1 |
get all words for a letter | public void solver(int id) {
String boardLetters = boggleModel.getBoardLetters().toLowerCase();
Character letter = boardLetters.charAt(id);
HashSet<String> words = boggleModel.possibleWords;
// for each word check if character[x] is a neighbour if the startLetter - id -
for (S... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<Word> getWordsWithGivenLetter(Text text, char ch) {\n\n List<Word> allWords = getTextWords(text.getBookText());\n\n List<Word> words = new ArrayList<Word>();\n\n for (int i = 0; i < allWords.size(); i++) {\n Word tempWord = new Word(allWords.get(i).getCharsSequence());\n... | [
"0.7183911",
"0.7007609",
"0.6845531",
"0.6788868",
"0.6682547",
"0.6635883",
"0.6605376",
"0.6584507",
"0.6558189",
"0.6527737",
"0.65273875",
"0.6467213",
"0.64432716",
"0.64119",
"0.6367335",
"0.6362485",
"0.632465",
"0.6315458",
"0.6309869",
"0.62905145",
"0.6288118",
"... | 0.0 | -1 |
check the character for neighbours that match the word | public void checkNeighbours(String word, int id, int x, List<Integer> usedIDs){
ArrayList<Character> neighbours = charToLower(boggleModel.getNeighbours(id));
ArrayList<Integer> neighbourIDs = boggleModel.getFieldIDs();
// "while" word length > X, go into recursion
if(word.length() > x)... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void findValidWordsOnBoard(){\n\n //mark each visited cell to ensure it gets used only once while forming a word\n boolean[][] visited = new boolean[boardLength][boardLength];\n String word = \"\";\n\n for(int i = 0; i < boardLength; i++) {\n for(int j = 0; j < boardL... | [
"0.67532784",
"0.6480838",
"0.6465188",
"0.64158857",
"0.6408896",
"0.64018834",
"0.6361482",
"0.6324798",
"0.63104975",
"0.6286138",
"0.6285511",
"0.6220438",
"0.62110436",
"0.618806",
"0.6187995",
"0.6187995",
"0.6154925",
"0.61069846",
"0.6104006",
"0.60890794",
"0.6039016... | 0.67176366 | 1 |
convert the upper case chars to lower.. | public ArrayList<Character> charToLower(ArrayList<Character> list){
ArrayList<Character> lower = new ArrayList<>();
for(Character x: list){
x = Character.toLowerCase(x);
lower.add(x);
}
return lower;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void toLower() {\n ArrayList<Character> newSeq = new ArrayList<Character>();\n for (char c : seq) {\n newSeq.add(Character.toLowerCase(c));\n }\n seq = newSeq;\n }",
"private static String cup(String str) {\n\t\treturn str.substring(0,1).toLowerCase() + str.substr... | [
"0.72024095",
"0.71179056",
"0.7021638",
"0.70128137",
"0.6957295",
"0.6950537",
"0.68589926",
"0.68423903",
"0.68352306",
"0.6786313",
"0.67636746",
"0.67071426",
"0.6691088",
"0.66710705",
"0.66391516",
"0.65627766",
"0.6554324",
"0.6548667",
"0.65481895",
"0.65188855",
"0.... | 0.5950031 | 56 |
Create a MultiPartMIMEWriter Builder using the specified preamble and epilogue. Only nonnull values are permitted here. Empty strings are used to signify missing values. | public Builder(final String preamble, final String epilogue)
{
ArgumentUtil.notNull(preamble, "preamble");
ArgumentUtil.notNull(epilogue, "epilogue");
_preamble = preamble;
_epilogue = epilogue;
//Append data source for preamble
if (!_preamble.equalsIgnoreCase(""))
{
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Builder createMultipartParameters(Map<String, Object> multipartParameters) {\n return builder().setType(Type.MULTIPART_PARAMETERS).setMultipartParameters(multipartParameters);\n }",
"public abstract Builder produces(String... paramVarArgs);",
"public Builder setExtra(com.google.protobuf.ByteS... | [
"0.44437698",
"0.44377655",
"0.44032744",
"0.4278134",
"0.42469305",
"0.4237194",
"0.4199287",
"0.40107688",
"0.40071568",
"0.39652997",
"0.39619392",
"0.39444825",
"0.39346722",
"0.39306155",
"0.39262992",
"0.39222252",
"0.389546",
"0.38842613",
"0.3883804",
"0.3844616",
"0.... | 0.6700789 | 0 |
Create a MultiPartMIMEWriter without a preamble or epilogue. | public Builder()
{
this("", "");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MimeMessage createEmptyMessage();",
"public MultiPart(){}",
"public Builder clearExtra() {\n bitField0_ = (bitField0_ & ~0x00000004);\n extra_ = getDefaultInstance().getExtra();\n onChanged();\n return this;\n }",
"public MimeMultipart() {\n/* 163 */ this(\"mixed\... | [
"0.5488904",
"0.52287227",
"0.47445053",
"0.47066945",
"0.46584114",
"0.46029133",
"0.4448799",
"0.44482064",
"0.4433154",
"0.4378431",
"0.43614155",
"0.4359961",
"0.43189037",
"0.4300773",
"0.42397007",
"0.4222064",
"0.4187203",
"0.41821656",
"0.41672522",
"0.41493833",
"0.4... | 0.0 | -1 |
Returns the boundary that will be used by this writer between each part. | public String getBoundary()
{
return _rawBoundary;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getBoundary() {\n return boundary;\n }",
"public Rectangle2D getBoundary()\n {\n \tRectangle2D shape = new Rectangle2D.Float();\n shape.setFrame(location.getX(),location.getY(),12,length);\n return shape;\n }",
"public int getGameBoundary() {\n\t\treturn game... | [
"0.80998486",
"0.7071788",
"0.6881877",
"0.6770875",
"0.6709083",
"0.6341715",
"0.6273525",
"0.6095134",
"0.6007695",
"0.5950225",
"0.5908836",
"0.58790064",
"0.58549756",
"0.58383006",
"0.5789216",
"0.57690614",
"0.570841",
"0.57008433",
"0.56920314",
"0.56766546",
"0.567484... | 0.7257375 | 1 |
Creates an IntentService. Invoked by your subclass's constructor. | public WallpaperService() {
super(WallpaperService.class.getSimpleName());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MyIntentService() {\n super(\"MyIntentServiceName\");\n }",
"public MyIntentService() {\n super(\"MyIntentService\");\n }",
"public MyIntentService() {\n super(\"\");\n }",
"public MyIntentService() {\n super(MyIntentService.class.getName());\n }",
"public MyI... | [
"0.82795364",
"0.82121414",
"0.80121267",
"0.79534686",
"0.7866143",
"0.76160616",
"0.752182",
"0.7156875",
"0.71543294",
"0.69381505",
"0.67773145",
"0.66300833",
"0.66166157",
"0.6614623",
"0.6569222",
"0.65570194",
"0.64845806",
"0.64443105",
"0.6419879",
"0.6401379",
"0.6... | 0.0 | -1 |
First decode with inJustDecodeBounds=true to check dimensions | public static Bitmap decodeBitmapFromFile(String imagePath) {
final BitmapFactory.Options options = new BitmapFactory.Options();
options.inJustDecodeBounds = true;
BitmapFactory.decodeFile(imagePath, options);
// Calculate inSampleSize
// options.inSampleSize = calculateSamp... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Nullable\n public static Pair<Integer, Integer> decodeDimensions(InputStream param0) {\n }",
"@Test public void inJustDecodeBoundsIfResizing() {\n final Request requiresResize = new Request.Builder(TestUtils.URI_1).resize(20, 15).build();\n final BitmapFactory.Options resizeOptions = createBitmapOptio... | [
"0.64346766",
"0.61364377",
"0.51399887",
"0.51004833",
"0.50957596",
"0.5087106",
"0.5046298",
"0.5022017",
"0.5018126",
"0.49542722",
"0.49402583",
"0.4937284",
"0.48971418",
"0.48961717",
"0.4894804",
"0.4892185",
"0.48899516",
"0.48632044",
"0.4861749",
"0.48505214",
"0.4... | 0.0 | -1 |
Performs the user selected action | public void actionPerformed(boolean showSQL) {
String selection = (String)this.getSelectedItem();
try {
String cursorId = "";
if (selection.equals("MTS Dispatchers")) {
cursorId = "dispatchers.sql";
}
if (selection.equals("MTS Shared Servers")) {
cursorId ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"public void executeAction( String actionInfo );",
"@Override\n public void doAction(User user) {\n }",
"public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care prof... | [
"0.75878316",
"0.73401904",
"0.72381306",
"0.7195341",
"0.71699774",
"0.71387386",
"0.7138406",
"0.7130443",
"0.707842",
"0.7068926",
"0.7050498",
"0.7037582",
"0.7032082",
"0.7032082",
"0.7016365",
"0.69909227",
"0.695861",
"0.69557786",
"0.69557786",
"0.69557786",
"0.695577... | 0.0 | -1 |
Created by MWY Date: 2/26/17 Time: 20:26 | public interface MusicService {
Music getMusicById(Integer id);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Date getCreateTime()\n/* */ {\n/* 177 */ return this.createTime;\n/* */ }",
"public abstract long getCreated();",
"private static String getStamp() {\n\t\t\t return new SimpleDateFormat(\"yyyyMMddHHmmss\").format(new Date());\r\n\t\t}",
"public Date getDateCreated(){return DATE_CREATED... | [
"0.5779488",
"0.57310814",
"0.56599444",
"0.56545526",
"0.5600846",
"0.55657005",
"0.55485415",
"0.5532926",
"0.5532926",
"0.5499292",
"0.5492252",
"0.54718614",
"0.54637116",
"0.5428819",
"0.54142255",
"0.5413207",
"0.54054683",
"0.5394639",
"0.5368163",
"0.53554285",
"0.534... | 0.0 | -1 |
Description of the Method | public ActionForward execute(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse){
// localiza o action no objeto actionmapping
ActionForward retorno = actionMapping.findForward("exibirInformarParametrosSistemaAtendimentoPublicoSeg... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}",
"public void method(){}",
"@Overri... | [
"0.72182125",
"0.68467814",
"0.68467814",
"0.6831733",
"0.6749723",
"0.6695229",
"0.6555896",
"0.6515614",
"0.6463027",
"0.644697",
"0.642299",
"0.6411146",
"0.6396088",
"0.6346972",
"0.631443",
"0.631443",
"0.6290034",
"0.62887275",
"0.62782115",
"0.6276877",
"0.62666714",
... | 0.0 | -1 |
find all courses by collegeName | @Query(value = "select * from course inner join college on course.clge_id=college.college_reg_id where college.college_name =:n", nativeQuery = true)
public List<Course> findBycollegeName(@Param("n") String collegeName); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<CourseType> searchAllCourses(){\n ArrayList<CourseType> courses = new ArrayList<>();\n Connection connection = getConnection();\n if(connection != null){\n try{\n PreparedStatement preparedStatement = connection.prepareStatement(\"SELECT * from Courses\");... | [
"0.6968665",
"0.695887",
"0.68254733",
"0.6777219",
"0.67392653",
"0.66491437",
"0.6520512",
"0.64629054",
"0.63461703",
"0.6342501",
"0.62838495",
"0.62800854",
"0.6245251",
"0.62414247",
"0.6239586",
"0.62240285",
"0.62181586",
"0.6207233",
"0.61774045",
"0.61718136",
"0.61... | 0.74749684 | 0 |
Typesafe heterogeneous container pattern client | public static void main(String[] args) {
Favorites f = new Favorites();
f.putFavorite(String.class, "Java");
f.putFavorite(Integer.class, 0xcafebabe);
f.putFavorite(Class.class, Favorites.class);
String favoriteString = f.getFavorite(String.class);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"T createContainer();",
"public interface DockerEngineService {\n\n /**\n * Returns a list of the existing containers.\n *\n * @return list of existing containers as {@link ContainerModel} objects, wrapped as {@link Mono}\n */\n Mono<List<Container>> getExistingContainers();\n\n /**\n ... | [
"0.63380575",
"0.62254727",
"0.61243623",
"0.6084311",
"0.60720986",
"0.590548",
"0.5826126",
"0.57532734",
"0.5731519",
"0.5605193",
"0.5599807",
"0.55470324",
"0.5516762",
"0.5510641",
"0.5488749",
"0.54693973",
"0.5451709",
"0.5433779",
"0.5433731",
"0.54184234",
"0.538563... | 0.0 | -1 |
/ access modifiers changed from: private | public void drawBitmap(Bitmap bitmap, float scale) {
drawBitmap(bitmap, null, scale, null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"@Override\n protected void prot() {\n }",
"private Rekenhulp()\n\t{\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void func_104... | [
"0.70451087",
"0.66481936",
"0.66338545",
"0.6534467",
"0.6533057",
"0.63756114",
"0.6368523",
"0.63063055",
"0.6244554",
"0.62261415",
"0.62046665",
"0.61776316",
"0.6142759",
"0.6131381",
"0.6131381",
"0.61274433",
"0.610919",
"0.610797",
"0.60792845",
"0.6062989",
"0.60593... | 0.0 | -1 |
/ access modifiers changed from: private | public void drawBitmap(Bitmap bitmap, Bitmap background, float scale, CustomerDrawBitmap customer) {
Canvas canvas = this.mSurfaceHolder.lockCanvas();
if (canvas == null || bitmap == null) {
Log.i("MiuiGxzwFrameAnimation", "drawBitmap: bitmap or canvas is null");
return;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"@Override\n protected void prot() {\n }",
"private Rekenhulp()\n\t{\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void func_104... | [
"0.7044735",
"0.66479045",
"0.6633232",
"0.65343255",
"0.65324754",
"0.63757193",
"0.6367789",
"0.63065237",
"0.6244171",
"0.622592",
"0.62049985",
"0.61766696",
"0.614237",
"0.6130815",
"0.6130815",
"0.6127483",
"0.6108821",
"0.61083317",
"0.607937",
"0.60626495",
"0.6058102... | 0.0 | -1 |
/ access modifiers changed from: private | public void clearSurface() {
Canvas canvas = this.mSurfaceHolder.lockCanvas();
if (canvas != null) {
try {
canvas.drawColor(0, PorterDuff.Mode.CLEAR);
} finally {
unlockCanvasAndPostSafely(canvas);
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"@Override\n protected void prot() {\n }",
"private Rekenhulp()\n\t{\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void func_104... | [
"0.70451087",
"0.66481936",
"0.66338545",
"0.6534467",
"0.6533057",
"0.63756114",
"0.6368523",
"0.63063055",
"0.6244554",
"0.62261415",
"0.62046665",
"0.61776316",
"0.6142759",
"0.6131381",
"0.6131381",
"0.61274433",
"0.610919",
"0.610797",
"0.60792845",
"0.6062989",
"0.60593... | 0.0 | -1 |
/ access modifiers changed from: private | public Bitmap decodeBitmap(int res) {
Bitmap inBitmap = null;
if (this.mSupportInBitmap && this.mRecycleBitmapQueue.size() >= 2) {
inBitmap = this.mRecycleBitmapQueue.poll();
}
BitmapFactory.Options options = new BitmapFactory.Options();
options.inMutable = true;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"@Override\n protected void prot() {\n }",
"private Rekenhulp()\n\t{\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void func_104... | [
"0.7044735",
"0.66479045",
"0.6633232",
"0.65343255",
"0.65324754",
"0.63757193",
"0.6367789",
"0.63065237",
"0.6244171",
"0.622592",
"0.62049985",
"0.61766696",
"0.614237",
"0.6130815",
"0.6130815",
"0.6127483",
"0.6108821",
"0.61083317",
"0.607937",
"0.60626495",
"0.6058102... | 0.0 | -1 |
Aqui va el DAOMensaje | @Override
public ArrayList<Mensaje> leerTodosLosMensajes() {
ArrayList<Mensaje> m = (ArrayList<Mensaje>) session.createCriteria(Mensaje.class).list();
cerrarTodo();
return m;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String comunica() {\r\n// ritorna una stringa\r\n// posso usare il metodo astratto \r\n return msg + AggiungiQualcosa();\r\n }",
"private void enviarMensaje(String mensaje) {\n if (!TextUtils.isEmpty(mensaje)) {\n // Se obtiene la hora actual.\n String ... | [
"0.6643878",
"0.6623539",
"0.6528699",
"0.65173674",
"0.6464771",
"0.6458452",
"0.6437657",
"0.6399067",
"0.6359882",
"0.6326094",
"0.63223773",
"0.63161016",
"0.62916666",
"0.62875086",
"0.6283219",
"0.6277618",
"0.62669",
"0.62635076",
"0.6258246",
"0.6247068",
"0.62469506"... | 0.0 | -1 |
Create a command that can resize and/or move a shape. | public GraphicSetConstraintCommand(final Graphic shape,
final ChangeBoundsRequest req, final Rectangle newBounds) {
if (shape == null || req == null || newBounds == null) {
throw new IllegalArgumentException();
}
this.shape = shape;
this.request = req;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected Command getMoveCommand(ChangeBoundsRequest request) {\r\n\t\tCommand cmd = super.getMoveCommand(request);\r\n\t\tcmd = DragFeedbackFigure.addContainerCommands(cmd, getHost());\r\n\t\treturn cmd;\r\n\t}",
"private Command createMoveCommand(ChangeBoundsRequest req) {\r\n\t\t// error check\r\n\t\tif (req.... | [
"0.6264776",
"0.6075744",
"0.59381115",
"0.58824915",
"0.58108276",
"0.5786571",
"0.57104665",
"0.56845003",
"0.56441474",
"0.56432945",
"0.56172204",
"0.5606861",
"0.55622214",
"0.5558672",
"0.5510329",
"0.5503164",
"0.54603165",
"0.5442662",
"0.54373485",
"0.54370403",
"0.5... | 0.6655918 | 0 |
Constructor for the duke.tasks.Event task. | public Event(String description, boolean isDone) throws WrongCommandFormatException {
this.command = description;
Scanner s = new Scanner(description);
while (s.hasNext()) {
readCommand(s);
}
if (this.description.equals(" ")) {
throw new WrongCommandForm... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Event() {}",
"public Event() {\n }",
"public Event() {\n }",
"public Eventd() {\n }",
"public Event() {\n\n }",
"public Event() {\r\n\r\n\t}",
"public Event() {\n\t}",
"public Event(){\n \n }",
"public ScheduleEvent()\n\t{\n\n\t}",
"public Event(){\n\n }",
"p... | [
"0.74896544",
"0.73797226",
"0.73797226",
"0.73682445",
"0.7367637",
"0.736147",
"0.732653",
"0.7237567",
"0.72355145",
"0.7223926",
"0.70042396",
"0.69525874",
"0.69400555",
"0.6793874",
"0.6699552",
"0.666728",
"0.66315687",
"0.6563481",
"0.6547637",
"0.64625466",
"0.646108... | 0.0 | -1 |
Reads the event command passed into the constructor | public void readCommand(Scanner s) throws WrongCommandFormatException {
String next = s.next();
if (next.equals("/by")) {
throw new WrongCommandFormatException("Wrong keyword used. Please try again with /at");
} else if (next.equals("/at")) {
parseTimeframe(s);
} ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public EventType getCommand(){\n return this.command;\n }",
"public AddCommand(Event event) {\n this.event = event;\n }",
"public String[] readCommand();",
"protected Event getEvent(String command, Activity activity) {\n List<Event> eventList = activity.getEvents();\n int in... | [
"0.6916769",
"0.66100895",
"0.63836426",
"0.6381154",
"0.6271736",
"0.62305945",
"0.6198565",
"0.6124819",
"0.6044568",
"0.5984165",
"0.59583837",
"0.59395796",
"0.5936267",
"0.5905606",
"0.58988464",
"0.5898063",
"0.5861043",
"0.5837162",
"0.5834384",
"0.5826536",
"0.5808176... | 0.53523934 | 67 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.