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
removes object from linked list
public boolean remove(String name) { LinkedNode current = head; while (current != null && !current.value().getName().equals(name)) { current = current.next(); } if (current != null) { if (current.previous() != null) { current.previous().setNext(cur...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeByObject()\r\n\t{\n\t}", "Object remove();", "public void remove();", "public void remove();", "public void remove();", "public void remove();", "public void remove();", "void remover(Object o);", "void remove( ModelObject object );", "public void remove () {}", "public Object...
[ "0.73272556", "0.71689475", "0.71061814", "0.71061814", "0.71061814", "0.71061814", "0.71061814", "0.70581377", "0.7039942", "0.7012216", "0.6986551", "0.6960081", "0.6887117", "0.6887117", "0.6887117", "0.6887117", "0.6887117", "0.68750423", "0.6873631", "0.6866491", "0.6765...
0.0
-1
gets head of linked list
public LinkedNode head() { return head; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ListNode getHead()\n {\n return head;\n }", "public synchronized ListNode getHead() {\n\t\treturn head;\n\t}", "public DoublyLinkedListNode<T> getHead() {\n // DO NOT MODIFY!\n return head;\n }", "public Node<T> head()\r\n {\r\n return head; \r\n }", "publi...
[ "0.7962346", "0.7939153", "0.782599", "0.77533686", "0.77347064", "0.77067417", "0.77066237", "0.7648493", "0.7648493", "0.76402533", "0.7593462", "0.75904155", "0.75405455", "0.7537634", "0.7492622", "0.74789834", "0.74633825", "0.7463313", "0.744272", "0.7417572", "0.739189...
0.7845077
2
returns tail of linked list
public LinkedNode tail() { return tail; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ListNode getTail()\n {\n return tail;\n }", "public synchronized ListNode getTail() {\n\t\treturn tail;\n\t}", "public DoublyLinkedListNode<T> getTail() {\n // DO NOT MODIFY!\n return tail;\n }", "public Node getTail() {\n\t\treturn tail;\n\t}", "public Node getTail() {...
[ "0.80513614", "0.80376136", "0.8028975", "0.7749305", "0.7749305", "0.7747968", "0.771436", "0.7658165", "0.75068384", "0.74398154", "0.7427328", "0.741998", "0.7307461", "0.7274062", "0.7270862", "0.7252484", "0.72511154", "0.724405", "0.7243576", "0.7227178", "0.7134362", ...
0.807773
0
returns number of nodes in linked list
public int length() { return length; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int nodeCounter() {\n\n\t\tDLNode n = head;\n\t\tint nodeCounter = 0;\n\t\twhile (n != null) {\n\t\t\tn = n.next;\n\t\t\tnodeCounter++;\n\t\t}\n\t\treturn nodeCounter;\n\t}", "int node_size()\n {\n Node temp =headnode;\n int count=0;\n while (temp.next!=null)\n {\n ...
[ "0.85638636", "0.85415995", "0.83286566", "0.83233654", "0.83233654", "0.8298028", "0.82929254", "0.8252475", "0.825092", "0.8220928", "0.81832814", "0.8180719", "0.8167419", "0.8135874", "0.812486", "0.8114658", "0.810223", "0.80648035", "0.8060084", "0.80449766", "0.8041838...
0.0
-1
checks if a given air object collides with all objects in linked list
public boolean collides(AirObject ao) { LinkedNode curr = head; while (curr != null) { if (!curr.collides(ao)) { return false; } curr = curr.next(); } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean collisionWith(CollisionObject obj);", "public abstract void collide(InteractiveObject obj);", "public void detectCollisions(){\n\t\tfor(int i = 0; i < pScene.getNumOf(); i++){\n\t\t\tEntity a = pScene.getObject(i);\n\t\t\tif (!a.isAlive())\n\t\t\t\tcontinue;\n\t\t\tfor(int j = i + 1; j...
[ "0.72383744", "0.6982909", "0.6944109", "0.68835765", "0.6828535", "0.68164265", "0.6796339", "0.6765855", "0.67384344", "0.6726075", "0.6679858", "0.6647746", "0.66199374", "0.66155404", "0.6604107", "0.65721804", "0.65401274", "0.6533108", "0.6519954", "0.6508566", "0.65079...
0.80584854
0
gets every object that collides with box
public void collissions(int x, int y, int z, int xWidth, int yWidth, int zWidth) { LinkedNode first = tail; LinkedNode second = first.previous(); while (first.previous() != null) { while (second != null) { int xCoordinate; int yCoordinate;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Rectangle getCollisionBox();", "private GObject getCollidingObject() {\n \tdouble x1 = ball.getX();\n \tdouble y1 = ball.getY();\n \tdouble x2 = x1 + BALL_RADIUS * 2;\n \tdouble y2 = y1 + BALL_RADIUS * 2;\n \n \tif (getElementAt(x1, y1) != null) return getElementAt(x1, y1);\n \tif (getElement...
[ "0.68119216", "0.67850256", "0.6771126", "0.674896", "0.666986", "0.666312", "0.6495875", "0.64841455", "0.6459206", "0.64324754", "0.6393379", "0.6373331", "0.6373186", "0.6288097", "0.62790155", "0.6244913", "0.619384", "0.61544067", "0.61494", "0.6133498", "0.6118459", "...
0.0
-1
Created by siddhanthjain on 15/08/15.
public interface MyClassInterface { public void doSomething() ; public void adButton(LinearLayout linear, Activity activity) ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n...
[ "0.60334563", "0.58688176", "0.5834081", "0.5825492", "0.5783601", "0.5783601", "0.57361716", "0.57349396", "0.57309693", "0.5722015", "0.5710106", "0.57081234", "0.5688068", "0.56714046", "0.5663961", "0.56561726", "0.5647518", "0.5606906", "0.56009007", "0.5600121", "0.5600...
0.0
-1
Creates new form User_Interface
public User_Interface() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NewUser() {\n initComponents();\n }", "public void new_user(){\n }", "public void addUserUI() throws IOException {\n System.out.println(\"Add user: id;surname;first name;username;password\");\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n ...
[ "0.686913", "0.6836601", "0.6712024", "0.66433346", "0.66132265", "0.66026795", "0.658638", "0.6525326", "0.6462849", "0.63873094", "0.636021", "0.633194", "0.6321731", "0.624979", "0.6246188", "0.6246188", "0.6246188", "0.62454814", "0.6244738", "0.6227704", "0.6221533", "...
0.69346976
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() { jLabel1 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); jLabel2 = new javax.swing.JLabel(); jScrollPane2 = n...
{ "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.7322098", "0.7292275", "0.7292275", "0.7292275", "0.72872275", "0.72507876", "0.7214814", "0.7209056", "0.7197325", "0.71918863", "0.71856284", "0.7160448", "0.7148918", "0.7094831", "0.70820963", "0.70585436", "0.6988433", "0.6978755", "0.69569016", "0.6955245", "0.694635...
0.0
-1
give me one grand today night give one grand today
public static void main(String[] args) { List<String> magazine = Arrays.asList("give", "me", "one", "grand", "today", "night"); List<String> note = Arrays.asList("give", "one", "grand", "today"); checkMagazine(magazine, note); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void goToToday() {\n goToDate(today());\n }", "public int getToday() {\n \treturn 0;\n }", "public int computeFine(int today);", "private String checkIfToday(String day) {\n GregorianCalendar cal = new GregorianCalendar();\n switch(cal.get(Calendar.DAY_OF_...
[ "0.6334076", "0.61797005", "0.56798375", "0.565597", "0.5650918", "0.56123173", "0.5590979", "0.5582076", "0.5574436", "0.55677456", "0.5518756", "0.54913807", "0.5457754", "0.5438482", "0.54152244", "0.53936464", "0.5371192", "0.5369307", "0.53372425", "0.53341955", "0.53302...
0.0
-1
put note into a Map Map magazineMap = magazine.stream() .collect(Collectors.toMap(k > k, k > 1));
public static void checkMagazine(List<String> magazine, List<String> note) { Map<String, Integer> magazineMap = new HashMap<>(); for (String m : magazine) { if (magazineMap.containsKey(m)) { int val = magazineMap.get(m); magazineMap.put(m, ++val); } else { magazineMap.p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static Map<Boolean, List<StudentRecord>> razvrstajProlazPad(List<StudentRecord> records) {\n\t\treturn records.stream()\n\t\t\t\t.collect(Collectors.partitioningBy(o -> o.getOcjena() > 1));\n\t}", "private static Map<Boolean, List<StudentRecord>> razvrstajProlazPad(List<StudentRecord> records) {\n\t\tret...
[ "0.5813849", "0.5752504", "0.55565286", "0.55267906", "0.53871757", "0.5329223", "0.5271182", "0.5035984", "0.4997985", "0.4994395", "0.49881297", "0.49871156", "0.49297667", "0.49284944", "0.4923862", "0.48950517", "0.48884454", "0.48856577", "0.4864711", "0.4858864", "0.484...
0.6452668
0
if a class is implementing any interface ,then it is mandatory to define or override all the methods of interfaces Also a class can have their own defined methods overriding from USBank interface
public void credit() { System.out.println("HSBC--Credit--from US Bank"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean isInterface() { return false; }", "public interface Phone {\n\t\n\tpublic abstract void interfaceInfo();\n\t\t//System.out.println(\"interface is a class - can't be implemented/declared only\");\n\t\n\tpublic abstract void call();\n\tpublic abstract void message();\n\tpublic abstrac...
[ "0.70677304", "0.6972554", "0.6890053", "0.68182504", "0.6703771", "0.6663078", "0.6636567", "0.6636048", "0.66174024", "0.66101205", "0.6592625", "0.6592278", "0.65515065", "0.6540735", "0.6516161", "0.6512808", "0.65077525", "0.6507098", "0.64979064", "0.6490194", "0.648884...
0.0
-1
Separate Method of HSBC Bank Class
public void educationLoan() { System.out.println("HSBC--educationLoan"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Databank getBank();", "shared.data.Bank getBank();", "void setBank(shared.data.Bank bank);", "public Bank getBank() {\r\n return bank;\r\n }", "public static Bank getBank() {\n return Bank;\n }", "IBank getBank(int rekeningNr) throws RemoteException;", "private Bank() {\r\n\t\tsup...
[ "0.7516504", "0.6960155", "0.6941488", "0.6911609", "0.6847897", "0.68120366", "0.67319626", "0.6729722", "0.67268527", "0.66647816", "0.66647816", "0.664423", "0.66237", "0.6573311", "0.6560426", "0.6545203", "0.6496662", "0.6491238", "0.6453258", "0.6429141", "0.6388611", ...
0.0
-1
overriding from BrazilBank interface
public void mutualFund() { System.out.println("HSBC--Mutual Fund--from Brazil Bank"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Databank getBank();", "public Bank getBank() {\r\n return bank;\r\n }", "IBank getBank(int rekeningNr) throws RemoteException;", "public interface IBank {\n //办卡\n void applyBank();\n //挂失\n void loseBank();\n //......\n}", "public String getBank() {\r\n return bank;\r\n ...
[ "0.76875144", "0.7145012", "0.70768297", "0.69248486", "0.6847013", "0.6847013", "0.68206686", "0.67758965", "0.67741823", "0.67337006", "0.67323923", "0.67035586", "0.6642272", "0.6595175", "0.65874815", "0.65864646", "0.6537552", "0.652815", "0.65093446", "0.6495422", "0.64...
0.0
-1
Constructs a new empty assignment (without fast evaluation).
public IncrementableAssignment() { super(false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Stmt createAssignment(Assign expr) {\n return createEval(expr);\n }", "VarAssignment createVarAssignment();", "Assignment createAssignment();", "Assignment createAssignment();", "public Expression deepCopy (){\n return new LiteralExpression(_value);\n }", "public static Dupli...
[ "0.6236496", "0.58990014", "0.57099694", "0.57099694", "0.56912225", "0.5664755", "0.55739343", "0.5565168", "0.5552008", "0.5484254", "0.5477376", "0.545891", "0.54434454", "0.5367392", "0.5366154", "0.53195596", "0.5314351", "0.52957094", "0.52827674", "0.5281808", "0.52631...
0.601503
1
Constructs a new assignment with a single literal assignment (without fast evaluation).
public IncrementableAssignment(Literal lit) { super(lit, false); variableOrdering.add(lit.variable()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Stmt createAssignment(Assign expr) {\n return createEval(expr);\n }", "public JCExpressionStatement makeAssignment(JCExpression lhs, JCExpression rhs) {\n return treeMaker.Exec(treeMaker.Assign(lhs, rhs));\n }", "public final void ruleOpSingleAssign() throws RecognitionException {\...
[ "0.68505937", "0.64616126", "0.60425043", "0.60343164", "0.6027569", "0.602025", "0.59573513", "0.59437895", "0.59233916", "0.5867447", "0.582209", "0.57641023", "0.5731194", "0.5680485", "0.5670541", "0.56564593", "0.559627", "0.5595905", "0.5595905", "0.5566588", "0.5560196...
0.6000788
6
Constructs a new assignment for a given collection of literals (without fast evaluation). The order of the elements (e.g. if one inputs a List or SortedSet) dictates the ordering in the variable order of the assignment.
public IncrementableAssignment(final Collection<? extends Literal> lits) { super(lits, false); lits.stream().map(Literal::variable).collect(Collectors.toCollection(() -> variableOrdering)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public IncrementableAssignment(Literal lit) {\n super(lit, false);\n variableOrdering.add(lit.variable());\n }", "CollectionLiteralExp createCollectionLiteralExp();", "public final void rule__XSetLiteral__Group_3_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize...
[ "0.60015744", "0.5724762", "0.57083905", "0.55871797", "0.5506127", "0.54776263", "0.5458512", "0.54056525", "0.53660244", "0.529928", "0.52876085", "0.52325714", "0.52088606", "0.5205752", "0.520528", "0.5154394", "0.5036893", "0.5036893", "0.50215", "0.49897465", "0.4964144...
0.7012955
0
Returns the ordering of the variables in this incrementable assignment. The variables added first have low order, elements added later have a high order.
public SortedSet<Variable> getVariableOrdering() { return variableOrdering; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getPriorityOrder();", "public Integer getPositionOrder() {\n return positionOrder;\n }", "@Override\n\tpublic int getOrder() {\n\t\treturn Ordered.HIGHEST_PRECEDENCE + 10000;\n\t}", "public int getOrder() {\n \treturn ord;\n }", "public Integer getOrder();", "public ArrayList<Integer>...
[ "0.6160204", "0.6076952", "0.60586", "0.6020382", "0.59964144", "0.59656227", "0.59457046", "0.588411", "0.5870927", "0.5836506", "0.57760453", "0.57668746", "0.5755389", "0.57429564", "0.5724223", "0.5710988", "0.5700254", "0.56887907", "0.566907", "0.5633076", "0.56280506",...
0.7459464
0
On create. Creates a activity and connect variables with fields.
@Override protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.add_contact); etName = (EditText) findViewById(R.id.etNameAdd); etName.setText(""); etLastname = (EditText) findViewById(R.id.etLastnameAdd); etLastname.setText(""); etAdress ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void create(MyActivity activity, Bundle bundle){\n super.create(activity, bundle);\n\n if(bundle != null){\n //open bundle to set saved instance states\n openBundle(bundle);\n }\n\n mClientItem = mBoss.getClient();\n\n mStrInfo = mActivity.getString(R...
[ "0.70273614", "0.6930659", "0.66932666", "0.66087264", "0.65261894", "0.65202534", "0.6491103", "0.6475222", "0.6371732", "0.63603103", "0.62784314", "0.6275643", "0.62313646", "0.6174589", "0.61584496", "0.61034364", "0.6072488", "0.60684633", "0.60667706", "0.60638475", "0....
0.0
-1
Starts activity to pick image from gallery.
public void btnImgAddClick(View view) { Intent photoPickerIntent = new Intent(Intent.ACTION_GET_CONTENT); photoPickerIntent.setType("image/*"); startActivityForResult(photoPickerIntent, 1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void startGallery() {\n Intent photoPickerIntent = new Intent(Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n photoPickerIntent.setType(\"image/*\");\n startActivityForResult(photoPickerIntent, GALLERY_REQUEST);\n\n }", "pri...
[ "0.82443345", "0.8046648", "0.79747665", "0.7892071", "0.78782576", "0.7843202", "0.7807993", "0.777873", "0.7776605", "0.7776605", "0.77630854", "0.7755664", "0.7704292", "0.76811624", "0.76591504", "0.7651596", "0.7630195", "0.7612125", "0.7608467", "0.7596515", "0.7595031"...
0.0
-1
Returns to activity to fill all data.
public void doNegativeClick() { Toast.makeText(this, "Заполните все нужные поля", Toast.LENGTH_SHORT) .show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void fillData() {\n\t\tmCursor = dbHelper.getResultsByTime();\n\t\tstartManagingCursor(mCursor);\n\n\t\tdataListAdapter = new SimpleCursorAdapter(this, R.layout.row, mCursor,\n\t\t\t\tFROM, TO);\n\t\tmConversationView.setAdapter(dataListAdapter);\n\t}", "private void fillData()\n {\n\n }", "@Over...
[ "0.6640583", "0.6575552", "0.6197363", "0.5894282", "0.5857785", "0.5827289", "0.5798332", "0.5795396", "0.5788686", "0.57234967", "0.5697017", "0.56696576", "0.56017834", "0.5564557", "0.5561611", "0.5557469", "0.55170846", "0.5493834", "0.54904926", "0.5445546", "0.5436557"...
0.0
-1
Continue to adding contact with not all data.
public void doPositiveClick() { //Shows message that contact added to database. Toast.makeText(this, "Контакт сохранен", Toast.LENGTH_SHORT).show(); addRecord(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addContact() {\n\t\tif (contactCounter == contactList.length) {\n\t\t\tSystem.err.println(\"Maximum contacts reached. \"\n\t\t\t\t\t\t\t\t+ \"No more contact can be added\");\n\t\treturn;\n\t\t}\n\t\t\n\t\treadContactInfo();\t\n\t}", "public void addContact() throws IOException {\n\t\t\n\t\tContact c...
[ "0.76828414", "0.69696444", "0.68119943", "0.66720355", "0.6571367", "0.6543095", "0.65159863", "0.648716", "0.64108294", "0.6399389", "0.635718", "0.634549", "0.6331414", "0.63121486", "0.6274426", "0.6267569", "0.62559325", "0.6241587", "0.6186126", "0.6169182", "0.61363924...
0.0
-1
Accepting editing or adding contact.
public final void onBtnAcceptClick(View view) { aName = etName.getText().toString(); aLastname = etLastname.getText().toString(); aAdress = etAdress.getText().toString(); /** * Checks if no image picked. */ try{ aImage = contactImageUri.toString(); } catch (NullPointerException e) { contactI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onClick(View v) {\n if (firstName.getText().toString().isEmpty()) {\n firstName.setError(\"This field cannot be blank\");\n } else if (extras.getString(\"NEW_OR_EDIT\").equals(\"edit\")) {\n int number = extras.getInt(\"NUMBER\");\n ...
[ "0.69659793", "0.6866604", "0.67010915", "0.64125663", "0.6381928", "0.6346127", "0.6291316", "0.6284748", "0.6246809", "0.62249905", "0.62131995", "0.61958086", "0.6194118", "0.6100686", "0.6060847", "0.6008408", "0.6004399", "0.59937984", "0.59861475", "0.59755653", "0.5973...
0.57207906
48
On btn cancel click.
public void onBtnCancelClick(final View view) { setResult(RESULT_CANCELED, new Intent()); finish(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void btnCancel();", "public void onCancelClick()\r\n {\r\n\r\n }", "void onCancelClicked();", "void cancelButton_actionPerformed(ActionEvent e) {\n setUserAction(CANCELLED);\n setVisible(false);\n }", "public void cancel() { Common.exitWindow(cancelBtn); }", "private void cancelButtonA...
[ "0.8561679", "0.85173225", "0.85151815", "0.83428717", "0.8335234", "0.8322813", "0.8251338", "0.8165643", "0.8113834", "0.8098297", "0.7960084", "0.7948499", "0.79274917", "0.7877517", "0.78586966", "0.7843395", "0.7777152", "0.7721554", "0.7711258", "0.7700591", "0.7688044"...
0.7537721
55
Shows alert dialog that not all data filled.
void showDialog() { DialogFragment newFragment = MyAlertDialogFragment .newInstance(R.string.not_enoughth_information); newFragment.show(getFragmentManager(), "dialog"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void show_message_no_data() {\n\t\tAlertDialog.Builder dialog=new AlertDialog.Builder(this);\n\t\t\n dialog.setTitle(\"Notice\");\n dialog.setMessage(\"No data for TI list\");\n \n dialog.setPositiveButton(\"OK\",new DialogListener(this, dialog, 0));\n \n dialog.cre...
[ "0.711899", "0.68142164", "0.6481716", "0.64768744", "0.6435846", "0.63986397", "0.62851954", "0.62149364", "0.62016195", "0.6168853", "0.6167093", "0.6151705", "0.61157936", "0.60356444", "0.6025604", "0.5986725", "0.59678686", "0.59342545", "0.5916341", "0.5893218", "0.5890...
0.53977704
72
Returns Uri of picked image for contact.
protected void onActivityResult( int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); switch (requestCode) { case 1: if (resultCode == RESULT_OK) { contactImageUri = data.getData(); } break; default: break; } try{ Bitmap photo = Media ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPictureUri();", "public static Uri getPhotoUri() {\n Logger.d(TAG, \"getPhotoUri() entry\");\n Cursor cursor = null;\n int imageId = 0;\n try {\n cursor =\n mContext.getContentResolver().query(\n MediaStore.I...
[ "0.7051501", "0.69762903", "0.65143615", "0.6494351", "0.63117623", "0.6245256", "0.62163085", "0.6213061", "0.6201226", "0.61898094", "0.6147863", "0.61348724", "0.6130548", "0.6125689", "0.6097434", "0.60574657", "0.5994994", "0.5985989", "0.59822756", "0.59735715", "0.5947...
0.0
-1
Gets the picked gender from Radio Group.
private String getGender() { switch (rgGender.getCheckedRadioButtonId()) { case R.id.rdAddMale: aGender = "Мужчина"; break; case R.id.rdAddFemale: aGender = "Женщина"; break; default: break; } return aGender; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getSelectedGender() {\n int radioButtonID = rgGender.getCheckedRadioButtonId();\n RadioButton radioButton = rgGender.findViewById(radioButtonID);\n return radioButton.getText().toString();\n }", "@java.lang.Override public app.onepass.apis.Gender getGender() {\n @Suppres...
[ "0.84132415", "0.7476536", "0.7416151", "0.741001", "0.7403999", "0.7376975", "0.73512954", "0.7344497", "0.7336545", "0.7313757", "0.72919303", "0.72919303", "0.7284139", "0.72819203", "0.72695583", "0.7269168", "0.7242465", "0.7199677", "0.7199677", "0.7172425", "0.71613795...
0.79157406
1
Adds the record to database and finishing the activity.
private void addRecord() { ContactData cd = new ContactData(contactDataId, aName, aLastname, aDate, aAdress, aGender, aImage); Intent intent = getIntent(); intent.putExtra("ContactData", cd); setResult(RESULT_OK, intent); finish(); onDestroy(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addRecord();", "private void guardaRecord() {\n // Guardamos el record\n SharedPreferences datos = PreferenceManager.getDefaultSharedPreferences(this);\n SharedPreferences.Editor miEditor = datos.edit();\n miEditor.putInt(\"RECORD\", record);\n miEditor.apply();\n ...
[ "0.6580936", "0.6215497", "0.6142754", "0.6058148", "0.602498", "0.58810896", "0.5858086", "0.58176196", "0.5803045", "0.57921576", "0.57902", "0.57757384", "0.5774949", "0.5767094", "0.5766673", "0.5747644", "0.5728792", "0.5719403", "0.5710072", "0.56968874", "0.56830704", ...
0.712141
0
Creates Alert Dialog when not all data filled.
@Override public final Dialog onCreateDialog(final Bundle savedInstanceState) { int title = getArguments().getInt("title"); return new AlertDialog.Builder(getActivity()) .setIcon(R.drawable.alert_dialog_icon) .setTitle(title) .setPositiveButton(R.string.alert_dialog_ok, new DialogInterfac...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void popUpEmptyTextView() {\n final Intent intent = new Intent(this, AddUserDetailsActivity.class);\n AlertDialog alertDialog = new AlertDialog.Builder(AddUserDetailsActivity.this).create();\n alertDialog.setTitle(\"ERROR\");\n alertDialog.setMessage(\"One of the fields have been...
[ "0.674592", "0.67398375", "0.6548981", "0.6488463", "0.61927307", "0.61608064", "0.6114437", "0.6040252", "0.60244834", "0.598909", "0.58577096", "0.58054936", "0.57898986", "0.57886845", "0.5785973", "0.57703626", "0.5764132", "0.57524854", "0.57249767", "0.57242316", "0.571...
0.0
-1
Before every test, create an instance of the NumCommentsCheck
@Before public void setup() { // Create a new instance of the NumCommentsCheck class. ut = new NumCommentsCheck(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Before\n\tpublic void setUp() {\n\t\ttest_count++;\n\t\tSystem.out.println(\"Test \"+ test_count);\n\t}", "@Before\r\n public void instanciaBefore(){\r\n numero = new Numero();\r\n }", "@Before\r\n public void setupTestCases() {\r\n instance = new ShoppingListArray();\r\n }", "@Bef...
[ "0.63079196", "0.6301153", "0.62155974", "0.6174094", "0.61446005", "0.6069412", "0.6035621", "0.6004008", "0.59770346", "0.59703135", "0.5962143", "0.5947392", "0.59455967", "0.5932184", "0.5915287", "0.5899517", "0.5870282", "0.58419174", "0.58082914", "0.5802615", "0.57956...
0.7962714
0
/ Tests the finish tree functionality of num comments Ensures methods are invoked correctly and logged Method is ignored because AbstractCheck.log(...) cannot be invoked, and will throw an exception.
@Test @Ignore public void finishTree_Test() { // arrange ut = new NumCommentsCheck(); // Sanity check -- not part of test assertEquals(0, ut.getNumComments()); // Create a stub of a comment_end and comment_begin ast. DetailAST ast = PowerMockito.mock(Detai...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void endCheck() {\n\t}", "public static void endStep() {\n\t\tTestNotify.log(GenLogTC() + \"has been tested.\");\n\t}", "void check () {\r\n OzcError.setLineNumber (body.line_no);\r\n\r\n check_constructor:\r\n\r\n if (method.isNew () && !method.wasCalledSuper ()) {\r\n ClassTyp...
[ "0.57907057", "0.56288433", "0.55574226", "0.5471071", "0.5413077", "0.5377788", "0.5268759", "0.51586866", "0.51178885", "0.50859964", "0.50409865", "0.50385946", "0.5037029", "0.50369775", "0.502578", "0.50234914", "0.5011014", "0.50079125", "0.49978328", "0.49975744", "0.4...
0.74928683
0
create gregorian calendar's object
public static void main(String[] args) { GregorianCalendar date = new GregorianCalendar(); // display current date time System.out.print(date.get(GregorianCalendar.YEAR) + "/"); System.out.print(date.get(GregorianCalendar.MONTH) + "/"); System.out.print(date.get(GregorianCalenda...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createCalendar() {\n myCALENDAR = Calendar.getInstance();\r\n DAY = myCALENDAR.get(Calendar.DAY_OF_MONTH);\r\n MONTH = myCALENDAR.get(Calendar.MONTH) + 1;\r\n YEAR = myCALENDAR.get(Calendar.YEAR);\r\n HOUR = myCALENDAR.get(Calendar.HOUR_OF_DAY);\r\n MINUTE = m...
[ "0.7126938", "0.6889595", "0.65019983", "0.63028103", "0.62771565", "0.6266669", "0.6230348", "0.6219034", "0.61455816", "0.6103805", "0.6093821", "0.6074488", "0.6073587", "0.6061196", "0.6061196", "0.60419333", "0.60111123", "0.60084385", "0.6005692", "0.5997246", "0.598652...
0.0
-1
Creo un producto del modelo nuevo.
public void grabarUsuario(UsuarioDto dto){ Usuario usuario = new Usuario(); // Setarle los valores que vienen del dto usuario.setNombre(dto.getNombre()); usuario.setApellido(dto.getApellido()); // Grabo el producto usuarioDao.saveOrUpdate(usuario); log.info("Se grabó el producto: " + usuario.getI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Result newProduct() {\n Form<models.Product> productForm = form(models.Product.class).bindFromRequest();\n if(productForm.hasErrors()) {\n return badRequest(\"Tag name cannot be 'tag'.\");\n }\n models.Product product = productForm.get();\n product.save();\n return ok(product.t...
[ "0.6907129", "0.6711113", "0.6700463", "0.6680394", "0.66527134", "0.6637889", "0.65859836", "0.6579051", "0.6546166", "0.6535187", "0.6490834", "0.64854866", "0.6455355", "0.64334685", "0.6398805", "0.6398651", "0.6339968", "0.63382083", "0.6337397", "0.63224787", "0.6307795...
0.0
-1
Levanto el producto a actualizar desde la DB.
public void actualizarUsuario(UsuarioDto dto){ Usuario usuario = usuarioDao.load(dto.getId()); // Seteo los valores a actualizar usuario.setNombre(dto.getNombre()); usuario.setApellido(dto.getApellido()); // Actualizo en la db usuarioDao.update(usuario); log.info("Se actualizo el producto: " + dt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Producto actualizar(Producto producto) throws IWDaoException;", "public int actualizar(Producto producto) throws Exception {\n\t\ttry{\n\t\t\tthis.objCnx = new Conexion(\"MYSQL\");\n\t\t\tthis.objCnx.conectarBD();\n\t\t\tString sql = \"UPDATE conftbc_producto SET nombre_producto=?, imagen=?, idcategoria=?...
[ "0.8063068", "0.6919973", "0.6738068", "0.6592214", "0.6587169", "0.65598184", "0.6559279", "0.65366775", "0.6523046", "0.65097624", "0.64802045", "0.64576817", "0.64546835", "0.6439015", "0.6402903", "0.6400138", "0.63584244", "0.633807", "0.6329202", "0.6320156", "0.6315052...
0.5987363
47
/ FileWriter outFile; BufferedWriter outBuffer; String file;
protected Object find(Class<?> cls, Serializable id) throws DoesNotExistException { if (id == null) { throw new IllegalArgumentException("find(class, id) has been given null id. Class is " + cls.getName() + "."); } else if (id.equals(0)) { throw new IllegalArgumentException("find(class, id) has been ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void writeFile(String line, BufferedWriter theOutFile) throws Exception {\n\t\ttheOutFile.append(line);\t\t\t// write the line out\n\t\ttheOutFile.newLine();\t\t\t\t// skip to the next line\t\t\n\t}", "private static void prepareOutputFile() {\n try {\n outputFileBuffer = new BufferedWr...
[ "0.68151927", "0.6757322", "0.6635127", "0.662896", "0.65705526", "0.653425", "0.65171486", "0.6506235", "0.64611983", "0.64586014", "0.64156306", "0.6354036", "0.6353831", "0.6306771", "0.62804794", "0.62526494", "0.6216209", "0.62111837", "0.6165755", "0.6138874", "0.609094...
0.0
-1
This is the default constructor
public Records_Panel() { super(); initialize(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "public Constructor(){\n\t\t\n\t}", "defaultConstructor(){}", "@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty\n }", "public Orbiter() {\n }", "public Pitonyak_09_02() {\r\n }", "public PSRelation()\n {\n }", "p...
[ "0.85315686", "0.8274922", "0.75848484", "0.74773645", "0.7456932", "0.7447545", "0.7443651", "0.7441528", "0.7410326", "0.74039483", "0.7391621", "0.7377517", "0.73672515", "0.7351425", "0.73242426", "0.7324195", "0.73132765", "0.73016304", "0.7279156", "0.7262864", "0.72578...
0.0
-1
This method initializes this
private void initialize() { this.setLayout(new BorderLayout()); this.setBounds(new Rectangle(0, 0, 780, 530)); this.add(getJPanel_table(), BorderLayout.CENTER); this.add(getJPanel_button(), BorderLayout.EAST); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override public void init()\n\t\t{\n\t\t}", "public void initialize()\n {\n }", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "public void init() {\n \n }", "@Override\n\t\tpublic void init() {\n\t\t}", "protected void initialize() {\n \t\n }", "@Override\r\n\tpub...
[ "0.8354825", "0.8309513", "0.8283604", "0.8257773", "0.8200911", "0.8199891", "0.8150085", "0.812387", "0.8104957", "0.8103473", "0.8103473", "0.8103473", "0.80656415", "0.8054776", "0.8038111", "0.8030163", "0.8019929", "0.7993678", "0.7993678", "0.7987857", "0.798652", "0...
0.0
-1
This method initializes getJPanel_table_spect
private JScrollPane getJPanel_table_spect() { if (jScrollPane_table_spect == null) { jScrollPane_table_spect = new JScrollPane(); jScrollPane_table_spect.setName("jScrollPane_table_spect"); jScrollPane_table_spect.setViewportView(getJTable_spect()); jScrollPane_table_spect.setFont(new Font("Dialog", Font....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JPanel getJPanel_table() {\n\t\tif (jPanel_table == null) {\n\t\t\tjPanel_table = new JPanel();\n\t\t\tjPanel_table.setLayout(c);\n\t\t\tjPanel_table.add(getJPanel_table_spect(), getJPanel_table_spect().getName());\n\t\t\tjPanel_table.add(getJPanel_table_member(), getJPanel_table_member().getName());\n\t\t...
[ "0.7788402", "0.7646407", "0.74304503", "0.738918", "0.7353601", "0.7342117", "0.7327611", "0.72986746", "0.72986203", "0.72899574", "0.728454", "0.7248786", "0.72318625", "0.7223615", "0.72161067", "0.72117937", "0.7160241", "0.7159788", "0.70722246", "0.70534307", "0.703121...
0.7146045
18
This method initializes getJPanel_table_member
private JScrollPane getJPanel_table_member() { if (jScrollPane_table_member == null) { jScrollPane_table_member = new JScrollPane(); jScrollPane_table_member.setName("jScrollPane_table_member"); jScrollPane_table_member.setViewportView(getJTable_member()); jScrollPane_table_member.setFont(new Font("Dialog...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JPanel getJPanel_table() {\n\t\tif (jPanel_table == null) {\n\t\t\tjPanel_table = new JPanel();\n\t\t\tjPanel_table.setLayout(c);\n\t\t\tjPanel_table.add(getJPanel_table_spect(), getJPanel_table_spect().getName());\n\t\t\tjPanel_table.add(getJPanel_table_member(), getJPanel_table_member().getName());\n\t\t...
[ "0.7780569", "0.7344795", "0.73177284", "0.7192694", "0.7134484", "0.7118336", "0.7103959", "0.7098316", "0.7090686", "0.7040826", "0.69765955", "0.6971501", "0.6937571", "0.6910256", "0.69035447", "0.6885336", "0.6877155", "0.68723446", "0.6854956", "0.68438053", "0.6837257"...
0.70617527
9
This method initializes getJPanel_table_room
private JScrollPane getJPanel_table_room() { if (jScrollPane_table_room == null) { jScrollPane_table_room = new JScrollPane(); jScrollPane_table_room.setName("jScrollPane_table_room"); jScrollPane_table_room.setViewportView(getJTable_room()); jScrollPane_table_room.setFont(new Font("Dialog", Font.PLAIN, 1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JTable getJTable_room() {\n\t\troomColumn.add(\"Room\");\n\t\troomColumn.add(\"Booking Date\");\n\t\troomColumn.add(\"Time-period\");\n\t\troomColumn.add(\"Specialist Name\");\n\t\troomColumn.add(\"Member ID\");\n\t\tfor (int i=0; i<50; i++){\n\t\t\tVector<String> row = new Vector<String>();\n\t\t\trow.add...
[ "0.76404774", "0.7608988", "0.706471", "0.70347714", "0.7015324", "0.7014151", "0.6988497", "0.6972338", "0.69672745", "0.6953115", "0.69289273", "0.6912193", "0.68568116", "0.6821713", "0.67540956", "0.6744438", "0.67046696", "0.6704492", "0.6690479", "0.668045", "0.6651612"...
0.7234909
2
This method initializes jPanel_button
private JPanel getJPanel_button() { JPanel jPanel_button = null; FlowLayout flowLayout1 = new FlowLayout(); flowLayout1.setHgap(15); flowLayout1.setVgap(40); jPanel_button = new JPanel(); jPanel_button.setLayout(flowLayout1); jPanel_button.setPreferredSize(new Dimension(200, 530)); jPanel_button...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initButton() {\r\n\t\tthis.panelButton = new JPanel();\r\n\t\tthis.panelButton.setLayout(new BoxLayout(this.panelButton,\r\n\t\t\t\tBoxLayout.LINE_AXIS));\r\n\t\tthis.modifyButton = new JButton(\"Modify\");\r\n\t\tthis.buttonSize(this.modifyButton);\r\n\t\tthis.deleteButton = new JButton(\"Delete\");\...
[ "0.7949242", "0.74934304", "0.73524904", "0.734642", "0.7330397", "0.72507447", "0.72470343", "0.7223767", "0.71728945", "0.7108568", "0.70828617", "0.70518553", "0.6980915", "0.69775367", "0.69339293", "0.6930461", "0.69235975", "0.6922372", "0.6883647", "0.68579507", "0.683...
0.664929
48
This method initializes jButton_new
private JButton getJButton_spect() { if (jButton_spect == null) { jButton_spect = new JButton(); jButton_spect.setText("Spectialist Records"); jButton_spect.setPreferredSize(new Dimension(173, 28)); // Add listener to the Specialist Records jButton_spect.addMouseListener(new MouseAdapter(){ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void buttonInitiation() {\n submit = new JButton(\"Submit\");\n submit.setBounds(105, 250, 90, 25);\n this.add(submit);\n goBack = new JButton(\"Return to Main Menu\");\n goBack.setBounds(205, 250, 200, 25);\n this.add(goBack);\n }", "private void btnNewAction...
[ "0.74415755", "0.7311065", "0.7212949", "0.71944934", "0.716273", "0.7077867", "0.70448047", "0.70318377", "0.7003565", "0.69940877", "0.69853055", "0.6926967", "0.6898511", "0.6890528", "0.68646485", "0.68450093", "0.6809864", "0.6807689", "0.6765258", "0.6761367", "0.675544...
0.0
-1
This method initializes jButton_change
private JButton getJButton_member() { if (jButton_member == null) { jButton_member = new JButton(); jButton_member.setText("Member Records"); jButton_member.setPreferredSize(new Dimension(173, 28)); jButton_member.addMouseListener(new MouseAdapter(){ public void mouseClicked(MouseEvent e){ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initialize() {\r\n\r\n // add default buttons\r\n addButton(getToggleButton(),\"toggle\");\r\n addButton(getFinishButton(),\"finish\");\r\n addButton(getCancelButton(),\"cancel\");\r\n addActionListener(new ActionListener() {\r\n\r\n public void actionPerf...
[ "0.69706595", "0.69509876", "0.6593919", "0.6588206", "0.6566595", "0.64837635", "0.643215", "0.64007676", "0.63897353", "0.6374054", "0.63659465", "0.6365564", "0.6353075", "0.63345695", "0.6321225", "0.63203925", "0.6318054", "0.6315025", "0.63145554", "0.62753946", "0.6275...
0.0
-1
This method initializes jButton_roombook
private JButton getJButton_room() { if (jButton_room == null) { jButton_room = new JButton(); jButton_room.setText("Room Records"); jButton_room.setPreferredSize(new Dimension(173, 28)); jButton_room.addMouseListener(new MouseAdapter(){ public void mouseClicked(MouseEvent e){ c.last(jP...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NewRoomFrame() {\n initComponents();\n }", "public void initializeBtn(){\r\n\t\t\r\n\t\t//Populate Table\r\n\t\tinitializeTable();\r\n\t\t\r\n\t\t//Initialize form\r\n\t\tinitializeForm();\r\n\t\t\r\n\t}", "private void buttonInitiation() {\n submit = new JButton(\"Submit\");\n s...
[ "0.63289624", "0.6315366", "0.61932474", "0.61698514", "0.6160432", "0.61524457", "0.61480916", "0.612282", "0.6053371", "0.60481936", "0.60454965", "0.6042715", "0.6025238", "0.6015172", "0.6010401", "0.6004275", "0.5995347", "0.5985959", "0.5980755", "0.59676147", "0.595272...
0.68843615
0
This method initializes jTable_spectbook
private JTable getJTable_spect() { spectColumn.add("Specialist Name"); spectColumn.add("Specialist Type"); spectColumn.add("Booking Date"); spectColumn.add("Time-period"); spectColumn.add("Member ID"); spectColumn.add("Room"); for (int i=0; i<50; i++){ Vector<String> row = new Vector<String>(); ro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setUpTable()\n {\n //Setting the outlook of the table\n bookTable.setColumnReorderingAllowed(true);\n bookTable.setColumnCollapsingAllowed(true);\n \n \n bookTable.setContainerDataSource(allBooksBean);\n \n \n //Setting up the table dat...
[ "0.7062446", "0.6779234", "0.6754656", "0.6726753", "0.6685339", "0.6648149", "0.6622625", "0.65419215", "0.6459775", "0.6437311", "0.64277124", "0.6411274", "0.6403941", "0.6402661", "0.6398041", "0.6395065", "0.6376742", "0.63599443", "0.6355582", "0.6354155", "0.6342447", ...
0.7119024
0
This method initializes getJTable_member
private JTable getJTable_member() { memberColumn.add("Member ID"); memberColumn.add("Member Name"); memberColumn.add("Booking Date"); memberColumn.add("Time-period"); memberColumn.add("Specialist Name"); memberColumn.add("Specialist Type"); memberColumn.add("Room"); for (int i=0; i<50; i++){ Vector<...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Practice_JTable() {\n initComponents();\n }", "private void initTable() {\n \t\t// init table\n \t\ttable.setCaption(TABLE_CAPTION);\n \t\ttable.setPageLength(10);\n \t\ttable.setSelectable(true);\n \t\ttable.setRowHeaderMode(Table.ROW_HEADER_MODE_INDEX);\n \t\ttable.setColumnCollapsingAllowed(t...
[ "0.7202597", "0.71713144", "0.7170526", "0.70651424", "0.7036032", "0.69501615", "0.69283634", "0.69178015", "0.69068795", "0.68913525", "0.68680155", "0.6815175", "0.6780719", "0.6714037", "0.6699818", "0.6690162", "0.66804194", "0.66588354", "0.6643893", "0.66393524", "0.66...
0.7865893
0
This method initializes getJTable_room
private JTable getJTable_room() { roomColumn.add("Room"); roomColumn.add("Booking Date"); roomColumn.add("Time-period"); roomColumn.add("Specialist Name"); roomColumn.add("Member ID"); for (int i=0; i<50; i++){ Vector<String> row = new Vector<String>(); row.add(""); row.add(""); row.add(""); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public jpQLHoKhau() {\n initComponents();\n tableModel = (DefaultTableModel) tblDG.getModel();\n tableModel2 = (DefaultTableModel) tblTP.getModel();\n fillTblDG();\n fillTblTP();\n }", "@Override\n\tpublic void init() {\n\t\ttable = new JTable(dm);\n\t\tJScrollPane scrollPan...
[ "0.6850947", "0.6832721", "0.6822984", "0.67811036", "0.6696544", "0.66196144", "0.6588675", "0.6582257", "0.6565796", "0.6545481", "0.6527966", "0.6527478", "0.65027624", "0.64920723", "0.64651924", "0.6454445", "0.6438137", "0.643353", "0.6391204", "0.6373005", "0.6356596",...
0.8131814
0
This method initializes jPanel_table
private JPanel getJPanel_table() { if (jPanel_table == null) { jPanel_table = new JPanel(); jPanel_table.setLayout(c); jPanel_table.add(getJPanel_table_spect(), getJPanel_table_spect().getName()); jPanel_table.add(getJPanel_table_member(), getJPanel_table_member().getName()); jPanel_table.add(getJPanel...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initComponents() {\n\t\tfixedSizeTable = new FixedSizeTable();\r\n\t\tdataModel = new NonEditableTableModel();\r\n\t\t\r\n\t\tfixedSizeTable.getTable().setModel(dataModel);\r\n\t\tfixedSizeTable.getTable().setEnabled(false);\r\n\t\r\n\t\t// initialize selection listener\r\n\t\ttableMouseListener = new...
[ "0.78751636", "0.7702857", "0.7684242", "0.7669581", "0.7652404", "0.7524306", "0.75002706", "0.7479476", "0.7425522", "0.74232805", "0.7416508", "0.7400783", "0.7390203", "0.73831207", "0.7366179", "0.73632497", "0.7322301", "0.7318331", "0.72970355", "0.7214414", "0.7210061...
0.69608516
40
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() { jLabel1 = new javax.swing.JLabel(); jButton_Reset = new javax.swing.JButton(); jButton_Send = new javax.swing.JButton(); jButt...
{ "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.7322098", "0.7292275", "0.7292275", "0.7292275", "0.72872275", "0.72507876", "0.7214814", "0.7209056", "0.7197325", "0.71918863", "0.71856284", "0.7160448", "0.7148918", "0.7094831", "0.70820963", "0.70585436", "0.6988433", "0.6978755", "0.69569016", "0.6955245", "0.694635...
0.0
-1
Creates new form SearchFlight
public SearchFlight() { initComponents(); Icon img1=new ImageIcon("Images\\click.jpg"); Icon img2=new ImageIcon("Images\\279844-alexfas01.jpg"); jButton2.setIcon(img1); jLabel8.setIcon(img2); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(value = \"/flight/{flightNumber}/**\", method = RequestMethod.POST, produces = {\n\t\t\tMediaType.APPLICATION_XML_VALUE })\n\tpublic Flight createFlight(@PathVariable(\"flightNumber\") String flightNumber, @RequestParam(\"price\") int price,\n\t\t\t@RequestParam(\"from\") String from, @RequestParam...
[ "0.5881499", "0.5801056", "0.5768073", "0.5744616", "0.5737466", "0.5717553", "0.568839", "0.56720793", "0.5596259", "0.5535284", "0.55301064", "0.5501985", "0.5501774", "0.542492", "0.5407511", "0.53911805", "0.539036", "0.5371879", "0.5354125", "0.53535223", "0.53330106", ...
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel2 = new javax.swing.JLabel(); jComboBox3 = new javax.swing.JComboBox(); jLabel1 = new javax.swing.JLabel(); jComboBox1 =...
{ "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.73185146", "0.7290127", "0.7290127", "0.7290127", "0.7285798", "0.7247533", "0.7214021", "0.720785", "0.71952385", "0.71891224", "0.7184117", "0.7158779", "0.7147133", "0.70921415", "0.70792264", "0.7055538", "0.6986984", "0.6976409", "0.6955238", "0.69525516", "0.69452786...
0.0
-1
here's going on main job of summater
public static void main(final String[] args) { SimpleSummater summater = new SimpleSummater(); final int[] array = {10, 20, 1, 25}; System.out.println(summater.sum(array)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) throws IOException, ClassNotFoundException, InterruptedException\n\t{\n\t\tCubeProperties cubePropertyObj = CubeProperties.readCubeProperties();\n\t\t\n\t\t// Map of dbColumn name and the name appearing of that column in Cube\n\t\tMap <String, String> dimensionMap = cubePrope...
[ "0.5882792", "0.5703055", "0.5698973", "0.568606", "0.5664637", "0.5631321", "0.56144744", "0.56033146", "0.5600613", "0.5599516", "0.5598074", "0.55923826", "0.5572981", "0.5544549", "0.55443865", "0.55391586", "0.55382967", "0.55382967", "0.55382967", "0.5538229", "0.552401...
0.5443575
28
manager.createQuery("select c from Empresatb09EmpresaRegraRenegociacao c where c.empresatb01Empresa ?1 and c.ativo = ?2");
public List<Empresatb09EmpresaRegraRenegociacao> buscarPorPessoaStatus(Empresatb01Empresa vo, boolean status) { StringBuilder query = new StringBuilder(); Object[] elements = new Object[2]; query.append(" select c from Empresatb09EmpresaRegraRenegociacao c where c.empresatb01Empresa = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Query(value = \"SELECT * FROM proveedor WHERE (:idTipoProveedor = 0 OR\"\n + \" idTipoProveedor=:idTipoProveedor) AND (:idCondCompra=0 OR idCondCompra=:idCondCompra)\"\n + \" AND (:estadoCuenta = 2 OR estaActiva=:estadoCuenta)AND (:idLocalidad=0 OR \"\n + \"idLocalidad=:idLocalida...
[ "0.6948625", "0.6694294", "0.6561773", "0.65265024", "0.64958847", "0.6408093", "0.6396522", "0.63556004", "0.6347179", "0.6322943", "0.6283258", "0.6274726", "0.62030065", "0.61749554", "0.61334604", "0.6131113", "0.60728234", "0.60420877", "0.6007635", "0.59920454", "0.5979...
0.0
-1
if there's no requested attendee, whole day is available
public Collection<TimeRange> query(Collection<Event> events, MeetingRequest request) { if(request.getAttendees().isEmpty()){ return Arrays.asList(TimeRange.WHOLE_DAY); } // nobody has time to meet for more than a day if(request.getDuration() > TimeRange.WHOLE_DAY.duration()){ return Arrays.a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getEligibleForAutoApproval(Date todayAtMidnight);", "Date getRequestedAt();", "boolean hasIsRedeemed();", "@Test\n public void testAddAttendee() throws Exception {\n EventData deltaEvent = prepareDeltaEvent(createdEvent);\n TestUser testUser3 = context2.acquireUser();\n ...
[ "0.58139575", "0.574794", "0.57246834", "0.5603801", "0.55993676", "0.55879295", "0.554028", "0.5538961", "0.55290115", "0.5509965", "0.55032605", "0.54896456", "0.54861945", "0.54826117", "0.5475152", "0.5463919", "0.54520565", "0.5447074", "0.5445399", "0.5376086", "0.53760...
0.50841683
87
returns a list of already existing commitments for all required attendees
public List<TimeRange> getUnavailableTimesForAttendees(Collection<Event> events, Collection<String> listOfAttendees){ List<TimeRange> unavailableTimes = new ArrayList<>(); for(String attendee : listOfAttendees) { for(Event event : events) { Set<String> eventAttendees = event.getAttendees(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Set<Committee> getAllCommittee(Editor editor) {\n Set<Committee> committeeSet = new HashSet<>();\n\n\n return committeeSet;\n }", "public Vector<Commitment> setCommitmentCandidates(Vector<Commitment> commitments)\n {\n int index;\n Commitment aCommitment;\n...
[ "0.589173", "0.58534485", "0.56653625", "0.5622732", "0.54364884", "0.54279995", "0.53821534", "0.52418727", "0.523959", "0.510448", "0.50706935", "0.50072217", "0.4985549", "0.49462128", "0.49285823", "0.49220243", "0.48955476", "0.48526466", "0.4846223", "0.484129", "0.4840...
0.0
-1
returns all available times given already existing commitments
public Collection<TimeRange> getAvailableTimes(List<TimeRange> unavailableTimes, long requestDuration) { int startTime = TimeRange.START_OF_DAY; Collections.sort(unavailableTimes, TimeRange.ORDER_BY_START); Collection<TimeRange> availableTimes = new ArrayList<>(); for(TimeRange unavailableTime : un...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ImmutableList<SchemaOrgType> getTimeRequiredList();", "public List<TimeSpan> getRequestedTimes()\r\n {\r\n return myRequestedTimes;\r\n }", "public String getAvailableTime() {\n String output = \"\";\n for (int i = 0; i < 24; ++i) {\n if (availableTime[i] == true) {\n ...
[ "0.54495144", "0.53266644", "0.5281771", "0.5224483", "0.5210936", "0.5125734", "0.51056004", "0.5101462", "0.5048614", "0.50463283", "0.50330156", "0.5021078", "0.500929", "0.49963763", "0.4983202", "0.49803665", "0.49536645", "0.4926928", "0.4885847", "0.48657516", "0.48624...
0.5632587
0
This interface represents a context node in an XDI graph.
public interface ContextNode extends Serializable, Comparable<ContextNode> { /* * General methods */ /** * Get the graph of this context node. * @return The graph of this context node. */ public Graph getGraph(); /** * Every context node has a parent context node, except the root context...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract ContextNode getContextNode();", "public ContextNode getContextNode();", "public ContextNode getDeepContextNode(XDI3Segment contextNodeXri);", "public final int getContextNode(){\n return this.getCurrentNode();\n }", "IContextNode wdGetContext();", "public Instruction loadContext...
[ "0.78219306", "0.76482373", "0.6511984", "0.6332196", "0.6167413", "0.60661983", "0.60377926", "0.6035677", "0.6001259", "0.5993987", "0.5940186", "0.59372675", "0.5934588", "0.5869283", "0.5854015", "0.5845821", "0.5796437", "0.56682485", "0.5646571", "0.56148374", "0.561393...
0.7546125
2
/ General methods Get the graph of this context node.
public Graph getGraph();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ParseTree getGraph() {\n return graph;\n }", "public Graph getGraph()\n\t{\n\t\treturn graph;\n\t}", "public Graph<V, E> getGraph() {\n\t\treturn graph;\n\t}", "@Pure\n\tpublic SGraph getGraph() {\n\t\treturn this.graph.get();\n\t}", "public Graph getGraph() {\n\t\treturn this.Graph;\n\t}"...
[ "0.76413125", "0.7397606", "0.734276", "0.73325104", "0.73031247", "0.7253982", "0.72386646", "0.706903", "0.69007653", "0.69007653", "0.6898596", "0.6876421", "0.6720045", "0.669624", "0.66852367", "0.6659398", "0.6657967", "0.6641238", "0.663625", "0.6598977", "0.6512213", ...
0.7426441
1
Every context node has a parent context node, except the root context node.
public ContextNode getContextNode();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected final Context getParent()\n {\n return m_parent;\n }", "public abstract ContextNode getContextNode();", "public Handle<GameAppContext> getParentContext();", "public boolean isRootContextNode();", "public final Node getRootContext() {\n return rootContext;\n }", "public final int ...
[ "0.7229246", "0.6428691", "0.62989783", "0.6288817", "0.6279354", "0.62234753", "0.62060785", "0.6164783", "0.61494243", "0.60912335", "0.6072628", "0.605964", "0.60426986", "0.60307014", "0.60040903", "0.60022354", "0.5986953", "0.5986777", "0.59864604", "0.5986227", "0.5975...
0.6210835
6
Every context node has ancestor context nodes, except the root context node.
public ContextNode getContextNode(int arcs);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRootContextNode();", "public boolean containsContextNodes();", "public ReadOnlyIterator<ContextNode> getAllContextNodes();", "public ReadOnlyIterator<ContextNode> getAllLeafContextNodes();", "public boolean isRoot() { return getAncestorCount()<2; }", "public long getAllContextNodeCount(...
[ "0.6451166", "0.63333654", "0.63167286", "0.6187233", "0.59870034", "0.58723557", "0.58417493", "0.58025074", "0.57007414", "0.5665859", "0.5590419", "0.5566169", "0.5557224", "0.54081863", "0.53549314", "0.5311133", "0.53110707", "0.52911824", "0.52723503", "0.52652436", "0....
0.0
-1
Checks if this context node is the root context node.
public boolean isRootContextNode();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRoot()\r\n\t{\r\n\t\treturn (m_parent == null);\r\n\t}", "public boolean isRoot() {\r\n return (_parent == null);\r\n }", "public boolean isRoot() {\n return !hasParent();\n }", "public boolean isRoot(){\n\t\treturn bound.isRoot();\n\t}", "boolean isRoot()\n {\n ...
[ "0.75895625", "0.7566031", "0.75610805", "0.73221344", "0.72829455", "0.7251963", "0.7238852", "0.7218081", "0.71214724", "0.70997834", "0.69776833", "0.68653554", "0.67969793", "0.6710662", "0.66805136", "0.6673287", "0.6671869", "0.666163", "0.6655686", "0.6653484", "0.6648...
0.87106365
0
Checks if this context node is a leaf context node.
public boolean isLeafContextNode();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isLeaf(){\n\t\treturn (leftChild == null) && (rightChild == null);\n\t}", "public boolean isLeaf() {\n\t\treturn (leftChild == null) && (rightChild == null);\n\t}", "public boolean isLeaf() {\n return this.type == Type.LEAF;\n }", "public boolean isLeaf() {\n return this.leftC...
[ "0.7585246", "0.75715667", "0.75715554", "0.75321853", "0.7520265", "0.7484424", "0.74614733", "0.7455264", "0.745233", "0.7445607", "0.74429166", "0.743533", "0.7426274", "0.74212545", "0.7397907", "0.7397907", "0.7393404", "0.7380616", "0.7347032", "0.7339358", "0.7327326",...
0.83726174
0
Deletes this context node.
public void delete();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void delContextNodes();", "public void deleteNode() {\n TreeNode pNode = this.getParentNode();\n int id = this.getSelfId();\n\n if (pNode != null) {\n pNode.deleteChildNode(id);\n }\n }", "public void delete() {\n this.root = null;\n }", "public fina...
[ "0.68697053", "0.65396667", "0.6436466", "0.61444193", "0.6133585", "0.6133585", "0.6133585", "0.6133585", "0.6127026", "0.6127026", "0.6127026", "0.6127026", "0.6127026", "0.6096235", "0.6072942", "0.60292107", "0.6025672", "0.5999266", "0.58993196", "0.5877722", "0.58700335...
0.52123547
83
Clears the context node. This is equivalent to calling delContextNodes(), delRelations() and delLiterals().
public void clear();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clear() {\n context = null;\n nestedElements.clear();\n }", "public Builder clearContext() {\n \n context_ = 0;\n onChanged();\n return this;\n }", "public Builder clearContext() {\n \n context_ = getDefaultInstance().getContext();\n onCh...
[ "0.72236305", "0.7034817", "0.6881338", "0.6881338", "0.6808197", "0.6808197", "0.66130984", "0.66047025", "0.6599307", "0.658111", "0.6575594", "0.65657276", "0.6549061", "0.6529681", "0.65206635", "0.65206635", "0.650501", "0.64951414", "0.6494959", "0.6449332", "0.6345827"...
0.5704668
91
Checks if the context node is empty. This is equivalent to calling ! ( containsContextNodes() || containsRelations() || containsLiterals() ).
public boolean isEmpty();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isEmpty() {\r\n\t\treturn root == null;\r\n\t}", "public boolean isEmpty() {\r\n\t\treturn root == null;\r\n\t}", "public boolean isEmpty() {\n\t\treturn root == null;\n\t}", "public boolean isEmpty()\r\n {\r\n return root == null;\r\n }", "public boolean isEmpty()\r\n {\r...
[ "0.72774816", "0.72774816", "0.72698724", "0.7245736", "0.7228745", "0.72257024", "0.7220713", "0.7220713", "0.7220713", "0.7220713", "0.7220713", "0.7220713", "0.72176933", "0.7204504", "0.71687317", "0.71687317", "0.7163592", "0.7137857", "0.71327883", "0.71100354", "0.7110...
0.0
-1
Every context node has an associated arc XRI. This returns null for the root context node.
public XDI3SubSegment getArcXri();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ContextNode getContextNode(XDI3SubSegment arcXri);", "public boolean containsContextNode(XDI3SubSegment arcXri);", "public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri);", "public ContextNode setContextNode(XDI3SubSegment arcXri);", "public Relation getRelation(XDI3Segment...
[ "0.68092644", "0.6422479", "0.58830684", "0.5881405", "0.5682519", "0.56194305", "0.55356425", "0.5534134", "0.5510999", "0.5341832", "0.52761185", "0.52633464", "0.526238", "0.5254302", "0.5236935", "0.52184176", "0.519778", "0.51786894", "0.5171142", "0.51332814", "0.512953...
0.65542275
1
Gets the XRI of this context node. This returns () for the root context node.
public XDI3Segment getXri();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toXRI(\n ){\n if(this.xri == null) {\n \tfinal String baseRepresentation = this.base.toXRIRepresentation();\n\t\t\tthis.xri = (\n \t\tthis.size == 1 ? (\n \t\t\tbaseRepresentation.startsWith(\"!\") ? \"xri://@openmdx\" : \"xri://@openmdx*\"\n \t\t) : (\n \...
[ "0.65338653", "0.64646506", "0.59508926", "0.5926122", "0.5901843", "0.58606243", "0.58412975", "0.5812827", "0.57950974", "0.5785236", "0.57676387", "0.5764803", "0.57583755", "0.57231635", "0.57202005", "0.5684762", "0.5677405", "0.5677405", "0.56624675", "0.56468034", "0.5...
0.5896027
5
/ Methods related to context nodes of this context node Creates a new context node and adds it to this context node, or returns an existing context node.
public ContextNode setContextNode(XDI3SubSegment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ContextNode getContextNode();", "public abstract ContextNode getContextNode();", "public IPrivateTestCompView.IContextElement createAndAddContextElement() {\r\n return (IPrivateTestCompView.IContextElement)createAndAddElement();\r\n }", "public void makeContexts() {\n \n // mak...
[ "0.69091326", "0.6797953", "0.62537694", "0.6192213", "0.6191688", "0.5848143", "0.5848143", "0.5809302", "0.5802137", "0.57043654", "0.5636656", "0.56069285", "0.55813456", "0.5532588", "0.55162996", "0.5504305", "0.5493444", "0.548115", "0.5415243", "0.5399275", "0.5395529"...
0.46794283
86
Deep version of ContextNode.setContextNode(XDI3SubSegment), operates at a context node further down in the graph.
public ContextNode setDeepContextNode(XDI3Segment contextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ContextNode setContextNode(XDI3SubSegment arcXri);", "public ContextNode getDeepContextNode(XDI3Segment contextNodeXri);", "public Literal setDeepLiteral(XDI3Segment contextNodeXri, Object literalData);", "public ContextNode getContextNode(XDI3SubSegment arcXri);", "public Relation setDeepRelation(X...
[ "0.6771892", "0.58963186", "0.56452286", "0.5613026", "0.5321472", "0.5270944", "0.526617", "0.5150659", "0.4973178", "0.49459037", "0.48884583", "0.4859129", "0.48158988", "0.47826073", "0.4739875", "0.46971416", "0.46968445", "0.4689955", "0.46295586", "0.4427175", "0.43879...
0.7797827
0
Returns the context node with a given arc XRI.
public ContextNode getContextNode(XDI3SubSegment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ContextNode setContextNode(XDI3SubSegment arcXri);", "public Relation getRelation(XDI3Segment arcXri);", "public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri);", "public ContextNode getDeepContextNode(XDI3Segment contextNodeXri);", "public Relation getRelation(XDI3Segment ...
[ "0.70657086", "0.68237436", "0.6653067", "0.6559134", "0.6557653", "0.6514077", "0.64076966", "0.635879", "0.57822865", "0.5770811", "0.5599176", "0.5521856", "0.5487295", "0.5404888", "0.5376298", "0.5243985", "0.5230168", "0.52245635", "0.5217742", "0.52034426", "0.51695985...
0.8481111
0
Deep version of ContextNode.getContextNode(XDI3SubSegment), operates at a context node further down in the graph.
public ContextNode getDeepContextNode(XDI3Segment contextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ContextNode setDeepContextNode(XDI3Segment contextNodeXri);", "public ReadOnlyIterator<ContextNode> getDeepContextNodes(XDI3Segment contextNodeXri);", "public ContextNode getContextNode(XDI3SubSegment arcXri);", "public ContextNode getContextNode();", "public abstract ContextNode getContextNode();",...
[ "0.7288738", "0.688633", "0.6674079", "0.6466857", "0.64636165", "0.6276626", "0.59742415", "0.5847291", "0.581373", "0.5774866", "0.5769002", "0.54798174", "0.54572916", "0.5332953", "0.5317729", "0.51115227", "0.5107168", "0.50421983", "0.5039462", "0.4937375", "0.4936369",...
0.79719704
0
Returns the context nodes of this context node.
public ReadOnlyIterator<ContextNode> getContextNodes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<ContextNode> getAllContextNodes();", "public ContextNode getContextNode();", "public ReadOnlyIterator<ContextNode> getAllLeafContextNodes();", "public abstract ContextNode getContextNode();", "public long getAllContextNodeCount();", "public List<String> getContexts() {\r\n\t\tretu...
[ "0.8066691", "0.7467616", "0.7132798", "0.7045618", "0.689589", "0.688956", "0.671846", "0.66652346", "0.6638708", "0.66353434", "0.65216714", "0.61149704", "0.60968614", "0.601161", "0.5993408", "0.5983893", "0.5976259", "0.5971447", "0.5962857", "0.5961399", "0.59392905", ...
0.7961295
1
Deep version of ContextNode.getContextNodes(), operates at a context node further down in the graph.
public ReadOnlyIterator<ContextNode> getDeepContextNodes(XDI3Segment contextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<ContextNode> getContextNodes();", "public ReadOnlyIterator<ContextNode> getAllContextNodes();", "public ContextNode getContextNode();", "public abstract ContextNode getContextNode();", "public ContextNode getDeepContextNode(XDI3Segment contextNodeXri);", "public ContextNode setDee...
[ "0.6998173", "0.6621004", "0.6576224", "0.65029025", "0.6114892", "0.5997654", "0.5759676", "0.5748749", "0.5700537", "0.5674166", "0.5643779", "0.56339324", "0.56293434", "0.54438245", "0.5402977", "0.5340215", "0.5102781", "0.50481355", "0.50232685", "0.49891657", "0.495350...
0.6842688
1
Returns all context nodes of this context node.
public ReadOnlyIterator<ContextNode> getAllContextNodes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<ContextNode> getContextNodes();", "public ReadOnlyIterator<ContextNode> getAllLeafContextNodes();", "public long getAllContextNodeCount();", "public List<TbNode> getAll() {\n return qureyNodeList(new NodeParam());\n }", "public ContextNode getContextNode();", "@NonNull I...
[ "0.7954941", "0.7852431", "0.7078356", "0.6756435", "0.6729168", "0.6634064", "0.6550542", "0.6512585", "0.6414648", "0.637744", "0.63227445", "0.62858146", "0.62710506", "0.6211493", "0.61832315", "0.61455667", "0.6137839", "0.6036513", "0.6021677", "0.5985479", "0.59557045"...
0.8674595
0
Returns all leaf context nodes of this context node.
public ReadOnlyIterator<ContextNode> getAllLeafContextNodes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<ContextNode> getAllContextNodes();", "public List<PackerTreeNode<T>> getAllLeafNodes() {\n if (children.isEmpty()) {\n return Collections.singletonList(this);\n }\n return children\n .stream()\n .map(PackerTreeNode::getAllLeafN...
[ "0.7113733", "0.67955226", "0.6432873", "0.64305234", "0.6188627", "0.61740565", "0.61246765", "0.6094451", "0.60632396", "0.5997514", "0.5996049", "0.58145356", "0.57732844", "0.5726317", "0.5697708", "0.5670084", "0.56660616", "0.56423074", "0.55987144", "0.5582907", "0.556...
0.85377854
0
Checks if a context node with a given arc XRI exists in this context node.
public boolean containsContextNode(XDI3SubSegment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);", "public boolean containsIncomingRelations(XDI3Segment arcXri);", "public boolean containsRelations(XDI3Segment arcXri);", "public ContextNode getContextNode(XDI3SubSegment arcXri);", "public boolean containsContextNode...
[ "0.7280833", "0.7037114", "0.70330536", "0.62239933", "0.57950217", "0.56536824", "0.5647428", "0.5614623", "0.55981237", "0.5531299", "0.539975", "0.5386204", "0.5377007", "0.53618294", "0.5353086", "0.5353086", "0.53219414", "0.53107727", "0.5285251", "0.527087", "0.5233955...
0.8542264
0
Checks if this context node has one or more context nodes.
public boolean containsContextNodes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSetContextItems() {\r\n return this.contextItems != null;\r\n }", "boolean hasContext();", "boolean hasContext();", "@java.lang.Override\n public boolean hasNode() {\n return node_ != null;\n }", "@java.lang.Override\n public boolean hasNode() {\n ...
[ "0.6621417", "0.65930605", "0.65930605", "0.61828154", "0.61828154", "0.6180712", "0.6152384", "0.6152384", "0.6147974", "0.6107091", "0.6069267", "0.6002227", "0.6002227", "0.59857243", "0.59735703", "0.59735703", "0.59674865", "0.59279466", "0.5927946", "0.59216714", "0.591...
0.79878795
0
Deletes the context node with a given arc XRI.
public void delContextNode(XDI3SubSegment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void delRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);", "public void delRelations(XDI3Segment arcXri);", "public ContextNode getContextNode(XDI3SubSegment arcXri);", "public ContextNode setContextNode(XDI3SubSegment arcXri);", "public void delContextNodes();", "@Override\n\tpubli...
[ "0.74661607", "0.6827044", "0.61003655", "0.60551757", "0.5719307", "0.5540916", "0.55354255", "0.5466979", "0.54537344", "0.54217416", "0.5262846", "0.52383405", "0.52089673", "0.52082247", "0.5196448", "0.5173014", "0.51673394", "0.51651394", "0.51605034", "0.51274186", "0....
0.8691053
0
Deletes all context nodes from this context node.
public void delContextNodes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void deleteAllRelatedContext(String contextMetaDataId);", "public void destroyAll() {\n children.destroyAll();\n }", "public void clear() {\n context = null;\n nestedElements.clear();\n }", "public void delete() {\n this.root = null;\n }", "public void freeNodes(){\n\t\...
[ "0.6748742", "0.6283094", "0.6279832", "0.60867107", "0.6042631", "0.60391974", "0.596172", "0.5909353", "0.5900012", "0.58868426", "0.5863005", "0.5816492", "0.57920045", "0.57920045", "0.57920045", "0.57920045", "0.5770012", "0.5765847", "0.57595575", "0.5752101", "0.575210...
0.81375057
0
Returns the number of context nodes of this context node.
public long getContextNodeCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getAllContextNodeCount();", "public int getNodeCount() {\n return node_.size();\n }", "public int getNodeCount() {\n return nodeCount;\n }", "public int nodesCount() {\n return nodes.size();\n }", "public int getNodeCount() {\n return dataTree.getNodeCount();\n }...
[ "0.8481481", "0.76788986", "0.76188076", "0.7613616", "0.7533321", "0.75155944", "0.75084543", "0.75019014", "0.7491212", "0.7445309", "0.73703665", "0.73664033", "0.73664033", "0.7363734", "0.7363734", "0.7348525", "0.73165447", "0.7307006", "0.7303112", "0.7303112", "0.7291...
0.8806682
0
Returns the number of all context nodes of this context node.
public long getAllContextNodeCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getContextNodeCount();", "public int countNodes(){\r\n \treturn count(root);\r\n }", "public int getNodeCount() {\n resetAllTouched();\n return recurseNodeCount();\n }", "public int getNodeCount() {\n return node_.size();\n }", "public int nodesCount() {\n ...
[ "0.87206304", "0.75623035", "0.7491009", "0.74647295", "0.7413114", "0.7347588", "0.7347588", "0.7330833", "0.7328695", "0.7322636", "0.73156875", "0.7283879", "0.7237749", "0.7174961", "0.7170304", "0.7136555", "0.71268505", "0.71268505", "0.71154606", "0.7095829", "0.709582...
0.8950005
0
/ Methods related to relations of this context node Creates a new relation and adds it to this context node, or returns an existing relation.
public Relation setRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Relation createRelation();", "ContextRelation getContextRelation();", "LinkRelation createLinkRelation();", "Relationship createRelationship();", "public void CreateRelationship(Node node1, Node node2, myRelationships relation) {\r\n\t\tTransaction tx = _db.beginTx(); \r\n\t\ttry {\r\n\t\t\tnode1.createRel...
[ "0.6837472", "0.6558329", "0.6480327", "0.6447723", "0.5989438", "0.59543544", "0.5904316", "0.5844463", "0.5753136", "0.5703735", "0.56954205", "0.5607126", "0.55708504", "0.5568223", "0.55446106", "0.55252016", "0.5490272", "0.5457816", "0.54536265", "0.54474735", "0.544154...
0.48341972
76
Deep version of ContextNode.setRelation(XDI3Segment, XDI3Segment), operates at a context node further down in the graph.
public Relation setDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri, XDI3Segment targetContextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ContextNode setDeepContextNode(XDI3Segment contextNodeXri);", "public Relation setDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri, ContextNode targetContextNode);", "public Relation setRelation(XDI3Segment arcXri, ContextNode targetContextNode);", "public Relation setRelation(XDI3Segment a...
[ "0.7656589", "0.74864876", "0.746518", "0.72153604", "0.6223674", "0.60622317", "0.60291857", "0.58233446", "0.5765403", "0.5763653", "0.5724009", "0.559037", "0.55874693", "0.5406679", "0.53639394", "0.5293615", "0.5131735", "0.50290465", "0.49908978", "0.49817696", "0.49510...
0.7388238
3
Creates a new relation and adds it to this context node, or returns an existing relation.
public Relation setRelation(XDI3Segment arcXri, ContextNode targetContextNode);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Relation createRelation();", "Relationship createRelationship();", "LinkRelation createLinkRelation();", "public void createRelation(Agent source, Agent target, double relation) {\n this.gamygdala.createRelation(source, target, relation);\n }", "public void CreateRelationship(Node node1, Node nod...
[ "0.70350146", "0.6574713", "0.6490958", "0.5947315", "0.58748794", "0.5769244", "0.5733486", "0.5669106", "0.5638258", "0.5571925", "0.55429703", "0.5531889", "0.5526425", "0.5482474", "0.5459232", "0.54329467", "0.5416152", "0.5378627", "0.5315473", "0.5309779", "0.52156585"...
0.48944974
43
Deep version of ContextNode.setRelation(XDI3Segment, ContextNode), operates at a context node further down in the graph.
public Relation setDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri, ContextNode targetContextNode);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ContextNode setDeepContextNode(XDI3Segment contextNodeXri);", "public Relation setDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri, XDI3Segment targetContextNodeXri);", "public Relation setRelation(XDI3Segment arcXri, ContextNode targetContextNode);", "public Relation setRelation(XDI3Segmen...
[ "0.7766418", "0.7508362", "0.74234265", "0.7138281", "0.6178326", "0.6087928", "0.59573376", "0.5801793", "0.57891935", "0.57612085", "0.56473976", "0.55875516", "0.5565293", "0.5527021", "0.546478", "0.53866196", "0.51759446", "0.5116833", "0.50269973", "0.5025971", "0.50202...
0.76436496
1
Returns a relation at this context node.
public Relation getRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ContextRelation getContextRelation();", "public String get_relation() {\n\t\treturn relation;\n\t}", "public String getRelation() {\n return relation;\n }", "public abstract RelationDeclaration getRelation();", "@Nullable\n public RelationInfo relation() {\n return relation;\n }", ...
[ "0.7764451", "0.76080614", "0.7589536", "0.7519464", "0.73830074", "0.7213257", "0.67385054", "0.660752", "0.655373", "0.654665", "0.65337026", "0.63023907", "0.62467766", "0.616148", "0.61558867", "0.61363924", "0.61108273", "0.61007833", "0.60945785", "0.6020565", "0.601780...
0.60874784
19
Deep version of ContextNode.getRelation(XDI3Segment, XDI3Segment), operates at a context node further down in the graph.
public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri, XDI3Segment targetContextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri);", "public ReadOnlyIterator<Relation> getDeepRelations(XDI3Segment contextNodeXri);", "public ContextNode getDeepContextNode(XDI3Segment contextNodeXri);", "public Relation getRelation(XDI3Segment arcXri, XDI3Segment targetContex...
[ "0.7745467", "0.75701785", "0.7392374", "0.7045087", "0.69554955", "0.68680716", "0.6651486", "0.6412644", "0.62956923", "0.61931074", "0.61794955", "0.6121354", "0.5934095", "0.5801015", "0.5796125", "0.57034296", "0.5659202", "0.54972583", "0.54926664", "0.54321617", "0.526...
0.72748667
3
Returns a relation at this context node.
public Relation getRelation(XDI3Segment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ContextRelation getContextRelation();", "public String get_relation() {\n\t\treturn relation;\n\t}", "public String getRelation() {\n return relation;\n }", "public abstract RelationDeclaration getRelation();", "@Nullable\n public RelationInfo relation() {\n return relation;\n }", ...
[ "0.7764451", "0.76080614", "0.7589536", "0.7519464", "0.73830074", "0.7213257", "0.67385054", "0.660752", "0.655373", "0.654665", "0.65337026", "0.63023907", "0.62467766", "0.616148", "0.61558867", "0.61363924", "0.61108273", "0.61007833", "0.60945785", "0.60874784", "0.60205...
0.5662282
35
Deep version of ContextNode.getRelation(XDI3Segment), operates at a context node further down in the graph.
public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<Relation> getDeepRelations(XDI3Segment contextNodeXri);", "public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri, XDI3Segment targetContextNodeXri);", "public ContextNode getDeepContextNode(XDI3Segment contextNodeXri);", "public Relation getRelation(XDI3Segmen...
[ "0.7566876", "0.7357141", "0.72959685", "0.7165181", "0.70181173", "0.69433534", "0.65792894", "0.6478365", "0.63825196", "0.62656856", "0.61365724", "0.6100329", "0.60692585", "0.6015495", "0.5875941", "0.5812536", "0.5703322", "0.55389285", "0.5501901", "0.5447813", "0.5368...
0.78366774
0
Returns relations at this context node.
public ReadOnlyIterator<Relation> getRelations(XDI3Segment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HashMap<String, Relation> getRelations() {\n return relations;\n }", "public org.LexGrid.relations.Relations[] getRelations() {\n return relations;\n }", "public Set<Relation> getRelations();", "public String[] getRelations() {\n/* 270 */ return getStringArray(\"relation\");\n/...
[ "0.7598084", "0.74514556", "0.742103", "0.73179895", "0.72636664", "0.71130973", "0.70838857", "0.7083811", "0.7022681", "0.6948949", "0.69021314", "0.6805419", "0.6769811", "0.66939646", "0.6622001", "0.66067237", "0.66040194", "0.6563389", "0.64281106", "0.64179105", "0.625...
0.55416447
56
Deep version of ContextNode.getRelations(XDI3Segment), operates at a context node further down in the graph.
public ReadOnlyIterator<Relation> getDeepRelations(XDI3Segment contextNodeXri, XDI3Segment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<Relation> getDeepRelations(XDI3Segment contextNodeXri);", "public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri);", "public ReadOnlyIterator<ContextNode> getDeepContextNodes(XDI3Segment contextNodeXri);", "public Relation getDeepRelation(XDI3Segment contextNo...
[ "0.84967935", "0.73209363", "0.71262157", "0.6754735", "0.6608523", "0.65893936", "0.6383466", "0.6229943", "0.59875685", "0.5907107", "0.5890867", "0.58874243", "0.58791554", "0.58375585", "0.5808011", "0.58005685", "0.5764491", "0.56193507", "0.55774087", "0.55732197", "0.5...
0.78658426
1
Returns the relations of this context node.
public ReadOnlyIterator<Relation> getRelations();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HashMap<String, Relation> getRelations() {\n return relations;\n }", "@Override\n public Set<String> getRelations() {\n if (cachedRelations != null) {\n return cachedRelations;\n }\n cachedRelations = new LinkedHashSet<String>();\n for (EventNode node : ...
[ "0.7644689", "0.7574633", "0.7490912", "0.73139894", "0.7296276", "0.7242777", "0.69541854", "0.6925469", "0.6883229", "0.67470914", "0.67294246", "0.6632493", "0.65369076", "0.65023136", "0.6480958", "0.64499223", "0.64322096", "0.6428926", "0.64234155", "0.6314296", "0.6197...
0.6753886
9
Deep version of ContextNode.getRelations(), operates at a context node further down in the graph.
public ReadOnlyIterator<Relation> getDeepRelations(XDI3Segment contextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<Relation> getDeepRelations(XDI3Segment contextNodeXri, XDI3Segment arcXri);", "public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri);", "ContextRelation getContextRelation();", "public ReadOnlyIterator<ContextNode> getDeepContextNodes(XDI3Segment contextNodeX...
[ "0.7330441", "0.66030705", "0.6525827", "0.6522844", "0.65073764", "0.6307111", "0.63068974", "0.6278297", "0.62704", "0.61655384", "0.61514723", "0.60719365", "0.5977012", "0.5969135", "0.5951205", "0.59396285", "0.5896558", "0.58179474", "0.5765777", "0.57048965", "0.570185...
0.8077153
0
Returns the incoming relations with a given arc XRI.
public ReadOnlyIterator<Relation> getIncomingRelations(XDI3Segment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<Relation> getRelations(XDI3Segment arcXri);", "public Relation getRelation(XDI3Segment arcXri);", "public ReadOnlyIterator<Relation> getDeepRelations(XDI3Segment contextNodeXri, XDI3Segment arcXri);", "public boolean containsIncomingRelations(XDI3Segment arcXri);", "public Relation ...
[ "0.8102126", "0.77408624", "0.73242164", "0.7012964", "0.6830458", "0.6673566", "0.6606661", "0.65799373", "0.65634376", "0.6539944", "0.6487325", "0.5954811", "0.5798729", "0.5787665", "0.570811", "0.56995374", "0.5686474", "0.5668125", "0.56273204", "0.56243366", "0.5521571...
0.86018646
0
Returns the incoming relations of this context node.
public ReadOnlyIterator<Relation> getIncomingRelations();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<Relation> getAllIncomingRelations();", "@Override\n public Set<String> getRelations() {\n if (cachedRelations != null) {\n return cachedRelations;\n }\n cachedRelations = new LinkedHashSet<String>();\n for (EventNode node : nodes) {\n c...
[ "0.7049275", "0.6389984", "0.6352979", "0.62307703", "0.61604494", "0.61537004", "0.6043604", "0.5863031", "0.58353066", "0.5824796", "0.57894474", "0.57628244", "0.57614017", "0.5756813", "0.5738988", "0.5705012", "0.56619567", "0.5640916", "0.56171656", "0.56097066", "0.551...
0.72399914
0
Returns all relations of this context node.
public ReadOnlyIterator<Relation> getAllRelations();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Set<String> getRelations() {\n if (cachedRelations != null) {\n return cachedRelations;\n }\n cachedRelations = new LinkedHashSet<String>();\n for (EventNode node : nodes) {\n cachedRelations.addAll(node.getNodeRelations());\n }\n ...
[ "0.7479987", "0.74349487", "0.74201083", "0.7303825", "0.7252455", "0.71551144", "0.6927784", "0.6891777", "0.6811151", "0.6770914", "0.67248964", "0.6661437", "0.66345084", "0.65189236", "0.65177476", "0.6474848", "0.638917", "0.6354395", "0.63145995", "0.6269208", "0.626235...
0.7246202
5
Returns all incoming relations of this context node.
public ReadOnlyIterator<Relation> getAllIncomingRelations();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReadOnlyIterator<Relation> getIncomingRelations();", "@Override\n public Set<String> getRelations() {\n if (cachedRelations != null) {\n return cachedRelations;\n }\n cachedRelations = new LinkedHashSet<String>();\n for (EventNode node : nodes) {\n cach...
[ "0.747802", "0.65964276", "0.64098537", "0.6271027", "0.62538564", "0.62194794", "0.6146969", "0.6120364", "0.5983417", "0.59818965", "0.59546715", "0.58959806", "0.5894095", "0.5842522", "0.57947606", "0.57857597", "0.57847327", "0.57607573", "0.57598144", "0.57560265", "0.5...
0.76364297
0
Checks if a relation with a given arc XRI and target context node XRI exists in this context node.
public boolean containsRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsRelations(XDI3Segment arcXri);", "public boolean containsIncomingRelations(XDI3Segment arcXri);", "public boolean containsContextNode(XDI3SubSegment arcXri);", "public Relation getRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);", "public Relation getDeepRelation(XDI3S...
[ "0.7281252", "0.71217275", "0.6938825", "0.67517525", "0.6393258", "0.63349664", "0.6250025", "0.6163538", "0.6061241", "0.59801626", "0.596383", "0.5949465", "0.59066826", "0.5722971", "0.56813794", "0.5648742", "0.5588757", "0.5496723", "0.53904307", "0.53595316", "0.535018...
0.8400055
0
Checks if relations with a given arc XRI exist in this context node.
public boolean containsRelations(XDI3Segment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsIncomingRelations(XDI3Segment arcXri);", "public boolean containsRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);", "public boolean containsContextNode(XDI3SubSegment arcXri);", "public boolean containsIncomingRelations();", "public boolean containsRelations();", "pu...
[ "0.81266403", "0.759675", "0.7363409", "0.65193796", "0.64411485", "0.62873554", "0.62739885", "0.6173436", "0.6169961", "0.6118798", "0.61161685", "0.61122644", "0.5839934", "0.57476205", "0.5712611", "0.57000124", "0.5685285", "0.5654576", "0.5592545", "0.5578192", "0.55652...
0.8307176
0
Checks if this context node has one or more relations.
public boolean containsRelations();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasRelation();", "public boolean containsIncomingRelations();", "boolean isSetFurtherRelations();", "private boolean getRelationsValid()\n {\n \n return __relationsValid;\n }", "public boolean hasRelationships() {\n if (properties == null) {\n return false;\n ...
[ "0.720325", "0.6926829", "0.69185567", "0.6809386", "0.6545788", "0.6494643", "0.60906416", "0.59521306", "0.595054", "0.58965087", "0.5826435", "0.57772005", "0.5732873", "0.5725432", "0.57133853", "0.5703448", "0.5674242", "0.56576055", "0.5632152", "0.5632152", "0.5629581"...
0.7124397
1