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
Returns the higher location of this cuboid.
public Location3D getHighLoc() { return highPoint; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getTop() {\n return position[0] - (size - 1) / 2;\n }", "@Override\n\tpublic double getZLoc() {\n\t\tdouble side = Math.sqrt(getMySize())/2;\n\t\treturn z-side;\n\t}", "public Point getupperRigth() {\n Point upperRigth = new Point(this.upperLeft.getX() + this.getWidth(), this.upperL...
[ "0.6821495", "0.66545254", "0.65303624", "0.6442324", "0.6426414", "0.641488", "0.6383671", "0.6325022", "0.6282772", "0.62820643", "0.6258359", "0.62482256", "0.6246873", "0.6231947", "0.62113494", "0.62001735", "0.6176709", "0.6169921", "0.6159904", "0.61379576", "0.6118217...
0.7111427
0
Returns the lower location of this cuboid.
public Location3D getLowLoc() { return lowPoint; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Coords getLowerLeft()\r\n {\r\n return new Coords(x, y + height);\r\n }", "private Point getLower() {\n int lowerX;\n int lowerY;\n lowerY = (int) (-gameCanvas.getHeight() + mapOffsetY * 2);\n lowerX = (int) (-gameCanvas.getWidth() + mapOffsetX * 2);\n retur...
[ "0.75424755", "0.74845064", "0.73584247", "0.7102272", "0.6986803", "0.69386554", "0.6744325", "0.6695404", "0.66816473", "0.6640992", "0.6617851", "0.65984106", "0.6514343", "0.64579815", "0.6443528", "0.64410853", "0.6436918", "0.6417898", "0.63637626", "0.6339685", "0.6304...
0.70674896
4
Returns the world this cuboid is in.
public String getWorldName() { return world; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameData getWorld() {\r\n return world;\r\n }", "public World getWorld() {\n return location.getWorld();\n }", "public World getWorld() {\n\t\treturn world;\n\t}", "public static World getWorld() {\n\t\treturn world;\n\t}", "public World getWorld () {\n\t\treturn world;\n\t}", "publi...
[ "0.7903951", "0.78264934", "0.78014106", "0.77426255", "0.77420133", "0.7738254", "0.7702058", "0.7702058", "0.7668604", "0.76180017", "0.75766706", "0.75766706", "0.7482748", "0.741754", "0.7390469", "0.7362376", "0.7343821", "0.73284566", "0.7282942", "0.72767246", "0.72421...
0.7142523
24
Returns the world of the region. Might return null when the world was deleted after the creation of the region.
public World getWorld() { return Bukkit.getWorld(world); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public World getWorld()\n {\n if (worldData == null)\n {\n return null;\n }\n\n return worldData.getWorld();\n }", "public final World getWorld() {\n\t\treturn location.getWorld();\n\t}", "public World getWorld() {\n return location.getWorld();\n }", "pu...
[ "0.7955111", "0.76791793", "0.76398987", "0.75790274", "0.7532052", "0.74957633", "0.7443069", "0.7434299", "0.7414822", "0.73981446", "0.73981446", "0.737676", "0.7360836", "0.7360836", "0.7342421", "0.7178261", "0.7169353", "0.7126538", "0.70280534", "0.69462866", "0.689599...
0.736047
14
Returns a raw representation that is easy to read for Java.
public String toRaw() { return new StringBuilder(world).append(",").append(lowPoint.getBlockX()).append(",").append(lowPoint.getBlockY()).append(",").append(lowPoint.getBlockZ()).append(",").append(highPoint.getBlockX()).append(",").append(highPoint.getBlockY()).append(",").append(highPoint.getBlockZ()).toString(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getRaw();", "java.lang.String getAboutRaw();", "public abstract String serialise();", "@Override\n public String toString() {\n //https://github.com/google/gson/issues/388\n\n String src = super.toString();\n StringBuilder builder = new StringBuilder(src.length() * 4);\n ...
[ "0.6729485", "0.6516035", "0.6404967", "0.6203778", "0.6162423", "0.61481065", "0.613962", "0.6080757", "0.60796106", "0.60507953", "0.6038531", "0.60377055", "0.5981564", "0.59785897", "0.59506303", "0.59151095", "0.58930224", "0.5862004", "0.5860492", "0.5855631", "0.585010...
0.5527739
86
insert a number into trie
private void insert(int N, TrieNode root) { TrieNode curr = root; for (int i = 30; i >= 0; i--) { int bit = ((N & (1 << i)) > 0) ? 1 : 0; if (curr.children[bit] == null) { curr.children[bit] = new TrieNode(); } else { curr.children[bi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void insert(String mappedNumber, String word);", "void insertDigit(int digit);", "static void insert(String key)\n {\n \n int len=key.length();\n trie_node crawl=root;\n for(int i=0;i<len;i++)\n {\n int idx=key.charAt(i);\n if(crawl.child[idx]==null...
[ "0.7164661", "0.7011751", "0.6947512", "0.65714025", "0.6509007", "0.64924836", "0.6491146", "0.6403201", "0.63961333", "0.63768804", "0.63372976", "0.63368374", "0.63220435", "0.63151103", "0.6301588", "0.62948954", "0.6274392", "0.62656045", "0.6256759", "0.6256", "0.625355...
0.63378435
10
Sets the window's layout.
private void setScene(int selected) { int y = 1; GridPane layout = new GridPane(); layout.setPadding(new Insets(10, 10, 10, 10)); HashMap<FieldName, TextField> input = new HashMap<>(); Label source = new Label("Source:"); GridPane.setConstraints(source, 0, y); T...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setupLayout()\n {\n Container contentPane;\n\n setSize(300, 300); \n\n contentPane = getContentPane();\n\n // Layout this PINPadWindow\n }", "private void setLayout() {\n\tHorizontalLayout main = new HorizontalLayout();\n\tmain.setMargin(true);\n\tmain.setSpacin...
[ "0.7221645", "0.70843565", "0.6826474", "0.6691326", "0.649864", "0.64236194", "0.6413851", "0.63284355", "0.6283041", "0.62497586", "0.62132007", "0.62043446", "0.620171", "0.6164649", "0.6155376", "0.6140016", "0.60369337", "0.6001912", "0.59893376", "0.59146446", "0.588876...
0.0
-1
We avoid changing prop when the button is just changing from our display update
@Override public void stateChanged(ChangeEvent e) { if (!updating && button.isSelected()) { model.set(db); } if (!useRadioButtons) { label.setForeground(button.isSelected() ? selectedForeground : unselectedForeground); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void updateButton(JButton button) {\n\t\tbutton.setFocusPainted(comboBox.isEditable());\n\t}", "private void updateButtonStateEpson(boolean state) {\n }", "@Override\n\t\tpublic void buttonStatusChange() {\n\t\t\t\n\t\t}", "private void updateButtonsState() {\r\n ISelection sel = mTableView...
[ "0.619143", "0.60508084", "0.598587", "0.5981919", "0.5926955", "0.5904449", "0.5867056", "0.58163893", "0.5770601", "0.5763257", "0.57388467", "0.5729034", "0.5659156", "0.5635197", "0.5629661", "0.5562776", "0.55478233", "0.55451196", "0.5536434", "0.55072695", "0.5507199",...
0.549287
22
To search contact in trie Comoplexity : O(length of string)
@Override public Map<SearchRank, List<Contact>> searchContact(String initial) { TrieNode t = this.root; int start = 0; Map<SearchRank, List<Contact>> res = new HashMap<SearchRank, List<Contact>>(); while(start < initial.length() && t != null && t.getChilds().containsKey(initial.charAt(start))){ t = t....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private TrieNode searchNode(String s){\n TrieNode temp = this;\n for (int i = 0; i < s.length(); i++){\n if (temp.children.containsKey(String.valueOf(s.charAt(i)))){\n temp = temp.children.get(String.valueOf(s.charAt(i)));\n }else{\n return null;\n ...
[ "0.6609723", "0.65164524", "0.6438701", "0.63453186", "0.6291515", "0.6125041", "0.6123429", "0.6116588", "0.61163855", "0.604665", "0.6018529", "0.6015759", "0.6005217", "0.6004032", "0.5993167", "0.5988085", "0.5984988", "0.5958713", "0.5953247", "0.59453446", "0.5937419", ...
0.708433
0
To add contact in trie Complexity : O(length of key)
@Override public void addContact(String key, Contact c) { TrieNode t = this.root; int start = 0; //travel trie till you end up on the empty node or key gets exhausted. while(start < key.length() && t!= null && t.getChilds().containsKey(key.charAt(start))){ t = t.getChilds().get(key.charAt(start)); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void insert(String key)\n {\n \n int len=key.length();\n trie_node crawl=root;\n for(int i=0;i<len;i++)\n {\n int idx=key.charAt(i);\n if(crawl.child[idx]==null)\n crawl.child[idx]=new trie_node();\n else\n crawl.chi...
[ "0.725623", "0.6510996", "0.64642227", "0.6331604", "0.6166471", "0.6154946", "0.61045945", "0.6052124", "0.6047809", "0.59735125", "0.59434265", "0.5908199", "0.5907598", "0.59011096", "0.5893831", "0.58935475", "0.58891267", "0.5881144", "0.58741343", "0.58520067", "0.58381...
0.74047637
0
Filter hits based on queryLen and alignLen
public Boolean filterHits(int queryL, int alignL){ return this.getResults().filter(queryL, alignL); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasSearchLength();", "@Override\n protected FilterResults performFiltering(CharSequence arg0) {\n String[] tmp = API.it().getKeywords(arg0.toString());\n FilterResults results = new FilterResults();\n results.values = tmp;\n results.count = tmp.length;\n return resul...
[ "0.5547545", "0.53626394", "0.53312033", "0.5133717", "0.5055856", "0.5041769", "0.49775594", "0.497706", "0.4959045", "0.49537057", "0.49377775", "0.49117985", "0.4884932", "0.48326004", "0.48306277", "0.48296756", "0.48083988", "0.47941867", "0.4720409", "0.46962297", "0.46...
0.56917506
0
filter search result by query Len. If the length is too short then skip
public String filterAndReport(int queryL, int alignL){ return this.getResults().filterAndReport(queryL, alignL); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasSearchLength();", "int getSearchLength();", "@Test\n\tpublic void testSearchWithLargeMinLength() throws Exception {\n\t\tdialog = getDialog();\n\t\tsetMinStringFieldValue(dialog, 100);\n\n\t\tStringTableProvider provider = performSearch();\n\t\tStringTableModel model = (StringTableModel) getInstance...
[ "0.6582514", "0.5942947", "0.56331044", "0.5557192", "0.5439753", "0.5396459", "0.5251971", "0.52147186", "0.515164", "0.51501775", "0.50853586", "0.5055468", "0.505069", "0.5045893", "0.50394094", "0.50239825", "0.5019773", "0.49938095", "0.4987288", "0.49813312", "0.4964111...
0.0
-1
Initialize the contents of the frame.
private void initialize() { frmMatrices = new JFrame(); frmMatrices.setTitle("Matrices"); frmMatrices.setBounds(100, 100, 378, 225); frmMatrices.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frmMatrices.getContentPane().setLayout(null); JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP); tabbe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BreukFrame() {\n super();\n initialize();\n }", "public MainFrame() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "private void initialize() {\n\t\tthis.setSize(211, 449);\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setTitle(\"JFrame\");\n\t}", "public SiscobanFrame() {\r\n\t\tsuper();\r...
[ "0.77704835", "0.75652915", "0.7442664", "0.7369101", "0.7366378", "0.7358479", "0.73146075", "0.73096764", "0.72987294", "0.72978777", "0.7278321", "0.72729623", "0.7269468", "0.7269468", "0.7215727", "0.7180792", "0.71682984", "0.7140954", "0.7140953", "0.7126852", "0.71079...
0.0
-1
Confirmation Code as retrieved by the TPP from the redirect based SCA process.
@ApiModelProperty(required = true, value = "Confirmation Code as retrieved by the TPP from the redirect based SCA process.") @NotNull @JsonProperty("confirmationCode") public String getConfirmationCode() { return confirmationCode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void requestConfirmationCode() {\n PhoneNumberVerificationRequest.forPhoneNumberVerification(this.airPhone.formattedPhone()).withListener((Observer) this.phoneNumberVerificationRequestListener).execute(this.requestManager);\n }", "String getConfirmationMessage();", "public String confirm()\n\t...
[ "0.5981094", "0.5903277", "0.58700526", "0.5797126", "0.55228007", "0.55136544", "0.55126935", "0.5510237", "0.5486616", "0.54742986", "0.54737604", "0.5469107", "0.5449147", "0.54396105", "0.5437086", "0.54305553", "0.5414924", "0.5403281", "0.5394733", "0.53800017", "0.5361...
0.68414706
0
Convert the given object to string with each line indented by 4 spaces (except the first line).
private String toIndentedString(Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String toIndentedString(Object object) {\n if (object == null) {\n return EndpointCentralConstants.NULL_STRING;\n }\n return object.toString().replace(EndpointCentralConstants.LINE_BREAK,\n EndpointCentralConstants.LINE_BREAK + EndpointCentralConstants.TAB_SPA...
[ "0.78847593", "0.75493765", "0.74971926", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0...
0.0
-1
RTTI Class (RunTime Type Information Class)
public interface RTTIClass { /** * Get the value of baseClass * * @return the value of baseClass */ public Class getBaseClass(); /** * Set the value of baseClass * * @param baseClass new value of baseClass */ //public void setBaseClass(Class baseClass); /*...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract public Type getType();", "TypeRef getType();", "abstract public String getType();", "protected abstract String getType();", "public Class getRunTimeType() {\n return lho.getRuntimeType();\n }", "type getType();", "public abstract Type getType();", "public abstract String getType();...
[ "0.6627581", "0.65600824", "0.652821", "0.6493358", "0.64236665", "0.6420432", "0.63810015", "0.63616234", "0.63616234", "0.63616234", "0.63616234", "0.63616234", "0.63616234", "0.63616234", "0.63616234", "0.6360763", "0.6360763", "0.6360763", "0.6360763", "0.6360763", "0.636...
0.0
-1
Get the value of baseClass
public Class getBaseClass();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getBaseClass() {\n\t\treturn _baseClass;\n\t}", "public String getBaseCls () {\r\n\t\treturn (String) getStateHelper().eval(PropertyKeys.baseCls);\r\n\t}", "public Class<?> getBaseClass()\n {\n return baseClass;\n }", "Object getBase();", "public Class<? super U> getBaseClass() {...
[ "0.7278778", "0.7027033", "0.6991066", "0.67726034", "0.67308325", "0.66751826", "0.63814545", "0.626415", "0.61762124", "0.6166567", "0.61650383", "0.61511356", "0.6120171", "0.6114343", "0.6110306", "0.6091484", "0.6091484", "0.60834116", "0.6079064", "0.6052677", "0.601607...
0.69290626
3
Set the value of baseClass
public boolean isInstanceOf(Class c);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBaseClass(Class<?> baseClass)\n {\n this.baseClass = baseClass;\n }", "@objid (\"332a71dc-5b01-4699-b13d-7978d6dfd6de\")\n void setBase(GeneralClass value);", "public void setBaseClass(java.lang.String new_baseClass) {\n\t\t_baseClass = new_baseClass;\n\t}", "public void setBas...
[ "0.7882265", "0.74773556", "0.71638936", "0.70986706", "0.66935354", "0.6622787", "0.6621377", "0.65776026", "0.6400975", "0.6325753", "0.6305069", "0.623268", "0.6149232", "0.61220735", "0.6121377", "0.6058245", "0.6000764", "0.59572667", "0.59255916", "0.5908453", "0.589229...
0.0
-1
public Collection getBeanFieldMethods() throws Throwable; / Select
public RTTIClass select(ClassFilter filter);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<String> validateFieldBeanMethods(DBField field)\n {\n Class<gDBR> tableClass = this.getRecordClass();\n String fldName = field.getName();\n Class<?> typeClass = field.getTypeClass();\n\n /* header */\n boolean ok = true;\n java.util.List<String> er...
[ "0.6900701", "0.67256916", "0.63390285", "0.63070536", "0.63023376", "0.62679785", "0.6149488", "0.60897446", "0.6075224", "0.6070628", "0.60704005", "0.60704005", "0.6067177", "0.6051581", "0.5983512", "0.59256333", "0.59161276", "0.5911131", "0.58969027", "0.58856344", "0.5...
0.0
-1
Convert byte to string
public static String byte2str(byte b) { String s = String.format("%8s", Integer.toBinaryString(b & 0xFF)).replace( ' ', '0'); return s; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String bytes2String(byte[] bytes) {\n StringBuffer stringBuffer = new StringBuffer();\n for (int i = 0; i < bytes.length; i++) {\n stringBuffer.append((char) bytes[i]);\n }\n return stringBuffer.toString();\n }", "public static String toByteString(byte val...
[ "0.71819013", "0.7105094", "0.6997403", "0.6970874", "0.69604105", "0.68592334", "0.6780085", "0.67622167", "0.6739982", "0.6675632", "0.66371995", "0.66282564", "0.6622626", "0.65458065", "0.653913", "0.64016175", "0.6390371", "0.6387751", "0.6379593", "0.6369882", "0.633092...
0.7859996
0
Convert string to byte
public static byte str2byte(String s) { byte b = (byte) 0; int i; if (s.length() == 8 && s.matches(regex)) { i = Integer.parseInt(s, 2); if (i >= 0 && i <= 255) { b = (byte) i; } else { System.out.println("string out of range"); } } return b; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int convertstringtobyte(String string) {\n return Integer.parseInt(string, 16);\n }", "@NonNull\n public static byte[] StringToByte(String string) throws UnsupportedEncodingException\n {\n return string.getBytes(\"UTF-8\");\n }", "static ByteString toBytes(String str) {\n r...
[ "0.72051525", "0.7140552", "0.6776523", "0.66034514", "0.6437179", "0.64328295", "0.63827354", "0.63739514", "0.6361948", "0.6307412", "0.6299452", "0.6284215", "0.6271832", "0.6242552", "0.6235075", "0.62304574", "0.6206423", "0.6199404", "0.61387634", "0.61241037", "0.61124...
0.7345531
0
Simple interface to accept/reject clients.
private Menu createServiceMenu() { Menu serviceMenu = new Menu("Service"); startService = new MenuItem("Start"); startService.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { localPeer.startService(); } }); serviceMenu.add(startService); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void accept(ConnectionClientSocket client) {\n client.visit(this);\n }", "public interface Client {\n\n}", "public interface ClientInterface {\n boolean openConnection();\n void handleSession();\n void closeSession();\n}", "public abstract void handleClient(Client con...
[ "0.6370352", "0.6250965", "0.6225592", "0.62111074", "0.61538064", "0.61511314", "0.61419815", "0.6129441", "0.61229235", "0.6094942", "0.60932463", "0.6087372", "0.60676014", "0.6026863", "0.6005886", "0.5930562", "0.5912614", "0.58873034", "0.58717275", "0.58580846", "0.581...
0.0
-1
Provide user a selection of customisation.
private Menu createSettingsMenu() { Menu serviceMenu = new Menu("Settings"); MenuItem networkSettings = new MenuItem("Service"); networkSettings.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { Daemon.editRunningService(localPeer); changeDispat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface CustomizerProvider {\n\n /**\n * Display some kind of customization UI for the project.\n * Typically would mean opening a nonmodal dialog, etc.\n */\n void showCustomizer();\n\n}", "void showCustomizer();", "public interactOption()\n\t{\n\t\tsuper();\n\t\toptionType = \"inte...
[ "0.62114304", "0.5856184", "0.53806657", "0.5370766", "0.53697944", "0.5361799", "0.536046", "0.5359706", "0.53496176", "0.527121", "0.5251612", "0.5241409", "0.5219997", "0.5192529", "0.5169578", "0.51262355", "0.51195604", "0.5109867", "0.5106955", "0.50810087", "0.5080154"...
0.0
-1
Constructors Create a detached BillingSettingRecord
public BillingSettingRecord() { super(BillingSetting.BILLING_SETTING); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BillingSettingRecord(String name, String value) {\n super(BillingSetting.BILLING_SETTING);\n\n set(0, name);\n set(1, value);\n }", "public Setting() {\n\t}", "public Setting() {\n }", "ShipmentItemBilling createShipmentItemBilling();", "public PedidoRecord() {\n su...
[ "0.5617004", "0.53778887", "0.5323436", "0.51873004", "0.5102196", "0.5081894", "0.504826", "0.5014134", "0.50014067", "0.49677727", "0.4959541", "0.49426544", "0.49392503", "0.4934021", "0.4924814", "0.492262", "0.49220285", "0.49098453", "0.48936117", "0.48829165", "0.48801...
0.7403726
0
Create a detached, initialised BillingSettingRecord
public BillingSettingRecord(String name, String value) { super(BillingSetting.BILLING_SETTING); set(0, name); set(1, value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BillingSettingRecord() {\n super(BillingSetting.BILLING_SETTING);\n }", "ShipmentItemBilling createShipmentItemBilling();", "int insert(MrpConfigSettingsEntity record);", "SettingType createSettingType();", "public void create(Singer newRecord);", "int insertSelective(MrpConfigSettingsEn...
[ "0.701692", "0.55144614", "0.49613178", "0.49128497", "0.48283637", "0.48152786", "0.48080352", "0.47962412", "0.47613847", "0.47412446", "0.47175223", "0.47116706", "0.46791235", "0.46777442", "0.46560785", "0.46467504", "0.46459582", "0.4637785", "0.4636929", "0.46322817", ...
0.54007643
2
This method will retrieve the learning objects which match user profile If the preferred object type is not set, any learning object which matches the course requirement and student profile is displayed in recommended If the preferred object type is set, only the learning objects of this type which match the course req...
public HashMap<String, ArrayList<String>> queryRecommendedLearningObjects(StudentAnnotationsBean studentAnnotationsBean, String keywords) throws Exception{ String LOG_METHOD_NAME = "void queryLearningObject(StudentAnnotationsBean studentAnnotationsBean, ArrayList<String> orSearchTerms)"; log.debug(this.getClass(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ProfileInterface recommend();", "public List<Theater> findPreferedTheaterListByUserNo(int user_no) throws Exception;", "public abstract List<String> getRequiredProfiles();", "public void recommended() {\n MainActivity activity = (MainActivity) getActivity();\n ArrayList<Integer> results ...
[ "0.5450615", "0.5225482", "0.51959455", "0.5024717", "0.48954195", "0.48451668", "0.48406428", "0.47942564", "0.4737595", "0.46714914", "0.46224377", "0.45817924", "0.45591477", "0.45368078", "0.4529735", "0.45020086", "0.44737253", "0.44109097", "0.43866906", "0.4381518", "0...
0.49840605
4
This method is invoked for creating Dublin core annotation triples of images,audios,videos and text It creates an arraylist containing triples for the the learning object dublic core annotations, to be inserted in triple store.
public ArrayList<Triple> createDigitalRightsAnnotationTriples(Node subject ,DigitalRightsManagementBean digitalRightsManagementBean){ String LOG_METHOD_NAME = "ArrayList createDigitalRightsAnnotationTriples(Node, DigitalRightsManagementBean)"; log.debug(this.getClass() + TripleStoreConstants.LOG_BEGIN + LOG_M...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Triple> createCourseAnnotationTriples(Node subject ,CourseAnnotationsBean courseAnnotationBean){\r\n\t\t\r\n\t\tString LOG_METHOD_NAME = \"ArrayList<Triple> createCourseAnnotationTriples(Node subject ,CourseAnnotationsBean courseAnnotationBean)\";\r\n\t\tlog.debug(this.getClass() + TripleStoreCons...
[ "0.6560549", "0.638855", "0.61423916", "0.59197754", "0.5729221", "0.5498475", "0.54457295", "0.53545254", "0.53455764", "0.5288106", "0.52603704", "0.52193385", "0.5203828", "0.51827115", "0.5160286", "0.5099", "0.5088687", "0.50879234", "0.50831664", "0.502044", "0.50198126...
0.47997728
49
add structural annotation triples
public ArrayList<Triple> addStructuralAnnotationTriples(Node subject ,TenLearningObjectAnnotationsBean tenLearningObjectAnnotationsBean){ String LOG_METHOD_NAME = "ArrayList<Triple> addStructuralAnnotationTriples(Node, DigitalRightsManagementBean)"; log.debug(this.getClass() + TripleStoreConstants.LOG_BEGIN +...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void createDerivedAnnotations() {\n\t\tString source = \"http://www.polarsys.org/capella/derived\";\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_ProvisionedArchitectureAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_ProvisioningAr...
[ "0.63557184", "0.63013375", "0.62916934", "0.6163265", "0.6114139", "0.60566694", "0.60419637", "0.60419637", "0.6004397", "0.6000686", "0.59836257", "0.5944438", "0.5902949", "0.5887273", "0.5803817", "0.57703024", "0.5762956", "0.5761239", "0.56757003", "0.5667842", "0.5663...
0.5729459
18
This method is invoked for creating annotations defined by Tribal Education Network Ontology, and those common for learning objects as well as other elearning objects like courses, pages etc. It creates an arraylist containing triples for annotations common to all the objects in ten, to be inserted in triple store
public ArrayList<Triple> createTenCommonAnnotationTriples(Node subject ,TenLearningObjectAnnotationsBean tenLearningObjectAnnotationsBean){ String LOG_METHOD_NAME = "ArrayList createTenCommonAnnotationTriples(Node, TenLearningObjectAnnotationsBean)"; log.debug(this.getClass() + TripleStoreConstants.LOG_BEGIN ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Triple> createTenLearningObjectAnnotationTriples(Node subject ,TenLearningObjectAnnotationsBean tenLearningObjectAnnotationsBean){\r\n\t\t\r\n\t\tString LOG_METHOD_NAME = \"ArrayList createTenLearningObjectAnnotationTriples(Node, TenLearningObjectAnnotationsBean)\";\r\n\t\tlog.debug(this.getClass(...
[ "0.7103991", "0.6456442", "0.62245786", "0.61531603", "0.5909345", "0.56791943", "0.5605434", "0.5554968", "0.5550962", "0.55228454", "0.55137837", "0.5466728", "0.54651046", "0.53460443", "0.5340159", "0.5297515", "0.52698606", "0.5255348", "0.52156657", "0.5193896", "0.5140...
0.73936635
0
Add administrative annotation triples
public ArrayList<Triple> addAdministrativeAnnotationTriples(Node subject ,DigitalRightsManagementBean digitalRightsManagementBean){ String LOG_METHOD_NAME = " ArrayList<Triple> addAdministrativeAnnotationTriples(Node, DigitalRightsManagementBean)"; log.debug(this.getClass() + TripleStoreConstants.LOG_BEGIN + ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void createMappingAnnotations() {\n\t\tString source = \"http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping\";\t\n\t\taddAnnotation\n\t\t (blockArchitecturePkgEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"UML/SysML semantic equivalences\", \"\",\n\t\t\t \"base metaclass in UML/SysML p...
[ "0.59607685", "0.59152013", "0.5639401", "0.5584066", "0.54046214", "0.53921014", "0.53906626", "0.53796905", "0.5335573", "0.5322282", "0.5285849", "0.52733433", "0.52471423", "0.52463436", "0.52425927", "0.52023965", "0.5172924", "0.51601076", "0.51569295", "0.51568663", "0...
0.62628806
0
Add copy right holder annotation triples
public ArrayList<Triple> addCopyRightHolderAnnotationTriples(Node subject ,DigitalRightsManagementBean digitalRightsManagementBean){ String LOG_METHOD_NAME = " ArrayList<Triple> addCopyRightHolderTriples(Node, DigitalRightsManagementBean)"; log.debug(this.getClass() + TripleStoreConstants.LOG_BEGIN + LOG_METH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "DSGeneMarker deepCopy();", "protected void createDerivedAnnotations() {\n\t\tString source = \"http://www.polarsys.org/capella/derived\";\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_ProvisionedArchitectureAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBl...
[ "0.55577606", "0.5531718", "0.5332012", "0.5302284", "0.52976", "0.52961063", "0.5219405", "0.5215046", "0.5199514", "0.51946557", "0.51890785", "0.51890785", "0.5186944", "0.51432663", "0.51267326", "0.5102184", "0.5093331", "0.509294", "0.50893354", "0.5087385", "0.5074017"...
0.62190616
0
Add publisher annotation triples
public ArrayList<Triple> addPublisherAnnotationTriples(Node subject ,DigitalRightsManagementBean digitalRightsManagementBean){ String LOG_METHOD_NAME = " ArrayList<Triple> addPublisherAnnotationTriples(Node, DigitalRightsManagementBean)"; log.debug(this.getClass() + TripleStoreConstants.LOG_BEGIN + LOG_METHOD...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Builder addPublisher(Person value);", "private void addAnnotationReplies(Collection<Annotation> annotations) {\r\n\t\tfor(Annotation annotation : annotations) {\r\n\t\t\tArrayList<Annotation> replies = allReplies.remove(annotation.getId());\r\n\t\t\tif(replies!=null) {\r\n\t\t\t\tannotation.setReplies(replies);\...
[ "0.5462578", "0.54573816", "0.5358177", "0.53453803", "0.5317877", "0.53008574", "0.52896214", "0.5252358", "0.5244102", "0.52087206", "0.51413286", "0.5137996", "0.5124588", "0.5123293", "0.51084787", "0.5107771", "0.5052418", "0.50498295", "0.5047276", "0.50451744", "0.5042...
0.62333673
0
Add story provider annotation triples
public ArrayList<Triple> addStoryProviderAnnotationTriples(Node subject ,DigitalRightsManagementBean digitalRightsManagementBean){ String LOG_METHOD_NAME = " ArrayList<Triple> addStoryProviderAnnotationTriples(Node, DigitalRightsManagementBean)"; log.debug(this.getClass() + TripleStoreConstants.LOG_BEGIN + LO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void prepareAnnotations() {\n\n // get the annotation object\n SKAnnotation annotation1 = new SKAnnotation();\n // set unique id used for rendering the annotation\n annotation1.setUniqueID(10);\n // set annotation location\n annotation1.setLocation(new SKCoordinate...
[ "0.5333069", "0.5329594", "0.53247607", "0.52055013", "0.519442", "0.519442", "0.5179379", "0.513816", "0.51253545", "0.51008904", "0.5053742", "0.50413835", "0.5039161", "0.5035918", "0.5023811", "0.4987378", "0.49850968", "0.4970854", "0.49699342", "0.4955999", "0.4932295",...
0.59519136
0
Add contributor annotation triples
public ArrayList<Triple> addContributorAnnotationTriples(Node subject ,DigitalRightsManagementBean digitalRightsManagementBean){ String LOG_METHOD_NAME = " ArrayList<Triple> addContributorAnnotationTriples(Node, DigitalRightsManagementBean)"; log.debug(this.getClass() + TripleStoreConstants.LOG_BEGIN + LOG_ME...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Builder addContributor(Person value);", "public void addContributor(String value) {\n/* 65 */ addStringToBag(\"contributor\", value);\n/* */ }", "void addContributor(Long userId, Long contributorId);", "Builder addContributor(String value);", "protected void createSemanticAnnotations() {\n\t\tSt...
[ "0.6178216", "0.6169042", "0.59858656", "0.5978156", "0.58629256", "0.57468766", "0.55841595", "0.55715674", "0.55424637", "0.5533307", "0.5521534", "0.55153596", "0.5498078", "0.53926754", "0.5384093", "0.5351547", "0.53316087", "0.5313047", "0.5311283", "0.53043973", "0.526...
0.65365326
0
This method is invoked for creating annotations defined by Tribal Education Network Ontology, and those specific to learning objects. Creates an arraylist containing triples specific to ten learning objects, to be inserted in triple store
public ArrayList<Triple> createTenLearningObjectAnnotationTriples(Node subject ,TenLearningObjectAnnotationsBean tenLearningObjectAnnotationsBean){ String LOG_METHOD_NAME = "ArrayList createTenLearningObjectAnnotationTriples(Node, TenLearningObjectAnnotationsBean)"; log.debug(this.getClass() + TripleStoreCons...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Triple> createTenCommonAnnotationTriples(Node subject ,TenLearningObjectAnnotationsBean tenLearningObjectAnnotationsBean){\r\n\t\t\r\n\t\tString LOG_METHOD_NAME = \"ArrayList createTenCommonAnnotationTriples(Node, TenLearningObjectAnnotationsBean)\";\r\n\t\tlog.debug(this.getClass() + TripleStoreC...
[ "0.6731442", "0.61023265", "0.6081256", "0.58191717", "0.56960016", "0.5602133", "0.54895675", "0.5462654", "0.534254", "0.5283294", "0.527711", "0.5273258", "0.5254744", "0.52513206", "0.5230216", "0.5194543", "0.51920027", "0.51899606", "0.5166098", "0.5165937", "0.51308644...
0.7123393
0
This method is invoked for creating annotations defined by Tribal Education Network Ontology, and those common for learning objects as well as other elearning objects like courses, pages etc. It creates an arraylist containing triples for annotations common to all the objects in ten, to be inserted in triple store
public ArrayList<Triple> createCourseAnnotationTriples(Node subject ,CourseAnnotationsBean courseAnnotationBean){ String LOG_METHOD_NAME = "ArrayList<Triple> createCourseAnnotationTriples(Node subject ,CourseAnnotationsBean courseAnnotationBean)"; log.debug(this.getClass() + TripleStoreConstants.LOG_BEGIN + L...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Triple> createTenCommonAnnotationTriples(Node subject ,TenLearningObjectAnnotationsBean tenLearningObjectAnnotationsBean){\r\n\t\t\r\n\t\tString LOG_METHOD_NAME = \"ArrayList createTenCommonAnnotationTriples(Node, TenLearningObjectAnnotationsBean)\";\r\n\t\tlog.debug(this.getClass() + TripleStoreC...
[ "0.73931766", "0.7102377", "0.6225158", "0.6151864", "0.5910799", "0.56788826", "0.56054366", "0.5554718", "0.5550257", "0.55222046", "0.55154574", "0.5467522", "0.5466492", "0.53452903", "0.53402686", "0.5296542", "0.5270844", "0.52550405", "0.5215528", "0.5193948", "0.51397...
0.64558554
2
if more than 2 numbers
public String[] getAllnumbers() { if(morenumbers==null) return null; ArrayList<String> al =new ArrayList<String>(); al.add(phoneNum); for(String s:morenumbers){ al.add(s); } String[] array = al.toArray(new String[0]); return array; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasNum2();", "private void addTwoNumbers() {\n\t\t\n\t}", "boolean multipleOf2(int num)\n {\n return (num & 0b1) != 1;\n }", "private boolean checkBoxSituation(int secondI, int secondJ) {\n int max = 0;\n if (secondI + 1 < 8) {\n if (checkBlueBox(secondI + 1, sec...
[ "0.64843696", "0.5998187", "0.5990657", "0.59756863", "0.59438264", "0.58746195", "0.5833382", "0.58282155", "0.5806344", "0.5716957", "0.56634146", "0.5660871", "0.56359905", "0.5628001", "0.5620823", "0.56063616", "0.5591019", "0.5585", "0.5567917", "0.5565411", "0.556051",...
0.0
-1
Creates new form RadioUI
public RadioUI() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected ComponentHandler<?> createPushButton(ComponentManager manager,\n boolean create) throws FormBuilderException\n {\n return manager.createRadioButton(this, create);\n }", "Radian createRadian();", "public RadioButtons()\n {\n }", "FORM createFORM();", "p...
[ "0.68534696", "0.6677421", "0.6624927", "0.6594383", "0.65787685", "0.657054", "0.6451075", "0.6311874", "0.62491137", "0.61918527", "0.6147188", "0.6121048", "0.61166424", "0.6098444", "0.608268", "0.60751396", "0.60553825", "0.59495384", "0.5947966", "0.59466845", "0.594141...
0.7112177
0
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { btnPlayURL = new javax.swing.JButton(); btnCancelPlayback = new javax.swing.JButton(); txfURL = new javax.swing.JTextField(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73208135", "0.7291972", "0.7291972", "0.7291972", "0.7287118", "0.72494483", "0.7214677", "0.72086734", "0.7197058", "0.71912485", "0.7185818", "0.71596724", "0.71489036", "0.7094215", "0.7082007", "0.70579666", "0.6988024", "0.6978225", "0.6955616", "0.6955434", "0.694586...
0.0
-1
get latest notated img and count
@RequestMapping(value = "/img/getLatestWork", method = RequestMethod.GET) public UserWork getLatestWork(@RequestParam String username, @RequestParam String notateType) { UserWork work = new UserWork(); SampleVo sample = sampleService.getLatestSample(username, notateType); long count = sampl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateLatestPic() {\n\t\tPicture l = this.pictures.get(0);\n\t\tfor (int i=1;i<this.pictures.size();i++) {\n\t\t\tif (this.pictures.get(i).date.compareTo(l.date)>0) {\n\t\t\t\tl = this.pictures.get(i);\n\t\t\t}\n\t\t}\n\t\tthis.latestPic = l;\n\t}", "private static ImageFile mostTaggedImage()\n {\...
[ "0.6576953", "0.6381243", "0.5893811", "0.5760188", "0.5740035", "0.5731922", "0.57239366", "0.57047766", "0.5610318", "0.55969244", "0.5554096", "0.55410856", "0.5501001", "0.54876214", "0.5454265", "0.5432986", "0.54244643", "0.53782", "0.5373518", "0.53525853", "0.5343565"...
0.0
-1
get next img to notate by sequenceNum
@RequestMapping(value = "/notation/getSample", method = RequestMethod.GET) public SampleVo getSample(@RequestParam String username, @RequestParam int sequenceNum, @RequestParam String notateType) { SampleVo vo = sampleService.getSample(username, se...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ImageObj nextImage() {\n if (position == model.getImageList().size() - 1) {\n position = 0;\n }\n else {\n position++;\n }\n return model.getImageList().get(position);\n }", "protected native MagickImage nextImage() throws MagickException;", "p...
[ "0.68666464", "0.6840917", "0.67011434", "0.6383158", "0.61047083", "0.6061828", "0.59432995", "0.5852638", "0.5831601", "0.57428163", "0.57272214", "0.5724682", "0.5691006", "0.56714094", "0.55899596", "0.55458826", "0.5541818", "0.5516672", "0.5513606", "0.55062455", "0.548...
0.0
-1
submit current img and return a new sample to notate
@PostMapping(value = "/notation/submitNotation", consumes = "application/json", produces = "application/json") public boolean submitNotation(@RequestBody SampleVo sampleVo) { sampleService.submitNotation(sampleVo); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createImgSample() throws IOException {\n\t\tSystem.out.print(\"[INFO][PLUGIN][REPLY]:Creating IMG Sample...\");\n\t\tURL url = new URL(\"http://w23.loxa.edu.tw/mm974401/SmallNight2019.png\");\n\t\tHttpURLConnection con = (HttpURLConnection) url.openConnection();\n\t\tcon.setRequestProperty(\"User-agen...
[ "0.62262267", "0.5881654", "0.57999134", "0.57502097", "0.5717264", "0.56100166", "0.55738914", "0.5548965", "0.5541446", "0.5520063", "0.54861546", "0.54512143", "0.54389143", "0.53863376", "0.53832924", "0.53803915", "0.53754395", "0.5326428", "0.53249735", "0.53247714", "0...
0.0
-1
For Vuforia engine 1 (for Android Camera)
private void initVuforia(int cameraMonitorViewId) { VuforiaLocalizer.Parameters parameters1 = new VuforiaLocalizer.Parameters(cameraMonitorViewId); // VuforiaLocalizer.Parameters parameters = new VuforiaLocalizer.Parameters(); parameters1.vuforiaLicenseKey = VUFORIA_KEY; parameters1.came...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onCamera();", "Camera getCamera();", "private native void iniciarCamara(int idCamera);", "public void openCamera() {\n \n\n }", "boolean useCamera2();", "public void onCreateCameraPipeline(com.arashivision.onestream.pipeline.ICameraPreviewPipeline r20) {\n /*\n r19...
[ "0.76345384", "0.73422766", "0.7245705", "0.7196221", "0.7194886", "0.69156986", "0.6830082", "0.681911", "0.6774303", "0.67287797", "0.67001605", "0.6687634", "0.6671615", "0.6666822", "0.66537744", "0.66290617", "0.66226137", "0.66175777", "0.6590743", "0.6589733", "0.65581...
0.0
-1
TODO Autogenerated method stub
@Override public int getCount() { return mList.size(); }
{ "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 Object getItem(int position) { return mList.get(position); }
{ "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 long getItemId(int position) { return position; }
{ "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 View getView(int position, View convertView, ViewGroup parent) { ViewHolder viewHolder=null; if(convertView==null){ viewHolder=new ViewHolder(); convertView=inflater.inflate(R.layout.others_match_item, null); viewHolder.name=(TextView)convertView.findViewById(R.id.others_person_name); ...
{ "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
Get Moves takes in a game state and a color returns an array list of ArrayList
public ArrayList<ArrayList<Move>> getMoves(int color){//TODO ArrayList<ArrayList<Move>> moves = new ArrayList<ArrayList<Move>>(); boolean jumpsExist = false; //look for jumps //search the board for pieces of your color for (int i=0; i<8; i++){ for(int j=0; j<8; j++){ //if ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Stack<int[]> getMoveOptions(int color, int row, int col) {\r\n int[] result;\r\n Stack<int[]> moves = new Stack<>();\r\n if (color == BLACK) {\r\n result=getMove(color,row,col,row-1,col-1);\r\n if(result !=null)moves.push(result);\r\n result=getMove(color,row,c...
[ "0.6783842", "0.65428543", "0.6432174", "0.63984406", "0.6359269", "0.6352146", "0.63215226", "0.6219266", "0.6217932", "0.6164959", "0.61503464", "0.60523075", "0.6027849", "0.6027417", "0.5940267", "0.59242606", "0.5842629", "0.58030814", "0.5800003", "0.57814974", "0.57744...
0.7183513
0
add specified move array to the array of moves
public void addMove(Move tryMove, ArrayList<ArrayList<Move>> moves){ // System.out.println("Added: " + getClassNotation(tryMove.xFrom, tryMove.yFrom) +"" + " "+ getClassNotation(tryMove.xTo, tryMove.yTo)); ArrayList<Move> move = new ArrayList<Move>(); move.add(tryMove); moves.add(move); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void makeMove(int[] move) {\n\t\tmakeMove(move[0], move[1]);\n\t}", "private void addToMoves(char move) {\n this.prevMoves += move;\n }", "public void makeMove(int[] move) {\n makeMove(move[ORIENT],move[SLOT]);\n }", "private void insertMovesIntoMoveList(Unit unit, Moves[] moves) {...
[ "0.70416546", "0.69058424", "0.6650467", "0.656969", "0.62847954", "0.61459726", "0.6076166", "0.5948409", "0.58718306", "0.5845705", "0.58279765", "0.57895637", "0.57400084", "0.572189", "0.57008153", "0.5691041", "0.5687011", "0.5639263", "0.5635511", "0.5626331", "0.56121"...
0.6087416
6
returns true if valid move (doesn't check right now)
public boolean attemptMove(Move move, int color) { //ArrayList<Move> jumps = canJump(color); //make sure the to and from values don't go out of bounds if (move.xFrom > 7 || move.yFrom > 7 || move.xTo > 7 || move.yTo > 7 || move.xFrom < 0 || move.yFrom < 0 || move.xTo < 0 || move.yTo < 0...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isThereValidMove() {\n\t\treturn true;\n\t}", "public boolean canMove() {\n\n\tArrayList<Location> moveLocs = getValid(getLocation());\n\n\tif (isEnd == true) {\n\t return false;\n\t} \n\tif (!moveLocs.isEmpty()) {\n\t \n\t randomSelect(moveLocs);\n\t // selectMoveLocation(moveLocs);\...
[ "0.8922075", "0.83254695", "0.8172465", "0.8122225", "0.8041911", "0.80322725", "0.8006631", "0.7998413", "0.7930439", "0.7871544", "0.7866397", "0.78398186", "0.7828026", "0.7822576", "0.7813648", "0.77812725", "0.7767633", "0.77390194", "0.77108276", "0.7708913", "0.770813"...
0.0
-1
from notation to our actual grid notation for y
public int getTheYPosition(int y){ if(y>=1 && y<=4){ return 7; } else if(y>=5 && y<=8){ return 6; } else if(y>=9 && y<=12){ return 5; } else if(y>=13 && y<=16){ return 4; } else if(y>=17 && y<=20){ return 3; } else if(y>=21 && y<=24){ return 2; } else if(y>=25 && y<=28){ r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateGridY();", "void setGridY(int i);", "public int getCartogramGridSizeInY ()\n\t{\n\t\treturn mCartogramGridSizeY;\n\t}", "public int getGridY() {\r\n\t\treturn gridY;\r\n\t}", "public double[] getOrdinateGrid() {\n return yArr.clone();\n }", "java.lang.String getY();", "publi...
[ "0.6544477", "0.64814025", "0.6310135", "0.62639266", "0.5912019", "0.58822083", "0.5764206", "0.5686397", "0.56539017", "0.563071", "0.5626048", "0.5567519", "0.55643207", "0.5540727", "0.55398995", "0.5525575", "0.5513803", "0.550415", "0.5500059", "0.5499258", "0.54829395"...
0.0
-1
from notation to our actual grid notation for x now
public int getTheXPosition(int x){ if(x==5 || x==13 || x==21 || x==29){ return 0; } else if(x==1 || x==9 || x==17 || x==25){ return 1; } else if(x==6 || x==14 || x==22 || x==30){ return 2; } else if(x==2 || x==10 || x==18 || x==26){ return 3; } else if(x==7 || x==15 || x==23 |...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "default int gridToSlot(int x, int y) {\n return y * 9 + x;\n }", "public void updateGridX();", "void setGridX(int i);", "private Point2D.Float toGridPoint(int x, int y) {\n return new Point2D.Float((float)((x - centreX)*scale), (float)((centreY - y)*scale));\n }", "@Override\n public...
[ "0.6451026", "0.63118786", "0.6279986", "0.61455697", "0.6108756", "0.60657126", "0.6031508", "0.60029054", "0.59993446", "0.5981523", "0.5962801", "0.5941021", "0.5926198", "0.58644634", "0.585865", "0.585192", "0.58495903", "0.5835163", "0.58286655", "0.5822887", "0.5820329...
0.0
-1
now going from grid notation to actual notation
public int getClassNotation(int x, int y){ if(x==0){ //first col if(y==0) return 29; else if(y==2) return 21; else if(y==4) return 13; else return 5; }else if(x==1){ //2nd col if(y==1) return 25; else if(y==3) return 17; else if(y==5) return 9; else return 1; }else if(x=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Cell[][] updateCellLocation(Cell[][] grid) {\n\n //Iterate through the grid\n for (int x = 0; x < this.width; x++) {\n for (int y = 0; y < this.height; y++) {\n grid[x][y].setXCord(x); //Set the new X co-ordinate\n grid[x][y].setYCord(y); //Set the new...
[ "0.59029996", "0.5889558", "0.5873735", "0.5829151", "0.5815424", "0.5769135", "0.5727153", "0.56881344", "0.56812316", "0.56511265", "0.564887", "0.56084603", "0.56011224", "0.55816436", "0.5571623", "0.5496488", "0.5496488", "0.54940856", "0.5478135", "0.54761255", "0.54470...
0.0
-1
get the size of the bitmap when it is fit to view display
public int[] getFitSize() { int[] fitSize = new int[2]; float ratio = originalImage.getWidth() / (float)originalImage.getHeight(); float viewRatio = viewWidth / (float)viewHeight; //width dominate, fit w if(ratio > viewRatio) { float factor = viewWidth / (float)orig...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int getBitmapSize(Bitmap bitmap){\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) {\n return bitmap.getByteCount();\n }\n // Pre HC-MR1\n return bitmap.getRowBytes() * bitmap.getHeight();\n\n }", "@TargetApi(12)\n public static int g...
[ "0.7382458", "0.7098896", "0.70662093", "0.7001654", "0.69973755", "0.69911414", "0.6837436", "0.6836354", "0.682417", "0.6790686", "0.6765494", "0.6765494", "0.6765494", "0.67312944", "0.67190284", "0.66894937", "0.66780585", "0.66611147", "0.6615906", "0.6588195", "0.657297...
0.63259727
40
get actual size of the image
public int[] getActualSize() { int[] actualSize = new int[2]; actualSize[0] = originalImage.getWidth(); actualSize[1] = originalImage.getHeight(); return actualSize; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Dimension getSize()\n\t{\n\t\treturn new Dimension(image.getWidth(),image.getHeight());\n\t}", "public float getPixelSize() {\n\n\t\tfloat pixelSize = 0;\n\t\tfloat zoom = getFloat(ADACDictionary.ZOOM);\n\n\t\t// Get calibration factor (CALB)\n\t\tString calString = extrasMap.get(ExtrasKvp.CALIB_KEY);\n\n...
[ "0.81655395", "0.76247174", "0.76107645", "0.76025724", "0.75553346", "0.74163365", "0.738514", "0.7377488", "0.73633426", "0.7356766", "0.7295714", "0.72730637", "0.7223415", "0.72036207", "0.7195445", "0.7165817", "0.71574736", "0.7141656", "0.71349585", "0.7113776", "0.707...
0.7173139
15
Recupera o valor de id.
@Id @Column(name="DataInicialCota", nullable=false) @Temporal(TemporalType.DATE) public Date getId() { if(dataInicialCota != null){ return new Date(dataInicialCota.getTime()); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getId() {\n\t\treturn Integer.parseInt(Id);\n\t}", "public Integer getId() {\n return (Integer) get(\"id\");\n }", "public int getId(){\n if (ID != null) {\n int i = Integer.parseInt(ID);\n return i;\n }\n return 0;\n }", "public Integer getI...
[ "0.79506737", "0.78403884", "0.77933925", "0.75750375", "0.7568649", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861", "0.7567861",...
0.0
-1
Define o valor de id.
public void setId(Date dataInicialCota) { if(dataInicialCota != null){ this.dataInicialCota = new Date(dataInicialCota.getTime()); } else{ this.dataInicialCota = null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setId(int value) {\n \n id_ = value;\n }", "private void setId(int value) {\n \n id_ = value;\n }", "private void setId(int value) {\n \n id_ = value;\n }", "private void setId(int value) {\n \n id_ = value;\n }", "private void setId(in...
[ "0.8188003", "0.81590694", "0.79688317", "0.79688317", "0.79688317", "0.79688317", "0.79688317", "0.79688317", "0.79688317", "0.78282374", "0.77747685", "0.77741784", "0.7764564", "0.7733407", "0.7733407", "0.7733407", "0.7733407", "0.7733407", "0.7733407", "0.7733407", "0.77...
0.0
-1
Recupera o valor de dataCadastroCota.
@Column(name="DataCadastroCota") @Temporal(TemporalType.TIMESTAMP) public Date getDataCadastroCota() { DateTimeDB clone = null; if(this.dataCadastroCota != null){ clone = new DateTimeDB(this.dataCadastroCota.getTime()); } return clone; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Date getDataDeCadastro() {\n\t\treturn this.dataDeCadastro;\n\t}", "public int getCadastro() {\r\n\t\treturn cadastro;\r\n\t}", "@JsonProperty(\"dataCadastro\")\n\tpublic Date getDataCadastro() {\n\t\treturn dataCadastro;\n\t}", "public java.lang.Double getValorCadastro() {\n return valorCadast...
[ "0.7083166", "0.6998094", "0.6870232", "0.671102", "0.66584456", "0.6612477", "0.6545952", "0.63670707", "0.6361342", "0.62470853", "0.609485", "0.60672987", "0.6040235", "0.60386276", "0.6031813", "0.5999642", "0.59452957", "0.5899899", "0.58980614", "0.5848536", "0.5819258"...
0.6914159
2
Define o valor de dataCadastroCota.
public void setDataCadastroCota(Date dataCadastroCota) { if(dataCadastroCota != null){ this.dataCadastroCota = new DateTimeDB(dataCadastroCota.getTime()); } else{ this.dataCadastroCota = null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getCadastro() {\r\n\t\treturn cadastro;\r\n\t}", "@JsonProperty(\"dataCadastro\")\n\tpublic Date getDataCadastro() {\n\t\treturn dataCadastro;\n\t}", "public Date getDataDeCadastro() {\n\t\treturn this.dataDeCadastro;\n\t}", "@Column(name=\"DataCadastroCota\")\n\t@Temporal(TemporalType.TIMESTAMP)\...
[ "0.6740119", "0.65727717", "0.6408392", "0.6337172", "0.6136705", "0.6069029", "0.6050737", "0.6022062", "0.599991", "0.5971256", "0.59398836", "0.5906909", "0.58988464", "0.58811754", "0.5852291", "0.58310205", "0.5815843", "0.5784093", "0.57798773", "0.57381636", "0.5733858...
0.75542945
0
Recupera o valor de valorCota.
@Column(name="ValorCota") public BigDecimal getValorCota() { return valorCota; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String valorCromosoma() {\n\t return valueOf(getAltura(), getExtremidades(), getFuerza(), getTorax());\n\t }", "public final T getValor() {\r\n return valor;\r\n }", "public int getValor() {\n return Valor;\n }", "public java.lang.String getValor();", "public int getVal...
[ "0.68281645", "0.663765", "0.65927064", "0.6579918", "0.6503454", "0.64779603", "0.6451059", "0.64432836", "0.64187396", "0.63933045", "0.63342035", "0.63120395", "0.6304751", "0.6291449", "0.6276582", "0.6221697", "0.62145275", "0.61964375", "0.61860764", "0.616186", "0.6101...
0.71563375
0
Define o valor de valorCota.
public void setValorCota(BigDecimal valorCota) { this.valorCota = valorCota; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValorCalculo(ValoresCalculo valorCalculo)\r\n/* 93: */ {\r\n/* 94:111 */ this.valorCalculo = valorCalculo;\r\n/* 95: */ }", "public void setValor(int Valor) {\n this.Valor = Valor;\n }", "public Celda(final T valorN) {\r\n valor = valorN;\r\n }", "@Column(n...
[ "0.6740837", "0.67366153", "0.6697", "0.6658126", "0.6601703", "0.6598859", "0.6562701", "0.640039", "0.6391652", "0.63896954", "0.63457906", "0.6195723", "0.61770695", "0.60951734", "0.60277677", "0.60211426", "0.60132515", "0.60096544", "0.5999", "0.5996607", "0.5996584", ...
0.6777485
0
Recupera o valor de numMinCotasInteg.
@Column(name="NumMinCotasInteg") public Integer getNumMinCotasInteg() { return numMinCotasInteg; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setNumMinCotasInteg(Integer numMinCotasInteg) {\n\t\tthis.numMinCotasInteg = numMinCotasInteg;\n\t}", "public int getMinimumInteger() {\n/* 190 */ return (int)this.min;\n/* */ }", "public int getMinInteger() {\n\t\treturn this.minInteger;\n\t}", "public int getMinIntValue();", "public...
[ "0.8038867", "0.64172", "0.6384489", "0.6276109", "0.5941681", "0.5937221", "0.58929217", "0.58881885", "0.5872553", "0.58609736", "0.58609736", "0.58609736", "0.58432215", "0.58354056", "0.5827044", "0.58266073", "0.5813057", "0.58060265", "0.5794946", "0.5781281", "0.572965...
0.73995006
1
Define o valor de numMinCotasInteg.
public void setNumMinCotasInteg(Integer numMinCotasInteg) { this.numMinCotasInteg = numMinCotasInteg; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Column(name=\"NumMinCotasInteg\")\n\tpublic Integer getNumMinCotasInteg() {\n\t\treturn numMinCotasInteg;\n\t}", "public int setOxygenMin(Integer oxygenMin) {\n try {\n setOxygenMin(oxygenMin.floatValue());\n } catch (Exception e) {\n setOxygenMinError(FLOATNULL, e, ERROR_SYS...
[ "0.713494", "0.60482705", "0.59578377", "0.59369165", "0.58420306", "0.57615185", "0.5748272", "0.5743746", "0.5736274", "0.5713326", "0.5661771", "0.56577444", "0.5649334", "0.5613113", "0.56098914", "0.56098914", "0.56049", "0.5558253", "0.55574745", "0.5541937", "0.5491306...
0.8446711
0
Recupera o valor de percMinIntegralizacao.
@Column(name="PercMinIntegralizacao") public BigDecimal getPercMinIntegralizacao() { return percMinIntegralizacao; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPercMinIntegralizacao(BigDecimal percMinIntegralizacao) {\n\t\tthis.percMinIntegralizacao = percMinIntegralizacao;\n\t}", "@Column(name=\"ValorLimiteIntegralMinimo\")\n\tpublic BigDecimal getValorLimiteIntegralMinimo() {\n\t\treturn valorLimiteIntegralMinimo;\n\t}", "public float getMinAlturaCM(...
[ "0.71907806", "0.69314605", "0.689921", "0.6649433", "0.658716", "0.6582106", "0.6542586", "0.6425022", "0.6413284", "0.6394564", "0.6351679", "0.6340293", "0.63240266", "0.6291455", "0.6291455", "0.6284539", "0.6277678", "0.6255139", "0.62426555", "0.6237974", "0.6213829", ...
0.75255096
0
Define o valor de percMinIntegralizacao.
public void setPercMinIntegralizacao(BigDecimal percMinIntegralizacao) { this.percMinIntegralizacao = percMinIntegralizacao; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Column(name=\"PercMinIntegralizacao\")\n\tpublic BigDecimal getPercMinIntegralizacao() {\n\t\treturn percMinIntegralizacao;\n\t}", "public float getMinAlturaCM();", "@Column(name=\"ValorLimiteIntegralMinimo\")\n\tpublic BigDecimal getValorLimiteIntegralMinimo() {\n\t\treturn valorLimiteIntegralMinimo;\n\t}", ...
[ "0.7005367", "0.6497826", "0.63674057", "0.6277331", "0.6151839", "0.6109694", "0.61041117", "0.6097568", "0.607162", "0.6046203", "0.60387605", "0.60343", "0.6032915", "0.6012544", "0.59957236", "0.59864587", "0.5961147", "0.59508765", "0.59047306", "0.58947104", "0.5879666"...
0.78880143
0
Recupera o valor de valorSalarioBase.
@Column(name="ValorSalarioBase") public BigDecimal getValorSalarioBase() { return valorSalarioBase; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValorSalarioBase(BigDecimal valorSalarioBase) {\n\t\tthis.valorSalarioBase = valorSalarioBase;\n\t}", "public float getSalario() {\r\n return salario;\r\n }", "public double getSalario() {\n\t\treturn salario;\n\t}", "@Override\n public double calculaSalario() \n {\n dou...
[ "0.71105945", "0.6332043", "0.6216714", "0.61199486", "0.6073482", "0.58142173", "0.58099246", "0.57957923", "0.574864", "0.57190263", "0.5701908", "0.56982905", "0.5658565", "0.5635927", "0.56227267", "0.55459243", "0.5519816", "0.5382581", "0.53788567", "0.5352085", "0.5330...
0.74751496
0
Define o valor de valorSalarioBase.
public void setValorSalarioBase(BigDecimal valorSalarioBase) { this.valorSalarioBase = valorSalarioBase; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Column(name=\"ValorSalarioBase\")\n\tpublic BigDecimal getValorSalarioBase() {\n\t\treturn valorSalarioBase;\n\t}", "public void setSueldoBase(int salarioBase) throws Throwable {\n\n\t\tint ayuda;\n\t\t\n\t\tif (salarioBase <= 300) {\n\t\t\t\n\t\t\tayuda = JOptionPane.showOptionDialog(null, \"Ayuda governal\", ...
[ "0.7148937", "0.6826877", "0.64280856", "0.6406176", "0.59979355", "0.5796977", "0.57719743", "0.57431024", "0.57217294", "0.56725866", "0.561486", "0.5549076", "0.55014324", "0.54777724", "0.53884", "0.5373862", "0.5370746", "0.5359523", "0.53337085", "0.52669567", "0.525305...
0.75295424
0
Recupera o valor de bolLimIntegralCapConsignado.
@Column(name="BolLimIntegralCapConsignado") public Boolean getBolLimIntegralCapConsignado() { return bolLimIntegralCapConsignado; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBolLimIntegralCapConsignado(Boolean bolLimIntegralCapConsignado) {\n\t\tthis.bolLimIntegralCapConsignado = bolLimIntegralCapConsignado;\n\t}", "@Column(name=\"ValorLimiteIntegralMinimo\")\n\tpublic BigDecimal getValorLimiteIntegralMinimo() {\n\t\treturn valorLimiteIntegralMinimo;\n\t}", "public ...
[ "0.7184188", "0.6050755", "0.59974396", "0.59422344", "0.5938804", "0.592513", "0.58912283", "0.58809733", "0.58500963", "0.5846665", "0.58458686", "0.5831833", "0.58226454", "0.57505053", "0.5693972", "0.5667854", "0.5665682", "0.56553215", "0.5648816", "0.5640505", "0.55804...
0.64743996
1
Define o valor de bolLimIntegralCapConsignado.
public void setBolLimIntegralCapConsignado(Boolean bolLimIntegralCapConsignado) { this.bolLimIntegralCapConsignado = bolLimIntegralCapConsignado; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValorLimiteIntegralMinimo(BigDecimal valorLimiteIntegralMinimo) {\n\t\tthis.valorLimiteIntegralMinimo = valorLimiteIntegralMinimo;\n\t}", "@Column(name=\"BolLimIntegralCapConsignado\")\n\tpublic Boolean getBolLimIntegralCapConsignado() {\n\t\treturn bolLimIntegralCapConsignado;\n\t}", "public vo...
[ "0.64013815", "0.6296842", "0.6154937", "0.59102136", "0.58478445", "0.57661897", "0.57218236", "0.5600281", "0.5573986", "0.5561323", "0.5527397", "0.5515021", "0.55054224", "0.5477215", "0.54490316", "0.54395264", "0.5415306", "0.5404069", "0.53624904", "0.53556544", "0.534...
0.77398545
0
Recupera o valor de valorLimiteIntegralMinimo.
@Column(name="ValorLimiteIntegralMinimo") public BigDecimal getValorLimiteIntegralMinimo() { return valorLimiteIntegralMinimo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValorLimiteIntegralMinimo(BigDecimal valorLimiteIntegralMinimo) {\n\t\tthis.valorLimiteIntegralMinimo = valorLimiteIntegralMinimo;\n\t}", "public void setValorLimiteIntegralMaximo(BigDecimal valorLimiteIntegralMaximo) {\n\t\tthis.valorLimiteIntegralMaximo = valorLimiteIntegralMaximo;\n\t}", "@Co...
[ "0.7811161", "0.72836924", "0.70903873", "0.61993533", "0.5921112", "0.59205395", "0.589074", "0.5875244", "0.58151937", "0.57947695", "0.5792857", "0.5753313", "0.5719715", "0.56977206", "0.56865", "0.5677279", "0.5644989", "0.5616333", "0.5609202", "0.5594057", "0.55797905"...
0.7628049
1
Define o valor de valorLimiteIntegralMinimo.
public void setValorLimiteIntegralMinimo(BigDecimal valorLimiteIntegralMinimo) { this.valorLimiteIntegralMinimo = valorLimiteIntegralMinimo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValorLimiteIntegralMaximo(BigDecimal valorLimiteIntegralMaximo) {\n\t\tthis.valorLimiteIntegralMaximo = valorLimiteIntegralMaximo;\n\t}", "@Column(name=\"ValorLimiteIntegralMinimo\")\n\tpublic BigDecimal getValorLimiteIntegralMinimo() {\n\t\treturn valorLimiteIntegralMinimo;\n\t}", "@Column(name...
[ "0.75405735", "0.7284978", "0.67104095", "0.6239059", "0.5848846", "0.5825776", "0.58024746", "0.57918173", "0.576439", "0.5741555", "0.5650052", "0.56283367", "0.55884117", "0.5569016", "0.55202645", "0.55194694", "0.54727584", "0.547171", "0.5466698", "0.5456277", "0.543439...
0.8160291
0
Recupera o valor de valorLimiteIntegralMaximo.
@Column(name="ValorLimiteIntegralMaximo") public BigDecimal getValorLimiteIntegralMaximo() { return valorLimiteIntegralMaximo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValorLimiteIntegralMaximo(BigDecimal valorLimiteIntegralMaximo) {\n\t\tthis.valorLimiteIntegralMaximo = valorLimiteIntegralMaximo;\n\t}", "public void setValorLimiteIntegralMinimo(BigDecimal valorLimiteIntegralMinimo) {\n\t\tthis.valorLimiteIntegralMinimo = valorLimiteIntegralMinimo;\n\t}", "@Co...
[ "0.80601984", "0.7347412", "0.72649205", "0.68676543", "0.6845159", "0.674305", "0.658079", "0.65641665", "0.6557369", "0.6549601", "0.6537751", "0.649988", "0.64998394", "0.6454429", "0.6422809", "0.64189756", "0.6416415", "0.63650256", "0.6360181", "0.6331307", "0.6319294",...
0.77323735
1
Define o valor de valorLimiteIntegralMaximo.
public void setValorLimiteIntegralMaximo(BigDecimal valorLimiteIntegralMaximo) { this.valorLimiteIntegralMaximo = valorLimiteIntegralMaximo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValorLimiteIntegralMinimo(BigDecimal valorLimiteIntegralMinimo) {\n\t\tthis.valorLimiteIntegralMinimo = valorLimiteIntegralMinimo;\n\t}", "@Column(name=\"ValorLimiteIntegralMaximo\")\n\tpublic BigDecimal getValorLimiteIntegralMaximo() {\n\t\treturn valorLimiteIntegralMaximo;\n\t}", "@Column(name...
[ "0.7726424", "0.7317916", "0.69802386", "0.6428719", "0.63742197", "0.6355864", "0.62988436", "0.62473524", "0.62228185", "0.6201624", "0.61493516", "0.61371785", "0.61229455", "0.6120714", "0.6088678", "0.6071996", "0.60703295", "0.60513794", "0.60309875", "0.6024295", "0.60...
0.82397676
0
Recupera o valor de idInstituicao.
@Transient /** * @return the idInstituicao */ public Integer getIdInstituicao() { return idInstituicao; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getIdInstituicao() {\n\t\treturn idInstituicao;\n\t}", "public String getInstId() {\r\n return instId;\r\n }", "public String getInoId();", "public void setIdInstituicao(Integer idInstituicao) {\n\t\tthis.idInstituicao = idInstituicao;\n\t}", "public Integer getId_inventario() {\r\...
[ "0.8501832", "0.7172866", "0.7116168", "0.69970375", "0.6880455", "0.6782101", "0.67784935", "0.6731005", "0.66801596", "0.6671332", "0.6670825", "0.66292846", "0.64715487", "0.6461721", "0.6461721", "0.6461721", "0.6461721", "0.6461721", "0.6461721", "0.6461721", "0.64588", ...
0.785436
1
TODO return your MyListItem from cursor.
public static MyListItem fromCursor(Cursor cursor) { MyListItem myListItem=new MyListItem(); myListItem._id=cursor.getInt(0); myListItem.amount=cursor.getString(1); myListItem.dateTime=cursor.getString(2); myListItem.type=cursor.getShort(3); return myListItem; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static MyListItem fromCursor(Cursor cursor) {\n MyListItem m = new MyListItem();\n return m;\n }", "ListItem createListItem();", "public List<Item> getItemList();", "@Override\n public Object getItem(int arg0) {\n return list.get(arg0);\n }", "public abstract String getListItem...
[ "0.78657246", "0.643764", "0.6390429", "0.6310492", "0.6227194", "0.6202488", "0.6201607", "0.6173646", "0.6160503", "0.61184216", "0.60986197", "0.60979044", "0.60879755", "0.608702", "0.6074039", "0.6066558", "0.6066558", "0.6066558", "0.6066558", "0.6066558", "0.6066558", ...
0.7666468
1
change view in linearlayout
@Override public void onClick(View v) { content.removeAllViews(); final View view = View.inflate(getActivity(), R.layout.fragment_colour_picker, null); final View colour = view.findViewById(R.id.colour_preview); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void onLayout(boolean changed, int l, int t, int r, int b) {\n }", "@Override\n protected void onLayout(boolean changed, int l, int t, int r, int b) {\n Log.v(TAG, \"onLayout l = \" + l + \"; t = \" + t + \"; r = \" + r + \"; b = \" + b);\n int count = getChildCount()...
[ "0.6263531", "0.625032", "0.61999875", "0.6195249", "0.61630756", "0.6128324", "0.61136925", "0.6087491", "0.60823977", "0.606822", "0.6055554", "0.6034567", "0.60173136", "0.5940116", "0.5933596", "0.5933093", "0.59329", "0.59198046", "0.5907009", "0.58812344", "0.58778554",...
0.0
-1
save colour as ColourPack and add to Theme
@Override public void onClick(View v) { Settings.Section section; section = MainActivity.instance.themeSettings.getSection(Res.THEME_SECTION_PRIMARY); EditText red, green, blue; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void packUp() {\n news.themeColour = (String) colourChooser.getSelectedItem(); //gets the currently selected colour\n news.write(); //writes high scores and selected colour to file\n }", "public void saveColor()\r\n\t{\r\n\t\tsavedColor = g.getColor();\r\n\t}", "public void saveColorAnd...
[ "0.697789", "0.64167607", "0.5737985", "0.57264763", "0.55294746", "0.53607005", "0.5357987", "0.5272956", "0.52419823", "0.5240997", "0.5232688", "0.52126473", "0.51777583", "0.51463944", "0.513225", "0.5116073", "0.5108738", "0.51059794", "0.51045805", "0.50947386", "0.5080...
0.5088267
20
change view in linearlayout
@Override public void onClick(View v) { content.removeAllViews(); final View view = View.inflate(getActivity(), R.layout.fragment_colour_picker, null); final View colour = view.findViewById(R.id.colour_preview); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void onLayout(boolean changed, int l, int t, int r, int b) {\n }", "@Override\n protected void onLayout(boolean changed, int l, int t, int r, int b) {\n Log.v(TAG, \"onLayout l = \" + l + \"; t = \" + t + \"; r = \" + r + \"; b = \" + b);\n int count = getChildCount()...
[ "0.6264053", "0.62498647", "0.62018347", "0.6196118", "0.61638296", "0.6129786", "0.6113021", "0.6087865", "0.60824364", "0.6068422", "0.6055242", "0.6035177", "0.6017102", "0.59403336", "0.59337735", "0.59335625", "0.5933156", "0.5919495", "0.5906876", "0.5882123", "0.587757...
0.0
-1
save colour as ColourPack and add to Theme
@Override public void onClick(View v) { Settings.Section section; section = MainActivity.instance.themeSettings.getSection(Res.THEME_SECTION_SECONDARY); EditText red, green, blue; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void packUp() {\n news.themeColour = (String) colourChooser.getSelectedItem(); //gets the currently selected colour\n news.write(); //writes high scores and selected colour to file\n }", "public void saveColor()\r\n\t{\r\n\t\tsavedColor = g.getColor();\r\n\t}", "public void saveColorAnd...
[ "0.6978104", "0.6416462", "0.5737731", "0.5726519", "0.5529851", "0.5360623", "0.53583735", "0.5272551", "0.52433306", "0.52407086", "0.5231618", "0.5211561", "0.51772267", "0.5146643", "0.51311153", "0.51162857", "0.5108351", "0.5105574", "0.5094418", "0.50879467", "0.508120...
0.51043826
18
change view in linearlayout
@Override public void onClick(View v) { content.removeAllViews(); final View view = View.inflate(getActivity(), R.layout.fragment_colour_picker, null); final View colour = view.findViewById(R.id.colour_preview); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void onLayout(boolean changed, int l, int t, int r, int b) {\n }", "@Override\n protected void onLayout(boolean changed, int l, int t, int r, int b) {\n Log.v(TAG, \"onLayout l = \" + l + \"; t = \" + t + \"; r = \" + r + \"; b = \" + b);\n int count = getChildCount()...
[ "0.6263531", "0.625032", "0.61999875", "0.6195249", "0.61630756", "0.6128324", "0.61136925", "0.6087491", "0.60823977", "0.606822", "0.6055554", "0.6034567", "0.60173136", "0.5940116", "0.5933596", "0.5933093", "0.59329", "0.59198046", "0.5907009", "0.58812344", "0.58778554",...
0.0
-1
save colour as ColourPack and add to Theme
@Override public void onClick(View v) { Settings.Section section; section = MainActivity.instance.themeSettings.getSection(Res.THEME_SECTION_ACCENT); EditText red, green, blue; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void packUp() {\n news.themeColour = (String) colourChooser.getSelectedItem(); //gets the currently selected colour\n news.write(); //writes high scores and selected colour to file\n }", "public void saveColor()\r\n\t{\r\n\t\tsavedColor = g.getColor();\r\n\t}", "public void saveColorAnd...
[ "0.697789", "0.64167607", "0.5737985", "0.57264763", "0.55294746", "0.53607005", "0.5357987", "0.5272956", "0.52419823", "0.5240997", "0.5232688", "0.52126473", "0.51777583", "0.51463944", "0.513225", "0.5116073", "0.51059794", "0.51045805", "0.50947386", "0.5088267", "0.5080...
0.5108738
16
apply theme later, do nothing here
@Override public void onClick(View v) { dialog.dismiss(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void applyCurrentTheme() {\n TempestatibusApplicationSettings tempestatibusApplicationSettings = getTempestatibusApplicationSettings();\n tempestatibusApplicationSettings.createSharedPreferenceContext(this);\n String theme = tempestatibusApplicationSettings.getAppThemePreference();\n ...
[ "0.70628345", "0.70400685", "0.7012299", "0.6918983", "0.6916562", "0.67947114", "0.63875705", "0.634473", "0.62973785", "0.62936217", "0.62931234", "0.62797415", "0.62562644", "0.6181969", "0.61357206", "0.61187685", "0.6117407", "0.6105475", "0.6035489", "0.60328996", "0.60...
0.0
-1
Default event. Just show the page populated with any proj parameters that were passed along.
public String handleDefault() throws HttpPresentationException { return showEditPage(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void onClick()\n\t\t\t{\n\t\t\t\tretrieveProjectAndObject(dccdHit);\n\t\t\t\t// Note: could also give selected entity object!\n\t\t\t\tString selectedEntityId = object.getId();\n\n\t\t\t\tsetResponsePage(new ProjectViewPage(project, selectedEntityId));\n\t\t\t}", "@Override\n\t\t\tpublic ...
[ "0.5901357", "0.5901357", "0.5684753", "0.5608698", "0.5556459", "0.5458474", "0.5440235", "0.54330575", "0.5424278", "0.5423528", "0.542201", "0.54154", "0.5406783", "0.5406783", "0.5401075", "0.5394074", "0.53880996", "0.5373908", "0.53642124", "0.5353104", "0.5345993", "...
0.5275659
32
Default event. Just show the page.
public String handleShowAddPage() throws HttpPresentationException { return showAddPage(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String handleDefault() \n throws HttpPresentationException \n {\n\t return showPage(null);\n }", "public String handleDefault()\n throws HttpPresentationException\n {\n\t return showPage(null);\n }", "public String handleDefault() \n throws HttpPresentationExceptio...
[ "0.7357101", "0.7229108", "0.6759732", "0.67395073", "0.6626522", "0.6626522", "0.6626522", "0.65788877", "0.65788877", "0.6569241", "0.6567708", "0.6567708", "0.6567708", "0.6567708", "0.6567708", "0.6567708", "0.6567708", "0.6567708", "0.6567708", "0.6567708", "0.6567708", ...
0.0
-1
/ Edits an existing proj in the proj database
public String handleEdit() throws webschedulePresentationException, HttpPresentationException { String projID = this.getComms().request.getParameter(PROJ_ID); Project project = null; System.out.println(" trying to edit a project "+ projID); // Try to get the pr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean updateProject(Project project);", "public void saveNewProject(){\n String pn = tGUI.ProjectTextField2.getText();\n String pd = tGUI.ProjectTextArea1.getText();\n String statusID = tGUI.StatusComboBox.getSelectedItem().toString();\n String customerID = tGUI.CustomerCombo...
[ "0.68252844", "0.6772594", "0.6712359", "0.6666845", "0.65591484", "0.6370689", "0.6347482", "0.63003254", "0.6276579", "0.6251365", "0.6251347", "0.62362367", "0.6232098", "0.6213432", "0.6210481", "0.6174647", "0.61426634", "0.61318755", "0.60858864", "0.60755855", "0.60672...
0.55720586
52
/ Adds a project to the project database
public String handleAdd() throws HttpPresentationException, webschedulePresentationException { try { Project project = new Project(); saveProject(project); throw new ClientPageRedirectException(PROJECT_ADMIN_PAGE); } catch(Exception ex) { return...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic Integer addProject(ProjectInfo project) {\n\t\treturn sqlSession.insert(\"cn.sep.samp2.project.addProject\", project);\n\t}", "public boolean insertProject(Project project) throws EmployeeManagementException;", "private void add_proj_DATABASE(Project project) {\n }", "public boolean ad...
[ "0.79139", "0.7623367", "0.74248403", "0.7337768", "0.72946113", "0.72908926", "0.7087798", "0.7035077", "0.6966021", "0.6959114", "0.691311", "0.68870026", "0.688144", "0.67752564", "0.67215747", "0.67060417", "0.66920054", "0.6687116", "0.6679894", "0.66609806", "0.66328055...
0.62077314
35
/ Deletes a Project from the Project database
public String handleDelete() throws HttpPresentationException, webschedulePresentationException { String projectID = this.getComms().request.getParameter(PROJ_ID); System.out.println(" trying to delete a project "+ projectID); try { Project project = ProjectFactory.fin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void deleteProject(Long projectId);", "@Override\n\tpublic Integer delProject(ProjectInfo project) {\n\t\treturn sqlSession.update(\"cn.sep.samp2.project.delProject\", project);\n\t}", "void deleteProject(String projectKey);", "void deleteByProjectId(Long projectId);", "@DeleteMapping(\"/deleteProje...
[ "0.8600347", "0.8188664", "0.8105283", "0.79530704", "0.79380596", "0.7826666", "0.77025175", "0.74087024", "0.73431134", "0.72140574", "0.71764314", "0.71629536", "0.70769525", "0.703453", "0.70278436", "0.70278436", "0.6952759", "0.6942709", "0.689694", "0.6866458", "0.6837...
0.6104498
58
Produce HTML for this PO, populated by the project information that the user wants to edit
public String showEditPage(String errorMsg) throws HttpPresentationException, webschedulePresentationException { String proj_name = this.getComms().request.getParameter(PROJ_NAME); String personID = this.getComms().request.getParameter(PERSONID); String discrib = this.getCom...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String handleEdit()\n throws webschedulePresentationException, HttpPresentationException\n {\t\t \n \n Project project = null;\n\n \n \n // Try to get the proj by its ID\n try {\n\t project = ProjectFactory.findProjectByID(this.getProjectID());\n\t ...
[ "0.62257355", "0.60319984", "0.5614885", "0.548139", "0.54569626", "0.5437005", "0.5388807", "0.5375733", "0.53648525", "0.53648525", "0.53402585", "0.52962726", "0.5292831", "0.52854484", "0.52490443", "0.52184284", "0.52015406", "0.51719254", "0.51625067", "0.51455593", "0....
0.58912146
2
Produce HTML for this PO
public String showAddPage(String errorMsg) throws HttpPresentationException, webschedulePresentationException { String proj_name = this.getComms().request.getParameter(PROJ_NAME); String password = this.getComms().request.getParameter(PASSWORD); String discrib = this.getCom...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String generateHTML() {\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tString level = \"\\t\";\n\t\tstringBuilder.append(level.repeat(levelCount)+\"<div>\\n\");\n\t\tlevelCount++;\n\t\tfor (HTMLGenerator htmlGenerator : tags) {\n\t\t\tstringBuilder.append(level.repeat(levelCount)+...
[ "0.676849", "0.6683776", "0.61651754", "0.6119086", "0.60002184", "0.59864265", "0.58350235", "0.57834667", "0.5746081", "0.5716947", "0.5649792", "0.56459063", "0.56299424", "0.56069344", "0.5598403", "0.55311394", "0.55277175", "0.54814917", "0.54716796", "0.5460617", "0.54...
0.0
-1
Method to save a new or existing project to the database
protected void saveProject(Project theProject) throws HttpPresentationException, webschedulePresentationException { String proj_name = this.getComms().request.getParameter(PROJ_NAME); String personID = this.getComms().request.getParameter(PERSONID); String password = this.ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void saveNewProject(){\n String pn = tGUI.ProjectTextField2.getText();\n String pd = tGUI.ProjectTextArea1.getText();\n String statusID = tGUI.StatusComboBox.getSelectedItem().toString();\n String customerID = tGUI.CustomerComboBox.getSelectedItem().toString();\n\n int sst...
[ "0.76566976", "0.73723423", "0.73622715", "0.7200788", "0.7126367", "0.7021382", "0.6822222", "0.6789324", "0.677932", "0.67360115", "0.65250266", "0.6474642", "0.6459506", "0.6418917", "0.6418917", "0.6418917", "0.6418917", "0.640616", "0.63802755", "0.6346262", "0.6289316",...
0.6205644
27
TODO Autogenerated method stub
@Override public void simpleOperation() { System.out.println("I'm building house"); }
{ "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
name is temporary. "keys" is unavailable.
Iterable<K> inputs();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n List<String> keys();", "StringList keys();", "public void setKeys(String keys) {\r\n this.keys = keys;\r\n }", "List<String> getKeys();", "public abstract List<String> getAllKeys();", "public abstract Enumeration keys();", "public Enumeration<Object> keys ();", "@VisibleForTe...
[ "0.7172041", "0.69081825", "0.67374307", "0.67249185", "0.6706276", "0.6683956", "0.66564286", "0.6622052", "0.65884334", "0.6488154", "0.64875674", "0.6476578", "0.6463852", "0.6460238", "0.6436329", "0.64207256", "0.63944286", "0.6385571", "0.63811415", "0.6356968", "0.6345...
0.0
-1
NOTE: the implementation can return another element if getFirst() is expensive
public static <K, V> BiValue<K, V> getAny(MapStream<K, V> s) { return s.getFirst(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public A getFirst() { return first; }", "public Item getFirst();", "public E getFirst();", "public E getFirst() {\r\n\t\t// element checks to see if the list is empty\r\n\t\treturn element();\r\n\t}", "public T getFirst();", "public T getFirst();", "public Object getFirst()\n {\n if (first == null...
[ "0.79305905", "0.7893442", "0.7853797", "0.78153443", "0.7793471", "0.7793471", "0.77886647", "0.76899606", "0.7664191", "0.75637966", "0.75512236", "0.755082", "0.75384575", "0.75384575", "0.74443895", "0.7432785", "0.7378376", "0.73783225", "0.73683846", "0.736599", "0.7362...
0.0
-1
Interface EntityOrAssetRule defines the rules that can be linked to an Entity or Asset.
public interface EntityOrAssetRule extends Rule { /** * Return the component id of the Entity or Asset that this rule should * belong to. * @return The component id. */ public String getComponentId(); /** * Given a mission objective and a system, find the corresponding componen...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleOr() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleOr = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3823:2: (iv_ruleOr= ruleOr EOF )\n // ../de...
[ "0.5052246", "0.49508718", "0.49258715", "0.4772964", "0.47605744", "0.4746721", "0.47369936", "0.46318197", "0.46263778", "0.45953417", "0.455146", "0.44961062", "0.44413984", "0.44186577", "0.44105217", "0.43958804", "0.43555728", "0.4325574", "0.43197486", "0.43049493", "0...
0.7060286
0
Return the component id of the Entity or Asset that this rule should belong to.
public String getComponentId();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getComponentId() {\n \t\treturn componentId;\n \t}", "public ResourceId component() {\n return this.component;\n }", "public int getComponentID() {\n return COMPONENT_ID;\n }", "public String getRuleID() {\n\t\treturn adaptee.getConstraint().getDescriptor().getId();\n\t}",...
[ "0.6675326", "0.6289935", "0.6240872", "0.621939", "0.6167468", "0.5994684", "0.58232754", "0.57597715", "0.5735986", "0.57080615", "0.56925756", "0.5589397", "0.5541113", "0.55382246", "0.5535904", "0.55264413", "0.55098635", "0.5495985", "0.547275", "0.5382775", "0.53365225...
0.6452751
1
Given a mission objective and a system, find the corresponding component to this rule, and add this rule to that component.
public void addToComponent(String objective, OpSystem system);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface EntityOrAssetRule extends Rule {\n /**\n * Return the component id of the Entity or Asset that this rule should\n * belong to.\n * @return The component id.\n */\n public String getComponentId();\n \n /**\n * Given a mission objective and a system, find the correspo...
[ "0.5384419", "0.48485404", "0.4828642", "0.47600612", "0.4716868", "0.46236202", "0.45512265", "0.45302913", "0.44478247", "0.44248584", "0.4386823", "0.43436453", "0.4314245", "0.4274253", "0.42640755", "0.4259848", "0.42573488", "0.41926605", "0.41704908", "0.41652837", "0....
0.7468564
0
To store packed bags so that I can access the items in them later in the code.
public Shopper() { cart = new Carryable[MAX_CART_ITEMS]; numItems = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void packBags() {\r\n GroceryBag[] packedBags = new GroceryBag[numItems];\r\n int bagCount = 0;\r\n\r\n GroceryBag currentBag = new GroceryBag();\r\n for (int i=0; i<numItems; i++) {\r\n GroceryItem item = (GroceryItem) cart[i];\r\n if (item.getWeight() <=...
[ "0.73331034", "0.6135763", "0.58156836", "0.58156836", "0.58156836", "0.58156836", "0.58156836", "0.58156836", "0.56800437", "0.56777287", "0.5649987", "0.56327504", "0.5590919", "0.55379486", "0.54929835", "0.5429986", "0.5411196", "0.5399076", "0.53987753", "0.53276867", "0...
0.0
-1
Return the total cost of the items in the cart
public float totalCost() { float total = 0; for (int i=0; i<numItems; i++) { total += cart[i].getPrice(); } return total; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private double totalPrice(){\n\n double sum = 0;\n\n for (CarComponent carComponent : componentsCart) {\n sum += (carComponent.getCompPrice() * carComponent.getCompQuantity()) ;\n }\n return sum;\n }", "public float totalCost() {\n\t\tttCost = 0;\n\t\tfor (int i = 0; i <...
[ "0.7846119", "0.76012677", "0.75672966", "0.7566194", "0.75564146", "0.7494559", "0.7481245", "0.74322695", "0.73787206", "0.72956896", "0.7278532", "0.7253395", "0.7235922", "0.72099805", "0.71282566", "0.71266097", "0.7113837", "0.7088841", "0.7023", "0.7001579", "0.6981674...
0.8619685
0
Adds Carryable object (bags or items) to the shopper's cart
public void addItem(Carryable g) { if (numItems < MAX_CART_ITEMS) cart[numItems++] = g; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void add() {\n\t\tcart.add(item.createCopy());\n\t}", "private void add(GroceryItem itemObj, String itemName) {\n\t\tbag.add(itemObj);\n\t\tSystem.out.println(itemName + \" added to the bag.\");\n\t}", "public void carry(Item item)\n {\n\n // Check if item to be added doesn't go over carry lim...
[ "0.74120384", "0.655572", "0.6445846", "0.6296061", "0.6276998", "0.620243", "0.61700934", "0.6112805", "0.6092036", "0.6089159", "0.60830575", "0.6054119", "0.6009932", "0.5989262", "0.5986227", "0.5975673", "0.5961914", "0.5934837", "0.5895407", "0.5892105", "0.5877357", ...
0.72167724
1
Removes Carryable object (Item or Bag) from cart
public void removeItem(Carryable g) { for (int i=0; i<numItems; i++) { if (cart[i] == g) { cart[i] = cart[numItems - 1]; numItems -= 1; return; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void removeCartItem(int cartItemId);", "public void clearCart() {\n this.items.clear();\n }", "private void remove(GroceryItem itemObj, String itemName, double itemPrice) {\n\t\tif (!bag.remove(itemObj)) {\n\t\t\tSystem.out.println(\"Unable to remove, this item is not in the bag.\");\n\t\t} else {\n\...
[ "0.70214707", "0.6797269", "0.67944425", "0.6642524", "0.66309804", "0.66255134", "0.64863247", "0.6468668", "0.63547015", "0.63265234", "0.6305907", "0.62920046", "0.62864476", "0.62541705", "0.62276083", "0.6222093", "0.61800706", "0.61509377", "0.61188686", "0.6108309", "0...
0.7143666
0