query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Recupera id ocorrencia processo. | public Integer getIdOcorrenciaProcesso() {
return idOcorrenciaProcesso;
} | [
"String getRecepieId();",
"public String getCorusPid();",
"public int getIdComentario() {\n return id;\n }",
"public void setIdOcorrenciaProcesso(Integer idOcorrenciaProcesso) {\n\t\tthis.idOcorrenciaProcesso = idOcorrenciaProcesso;\n\t}",
"long getCommandId();",
"public abstract long getProcess... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Read file and return list of employees | private static Employee [] readFile(String fileName) {
Employee[] employees = new Employee[0];
try{
File file = new File(fileName);
try (Scanner scanner = new Scanner(file)) {
while(scanner.hasNextLine())
{
StringTokenizer st = new St... | [
"public void loadEmployees() {\n this.employees = new ArrayList<>();\n\n try {\n // creates a BufferedReader to read from EmployeeData\n BufferedReader br = new BufferedReader(new FileReader(\"EmployeeData.txt\"));\n\n while (br.ready()) {\n String line = br.readLine();\n // skip ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test Case : BRIT2449 Testing if receipt can be deleted | @Test (description = "Testing if as a manager can delete receipt")
public void deleteReceipt(){
extentLogger = report.createTest("Testing if receipt can be deleted");
commonSteps(extentLogger);
extentLogger.info("Click to select receipt \"e.g. 3456");
pages.receiptsMyCompanyChicago... | [
"@Test\n public void testEDeleteMerchandisePurchaseOrder() throws Exception {\n System.out.println(\"deleteMerchandisePurchaseOrder\");\n int sizeBefore = instance.retrieveAllMerchandisePurchaseOrders().size();\n \n int expResult = sizeBefore - 1;\n \n instance.deleteMerc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of getHttpHeader method, of class HttpResponse. | @Test
public void testGetHttpHeader() {
System.out.println("getHttpHeader");
String expResult = null;
String result = instance.getHttpHeader();
assertEquals(expResult, result);
} | [
"@Test\n\tpublic void verifyHeader() {\n\t\t\tHeaders head = response.getHeaders();\n\t\t\tAssert.assertEquals(head.getValues(\"Content-Type\").toString(), \"[application/json; charset=utf-8]\");\n\t\t}",
"@Test\r\n public void testHasHttpHeader() {\r\n System.out.println(\"hasHttpHeader\");\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test remove record at pos. Note: Requires swapNodes and update to be functional. | public void testRemovePos() {
// going to use value1 value2 as other keys
heap.insert(new Record(value2, value1)); // 58
heap.insert(rec2); // 16
heap.insert(rec2); // 16
heap.insert(new Record(value2, value2)); // 58
heap.insert(new Record(value1, value1)); // 74
... | [
"public void remove(Record r) \n\t{\n\t\tfilled--; //reduce load factor\n\t\tif (r.placement != -1){ //if r's expected position isnt null\n\t\t\tRecord newRecord = new Record(\"deleted\"); //make a new record with value \"deleted\n\t\t\tnewRecord.placement = -2; //set position to -1 (as is standard for deleted\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test iterator on empty list and several list | @Test
public void testIterator()
{
int counter = 0 ;
ListIterator<Integer> iter;
for (iter = empty.listIterator() ; iter.hasNext(); )
{
fail("Iterating empty list and found element") ;
}
counter = 0 ;
for (iter = several.listIterator() ; iter.hasNext(); iter.next())
counter++... | [
"public void testIterator()\r\n {\r\n int counter = 0 ;\r\n ListIterator<Integer> iter;\r\n for (iter = empty.QQQlistIterator() ; iter.hasNext(); )\r\n {\r\n fail(\"Iterating empty list and found element\") ;\r\n }\r\n counter = 0 ;\r\n for (iter = seve... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the embeddedFont if any. | public FontFile getEmbeddedFont() {
return font;
} | [
"public Font getFont()\r\n {\r\n return font.getValue();\r\n }",
"public Font getFont(\n )\n {return font;}",
"public Object getFont()\n {\n return font;\n }",
"public RMFont getFont() { return getParent()!=null? getParent().getFont() : null; }",
"public String getFont()\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Eliminamos lista de Clasificacion Participantes de un Concurso | public void deleteConcursoClasificacionParticipante(String oidConcurso); | [
"public List<ni.org.ics.estudios.appmovil.domain.muestreoanual.EncuestaParticipante> getListaEncuestaParticipantesSinEnviar() throws SQLException {\n Cursor encparts = null;\n List<ni.org.ics.estudios.appmovil.domain.muestreoanual.EncuestaParticipante> mEncuestaParticipantes = new ArrayList<ni.org.ics... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of getPropRef method, of class Property. | @Test
public void testGetPropRef() {
try {
System.out.println("getPropRef");
Calendar date = Calendar.getInstance();
date.set(2015, 1, 10);
Note note = new NoteImpl(1, "TEST NOTE", "DEDWARDS", new Date());
Note note2 = new NoteImpl(2, "TEST NOTE2",... | [
"PropertyReference createPropertyReference();",
"Property getProperty();",
"@Test\n public void testGetPropType() {\n try {\n System.out.println(\"getPropType\");\n Calendar date = Calendar.getInstance();\n date.set(2015, 1, 10);\n Note note = new NoteImpl(1... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
com.mcip.orb.Stringss getRptTelNum (in string in_dpt_cde) raises (com.mcip.orb.CoException); | public java.lang.String[][] getRptTelNum (java.lang.String in_dpt_cde) throws com.mcip.orb.CoException {
return this._delegate.getRptTelNum(in_dpt_cde);
} | [
"public String getTelNo()\r\n\t{\r\n\t\treturn this.telNo;\r\n\t}",
"java.lang.String getDeptExcCd();",
"java.lang.String getSerialnumber();",
"java.lang.String getDeptReqCd();",
"public String getSjrTel() {\r\n\t\treturn sjrTel;\r\n\t}",
"public String getTelNo() {\n return telNo;\n }",
"public int... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if this value is definitely null or undefined. | public boolean isNullOrUndef() {
checkNotPolymorphicOrUnknown();
return (flags & (NULL | UNDEF)) != 0
&& (flags & (NUM | STR | BOOL)) == 0 && num == null && str == null && object_labels == null && getters == null && setters == null;
} | [
"public boolean isPresent()\n {\n return value != null;\n }",
"public boolean hasValue() {\n\t\treturn value != null;\n\t}",
"public boolean isSetIs_null() {\n return this.is_null != null;\n }",
"boolean isNilValue();",
"boolean isNullable();",
"public boolean canBeUndefined();",
"publi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Folder__FoldersAssignment_4_4" $ANTLR start "rule__Folder__FilesAssignment_5_4" InternalData.g:1779:1: rule__Folder__FilesAssignment_5_4 : ( ruleFile ) ; | public final void rule__Folder__FilesAssignment_5_4() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalData.g:1783:1: ( ( ruleFile ) )
// InternalData.g:1784:2: ( ruleFile )
{
// InternalData.g:1784:2: ( ruleFile... | [
"public final void rule__Folder__Group_5__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalData.g:1234:1: ( ( ( rule__Folder__FilesAssignment_5_4 )* ) )\n // InternalData.g:1235:1: ( ( rule__Folder__FilesAssignment_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Calculates and gets a pixel location for the specified text render and the text cursor position. | public static Point getTextLocationAt(LwTextRender render, PosController pos)
{
if (pos.getOffset() < 0) return null;
int cl = pos.getCurrentLine();
return new Point(render.substrWidth(render.getLine(cl), 0, pos.getCurrentCol()),
cl * (render.getLineHeight() + render.getLineInden... | [
"public static Point getTextRowColAt(LwTextRender render, int x, int y)\n {\n int size = render.getTextModel().getSize();\n if (size == 0) return null;\n\n int lineHeight = render.getLineHeight();\n int lineIndent = render.getLineIndent();\n int lineNumber = (y<0)?0:(y + lineIndent)/(lineHeig... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true iff a call to this method can be ignored. | boolean ignoreCallsTo(IMethod method); | [
"boolean ignoreCallsFrom(IMethod method);",
"public boolean isDoNotCall() {\n return doNotCall;\n }",
"private boolean shouldIgnoreMethod(String name) {\n return ignoredMethodNames.contains(name);\n }",
"public boolean isIgnored() {\r\n return ignored && !isExtendedTarget();\r\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds given pack to the database. | static void installPack(final Activity activity, int packId) {
FirebaseFirestore.getInstance().collection(Constants.COLLECTION_PACKS).document(String.valueOf(packId))
.get()
.addOnCompleteListener(new OnCompleteListener<DocumentSnapshot>() {
@Override
... | [
"public void addPackage(Package pack)\n\t{\n\t\tif(!(this.packages.contains(pack)))\n\t\t\t(this.packages).add(pack);\n\t}",
"public void insertPack(packagee p) \r\n {\r\n packagee[] temp = new packagee[pack.length + 1];\r\n //System.arraycopy(pack, 0, temp, 0, pack.length);\r\n for (int i... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Moves the turtle forward the given number of steps. The methods blocks until the turtle is at the final position. The actual distance depends on the "TurtleStepFactor" as defined in the nxtlib.properties file. The turtle speed corresponds to the "TurtleSpeed" as defined in the nxtlib.properties file. | public TurtleRobot forward(int steps)
{
if (isReleased)
return this;
if (tp != null)
tp.println(id + "forward(" + steps + ")");
gear.moveTo(Tools.round(stepFactor * steps));
return this;
} | [
"public void forward(int numSteps);",
"void move(int steps);",
"public void forward(int step) {\n setPosition(getPosition() + step);\n }",
"public void moveForward (double distance) {\r\n\t\t\r\n\t\tdouble random_distance = Math.random()*2*distance; //random distance lottery\r\n\t\tint random_degree... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of remove method, of class BiMap. | @Test
public void testRemove() {
BiMap<Integer, String> biMap = new BiMap();
biMap.put(1, "One");
biMap.put(2, "Two");
biMap.put(3, "Three");
//remove(Key)
assertEquals("Three", biMap.remove(3));
assertEquals(2, biMap.size());
... | [
"@Test\r\n public void testRemoveValue() {\r\n BiMap<Integer, String> biMap = new BiMap();\r\n biMap.put(1, \"One\");\r\n biMap.put(2, \"Two\");\r\n biMap.put(3, \"Three\");\r\n \r\n assertEquals(1, (int)biMap.removeValue(\"One\"));\r\n assertEquals(2, biMap.size(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Parses the specified file for issues. | public Issues<Issue> parse(final File file, final Charset charset, final IssueBuilder builder)
throws ParsingException, ParsingCanceledException {
try (Reader input = createReader(new FileInputStream(file), charset)) {
Issues<Issue> issues = parse(input, builder);
issues.log(... | [
"@Test\n public void parseFile() throws IOException {\n Issues warnings = new AcuCobolParser().parse(openFile());\n\n assertEquals(4, warnings.size());\n\n Iterator<Issue> iterator = warnings.iterator();\n Issue annotation = iterator.next();\n checkWarning(annotation,\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The method returns the points of player two. | public int getPlayerTwoPoints() {
if (gameStatus == null) return -1;
return gameStatus.getPlayerTwoPoints();
} | [
"public Player getP2() {\n return p2;\n }",
"public Player getPlayer2() {\n return p2;\n }",
"public int getPilotPoints(){\n\t return player.getPilot();\n }",
"public int getCurrPoints(){\n return playerPoints;\n }",
"public Point getPoint2()\r\n {\r\n return point2;\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests both flavors of anyOf(), because one invokes the other. | @Test
public void testAnyOf() throws Exception {
// first task completes, others do not
List<Supplier<CompletableFuture<OperationOutcome>>> tasks = new LinkedList<>();
final OperationOutcome outcome = params.makeOutcome();
tasks.add(() -> CompletableFuture.completedFuture(outcome))... | [
"@Test\n\t@DisplayName(\"allMatch, anyMatch, and noneMatch example\")\n\tpublic void whenApplyMatch_thenReturnBoolean() {\n\t List<Integer> intList = Arrays.asList(2, 4, 5, 6, 8);\n\t boolean allEven = intList.stream().allMatch(i -> i % 2 == 0);\n\t boolean oneEven = intList.stream().anyMatch(i -> i % 2 ==... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/isEmpty: Determines whether the fuel tank is empty Parameters: N/A Returns: A boolean value corresponding to whether the tank is empty or not | public boolean isEmpty()
{
boolean empty;
if (fuel <= 0)
empty = true;
else
empty = false;
return(empty);
} | [
"public boolean isGasTankEmpty() {\r\n\t\tif(fuelLevel < 0.05)\r\n\t\t\treturn true;\r\n\t\treturn false;\r\n\t}",
"public boolean fuelIsEmpty() throws Exception;",
"public boolean isEmpty()\n {\n if (this.piggyBank.getCurrentSize() == 0)\n {\n return true;\n }\n else\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the contact station. A "" indicates that this field is not in use. | public String getContactStation() ; | [
"public String get_station_location () {\n if (!this.on) {\n return null;\n }\n\n return this.stationLocation;\n }",
"public String get_station_name () {\n if (!this.on) {\n return null;\n }\n\n return this.stationName;\n }",
"public String g... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__StepGeneration__Group__3__Impl" $ANTLR start "rule__Template__Group__0" InternalDsl.g:24437:1: rule__Template__Group__0 : rule__Template__Group__0__Impl rule__Template__Group__1 ; | public final void rule__Template__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalDsl.g:24441:1: ( rule__Template__Group__0__Impl rule__Template__Group__1 )
// InternalDsl.g:24442:2: rule__Template__Group__0__Impl rule__Temp... | [
"public final void rule__EventTemplate__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:24819:1: ( rule__EventTemplate__Group__0__Impl rule__EventTemplate__Group__1 )\n // InternalDsl.g:24820:2: rule__EventT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the accountName value. | public String accountName() {
return this.accountName;
} | [
"public String accountName() {\n return this.innerProperties() == null ? null : this.innerProperties().accountName();\n }",
"public String get_account_name(){\n\t\treturn txtDisplayed_UserAccountName.getText();\n\t}",
"public String getaccountname() {\n\n return accountname;\n }",
"public String... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__ImplForm__Group_1__1__Impl" $ANTLR start "rule__ImplForm__Group_1__2" InternalDSLSAT.g:599:1: rule__ImplForm__Group_1__2 : rule__ImplForm__Group_1__2__Impl ; | public final void rule__ImplForm__Group_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalDSLSAT.g:603:1: ( rule__ImplForm__Group_1__2__Impl )
// InternalDSLSAT.g:604:2: rule__ImplForm__Group_1__2__Impl
{
p... | [
"public final void rule__ImplForm__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:576:1: ( rule__ImplForm__Group_1__1__Impl rule__ImplForm__Group_1__2 )\n // InternalDSLSAT.g:577:2: rule__ImplForm__Gro... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets up the text area | private void setupTextArea() {
courseInfo = new JTextPane();
infoScrollPane = new JScrollPane(courseInfo);
infoScrollPane.setPreferredSize(new Dimension(350, 175));
courseInfo.setEditable(false);
display.add(infoScrollPane);
} | [
"private void setUpTextArea()\n\t{\n\t\tentryArea = new TextArea(\"Enter Diary Entry here!\");\n\t\tentryArea.setMaxHeight(300);\n\t\tentryArea.setMaxWidth(600);\n\t\tcenterSubPane.setCenter(entryArea);\n\t\tentryArea.setWrapText(true);\n\t\tBorderPane.setAlignment(entryArea, Pos.CENTER);\n\t}",
"void init(RichTe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
.msggamedata.AccountOSType os = 2; | com.felania.msldb.AccountOSTypeOuterClass.AccountOSType getOs(); | [
"public com.felania.msldb.AccountOSTypeOuterClass.AccountOSType getOs() {\n com.felania.msldb.AccountOSTypeOuterClass.AccountOSType result = com.felania.msldb.AccountOSTypeOuterClass.AccountOSType.valueOf(os_);\n return result == null ? com.felania.msldb.AccountOSTypeOuterClass.AccountOSType.UNRECOGNIZED ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Updates migration item. The operation to update the recovery settings of an ASR migration item. | public MigrationItemInner beginUpdate(String fabricName, String protectionContainerName, String migrationItemName) {
return beginUpdateWithServiceResponseAsync(fabricName, protectionContainerName, migrationItemName).toBlocking().single().body();
} | [
"@ServiceMethod(returns = ReturnType.SINGLE)\n MigrationItemInner update(\n String resourceName,\n String resourceGroupName,\n String fabricName,\n String protectionContainerName,\n String migrationItemName,\n UpdateMigrationItemInput input);",
"@ServiceMethod(returns ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests the case when 2 explicit namespaces are given with the second overwriting the first. | public void testOverwrittenExplicitNamespace() {
ExplicitNamespaceOverridingTestParentDTO obj = new ExplicitNamespaceOverridingTestParentDTO();
obj.attribute = "a";
obj.element = "b";
obj.elementList.add("c");
obj.element2 = new ExplicitNamespaceOverridingTestChildDTO();
... | [
"@Test\n\tpublic void test_TCM__OrgJdomNamespace_getNamespace() {\n\t\tfinal Namespace ns = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attr = new Attribute(\"test\", \"value\", ns);\n\t\tfinal Namespace ns2 = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Display that the login was successful. | private void makeToastLoginSuccessful() {
Toast.makeText(LoginActivity.this, "Login Successful", Toast.LENGTH_SHORT).show();
} | [
"private void login() {\n if (DataController.loginUser(usernameField.getText(), passwordField.getText())) {\n LoggedInUser.setLoggedInUser(usernameField.getText());\n responseLabel.setText(\"LOGGED IN\");\n } else {\n LoggedInUser.setLoggedInUser(null);\n re... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method deletes a booking record based on the bookingId | @Override
public void cancelBooking(Integer bookingId) throws Exception{
bookingRecord.remove(bookingId);
} | [
"Booking deleteBooking(int id);",
"boolean deleteRoomFromBooking(long bookingId) throws ServiceException;",
"public void deleteBooking(int id){\n try{\n this.statement = connection.createStatement();\n statement.executeUpdate(\"DELETE FROM bookings WHERE id = '\"+id+\"'\");\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column TRSDEAL_PROMISSORY_FX.DATE_REJECTED | public void setDATE_REJECTED(Date DATE_REJECTED)
{
this.DATE_REJECTED = DATE_REJECTED;
} | [
"public void setDATE_REJECTED(Date DATE_REJECTED) {\r\n this.DATE_REJECTED = DATE_REJECTED;\r\n }",
"public void setREJECT_DATE(Date REJECT_DATE) {\r\n this.REJECT_DATE = REJECT_DATE;\r\n }",
"public Date getDATE_REJECTED() {\r\n return DATE_REJECTED;\r\n }",
"public Date getDATE... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule___AssignmentKey__Group_2__0" $ANTLR start "rule___AssignmentKey__Group_2__0__Impl" InternalGaml.g:9574:1: rule___AssignmentKey__Group_2__0__Impl : ( '>' ) ; | public final void rule___AssignmentKey__Group_2__0__Impl() throws RecognitionException {
int rule___AssignmentKey__Group_2__0__Impl_StartIndex = input.index();
int stackSize = keepStackSize();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 543) ) { return... | [
"public final void rule___AssignmentKey__Group_2__1() throws RecognitionException {\n int rule___AssignmentKey__Group_2__1_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 544) ) { retur... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the bit mask to use when looking up materials by data value. | public void setDataMask(byte val)
{
dataMask = val;
} | [
"void setMask();",
"void setMask(Mask newMask) throws MatrixException;",
"public void setBitmask(long m) {\n\t\tthis.bitmask = m;\n\t}",
"public void setMask(BitSet imageMask) {\r\n mask = imageMask;\r\n }",
"public void setBitSetMask(BitSet mask) {\r\n newMask = mask;\r\n }",
"public ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructor for the Range object. This ensures that only a limited number of bytes can be consumed from a backing input stream giving the impression of an independent stream of bytes for a segmented region of the parent buffer. | public Range(InputStream source, int length) {
super(source);
this.length = length;
} | [
"public abstract Self byteRange(byte min, byte max);",
"public ChunkRange(final long from, final Long to) {\n rangeRequested = true;\n if (from < 0) {\n throw new IllegalArgumentException(\"from < 0\");\n }\n this.from = from;\n if (to != null && to >= 0) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Fetch records that have create_time BETWEEN lowerInclusive AND upperInclusive | public List<com.wuda.foundation.jooq.code.generation.commons.tables.pojos.TaskPhase> fetchRangeOfCreateTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) {
return fetchRange(TaskPhase.TASK_PHASE.CREATE_TIME, lowerInclusive, upperInclusive);
} | [
"public List<com.wuda.foundation.jooq.code.generation.commons.tables.pojos.PropertyValue> fetchRangeOfCreateTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) {\n return fetchRange(PropertyValue.PROPERTY_VALUE.CREATE_TIME, lowerInclusive, upperInclusive);\n }",
"public List<com.wuda.founda... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Builds the ATR data structures for an action parameter from the corresponding XML structures. | private void paramsToAtr(final List<ParamType> paramsXml,
final Modality modality,
final String version,
final String namespace,
List<ATRParameter> params,
Map<String, ATRTerm... | [
"public ATRActionDeclaration toAtr(ActionType xml,\n String version,\n String namespace)\n throws PALException {\n String id = xml.getId();\n SimpleTypeName name = (SimpleTypeName) TypeNameFactory.makeName(id,\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the picked ModelVertice. if there is no picked Vertice, this method returns null. | public Vertice getPickedModelVertice(){
Vertice pickVertice;
for(int i = 0; i < getModelVerticesCount(); i++){
pickVertice = getModelVertice(i);
if(pickVertice.isPicked){
return pickVertice;
}
}
return null;
} | [
"public Vertice selectPickedModelVertice(){\n\t\tunselectAllVertices();\n\t\tVertice pickVertice = getPickedModelVertice();\n\t\tif(pickVertice != null){\n\t\t\tselectModelVertice(pickVertice);\n\t\t\treturn pickVertice;\n\t\t}\n\t\treturn null;\n\t}",
"public Vertice getModelVertice(Vector3f _pos){\n\t\tint shor... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a Builder by copying an existing YChannel instance | private Builder(org.acalio.dm.model.avro.YChannel other) {
super(SCHEMA$);
if (isValidValue(fields()[0], other.id)) {
this.id = data().deepCopy(fields()[0].schema(), other.id);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.title)) {
this.title = data().... | [
"public static org.acalio.dm.model.avro.YChannel.Builder newBuilder(org.acalio.dm.model.avro.YChannel.Builder other) {\n if (other == null) {\n return new org.acalio.dm.model.avro.YChannel.Builder();\n } else {\n return new org.acalio.dm.model.avro.YChannel.Builder(other);\n }\n }",
"public st... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
///HttpClientDownloader httpClientDownloader = proxyDownloader(" OOSpider.create(new ProxyIPSpider2()) .setDownloader(httpClientDownloader) .addUrl(" .addPipeline(proxyIPPipeline) .thread(1) .run(); | @Override
public void proxyIPCrawl2() {
} | [
"@Override\n\tpublic void proxyIPCrawl() {\n\t}",
"public static void main (String[] args) throws IOException, InterruptedException {\n for (String proxyHost : proxies.keySet()) {\n\n int proxyPort = proxies.get(proxyHost);\n\n // Creating scrapper\n YouTubeCallerThread.spa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convert .pem file to a PrivateKey | static PrivateKey PemToPrivateKey(String fileName) throws IOException, GeneralSecurityException {
PrivateKey pk = new PrivateKeyReader(fileName).getPrivateKey();
return pk;
} | [
"public static PrivateKey readPrivateKeyFromPEM (String fileName) throws IOException{\n\t\tJcaPEMKeyConverter converter = new JcaPEMKeyConverter().setProvider(\"BC\");\n\t\tString pemData = Tools.readFile(fileName);\n\t\tDebug.println(\"Reading \" + fileName);\n\t\tString privateKeyPem = null;\n\t\ttry{ ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__XMemberFeatureCall__Group_1_0__0" $ANTLR start "rule__XMemberFeatureCall__Group_1_0__0__Impl" ../org.xtext.mongobeans.ui/srcgen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:6971:1: rule__XMemberFeatureCall__Group_1_0__0__Impl : ( ( rule__XMemberFeatureCall__Group_1_0_0__0 ... | public final void rule__XMemberFeatureCall__Group_1_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:6975:1: ( ( ( rule__XMemberFea... | [
"public final void rule__XMemberFeatureCall__Group_1_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:7344:1: ( ( ( ru... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
add the given Palette | public void addPalette(Palette palette); | [
"public void addPalette(Color color) {\n\t\tpalette.add(color);\n\t}",
"public void addPaletteColor(PaletteColor pc){\n // for logging\n Log.d(\"addColor\", pc.toString());\n\n // get reference to writable DB\n SQLiteDatabase db = this.getWritableDatabase();\n\n // create Conten... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
// addBeam // // Insert a beam as attached to this chord | public void addBeam (Beam beam)
{
if (!beams.contains(beam)) {
beams.add(beam);
// Keep the sequence sorted
Collections.sort(beams, byLevel);
}
} | [
"public void addChordBass(Chord chord) throws InvalidMidiDataException {\n _bass.addChord(chord);\n }",
"public void handleBeamBuffer(ByteBuffer beamBuf) {\n\t_beamQueue.push(beamBuf);\n }",
"void addChord(ChordModel newChord);",
"public void addBeat(Beat beat)\r\n\t{\r\n\t\tthis.beats.add(beat);... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Validate if user typed first, last name and uploaded a picture, if he does, send him to updateAccountSettings method. | private void validateProfile() {
String newFirstname = firstname.getText().toString();
String newLastname = lastname.getText().toString();
if (newFirstname.isEmpty())
Toast.makeText(this, "You can't leave first name empty!", Toast.LENGTH_SHORT).show();
else if (newLastname.is... | [
"@Override\r\n public void signUp() {\r\n invalidSignUp = false;\r\n\r\n File file = new File(\"signedUpAccounts.txt\");\r\n\r\n if(file.length() != 0) {\r\n personData.readSignedUp();\r\n }\r\n\r\n String firstName = tfFirstName.getText();\r\n String lastName... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Produces a sysex patch dump suitable to send to a remote synthesizer. If you return a zerolength byte array, nothing will be sent. If tempModel is nonnull, then it should be used to extract metaparameters such as the bank and patch number (stuff that's specified by gatherPatchInfo(...). Otherwise the primary model shou... | public byte[] emit(Model tempModel, boolean toWorkingMemory, boolean toFile) { return new byte[0]; } | [
"public byte[] emit(Model tempModel, boolean toWorkingMemory, boolean toFile) \n {\n return new byte[0]; \n }",
"public Object[] emitAll(Model tempModel, boolean toWorkingMemory, boolean toFile)\n {\n byte[] result = emit(tempModel, toWorkingMemory, toFile);\n if (result ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Initialize an empty edge | public Edge() {} | [
"public UndirectedEdge() {\n \tthis(null,null);\n\t}",
"public Edge()\n {\n start = -1;\n end = -1;\n capacity = -1;\n }",
"public Vertex()\r\n\t{\r\n\t\tArrays.fill(edges, Double.POSITIVE_INFINITY);\r\n\t}",
"public DirectedEdge() {\n\t\t// TODO: Add your code here\n\t\tthis(nul... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of getPulkovo1995GKZone16 method, of class GaussKrugerPulkovo1995. | @Test
public void testPulkovo1995GKZone16() {
testToWGS84AndBack(PROJ.getPulkovo1995GKZone16());
} | [
"@Test\n public void testPulkovo19953DegreeGKZone16() {\n testToWGS84AndBack(PROJ.getPulkovo19953DegreeGKZone16());\n }",
"@Test\n public void testPulkovo1995GKZone24() {\n testToWGS84AndBack(PROJ.getPulkovo1995GKZone24());\n }",
"@Test\n public void testPulkovo1995GKZone6() {\n testToWGS84AndBack... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/~~~~~~~~~~~~ Removal ~~~~~~~~~~~~ / description: removes all references to messages from one user return: false if one of their messages can't be removed. precondition: void postcondition: all messages that can be removed will be | public Boolean removeAll(User user) {
Boolean flag = true;
for(Message message : fromUser(user)) {
flag = remove(message) && flag;
DashBoard.removeFromDatabase(message);
}
return flag;
} | [
"private void deleteMessagesForUser(UUID userId) {\n final Predicate<Message> matcher =\n m -> m.getSenderUserId().equals(userId) || m.getRecipientUserId().equals(userId);\n\n EntryStream.of(database.dataRoot().getAllGroupMessages())\n .filterValues(messageList -> messageList.stream().anyMatch(m... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Expose the internal AttributeTable so that the client can do some customized adding. | public AttributeTable getAttributeTable() {
return this.propTable;
} | [
"public TableAttributes getAttributes() {\n\treturn attrs;\n }",
"@Override\n protected void allocateAttributes() {\n super.allocateAttributes();\n\n owner = new ByteArrayAttribute(Attribute.OWNER);\n acIssuer = new ByteArrayAttribute(Attribute.AC_ISSUER);\n serialNumber = new ByteArrayAttribute(A... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks whether the 'var86' field has been set. | public boolean hasVar86() {
return fieldSetFlags()[87];
} | [
"public boolean hasVar85() {\n return fieldSetFlags()[86];\n }",
"public boolean hasVar112() {\n return fieldSetFlags()[113];\n }",
"public boolean hasField86() {\n return fieldSetFlags()[86];\n }",
"public boolean hasVar134() {\n return fieldSetFlags()[135];\n }",
"public bo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Note the given CrawlURI in the appropriate diversion log. | protected synchronized void divertLog(CrawlURI cauri, String target) {
if(recentlySeen(cauri)) {
return;
}
PrintWriter diversionLog = getDiversionLog(target);
diversionLog.print(cauri.getClassKey());
diversionLog.print(" ");
cauri.shortReportLineTo(diversionLo... | [
"void log(CrawlerEventType crawlerEventType, Student student);",
"private void logAddURL(URL url) {\n if (logStream == null) {\n return;\n }\n if (url == null) return;\n // Extract the jar name (e.g. \"file:host/b/c.jar\" -> \"c\")\n String jarName = \"unknown\";\n String path = url.getPath... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Globals which should be set before calling this function: int polyCorners = how many corners the polygon has (no repeats) float polyX[] = horizontal coordinates of corners float polyY[] = vertical coordinates of corners float x, y = point to be tested (Globals are used in this example for purposes of speed. Change as d... | public boolean pointInPolygon(float x, float y) {
int i, j = polyCorners - 1;
boolean oddNodes = false;
float sx, sy, tx,ty, xinter;
for (i = 0; i < polyCorners; j = i,i++) {
sx = polyX[i];
sy = polyY[i];
tx = polyX[j];
ty = polyY[j];
// 点与多边形顶点重合
if((sx == x && sy == y) || (tx =... | [
"public static boolean pointInPolygon(List<? extends PointD> poly, PointD aPoint) {\n double xNew, yNew, xOld, yOld;\n double x1, y1, x2, y2;\n int i;\n boolean inside = false;\n int nPoints = poly.size();\n\n if (nPoints < 3) {\n return false;\n }\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
bidirectional manytoone association to Rennfahrer | @ManyToOne
@JoinColumn(name="RennfahrerID", nullable=false, insertable=false, updatable=false)
public Rennfahrer getRennfahrer() {
return this.rennfahrer;
} | [
"@ManyToOne\r\n\t@JoinColumn(name=\"RennstallID\", nullable=false, insertable=false, updatable=false)\r\n\tpublic Rennstall getRennstall() {\r\n\t\treturn this.rennstall;\r\n\t}",
"public Relationship(String idR){\n\t\tid = idR;\n isAssocClass = false;\n\t}",
"public String getInverseRelationshipName ();... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleCORBA_SmartSoft" $ANTLR start "entryRuleDDS_SmartSoft" InternalComponentDefinition.g:1344:1: entryRuleDDS_SmartSoft : ruleDDS_SmartSoft EOF ; | public final void entryRuleDDS_SmartSoft() throws RecognitionException {
try {
// InternalComponentDefinition.g:1345:1: ( ruleDDS_SmartSoft EOF )
// InternalComponentDefinition.g:1346:1: ruleDDS_SmartSoft EOF
{
before(grammarAccess.getDDS_SmartSoftRule());
... | [
"public final void entryRuleACE_SmartSoft() throws RecognitionException {\n try {\n // InternalComponentDefinition.g:1270:1: ( ruleACE_SmartSoft EOF )\n // InternalComponentDefinition.g:1271:1: ruleACE_SmartSoft EOF\n {\n before(grammarAccess.getACE_SmartSoftRule(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the number of stored tracks. | public int getTrackNumber() {
return tracks.size();
} | [
"int getTrackCount();",
"@Override\r\n public int totalTrackCount() {\r\n\r\n return this.number_of_tracks;\r\n }",
"public int getTotalTracks(){\n\t\treturn this.total;\n\t}",
"public int getNumberOfSongs()\n {\n return songs.size();\n }",
"public int getSongCount() {\n return ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method shuffles the order of the cards in the deck | public void shuffle() {
Collections.shuffle(deckOfCards);
} | [
"private void shuffleDeck() {\n Collections.shuffle(deck);\n }",
"public void shuffle(){\n Collections.shuffle(this.deckOfCards);\n }",
"public void shuffle() {\n\t\tfor (int i = deck.length - 1; i > 0; i--) {\n\t\t\tint rand = (int) (Math.random() * (i + 1));\n\t\t\tCard temp = deck[i];\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns an unmodifiable list of squares that are next to the given square or connected with it by their corners. | public SmartList<Square> getNeighbors(Square square) {
return this.squares.select(x -> x.isNeighborOf(square)).freeze();
} | [
"private ArrayList<GameSquare> getAdjacentSquares()\n {\n ArrayList<GameSquare> list = new ArrayList<GameSquare>();\n for (int r = row - 1; r <= row + 1; r++)\n {\n if (r >= 0 && r < grid.length)\n {\n for (int c = col - 1; c <= col + 1; c++)\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The format of the recipe. | public String getRecipeOutputFormat() {
return this.recipeOutputFormat;
} | [
"public void setRecipeOutputFormat(String recipeOutputFormat) {\n this.recipeOutputFormat = recipeOutputFormat;\n }",
"java.lang.String getOutputFormats();",
"private String inFormat() {\n File f = cfg.getReadFromFile();\n if (f != null) {\n return \" in format file \" + f.get... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the DT value for this InsuranceINS. | public java.util.Calendar getDT() {
return DT;
} | [
"public int getSDT() {\n return sdt;\n }",
"public int getDtNasc() {\n return dtNasc;\n }",
"public Date getOisLstupddt() {\n return oisLstupddt;\n }",
"public Date getDtInclusao() {\n\t\treturn dtInclusao;\n\t}",
"public java.lang.CharSequence getINCUMBANCYDT() {\n return... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Test method for 'java.awt.FontMetrics.FontMetrics(Font)' | @SuppressWarnings("deprecation")
public final void testFontMetrics() {
FontMetrics fMetrics = Toolkit.getDefaultToolkit().getFontMetrics(physicalFont);
assertNotNull(fMetrics);
} | [
"public FontMetrics getFontMetrics() {\n FontMetrics fm = new FontMetrics();\n getFontMetrics(fm);\n return fm;\n }",
"public FontMetrics getFontMetrics(Font f)\r\n\t{\r\n\t\treturn _g2.getFontMetrics();\r\n\t}",
"@SuppressWarnings(\"deprecation\")\n public FontMetrics getFontMetrics(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
searchForActiveMember. Search in DB for active members | private int searchForActiveMember(final int userid) {
if (userid == 0) {
throw new IllegalArgumentException("Name has no content.");
}
int members = 0;
try {
members = templGame.queryForObject(sql3, new Object[] { userid }, Integer.class);
} catch (final EmptyResultDataAccessException e... | [
"List<ImportedMember> search(ImportedMemberQuery params);",
"@Test\n\tpublic void testSearchByID2() {\n\t\tArrayList<Member> mbs = new ArrayList<>();\n\t\tmbs.add(new Member(\"Name1\", \"email1@email.com\", new ActivatedStatus()));\n\t\tmbs.add(new Member(\"Name2\", \"email2@email.com\", new ActivatedStatus()));\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the stat change for a particular stat based on the index provided. | public int getStatChange(int i) {
return statChanges[i];
} | [
"com.znl.proto.Common.AttrDifInfo getDiffs(int index);",
"public Statistic get(int index) {\n return this.statistics.get(index);\n }",
"public int getStat(Stat stat) {\n return stats.get(stat);\n }",
"org.tensorflow.proto.profiler.XStat getStats(int index);",
"public StatValue getStat(Zi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Validates the SignatureMustBeFunctionSignature constraint of 'Anonymous Function Expr'. | public boolean validateAnonymousFunctionExpr_SignatureMustBeFunctionSignature(AnonymousFunctionExpr anonymousFunctionExpr, DiagnosticChain diagnostics, Map<Object, Object> context) {
return
validate
(FpPackage.Literals.ANONYMOUS_FUNCTION_EXPR,
anonymousFunctionExpr,
... | [
"public boolean validateAnonymousFunctionExpr_HasToOwnSignatureTypeDefinition(AnonymousFunctionExpr anonymousFunctionExpr, DiagnosticChain diagnostics, Map<Object, Object> context) {\n return\n validate\n (FpPackage.Literals.ANONYMOUS_FUNCTION_EXPR,\n anonymousFuncti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This will verify the Asset Allocation title | public boolean verifyAssetAllocationTitle(String assetAllocationTitle) throws Exception {
boolean flag = false;
SeleniumUtils objSeleniumUtils;
String actualassetAllocationTitleTitle = null;
try {
objSeleniumUtils = new SeleniumUtils();
SeleniumUtils.scrollToViewElement(driver, ASSETALLOCATION_TITLE);
... | [
"public void validateTitle()\r\n\t{\r\n\t\tString titleDisplayed = this.heading.getText();\r\n\t\tassertEquals(titleDisplayed, \"Dashboard\");\r\n\t\tSystem.out.println(\"Value is asserted\");\r\n\t\t\t}",
"@Test\n public void assetNameTest() {\n // TODO: test assetName\n }",
"@Ignore\n public vo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Check whether the source of drag is the selected view(s) The check is performed by checking every view's extent | protected boolean isSelectedSource(
Stack<ComponentView<VisreedPayload, VisreedEdgeLabel, VisreedHigraph, VisreedWholeGraph, VisreedSubgraph, VisreedNode, VisreedEdge>> stack
){
if(this.dragSourcePoint == null){
return false;
}
List<VisreedNodeView> selection ... | [
"protected boolean isSelectedSource(){\r\n if(this.dragSourcePoint == null){\r\n return false;\r\n// } else if (this.dragTargetPoint == null){\r\n// return false;\r\n// } else if (dragSourcePoint.distance(dragTargetPoint) < 5){\r\n// return false;\r\n }\r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns whether config for this application has converged in given zone | public boolean configConvergedIn(ZoneId zone, Controller controller, Optional<Version> version) {
if (!hasApplicationPackage()) {
return true;
}
return controller.serviceRegistry().configServer().serviceConvergence(new DeploymentId(id(), zone), version)
.map(... | [
"boolean hasCloudRunConfig();",
"boolean hasFailedConfiguration();",
"public boolean hasZones() {\n return (zones != null);\n }",
"boolean hasTimezoneValidity();",
"public boolean isSetZone() {\n return this.zone != null;\n }",
"private static boolean isMonitoringTimeOver(Properties configur... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use this API to fetch a appfwconfidfield resource. | public static appfwconfidfield get(nitro_service service, appfwconfidfield obj) throws Exception{
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(obj));
appfwconfidfield response = (appfwconfidfield) obj.get_resource(service,option);
return response;
} | [
"public static appfwconfidfield[] get(nitro_service service) throws Exception{\n\t\tappfwconfidfield obj = new appfwconfidfield();\n\t\tappfwconfidfield[] response = (appfwconfidfield[])obj.get_resources(service);\n\t\treturn response;\n\t}",
"public static appfwconfidfield[] get(nitro_service service, options op... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return path of the search requested page. | public String getSearchPagePath() {
return this.searchPagePath;
} | [
"public String getEncodedSearchPagePath() {\r\n \treturn getEncodedPagePath(this.searchPagePath);\r\n }",
"public String getSearchPath() {\n String path = null;\n if (parent != null) {\n path = parent.getSearchPath();\n path = String.format(\"%s/%s\", path, name);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Updates the state of all the edges incident with all the vertices in the graph. Constraints_Matrix[i,j] == 1 => this edge is not considered in the tour Constraints_Matrix[i,j] == 1 => this edge must be considered in the final tour Also takes care of the implicit exclusion inclusion of edges as a result of inclusion and... | private boolean updateConstraints_Matrix(int[][] Constraints_Matrix, Set<Integer> s) {
for (int i = 0; i < this.num_Cities; i++) {
// Tracks the total number of edges that should be incident with
// this vertex i
int includedEdges = 0;
// Tracks the remaining edges to be considered
int remain... | [
"private void updateConstraints_Matrix(int[][] Constraints_Matrix, int v) {\r\n\r\n\t\t// Tracks the total number of edges that should be incident with\r\n\t\t// this vertex i\r\n\t\tint includedEdges = 0;\r\n\r\n\t\t// Tracks the remaining edges to be considered\r\n\t\tint remainingEdges = 0;\r\n\r\n\t\tfor (int j... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the identifyNumber value for this InsuredEhm. | public void setIdentifyNumber(java.lang.String identifyNumber) {
this.identifyNumber = identifyNumber;
} | [
"public java.lang.String getIdentifyNumber() {\n return identifyNumber;\n }",
"public void setIdentify(String identify) {\n this.identify = identify == null ? null : identify.trim();\n }",
"public void xsetDatasetnumber(org.apache.xmlbeans.XmlInteger datasetnumber)\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Total pot after call calculation | public static Float totPotAfterCall (Float amountToCall, Float eq, Float potOdds, Float ev){
float totPotAfterCall;
eq /= 100;
potOdds /=100;
totPotAfterCall= (amountToCall+ev)/eq;
return totPotAfterCall;
} | [
"public double checkPot(){\r\n\t\treturn totalPot;\r\n\t}",
"public void addPot(double bet){\r\n\t\ttotalPot += bet;\r\n\t\tSystem.out.println(\"Total money in pot: \" + money.format(checkPot()));\r\n\t}",
"public int punteggioTotale();",
"private double prixTotal() \r\n\t{\r\n\t\tdouble pt = getPrix() ; \r\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Construct the GUI of the given JADEX agent (player). | PlayerGui(final IExternalAccess a) {
super(a.getAgentName());
myAgent = a;
// -------------------------------- NORTH --------------------------------
JPanel p = new JPanel();
GroupLayout layout = new GroupLayout(p);
p.setLayout(layout);
valueField = new JTextField(15);
valueField.setTe... | [
"public InventoryGUI () {\n\t\tthis.buildGUI();\n\t}",
"public void createChooseGameUI()\n {\n \tHashMap<InventoryRunnable, InventoryItem> inventoryStuff = new HashMap<InventoryRunnable, InventoryItem>();\n \t\n \tInventoryRunnable gladiatorJoinRunnable = new GladiatorJoinInventoryRunnable(plugin);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the custom item manager. | public CustomItemManager getCustomItemManager() {
return plugin.getCustomItemManager();
} | [
"public final static ItemManager getItemManager() {\r\n\t\treturn itemManager;\r\n\t}",
"public abstract SpecialItemManager getSpecialItemManager();",
"public CXItemManager getItemManager() {\n \treturn iman;\n }",
"public static ItemManager getInstance() {\n synchronized (ItemManager.class) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
forward all routes "/" except "/." to index.html | @GetMapping("/{angularRoute:^[^.]+$}")
public String index(@PathVariable String angularRoute) {
return "forward:/index.html";
} | [
"@Override\n protected String[] getServletMappings() {\n return new String[] { \"/\" };\n }",
"@GetMapping(value = \"{_:^(?!index\\\\.html|api).$}\")\n public String redirectApi() {\n LOG.info(\"URL entered directly into the Browser, so we need to redirect...\");\n return \"forward:/\";\n }",... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method corresponds to the database table wb_data | WbData selectByPrimaryKey(Integer dataId); | [
"BTable createBTable();",
"@SuppressWarnings(\"deprecation\")\n private void initDataTable() {\n dataTable = DataTable.create();\n \n // Columns have explicit ids so that they can addressed by Rhizosphere code\n // (see metamodel definition below).\n dataTable.addColumn(ColumnType.STRING, \"Name... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Central Mongo specific converter interface which combines MongoWriter and MongoReader. | public interface MongoConverter extends
EntityConverter<MongoPersistentEntity<?>, MongoPersistentProperty, Object, DBObject>,
MongoWriter<Object>, EntityReader<Object, DBObject> {
/**
* Returns thw TypeMapper being used to write type information into
* DBObjects created with that converter.
*
* @... | [
"public interface BsonWriter {\n /**\n * Flushes any pending data to the output destination.\n */\n void flush();\n\n /**\n * Writes a BSON Binary data element to the writer.\n *\n * @param binary The Binary data.\n */\n void writeBinaryData(BsonBinary binary);\n\n /**\n *... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new SessionWriter for a specified session. This can be used in a clustered system to write messages outbound for a system on its primary node. In a clustered system the SessionProxy would be hooked so writing messages outbound on a normal Session object won't work. Messages written using this writer won't upd... | public SessionWriter sessionWriter(
final long sessionId, final long connectionId, final int sequenceIndex)
{
return poller.sessionWriter(sessionId, connectionId, sequenceIndex);
} | [
"public RestOpSession.Builder createSession(RestSession session) throws Exception {\n\t\treturn RestOpSession.create(this, session).logger(callLogger).debug(debug.isDebug(this, session.getRequest()));\n\t}",
"public Session wrapSession(Session realSession)\n {\n if (sessionWrapperClass == null)\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Phase1b Event: Received a reply to my ballot preparation request. Action: If the reply contains a higher ballot, we must resign. Otherwise, if we acquired a majority with the receipt of this reply, send all previously accepted (but uncommitted) requests reported in the prepare replies, each in its highest reported ba... | private MessagingTask handlePrepareReply(PrepareReplyPacket prepareReply) {
// necessary to defragment first for safety
if ((prepareReply = PrepareReplyAssembler.processIncoming(prepareReply)) == null) {
return null;
}
this.paxosManager.heardFrom(prepareReply.acceptor); // FD optimization,
MessagingTask mt... | [
"private MessagingTask handlePrepare(PreparePacket prepare) {\n\t\tpaxosManager.heardFrom(prepare.ballot.coordinatorID); // FD optimization\n\n\t\tBallot prevBallot = this.paxosState.getBallot();\n\t\tPrepareReplyPacket prepareReply = this.paxosState.handlePrepare(\n\t\t\t\tprepare, this.paxosManager.getMyID());\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Send the BarChart to the static BarChart controller which will return the series Y axis data as an list with integers. | protected List<Integer> getSerieData(){
return (List<Integer>) BarChartController.getSeriesData(bc);
} | [
"public BarChartApiBean getBarChart() {\n return barChart;\n }",
"public ChartYAxis getYAxis() { return _yaxis; }",
"private ArrayList<Entry> setYAxisValues(){\n ArrayList<Entry> yVals = new ArrayList<Entry>();\n for (int z = 0; z < 235; z++) {\n yVals.add(new Entry((float)gr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
return list of blogs waiting for approval(0) / list of blogs approved(1) getBlogs(0) > list of blogs waiting for approval getBlogs(1) > list of blogs approved | List<BlogPost> getBlogs(int approved); | [
"@GetMapping(value = \"/listApprovedBlogs\")\n\t\t\t\tpublic ResponseEntity<List<Blog>> listApprovedBlog() {\n\t\t\t\t\tList<Blog> listBlogs = blogDAO.approvedBlogList();\n\t\t\t\t\tif (listBlogs.size() != 0) {\n\t\t\t\t\t\treturn new ResponseEntity<List<Blog>>(listBlogs, HttpStatus.OK);\n\t\t\t\t\t} else {\n\t\t\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Getter for f_Panel4 called 1 times. Type: DEFAULT. Build precedence: 3. | private org.gwtbootstrap3.client.ui.Panel get_f_Panel4() {
return build_f_Panel4();
} | [
"private org.gwtbootstrap3.client.ui.Panel get_f_Panel34() {\n return build_f_Panel34();\n }",
"private org.gwtbootstrap3.client.ui.Panel get_f_Panel41() {\n return build_f_Panel41();\n }",
"private org.gwtbootstrap3.client.ui.Panel get_f_Panel24() {\n return build_f_Panel24();\n }",
"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds information about the game's developers. | public GameBuilder developers(String developers) {
this.developers = developers;
return this;
} | [
"public String getDevelopers() {\n\t\treturn developers;\n\t}",
"@Override\n\tpublic java.lang.String getDevelopers() {\n\t\treturn _scienceApp.getDevelopers();\n\t}",
"public java.lang.String getDeveloperName() {\r\n return developerName;\r\n }",
"@Override\n\tpublic void setDevelopers(java.lang.St... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns value clamped between low and high boundaries. | public static int clamp(int value, int low, int high) {
return Math.max(low, Math.min(value, high));
} | [
"private double clamp(double v, double min, double max) { return (v < min ? min : (v > max ? max : v)); }",
"private double clamp(double val, double min, double max) { return Math.max(min, Math.min(max, val));\n }",
"private static double clamp(double min, double value, double max) {\n value = Math.ab... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Can get a matrix column. | @Test
public void testGetMatrixColumn() {
final Matrix33d m = getMatrix();
final Vector3d expected = V2;
final Vector3d v = new Vector3d();
m.getMatrixColumn(v, 1);
assertEquals(v.toString(), expected.toString());
} | [
"int getColumn(int x, int y){\n return board[x][y].getColumn();\n }",
"public abstract int getCol(int x);",
"Column getCol();",
"String getColumn();",
"private static int getCol(int idx){\n return idx % dimension;\n }",
"public Column getColumn() {\r\n return column;\r\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
A list of suggestions. repeated .google.cloud.dataqna.v1alpha.Suggestion suggestions = 1; | @java.lang.Override
public com.google.cloud.dataqna.v1alpha.Suggestion getSuggestions(int index) {
return suggestions_.get(index);
} | [
"@java.lang.Override\n public java.util.List<? extends com.google.cloud.dataqna.v1alpha.SuggestionOrBuilder> \n getSuggestionsOrBuilderList() {\n return suggestions_;\n }",
"@java.lang.Override\n public java.util.List<com.google.cloud.dataqna.v1alpha.Suggestion> getSuggestionsList() {\n return sugge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a Builder by copying an existing Tordnsel instance | private Builder(trans.encoders.tordnsel.Tordnsel other) {
super(trans.encoders.tordnsel.Tordnsel.SCHEMA$);
if (isValidValue(fields()[0], other.descriptor_type)) {
this.descriptor_type = data().deepCopy(fields()[0].schema(), other.descriptor_type);
fieldSetFlags()[0] = true;
}
... | [
"public static trans.encoders.tordnsel.Tordnsel.Builder newBuilder(trans.encoders.tordnsel.Tordnsel other) {\n return new trans.encoders.tordnsel.Tordnsel.Builder(other);\n }",
"public static trans.encoders.tordnsel.Tordnsel.Builder newBuilder(trans.encoders.tordnsel.Tordnsel.Builder other) {\n return new ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/Create Branch Manager by Admin | @RequestMapping(value="", method=RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)
public @ResponseBody String createBranchManager(@RequestBody BranchManagerPOJO branchManager) throws JsonProcessingException {
String result=branchManagerService.inse... | [
"private void createAndSetNewBranch()\n {\n Date startDateOfArticle = getStartDateOfArticle();\n final String branchId = startDateOfArticle == null ? GWikiProps.formatTimeStamp(new Date()) : GWikiProps\n .formatTimeStamp(startDateOfArticle);\n\n wikiContext.runInTenantContext(branchId, getWikiSelec... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Getter for the field indent. | public int getIndent() {
return indent;
} | [
"public int getIndent();",
"public String getTextIndent();",
"@ASTNodeAnnotation.Token(name=\"Indent\")\n public String getIndent() {\n return tokenString_Indent != null ? tokenString_Indent : \"\";\n }",
"int getIndentLevel();",
"int getIndentation() {\n return this.indentation;\n }",
"pub... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convierte un objeto Json a una lista de mapa | public final static List<Map<String, Object>> convertirDesdeJsonAListaMapa(String json) {
ObjectMapper mapper = new ObjectMapper();
TypeReference<List<Map<String, Object>>> typeRef = new TypeReference<List<Map<String, Object>>>() {
};
try {
return mapper.readValue(json, typeRef);
} catch (IOException e) {
... | [
"public List<Map<String,Object>> jsonToList(String json) throws org.json.simple.parser.ParseException {\n\t\tList<Map<String,Object>> list=null;\n\t\tif(StringUtils.isNotBlank(json)) {\n\t\t\tJSONParser parser = new JSONParser();\n\t\t\tObject obj = parser.parse(json); \n\t\t\tlist = (List<Map<String, Object>>)obj... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test each CRUD operation on a single object while network connectivity exists | public void testBasicSingleOperationsWithNetwork() throws Exception {
DummyObjectMockServer.getInstance().setNetworkAvailable(true);
final DummyObject d = new DummyObject("meow", 0, null);
assertNull("new object should not have a local id", d.getId());
assertNull("new object should not... | [
"public void testBasicSingleOperationsWithoutNetwork() throws Exception {\n DummyObjectMockServer.getInstance().setNetworkAvailable(false);\n\n final DummyObject d = new DummyObject(\"meow\", 0, null);\n\n assertNull(\"new object should not have a local id\", d.getId());\n assertNull(\"n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This function deals with an issue when the version name contains a space or even an apostrophe It presumes the following format of the line: package: name='xxxxx' versionCode='xxxxx' versionName='xxxxx' compileSdkVersion='xxx' compileSdkVersionCodename='xxx' | private void parseInfoLine(final String line,
final AtomicReference<String> appPkg,
final AtomicReference<String> appVersion,
final AtomicReference<Integer> appVersionCode) {
String l = line;
final String namePr... | [
"private String parseVersion(String version) {\n\n String[] subString = version\n .replaceAll(\"\\\\s+\",\"\") // Removes whitespace\n .replaceAll(\"\\\\p{L}+\",\"\") // Removes alpha characters a-zA-Z\n .split(\"\\\\.\"); // Removes alpha characters\n\n if... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Fetch records that have inventory_id IN (values) | public List<com.mydvdstore.model.tables.pojos.Rental> fetchByInventoryId(Integer... values) {
return fetch(Rental.RENTAL.INVENTORY_ID, values);
} | [
"Condition in(QueryParameter parameter, Object... values);",
"public Criteria andMetaIdIn(List<Long> values) {\n addCriterion(\"meta_id in\", values, \"metaId\");\n return (Criteria) this;\n }",
"List<Long> getUidsByKey(InventoryKey inventoryKey);",
"List<Employee> findByActiveAnd... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Handle an exception which occurred while retrieving or processing the work items. (1) Unlock any locked work items retrieved after the getwork(). (2) If a lock exception occurred, exit. The caller will suspend the getwork() item. (3) If a fatal exception occurred, exit. The caller will stop the automated process. (4) I... | protected void handleProcessingException(Exception e) throws NbaBaseException {
unLockItems();
if (e instanceof NbaBaseException) {
NbaBaseException eb = (NbaBaseException) e;
if (eb.isFatal() || eb instanceof NbaLockedException) {
throw eb;
}
... | [
"protected void handleUpdateException(Exception e) throws NbaBaseException {\n setWork(getOrigWorkItem());\n addComment(\"An error occurred while committing workflow changes \" + e.getMessage());\n changeStatus(getAwdErrorStatus());\n try {\n doUpdateWorkItem();\n } cat... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get a user's Presence Get a user's presence for the specified source that is not specifically listed. Used to support custom presence sources. This endpoint does not support registered presence sources. | public UserPresence getUserPresence(String userId, String sourceId) throws IOException, ApiException {
return getUserPresence(createGetUserPresenceRequest(userId, sourceId));
} | [
"public UserPresence source(String source) {\n this.source = source;\n return this;\n }",
"public Source getPresenceSource(GetPresenceSourceRequest request) throws IOException, ApiException {\n try {\n ApiResponse<Source> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Sourc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set MTBF = mean time between failure a compute node in s | void setMTBF(int time); | [
"@Override\r\n public void initialRun(){\r\n tProcess = parser.nextSimProcessTime();\r\n System.out.println();\r\n boolean goRun=true;\r\n int maxT = minT+timeN;\r\n double time = 0;\r\n double time2 = 0;\r\n long nanot;\r\n while(goRun){\r\n nan... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
"Blind" the client and generate a client request to be signed by the server. | public ClientRequest generateClientRequest() throws CryptoException {
PSSSigner signer = new PSSSigner(new RSABlindingEngine(),
new SHA1Digest(), 20);
signer.init(true, blindingParams);
signer.update(clientID, 0, clientID.length);
byte[] sig = signer.generateSignature()... | [
"private Request generateRequest() throws CertificateEncodingException, NoSuchAlgorithmException, InvalidKeyException, SignatureException{\n this.authKey = CryptoManager.generateAES256RandomSecretKey();\n Request req = new Request(issuer,this.req.getIssuer(),myCertificate,authKey);\n this.myNon... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the user ID of this pathology data. | @Override
public void setUserId(long userId) {
_pathologyData.setUserId(userId);
} | [
"public void setIdUser(String idUser) {\n this.idUser = idUser;\n }",
"public void setIdUser(String idUser) {\n\t\tthis.idUser = idUser;\n\t}",
"public void setIdUser(int idUser) {\n this.idUser = idUser;\n }",
"public void setIdUser(Integer idUser) {\r\n\t\tthis.idUser = idUser;\r\n\t}",
"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes a database from the list of databases known to the database manager. | void removeDatabase(final IDatabase database); | [
"private void dropDatabase() {\n Databases.forgetDatabase(getDatabaseName());\n }",
"void dropDatabase(String dbname);",
"void deleteDatabase(String databaseName);",
"void dropDatabase(String dbname, boolean deleteConnections);",
"public void dropDatabase() {\n\t\tif (!validateDBNameNotNull()) {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get a copy of a TribitByte | public static TribitByte value(TribitByte bite){
Objects.requireNonNull(bite);
return new TribitByte(Arrays.copyOf(bite.value, bite.value.length));
} | [
"BytesValue copy();",
"public static TribitByte value(Tribit... bits){\n if(bits.length != LENGTH){\n throw new IllegalArgumentException(\"bits must be size of \" + LENGTH);\n }\n Arrays.stream(bits).forEach(Objects::requireNonNull);\n return new TribitByte(Arrays.copyOf(bit... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |