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
Get the value of a mulit fields
public Map<String, Object> hmgetObject(final String key, final String... fields) { return hmgetObject(key, 0, fields); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract public String getValue(String fieldname);", "String getField();", "java.lang.String getField1015();", "java.lang.String getField4();", "java.lang.String getField1333();", "java.lang.String getField1111();", "java.lang.String getField1120();", "java.lang.String getField1032();", "java.lang....
[ "0.6807303", "0.6675708", "0.6496562", "0.6392162", "0.6374816", "0.6330768", "0.6311659", "0.6307924", "0.62837875", "0.62500995", "0.6242279", "0.62393135", "0.62387216", "0.6227319", "0.6223509", "0.6222105", "0.6221713", "0.621618", "0.6214503", "0.62117463", "0.6211014",...
0.0
-1
Set multiple hash fields to multiple values.
public String hmset(final String key, final Map<String, String> hash) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.hmset(key, hash); } finally { if (jedis != null) { jedis.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n protected void setFieldValues (Object ... fields)\r\n {\n \r\n }", "void setFields(Set<F> fields);", "public static void setHashValues(List<Tuv> tuvs)\n {\n TuvImpl preTuv = null;\n TuvImpl curTuv = null;\n for (Tuv tuv : tuvs)\n {\n curTu...
[ "0.65588987", "0.61592513", "0.59130365", "0.58041626", "0.57586837", "0.55615693", "0.55371755", "0.5519074", "0.55187047", "0.5427708", "0.5327971", "0.53156114", "0.5300752", "0.52866143", "0.52510697", "0.5214974", "0.51791626", "0.514779", "0.51468515", "0.5140473", "0.5...
0.0
-1
Set multiple hash fields to multiple values.
public String hmsetObject(final String key, final Map<String, Object> hash) { Jedis jedis = null; try { jedis = jedisPool.getResource(); Map<byte[], byte[]> byteMap = new HashMap<byte[], byte[]>(hash.size()); for (Entry<String, Object> e : hash.entrySet()) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n protected void setFieldValues (Object ... fields)\r\n {\n \r\n }", "void setFields(Set<F> fields);", "public static void setHashValues(List<Tuv> tuvs)\n {\n TuvImpl preTuv = null;\n TuvImpl curTuv = null;\n for (Tuv tuv : tuvs)\n {\n curTu...
[ "0.6557323", "0.61582315", "0.5913276", "0.5803998", "0.57572776", "0.55607486", "0.55374384", "0.5518432", "0.55176073", "0.54266316", "0.5327651", "0.5314566", "0.5300964", "0.5287706", "0.52513504", "0.52148324", "0.5178125", "0.51468277", "0.5146029", "0.5141476", "0.5109...
0.0
-1
Increment the integer value of a hash field by the given number.
public Long hincrBy(final String key, final String field, final long value) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.hincrBy(key, field, value); } finally { if (jedis != null) { jedis.close(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long inc(final String key) {\n String c = get(key);\n if (c == null) c = \"0\";\n final long l = Long.parseLong(c) + 1;\n put(key, Long.toString(l));\n return l;\n }", "public void add(int number) {\n hash.put(number, hash.getOrDefault(number, 0) + 1);\n }",...
[ "0.66991377", "0.667883", "0.64198035", "0.64198035", "0.64119315", "0.6325528", "0.62561166", "0.6254471", "0.619445", "0.61244553", "0.6090003", "0.6033165", "0.60292715", "0.5986378", "0.5967981", "0.59605", "0.59448206", "0.5917306", "0.59145343", "0.5908582", "0.58608353...
0.6144906
9
Get all the fields in a hash.
public Set<String> hkeys(final String key) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.hkeys(key); } finally { if (jedis != null) { jedis.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String, Object> allFields() {\n Map<String, Object> map = new HashMap<>();\n properties.forEach((key, value) -> map.put(key, value.value()));\n return map;\n }", "public HashMap<String, String> getFields() {\r\n \t\treturn fields;\r\n \t}", "List<Pair<String, Value>> fields()...
[ "0.6747239", "0.66124004", "0.64714915", "0.640866", "0.64064926", "0.6325985", "0.63084024", "0.6239215", "0.6178487", "0.60855615", "0.6069553", "0.6031712", "0.59958726", "0.59869814", "0.5907536", "0.5879237", "0.58385456", "0.57595617", "0.5748511", "0.57417345", "0.5722...
0.0
-1
Get all the fields in a hash.
public <T> Set<T> hkeys(final String key, final Class<T> clazz) { Jedis jedis = null; try { jedis = jedisPool.getResource(); Set<byte[]> set = jedis.hkeys(key.getBytes()); Set<T> objectSet = new HashSet<T>(); if (set != null && set.size() != 0) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String, Object> allFields() {\n Map<String, Object> map = new HashMap<>();\n properties.forEach((key, value) -> map.put(key, value.value()));\n return map;\n }", "public HashMap<String, String> getFields() {\r\n \t\treturn fields;\r\n \t}", "List<Pair<String, Value>> fields()...
[ "0.6747239", "0.66124004", "0.64714915", "0.640866", "0.64064926", "0.6325985", "0.63084024", "0.6239215", "0.6178487", "0.60855615", "0.6069553", "0.6031712", "0.59958726", "0.59869814", "0.5907536", "0.5879237", "0.58385456", "0.57595617", "0.5748511", "0.57417345", "0.5722...
0.0
-1
Get the number of fields in a hash.
public Long hlen(final String key) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.hlen(key); } finally { if (jedis != null) { jedis.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFieldsCount();", "int getFieldsCount();", "int getFieldCount();", "public int getFieldCount()\n {\n return this.fieldMap.size();\n }", "public int getFieldCount()\r\n/* 58: */ {\r\n/* 59:78 */ return this.fields.size();\r\n/* 60: */ }", "public int getNumFields()\n {\n ...
[ "0.75902367", "0.75902367", "0.7439004", "0.73898184", "0.73867416", "0.73533434", "0.7349956", "0.729839", "0.6911221", "0.6891158", "0.6876586", "0.6862568", "0.682372", "0.6786363", "0.67676127", "0.67606664", "0.6678022", "0.66597986", "0.6659737", "0.6595176", "0.6586481...
0.0
-1
Return a range of members in a sorted set, by index. Ordered from the lowest to the highest score.
public Set<String> zrange(String key, long start, long end) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zrange(key, start, end); } finally { if (jedis != null) { jedis.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<T> getRanges();", "int getRange();", "public abstract void selectIndexRange(int min, int max);", "List<T> getAllByRange(int firstItemNumber,\n int itemsCount,\n String sortBy,\n String sortTo);", "public static List <Inde...
[ "0.5773475", "0.5750223", "0.56621933", "0.55729127", "0.5451234", "0.538208", "0.53695667", "0.5349559", "0.52801144", "0.52161455", "0.5170137", "0.51440907", "0.51386", "0.51326954", "0.51225567", "0.5065345", "0.50183254", "0.5008307", "0.5002181", "0.4999076", "0.4968412...
0.0
-1
For Object, Return a range of members in a sorted set, by index.Ordered from the lowest to the highest score.
public <T> List<T> zrange(String key, long start, long end, Class<T> clazz) { List<T> result = new ArrayList<T>(); Jedis jedis = null; try { jedis = jedisPool.getResource(); Set<byte[]> tempSet = jedis.zrange(key.getBytes(), start, end); if (tempSet != null &&...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<T> getAllByRange(int firstItemNumber,\n int itemsCount,\n String sortBy,\n String sortTo);", "public Set<T> getRanges();", "java.util.List<AuditoriaUsuario> findRange(int startPosition, int maxResults, String sortFields, String sor...
[ "0.5328906", "0.52988905", "0.51671976", "0.5132314", "0.50873244", "0.5075613", "0.5047353", "0.5031711", "0.5002419", "0.49674088", "0.49474654", "0.49073634", "0.49056527", "0.4867786", "0.4858163", "0.4857917", "0.48471785", "0.4834217", "0.48083255", "0.4797908", "0.4797...
0.0
-1
Return a range of members in a sorted set, by index. Ordered from the highest to the lowest score.
public Set<String> zrevrange(String key, long start, long end) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zrevrange(key, start, end); } finally { if (jedis != null) { jedis.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<T> getRanges();", "int getRange();", "public abstract void selectIndexRange(int min, int max);", "List<T> getAllByRange(int firstItemNumber,\n int itemsCount,\n String sortBy,\n String sortTo);", "public static List <Inde...
[ "0.5777842", "0.5737886", "0.56213886", "0.55521494", "0.5443851", "0.54261756", "0.5398366", "0.53697944", "0.5286881", "0.5268311", "0.5159337", "0.51311046", "0.51288146", "0.50986797", "0.5094422", "0.50909626", "0.5080194", "0.5019436", "0.5010861", "0.49820977", "0.4966...
0.0
-1
For Object, Return a range of members in a sorted set, by index. Ordered from the highest to the lowest score.
public <T> List<T> zrevrange(String key, long start, long end, Class<T> clazz) { Jedis jedis = null; try { jedis = jedisPool.getResource(); Set<byte[]> tempSet = jedis.zrevrange(key.getBytes(), start, end); if (tempSet != null && tempSet.size() > 0) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<T> getRanges();", "List<T> getAllByRange(int firstItemNumber,\n int itemsCount,\n String sortBy,\n String sortTo);", "Score getScores(int index);", "java.util.List<AuditoriaUsuario> findRange(int startPosition, int maxResul...
[ "0.54030997", "0.5297579", "0.5245986", "0.51369196", "0.51046014", "0.5047285", "0.4958471", "0.49551943", "0.4937556", "0.49357834", "0.4879934", "0.487112", "0.4847749", "0.48197022", "0.48148704", "0.4806831", "0.47965416", "0.47929034", "0.47769684", "0.47761056", "0.476...
0.0
-1
Return the all the elements in the sorted set at key with a score between min and max (including elements with score equal to min or max).
public Set<String> zrangeByScore(final String key, final double min, final double max) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zrangeByScore(key, min, max); } finally { if (jedis != null) { jedis.close(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<Tuple> zrangeByScoreWithScores(final String key, final double min, final double max) {\n Jedis jedis = null;\n try {\n jedis = jedisPool.getResource();\n return jedis.zrangeByScoreWithScores(key, min, max);\n } finally {\n if (jedis != null) {\n ...
[ "0.69014233", "0.6511089", "0.61811626", "0.61085457", "0.5905264", "0.57994163", "0.578103", "0.57571334", "0.56174254", "0.54577804", "0.5380154", "0.53644437", "0.53615606", "0.53435373", "0.53081477", "0.530748", "0.5195034", "0.5183865", "0.5150648", "0.50785583", "0.506...
0.6661439
1
For Object, Return the all the elements in the sorted set at key with a score between min and max (including elements with score equal to min or max).
public <T> Set<T> zrangeHashSetByScore(final String key, final double min, final double max, Class<T> clazz) { Jedis jedis = null; try { jedis = jedisPool.getResource(); Set<byte[]> tempSet = jedis.zrangeByScore(key.getBytes(), min, max); if (tempSet != null && tempSe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<Tuple> zrangeByScoreWithScores(final String key, final double min, final double max) {\n Jedis jedis = null;\n try {\n jedis = jedisPool.getResource();\n return jedis.zrangeByScoreWithScores(key, min, max);\n } finally {\n if (jedis != null) {\n ...
[ "0.6443576", "0.6240605", "0.61476696", "0.609402", "0.58068854", "0.57886434", "0.55041075", "0.53332967", "0.529534", "0.5220627", "0.5208585", "0.5047222", "0.5033712", "0.50252974", "0.5012871", "0.5010068", "0.49976718", "0.49375707", "0.49208152", "0.49138397", "0.49093...
0.6029001
4
Return the all the elements in the sorted set at key with a score between min and max (including elements with score equal to min or max).
public Set<String> zrevrangeByScore(final String key, final double min, final double max) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zrevrangeByScore(key, max, min); } finally { if (jedis != null) { jedis.close();...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<Tuple> zrangeByScoreWithScores(final String key, final double min, final double max) {\n Jedis jedis = null;\n try {\n jedis = jedisPool.getResource();\n return jedis.zrangeByScoreWithScores(key, min, max);\n } finally {\n if (jedis != null) {\n ...
[ "0.69010454", "0.66609347", "0.6510533", "0.6107527", "0.5904372", "0.5799362", "0.5781782", "0.5757567", "0.56167066", "0.5459495", "0.5380904", "0.5364139", "0.5362202", "0.53433496", "0.53076774", "0.53074855", "0.51951885", "0.5184649", "0.5150828", "0.5077415", "0.506884...
0.6180488
3
For Object, Return the all the elements in the sorted set at key with a score between min and max (including elements with score equal to min or max).
public <T> List<T> zrangeByScore(final String key, final double min, final double max, Class<T> clazz) { Jedis jedis = null; try { jedis = jedisPool.getResource(); Set<byte[]> tempSet = jedis.zrangeByScore(key.getBytes(), min, max); if (tempSet != null && tempSet.size...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<Tuple> zrangeByScoreWithScores(final String key, final double min, final double max) {\n Jedis jedis = null;\n try {\n jedis = jedisPool.getResource();\n return jedis.zrangeByScoreWithScores(key, min, max);\n } finally {\n if (jedis != null) {\n ...
[ "0.6444513", "0.6241431", "0.6095876", "0.6029615", "0.5805711", "0.5790366", "0.55018336", "0.5333455", "0.5296234", "0.52202016", "0.5208709", "0.50498915", "0.50359553", "0.5025367", "0.5011891", "0.5010913", "0.4997607", "0.4939715", "0.4921398", "0.49148175", "0.49111667...
0.6147966
2
Return a range of members with scores in a sorted set, by index. Ordered from the lowest to the highest score.
public Set<Tuple> zrangeWithScores(final String key, final long start, final long end) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zrangeWithScores(key, start, end); } finally { if (jedis != null) { jedis.close(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Score getScores(int index);", "public SortedMap<Double, SortedSet<String>> getScores()\n {\n return Collections.unmodifiableSortedMap(scores);\n }", "public Set<T> getRanges();", "static int[] climbingLeaderboard(int[] scores, int[] alice) {\n\t\tint[] ranks = new int[scores.length];\n\t\tint[] aliceRan...
[ "0.6206421", "0.5655876", "0.53487784", "0.527851", "0.5250623", "0.52452075", "0.5213378", "0.52009326", "0.5116471", "0.5091675", "0.5085063", "0.50831497", "0.50667274", "0.5055654", "0.504448", "0.5015159", "0.4998089", "0.49774575", "0.4974202", "0.49685654", "0.49673703...
0.5394859
2
Return a range of members with scores in a sorted set, by index. Ordered from the highest to the lowest score.
public Set<Tuple> zrevrangeWithScores(final String key, final long start, final long end) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zrevrangeWithScores(key, start, end); } finally { if (jedis != null) { jedis.clo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Score getScores(int index);", "public SortedMap<Double, SortedSet<String>> getScores()\n {\n return Collections.unmodifiableSortedMap(scores);\n }", "public Set<Tuple> zrangeWithScores(final String key, final long start, final long end) {\n Jedis jedis = null;\n try {\n jedis = je...
[ "0.62159336", "0.5680185", "0.54346085", "0.5361597", "0.52877665", "0.5271847", "0.525881", "0.5244105", "0.5198504", "0.51202613", "0.5070799", "0.5068964", "0.5067613", "0.50655156", "0.50609255", "0.50197923", "0.50145835", "0.500338", "0.49804708", "0.49697727", "0.49655...
0.50963604
10
Return the all the elements in the sorted set at key with a score between min and max (including elements with score equal to min or max). Ordered from the lowest to the highest score.
public Set<Tuple> zrangeByScoreWithScores(final String key, final double min, final double max) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zrangeByScoreWithScores(key, min, max); } finally { if (jedis != null) { j...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<String> zrangeByScore(final String key, final double min, final double max) {\n Jedis jedis = null;\n try {\n jedis = jedisPool.getResource();\n return jedis.zrangeByScore(key, min, max);\n } finally {\n if (jedis != null) {\n jedis.cl...
[ "0.6719158", "0.65932786", "0.6304401", "0.6070699", "0.59481555", "0.58306134", "0.5655246", "0.5580039", "0.5535214", "0.54717606", "0.5466607", "0.53808606", "0.5274243", "0.52416444", "0.5184524", "0.5129351", "0.51235527", "0.51099735", "0.5102726", "0.49982896", "0.4970...
0.6909095
0
Return the all the elements in the sorted set at key with a score between min and max (including elements with score equal to min or max). Ordered from the highest to the lowest score.
public Set<Tuple> zrevrangeByScoreWithScores(final String key, final double min, final double max) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zrevrangeByScoreWithScores(key, max, min); } finally { if (jedis != null) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<Tuple> zrangeByScoreWithScores(final String key, final double min, final double max) {\n Jedis jedis = null;\n try {\n jedis = jedisPool.getResource();\n return jedis.zrangeByScoreWithScores(key, min, max);\n } finally {\n if (jedis != null) {\n ...
[ "0.68913746", "0.6687456", "0.6256225", "0.60242665", "0.59165835", "0.58390397", "0.56673026", "0.5601898", "0.55578905", "0.549351", "0.5457414", "0.5392123", "0.52628285", "0.52373034", "0.5199682", "0.51179767", "0.51083106", "0.5103334", "0.50989825", "0.5024098", "0.496...
0.6558582
2
Remove one or more members from a sorted set
public Boolean zrem(final String key, final String... members) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zrem(key, members) == 1 ? true : false; } finally { if (jedis != null) { jedis.close(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Set<Card> remove();", "@Test\n\tpublic void testRemoveAll() {\n\t\tSet<Integer> setA = new HashSet<>(Arrays.asList(1, 2, 3, 4, 5));\n\t\tSet<Integer> setB = new HashSet<>(Arrays.asList(9, 8, 7, 6, 5, 4, 3));\n\t\tsetA.removeAll(setB);\n\t\tSet<Integer> union = new HashSet<>(Arrays.asList(1, 2));\n\t\tassertEqual...
[ "0.6678973", "0.66416705", "0.65015626", "0.6469256", "0.6456386", "0.62153053", "0.6189869", "0.61556673", "0.6090586", "0.60558784", "0.6055496", "0.6029648", "0.5996134", "0.599292", "0.5952133", "0.594215", "0.59225994", "0.59041876", "0.59041876", "0.59041876", "0.590418...
0.0
-1
For Object, Remove one or more members from a sorted set
public Boolean zrem(final String key, final Object... members) { Jedis jedis = null; try { jedis = jedisPool.getResource(); byte[][] strings = new byte[members.length][]; for (int j = 0; j < members.length; j++) { // strings[j] = HessianSerializer.seri...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Set<Card> remove();", "public static void main(String[] args) {\n Set<Integer> S1 = new TreeSet<>();\r\n // add objects\r\n S1.add(65); S1.add(36); S1.add(24); S1.add(36);\r\n \r\n // show the content and assert they are sorted and no duplications\r\n System.out.printl...
[ "0.6461053", "0.6274361", "0.6195922", "0.6101098", "0.60696256", "0.6051769", "0.5939671", "0.59146744", "0.59093", "0.58672726", "0.58636653", "0.5842328", "0.5814507", "0.57851666", "0.5775345", "0.57711405", "0.5756465", "0.5755148", "0.57448447", "0.57244176", "0.5708078...
0.0
-1
Get the score associated with the given member in a sorted set
public Double zscore(final String key, final String member) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zscore(key, member); } finally { if (jedis != null) { jedis.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Double zscore(final String key, final Object member) {\n Jedis jedis = null;\n try {\n jedis = jedisPool.getResource();\n // return jedis.zscore(key.getBytes(),\n // HessianSerializer.serialize(member));\n return jedis.zscore(key.getBytes(), toJsonBy...
[ "0.5963968", "0.55968493", "0.55453897", "0.549291", "0.5491632", "0.54148084", "0.541034", "0.5391455", "0.5391455", "0.53606534", "0.5341445", "0.5331468", "0.5331468", "0.5331468", "0.5331468", "0.5310169", "0.5296118", "0.5285319", "0.5281759", "0.5259009", "0.52551425", ...
0.58798057
1
For ObjecGet the score associated with the given member in a sorted set
public Double zscore(final String key, final Object member) { Jedis jedis = null; try { jedis = jedisPool.getResource(); // return jedis.zscore(key.getBytes(), // HessianSerializer.serialize(member)); return jedis.zscore(key.getBytes(), toJsonByteArray(mem...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void sortedSetExample() {\n\n Jedis jedis = JedisClient.getJedis();\n jedis.zadd(studentRankKey, 1137, \"Shanmuga Priya\");\n jedis.zadd(studentRankKey, 1118, \"Gomathi Jaya\");\n jedis.zadd(studentRankKey, 1134, \"Ramasubramani N\");\n\n // You can add items in one go us...
[ "0.5847757", "0.5755191", "0.56259644", "0.5617937", "0.551147", "0.5467588", "0.5466913", "0.5450988", "0.5423486", "0.54132843", "0.54075", "0.5403085", "0.5403085", "0.5375462", "0.5375462", "0.5375462", "0.5375462", "0.5358264", "0.53539866", "0.5348611", "0.5345393", "...
0.59933335
0
Remove all elements in the sorted set at key with rank between start and end. Start and end are 0based with rank 0 being the element with the lowest score. Both start and end can be negative numbers, where they indicate offsets starting at the element with the highest rank. For example: 1 is the element with the highes...
public Long zremrangeByRank(String key, long start, long end) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zremrangeByRank(key, start, end); } finally { if (jedis != null) { jedis.close(); } } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long zremrangeByRank(String key, long start, long stop) {\n Jedis jedis = pool.getResource();\n try {\n return jedis.zremrangeByRank(key, start, stop);\n } finally {\n jedis.close();\n }\n }", "public Set<Tuple> zrevrangeWithScores(final String key, fin...
[ "0.6148629", "0.5900942", "0.5371412", "0.5350326", "0.5267349", "0.51950985", "0.5187792", "0.51486397", "0.5142088", "0.5089478", "0.50857335", "0.50838256", "0.50747436", "0.50498295", "0.5036641", "0.5016582", "0.50037205", "0.49988455", "0.4982868", "0.4973253", "0.49433...
0.63224405
0
Get the length of a sorted set
public Long zcount(final String key, final double min, final double max) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zcount(key, min, max); } finally { if (jedis != null) { jedis.close(); } } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int size() {\n return set.size();\n }", "public int size(){\n return set.length;\n }", "public int size() {\r\n\t\treturn set.size();\r\n\t}", "public int size() {\n\t\treturn set.size();\n\t}", "public int size() {\n \tint currentSize = 0;\n \t\n \tIterator<E> iterateSe...
[ "0.7076491", "0.70443326", "0.697208", "0.6948037", "0.6850934", "0.6719386", "0.66714764", "0.6484127", "0.64429575", "0.6382298", "0.6268446", "0.6263668", "0.61446875", "0.60310435", "0.6029307", "0.6028359", "0.60275143", "0.60275143", "0.60275143", "0.60275143", "0.60101...
0.0
-1
Get the number of members in a sorted set
public Long zcard(final String key) { Jedis jedis = null; try { jedis = jedisPool.getResource(); return jedis.zcard(key); } finally { if (jedis != null) { jedis.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int size() {\n return set.size();\n }", "public int size() {\r\n\t\treturn set.size();\r\n\t}", "public int size() {\n\t\treturn set.size();\n\t}", "public int size() {\n \tint currentSize = 0;\n \t\n \tIterator<E> iterateSet = this.iterator();\n \t\n \t// calculates number of...
[ "0.6872212", "0.6775652", "0.67554027", "0.6689856", "0.6677726", "0.6602232", "0.65995175", "0.6565193", "0.65193105", "0.6505947", "0.6491354", "0.6478799", "0.64679533", "0.6439076", "0.63814884", "0.63759327", "0.6361379", "0.6346692", "0.63347775", "0.63326824", "0.62695...
0.0
-1
This method takes in the file name and outputs an arraylist containing all the raw data as Ice objects
public static ArrayList<Ice> dataFromFile(String fileName) throws IOException { FileReader fr = new FileReader(fileName); BufferedReader br = new BufferedReader(fr); String line = ""; ArrayList<Ice> iceData = new ArrayList<>(); while ((line=br.readLine()) != null){ if (Character.isDigit(line.charAt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<?> getItems(String filename){\n \n try {\n FileInputStream fis = new FileInputStream(filename);\n ObjectInputStream ois = new ObjectInputStream(fis);\n items = (ArrayList<?>) ois.readObject();\n ois.close();\n \n \n ...
[ "0.66027737", "0.63378656", "0.63163686", "0.6264121", "0.62103945", "0.6195446", "0.61592144", "0.6102662", "0.6088538", "0.6084509", "0.60683805", "0.60268325", "0.5984382", "0.5944517", "0.5923039", "0.5896714", "0.58665156", "0.5860488", "0.5827931", "0.58185834", "0.5808...
0.7233023
0
This method takes an arraylist of ice objects and converts it to a hashmap, with month as the key and Ice objects as values
public static HashMap<Integer, ArrayList<Ice>> sortedDataMap(ArrayList<Ice> iceData) throws IOException{ HashMap<Integer,ArrayList<Ice>> iceMap = new HashMap<>();//creates new empty hashmap //loops over the entire arraylist for (Ice iceDatapoint : iceData) { int month = iceDatapoint.getMonth();//extract...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Map<String, Object> analysisMap(ArrayList<String> data) {\n Map<String, Object> map = new HashMap<>();\n map.put(DAILY, data);\n return map;\n }", "public static LinkedHashMap <Integer, ArrayList<WeatherObject>> getWeatherMap(ArrayList<WeatherObject> weatherList) {\n Linked...
[ "0.61924344", "0.6018441", "0.5724972", "0.5720473", "0.56741524", "0.56291705", "0.5515066", "0.5506233", "0.55000097", "0.54747534", "0.54591256", "0.53442603", "0.53442025", "0.53407925", "0.5339164", "0.53276014", "0.52973247", "0.52901596", "0.52635455", "0.5253857", "0....
0.7317636
0
Legacy logic to convert an arbitrary java object to an Ast Literal. Only provided here to preserve backwards compatibility.
@VisibleForTesting static Value<?> valueToLiteralLegacy(Object value, GraphQLType type, GraphQLContext graphqlContext, Locale locale) { assertTrue(!(value instanceof Value), () -> "Unexpected literal " + value); if (value == null) { return null; } if (isNonNull(type)) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ObjectLiteral createObjectLiteral();", "public static Literal of(Source source, Object value) {\n if (value instanceof Literal) {\n return (Literal) value;\n }\n return new Literal(source, value, DataTypes.fromJava(value));\n }", "Literal createLiteral();", "Literal createL...
[ "0.69546306", "0.6561315", "0.6272927", "0.6272927", "0.6034126", "0.5973016", "0.5919268", "0.5733633", "0.57322603", "0.5717143", "0.5577607", "0.55454314", "0.548072", "0.5444667", "0.5377518", "0.5358863", "0.5346941", "0.5324907", "0.52509886", "0.52223134", "0.5187062",...
0.58817697
7
Created by walke.Z on 2018/8/10.
public interface MainIView<D extends Object> extends BaseIView { void getDataSuccess(D data); void getDataFail(Exception exc); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n...
[ "0.5998345", "0.5930355", "0.56540537", "0.56341195", "0.5619359", "0.5619359", "0.5597735", "0.5591267", "0.55701816", "0.55221874", "0.55189085", "0.54753625", "0.5466434", "0.54602313", "0.5455326", "0.5452038", "0.54327786", "0.54296273", "0.54296273", "0.54296273", "0.54...
0.0
-1
Created by mikkoville on 7.9.2016.
public interface CommitsListView { void addCommitsToRecyclerView(List<Commit> commits); void showNetworkError(); void startCommitDetailsActivity(Commit commit); void showToastWithText(String text); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r...
[ "0.5975932", "0.586526", "0.57291985", "0.56726336", "0.5650622", "0.5650622", "0.55602443", "0.55416554", "0.5536755", "0.55255646", "0.5518916", "0.5514479", "0.550122", "0.5479374", "0.5478822", "0.5478292", "0.54627013", "0.54528785", "0.54528785", "0.54528785", "0.545287...
0.0
-1
Initialize the MIDI sequencer and data storage
public MidiLoader ( ) throws MidiUnavailableException { this.midisMap = new HashMap<String, MidiSoundHolder> ( ); this.sequencer = MidiSystem.getSequencer ( ); if ( this.sequencer == null ) throw new MidiUnavailableException ( "No MIDI sequencer found" ); this.sequencer.ope...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private MusicManager() {\n\t\ttry {\n\t\t\t// init sequencer\n\t\t\tsequencer = MidiSystem.getSequencer();\n\t\t\tsequencer.open();\n\n\t\t\t// init synthesizer\n\t\t\tsynth = MidiSystem.getSynthesizer();\n\t\t\tsynth.open();\n\t\t\t\n\t\t\t// DEBUG\n\t\t\t//System.out.print(\"latency = \" + synth.getLatency());\n...
[ "0.65041035", "0.6015961", "0.5888122", "0.5754152", "0.5748487", "0.57083774", "0.55812603", "0.5574806", "0.5556172", "0.5545269", "0.5537342", "0.55097413", "0.5460366", "0.5444616", "0.5439001", "0.5422814", "0.5388817", "0.53657335", "0.5341977", "0.53383243", "0.5321952...
0.66150886
0
Returns a new SoundHolder linked to this loader
public SoundHolder getMidiHolder ( String name ) throws KeyAlreadyExistsException { if ( this.midisMap.containsKey ( name ) ) throw new KeyAlreadyExistsException ( "Sound name " + name + " already exists!" ); this.midisMap.put ( name, new MidiSoundHolder ( this ) ); return this.midi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private FunctionSoundD getFunctionSound() {\n\t\tif (functionSound == null) {\n\t\t\ttry {\n\t\t\t\tfunctionSound = new FunctionSoundD();\n\t\t\t} catch (Exception e) {\n\t\t\t\tLog.error(\"Problem in getFunctionSound(): \" + e.getMessage());\n\t\t\t}\n\t\t}\n\t\treturn functionSound;\n\t}", "public abstract Sou...
[ "0.61281896", "0.6068422", "0.60520697", "0.6023091", "0.60081553", "0.6005793", "0.6003125", "0.59464145", "0.5881886", "0.5857624", "0.5769929", "0.57553613", "0.57148576", "0.5712399", "0.565173", "0.5588354", "0.55656934", "0.55656934", "0.556539", "0.5539016", "0.5480014...
0.60041773
6
Returns the SoundHolder by the given name
public MidiSoundHolder getMidi ( String name ) { return this.midisMap.get ( name ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SoundHolder getMidiHolder ( String name ) throws KeyAlreadyExistsException {\n if ( this.midisMap.containsKey ( name ) )\n throw new KeyAlreadyExistsException ( \"Sound name \" + name + \" already exists!\" );\n\n this.midisMap.put ( name, new MidiSoundHolder ( this ) );\n re...
[ "0.7027253", "0.62704575", "0.62327915", "0.62083656", "0.6137115", "0.6136613", "0.6077789", "0.6050787", "0.60381925", "0.5959782", "0.5895278", "0.5891789", "0.5874328", "0.576209", "0.5752605", "0.5747635", "0.57236236", "0.5710319", "0.56856", "0.56766385", "0.56648535",...
0.642661
1
Called by SoundHolder objects when they stop playing Useful so that the MidiLoader can allow another clip to play
public void notifyStoppedPlaying ( MidiSoundHolder sound ) { if ( this.currentMidi == sound ) { this.currentMidi = null; this.sequencer.removeMetaEventListener ( sound ); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop() { \r\n timer.stop(); \r\n if (midi) \r\n sequencer.stop(); \r\n else \r\n clip.stop(); \r\n play.setText(\"Play\"); \r\n playing = false; \r\n }", "public void stop()\n {\n audioClip.stop();\n }", "protected void stopTh...
[ "0.7586524", "0.75583935", "0.75118494", "0.74961376", "0.7487188", "0.74138224", "0.7343564", "0.733971", "0.7322187", "0.73072255", "0.7306268", "0.7270765", "0.72359455", "0.7232245", "0.7195359", "0.7194447", "0.7174937", "0.70970833", "0.70940787", "0.70664835", "0.70641...
0.6919796
31
Returns the current sequencer if no other sound is playing
public Sequencer requestPlay ( MidiSoundHolder sound ) { if ( this.currentMidi != null && this.currentMidi != sound ) return null; this.currentMidi = sound; this.sequencer.addMetaEventListener ( sound ); return this.sequencer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Sequencer requestSequencer ( MidiSoundHolder sound ) {\n if ( this.currentMidi != sound )\n return null;\n return this.sequencer;\n }", "IPatternSequencer getSequencer();", "public static Sequence getSequence(){\n\t\treturn curMIDI;\n\t}", "SequencerStorage getSequencerStor...
[ "0.722724", "0.6374356", "0.63439554", "0.63141865", "0.5912525", "0.5909505", "0.5870652", "0.5700535", "0.56970954", "0.5688013", "0.56638575", "0.562216", "0.5552214", "0.5524862", "0.55168444", "0.54939497", "0.5488268", "0.5432762", "0.54305494", "0.54144806", "0.5407556...
0.6258102
4
Returns the current sequencer if the given sound is the playing sound
public Sequencer requestSequencer ( MidiSoundHolder sound ) { if ( this.currentMidi != sound ) return null; return this.sequencer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isSound() {\n return sound;\n }", "public boolean isSound() {\n\t\treturn true;\n\t}", "public boolean playing() {\n\t\treturn sound.isPlaying();\n\t}", "public boolean isAudio() {\n\t\t\treturn this == AUDIO;\n\t\t}", "boolean isSoundPlaying() {\n return (aud...
[ "0.7130124", "0.68660384", "0.6765177", "0.6748345", "0.6720754", "0.66812646", "0.6475881", "0.6446057", "0.6433252", "0.6399853", "0.63906795", "0.6333736", "0.6205986", "0.6161118", "0.61141104", "0.6111696", "0.610141", "0.608712", "0.6017474", "0.6012562", "0.60104537", ...
0.6518895
6
Closes down the sequencer (and any playing sequence).
public void close ( ) { if ( this.currentMidi != null ) { this.currentMidi.stop ( ); this.sequencer.removeMetaEventListener ( this.currentMidi ); } if ( this.sequencer.isRunning ( ) ) this.sequencer.stop ( ); this.sequencer.close ( ); this.se...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop() {\n\t\tif (sequencer == null) return;\n\n\t\tsequencer.stop();\n\t}", "public void close() {\n\ttry {\n\t midi.getTransmitter().close();\n\t midi.close();\n\t} catch ( MidiUnavailableException e ) {\n\t // Nothing.\n\t}\n }", "public void closeMidi() {\n\t\tjDevice.close();\n\t}"...
[ "0.7060098", "0.67504877", "0.65011764", "0.64326924", "0.64293396", "0.6407728", "0.6221913", "0.61174875", "0.60403544", "0.60277575", "0.59954756", "0.59854066", "0.59161025", "0.5915604", "0.5892547", "0.58898896", "0.58796793", "0.5832564", "0.57668483", "0.57635754", "0...
0.77964073
0
/ The text input field Constructors Constructor
public DialogPrompt(String title) { value = new PromptValueString("",""); initUI(title,10); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TextInput() {\n // initialise instansvariables\n }", "public TextFieldFuncion(){}", "public TextField(String text){\n super(text);\n this.defaultText = text;\n }", "public RTextField() {\r\n }", "public TextInput(WebElement element) {\n super(element);\n }", "public T...
[ "0.819357", "0.77093893", "0.76183385", "0.75199777", "0.74370444", "0.73546284", "0.7252962", "0.70524627", "0.7024438", "0.7005606", "0.6916283", "0.69145554", "0.6888054", "0.6864273", "0.6809262", "0.67871493", "0.6751684", "0.6414852", "0.63965774", "0.63940746", "0.6389...
0.0
-1
Data access & UI Get the prompt text input value
public PromptValue getValue() { return value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPrompt(){ return _prompt ; }", "public String getInput() {\r\n return getText();\r\n }", "private String getAndClrInput(){\n\t\tString theReturn = userInput.getText();\n\t\tuserInput.setText(\"\");\n\t\treturn theReturn;\n\t}", "private void getTextFromInput() {\n firstName ...
[ "0.6891069", "0.6859866", "0.67204756", "0.6705766", "0.66967064", "0.66947377", "0.66783744", "0.662858", "0.659469", "0.6590958", "0.6579562", "0.6567486", "0.6549524", "0.65428174", "0.653691", "0.6511845", "0.651067", "0.6502626", "0.6461121", "0.6414142", "0.63976234", ...
0.66030896
8
Return true if user selected OK
public boolean getAccepted() { return accepted; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean getOK() {\n return userAction.equals(OK);\n }", "protected abstract boolean onOkClicked();", "public boolean isOkClicked(){\n\t\treturn okClicked;\n\t}", "public boolean isOkClicked() {\n\t\treturn okClicked;\n\t}", "public boolean isOkClicked() {\n\t\treturn okClicked;\n\t}", "pub...
[ "0.803152", "0.75311637", "0.7521929", "0.74441475", "0.74441475", "0.74441475", "0.74441475", "0.74441475", "0.74423766", "0.74324715", "0.74324715", "0.74324715", "0.74324715", "0.7420548", "0.7395506", "0.7395506", "0.7371089", "0.7199361", "0.71762407", "0.71198285", "0.7...
0.0
-1
Handle closing actions for the dialog
private void close() { value.setValueString( input.getText() ); // check to see if the value is valid: if( value.isValid() ) { // if so, then set accepted and get rid of window: accepted = true; dispose(); } else { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void windowClosing(WindowEvent we) {\n finishDialog();\n }", "protected void closeDialogCancel() {\n dispose();\n }", "@Override\r\n \t\t\tpublic void closeDialog() {\n \t\t\t\tunbind();\r\n \t\t\t\tsuper.closeDialog();\r\n \t\t\t}", "@Override\n\t\t\t\tpublic vo...
[ "0.78097063", "0.7539111", "0.74763083", "0.7344882", "0.73074174", "0.72851896", "0.7279433", "0.7260623", "0.7209958", "0.72089386", "0.72089386", "0.7191622", "0.71908563", "0.7158162", "0.7153442", "0.7151794", "0.7144761", "0.7143414", "0.7139001", "0.7133022", "0.713262...
0.0
-1
To get Project count
public int getProjectCount(){ return projectRepository.getProjectCount(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Integer getProjectCount( String key ){\n return developer.projects.size();\n }", "@Override\r\n\tpublic int countListProject(Map<String, Object> map) throws Exception {\n\t\treturn 0;\r\n\t}", "@Override\r\n\tpublic int countCopProject(Map<String, Object> map) throws Exception {\n\t\treturn 0;\r\n\t}", ...
[ "0.8218887", "0.78305507", "0.76767486", "0.7544561", "0.7425583", "0.73999214", "0.7284852", "0.6999945", "0.6863818", "0.68174356", "0.6733762", "0.67061657", "0.66487795", "0.6632777", "0.6597387", "0.65935206", "0.6588647", "0.65824056", "0.65824056", "0.6532173", "0.6511...
0.8366669
0
get the project based on the state
public List<Project> findByStates(States states){ if(states != null){ return projectRepository.findByStates(states); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Project getProject() {\n if (ProjectList.size() == 0) {\n System.out.print(\"No Projects were found.\");\n return null;\n }\n\n System.out.print(\"\\nPlease enter the project number: \");\n int projNum = input.nextInt();\n input.nextLine();\n\n...
[ "0.7021407", "0.69363654", "0.693235", "0.69019186", "0.6820316", "0.67782044", "0.67206186", "0.668742", "0.66786957", "0.6665728", "0.6618368", "0.6570355", "0.6560002", "0.65316623", "0.6492273", "0.6476969", "0.6466565", "0.64641035", "0.6459149", "0.6420423", "0.6420423"...
0.58729565
77
Duration in seconds. The .9 should prevent flickering.
private static float getDefaultDuration(ResourceLocation effectId) { return new ResourceLocation("night_vision").equals(effectId) ? 15.9f : 1.9f; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void increaseSpeed() {\r\n\tupdateTimer.setDelay((int)Math.floor(updateTimer.getDelay()*0.95));\r\n\t\t}", "public float getFrameRate() { return 1000f/_interval; }", "public int delta()\r\n\t{\r\n\t\treturn smooth ? (resolution / fps) : duration;\r\n\t}", "public void setHighlightDuration(double valu...
[ "0.64094156", "0.63542503", "0.61746657", "0.61545503", "0.6137466", "0.6113428", "0.6108278", "0.5983247", "0.5940249", "0.5847561", "0.5827362", "0.58163846", "0.5813044", "0.5813044", "0.5805866", "0.5801772", "0.57981855", "0.5794278", "0.5785028", "0.5766386", "0.5765852...
0.0
-1
Set the source specific subclass of DirectoryConverter to run
public void setClsName(String clsName) { this.clsName = clsName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CustomDirectoryFactory(){\n\t\tsuper();\n\t}", "@Override\r\n\t\tpublic void setDir(String dir)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "@Override\n public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException {\n if (!this.sourceDirectory.equals(dir)) {\n this.curren...
[ "0.55427", "0.54324675", "0.5355531", "0.5339551", "0.52986705", "0.5290652", "0.52712375", "0.5223241", "0.5149181", "0.5139459", "0.51197386", "0.51107216", "0.5107839", "0.5102383", "0.5083202", "0.5057325", "0.50313616", "0.5023868", "0.4988652", "0.4972641", "0.49648958"...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
long countByExample(CargoExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "@Select({\n \"select\",\n \"ID, SDATE, STYPE, SMONEY, TOUCHING, ACCOUNT, CHEC...
[ "0.590364", "0.55739254", "0.53776205", "0.5373786", "0.52583104", "0.52556455", "0.5216209", "0.51924235", "0.5175056", "0.5110947", "0.5104078", "0.5090616", "0.50754863", "0.5065929", "0.50608784", "0.49937865", "0.4977886", "0.49768093", "0.497114", "0.49614286", "0.49595...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
int deleteByExample(CargoExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "@Select({\n \"select\",\n \"ID, SDATE, STYPE, SMONEY, TOUCHING, ACCOUNT, CHEC...
[ "0.5904964", "0.55730635", "0.5375608", "0.53753227", "0.52559406", "0.5254475", "0.52168435", "0.51928604", "0.5173352", "0.511047", "0.5106857", "0.5090345", "0.5074903", "0.50664216", "0.506069", "0.49963862", "0.4977458", "0.49768466", "0.4973573", "0.49645814", "0.496035...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
int deleteByPrimaryKey(Integer idCargo);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "public Vector obtenerListaCagoBuscarIdCargo(int idCargo) throws SQLException {\n Vec...
[ "0.5905415", "0.5572017", "0.53757757", "0.53755826", "0.52548414", "0.52535844", "0.5216436", "0.51930636", "0.51731247", "0.5110516", "0.51073325", "0.5089412", "0.5074294", "0.5065202", "0.5059454", "0.4996471", "0.49776092", "0.4976169", "0.497482", "0.4964934", "0.496022...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
int insert(Cargo record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "@Select({\n \"select\",\n \"ID, SDATE, STYPE, SMONEY, TOUCHING, ACCOUNT, CHEC...
[ "0.59035504", "0.557313", "0.53774446", "0.53731", "0.52572745", "0.5255507", "0.5215776", "0.5191732", "0.51750356", "0.5110728", "0.5103905", "0.5089586", "0.50746727", "0.50643545", "0.50596315", "0.49927184", "0.49769726", "0.49760795", "0.49713275", "0.49617887", "0.4959...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
int insertSelective(Cargo record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "@Select({\n \"select\",\n \"ID, SDATE, STYPE, SMONEY, TOUCHING, ACCOUNT, CHEC...
[ "0.590364", "0.55739254", "0.53776205", "0.5373786", "0.52583104", "0.52556455", "0.5216209", "0.51924235", "0.5175056", "0.5110947", "0.5104078", "0.5090616", "0.50754863", "0.5065929", "0.50608784", "0.49937865", "0.4977886", "0.49768093", "0.497114", "0.49614286", "0.49595...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
List<Cargo> selectByExample(CargoExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "@Select({\n \"select\",\n \"ID, SDATE, STYPE, SMONEY, TOUCHING, ACCOUNT, CHEC...
[ "0.5904964", "0.55730635", "0.5375608", "0.53753227", "0.52559406", "0.5254475", "0.52168435", "0.51928604", "0.5173352", "0.511047", "0.5106857", "0.5090345", "0.5074903", "0.50664216", "0.506069", "0.49963862", "0.4977458", "0.49768466", "0.4973573", "0.49645814", "0.496035...
0.48694265
31
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
Cargo selectByPrimaryKey(Integer idCargo);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "public Vector obtenerListaCagoBuscarIdCargo(int idCargo) throws SQLException {\n Vector listaCargo = new Vector();\n String s...
[ "0.5572017", "0.53757757", "0.53755826", "0.52548414", "0.52535844", "0.5216436", "0.51930636", "0.51731247", "0.5110516", "0.51073325", "0.5089412", "0.5074294", "0.5065202", "0.5059454", "0.4996471", "0.49776092", "0.4976169", "0.497482", "0.4964934", "0.49602285", "0.49560...
0.5905415
0
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
int updateByExampleSelective(@Param("record") Cargo record, @Param("example") CargoExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "@Select({\n \"select\",\n \"ID, SDATE, STYPE, SMONEY, TOUCHING, ACCOUNT, CHEC...
[ "0.59035504", "0.557313", "0.53774446", "0.53731", "0.52572745", "0.5255507", "0.5215776", "0.5191732", "0.51750356", "0.5110728", "0.5103905", "0.5089586", "0.50746727", "0.50643545", "0.50596315", "0.49927184", "0.49769726", "0.49760795", "0.49713275", "0.49617887", "0.4959...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
int updateByExample(@Param("record") Cargo record, @Param("example") CargoExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "@Select({\n \"select\",\n \"ID, SDATE, STYPE, SMONEY, TOUCHING, ACCOUNT, CHEC...
[ "0.590364", "0.55739254", "0.53776205", "0.5373786", "0.52583104", "0.52556455", "0.5216209", "0.51924235", "0.5175056", "0.5110947", "0.5104078", "0.5090616", "0.50754863", "0.5065929", "0.50608784", "0.49937865", "0.4977886", "0.49768093", "0.497114", "0.49614286", "0.49595...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
int updateByPrimaryKeySelective(Cargo record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "@Select({\n \"select\",\n \"ID, SDATE, STYPE, SMONEY, TOUCHING, ACCOUNT, CHEC...
[ "0.5904964", "0.55730635", "0.5375608", "0.53753227", "0.52559406", "0.5254475", "0.52168435", "0.51928604", "0.5173352", "0.511047", "0.5106857", "0.5090345", "0.5074903", "0.50664216", "0.506069", "0.49963862", "0.4977458", "0.49768466", "0.4973573", "0.49645814", "0.496035...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table cargo
int updateByPrimaryKey(Cargo record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Cargo selectByPrimaryKey(Integer idCargo);", "@MyBatisDao\npublic interface ContnDao extends BaseDao<Contn> {\n\n Contn get(@Param(\"id\") int id);\n\n Contn getByContnNo(@Param(\"contnNo\") String contnNo);\n}", "public Vector obtenerListaCagoBuscarIdCargo(int idCargo) throws SQLException {\n Vec...
[ "0.5905415", "0.5572017", "0.53757757", "0.53755826", "0.52548414", "0.52535844", "0.5216436", "0.51930636", "0.51731247", "0.5110516", "0.51073325", "0.5089412", "0.5074294", "0.5065202", "0.5059454", "0.4996471", "0.49776092", "0.4976169", "0.497482", "0.4964934", "0.496022...
0.0
-1
Use instead of null checking next(kit).
public static boolean hasNext(Kit kit) { if(queue.get(kit) == null) return false; if(queue.get(kit).size() < 2) return false; return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic T next() {\n\t\t\treturn null;\n\t\t}", "@Override\n\tpublic Object next() {\n\t\treturn null;\n\t}", "boolean usesNext() {\n return next != null;\n }", "public T next()\n {\n // TODO: implement this method\n return null;\n }", "protected Sampler ne...
[ "0.6500344", "0.6457844", "0.6363415", "0.62345934", "0.62122333", "0.6089083", "0.6036653", "0.60344553", "0.60294086", "0.6023146", "0.6023146", "0.59800935", "0.59467053", "0.59432447", "0.5937151", "0.5910683", "0.58956385", "0.57850635", "0.57843906", "0.5731176", "0.570...
0.5631104
25
do summarization in this example the keys are Text, but this is just an example
public void reduce(Text key, Iterable<IntWritable> values, Context context) throws IOException, InterruptedException { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void logAllPossibleKeysWithType() {\n log.info(\"Log all possible keys with type:\");\n Map<String, Class> keysWithType = context.entrySet().stream()\n .collect(toMap(Entry::getKey, entry -> entry.getValue().getClass()));\n log.info(mapToString(keysWithType));\n }", ...
[ "0.5903406", "0.5836053", "0.5799989", "0.5737197", "0.56611043", "0.5647757", "0.5637171", "0.5593293", "0.55859834", "0.5568387", "0.54905325", "0.547796", "0.54532874", "0.54527783", "0.5431625", "0.53595793", "0.5323355", "0.53061754", "0.5302706", "0.5282396", "0.5276865...
0.0
-1
TODO Autogenerated method stub
@Override public List<?> forFilterList(Class<?> clazz) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean close() throws SQLException { return false; }
{ "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 cancelQuery() { }
{ "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
test1 to test4: basic test. test5 to test7: more than 15 sequence test. test8 to test10: throw exception test.
@Test public void test1(){ I_Stack<String> is = new I_Stack<String>(); is.push("string1"); is.push("string2"); is.show(System.out); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tpublic void testPositiveGenerateIntegerSequences_8() {\n\t\tint i = 1;\r\n\t\tfor (RandomOrgClient roc : rocs) {\r\n\t\t\ttry {\r\n\t\t\t\tcollector.checkThat(roc.generateIntegerSequences(4, LENGTH, MIN, MAX, REPLACEMENT, BASE), notNullValue());\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tcollector.addE...
[ "0.72333205", "0.7227339", "0.7110085", "0.70404565", "0.7014119", "0.68639547", "0.6766095", "0.6644326", "0.6606988", "0.6580781", "0.65769756", "0.64810646", "0.6391568", "0.6353938", "0.633342", "0.6263228", "0.6250306", "0.6236006", "0.614071", "0.6112956", "0.611049", ...
0.0
-1
armazena coordenadas de arrastar e repinta
public void mouseDragged(MouseEvent event) { if (pointCount < points.length) { points[pointCount] = event.getPoint(); // localiza o ponto pointCount++; repaint(); // repinta JFrame } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main (String[] args)\r\n {\n Coordenada utm = new Coordenada(new Datum(6378388D, 6356911.94612795),\r\n\t\t\t 481742, 4770800, 700, (byte)29, true);\r\n //System.out.println(\"lon=\"+utm.getLon()+\" lat=\"+utm.getLat());\r\n //System.out.println(utm.getGrados(utm.getLon())+\"¦ \"+ut...
[ "0.7013702", "0.6360585", "0.6246279", "0.60822946", "0.59831", "0.598055", "0.598055", "0.5910593", "0.58545667", "0.5816201", "0.5794032", "0.57441694", "0.5727651", "0.5700374", "0.5678541", "0.5646201", "0.56454736", "0.5641132", "0.56269443", "0.55828893", "0.5564042", ...
0.0
-1
pintar tudo menos o fundo da area de desenhar
@Override public void actionPerformed(ActionEvent arg0) { setBackground(color); vazioSouth.setBackground(color); vazioEast.setBackground(color); btsPaintJPanel.setBackground(color); botaoJPanel.setBackground(color); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public logicaEnemigos(){\n\t\t//le damos una velocidad inicial al enemigo\n\t\tsuVelocidad = 50;\n\t\tsuDireccionActual = 0.0;\n\t\tposX = 500 ;\n\t\tposY = 10;\n\t}", "public void setCodigoArea(int p) { this.codigoArea = p; }", "public void setCodigoArea(int p) { this.codigoArea = p; }", "@Override\r\n\tpub...
[ "0.62868035", "0.62565523", "0.62565523", "0.6233209", "0.6175112", "0.61626524", "0.6138371", "0.60722095", "0.6071443", "0.6023997", "0.5981659", "0.5976334", "0.5961056", "0.5958282", "0.5948063", "0.5931341", "0.5917367", "0.58862984", "0.5876692", "0.58640194", "0.585790...
0.0
-1
Main method used to import dataset from CVS files: the file must contain: feature name;commitId; The program then takes each commit and extract the feature oriented changes from it and stores everything into the Neo4J database.
static public void extractFromCSVRefFile(String file_path) throws Exception { DataExtractor de = new DataExtractor(); File commitFile = new File(file_path); BufferedReader reader = new BufferedReader(new FileReader(commitFile)); String line = ""; List<String> commit_ids = new ArrayList<String>(); wh...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) throws IOException, SQLException {\n\n // boilerplate\n sourceDB = AndroidDBManager.getProductionInstance();\n analysisDB = AndroidDBManager.getAnalysisInstance();\n\n BufferedWriter resFile = new BufferedWriter(new FileWriter(new File(\"commits.csv\")));\n\n /...
[ "0.62986183", "0.5979444", "0.58140165", "0.5740566", "0.57072484", "0.5688557", "0.5664408", "0.5626385", "0.5600257", "0.5598025", "0.5580021", "0.5573883", "0.5552776", "0.5549052", "0.55482817", "0.5535444", "0.5532904", "0.552848", "0.5528255", "0.5527114", "0.5507942", ...
0.5741329
3
Extract feature oriented changes from all commits contained within the commit range defined by the Start and End commit id (included). Each commit is analyzed and all the commits are then related to one another based on the commit sequence. Note: the set of analyzed commits is created based on all the commits that can ...
static public void extractCommitRange(String start, String end) throws Exception { DataExtractor de = new DataExtractor(); de.extractCommitInfo(start, end); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unused\") \n\tprivate void extractChanges(Node commit_node, RevCommit m) throws Exception\n\t{\n\n\t\tList<String> commitIds = new ArrayList<String>(); \n\n\t\tcommitIds.add(m.toObjectId().getName());\n\t\t\n\t\tCommitInfoExtractor cie = new CommitInfoExtractor();\n\t\tcie.extractFeatureChanges...
[ "0.61127454", "0.5429142", "0.51474375", "0.49622136", "0.48306105", "0.4729928", "0.4712825", "0.4667634", "0.46585867", "0.46469212", "0.46280682", "0.4616553", "0.46025085", "0.45825708", "0.4557346", "0.45565537", "0.45477724", "0.44918078", "0.44788292", "0.4464968", "0....
0.63318485
0
Extract information from a single commit
static public void extractSingleCommit(String commitId) throws Exception { DataExtractor de = new DataExtractor(); List<String> commit_ids = new ArrayList<String>(); commit_ids.add(commitId); de.extractCommitInfo(commit_ids); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Commit commitFullInfo(ArrayList<Commit> commitList) {\n\t\tCommit previousCommitID = null;\n\t\tfor (int i = 0; i < commitList.size(); i++) {\n\t\t\tif (commitList.get(i).commitID.contains(this.commitID)) {\n\t\t\t\treturn commitList.get(i);\n\t\t\t}\n\t\t}\n\n\t\treturn previousCommitID;\n\n\t}", "Commit...
[ "0.661598", "0.65625244", "0.63519186", "0.63178074", "0.6307734", "0.6247403", "0.62382734", "0.62052464", "0.61828923", "0.6098232", "0.60558486", "0.60538113", "0.6040348", "0.59354514", "0.5874256", "0.5857784", "0.5844467", "0.58331907", "0.5826574", "0.58074504", "0.576...
0.7273658
0
sets debug levels for different debug values.
public static void setDebugValue(int inputLevel) { if (inputLevel == 0) DEBUG_VALUE = DebugLevel.NOOUTPUT; else if (inputLevel == 1) DEBUG_VALUE = DebugLevel.CONTENTSATEACHENTRY; else if (inputLevel == 2) DEBUG_VALUE = DebugLevel.RESULT; else if (inputLevel == 3) DEBUG_VALUE = DebugLevel.RUN; else...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static public void setLevel( byte level ) {\n Debug.level=level;\n }", "public static void setDebug(boolean debug) {\n IsDebug = debug;\n if (debug)\n setLevel(VERBOSE);\n else\n setLevel(INFO);\n }", "protected static void setDebugLevel(int debugLevel) {...
[ "0.7400778", "0.71167403", "0.7078622", "0.67320853", "0.66567516", "0.6652798", "0.66082394", "0.6574133", "0.6567488", "0.6435099", "0.6352467", "0.63507855", "0.6326131", "0.6202156", "0.6193142", "0.61916685", "0.61905307", "0.61640495", "0.61588365", "0.61448985", "0.611...
0.6414826
10
writes message to screen according to the debug value.
public static void writeMessage(String message, DebugLevel levelIn) { if (levelIn == DEBUG_VALUE)//&& DEBUG_VALUE != DebugLevel.NOOUTPUT) System.out.println(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void debug(final String msg) {\n \t\tif (debug) System.out.println(msg);\n \t}", "public void writeToControllerGameLog(String message) {\n controller.getUIController().writeToLogBox(message);\n }", "public void debug(String msg);", "private static void print(Object msg){\n if (WAMCli...
[ "0.67794293", "0.6747176", "0.6576673", "0.65545666", "0.65470695", "0.6522576", "0.6506599", "0.64596534", "0.6434451", "0.63790786", "0.63635105", "0.6327302", "0.6313916", "0.6312232", "0.63031274", "0.6298172", "0.62973017", "0.6287521", "0.628518", "0.62689644", "0.62552...
0.6027699
37
/ JADX WARNING: inconsistent code. / Code decompiled incorrectly, please refer to instructions dump.
void reportPrimaryClipChanged() { synchronized (this.mPrimaryClipChangedListeners) { if (this.mPrimaryClipChangedListeners.size() <= 0) { return; } Object[] listeners = this.mPrimaryClipChangedListeners.toArray(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decom...
[ "0.7616838", "0.7573048", "0.7525757", "0.74508786", "0.7450473", "0.7437555", "0.7381664", "0.7381664", "0.7366731", "0.735352", "0.7341992", "0.7314967", "0.73080236", "0.73053473", "0.7273281", "0.72523504", "0.722139", "0.719779", "0.7177453", "0.7136381", "0.7105981", ...
0.0
-1
Popup Dialog in Options Menu
private void showHelp(){ AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(this,R.style.MyDialogTheme); alertDialogBuilder.setMessage("Welcome to NBA Manager 2019\n\n" + "The purpose of the application is to simulate a basketball manager game and draft a team.\n\n" + ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void popupWindowOfOptions(View v) {\n \t \n \t\tOrderManager.clearOption();\n \t\t\n \t\tint nOrderBoardTextId = v.getId();\n \tOrder _Order = (Order) ResourceManager.get(nOrderBoardTextId);\n \tint nMenuDbId = _Order.MENU_ID;\n \tint nMenuResourceId = MenuManager.getResourceIdByDbId(nMenuDb...
[ "0.74622524", "0.7432319", "0.7313316", "0.7174563", "0.71740425", "0.7022121", "0.6731902", "0.6729418", "0.6726078", "0.6678582", "0.6667474", "0.6666419", "0.6625947", "0.6621639", "0.6606392", "0.66018164", "0.6596677", "0.6577927", "0.6568748", "0.6556683", "0.6537763", ...
0.60597664
80
Method to change activity in Options Menu Delete all fragments after changing activity.
private void changeActivity(){ FragmentManager fm = getSupportFragmentManager(); for(int i = 0; i < fm.getBackStackEntryCount(); ++i) { fm.popBackStack(); } Intent i = new Intent(this, SecondActivity.class); i.putExtra("team", teamname); startActivity(i); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void onPageSelected(int position) {\n invalidateOptionsMenu();\r\n }", "@Override\n public void onPageSelected(int position) {\n invalidateOptionsMenu();\n }", "@Override\n\tpublic void onDestroy() {\n\t\tsuper.on...
[ "0.65392745", "0.6487743", "0.6397811", "0.63210934", "0.6175268", "0.61535275", "0.6143979", "0.61139923", "0.6091053", "0.6081304", "0.60615337", "0.60440487", "0.60437256", "0.60184556", "0.60147333", "0.59946835", "0.59858054", "0.59817433", "0.5973261", "0.59651047", "0....
0.0
-1
A new service method with the given name and description.
public ExecServiceMethodDescription(String name, String description) { super(name, description); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Service newService();", "Method createMethod();", "Method createMethod();", "protected ResourceMethod defineMethod( String theName, JavaType theReturnType, HttpVerb theHttpVerb, String theMethodPath ) {\r\n\t\treturn new ResourceMethod( theName, theReturnType, theHttpVerb, theMethodPath, this );\r\n\t}", "...
[ "0.6633688", "0.6472801", "0.6472801", "0.62161994", "0.6213851", "0.6171069", "0.60477495", "0.6032078", "0.5997866", "0.596562", "0.5953563", "0.59214723", "0.58623004", "0.5855497", "0.5813521", "0.5791368", "0.5767049", "0.5764041", "0.57454", "0.57250804", "0.56966615", ...
0.7508532
0
Adds a result for the script; cannot have multiple query results.
public ExecServiceMethodDescription queryResult(String name, String description) { if (resultAdded) { throw new IllegalArgumentException("The query can only have one result"); } resultAdded = true; addResult(name, description, VType.class); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void add(R result) {\n results.add(result);\n }", "public void addResult(String key, String value) {\n Preconditions.checkArgument(!results.containsKey(key), \"the result already contains that key\");\n results.put(key, value);\n }", "protected void addToResult(Instance instan...
[ "0.7499518", "0.71286684", "0.68693554", "0.6805391", "0.66204506", "0.6478625", "0.63309443", "0.632107", "0.62521935", "0.6238679", "0.62129015", "0.6186186", "0.61253035", "0.60971516", "0.60713845", "0.6053852", "0.60296166", "0.5987988", "0.5983471", "0.5980566", "0.5972...
0.5475241
66
Add a command for the script.
public ExecServiceMethodDescription command(String command) { if (command == null){ throw new IllegalArgumentException("Command must not be null"); } this.command = command; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addCommand(CommandIF command) {\r\n\t\tmelody.add(command);\r\n\t}", "public void addCommand(Command m);", "@Override\n public void addCommand(CommandConfig command) {\n }", "public void addCommand(Command cmd) {\n cmd.setTask(this);\n commands.add(cmd);\n }", "public voi...
[ "0.72104096", "0.72059447", "0.6978037", "0.6970827", "0.6705684", "0.66725594", "0.66601753", "0.6550686", "0.64644843", "0.62631965", "0.6217616", "0.6184001", "0.6176221", "0.61525047", "0.61378175", "0.61327296", "0.6099166", "0.6073836", "0.60655236", "0.60586786", "0.60...
0.5364532
67
Creates an elapsed time instance from a milliseconds value.
public ElapsedTime(double elapsedTimeInMilliseconds) { double time = elapsedTimeInMilliseconds / 1000; seconds = (int) (time % 60); minutes = (int) ((time % 3600) / 60); hours = (int) ((time % 86400) / 3600); days = (int) (time / 86400); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String milliSecondsToTimer(long milliseconds){\r\n String finalTimerString = \"\";\r\n String secondsString = \"\";\r\n \r\n // Convert total duration into time\r\n int hours = (int)( milliseconds / (1000*60*60));\r\n int minutes = (int)(milliseconds % (1000*6...
[ "0.61267066", "0.6035916", "0.587469", "0.5795532", "0.57927215", "0.5754408", "0.56936187", "0.56279206", "0.55475223", "0.5536906", "0.5482359", "0.5472126", "0.54393", "0.5421353", "0.54025453", "0.5388564", "0.53164107", "0.5298246", "0.5283061", "0.5247257", "0.5231766",...
0.61008376
1
Gets the minutes component of the time span.
private String getMinutes() { StringBuilder minutesSB = new StringBuilder(); if (minutes > 0) { if (String.valueOf(minutes).length() < 2) { minutesSB.append("0"); } minutesSB.append(minutes); } else { minutesSB.append("0"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getMinutes() {\n\t\tdouble v = value * (180.0d / Math.PI);\n\t\tv -= getDegrees();\n\t\treturn 60 * v; // 60 minutes in one degree.\n\t}", "public int getMinutes() {\r\n return FormatUtils.uint8ToInt(mMinutes);\r\n }", "public int getMinutes(){\n return (int) ((totalSeconds%3600)...
[ "0.7522286", "0.74158496", "0.7349911", "0.7301023", "0.7254107", "0.7217313", "0.7047128", "0.69502866", "0.68957686", "0.679446", "0.6729744", "0.6622741", "0.6615846", "0.65950537", "0.6593977", "0.6586095", "0.6573906", "0.65636796", "0.65625894", "0.6544368", "0.6530587"...
0.70155257
7
Gets the hours component of the time span.
private String getHours() { StringBuilder hoursSB = new StringBuilder(); if (hours > 0) { hoursSB.append(hours); } else { hoursSB.append("0"); } return hoursSB.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getHours(){\n return (int) totalSeconds/3600;\n }", "public int getHours() {\r\n return FormatUtils.uint8ToInt(mHours);\r\n }", "public String getHours();", "public int[] getHours() {\n int[] hoursArray = {this.hours, this.overtimeHours};\n return hoursArray;\n ...
[ "0.7527488", "0.7489172", "0.74217397", "0.73581153", "0.731507", "0.731507", "0.72151417", "0.71533746", "0.70936626", "0.6993116", "0.68660736", "0.6821224", "0.68047756", "0.67397875", "0.6708582", "0.66416097", "0.65685993", "0.6522077", "0.6516937", "0.6480174", "0.64752...
0.6720955
14
Gets the days component of the time span.
private String getDays() { StringBuilder daysSB = new StringBuilder(); if (days > 0) { daysSB.append(days); } else { daysSB.append("0"); } return daysSB.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getDays() {\r\n \treturn days;\r\n }", "public Day[] getDays() {\n\t\treturn days;\n\t}", "private int getDays() {\n\t\tlong arrival = arrivalDate.toEpochDay();\n\t\tlong departure = departureDate.toEpochDay();\n\t\tint days = (int) Math.abs(arrival - departure);\n\n\t\treturn days;\n\t}", ...
[ "0.69791734", "0.6874142", "0.6759382", "0.66868323", "0.6659243", "0.6633922", "0.66252846", "0.65745586", "0.6569063", "0.65058994", "0.63418436", "0.6290007", "0.62542844", "0.6172548", "0.61293083", "0.6109876", "0.59826374", "0.5936928", "0.58864266", "0.5882722", "0.587...
0.6301448
11
Gets a formatted string that represents the time a simulation took to complete.
@Override public String toString() { StringBuilder elapsedTime = new StringBuilder(); if(days > 0) { elapsedTime.append(getDays()).append(" day"); if(days > 1) { elapsedTime.append("s"); } int remainingElements = 0; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getFinalTimeString() {\n double fltTime = (double)(lngTimelineDataAmountInRmsFrames * fltRmsFramePeriodInMs)/1000.0f;\n return new DecimalFormat(\"000.00\").format(fltTime);\n }", "public String getTotalTime() {\r\n if (recipe != null) {\r\n return re...
[ "0.7204246", "0.71845514", "0.7115451", "0.7085416", "0.70848113", "0.7072796", "0.6995083", "0.6955755", "0.68757933", "0.6875285", "0.6856558", "0.68148935", "0.68114406", "0.6782745", "0.6750227", "0.67343163", "0.66915065", "0.6630739", "0.66132855", "0.661323", "0.655576...
0.60614055
76
setting resource link in post() method by calling it from properties file but here we are using concept of eNum where we can declare methods and constructer and call the methods here.has many advantages. like if we call from properties file or other class then we have to create getters for each parameter which is not g...
@When("user calls {string} with {string} HTTPS request") public void user_calls_with_https_request(String resource, String HttpMethod) { enumResourceAPI updatedResource=enumResourceAPI.valueOf(resource); String resource_link=updatedResource.getresource(); System.out.println("resource url= "+resource_link)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createRequest(EnumOperationType opType, IParameter parameter);", "public interface ResourceAdapter {\n\n public enum Item {\n INPUT_SAME_AS_OUTPUT_ERROR,\n AUTO_KEY_SELECTION_ERROR,\n LOADING_CERTIFICATE_AND_KEY,\n PARSING_CENTRAL_DIRECTORY,\n GENERATING_MANIFEST,\n ...
[ "0.56795883", "0.5638733", "0.5539328", "0.5530198", "0.54647344", "0.53847617", "0.5255242", "0.5237457", "0.5226229", "0.5223631", "0.5174545", "0.5165775", "0.5137955", "0.5134714", "0.51298016", "0.51234305", "0.5118092", "0.5113268", "0.51026213", "0.50072104", "0.500143...
0.0
-1
get the response and extract Place_id
@Then("verify place created maps to {string} using {string}") public void verify_place_created_maps_to_using(String expectedName, String resource) throws IOException { js=new JsonPath(responseJson.asString()); PlaceId=js.get("place_id"); System.out.println("Place id created is= "+PlaceId); reqspec=given()....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getPlaceID(String placeName) {\r\n\t\tString output = \"\";\r\n\t\ttry {\r\n\t\t\tURL url = new URL(\"https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input=\"+placeName+\"&inputtype=textquery&fields=place_id&key=AIzaSyAcM2vc8-2JY9I5P7jgvt61TCYa1vo0b98\");\r\n\t\t\tHttpURLConn...
[ "0.6787426", "0.6028804", "0.60130805", "0.59970975", "0.59709644", "0.5811864", "0.57589465", "0.56748736", "0.56008184", "0.55175877", "0.55120075", "0.55068743", "0.5479958", "0.5466207", "0.5452476", "0.54490876", "0.5444366", "0.5410346", "0.5398229", "0.53857565", "0.53...
0.0
-1
make the placeId variable as static so that it retains the value from previous scenario(test) when this scenario(test) gets started
@Given("delete place payload") public void delete_place_payload() throws IOException { reqspec= given().log().all().spec(RequestSpecs()).body(TestdataBuild.DeletePlacePayload(PlaceId)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPlaceId() {\n return placeId;\n }", "public void setPlaceId(String placeId) {\n this.placeId = placeId;\n }", "public String idOfPlace()\n {\n return id;\n }", "static Place getRandomPlace()\r\n\t{\r\n\t\tPlace randomPlace = knownPlaces.get( new Random().nex...
[ "0.6940764", "0.67739445", "0.63119435", "0.6102834", "0.59990704", "0.5992075", "0.58842397", "0.58635783", "0.58147734", "0.57033384", "0.56980467", "0.56807023", "0.56755674", "0.5644869", "0.5622986", "0.5615459", "0.5600594", "0.5600594", "0.5600594", "0.5600594", "0.558...
0.0
-1
The same as for .pyi files
@Override public LanguageLevel getLanguageLevel() { return LanguageLevel.getLatest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private UsingSwig() {\n\t}", "public abstract String getImportFromFileTemplate( );", "public void test() {\n\t\tFile file = new File(\"/home/students/\");\r\n\t\t\r\n\t\tString[] list = file.list(new FilenameFilter() {\r\n\t\t\tpublic boolean accept(File dir, String name) {\r\n\t\t\t\tif (name.toLowerCase().en...
[ "0.56974643", "0.5608774", "0.56018025", "0.559792", "0.5475262", "0.5470392", "0.5403056", "0.5397567", "0.5371762", "0.535281", "0.5340772", "0.5337207", "0.530667", "0.53063434", "0.5293251", "0.52567", "0.52057713", "0.5188424", "0.51406634", "0.5131831", "0.5127548", "...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { String s1="abcd"; String s2="vbvabcdqwe"; char arr1[]=s1.toCharArray(); char arr2[]=s2.toCharArray(); int flag=0; for(int i=0;i<arr1.length;i++) { for(int j=i;j<arr2.length;j++) { if(arr1[i]==arr2[j]) { } } } ...
{ "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
~ Constructors Creates a new instance.
public SubProcessFragment( Class<? extends ProcessDefinition> rSubProcessClass) { displayProcess(rSubProcessClass); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "public Constructor(){\n\t\t\n\t}", "private Instantiation(){}", "public Instance() {\n }", "public CyanSus() {\n\n }", "public Curso() {\r\n }", "public Odontologo() {\n }", "public CSSTidier() {\n\t}", "public Pasien() {\r\n }", "public PSRelation()...
[ "0.7895477", "0.77586013", "0.7509959", "0.72225046", "0.7163167", "0.7064127", "0.7037824", "0.70261115", "0.69741386", "0.69649565", "0.6956806", "0.6944099", "0.6939205", "0.69003296", "0.6896239", "0.6890563", "0.6859763", "0.6855911", "0.6851183", "0.6844196", "0.6843865...
0.0
-1
Sets the process definition of this fragment. If a process is already running it will be cancelled first. If the fragment has already been initialized a new process based on the new definition will be executed and the UI will be initialized accordingly.
public void displayProcess( Class<? extends ProcessDefinition> rSubProcessClass) { this.rProcessClass = rSubProcessClass; cleanup(); // if initialized before, re-invoke init() to setup for new process if (isInitialized()) { try { init(); } catch (ProcessException e) { throw new Run...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setProcessDefinition(com.sforce.soap.enterprise.sobject.ProcessDefinition processDefinition) {\n this.processDefinition = processDefinition;\n }", "protected void setProcess(Process rNewProcess)\n\t{\n\t\trProcess = rNewProcess;\n\t\tfragmentParam().annotate(PROCESS, rProcess);\n\t}", "pu...
[ "0.6822337", "0.6273367", "0.5696657", "0.5659841", "0.5655446", "0.5534048", "0.55055845", "0.5409428", "0.53547746", "0.53077495", "0.5271821", "0.51951176", "0.51780957", "0.51453745", "0.5139885", "0.5111109", "0.50416034", "0.49967828", "0.49806777", "0.49545276", "0.492...
0.43332815
84
Executes the process of this fragment with a particular execution mode.
@Override public void executeProcess(ProcessExecutionMode eMode) throws ProcessException { if (rProcess != null) { List<RelationType<?>> rInteractionParams = getInteractionParameters(); Collection<RelationType<?>> rInputParams = getInputParameters(); rProcess.execute(eMode); rInteractionParam...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void execute() {\n\t\t//execution handled by pid thread\n\t}", "public void exec();", "abstract void exec();", "@Override\n public abstract void runOpMode();", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\texecutable.feedbackExecutionProcessRunning();\r\n\t\t\t}", "public void execute() {...
[ "0.58059853", "0.5706344", "0.5641559", "0.55206764", "0.5515768", "0.5454901", "0.54458934", "0.5419348", "0.53844076", "0.5377101", "0.53672916", "0.5364186", "0.5347427", "0.5330815", "0.52937275", "0.52759135", "0.52650034", "0.52650034", "0.52637684", "0.52531797", "0.52...
0.656922
0
Returns the current fragment process. This will only return a value after the fragment has been initialized.
public final Process getFragmentProcess() { return rProcess; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final Process getProcess() {\n return process;\n }", "public ProcessInstance getCurrentProcessInstance() {\r\n return currentProcessInstance;\r\n }", "public static Process getProcess() {\r\n return (m_Proc);\r\n }", "public Fragment getCurrentFragment()\n {\n return getFrag...
[ "0.6510548", "0.6400761", "0.6397299", "0.6367165", "0.6315605", "0.62928677", "0.62759805", "0.6273655", "0.62177134", "0.6166278", "0.60876393", "0.60636175", "0.6043433", "0.6034886", "0.59939873", "0.5901022", "0.58858156", "0.5880191", "0.58688986", "0.58543175", "0.5829...
0.83368546
0
Sets a new process for this instance.
protected void setProcess(Process rNewProcess) { rProcess = rNewProcess; fragmentParam().annotate(PROCESS, rProcess); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void setProcessID(long pid);", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setProcessId(java.lang.String value) {\n validate(fields()[18], value);\n this.processId = value;\n fieldSetFlags()[18] = true;\n return this;\n }", "public void setProcess...
[ "0.6813171", "0.67959464", "0.6599846", "0.6571776", "0.64353365", "0.6330064", "0.6153082", "0.61124694", "0.6073844", "0.59952617", "0.58988386", "0.589805", "0.589805", "0.589805", "0.589805", "0.58923906", "0.58717614", "0.586088", "0.5837641", "0.58083516", "0.5800025", ...
0.7243902
0
Returns a configuration from the given collection of configurations that should be launched, or null to cancel. Default implementation opens a selection dialog that allows the user to choose one of the specified launch configurations. Returns the chosen configuration, or null if the user cancels.
protected ILaunchConfiguration chooseConfiguration(List<ILaunchConfiguration> configList) { IDebugModelPresentation labelProvider = DebugUITools.newDebugModelPresentation(); ElementListSelectionDialog dialog= new ElementListSelectionDialog(getShell(), labelProvider); dialog.setElements(configList.toArray()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected ILaunchConfigurationDialog getLaunchConfigurationDialog() {\n\t\treturn super.getLaunchConfigurationDialog();\n\t}", "public Configuration getActiveConfigurationFromGame(String game_title) {\n\n Configuration conf = new Configuration();\n\n for(Configuration c : configuration...
[ "0.58611417", "0.50355583", "0.49687615", "0.48998287", "0.48634055", "0.4855671", "0.48476207", "0.4800297", "0.4797554", "0.4793579", "0.47875404", "0.47778314", "0.46785823", "0.46596128", "0.46372527", "0.4624737", "0.4620648", "0.46036905", "0.45729515", "0.45546892", "0...
0.75485057
0
Insert the method's description here. Creation date: (3.6.2002 12:35:54)
private javax.swing.JLabel getJLabelDivider() { if (JLabelDivider == null) { try { JLabelDivider = new javax.swing.JLabel(); JLabelTitle.setName("JLabelDivider"); JLabelDivider.setText(" "); } catch (Exception e) { e.printStackTrace(); } } return JLabelDivider; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void method_201() {}", "public void method_4270() {}", "public void mo55254a() {\n }", "public void mo21877s() {\n }", "public void mo21878t() {\n }", "public voi...
[ "0.6931202", "0.67121685", "0.6685167", "0.6657641", "0.6624828", "0.6614524", "0.65921015", "0.6591633", "0.6583681", "0.65284485", "0.65284485", "0.65231097", "0.64996105", "0.64832205", "0.6474224", "0.6472025", "0.6472025", "0.6472025", "0.6472025", "0.6472025", "0.647202...
0.0
-1
Insert the method's description here. Creation date: (3.6.2002 12:35:54)
private javax.swing.JLabel getJLabelTitle() { if (JLabelTitle == null) { try { JLabelTitle = new javax.swing.JLabel(); JLabelTitle.setName("JLabelTitle"); JLabelTitle.setFont(new java.awt.Font("dialog", 1, 18)); JLabelTitle.setText("License"); } catch (Exception e) { e.printStackTrace(); } } re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void method_201() {}", "public void method_4270() {}", "public void mo55254a() {\n }", "public void mo21877s() {\n }", "public void mo21878t() {\n }", "public voi...
[ "0.6930321", "0.6710956", "0.6685736", "0.6658572", "0.6625323", "0.6615651", "0.6593785", "0.6593373", "0.65846604", "0.6527997", "0.6527997", "0.6523859", "0.65010846", "0.64818954", "0.6475566", "0.64724845", "0.64724845", "0.64724845", "0.64724845", "0.64724845", "0.64724...
0.0
-1
Insert the method's description here. Creation date: (3.6.2002 12:15:16)
private javax.swing.JPanel getJPanel1() { if (JPanel1 == null) { try { JPanel1 = new javax.swing.JPanel(); JPanel1.setLayout(new java.awt.GridBagLayout()); java.awt.GridBagConstraints constraintsJLabelTitle = new java.awt.GridBagConstraints(); constraintsJL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "public void method_4270() {}", "public void method_201() {}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void mo55254a() {\n }", "public void mo21877s() {\n }", "public void mo21878t() {\n }", "public voi...
[ "0.69687396", "0.6773778", "0.6767423", "0.6718319", "0.67063415", "0.6703684", "0.6675989", "0.66722476", "0.66561335", "0.6594926", "0.65936077", "0.6577663", "0.655768", "0.65560776", "0.65468585", "0.65468585", "0.65468585", "0.65468585", "0.65468585", "0.65468585", "0.65...
0.0
-1
Insert the method's description here. Creation date: (3.6.2002 12:15:16)
private javax.swing.JPanel getJPanel2() { if (JPanel2 == null) { try { JPanel2 = new javax.swing.JPanel(); JPanel2.setName("JPanel2"); JPanel2.setLayout(new java.awt.GridBagLayout()); java.awt.GridBagConstraints constraintsJScrollPaneLicense = new java.awt.GridBagConstraints(); constraintsJScrollPane...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "public void method_4270() {}", "public void method_201() {}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void mo55254a() {\n }", "public void mo21877s() {\n }", "public void mo21878t() {\n }", "public voi...
[ "0.6970512", "0.6772593", "0.6766665", "0.6719611", "0.6705326", "0.67022926", "0.6674967", "0.66710013", "0.66550964", "0.6593988", "0.6592298", "0.6576346", "0.6556299", "0.6554904", "0.65458167", "0.65458167", "0.65458167", "0.65458167", "0.65458167", "0.65458167", "0.6545...
0.0
-1
Insert the method's description here. Creation date: (3.6.2002 15:17:43)
private javax.swing.JScrollPane getJScrollPaneLicense() { if (JScrollPaneLicense == null) { try { JScrollPaneLicense = new javax.swing.JScrollPane(); JScrollPaneLicense.setName("JScrollPaneLicense"); getJScrollPaneLicense().setViewportView(getJTextAreaLicense()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void method_4270() {}", "public void mo21877s() {\n }", "public void method_201() {}", "public void mo55254a() {\n }", "public void mo21793R() {\n }", "@Override\...
[ "0.702056", "0.68762654", "0.681369", "0.67127883", "0.67098755", "0.6705427", "0.6692751", "0.6668613", "0.6660739", "0.6660739", "0.66603744", "0.6657881", "0.665372", "0.66051334", "0.6602948", "0.65970355", "0.6595829", "0.6594153", "0.65614545", "0.65614545", "0.65614545...
0.0
-1
Insert the method's description here. Creation date: (3.6.2002 15:17:43)
private javax.swing.JTextArea getJTextAreaLicense() { if (JTextAreaLicense == null) { try { JTextAreaLicense = new javax.swing.JTextArea(); JTextAreaLicense.setName("JTextAreaLicense"); JTextAreaLicense.setLineWrap(true); JTextAreaLicense.setWrapStyleWord(true); JTextAreaLicense.setFont(new java.awt.F...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void method_4270() {}", "public void mo21877s() {\n }", "public void method_201() {}", "public void mo55254a() {\n }", "public void mo21793R() {\n }", "@Override\...
[ "0.7022065", "0.68762755", "0.6812942", "0.67109495", "0.67108935", "0.67042774", "0.6691749", "0.66683745", "0.666081", "0.666081", "0.6658609", "0.66569555", "0.66524404", "0.66039205", "0.6601634", "0.65964544", "0.6594326", "0.659317", "0.6559885", "0.6559885", "0.6559885...
0.0
-1
Metodo para realizar las acciones del evento
@Override public void actionPerformed(ActionEvent e) { switch (e.getActionCommand()) { case ABRIR_NOTICIAS: wdwNoticias w = new wdwNoticias(gln); w.setVisible(true); this.dispose(); break; case ABRIR_CLASIFICACIO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void ingresar_a_la_Opcion_de_eventos() {\n\t\t\n\t}", "@Override\r\n\tprotected void initAcciones() {\r\n\t\tacciones.put(\"Buscar\", new AccionBuscarEvento());\r\n\t\tacciones.put(\"Consultar\", new AccionConsultarEvento());\r\n\t\tacciones.put(\"Agregar\", new AccionAgregarEvento());\r\n\t}", "private...
[ "0.6927849", "0.6879177", "0.6394407", "0.63734233", "0.63335747", "0.6297209", "0.6242354", "0.6161148", "0.6143104", "0.61292905", "0.61249703", "0.6101328", "0.6079332", "0.6055269", "0.6055269", "0.6038897", "0.60371596", "0.6033508", "0.594647", "0.59138167", "0.59138167...
0.0
-1
public void initCachedDimensionsFromHdf5( final boolean background ) // REMOVED
public File getHdf5File() { return hdf5File; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initDimensions() {\n mFab.post(new Runnable() {\n @Override\n public void run() {\n // Get FAB start and end locations, and radius\n // TODO: Restructure this at some stage because this is bad.\n mFab.getLocationOnScreen(fabStar...
[ "0.5593954", "0.5352493", "0.532837", "0.52821326", "0.5242238", "0.52211326", "0.52047056", "0.5202848", "0.519845", "0.5193395", "0.5137701", "0.5113125", "0.50944835", "0.50891197", "0.50547105", "0.50456434", "0.50389975", "0.5037366", "0.5018107", "0.50089675", "0.498649...
0.0
-1