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 true if this object has never been stored.
public final boolean isNew() { Key k = Key.parse(getId()); return k.getValue() == null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isNotPersisted() {\n return notPersisted;\n }", "@java.lang.Override\n public boolean hasObject() {\n return object_ != null;\n }", "public boolean isUnsaved(Object obj) {\n return null;\r\n }", "public boolean isStoredInObject() {\r\n return lockValueStored...
[ "0.73487115", "0.7092491", "0.7042382", "0.70279026", "0.69978786", "0.6979339", "0.6935209", "0.6935209", "0.6935209", "0.69152325", "0.69044495", "0.6884254", "0.6857177", "0.6809995", "0.6804101", "0.6797957", "0.6761788", "0.6754525", "0.67425466", "0.6725928", "0.6725357...
0.6445964
50
TODO Create a webForm cache to avoid reflection for every request
public Page(Class<?> root) { entityName = StringUtils.uncapitalize(root.getSimpleName()); entityClass = root; title = new StringBuilder(entityName).append(".page.title").toString(); extractFormFields(root, ""); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void readForm() {\n }", "@Test\n public void test028() throws Throwable {\n Form form0 = new Form(\"<([^<]+)>\");\n Form form1 = form0._getVisibleForm(true);\n }", "protected final Form getForm() {\n\t\treturn itsForm;\n\t}", "public void processFormRequest(OAPageContext pageContext,...
[ "0.6474101", "0.64435", "0.620711", "0.6139936", "0.61060625", "0.6063268", "0.6004778", "0.5931206", "0.58357286", "0.58110756", "0.57733095", "0.5766116", "0.57282156", "0.5681752", "0.56712985", "0.5617527", "0.5609566", "0.5566203", "0.5560173", "0.5560173", "0.55335087",...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_pager, container, false); if (savedInstanceState != null){ mDays = (Day[]) savedInstanceState....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
Init the iterator to enumerate atoms from solution
public void initIterator( Solution solution ) { iterator = solution.newIterator(); // access = Access.REWRITE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setNextIterator() {\n\t\t\t\n\t\t\tfor (int i = index; i < inconsistencies.size(); i++){\n\t\t\t\tSet<LPGInconsistency> inconsistencyList = inconsistencies.get(i);\n\t\t\t\tif (!inconsistencyList.isEmpty()) {\n\t\t\t\t\titerator = inconsistencyList.iterator();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tels...
[ "0.5849811", "0.57644767", "0.57317716", "0.5696258", "0.56837237", "0.568345", "0.5555946", "0.5523691", "0.54915863", "0.5477916", "0.54721326", "0.542715", "0.5421389", "0.5411325", "0.5382245", "0.5292712", "0.52875674", "0.52858317", "0.5285199", "0.5281311", "0.5265718"...
0.681893
0
Move the iterator to the next atom (if not at the end). May not realy move it: cf IteratorForSolution, IteratorForTuple
public void next() { iterator.next(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void moveNext() {\n\t\tcurrentElement++;\n\t}", "private final void advance() {\n if (currentIterator == null) {\n currentIterator = intMaps[index].entrySet().iterator();\n } else {\n if (!currentIterator.hasNext()) {\n // we want advance to next iterator only when this it...
[ "0.6387594", "0.6375327", "0.6336474", "0.63210464", "0.6113219", "0.6070467", "0.60537165", "0.5924752", "0.5922705", "0.59097797", "0.5881474", "0.5872524", "0.5858883", "0.5837031", "0.5727482", "0.57196707", "0.57185704", "0.5713696", "0.569036", "0.5686288", "0.5624653",...
0.61519706
4
Move really the iterator to the next atom if it exists.
public void nextHard() { iterator.next(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private final void advance() {\n if (currentIterator == null) {\n currentIterator = intMaps[index].entrySet().iterator();\n } else {\n if (!currentIterator.hasNext()) {\n // we want advance to next iterator only when this iterator is exhausted\n if (index < intMaps.length ...
[ "0.64263904", "0.63308126", "0.62021947", "0.619154", "0.61686677", "0.6110299", "0.6085182", "0.6073586", "0.6048532", "0.5980019", "0.59513944", "0.59326035", "0.58673465", "0.5866285", "0.585356", "0.5772701", "0.57551175", "0.5736469", "0.57085216", "0.56940854", "0.56897...
0.6396588
1
/ Copypasting code is NOT cool! Please do not copy and paste my code as a submission to DMOJ. github.com/jdabtieu/competitiveprogramming
public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int sum = 0; for (int i = Integer.parseInt(br.readLine()); i > 0; i--) { sum += Integer.parseInt(br.readLine()); } System.out.println(sum); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mo4359a() {\n }", "private static void cajas() {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\tString[] sA1 = {\"old\", \"cold\", \"new\", \"cool\", \"scary\", \"scared\", \"worrisome\", \"very big\", \"small\", \"powerful\", \"imaginative\", \"hungry\", \"sleepy\", \"tired\", ...
[ "0.57593536", "0.5756258", "0.5668528", "0.5652473", "0.56464267", "0.56439096", "0.563277", "0.56286174", "0.5610884", "0.55957544", "0.55867606", "0.557207", "0.5549391", "0.5539747", "0.551916", "0.55172867", "0.5500393", "0.5491488", "0.5487979", "0.547702", "0.54715794",...
0.0
-1
one counter is enough
public int balancedStringSplit2(String s) { int res = 0, cnt = 0; for (int i = 0; i < s.length(); ++i) { cnt += s.charAt(i) == 'L' ? 1 : -1; if (cnt == 0) ++res; } return res; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void setCounter() {++counter;}", "private synchronized void incrementCount()\n\t{\n\t\tcount++;\n\t}", "public int check(){\r\n\r\n\treturn count ++;\r\n\t\r\n}", "int fillCount();", "private void incrementCounter()\r\n\t{\r\n\t\tthis.counter++;\r\n\t}", "private void increment() {\n ...
[ "0.69290584", "0.6666524", "0.66638005", "0.659313", "0.6558115", "0.6512474", "0.64908415", "0.64850897", "0.6474884", "0.64566565", "0.64470935", "0.6423703", "0.64085233", "0.63916063", "0.6379681", "0.6372553", "0.637001", "0.63661724", "0.63487536", "0.6344858", "0.63153...
0.0
-1
An object of the NumStack class is created, for use in testing the class methods.
@Before //Object created of the NumStack class public void setUp() { numStackTest = new NumStack(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OpStack() {\n opStack = new Stack();\n }", "public CustomStack() {\n this.myCustomStack = new Object[10]; //array starts with 10 spaces, all empty\n numElements = 0; //stack starts with zero elements\n\n }", "@SubL(source = \"cycl/stacks.lisp\", position = 1818) \n public static f...
[ "0.7118192", "0.70813924", "0.694536", "0.6938695", "0.6913105", "0.68793297", "0.68359137", "0.6778319", "0.6777832", "0.67649776", "0.6758135", "0.670909", "0.67080295", "0.6683371", "0.6683226", "0.66805565", "0.6673353", "0.6661115", "0.6621512", "0.6619148", "0.66100144"...
0.67372394
11
The isEmpty() method should return true, as a newly created object of NumStack should have zero entries in it's stack.
@Test /*Test 18 - implemented isEmpty() method to NumStack class. Refactored isEmpty() to now call the size() method of the Stack object in NumStack to determine if it is empty, rather than always returning true.*/ public void testIsEmpty() { assertTrue("NumStack object should be empty after creation", numS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isEmpty() {\n \treturn stack.size() == 0;\n }", "public boolean isEmpty() {return stackList.isEmpty();}", "@Override\r\n\tpublic boolean isEmpty() {\r\n\t\treturn stack.isEmpty();\r\n\t}", "public boolean isEmpty()\n {\n return stack.size() == 0;\n }", "public boolean isEm...
[ "0.8427058", "0.8418782", "0.8391301", "0.83432645", "0.8273279", "0.8235661", "0.8210157", "0.81868017", "0.8172891", "0.8166415", "0.8164055", "0.81459045", "0.8126113", "0.8119476", "0.8110265", "0.8110265", "0.8108885", "0.808702", "0.8084628", "0.80665696", "0.805289", ...
0.8180972
8
The push() method simply calls the Stack object's push() method to add a numeric entry onto the stack.
@Test /*Test 19 - implemented push() method to NumStack class.*/ public void testPush() { numStackTest.push(5); assertFalse("NumStack object shouldn't be empty after pushing first entry onto it", numStackTest.isEmpty()); numStackTest.push(10); assertFalse("NumStack object shouldn't be empty a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void push(int stackNum, int value) throws Exception{\n\t//check if we have space\n\tif(stackPointer[stackNum] + 1 >= stackSize){ //last element\n\t\tthrows new Exception(\"Out of space.\");\n\t}\n\n\t//increment stack pointer and then update top value\n\tstackPointer[stackNum]++; \n\tbuffer[absTopOfStack(stackNum)...
[ "0.76305556", "0.7613094", "0.75314236", "0.75169206", "0.7506045", "0.750396", "0.75039047", "0.7475682", "0.7472771", "0.7449291", "0.7433255", "0.74138284", "0.73967266", "0.73773503", "0.7352126", "0.7336778", "0.7330017", "0.7311251", "0.7291967", "0.7279629", "0.7238142...
0.6786774
70
The pop() method calls the Stack object's pop() method to remove the top entry from the stack, and return it's numeric value.
@Test /*Test 20 - implemented pop() method to NumStack class. Refactored this method to a singe line return statement.*/ public void testPop() throws Exception { numStackTest.push(5); assertEquals("The pop() method should return 5", numStackTest.pop(), 5, 0.001); assertTrue("The stack should be empty a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object pop(){\r\n\t\tlastStack = getLastStack();\r\n\t\tif(lastStack!=null){\r\n\t\t\tint num = lastStack.pop();\r\n\t\t\treturn num;\r\n\t\t} else {stacks.remove(stacks.size()-1);\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "@Override\n\tpublic int pop() {\n\t\tint topValue;\n\t\tif (top != -1) {\n\t\t\ttopValue = ...
[ "0.8433834", "0.837692", "0.8297882", "0.82665455", "0.82358855", "0.82147247", "0.82093084", "0.82012445", "0.81703454", "0.8112051", "0.807129", "0.8047847", "0.7997308", "0.79894406", "0.7963466", "0.7961267", "0.79141814", "0.79097253", "0.7904519", "0.78950644", "0.78772...
0.0
-1
EmptyStackException should be thrown when the pop() method in the NumStack class is called, and the stack is currently empty.
@Test /*Test 21 - the pop() method now throws the EmptyStackException if it is called when the stack size is currently 0.*/ public void testPopEmptyStackException() throws EmptyStackException, BadTypeException { exception.expect(EmptyStackException.class); exception.expectMessage("The stack is empty. No el...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testPop() {\n Exception exception = null;\n try {\n this.empty.pop();\n }\n catch (Exception e) {\n exception = e;\n }\n assertNotNull(exception);\n assertTrue(exception instanceof EmptyStackException);\n\n assertEquals(this....
[ "0.8324795", "0.8282161", "0.82515895", "0.8229837", "0.78279567", "0.78072625", "0.77622926", "0.76335514", "0.7553446", "0.744571", "0.7438966", "0.7417263", "0.74154776", "0.736986", "0.73620135", "0.7356036", "0.73345673", "0.73345673", "0.7292205", "0.7276915", "0.726744...
0.8387535
0
Created by Chenll on 2016/8/26.
public interface IDbOperator { TaskEntity getTaskBySeqId(long seqId); void saveOrUpdate(TaskEntity taskEntity); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r...
[ "0.61239", "0.60510564", "0.5925495", "0.5916092", "0.5874179", "0.5874179", "0.57767254", "0.57709193", "0.57708585", "0.5751411", "0.5748393", "0.5672352", "0.5668553", "0.5666193", "0.5665775", "0.5660828", "0.5658147", "0.5654267", "0.5650187", "0.56386477", "0.5632579", ...
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Initializes the controller class.
@Override public void initialize(URL url, ResourceBundle rb) { if(database.connectToRMIDatabaseServer()) { System.out.println("database found"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initialize() {\n\t\tcontroller = Controller.getInstance();\n\t}", "public MainController() {\n\t\tcontroller = new Controller(this);\n\t}", "public abstract void initController();", "public Controller() {\n super();\n }", "public Controller() {\n super();\n }", "public Co...
[ "0.8125658", "0.78537387", "0.78320265", "0.776199", "0.776199", "0.76010174", "0.74497247", "0.7437837", "0.7430714", "0.742303", "0.74057597", "0.7341963", "0.7327749", "0.72634363", "0.72230434", "0.7102504", "0.70575505", "0.69873077", "0.69721675", "0.6944077", "0.691256...
0.0
-1
Retrieves application from the request context.
public com.atomgraph.linkeddatahub.apps.model.Application getApplication() { return (com.atomgraph.linkeddatahub.apps.model.Application)getContainerRequestContext().getProperty(LAPP.Application.getURI()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Application getApplication();", "protected Application getApplication() {\r\n\t\treturn application;\r\n\t}", "public ServletContext getApplication() {\n return servletRequest.getServletContext();\n }", "public static Context getAppContext() {\n return _BaseApplication.context;\n }", "p...
[ "0.75122494", "0.73553824", "0.7284133", "0.72526157", "0.719504", "0.7010606", "0.6969042", "0.6922172", "0.6877651", "0.68453234", "0.68400145", "0.6783668", "0.6764194", "0.67375267", "0.67340237", "0.67210126", "0.67140675", "0.66976315", "0.6695137", "0.6670518", "0.6657...
0.7071334
5
Gives a callback every time a byte is read.
@Override public void write(int oneByte) throws IOException { currentRead++; if (currentRead % callback.interval() == 0) { callback.callback(currentRead); } outstream.write(oneByte); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void readCB(CB cb) {\n\t\t\n\t}", "public interface IOCallBack {\n\n void onDataReceived(final byte[] buffer, final int size);\n\n}", "boolean readByte(int c, String streamProvider) throws RawDataEventException ;", "public void OnFileDataReceived(byte[] data,int read, int length, int do...
[ "0.66375834", "0.66246843", "0.6585893", "0.63836104", "0.6348997", "0.624098", "0.6146116", "0.6134491", "0.60415876", "0.59738874", "0.59487104", "0.59483933", "0.58260375", "0.5748312", "0.5711171", "0.5694466", "0.5674298", "0.5666938", "0.56476223", "0.5647126", "0.56402...
0.6748447
0
this constructor is needed to support duplicate
public PointCutASTNode(PointCutASTNode self) { super(self); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void copyConstructor(){\n\t}", "private UniqueChromosomeReconstructor() { }", "public abstract Instance duplicate();", "public MossClone() {\n super();\n }", "public Object _duplicate() {\n throw new NO_IMPLEMENT(reason);\n }", "public DuplicateItemException() {\r\n ...
[ "0.7055501", "0.6714473", "0.6713538", "0.6481696", "0.6463916", "0.64153856", "0.6400189", "0.6339162", "0.63318944", "0.63152516", "0.62432504", "0.6232419", "0.6135006", "0.61189485", "0.60941243", "0.6090291", "0.6089282", "0.6077924", "0.6054338", "0.605159", "0.6004832"...
0.0
-1
This node references a special type of itself or is either a binary operation node with 'and' or 'or'
@Override public abstract Binding matches(ASTNode compareToNode) throws AspectException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Expr or() { // This uses the same recursive matching structure as other binary operators.\n Expr expr = and(); // OR takes precedence over AND.\n while(match(OR)) {\n Token operator = previous();\n Expr right = and();\n expr = new Expr.Logical(expr, oper...
[ "0.6903334", "0.6873004", "0.6683395", "0.66380346", "0.66048825", "0.64967793", "0.6466478", "0.64597666", "0.6405361", "0.63971037", "0.6362044", "0.6339865", "0.6333405", "0.63324094", "0.6278217", "0.62659913", "0.6256569", "0.6256458", "0.6194792", "0.6163915", "0.611248...
0.0
-1
this method should return a string which can be used to weave runtime conditions for aspect matching
@Override public String getCondition() { return ""; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic String toString() {\n\t\treturn \"aspect beaqn impl\";\r\n\t}", "java.lang.String getCondition();", "@Override\n public String toString() {\n return String.format(\"MyCustomRule[shouldIfail=%b]\", shouldIfail);\n }", "String getCondition();", "@Override\n\tpublic String t...
[ "0.6182226", "0.5840758", "0.581931", "0.5711169", "0.56136334", "0.55940217", "0.5482848", "0.54518944", "0.54466355", "0.5389597", "0.5378018", "0.536555", "0.5360045", "0.5264843", "0.52172786", "0.520262", "0.51277274", "0.5120198", "0.5089512", "0.5067043", "0.5061524", ...
0.47197512
80
this method should lookup if the found rule returns any value and check if this corresponds to the this pointcut expression
protected boolean checkRuleReturn(Node node, String compareToNodeToken) { while (node != null && !(node.getConcreteNodeType().equals("keyword") && node.getToken().startsWith("with"))) node = node.getNextCSTNode(); if (node == null) return true; String ruleDeclarationName; for (ASTNode astn : AspectWeaver....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void visit(ExistsExpression arg0) {\n\n\t}", "@Override\n\tpublic void visit(ExistsExpression arg0) {\n\t\t\n\t}", "@Override\n public boolean hasFindRule(ProblemSearchRule rule) {\n throw new AssertionError(\"This method should not be called.\");\n }", "@Override\r\n publ...
[ "0.576771", "0.5757408", "0.5710599", "0.5617362", "0.55804193", "0.53254795", "0.5297989", "0.52882415", "0.52814215", "0.5256929", "0.5212955", "0.51867497", "0.5173399", "0.5166958", "0.5119344", "0.50990343", "0.50977564", "0.5069876", "0.5063862", "0.50633293", "0.504697...
0.5006691
24
return the letExpression of the child(ren) or the empty String. This is used for the implementation of cflow
public String getLetExpression() { String letExpression = ""; List<ASTNode> children = this.getAbstractChildNodes(); if (children.size() == 1 && children.get(0) instanceof PointCutASTNode) letExpression = ((PointCutASTNode) children.get(0)).getLetExpression(); else if (children.size() == 2 && children.get(0)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Element compileLet() {\n\t\tElement ele = null;\n\t\tString token, tokenType;\n\t\tString varName;\n\t\tboolean array = false;\n\t\tElement letParent = document.createElement(\"letStatement\");\n\n\t\t// let\n\t\ttokenType = jTokenizer.tokenType();\n\t\tele = createXMLnode(tokenType);\n\t\tletParent.appendC...
[ "0.5790494", "0.5408686", "0.5405777", "0.53999794", "0.534301", "0.5280472", "0.5247037", "0.5222519", "0.5218019", "0.52099216", "0.5196082", "0.5180457", "0.51791614", "0.51587623", "0.51575804", "0.5116512", "0.5116512", "0.5108542", "0.51069856", "0.5101034", "0.5094423"...
0.7111594
0
return the dynamic bindings extracted from the call stack according to the cflow expressions of the pointcut. The consistency of bindings has to be taken into account in case of BinAnd.
public String getCflowBindings() { String cflowCondotion = ""; List<ASTNode> children = this.getAbstractChildNodes(); if (children.size() == 1 && children.get(0) instanceof PointCutASTNode) cflowCondotion = ((PointCutASTNode) children.get(0)).getCflowBindings(); else if (children.size() == 2 && children.get(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Exp> varBind() {\n List<Exp> lBind = new ArrayList<Exp>();\n for (int i = 0; i < size(); i++) {\n Exp f = get(i);\n if ((f.type == VALUES) || (f.isFilter() && f.size() > 0)) {\n Exp bind = f.first();\n if (bind.type() == OPT_BIND) {\n ...
[ "0.5582578", "0.53791666", "0.5275495", "0.49826223", "0.49315357", "0.48488635", "0.48445258", "0.47746822", "0.46583164", "0.4652941", "0.46457186", "0.46075565", "0.4601281", "0.4574099", "0.4565899", "0.45532423", "0.45246017", "0.4478363", "0.44721836", "0.44456935", "0....
0.5317543
2
returns the type of the PointCutNodeElement
public static String getNodeType() { return NODE_TYPE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Type getElementType();", "TypeElement getTypeElement();", "public GraphElementType getElementType();", "ElementType getElementType();", "public String getElementType() {\n\t\treturn (element_type);\n\t}", "public Class getType(ElementList element) {\r\n return element.type();\r\n }", "XCla...
[ "0.6417793", "0.6379186", "0.6292404", "0.6199553", "0.61893964", "0.6148979", "0.6038894", "0.6012842", "0.5969634", "0.59519005", "0.5926597", "0.59074837", "0.5906813", "0.58920574", "0.5832201", "0.5823299", "0.5818022", "0.5788673", "0.5788163", "0.57255775", "0.57146734...
0.0
-1
Perform any necessary initialization in the constructor
public Entity3() { int[] neighbor_costs = {7, 999, 2, 0}; for (int i = 0; i < NetworkSimulator.NUMENTITIES; i++) { Arrays.fill(distanceTable[i], 999); } for (int i = 0; i < NetworkSimulator.NUMENTITIES; i++) { distanceTable[NODE_NUM][i] = neighbor_cos...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void initialize() {\n \t\n }", "protected void initialize() {}", "protected void initialize() {}", "protected void init() {\n }", "private void init() {\n }", "@Override public void init()\n\t\t{\n\t\t}", "public void init() {\n \n }", "private void init() {\n }", "...
[ "0.79693174", "0.794238", "0.794238", "0.7812528", "0.77864915", "0.7782707", "0.77824086", "0.77806073", "0.77806073", "0.77806073", "0.77806073", "0.77478355", "0.77478355", "0.7734337", "0.7724463", "0.77087826", "0.77087826", "0.77087826", "0.77087826", "0.77087826", "0.7...
0.0
-1
Handle updates when a packet is received. Students will need to call NetworkSimulator.toLayer2() with new packets based upon what they send to update. Be careful to construct the source and destination of the packet correctly. Read the warning in NetworkSimulator.java for more details.
public void update(Packet p) { int[] min_distance = new int[NetworkSimulator.NUMENTITIES]; boolean table_changed = false; System.out.println(); System.out.println("--------------------------------"); System.out.println("update() for Node " + NODE_NUM); System...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void onPacket(JPackectX packet) {\r\n System.out.println(\"Packet Received:\\n\\t\" + packet.toString());\r\n if (packet.getType() == JPacketTypeX.UPDATE) {\r\n try {\r\n //null for now\r\n }\r\n catch (Exception e) {\r\n ...
[ "0.6535403", "0.6351136", "0.6303009", "0.6208702", "0.618603", "0.6146007", "0.6019268", "0.6015066", "0.5992107", "0.59684545", "0.5958921", "0.5946138", "0.592764", "0.59237635", "0.5866382", "0.58559", "0.58475876", "0.58344156", "0.58059585", "0.57806796", "0.5758253", ...
0.56904614
24
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.id
public Long getId() { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@JsonIgnore\n\t@Id\n\tpublic Long getId() {\n\t\treturn Long.valueOf(String.format(\"%d%02d\", sale.getSaleYear(), this.num));\n\t}", "public Integer getId()\r\n\t\t{ return mapping.getId(); }", "@Transient\n @Override\n public Integer getId()\n {\n return this.journalId;\n }", "public Int...
[ "0.5804117", "0.57510114", "0.57494235", "0.57179165", "0.56809056", "0.5625014", "0.55485743", "0.5453594", "0.5399298", "0.5391152", "0.53794473", "0.53788877", "0.5365789", "0.53622586", "0.53620553", "0.5349964", "0.53338194", "0.53019434", "0.53007495", "0.52889854", "0....
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.id
public void setId(Long id) { this.id = id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIdAutorizacionDocumentoPuntoDeVentaAutoimpresorSRI(int idAutorizacionDocumentoPuntoDeVentaAutoimpresorSRI)\r\n/* 85: */ {\r\n/* 86:118 */ this.idAutorizacionDocumentoPuntoDeVentaAutoimpresorSRI = idAutorizacionDocumentoPuntoDeVentaAutoimpresorSRI;\r\n/* 87: */ }", "protected void ...
[ "0.5282181", "0.52595353", "0.5245284", "0.5180941", "0.51783335", "0.5107079", "0.50562245", "0.5010286", "0.4982596", "0.4982596", "0.4950657", "0.4946821", "0.4935268", "0.49295557", "0.4914462", "0.49143094", "0.4913173", "0.49048072", "0.49045303", "0.4898317", "0.489591...
0.0
-1
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.gmt_create
public Date getGmtCreate() { return gmtCreate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getGmtCreate() {\n return gmtCreate;\n }", "public Date getGmtCreate() {\r\n return gmtCreate;\r\n }", "public Date getGmtCreate() {\n\t\treturn gmtCreate;\n\t}", "public Date getGmtCreate() {\n\t\treturn gmtCreate;\n\t}", "public Date getGmtCreate() {\n\t\treturn gmtCreate;...
[ "0.622717", "0.5929379", "0.5911697", "0.5911697", "0.5911697", "0.5911697", "0.5896807", "0.5878124", "0.5878124", "0.5858386", "0.5858386", "0.58211935", "0.58007216", "0.5760032", "0.57357955", "0.5708483", "0.5675552", "0.56652457", "0.56652457", "0.56652457", "0.56652457...
0.5914753
14
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.gmt_create
public void setGmtCreate(Date gmtCreate) { this.gmtCreate = gmtCreate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setGmtCreate(Date gmtCreate) {\r\n this.gmtCreate = gmtCreate;\r\n }", "public void setGmtCreate(Date gmtCreate) {\n\t\tthis.gmtCreate = gmtCreate;\n\t}", "public void setGmtCreate(Date gmtCreate) {\n\t\tthis.gmtCreate = gmtCreate;\n\t}", "public void setGmtCreate(Date gmtCreate) {\n\t\...
[ "0.6459914", "0.62255996", "0.62255996", "0.62255996", "0.62255996", "0.62239593", "0.58220273", "0.5583398", "0.529486", "0.529486", "0.52785033", "0.526532", "0.5258936", "0.52397096", "0.5231341", "0.5216406", "0.5216406", "0.5216406", "0.5216325", "0.5205823", "0.5205823"...
0.643862
14
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.gmt_modified
public Date getGmtModified() { return gmtModified; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.sql.Timestamp getModified() {\n return modified;\n }", "@Override\n\tpublic java.util.Date getModifiedDate() {\n\t\treturn _locMstLocation.getModifiedDate();\n\t}", "public java.sql.Timestamp getModified() {\n\treturn modified;\n}", "public OffsetDateTime getModifiedTime()\n\t{\n\t\treturn (O...
[ "0.67564523", "0.67226106", "0.6634052", "0.6631644", "0.6577943", "0.65704316", "0.65537465", "0.65537465", "0.65537465", "0.655157", "0.6544671", "0.65399206", "0.6526757", "0.6513767", "0.65137184", "0.6499614", "0.64853317", "0.64782786", "0.6476459", "0.6460706", "0.6460...
0.65669835
16
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.gmt_modified
public void setGmtModified(Date gmtModified) { this.gmtModified = gmtModified; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setGmtModified(Date gmtModified) {\r\n this.gmtModified = gmtModified;\r\n }", "public void setModified(java.sql.Timestamp tmp) {\n this.modified = tmp;\n }", "public void setGmtModified(Date gmtModified) {\n\t\tthis.gmtModified = gmtModified;\n\t}", "public void setGmtModified(Date...
[ "0.64115214", "0.63435", "0.62328786", "0.62328786", "0.62328786", "0.6046657", "0.6046657", "0.6046657", "0.6019574", "0.60096127", "0.60081226", "0.60081226", "0.600675", "0.59892166", "0.5979926", "0.5974535", "0.5945629", "0.58946246", "0.5880254", "0.5837486", "0.5831620...
0.639084
11
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.creator
public String getCreator() { return creator; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCreator() {\n return this.creator;\n }", "@VTID(13)\r\n int getCreator();", "public String getCreator() {\r\n return creator;\r\n }", "public String getCreator() {\r\n return creator;\r\n }", "public String getCreator() {\n\t\treturn creator;\n\t}", "public Long ...
[ "0.6876692", "0.6719227", "0.6594343", "0.6594343", "0.6544019", "0.6543916", "0.6506394", "0.63912255", "0.63481146", "0.6337823", "0.63168967", "0.6303366", "0.6209386", "0.6209386", "0.6209386", "0.6187485", "0.6187485", "0.6116248", "0.6107111", "0.60408837", "0.5976382",...
0.6550238
12
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.creator
public void setCreator(String creator) { this.creator = creator; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCreator(User creator) {\n this.creator = creator;\n }", "public void setCreator(Long creator) {\n this.creator = creator;\n }", "public void setCreator(String creator) {\n this.creator = creator;\n }", "public void setCreator(String creator) {\n\t\tthis.creator = ...
[ "0.6517754", "0.6516389", "0.6498398", "0.64101815", "0.6225901", "0.621614", "0.621614", "0.62087595", "0.62087595", "0.62087595", "0.60883445", "0.60445565", "0.598297", "0.598297", "0.598297", "0.5967595", "0.59522325", "0.59315675", "0.58909607", "0.5789723", "0.57719815"...
0.64708704
6
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.modifier
public String getModifier() { return modifier; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getModifier() {\n\t\treturn modifier;\n\t}", "public String getModifier() {\n\t\treturn modifier;\n\t}", "public String getModifier() {\n\t\treturn modifier;\n\t}", "Modifier getModifier();", "public String getModifierName() {\n return modifierName;\n }", "public void setModifier(...
[ "0.6765567", "0.6765567", "0.6765567", "0.6676478", "0.6455262", "0.6254773", "0.6254773", "0.6254773", "0.6249371", "0.6249371", "0.6249371", "0.6180458", "0.6094748", "0.60857", "0.60799414", "0.5922771", "0.5834589", "0.5779263", "0.5774754", "0.5774754", "0.56748194", "...
0.6786222
5
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.modifier
public void setModifier(String modifier) { this.modifier = modifier; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setModifier(Modifier modifier);", "public void setModifier(String modifier) {\n\t\tthis.modifier = modifier;\n\t}", "public void setModifier(String modifier) {\n\t\tthis.modifier = modifier;\n\t}", "public void setModifier(String modifier) {\n\t\tthis.modifier = modifier;\n\t}", "public void setModifi...
[ "0.6524632", "0.6462622", "0.6462622", "0.6462622", "0.6244173", "0.6244173", "0.61336255", "0.5796655", "0.5789109", "0.5721821", "0.5721821", "0.5681194", "0.5666518", "0.55876994", "0.5582632", "0.5582632", "0.5582632", "0.5582632", "0.5582632", "0.5582632", "0.5544665", ...
0.65397274
2
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.is_deleted
public String getIsDeleted() { return isDeleted; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getIsdeleted() {\n return isdeleted;\n }", "public Long deleted() {\n return this.deleted;\n }", "public Integer getIsDeleted() {\n return isDeleted;\n }", "public java.lang.Boolean getDeleted();", "public Boolean getDeleted() {\n return deleted;\n }", "pu...
[ "0.65466315", "0.6209196", "0.6197526", "0.6148616", "0.60534894", "0.6022216", "0.6015718", "0.60102", "0.60102", "0.60102", "0.60102", "0.5988364", "0.59655493", "0.5953301", "0.5946673", "0.59314007", "0.591406", "0.591406", "0.5889749", "0.5860779", "0.58554864", "0.582...
0.609351
5
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.is_deleted
public void setIsDeleted(String isDeleted) { this.isDeleted = isDeleted; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIsdeleted( Boolean isdeleted )\n {\n this.isdeleted = isdeleted;\n }", "@IcalProperty(pindex = PropertyInfoIndex.DELETED)\n public void setDeleted(final boolean val) {\n deleted = val;\n }", "public void setIsdeleted(Integer isdeleted) {\n this.isdeleted = isdeleted;\n ...
[ "0.63870984", "0.6331394", "0.6157817", "0.6065463", "0.5993529", "0.58968955", "0.5837403", "0.58228296", "0.58228296", "0.58228296", "0.58228296", "0.58228296", "0.581397", "0.57973796", "0.579242", "0.5747252", "0.57331914", "0.57229125", "0.5698336", "0.5689304", "0.56893...
0.57927334
14
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.applier_name
public String getApplierName() { return applierName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setApplierName(String applierName) {\n this.applierName = applierName;\n }", "public String getApplierOrgName() {\n return applierOrgName;\n }", "public void setApplierOrgName(String applierOrgName) {\n this.applierOrgName = applierOrgName;\n }", "String getOriginalN...
[ "0.6506739", "0.59259355", "0.5538889", "0.5252345", "0.52273357", "0.52263546", "0.52093846", "0.5157232", "0.50729996", "0.5039761", "0.50286305", "0.49386558", "0.49200064", "0.48562336", "0.48368737", "0.48128846", "0.47861207", "0.4785024", "0.47494572", "0.4735121", "0....
0.7216103
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.applier_name
public void setApplierName(String applierName) { this.applierName = applierName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getApplierName() {\n return applierName;\n }", "public void setApplierOrgName(String applierOrgName) {\n this.applierOrgName = applierOrgName;\n }", "public String getApplierOrgName() {\n return applierOrgName;\n }", "public void setName() {\r\n\t\tapplianceName = ...
[ "0.62972903", "0.60079944", "0.5337406", "0.5249248", "0.5244794", "0.52114886", "0.47463846", "0.47155243", "0.46973693", "0.46702975", "0.46463162", "0.45613906", "0.45228997", "0.45220196", "0.45140043", "0.4490628", "0.44679612", "0.44408488", "0.44380423", "0.44259658", ...
0.67997074
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.applier_workno
public String getApplierWorkno() { return applierWorkno; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setApplierWorkno(String applierWorkno) {\n this.applierWorkno = applierWorkno;\n }", "public Long getApplierOrgId() {\n return applierOrgId;\n }", "public String getApplierName() {\n return applierName;\n }", "public String getApplierOrgName() {\n return appli...
[ "0.7406815", "0.6183655", "0.6037104", "0.56245565", "0.54028434", "0.5325909", "0.5167065", "0.4958018", "0.48758787", "0.48758787", "0.48675287", "0.48235136", "0.48189303", "0.48122454", "0.47567558", "0.46764094", "0.46378523", "0.4632204", "0.46262008", "0.45972353", "0....
0.7645187
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.applier_workno
public void setApplierWorkno(String applierWorkno) { this.applierWorkno = applierWorkno; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getApplierWorkno() {\n return applierWorkno;\n }", "public void setApplierOrgId(Long applierOrgId) {\n this.applierOrgId = applierOrgId;\n }", "public Long getApplierOrgId() {\n return applierOrgId;\n }", "public void setApplierOrgName(String applierOrgName) {\n ...
[ "0.6475075", "0.5914802", "0.56165296", "0.56090605", "0.5548462", "0.5056206", "0.50029004", "0.4732956", "0.4732956", "0.47230804", "0.47106034", "0.47017163", "0.4686352", "0.46752906", "0.46459833", "0.45873386", "0.45584306", "0.44993016", "0.4470296", "0.4427449", "0.44...
0.760047
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.applier_org_name
public String getApplierOrgName() { return applierOrgName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setApplierOrgName(String applierOrgName) {\n this.applierOrgName = applierOrgName;\n }", "public Long getApplierOrgId() {\n return applierOrgId;\n }", "public void setApplierOrgId(Long applierOrgId) {\n this.applierOrgId = applierOrgId;\n }", "public String getApplie...
[ "0.718516", "0.7053926", "0.6257667", "0.62077487", "0.5874826", "0.5830649", "0.58077955", "0.5781031", "0.57005477", "0.56853575", "0.5621729", "0.54989135", "0.5498865", "0.5484345", "0.5476782", "0.54668945", "0.54541355", "0.54541355", "0.54311955", "0.52840483", "0.5269...
0.7806362
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.applier_org_name
public void setApplierOrgName(String applierOrgName) { this.applierOrgName = applierOrgName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getApplierOrgName() {\n return applierOrgName;\n }", "public void setApplierOrgId(Long applierOrgId) {\n this.applierOrgId = applierOrgId;\n }", "public Long getApplierOrgId() {\n return applierOrgId;\n }", "public void setApplierName(String applierName) {\n ...
[ "0.709547", "0.6660052", "0.64624757", "0.5798123", "0.574981", "0.54585755", "0.54225504", "0.5365375", "0.5363049", "0.5283082", "0.5265049", "0.52583265", "0.52336013", "0.5220636", "0.52005357", "0.5179868", "0.51733065", "0.51661646", "0.5157552", "0.5145792", "0.5131136...
0.75519645
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.applier_org_id
public Long getApplierOrgId() { return applierOrgId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setApplierOrgId(Long applierOrgId) {\n this.applierOrgId = applierOrgId;\n }", "public String getApplierOrgName() {\n return applierOrgName;\n }", "public void setApplierOrgName(String applierOrgName) {\n this.applierOrgName = applierOrgName;\n }", "public String get...
[ "0.7116024", "0.7012372", "0.65345895", "0.5838536", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5794299", "0.5730959", "0.5727882", "0.57092524", "0.5637374", ...
0.7946528
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.applier_org_id
public void setApplierOrgId(Long applierOrgId) { this.applierOrgId = applierOrgId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getApplierOrgId() {\n return applierOrgId;\n }", "public void setApplierOrgName(String applierOrgName) {\n this.applierOrgName = applierOrgName;\n }", "public String getApplierOrgName() {\n return applierOrgName;\n }", "public void setAD_Org_ID (int AD_Org_ID);", "...
[ "0.718364", "0.675886", "0.6238632", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.56308264", "0.5523532", "0.55115074", "0.54770917", "0.5335213", "0....
0.741902
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.receiver_name
public String getReceiverName() { return receiverName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getReceiverLastName() {\r\n return receiverLastName;\r\n }", "public String getReceiver() {\n\t\treturn receiverId;\n\t}", "public java.lang.String getReceiverId() {\r\n return receiverId;\r\n }", "public void setReceiverName(String receiverName) {\n this.receiver...
[ "0.6242421", "0.6142317", "0.60744154", "0.602837", "0.602837", "0.5989675", "0.59720385", "0.59005946", "0.58628136", "0.5802894", "0.57637876", "0.57601774", "0.5757661", "0.5748265", "0.56927586", "0.568942", "0.56729805", "0.55699277", "0.55625635", "0.55508274", "0.55457...
0.6731228
1
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.receiver_name
public void setReceiverName(String receiverName) { this.receiverName = receiverName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReceiver(String receiver) {\n Receiver = receiver;\n }", "public void setReceiverLastName(java.lang.String receiverLastName) {\r\n this.receiverLastName = receiverLastName;\r\n }", "public void setReceiver(Receiver receiver) {\n\t this.receiver = receiver;\n\t }", "pu...
[ "0.65772665", "0.6071276", "0.6029563", "0.599552", "0.5976729", "0.5935279", "0.58954257", "0.58954257", "0.5832755", "0.5811507", "0.58067375", "0.5710627", "0.5703159", "0.569564", "0.56551814", "0.5585829", "0.55615", "0.55272377", "0.5481403", "0.5465127", "0.54270697", ...
0.6682304
1
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.receiver_id
public String getReceiverId() { return receiverId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getReceiverid() {\n return receiverid_;\n }", "public int getReceiverid() {\n return receiverid_;\n }", "public java.lang.String getReceiverId() {\r\n return receiverId;\r\n }", "public String getReceiver() {\n\t\treturn receiverId;\n\t}", "int getReceiverid();", "publi...
[ "0.70851684", "0.70703405", "0.692128", "0.68794703", "0.6299027", "0.6076392", "0.60578954", "0.60255456", "0.6025135", "0.59958696", "0.597952", "0.5967141", "0.5954432", "0.57585275", "0.5642889", "0.55563074", "0.5505571", "0.55036175", "0.5494617", "0.546632", "0.546632"...
0.69595206
2
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.receiver_id
public void setReceiverId(String receiverId) { this.receiverId = receiverId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReceiverId(int v) \n {\n \n if (this.receiverId != v)\n {\n this.receiverId = v;\n setModified(true);\n }\n \n \n }", "public void setReceiverId(java.lang.String receiverId) {\r\n this.receiverId = receive...
[ "0.73522675", "0.6774745", "0.6387822", "0.6373315", "0.6301306", "0.6281251", "0.62758094", "0.6173954", "0.61697185", "0.6093634", "0.5991787", "0.57767075", "0.5775695", "0.5712317", "0.56982946", "0.559993", "0.5599657", "0.5582282", "0.54127413", "0.54127413", "0.5385071...
0.68012536
1
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.receiver_area_type
public String getReceiverAreaType() { return receiverAreaType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReceiverAreaType(String receiverAreaType) {\n this.receiverAreaType = receiverAreaType;\n }", "public Long getReceiverAreaId() {\n return receiverAreaId;\n }", "public String getReceiverAreaName() {\n return receiverAreaName;\n }", "public void setReceiverAreaId(L...
[ "0.7511274", "0.7014598", "0.64494437", "0.6445138", "0.60906464", "0.54167014", "0.5390991", "0.5105354", "0.5105354", "0.5052179", "0.5042193", "0.5036297", "0.5036297", "0.5019188", "0.5015013", "0.49716607", "0.49621361", "0.49443328", "0.49298078", "0.49291116", "0.49126...
0.77906567
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.receiver_area_type
public void setReceiverAreaType(String receiverAreaType) { this.receiverAreaType = receiverAreaType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getReceiverAreaType() {\n return receiverAreaType;\n }", "public void setReceiverAreaId(Long receiverAreaId) {\n this.receiverAreaId = receiverAreaId;\n }", "public Long getReceiverAreaId() {\n return receiverAreaId;\n }", "public void setReceiverAreaName(String re...
[ "0.70277095", "0.6891538", "0.63854957", "0.63255167", "0.5638859", "0.54227906", "0.53907543", "0.5371066", "0.51074797", "0.5060813", "0.5036654", "0.5013694", "0.49791247", "0.49158418", "0.48507178", "0.4841334", "0.48167068", "0.479965", "0.4799114", "0.4778868", "0.4767...
0.78421336
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.receiver_area_name
public String getReceiverAreaName() { return receiverAreaName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getReceiverAreaId() {\n return receiverAreaId;\n }", "public void setReceiverAreaName(String receiverAreaName) {\n this.receiverAreaName = receiverAreaName;\n }", "public String getReceiverAreaType() {\n return receiverAreaType;\n }", "public void setReceiverAreaType...
[ "0.6870298", "0.67548114", "0.67468596", "0.62946516", "0.6114932", "0.5852308", "0.5843471", "0.5843471", "0.5576992", "0.55655634", "0.55655634", "0.55637", "0.5445322", "0.5371848", "0.53300613", "0.5244384", "0.5236537", "0.52240884", "0.5220396", "0.51863986", "0.5150077...
0.7316861
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.receiver_area_name
public void setReceiverAreaName(String receiverAreaName) { this.receiverAreaName = receiverAreaName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReceiverAreaType(String receiverAreaType) {\n this.receiverAreaType = receiverAreaType;\n }", "public void setReceiverAreaId(Long receiverAreaId) {\n this.receiverAreaId = receiverAreaId;\n }", "public String getReceiverAreaName() {\n return receiverAreaName;\n }", ...
[ "0.6678129", "0.66147906", "0.6501157", "0.62088025", "0.60289496", "0.5543801", "0.5444112", "0.5444112", "0.54422027", "0.54422027", "0.5217976", "0.5206804", "0.5165135", "0.5121753", "0.5085673", "0.5077505", "0.5066504", "0.5052995", "0.50463986", "0.5044547", "0.5041854...
0.71539456
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.receiver_area_id
public Long getReceiverAreaId() { return receiverAreaId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReceiverAreaId(Long receiverAreaId) {\n this.receiverAreaId = receiverAreaId;\n }", "public String getReceiverAreaType() {\n return receiverAreaType;\n }", "public String getReceiverAreaName() {\n return receiverAreaName;\n }", "public void setReceiverAreaType(Str...
[ "0.7124367", "0.6674364", "0.6506214", "0.6415443", "0.6164277", "0.60034686", "0.60034686", "0.59802276", "0.5969417", "0.5968475", "0.595494", "0.58640915", "0.5699747", "0.5434844", "0.5347674", "0.5272662", "0.5271817", "0.52687806", "0.51950717", "0.51789826", "0.5175285...
0.78451544
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.receiver_area_id
public void setReceiverAreaId(Long receiverAreaId) { this.receiverAreaId = receiverAreaId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getReceiverAreaId() {\n return receiverAreaId;\n }", "public void setReceiverAreaType(String receiverAreaType) {\n this.receiverAreaType = receiverAreaType;\n }", "public void setReceiverAreaName(String receiverAreaName) {\n this.receiverAreaName = receiverAreaName;\n ...
[ "0.70272803", "0.6705237", "0.6370428", "0.5951035", "0.5910913", "0.5781555", "0.57164156", "0.56330407", "0.54052347", "0.54052347", "0.52642655", "0.524643", "0.52447927", "0.5241743", "0.5232169", "0.521887", "0.52008027", "0.52008027", "0.51503897", "0.51471126", "0.5096...
0.7515191
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.reason
public String getReason() { return reason; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAuditReason() {\n return auditReason;\n }", "public String getReason() {\n\t\treturn getProperty(\"reason\");\n\t}", "public String getReason() {\n return this.reason;\n }", "java.lang.String getReason();", "public String getReason() {\n\t\treturn this.reason;\n\t}", ...
[ "0.65839005", "0.64295006", "0.6409036", "0.6398708", "0.63809896", "0.6305648", "0.62913764", "0.6257475", "0.6249042", "0.6217302", "0.61365473", "0.6133191", "0.6118373", "0.61168736", "0.6109518", "0.6083491", "0.6082153", "0.60449696", "0.60146874", "0.59779346", "0.5897...
0.6128946
14
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.reason
public void setReason(String reason) { this.reason = reason; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void setReason( String arg0)\n {\n \n }", "public void setReason(String value) {\n this.reason = value;\n }", "public void setReason(String reason);", "public void setReason(String aReason) {\n\t\tthis.reason = aReason;\n\t}", "public void setReason(String reas...
[ "0.616159", "0.6102014", "0.6021001", "0.59335184", "0.5736476", "0.56663704", "0.5549068", "0.55127513", "0.5461739", "0.54321617", "0.5408365", "0.5408365", "0.53840256", "0.53427213", "0.5284455", "0.5281922", "0.52690977", "0.5253707", "0.52456284", "0.52173537", "0.51644...
0.56236094
8
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.logistics_cost
public String getLogisticsCost() { return logisticsCost; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setLogisticsCost(String logisticsCost) {\n this.logisticsCost = logisticsCost;\n }", "public String getCost() {\n\t\tString t = doc.get(\"cost\");\n\n\t\tif (t == null) {\n\t\t\treturn \"\";\n\t\t} else {\n\t\t\treturn t;\n\t\t}\n\t}", "@Override\n\tpublic double getSumOfCost() {\n\t Str...
[ "0.63466066", "0.5958313", "0.5854393", "0.5854355", "0.58191377", "0.57920915", "0.5773953", "0.5762198", "0.57301205", "0.56744844", "0.56705946", "0.56634873", "0.5651809", "0.5638683", "0.5626862", "0.56104666", "0.55839574", "0.55839574", "0.5574867", "0.55421805", "0.55...
0.7034989
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.logistics_cost
public void setLogisticsCost(String logisticsCost) { this.logisticsCost = logisticsCost; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCost(double cost){\n this.cost = cost;\n }", "public void setCost(BigDecimal cost) {\r\n this.cost = cost;\r\n }", "@Override\n\tvoid get_cost_per_sqarefeet() {\n\t\tcost=1800;\n\t}", "void setCost(double cost);", "public void setCost(int c) {\r\n this.cost = c;\r\n }...
[ "0.5951589", "0.58699995", "0.58566386", "0.579363", "0.57915634", "0.5785764", "0.5758691", "0.5688206", "0.5655683", "0.5603273", "0.55993265", "0.55953485", "0.55773026", "0.55751735", "0.55735976", "0.55607074", "0.5559269", "0.5559113", "0.55316055", "0.55268484", "0.551...
0.7152523
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.logistics_distance
public String getLogisticsDistance() { return logisticsDistance; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getDistance(){\n\t\treturn this.distance;\n\t}", "public double getDistance(){\n return sensor.getVoltage()*100/2.54 - 12;\n }", "public double getDistance() {\r\n return this.distance;\r\n }", "public void setLogisticsDistance(String logisticsDistance) {\n this.logisticsDi...
[ "0.591601", "0.5895395", "0.5782115", "0.5763311", "0.5760579", "0.5759473", "0.5705493", "0.5685716", "0.56080735", "0.56080735", "0.5588232", "0.5588232", "0.556318", "0.5552705", "0.55385077", "0.55385077", "0.55351275", "0.5532543", "0.5494013", "0.5478171", "0.5474542", ...
0.66067624
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.logistics_distance
public void setLogisticsDistance(String logisticsDistance) { this.logisticsDistance = logisticsDistance; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@DBField\n public void setDistance(float distance){\n this.distance = distance;\n }", "public void setDistance(double distance) {\r\n this.distance = distance;\r\n }", "public void setDistance(double distance) {\n this.distance = distance;\n }", "public void setDistance(doubl...
[ "0.59849906", "0.5528867", "0.5471759", "0.5471759", "0.5358892", "0.52833664", "0.52772963", "0.52404875", "0.52188766", "0.51070404", "0.5097872", "0.5092423", "0.5070945", "0.49949813", "0.4988736", "0.49310052", "0.49286598", "0.4837898", "0.48351425", "0.48079312", "0.47...
0.6603379
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.type
public String getType() { return type; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRoleType() {\n return roleType;\n }", "public String getRoleType() {\n return roleType;\n }", "RoleType getRoleType();", "public int getSqlType() { return _type; }", "public String getJdbcType() {\n return this.jdbcType;\n }", "public String getJdbcT...
[ "0.58241427", "0.58241427", "0.57267314", "0.5710219", "0.5565382", "0.5565382", "0.5565382", "0.5565382", "0.5565382", "0.5565382", "0.5565382", "0.5565382", "0.5565382", "0.5565382", "0.5565382", "0.5555314", "0.5542775", "0.55376774", "0.55157363", "0.5509746", "0.5508997"...
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.type
public void setType(String type) { this.type = type; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setForPersistentMapping_Type(Type type) {\n this.type = type;\n }", "void setType(Type type)\n {\n this.type = type;\n }", "void setType(String type) {\n this.type = type;\n }", "public void setType(Object type)\r\n {\r\n\tthis.type = type;\r\n }", "public void s...
[ "0.5315762", "0.52612716", "0.5190576", "0.5186261", "0.5120472", "0.50763667", "0.5071811", "0.50702924", "0.5045644", "0.5042945", "0.5042863", "0.5042863", "0.5026604", "0.50228894", "0.5014006", "0.50114036", "0.49980327", "0.49563724", "0.49484822", "0.49361575", "0.4928...
0.48534036
69
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.status
public String getStatus() { return status; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getStatus() {\n return this.Status;\n }", "public String getStatus() {\n return getProperty(Property.STATUS);\n }", "public String getStatus(){\n\n //returns the value of the status field\n return this.status;\n }", "public Integer getStatus() {\n return this.status;\n...
[ "0.6070492", "0.60456777", "0.5904529", "0.5898663", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", "0.58312225", ...
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.status
public void setStatus(String status) { this.status = status; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@IcalProperty(pindex = PropertyInfoIndex.STATUS,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true\n )\n public void setStatus(final String val) {\n status = val;\n }", "public void setRolloverStatus(boolean value) {\n ...
[ "0.58947116", "0.5783256", "0.56617486", "0.55614907", "0.54427576", "0.5429197", "0.54235494", "0.5403781", "0.53953", "0.5369697", "0.5336215", "0.5336215", "0.53261274", "0.5324855", "0.5288029", "0.5288029", "0.52855057", "0.5258358", "0.5255661", "0.5245144", "0.5245144"...
0.50846684
82
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.remark
public String getRemark() { return remark; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRemark() {\r\n return remark;\r\n }", "public String getRemark() {\r\n return remark;\r\n }", "public String getRemark() {\r\n return remark;\r\n }", "public String getRemark() {\r\n return remark;\r\n }", "public String getRemark() {\r\n return rem...
[ "0.6215422", "0.61719126", "0.61719126", "0.61719126", "0.61719126", "0.61302006", "0.61071396", "0.61019194", "0.6064877", "0.6050889", "0.6025353", "0.60226846", "0.5973045", "0.5797626", "0.57579714", "0.5748427", "0.57437", "0.574139", "0.57153374", "0.57153374", "0.57153...
0.6117197
30
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.remark
public void setRemark(String remark) { this.remark = remark; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setRemark(EmployeeLeave employeeLeave, ResultSet rs, int rowNumber) throws SQLException{\n\t\tString remark = rs.getString(EmployeeLeaveTable.COLUMN_REMARK);\n\t\tif(remark == null){\n\t\t\t//do nothing when nothing found in database\n\t\t\treturn;\n\t\t}\n\t\n\t\temployeeLeave.setRemark(remark);\n\...
[ "0.64153284", "0.62691045", "0.6030024", "0.59860873", "0.59860873", "0.59183824", "0.58885336", "0.58689487", "0.5777481", "0.57612634", "0.57612634", "0.5748394", "0.5748394", "0.5748394", "0.5748394", "0.5748394", "0.5748394", "0.5748394", "0.5748394", "0.5748394", "0.5748...
0.58991617
13
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.is_deductible
public String getIsDeductible() { return isDeductible; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ModelNodeBinding(detypedName = \"jdbc-compliant\")\n\tpublic Boolean jdbcCompliant() {\n\t\treturn this.jdbcCompliant;\n\t}", "public Boolean deceasedBoolean() {\n return data.getBoolean(FhirPropertyNames.PROPERTY_DECEASED_BOOLEAN);\n }", "@Transient\n\tpublic boolean getRefundable(){\n\t\treturn th...
[ "0.5016051", "0.49298662", "0.49036208", "0.4846419", "0.4806875", "0.48062846", "0.48011827", "0.47784173", "0.4702538", "0.4676181", "0.46508893", "0.45884365", "0.45723033", "0.45723033", "0.45265156", "0.4510268", "0.44892564", "0.44533193", "0.44268462", "0.4419678", "0....
0.57288754
0
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.is_deductible
public void setIsDeductible(String isDeductible) { this.isDeductible = isDeductible; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void setPoolable(boolean poolable)\n\t\tthrows SQLException {\n \n }", "@Override\r\n\tpublic void setPoolable(boolean poolable) throws SQLException {\n\t\t\r\n\t}", "@Override\n\tpublic void setPoolable(boolean poolable) throws SQLException {\n\t\t\n\t}", "@Override\r\n\tpublic voi...
[ "0.5194837", "0.51913446", "0.5117781", "0.5109441", "0.4749381", "0.47095382", "0.46777037", "0.45325744", "0.4507483", "0.45047086", "0.44963697", "0.4494019", "0.4494019", "0.44811833", "0.44129974", "0.4411135", "0.44021738", "0.43713567", "0.43660545", "0.4347451", "0.43...
0.56511337
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.total_payment
public String getTotalPayment() { return totalPayment; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic int pastPaymentsAmount(Payment payment) {\r\n\t\t// TODO Auto-generated method stub\r\n\r\n\r\n\t\ttry {\r\n\t\t\tString sql = \"select sum(\\\"paymentAmount\\\") from \\\"Registration DB\\\".\\\"Payments\\\" where id='\"\r\n\t\t\t\t\t+ payment.getId() + \"'\";\r\n\t\t\treturn jdbcTemplate.qu...
[ "0.7046924", "0.6640243", "0.6395426", "0.6251371", "0.6014279", "0.5998226", "0.5975085", "0.59481645", "0.59350944", "0.5898698", "0.5898072", "0.5895898", "0.5895898", "0.5850611", "0.57936597", "0.5778879", "0.57602876", "0.57558376", "0.57558376", "0.5741892", "0.5740873...
0.6767903
1
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.total_payment
public void setTotalPayment(String totalPayment) { this.totalPayment = totalPayment; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void calculatePayment()\n {\n this.paymentAmount = annualSalary / SALARY_PERIOD;\n }", "@Override\r\n\tpublic int pastPaymentsAmount(Payment payment) {\r\n\t\t// TODO Auto-generated method stub\r\n\r\n\r\n\t\ttry {\r\n\t\t\tString sql = \"select sum(\\\"paymentAmount\\\") from ...
[ "0.6422039", "0.62600356", "0.61430705", "0.6137557", "0.60385746", "0.5941889", "0.5930094", "0.5930094", "0.5911535", "0.5808353", "0.57932323", "0.5764247", "0.57059556", "0.5648191", "0.5647162", "0.5608474", "0.55954546", "0.55696917", "0.5557705", "0.5557516", "0.555751...
0.6761412
0
This method was generated by MyBatis Generator. This method returns the value of the database column asset_rollout.attach_id
public String getAttachId() { return attachId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.Long getAttachmentId() {\n return attachmentId;\n }", "public int getAuditId();", "public String getAssetId();", "public long getAuditLogId() {\n return auditLogId;\n }", "public void setAttachId(String attachId) {\n this.attachId = attachId;\n }", "public S...
[ "0.63393205", "0.5461979", "0.53173757", "0.5302827", "0.5234313", "0.5227137", "0.5221223", "0.52042466", "0.5194561", "0.5191135", "0.5167757", "0.5163343", "0.51356447", "0.51260054", "0.50768685", "0.5068431", "0.5038802", "0.49898896", "0.4978452", "0.49314272", "0.49243...
0.6226212
1
This method was generated by MyBatis Generator. This method sets the value of the database column asset_rollout.attach_id
public void setAttachId(String attachId) { this.attachId = attachId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAttachmentId(java.lang.Long attachmentId) {\n this.attachmentId = attachmentId;\n }", "public String getAttachId() {\n return attachId;\n }", "private void updateAsset(\n\t\tLead lead, ServiceContext serviceContext)\n\t\tthrows PortalException {\n\n\t\tassetEntryLocalService....
[ "0.5538317", "0.5355113", "0.5240892", "0.5221314", "0.5199694", "0.51871496", "0.51389486", "0.5061431", "0.50156635", "0.49909863", "0.49407724", "0.4884892", "0.48516178", "0.48239368", "0.47924757", "0.4786061", "0.47769028", "0.47198784", "0.4675222", "0.45617163", "0.45...
0.5702458
0
TODO Autogenerated method stub
public static void main(String[] args) { Order order1 = new Order("ItemNameA", "OrdererA10", 15); Order order2 = new Order("ItemName6", "OrdererO10", 22); System.out.println(order1.compareTo(order2)); }
{ "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
set HTTP request method
public void setRequestMethod(int requestMethod) { this.requestMethod = requestMethod; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMethod(HTTPMethod method);", "private void setRequestMethod() {\n switch (type) {\n case GET:\n try {\n connection.setRequestMethod(GET);\n } catch (ProtocolException e) {\n LOG.severe(\"Could not set request as ...
[ "0.8449699", "0.7941373", "0.7866202", "0.7808492", "0.77903336", "0.77856857", "0.7614908", "0.7478118", "0.7478118", "0.7462053", "0.73868465", "0.7380505", "0.73373044", "0.7177245", "0.71698433", "0.7165566", "0.7134036", "0.70316625", "0.69356954", "0.68050003", "0.66916...
0.7786281
5
execute http request to fetch data from server
public void execute(String url) { this.url = url; Log.d(this.getClass().getName(), "Request URL: " + url); Log.d(this.getClass().getName(), "Request Body: " + jsonBody); ErrorListener errorListener = new ErrorListener() { @Override public void onErrorResponse(V...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void run() {\n\t\t\t\tHttpURLConnection connection = null;\r\n\t\t\t\tStringBuilder response = new StringBuilder();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tURL url = new URL(address);\r\n\t\t\t\t\tconnection = (HttpURLConnection) url.openConnection();\r\n\t\t\t\t\tconnection.setRequestMethod(\"GET\");\r\n\t\t\t\t\tcon...
[ "0.6995393", "0.666769", "0.66128325", "0.65245897", "0.64436054", "0.64303863", "0.6373281", "0.63606644", "0.63248247", "0.6299468", "0.62813616", "0.6273981", "0.62692827", "0.623031", "0.6228675", "0.61696714", "0.6159802", "0.6159711", "0.60822344", "0.6074289", "0.60562...
0.0
-1
formating date output for filename
public static void readMemory() { SimpleDateFormat dateFormat = new SimpleDateFormat("dd_MM_yyyy_hh_mm"); //getting the running container's id HashMap<String,String> hMap = ContainerUtil.getActiveContainers(); //getting the process IDs for the running conteiners File[] directories = new File("/proc").listFi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getFileFormattedDate() {\n return this.date.format(DateTimeFormatter.ofPattern(\"yyyy-MM-dd\"));\n }", "public String fileFormat() {\n DateTimeFormatter df = DateTimeFormatter.ofPattern(\"dd MMM yyyy HHmm\");\n return \"D | \" + (super.isDone ? \"1 | \" : \"0 | \") + this.de...
[ "0.74683654", "0.71597636", "0.700224", "0.6992764", "0.6594942", "0.63959455", "0.6348575", "0.63295615", "0.62742305", "0.62570506", "0.61991185", "0.6182867", "0.61367196", "0.6128069", "0.61113006", "0.60841334", "0.6066956", "0.6061413", "0.6037645", "0.600897", "0.60088...
0.0
-1
Getting the machine mac address
private static String getMacAddress(){ try { //getting hardware address from inside a virtual machine from NetworkInterface object returns null, so need a gambiarra. //if this issue is ever solved please replace for the appropriate code String command = "ifconfig"; Process p = Runtime.getRuntime().exec(co...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getMac() {\n\t\treturn InfraUtil.getMacAddress();\n\t}", "public java.lang.String getUser_mac();", "public String getEthernetMacAddress(){\n\t try {\n\t return loadFileAsString(\"/sys/class/net/eth0/address\")\n\t .toUpperCase().substring(0, 17);\n\t } catch (IOException e...
[ "0.83363706", "0.83070487", "0.8297677", "0.8261038", "0.82488775", "0.82207245", "0.8208486", "0.81787956", "0.81571954", "0.8146106", "0.81312853", "0.81312853", "0.80928177", "0.799585", "0.795376", "0.78193885", "0.76253724", "0.76016223", "0.7534568", "0.75257933", "0.75...
0.8166176
8
Writing the memory content to a file
private static void writeMemToFile(String outFile, String fileSource){ FileInputStream instream = null; FileOutputStream outstream = null; try{ File infile =new File(fileSource); File outfile =new File(outFile); MessageDigest digest = MessageDigest.getInstance("SHA-256"); instream = new FileInputSt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void write(final File file) throws IOException\n\t{\n\t\tif (isInMemory())\n\t\t{\n\t\t\tFileOutputStream fout = new FileOutputStream(file);\n\n\t\t\ttry\n\t\t\t{\n\t\t\t\tfout.write(get());\n\t\t\t}\n\t\t\tfinally\n\t\t\t{\n\t\t\t\tfout.close();\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tFile out...
[ "0.6332722", "0.6244972", "0.61871356", "0.61831886", "0.6136282", "0.6068799", "0.60601777", "0.604679", "0.5989045", "0.5979494", "0.5969148", "0.5966145", "0.59653753", "0.5962671", "0.58848214", "0.5884263", "0.5833735", "0.58270854", "0.5803389", "0.57767504", "0.5771799...
0.55401164
47
save data from form to database
@PostMapping("/user-list") public String userlist(@ModelAttribute User user, ModelMap model){ model.addAttribute("USERS", userService.save(user)); model.addAttribute("addStatus", true); return "redirect:/admin/user-list"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void saveData() {\n // Actualiza la información\n client.setName(nameTextField.getText());\n client.setLastName(lastNameTextField.getText());\n client.setDni(dniTextField.getText());\n client.setAddress(addressTextField.getText());\n client.setTelephone(telephoneTe...
[ "0.72668713", "0.7049719", "0.6951753", "0.694547", "0.6809767", "0.66906524", "0.6655468", "0.66210467", "0.6601149", "0.6597306", "0.654791", "0.6475826", "0.6457577", "0.6448988", "0.6442002", "0.6427745", "0.6427745", "0.6427745", "0.6427745", "0.6426461", "0.6381824", ...
0.0
-1
Return the number of cycles
public static int getNbCycle() { return nbCycle; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getCycles();", "static long GetCycleCount() {\n\t\treturn System.currentTimeMillis();\n\t}", "public int getCycle() {\n return cycle;\n }", "public final long getCycles() {\r\n return this.cycles;\r\n }", "public int getNCycles() {\n return ncycles;\n }", "public int ge...
[ "0.82749504", "0.7697544", "0.72886926", "0.7271639", "0.7182385", "0.6663136", "0.66549784", "0.6593118", "0.6554703", "0.6319054", "0.62993336", "0.62931204", "0.6291563", "0.616084", "0.61391115", "0.60797524", "0.5977649", "0.5943747", "0.5914054", "0.58993286", "0.588201...
0.7833647
1
/ Complexity Analysis: Time complexity: O(N) Space complexity: O(1)
public static List<Integer> findNumbers(int[] nums) { if (nums == null || nums.length == 0) { return null; } List<Integer> duplicateNumbers = new ArrayList<>(); int i = 0; while (i < nums.length) { if (nums[i] != nums[nums[i] - 1]) { int t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int f2(int N) { \n int x = 0; //O(1)\n for(int i = 0; i < N; i++) // O(n)\n // O(n)`\n for(int j = 0; j < i; j++) \n x++;\n return x;\n }", "public static int f1(int N) {\n int x = 0; //O(1)\n for(int i = 0; i < N; i++...
[ "0.7210205", "0.70192856", "0.64914435", "0.6381387", "0.6241095", "0.6192179", "0.6185628", "0.6134626", "0.60769635", "0.60111433", "0.5911411", "0.58312607", "0.5796057", "0.5724557", "0.5701904", "0.5700824", "0.5697515", "0.56481475", "0.5629054", "0.5622854", "0.5614867...
0.0
-1
Calculate the maximum size. It is the container preferred size
@Override public Dimension maximumLayoutSize(Container container) { return container.getPreferredSize(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int size_max() {\n return (8 / 8);\n }", "private int getMaxSize() {\r\n return PropUtils.getValue(sizeLimitProp, DEFAULT_MAX_SIZE);\r\n }", "public Dimension getMaximumSize()\n {\n return new Dimension(32767, 32767);\n }", "public Dimension getMaximumSize() {\n ...
[ "0.79157484", "0.78848386", "0.78323835", "0.78034794", "0.77889854", "0.7766202", "0.75875825", "0.7511073", "0.7506414", "0.7487536", "0.74540925", "0.74289227", "0.7409903", "0.7409903", "0.7392565", "0.7367386", "0.7356841", "0.7356841", "0.7356841", "0.7354219", "0.73367...
0.7454873
10
The source of this event is the Thread. We want to set the component position in order to the parent position
@Override public void mouseDragged(MouseEvent e) { Rectangle r = c.getBounds(); c.setBounds(e.getX() + (int) r.getX(), e.getY() + (int) r.getY(), c.getPreferredSize().width, c.getPreferredSize().height...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic void ancestorMoved(AncestorEvent event) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\t\t\t\t\tpublic void ancestorMoved(AncestorEvent event) {\n\t\t\t\t\t\t\t}", "@Override\n public void mouseDragged(MouseEvent e) {\n int thisX = parent.getLocation().x;\n ...
[ "0.60071623", "0.5973345", "0.59697074", "0.5960705", "0.59535366", "0.58895", "0.5810692", "0.5677282", "0.5677282", "0.5648447", "0.5630568", "0.5630568", "0.5604002", "0.5601121", "0.55832905", "0.55603737", "0.5536217", "0.55254155", "0.54886264", "0.5473391", "0.54629606...
0.5267527
38
Creates new form BuscarCentro
public BuscarCentro() { initComponents(); model= (DefaultTableModel)jTable1.getModel(); centros = Modelo.Centro.listarCentros(); for(Modelo.Centro c: centros){ model.insertRow(model.getRowCount(), new Object[]{c.getId_centro(),c.getNombre(),c.getLoc()}); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "public CadastroProdutoNew() {\n initComponents();\n }", "private void criaCabecalho() {\r\n\t\tJLabel cabecalho = new JLabel(\"Cadastro de Homem\");\r\n\t\tcabecalho.setHorizontalAlignment(SwingConstants.CENTER);...
[ "0.69752526", "0.69042146", "0.64434856", "0.63524574", "0.634122", "0.633462", "0.6320819", "0.63192314", "0.63120866", "0.62958026", "0.62644", "0.62449044", "0.62187797", "0.6202524", "0.6201785", "0.61948425", "0.617098", "0.6150654", "0.6147132", "0.6147029", "0.6141979"...
0.6026773
32
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() { jScrollPane1 = new javax.swing.JScrollPane(); jTable1 = new javax.swing.JTable(); jLabel1 = new javax.swing.JLabel(); jButton1...
{ "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.73197734", "0.72914416", "0.72914416", "0.72914416", "0.72862023", "0.72487676", "0.7213741", "0.7207628", "0.7196503", "0.7190263", "0.71850693", "0.71594703", "0.7147939", "0.7093137", "0.70808756", "0.70566356", "0.6987119", "0.69778043", "0.6955563", "0.6953879", "0.69...
0.0
-1
End of variables declaration//GENEND:variables
void setTf(TrabajadorFormulario tf) { this.tf=tf; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359434", "0.6280371", "0.61868024", "0.6094568", "0.60925734", "0.6071678", "0.6052686", "0.60522056", "0.6003249", "0.59887564", "0.59705925", "0.59680873", "0.5967989", "0.5965816", "0.5962006", "0.5942372", "0.5909877", "0.5896588", "0.5891321", "0.5882983", "0.5881482...
0.0
-1
instantialise a ByteBuffer object.
public MemBufferHolder(A ar, ByteBuffer bb) { super(bb, ar); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ByteBuffer getByteBuffer();", "public static ByteBuffer createByteBuffer(int bytes) {\n SimpleLogger.d(BufferUtils.class, \"Creating byte buffer with byte size: \" + bytes);\n return ByteBuffer.allocateDirect(bytes).order(ByteOrder.nativeOrder());\n }", "ByteBuffer allocate() {\n\t\tvar...
[ "0.6496266", "0.6466656", "0.64506537", "0.63344014", "0.6164319", "0.5959527", "0.5951291", "0.58735484", "0.5870348", "0.58408993", "0.5769159", "0.5756582", "0.57415783", "0.5726983", "0.5661345", "0.5661345", "0.5661345", "0.5661345", "0.5661345", "0.5661345", "0.5661345"...
0.52803063
65
reallocate its managed buffer.
@Override public MemBufferHolder<A> resize(long size) { return m_allocator.resizeBuffer(this, size); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void reallocate(){\n capacity = 2 * capacity;\n theData = Arrays.copyOf(theData, capacity);\n }", "private static void buffer() {\n\t\tSystem.out.println(\"bafor\"+Runtime.getRuntime().freeMemory());\n\t\tByteBuffer mBuffer=ByteBuffer.allocate(10240000);\n\t\tSystem.out.println(\"bafor\"...
[ "0.7238191", "0.70388234", "0.6886818", "0.67075807", "0.66586655", "0.66473407", "0.65900415", "0.6582897", "0.655242", "0.6411672", "0.6364436", "0.63399035", "0.62628174", "0.62440634", "0.6241322", "0.6232546", "0.62243724", "0.6184607", "0.6160069", "0.6139747", "0.61374...
0.55714816
70
TODO Autogenerated method stub
@Override public void onCreate(SQLiteDatabase arg0) { String CREATE_TABLE = "create table " +TB_NAME + "( " + T_SID+" integer," + T_PID+" integer," + T_VALUE+" text not null," + ")"; arg0.execSQL(CREATE_TABLE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2) { arg0.execSQL("drop table if exists "+TB_NAME); onCreate(arg0); }
{ "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
Shortest paths from s in Graph G
SP(EdgeWeightedDigraph G, int s) { distTo=new double[G.V()]; edgeTo=new DirectedEdge[G.V()]; /* * 1. Dijkstra's Algorithm (Non-negative weights) * 2. Topological Sort (No directed cycles) * 3. Bellman-Ford Algorithm (No negative cycles) */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Node> findShortestPath(Node s, Node t);", "void shortestPaths( Set<Integer> nodes );", "@Override\n public List<Node> findShortestPath(Node s, Node t)\n {\n nodeDists.clear(); //clear previously calculated distances\n\n recordNodeDistances(s, t); //record node distances to targe...
[ "0.75900316", "0.720134", "0.7116597", "0.70204043", "0.6943207", "0.69334996", "0.6922784", "0.6906309", "0.68914455", "0.6844251", "0.68337315", "0.68252736", "0.6819576", "0.68194765", "0.67948854", "0.6789131", "0.67884713", "0.67851627", "0.6735233", "0.67329115", "0.671...
0.0
-1
length of shortest path from s to v
double distTo(int v) { return distTo[v]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int length(int v, int w){\n shortestPath(v,w);\n return minPath;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\r\n for (Integer vTmp : v) {\r\n if (vTmp < 0 || vTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n ...
[ "0.7756377", "0.7581953", "0.75536346", "0.7551456", "0.7389491", "0.7284659", "0.72320986", "0.72312796", "0.7154928", "0.71467197", "0.7131174", "0.7109505", "0.7096576", "0.70494676", "0.7043091", "0.7040415", "0.7036371", "0.701916", "0.70072305", "0.69537926", "0.6933626...
0.0
-1
shortest path from s to v
Iterable<DirectedEdge> pathTo(int v) { Stack<DirectedEdge> path=new Stack<>(); for(DirectedEdge e=edgeTo[v]; e!=null; e=edgeTo[e.from()]) { path.push(e); } return path; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<V> getShortestPath(V vertex);", "public List<Node> findShortestPath(Node s, Node t);", "ShortestPath(ShortestPath sp) {\r\n\t\tsrc = sp.getSrc();\r\n\t\tdst = sp.getDst();\r\n\t\tpathList = new ArrayList<ArrayList<String>>();\r\n\t\tfor (ArrayList<String> path : sp.getPathList()) {\r\n\t\t\tpathList.add( ...
[ "0.7299876", "0.7181374", "0.69562334", "0.69299525", "0.68582296", "0.6818382", "0.6750234", "0.6588375", "0.65077", "0.6496898", "0.6471287", "0.6426441", "0.63673824", "0.63641787", "0.63031965", "0.62886006", "0.6280864", "0.6279277", "0.62358767", "0.6224376", "0.6206056...
0.57684565
57
is there a path from s to v
boolean hasPathTo(int v) { return edgeTo[v].weight()!=Double.POSITIVE_INFINITY; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasPathTo(int v){\n\t\tvalidateVertex(v);\n\t\treturn distTo[v]<Double.POSITIVE_INFINITY;\n\t}", "public boolean hasPathTo(int v) {\n return visited[v];\n }", "public boolean hasPathTo(int v) {\n return distTo[v] < Double.POSITIVE_INFINITY;\n }", "public boolean hasPathTo(i...
[ "0.6850644", "0.68087417", "0.6692695", "0.6603666", "0.64601684", "0.6369389", "0.6105146", "0.60079324", "0.59809", "0.5930891", "0.59193796", "0.58807325", "0.585665", "0.58293384", "0.57785314", "0.5728584", "0.5690298", "0.56685305", "0.56521165", "0.5643052", "0.5642463...
0.6867165
0
Create a new RenderSystem
public RenderSystem() { super(SystemType.RENDER); bufferBuffer = new MasterBuffer( voide.resources.Resources .get() .getResource("voide.packed_texture", Texture.class) .getTextureId() ); master = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void create() {\r\n render();\r\n }", "@Override\n\tpublic void create () {\n\t\tgempiresAssetHandler = new GempiresAssetHandler(this);\n\t\tbatch = new SpriteBatch();\n\t\tcastle = new CastleScreen(this);\n\t\tsetScreen(new MainMenuScreen(this));\n\t}", "@Override\n\tpublic void create...
[ "0.76380634", "0.6773418", "0.6453533", "0.6449549", "0.6422005", "0.63256884", "0.627032", "0.62100846", "0.61925", "0.61619973", "0.61551255", "0.61353016", "0.6121378", "0.6093957", "0.6075846", "0.6075472", "0.60545903", "0.6040883", "0.60264647", "0.60257137", "0.6016840...
0.73634523
1
Update the mouse position and render a new frame
public void update() { MouseWrapper mouseWrapper = Engine.get().getMouseWrapper(); bufferBuffer.clear(); if ( Engine.get().getEngineState() == Engine.EngineState.PLAY || Engine.get().getEngineState() == Engine.EngineState.PAUSE ) { VectorD mousePos = n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void update () {\n fill (175);\n rect(mouseX,mouseY,w,h);\n }", "public void update() {\n\t\t\n\t\tVector size = new Vector(Main.frame.getContentPane().getWidth() + 64, 64 + 64);\n\t\tposition = new Vector(0, Main.frame.getContentPane().getHeight() - 40);\n\t\t\n\t\tRectangle rect = new Rectangle(p...
[ "0.728576", "0.70577073", "0.7024676", "0.67562294", "0.66242796", "0.64760095", "0.6331583", "0.63188285", "0.6312896", "0.62959945", "0.6278161", "0.62704736", "0.62608325", "0.62434787", "0.6237921", "0.62321556", "0.62304354", "0.6223453", "0.6218289", "0.6207256", "0.620...
0.753223
0
Calculate the screenOffset based on the player position
private static VectorD calculateScreenOffset( TransformationStorage playerPos ) { VectorD dim = new VectorD(Constants.GAME_WIDTH, Constants.GAME_HEIGHT); return dim .multiplicate(DIM_REDUCTION) .diff( Engine .get() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Point getCameraOffset() {\n Point offset = new Point(getPlayer().getCenterX() - screenWidthMiddle,\n getPlayer().getCenterY() - screenHeightMiddle);\n reboundCameraOffset(offset, EnumSet.of(Direction.LEFT, Direction.RIGHT));\n // we want to add these offsets to the player...
[ "0.71471494", "0.67375624", "0.6664695", "0.6661132", "0.6299352", "0.6164257", "0.60620844", "0.60612684", "0.6008677", "0.59967804", "0.59705675", "0.59466416", "0.59377503", "0.5930909", "0.5929961", "0.5910995", "0.5902639", "0.58847475", "0.5862417", "0.584977", "0.58364...
0.80994636
0