method
stringlengths
13
441k
clean_method
stringlengths
7
313k
doc
stringlengths
17
17.3k
comment
stringlengths
3
1.42k
method_name
stringlengths
1
273
extra
dict
imports
list
imports_info
stringlengths
19
34.8k
cluster_imports_info
stringlengths
15
3.66k
libraries
list
libraries_info
stringlengths
6
661
id
int64
0
2.92M
private Property createPrimitive(final DataColumn.ODataDataType columnType, final String name, final String paramValue) throws ODataServiceFault, ParseException { String propertyType; Object value; switch (columnType) { case INT32: ...
Property function(final DataColumn.ODataDataType columnType, final String name, final String paramValue) throws ODataServiceFault, ParseException { String propertyType; Object value; switch (columnType) { case INT32: propertyType = EdmPrimitiveTypeKind.Int32.getFullQualifiedName().getFullQualifiedNameAsString(); value ...
/** * This method creates primitive type property. * * @param columnType Data type of the column - java.sql.Types * @param name Name of the column * @param paramValue String value * @return Property * @throws ODataServiceFault * @see Types * @see Property */
This method creates primitive type property
createPrimitive
{ "repo_name": "chanikag/carbon-data", "path": "components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/odata/ODataAdapter.java", "license": "apache-2.0", "size": 104321 }
[ "java.text.ParseException", "java.util.UUID", "org.apache.axis2.databinding.utils.ConverterUtil", "org.apache.olingo.commons.api.data.Property", "org.apache.olingo.commons.api.data.ValueType", "org.apache.olingo.commons.api.edm.EdmPrimitiveTypeKind" ]
import java.text.ParseException; import java.util.UUID; import org.apache.axis2.databinding.utils.ConverterUtil; import org.apache.olingo.commons.api.data.Property; import org.apache.olingo.commons.api.data.ValueType; import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeKind;
import java.text.*; import java.util.*; import org.apache.axis2.databinding.utils.*; import org.apache.olingo.commons.api.data.*; import org.apache.olingo.commons.api.edm.*;
[ "java.text", "java.util", "org.apache.axis2", "org.apache.olingo" ]
java.text; java.util; org.apache.axis2; org.apache.olingo;
184,351
protected void writeEntityToNBT(NBTTagCompound tagCompound) { super.writeEntityToNBT(tagCompound); tagCompound.setDouble("PushX", this.pushX); tagCompound.setDouble("PushZ", this.pushZ); tagCompound.setShort("Fuel", (short)this.fuel); }
void function(NBTTagCompound tagCompound) { super.writeEntityToNBT(tagCompound); tagCompound.setDouble("PushX", this.pushX); tagCompound.setDouble("PushZ", this.pushZ); tagCompound.setShort("Fuel", (short)this.fuel); }
/** * (abstract) Protected helper method to write subclass entity data to NBT. */
(abstract) Protected helper method to write subclass entity data to NBT
writeEntityToNBT
{ "repo_name": "trixmot/mod1", "path": "build/tmp/recompileMc/sources/net/minecraft/entity/item/EntityMinecartFurnace.java", "license": "lgpl-2.1", "size": 5959 }
[ "net.minecraft.nbt.NBTTagCompound" ]
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.*;
[ "net.minecraft.nbt" ]
net.minecraft.nbt;
2,530,491
public void setAdministeredComponentClassSchemeItemCollection(Collection<AdministeredComponentClassSchemeItem> administeredComponentClassSchemeItemCollection){ this.administeredComponentClassSchemeItemCollection = administeredComponentClassSchemeItemCollection; } private QuestionCondition enforcedC...
void function(Collection<AdministeredComponentClassSchemeItem> administeredComponentClassSchemeItemCollection){ this.administeredComponentClassSchemeItemCollection = administeredComponentClassSchemeItemCollection; } private QuestionCondition enforcedCondition;
/** * Sets the value of administeredComponentClassSchemeItemCollection attribue **/
Sets the value of administeredComponentClassSchemeItemCollection attribue
setAdministeredComponentClassSchemeItemCollection
{ "repo_name": "NCIP/cagrid2", "path": "cagrid-mms/cagrid-mms-cadsr-impl/src/main/java/gov/nih/nci/cadsr/domain/TriggerAction.java", "license": "bsd-3-clause", "size": 8253 }
[ "java.util.Collection" ]
import java.util.Collection;
import java.util.*;
[ "java.util" ]
java.util;
521,548
public String getEnteredText() { if ( enteredText == null ) { enteredText = (SFString)getField( "enteredText" ); } return( enteredText.getValue( ) ); }
String function() { if ( enteredText == null ) { enteredText = (SFString)getField( STR ); } return( enteredText.getValue( ) ); }
/** Return the enteredText String value. * @return The enteredText String value. */
Return the enteredText String value
getEnteredText
{ "repo_name": "Norkart/NK-VirtualGlobe", "path": "Xj3D/src/java/org/xj3d/sai/external/node/keydevicesensor/SAIStringSensor.java", "license": "gpl-2.0", "size": 3549 }
[ "org.web3d.x3d.sai.SFString" ]
import org.web3d.x3d.sai.SFString;
import org.web3d.x3d.sai.*;
[ "org.web3d.x3d" ]
org.web3d.x3d;
697,964
public void onTouchEvent(RecyclerView rv, MotionEvent e); }
void function(RecyclerView rv, MotionEvent e); }
/** * Process a touch event as part of a gesture that was claimed by returning true from * a previous call to {@link #onInterceptTouchEvent}. * * @param e MotionEvent describing the touch event. All coordinates are in * the RecyclerView's coordinate system. ...
Process a touch event as part of a gesture that was claimed by returning true from a previous call to <code>#onInterceptTouchEvent</code>
onTouchEvent
{ "repo_name": "tasrs/XDA-One-master", "path": "libraries/recyclerview-v7/src/main/java/android/support/v7/widget/RecyclerView.java", "license": "gpl-3.0", "size": 245154 }
[ "android.view.MotionEvent" ]
import android.view.MotionEvent;
import android.view.*;
[ "android.view" ]
android.view;
2,335,604
@CheckForNull TextRange textRange();
TextRange textRange();
/** * Range of the issue. Null for global issues and issues on directories. Can also be null * for files (issue global to the file). */
Range of the issue. Null for global issues and issues on directories. Can also be null for files (issue global to the file)
textRange
{ "repo_name": "lbndev/sonarqube", "path": "sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/issue/IssueLocation.java", "license": "lgpl-3.0", "size": 1477 }
[ "org.sonar.api.batch.fs.TextRange" ]
import org.sonar.api.batch.fs.TextRange;
import org.sonar.api.batch.fs.*;
[ "org.sonar.api" ]
org.sonar.api;
388,553
@Override public void updateProcessTree() { if (!pid.equals(deadPid)) { // Get the list of processes List<String> processList = getProcessList(); Map<String, ProcessInfo> allProcessInfo = new HashMap<String, ProcessInfo>(); // cache the processTree to get the age for processes Ma...
void function() { if (!pid.equals(deadPid)) { List<String> processList = getProcessList(); Map<String, ProcessInfo> allProcessInfo = new HashMap<String, ProcessInfo>(); Map<String, ProcessInfo> oldProcs = new HashMap<String, ProcessInfo>(processTree); processTree.clear(); ProcessInfo me = null; for (String proc : proce...
/** * Update process-tree with latest state. If the root-process is not alive, * tree will be empty. * */
Update process-tree with latest state. If the root-process is not alive, tree will be empty
updateProcessTree
{ "repo_name": "leechoongyon/HadoopSourceAnalyze", "path": "hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/ProcfsBasedProcessTree.java", "license": "apache-2.0", "size": 32095 }
[ "java.util.HashMap", "java.util.LinkedList", "java.util.List", "java.util.Map" ]
import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map;
import java.util.*;
[ "java.util" ]
java.util;
151,429
protected long allocatePoller(int size, long pool, int timeout) { try { return Poll.create(size, pool, 0, timeout * 1000); } catch (Error e) { if (Status.APR_STATUS_IS_EINVAL(e.getError())) { log.info(sm.getString("endpoint.poll.limitedpollsize", "" + siz...
long function(int size, long pool, int timeout) { try { return Poll.create(size, pool, 0, timeout * 1000); } catch (Error e) { if (Status.APR_STATUS_IS_EINVAL(e.getError())) { log.info(sm.getString(STR, STRendpoint.poll.initfail"), e); return -1; } } }
/** * Allocate a new poller of the specified size. */
Allocate a new poller of the specified size
allocatePoller
{ "repo_name": "pistolove/sourcecode4junit", "path": "Source4Tomcat/src/org/apache/tomcat/util/net/AprEndpoint.java", "license": "apache-2.0", "size": 71502 }
[ "org.apache.tomcat.jni.Error", "org.apache.tomcat.jni.Poll", "org.apache.tomcat.jni.Status" ]
import org.apache.tomcat.jni.Error; import org.apache.tomcat.jni.Poll; import org.apache.tomcat.jni.Status;
import org.apache.tomcat.jni.*;
[ "org.apache.tomcat" ]
org.apache.tomcat;
450,295
void begin_large_parameter () { if (request_number > 1) { // Update the length fields before sending the previous request. int index = out.index; int ni = out.index - 16; int pi = RequestOutputStream.pad (ni); out.index = 2; out.write_int16 (4 + (ni + pi) / 4); ...
void begin_large_parameter () { if (request_number > 1) { int index = out.index; int ni = out.index - 16; int pi = RequestOutputStream.pad (ni); out.index = 2; out.write_int16 (4 + (ni + pi) / 4); out.index = 12; out.write_int32 (ni); out.index = index; } request_number++; out.begin_request(glx.major_opcode, 2, 0); out...
/** * Signals the beginning of the large parameter. */
Signals the beginning of the large parameter
begin_large_parameter
{ "repo_name": "chriskmanx/qmole", "path": "QMOLEDEV/escher-0.3/src/gnu/x11/extension/glx/GL.java", "license": "gpl-3.0", "size": 151785 }
[ "gnu.x11.RequestOutputStream" ]
import gnu.x11.RequestOutputStream;
import gnu.x11.*;
[ "gnu.x11" ]
gnu.x11;
748,910
public Context getOutputs() throws ContextException, RemoteException;
Context function() throws ContextException, RemoteException;
/** * Returns the output context of this domain. * * @return the output context * @throws ContextException * @throws RemoteException */
Returns the output context of this domain
getOutputs
{ "repo_name": "mwsobol/SORCER", "path": "core/sorcer-dl/src/main/java/sorcer/service/Domain.java", "license": "apache-2.0", "size": 3753 }
[ "java.rmi.RemoteException" ]
import java.rmi.RemoteException;
import java.rmi.*;
[ "java.rmi" ]
java.rmi;
356,307
private void startGui(String testFile) { PluginManager.install(this, true); JMeterTreeModel treeModel = new JMeterTreeModel(); JMeterTreeListener treeLis = new JMeterTreeListener(treeModel); treeLis.setActionHandler(ActionRouter.getInstance()); // NOTUSED: GuiPackage g...
void function(String testFile) { PluginManager.install(this, true); JMeterTreeModel treeModel = new JMeterTreeModel(); JMeterTreeListener treeLis = new JMeterTreeListener(treeModel); treeLis.setActionHandler(ActionRouter.getInstance()); GuiPackage.getInstance(treeLis, treeModel); MainFrame main = new MainFrame(treeMode...
/** * Starts up JMeter in GUI mode */
Starts up JMeter in GUI mode
startGui
{ "repo_name": "botelhojp/apache-jmeter-2.10", "path": "src/core/org/apache/jmeter/JMeter.java", "license": "apache-2.0", "size": 56415 }
[ "com.thoughtworks.xstream.converters.ConversionException", "java.awt.event.ActionEvent", "java.io.File", "java.io.FileInputStream", "javax.swing.JTree", "javax.swing.tree.TreePath", "org.apache.jmeter.gui.GuiPackage", "org.apache.jmeter.gui.MainFrame", "org.apache.jmeter.gui.action.ActionNames", "...
import com.thoughtworks.xstream.converters.ConversionException; import java.awt.event.ActionEvent; import java.io.File; import java.io.FileInputStream; import javax.swing.JTree; import javax.swing.tree.TreePath; import org.apache.jmeter.gui.GuiPackage; import org.apache.jmeter.gui.MainFrame; import org.apache.jmeter.gu...
import com.thoughtworks.xstream.converters.*; import java.awt.event.*; import java.io.*; import javax.swing.*; import javax.swing.tree.*; import org.apache.jmeter.gui.*; import org.apache.jmeter.gui.action.*; import org.apache.jmeter.gui.tree.*; import org.apache.jmeter.gui.util.*; import org.apache.jmeter.plugin.*; im...
[ "com.thoughtworks.xstream", "java.awt", "java.io", "javax.swing", "org.apache.jmeter", "org.apache.jorphan" ]
com.thoughtworks.xstream; java.awt; java.io; javax.swing; org.apache.jmeter; org.apache.jorphan;
2,646,675
public RestTemplateBuilder defaultMessageConverters() { return new RestTemplateBuilder(this.detectRequestFactory, this.rootUri, Collections.unmodifiableSet( new LinkedHashSet<>(new RestTemplate().getMessageConverters())), this.requestFactory, this.uriTemplateHandler, this.errorHandler, this.basic...
RestTemplateBuilder function() { return new RestTemplateBuilder(this.detectRequestFactory, this.rootUri, Collections.unmodifiableSet( new LinkedHashSet<>(new RestTemplate().getMessageConverters())), this.requestFactory, this.uriTemplateHandler, this.errorHandler, this.basicAuthorization, this.restTemplateCustomizers, t...
/** * Set the {@link HttpMessageConverter HttpMessageConverters} that should be used with * the {@link RestTemplate} to the default set. Calling this method will replace any * previously defined converters. * @return a new builder instance * @see #messageConverters(HttpMessageConverter...) */
Set the <code>HttpMessageConverter HttpMessageConverters</code> that should be used with the <code>RestTemplate</code> to the default set. Calling this method will replace any previously defined converters
defaultMessageConverters
{ "repo_name": "javyzheng/spring-boot", "path": "spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java", "license": "apache-2.0", "size": 27163 }
[ "java.util.Collections", "java.util.LinkedHashSet", "org.springframework.web.client.RestTemplate" ]
import java.util.Collections; import java.util.LinkedHashSet; import org.springframework.web.client.RestTemplate;
import java.util.*; import org.springframework.web.client.*;
[ "java.util", "org.springframework.web" ]
java.util; org.springframework.web;
2,535,321
Set<SKOSConcept> search(SKOSConcept topConcept);
Set<SKOSConcept> search(SKOSConcept topConcept);
/** * Searches all the SKOS concepts with a given top level concept. * * @param topConcept the top level concept. * @return all the SKOS narrowed from the given top concept. */
Searches all the SKOS concepts with a given top level concept
search
{ "repo_name": "fregaham/KiWi", "path": "src/action/kiwi/api/sun/SunTagMapperService.java", "license": "bsd-3-clause", "size": 1764 }
[ "java.util.Set", "kiwi.model.ontology.SKOSConcept" ]
import java.util.Set; import kiwi.model.ontology.SKOSConcept;
import java.util.*; import kiwi.model.ontology.*;
[ "java.util", "kiwi.model.ontology" ]
java.util; kiwi.model.ontology;
1,198,784
protected void handleWarWebappDeployment(File webappWAR, List<WebContextParameter> webContextParams, List<Object> applicationEventListeners) throws CarbonException { String filename = webappWAR.getName(); ...
void function(File webappWAR, List<WebContextParameter> webContextParams, List<Object> applicationEventListeners) throws CarbonException { String filename = webappWAR.getName(); String warContext = STRROOT.warSTR/STR/STR.warSTR/STR/"; } String contextPath = handleAppVersion(webContextPrefix + warContext); handleWebappD...
/** * Handle the deployment of a an archive webapp. i.e., a WAR * * @param webappWAR The WAR webapp file * @param webContextParams ServletContext params for this webapp * @param applicationEventListeners Application event listeners * @throws CarbonException If a de...
Handle the deployment of a an archive webapp. i.e., a WAR
handleWarWebappDeployment
{ "repo_name": "Priya-Kishok/carbon-deployment", "path": "components/webapp-mgt/org.wso2.carbon.webapp.mgt/src/main/java/org/wso2/carbon/webapp/mgt/TomcatGenericWebappsDeployer.java", "license": "apache-2.0", "size": 29497 }
[ "java.io.File", "java.util.List", "org.wso2.carbon.CarbonException" ]
import java.io.File; import java.util.List; import org.wso2.carbon.CarbonException;
import java.io.*; import java.util.*; import org.wso2.carbon.*;
[ "java.io", "java.util", "org.wso2.carbon" ]
java.io; java.util; org.wso2.carbon;
2,816,727
public static <T> T newInstance(Exchange exchange, Class<T> type) { return exchange.getContext().getInjector().newInstance(type); }
static <T> T function(Exchange exchange, Class<T> type) { return exchange.getContext().getInjector().newInstance(type); }
/** * Creates a new instance of the given type from the injector * * @param exchange the exchange * @param type the given type * @return the created instance of the given type */
Creates a new instance of the given type from the injector
newInstance
{ "repo_name": "pplatek/camel", "path": "camel-core/src/main/java/org/apache/camel/util/ExchangeHelper.java", "license": "apache-2.0", "size": 36066 }
[ "org.apache.camel.Exchange" ]
import org.apache.camel.Exchange;
import org.apache.camel.*;
[ "org.apache.camel" ]
org.apache.camel;
147,615
private Result createPostResult(User user, Context context, Validation validation, String errorField, String... emailData) { validation.addViolation(new ConstraintViolation(errorField, errorField, errorField)); return createResult(user, context, validation, emailData); }
Result function(User user, Context context, Validation validation, String errorField, String... emailData) { validation.addViolation(new ConstraintViolation(errorField, errorField, errorField)); return createResult(user, context, validation, emailData); }
/** * Creates response result, validation and field that lead to error. * * @param user User. * @param context Context. * @param validation Validation. * @param errorField Field to report as an error. * @param emailData Current email subject and body. * @return Sign up response o...
Creates response result, validation and field that lead to error
createPostResult
{ "repo_name": "janenik/ninja-sso-um", "path": "src/main/java/controllers/sso/admin/users/SendEmailController.java", "license": "apache-2.0", "size": 7448 }
[ "ninja.validation.ConstraintViolation", "ninja.validation.Validation" ]
import ninja.validation.ConstraintViolation; import ninja.validation.Validation;
import ninja.validation.*;
[ "ninja.validation" ]
ninja.validation;
1,853,722
@Test void testFilterClauseAlwaysTrueWithAggGone2() { // Logically equivalent to // select sum("store_sales"), // sum("store_cost") filter (where "store_state" = 'CA') from "foodmart" String sql = "select sum(\"store_sales\") filter (where 1 = 1), " + "sum(\"store_cost\") filter (where \"store...
@Test void testFilterClauseAlwaysTrueWithAggGone2() { String sql = STRstore_sales\STR + "sum(\"store_cost\STRstore_state\STR + STRfoodmart\STR{'queryType':'timeseries','dataSource':'foodmart','descending':false,STR'granularity':'all','aggregations':[{'type':'doubleSum','name':'EXPR$0','fieldName'STR:'store_sales'},{'ty...
/** Tests whether filter clauses with filters that are always true disappear * in the presence of another aggregate with a filter clause. */
Tests whether filter clauses with filters that are always true disappear
testFilterClauseAlwaysTrueWithAggGone2
{ "repo_name": "jcamachor/calcite", "path": "druid/src/test/java/org/apache/calcite/test/DruidAdapter2IT.java", "license": "apache-2.0", "size": 201537 }
[ "org.junit.jupiter.api.Test" ]
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.*;
[ "org.junit.jupiter" ]
org.junit.jupiter;
2,228,635
public void setMapn(ArrayList<ArrayList<Wand>>mapn) { this.mapn=mapn; }
void function(ArrayList<ArrayList<Wand>>mapn) { this.mapn=mapn; }
/*** * Beschreibung: Karte setzen */
Beschreibung: Karte setzen
setMapn
{ "repo_name": "MichaelJ2/big-buum-man", "path": "source/big-buum-man-server/src/main/java/at/big_buum_man/server/gui/objects/Player.java", "license": "gpl-3.0", "size": 5925 }
[ "java.util.ArrayList" ]
import java.util.ArrayList;
import java.util.*;
[ "java.util" ]
java.util;
2,506,127
public Coordinates screenToSquare(final double u, final double v) { final double[] p = screenToBoard(u, v); return nearestSquare(p[0], p[1], p[2]); }
Coordinates function(final double u, final double v) { final double[] p = screenToBoard(u, v); return nearestSquare(p[0], p[1], p[2]); }
/** * Gives the exact board coordinates given the screen coordinates. * @param u the position of the mouse cursor on the x-axis * @param v the position of the mouse cursor on the x-axis * @return The screen coordinates */
Gives the exact board coordinates given the screen coordinates
screenToSquare
{ "repo_name": "CopyrightInfringement/ChineseCheckers", "path": "src/main/java/org/copinf/cc/view/gamepanel/DisplayManager.java", "license": "mit", "size": 9025 }
[ "org.copinf.cc.model.Coordinates" ]
import org.copinf.cc.model.Coordinates;
import org.copinf.cc.model.*;
[ "org.copinf.cc" ]
org.copinf.cc;
1,242,247
@Test public void testWithAMineName() throws Exception { MineFilter mineFilter = new MineFilter("Dominion Copper Mine",null); String filter = mineFilter.getFilterStringAllRecords(); Document doc = AbstractFilterTestUtilities.parsefilterStringXML(filter); AbstractFilterTestUtili...
void function() throws Exception { MineFilter mineFilter = new MineFilter(STR,null); String filter = mineFilter.getFilterStringAllRecords(); Document doc = AbstractFilterTestUtilities.parsefilterStringXML(filter); AbstractFilterTestUtilities.runNodeSetValueCheck(doc, STR, new String[] {STR}, 1); AbstractFilterTestUtili...
/** * Test with a mine name. A filter query should be generated searching for mines with the given name. */
Test with a mine name. A filter query should be generated searching for mines with the given name
testWithAMineName
{ "repo_name": "PeterWarren/AuScope-Portal", "path": "src/test/java/org/auscope/portal/mineraloccurrence/TestMineFilter.java", "license": "lgpl-3.0", "size": 2347 }
[ "org.auscope.portal.server.domain.ogc.AbstractFilterTestUtilities", "org.w3c.dom.Document" ]
import org.auscope.portal.server.domain.ogc.AbstractFilterTestUtilities; import org.w3c.dom.Document;
import org.auscope.portal.server.domain.ogc.*; import org.w3c.dom.*;
[ "org.auscope.portal", "org.w3c.dom" ]
org.auscope.portal; org.w3c.dom;
1,612,717
protected Collection getRules( final TreeNode node, final Map ruleMap, final UndigesterUtils undigesterUtils, final StringValidator stringValidator, final EqualityComparator equalityComparator) { Collection result = getRules( undigester...
Collection function( final TreeNode node, final Map ruleMap, final UndigesterUtils undigesterUtils, final StringValidator stringValidator, final EqualityComparator equalityComparator) { Collection result = getRules( undigesterUtils.buildPatternKey(node.getNodeId()), ruleMap); if (result != null) { result = retrieveBran...
/** * Retrieves the rules for given pattern. * @param node the tree node. * @param ruleMap the rule map. * @param undigesterUtils the UndigesterUtils instance. * @param stringValidator the StringValidator instance. * @param equalityComparator the EqualityComparator instance. * @return...
Retrieves the rules for given pattern
getRules
{ "repo_name": "rydnr/undigester", "path": "src/main/java/org/acmsl/undigester/Undigester.java", "license": "gpl-2.0", "size": 30335 }
[ "java.util.Collection", "java.util.Map", "org.acmsl.commons.utils.EqualityComparator", "org.acmsl.commons.utils.StringValidator", "org.acmsl.undigester.TreeNode", "org.acmsl.undigester.utils.UndigesterUtils" ]
import java.util.Collection; import java.util.Map; import org.acmsl.commons.utils.EqualityComparator; import org.acmsl.commons.utils.StringValidator; import org.acmsl.undigester.TreeNode; import org.acmsl.undigester.utils.UndigesterUtils;
import java.util.*; import org.acmsl.commons.utils.*; import org.acmsl.undigester.*; import org.acmsl.undigester.utils.*;
[ "java.util", "org.acmsl.commons", "org.acmsl.undigester" ]
java.util; org.acmsl.commons; org.acmsl.undigester;
1,757,197
public void setValue(BigDecimal value) { this.value = value; }
void function(BigDecimal value) { this.value = value; }
/** * Set the value of the value property. * <p> * @param value the value in decimal degrees. */
Set the value of the value property.
setValue
{ "repo_name": "KeyBridge/lib-openssrf", "path": "src/main/java/us/gov/dod/standard/ssrf/_3_1/metadata/domains/Lat.java", "license": "apache-2.0", "size": 5756 }
[ "java.math.BigDecimal" ]
import java.math.BigDecimal;
import java.math.*;
[ "java.math" ]
java.math;
1,490,547
@Generated @IsOptional @Selector("dragInteraction:sessionDidMove:") default void dragInteractionSessionDidMove(UIDragInteraction interaction, @Mapped(ObjCObjectMapper.class) UIDragSession session) { throw new java.lang.UnsupportedOperationException(); }
@Selector(STR) default void dragInteractionSessionDidMove(UIDragInteraction interaction, @Mapped(ObjCObjectMapper.class) UIDragSession session) { throw new java.lang.UnsupportedOperationException(); }
/** * Called when the drag has moved (because the user's touch moved). * Use -[UIDragSession locationInView:] to get its new location. */
Called when the drag has moved (because the user's touch moved). Use -[UIDragSession locationInView:] to get its new location
dragInteractionSessionDidMove
{ "repo_name": "multi-os-engine/moe-core", "path": "moe.apple/moe.platform.ios/src/main/java/apple/uikit/protocol/UIDragInteractionDelegate.java", "license": "apache-2.0", "size": 12586 }
[ "org.moe.natj.general.ann.Mapped", "org.moe.natj.objc.ann.Selector", "org.moe.natj.objc.map.ObjCObjectMapper" ]
import org.moe.natj.general.ann.Mapped; import org.moe.natj.objc.ann.Selector; import org.moe.natj.objc.map.ObjCObjectMapper;
import org.moe.natj.general.ann.*; import org.moe.natj.objc.ann.*; import org.moe.natj.objc.map.*;
[ "org.moe.natj" ]
org.moe.natj;
2,532,385
public static DataSetMetaData createMetaData(DataResultSet resultSet, NumberFormat numberFormat, int startingRowIndex, int headerRowIndex) throws HeaderRowNotFoundException, StartRowNotFoundException, HeaderRowBehindStartRowException, DataSetException { // check whether the header row index is lower or eq...
static DataSetMetaData function(DataResultSet resultSet, NumberFormat numberFormat, int startingRowIndex, int headerRowIndex) throws HeaderRowNotFoundException, StartRowNotFoundException, HeaderRowBehindStartRowException, DataSetException { if (headerRowIndex > startingRowIndex) { throw new HeaderRowBehindStartRowExcep...
/** * Creates a new {@link DataSetMetaData} instance for the provided {@link DataResultSet} based * on the provided data range and header row index (if any). This includes reading the column * names and guessing the column types for the selected columns. For guessing the column types * the logic from {@link Dat...
Creates a new <code>DataSetMetaData</code> instance for the provided <code>DataResultSet</code> based on the provided data range and header row index (if any). This includes reading the column names and guessing the column types for the selected columns. For guessing the column types the logic from <code>DataResultSetT...
createMetaData
{ "repo_name": "transwarpio/rapidminer", "path": "rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/studio/io/data/internal/ResultSetAdapterUtils.java", "license": "gpl-3.0", "size": 11919 }
[ "com.rapidminer.core.io.data.ColumnMetaData", "com.rapidminer.core.io.data.DataSetException", "com.rapidminer.core.io.data.DataSetMetaData", "com.rapidminer.operator.OperatorException", "com.rapidminer.operator.nio.model.DataResultSet", "com.rapidminer.studio.io.data.DefaultDataSetMetaData", "com.rapidm...
import com.rapidminer.core.io.data.ColumnMetaData; import com.rapidminer.core.io.data.DataSetException; import com.rapidminer.core.io.data.DataSetMetaData; import com.rapidminer.operator.OperatorException; import com.rapidminer.operator.nio.model.DataResultSet; import com.rapidminer.studio.io.data.DefaultDataSetMetaDat...
import com.rapidminer.core.io.data.*; import com.rapidminer.operator.*; import com.rapidminer.operator.nio.model.*; import com.rapidminer.studio.io.data.*; import java.text.*; import java.util.*;
[ "com.rapidminer.core", "com.rapidminer.operator", "com.rapidminer.studio", "java.text", "java.util" ]
com.rapidminer.core; com.rapidminer.operator; com.rapidminer.studio; java.text; java.util;
1,266,692
final void release() throws ExoPlaybackException { Assertions.checkState(state != TrackRenderer.STATE_ENABLED && state != TrackRenderer.STATE_STARTED && state != TrackRenderer.STATE_RELEASED); state = TrackRenderer.STATE_RELEASED; onReleased(); }
final void release() throws ExoPlaybackException { Assertions.checkState(state != TrackRenderer.STATE_ENABLED && state != TrackRenderer.STATE_STARTED && state != TrackRenderer.STATE_RELEASED); state = TrackRenderer.STATE_RELEASED; onReleased(); }
/** * Releases the renderer. */
Releases the renderer
release
{ "repo_name": "kstv/ExoPlayer", "path": "library/src/main/java/com/google/android/exoplayer/TrackRenderer.java", "license": "apache-2.0", "size": 13152 }
[ "com.google.android.exoplayer.util.Assertions" ]
import com.google.android.exoplayer.util.Assertions;
import com.google.android.exoplayer.util.*;
[ "com.google.android" ]
com.google.android;
1,138,253
private void deobfuscateFiles( ArrayList<DropboxVirtualFile> fileNameList, AbstractObfuscatorFactory aof) { Log.v(TAG_CLASS + TAG_SYNC_SHARE_CONTENT, "in deobfuscateFiles()"); String deobfuscated; String modified; if (accessStatus != ERROR_COULD_NOT_EXTRACT_KEYS && accessStatus !=...
void function( ArrayList<DropboxVirtualFile> fileNameList, AbstractObfuscatorFactory aof) { Log.v(TAG_CLASS + TAG_SYNC_SHARE_CONTENT, STR); String deobfuscated; String modified; if (accessStatus != ERROR_COULD_NOT_EXTRACT_KEYS && accessStatus != ERROR_NOT_OWNER) { try { dbList = new ArrayList<DropboxVirtualFile>(); obf...
/** * This method is used to deobfuscate filenames using the previously * obtained obfuscationKey * * @param fileNameList * @param aof */
This method is used to deobfuscate filenames using the previously obtained obfuscationKey
deobfuscateFiles
{ "repo_name": "caschulz88/PanBox", "path": "panbox-android/src/org/panbox/mobile/android/gui/fragment/FileBrowserFragment.java", "license": "gpl-3.0", "size": 33476 }
[ "android.util.Log", "java.util.ArrayList", "org.panbox.core.crypto.AbstractObfuscatorFactory", "org.panbox.core.crypto.AndroidObfuscatorFactory", "org.panbox.core.exception.ObfuscationException", "org.panbox.mobile.android.dropbox.vfs.DropboxVirtualFile", "org.panbox.mobile.android.gui.data.FileItem" ]
import android.util.Log; import java.util.ArrayList; import org.panbox.core.crypto.AbstractObfuscatorFactory; import org.panbox.core.crypto.AndroidObfuscatorFactory; import org.panbox.core.exception.ObfuscationException; import org.panbox.mobile.android.dropbox.vfs.DropboxVirtualFile; import org.panbox.mobile.android.g...
import android.util.*; import java.util.*; import org.panbox.core.crypto.*; import org.panbox.core.exception.*; import org.panbox.mobile.android.dropbox.vfs.*; import org.panbox.mobile.android.gui.data.*;
[ "android.util", "java.util", "org.panbox.core", "org.panbox.mobile" ]
android.util; java.util; org.panbox.core; org.panbox.mobile;
811,880
public static void write(OMLine line, Link link, LinkProperties props) throws IOException { switch (line.getRenderType()) { case OMLine.RENDERTYPE_LATLON: double[] ll = line.getLL(); LinkLine.write((float) ll[0], (float) ll[1], ...
static void function(OMLine line, Link link, LinkProperties props) throws IOException { switch (line.getRenderType()) { case OMLine.RENDERTYPE_LATLON: double[] ll = line.getLL(); LinkLine.write((float) ll[0], (float) ll[1], (float) ll[2], (float) ll[3], line.getLineType(), line.getNumSegs(), props, link.dos); break; ca...
/** * Write an OMLine to the link. */
Write an OMLine to the link
write
{ "repo_name": "d2fn/passage", "path": "src/main/java/com/bbn/openmap/layer/link/LinkLine.java", "license": "mit", "size": 8987 }
[ "com.bbn.openmap.omGraphics.OMLine", "com.bbn.openmap.util.Debug", "java.io.IOException" ]
import com.bbn.openmap.omGraphics.OMLine; import com.bbn.openmap.util.Debug; import java.io.IOException;
import com.bbn.openmap.*; import com.bbn.openmap.util.*; import java.io.*;
[ "com.bbn.openmap", "java.io" ]
com.bbn.openmap; java.io;
2,411,254
private void bindPreferenceSummaryToValue(Preference preference) { // Set the listener to watch for value changes. preference.setOnPreferenceChangeListener(this); // Trigger the listener immediately with the preference's // current value. onPreferenceChange(preference, ...
void function(Preference preference) { preference.setOnPreferenceChangeListener(this); onPreferenceChange(preference, PreferenceManager .getDefaultSharedPreferences(preference.getContext()) .getString(preference.getKey(), "")); }
/** * Attaches a listener so the summary is always updated with the preference value. * Also fires the listener once, to initialize the summary (so it shows up before the value * is changed.) */
Attaches a listener so the summary is always updated with the preference value. Also fires the listener once, to initialize the summary (so it shows up before the value is changed.)
bindPreferenceSummaryToValue
{ "repo_name": "Jonsnow21/Sunshine", "path": "app/src/main/java/com/example/android/sunshine/app/SettingsActivity.java", "license": "apache-2.0", "size": 2762 }
[ "android.preference.Preference", "android.preference.PreferenceManager" ]
import android.preference.Preference; import android.preference.PreferenceManager;
import android.preference.*;
[ "android.preference" ]
android.preference;
2,462,668
return StringUtils.trimToNull(ObjectUtils.toString(object)); }
return StringUtils.trimToNull(ObjectUtils.toString(object)); }
/** * Converts the object to a string. */
Converts the object to a string
toString
{ "repo_name": "johannrichard/openhab2-addons", "path": "addons/binding/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/CommonRpcParser.java", "license": "epl-1.0", "size": 7471 }
[ "org.apache.commons.lang.ObjectUtils", "org.apache.commons.lang.StringUtils" ]
import org.apache.commons.lang.ObjectUtils; import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.*;
[ "org.apache.commons" ]
org.apache.commons;
442,828
private Object invokeAttributeGetter(final Method method) throws AttributeNotFoundException, InstanceNotFoundException, MBeanException, ReflectionException, IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, SecurityException, ...
Object function(final Method method) throws AttributeNotFoundException, InstanceNotFoundException, MBeanException, ReflectionException, IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, SecurityException, IllegalArgumentException, NoSuchMethodException, InvocationTargetException { Obj...
/** * Invoke the attribute get operation described by {@link Method}instance * <code>method</code> on this handler's target object. * <p> * All returned values are automatically converted to their corresponding * MBean open types. * </p> * * @param method * ...
Invoke the attribute get operation described by <code>Method</code>instance <code>method</code> on this handler's target object. All returned values are automatically converted to their corresponding MBean open types.
invokeAttributeGetter
{ "repo_name": "skyHALud/codenameone", "path": "Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/lang-management/src/main/java/org/apache/harmony/lang/management/OpenTypeMappingIHandler.java", "license": "gpl-2.0", "size": 31775 }
[ "java.io.IOException", "java.lang.reflect.InvocationTargetException", "java.lang.reflect.Method", "javax.management.AttributeNotFoundException", "javax.management.InstanceNotFoundException", "javax.management.MBeanException", "javax.management.ReflectionException" ]
import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import javax.management.AttributeNotFoundException; import javax.management.InstanceNotFoundException; import javax.management.MBeanException; import javax.management.ReflectionException;
import java.io.*; import java.lang.reflect.*; import javax.management.*;
[ "java.io", "java.lang", "javax.management" ]
java.io; java.lang; javax.management;
1,166,084
public void moveRowRelative(int rows) throws SQLException { notSupported(); }
void function(int rows) throws SQLException { notSupported(); }
/** * Moves the current position relative 'rows' from the current position. * * @param rows * the relative number of rows to move * @throws SQLException * if a database error occurs */
Moves the current position relative 'rows' from the current position
moveRowRelative
{ "repo_name": "suthat/signal", "path": "vendor/mysql-connector-java-5.1.26/src/com/mysql/jdbc/RowDataDynamic.java", "license": "apache-2.0", "size": 12388 }
[ "java.sql.SQLException" ]
import java.sql.SQLException;
import java.sql.*;
[ "java.sql" ]
java.sql;
2,144,677
public Iterable<Breakpoint> getBreakpoints(final BreakpointType type) { switch (type) { case REGULAR: return indexedBreakpointStorage.getBreakpoints(); case ECHO: return echoBreakpointStorage.getBreakpoints(); case STEP: return stepBreakpointStorage.getBreakpoints(); ...
Iterable<Breakpoint> function(final BreakpointType type) { switch (type) { case REGULAR: return indexedBreakpointStorage.getBreakpoints(); case ECHO: return echoBreakpointStorage.getBreakpoints(); case STEP: return stepBreakpointStorage.getBreakpoints(); default: throw new IllegalStateException(String.format(STR, type)...
/** * Returns all breakpoints of a given type. * * @param type The type of the breakpoints to return. * * @return A list of all managed breakpoints of the given type. */
Returns all breakpoints of a given type
getBreakpoints
{ "repo_name": "guiquanz/binnavi", "path": "src/main/java/com/google/security/zynamics/binnavi/debug/models/breakpoints/BreakpointManager.java", "license": "apache-2.0", "size": 23668 }
[ "com.google.security.zynamics.binnavi.debug.models.breakpoints.enums.BreakpointType" ]
import com.google.security.zynamics.binnavi.debug.models.breakpoints.enums.BreakpointType;
import com.google.security.zynamics.binnavi.debug.models.breakpoints.enums.*;
[ "com.google.security" ]
com.google.security;
1,246,776
@Override public Cloudlet migrateCloudlet() { ResCloudlet rcl = getCloudletExecList().remove(0); rcl.finalizeCloudlet(); Cloudlet cl = rcl.getCloudlet(); usedPes -= cl.getNumberOfPes(); return cl; }
Cloudlet function() { ResCloudlet rcl = getCloudletExecList().remove(0); rcl.finalizeCloudlet(); Cloudlet cl = rcl.getCloudlet(); usedPes -= cl.getNumberOfPes(); return cl; }
/** * Returns one cloudlet to migrate to another vm. * * @return one running cloudlet * @pre $none * @post $none */
Returns one cloudlet to migrate to another vm
migrateCloudlet
{ "repo_name": "ianmalcolm/compsched", "path": "src/main/java/loea/sched/scheduler/SubtaskScheduler.java", "license": "mit", "size": 18446 }
[ "org.cloudbus.cloudsim.Cloudlet", "org.cloudbus.cloudsim.ResCloudlet" ]
import org.cloudbus.cloudsim.Cloudlet; import org.cloudbus.cloudsim.ResCloudlet;
import org.cloudbus.cloudsim.*;
[ "org.cloudbus.cloudsim" ]
org.cloudbus.cloudsim;
199,195
public static void manageClassificationTree(MouseEvent evt, SemGui semGui) { GuiUtils.treeActionPerformed(semGui.getManageClassificationTree(), semGui.getDocText(), semGui.getDocTokens().getText(), evt, false, semGui, semGui.getDocumentsTable(), 2); semGui.getCategorieSegmentsPanel().setModel(semGui...
static void function(MouseEvent evt, SemGui semGui) { GuiUtils.treeActionPerformed(semGui.getManageClassificationTree(), semGui.getDocText(), semGui.getDocTokens().getText(), evt, false, semGui, semGui.getDocumentsTable(), 2); semGui.getCategorieSegmentsPanel().setModel(semGui.getManageClassificationTree().getModel());...
/** * Gestisce l'albero di classificazione * * @param evt evento * @param semGui frame */
Gestisce l'albero di classificazione
manageClassificationTree
{ "repo_name": "fiohol/theSemProject", "path": "openSem/src/main/java/org/thesemproject/opensem/gui/utils/LuceneIndexUtils.java", "license": "apache-2.0", "size": 14716 }
[ "java.awt.event.MouseEvent", "org.thesemproject.opensem.gui.SemGui" ]
import java.awt.event.MouseEvent; import org.thesemproject.opensem.gui.SemGui;
import java.awt.event.*; import org.thesemproject.opensem.gui.*;
[ "java.awt", "org.thesemproject.opensem" ]
java.awt; org.thesemproject.opensem;
1,849,564
public Iterable<Artifact> getRunfilesArtifactsWithoutMiddlemen() { return runfiles.getArtifactsWithoutMiddlemen(); }
Iterable<Artifact> function() { return runfiles.getArtifactsWithoutMiddlemen(); }
/** * Returns both runfiles artifacts and "conditional" artifacts that may be part of a * Runfiles PruningManifest. This means the returned set may be an overapproximation of the * actual set of runfiles (see {@link Runfiles.PruningManifest}). */
Returns both runfiles artifacts and "conditional" artifacts that may be part of a Runfiles PruningManifest. This means the returned set may be an overapproximation of the actual set of runfiles (see <code>Runfiles.PruningManifest</code>)
getRunfilesArtifactsWithoutMiddlemen
{ "repo_name": "vt09/bazel", "path": "src/main/java/com/google/devtools/build/lib/analysis/RunfilesSupport.java", "license": "apache-2.0", "size": 15638 }
[ "com.google.devtools.build.lib.actions.Artifact" ]
import com.google.devtools.build.lib.actions.Artifact;
import com.google.devtools.build.lib.actions.*;
[ "com.google.devtools" ]
com.google.devtools;
667,719
private void processAck(UUID from, LatchAckMessage message) { lock.lock(); try { ClusterNode coordinator = getLatchCoordinator(AffinityTopologyVersion.NONE); if (coordinator == null) return; T2<String, AffinityTopologyVersion> latchId = new T2<>...
void function(UUID from, LatchAckMessage message) { lock.lock(); try { ClusterNode coordinator = getLatchCoordinator(AffinityTopologyVersion.NONE); if (coordinator == null) return; T2<String, AffinityTopologyVersion> latchId = new T2<>(message.latchId(), message.topVer()); if (message.isFinal()) { if (log.isDebugEnable...
/** * Processes ack message from given {@code from} node. * * Completes client latch in case of final ack message. * * If no latch is associated with message, ack is placed to {@link #pendingAcks} set. * * @param from Node sent ack. * @param message Ack message. */
Processes ack message from given from node. Completes client latch in case of final ack message. If no latch is associated with message, ack is placed to <code>#pendingAcks</code> set
processAck
{ "repo_name": "irudyak/ignite", "path": "modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/latch/ExchangeLatchManager.java", "license": "apache-2.0", "size": 26546 }
[ "org.apache.ignite.cluster.ClusterNode", "org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion", "org.apache.ignite.internal.util.GridConcurrentHashSet" ]
import org.apache.ignite.cluster.ClusterNode; import org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion; import org.apache.ignite.internal.util.GridConcurrentHashSet;
import org.apache.ignite.cluster.*; import org.apache.ignite.internal.processors.affinity.*; import org.apache.ignite.internal.util.*;
[ "org.apache.ignite" ]
org.apache.ignite;
497,428
@GET @Produces({ MediaType.APPLICATION_JSON + "; " + JettyUtils.UTF_8 }) public AboutInfo about( @Context HttpServletRequest req, @Context HttpServletResponse res) { init(res); return new AboutInfo("Timeline Collector API"); }
@Produces({ MediaType.APPLICATION_JSON + STR + JettyUtils.UTF_8 }) AboutInfo function( @Context HttpServletRequest req, @Context HttpServletResponse res) { init(res); return new AboutInfo(STR); }
/** * Return the description of the timeline web services. * * @param req Servlet request. * @param res Servlet response. * @return description of timeline web service. */
Return the description of the timeline web services
about
{ "repo_name": "szegedim/hadoop", "path": "hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/TimelineCollectorWebService.java", "license": "apache-2.0", "size": 11548 }
[ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse", "javax.ws.rs.Produces", "javax.ws.rs.core.Context", "javax.ws.rs.core.MediaType", "org.apache.hadoop.http.JettyUtils" ]
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; import org.apache.hadoop.http.JettyUtils;
import javax.servlet.http.*; import javax.ws.rs.*; import javax.ws.rs.core.*; import org.apache.hadoop.http.*;
[ "javax.servlet", "javax.ws", "org.apache.hadoop" ]
javax.servlet; javax.ws; org.apache.hadoop;
1,022,134
@Override public Valve getNext() { return next; }
Valve function() { return next; }
/** * Return the next Valve in this pipeline, or <code>null</code> if this * is the last Valve in the pipeline. */
Return the next Valve in this pipeline, or <code>null</code> if this is the last Valve in the pipeline
getNext
{ "repo_name": "apache/tomcat", "path": "java/org/apache/catalina/valves/ValveBase.java", "license": "apache-2.0", "size": 6899 }
[ "org.apache.catalina.Valve" ]
import org.apache.catalina.Valve;
import org.apache.catalina.*;
[ "org.apache.catalina" ]
org.apache.catalina;
2,663,228
public boolean restoreState(Bundle inState) { if (inState == null) return false; byte[] state = inState.getByteArray(SAVE_RESTORE_STATE_KEY); if (state == null) return false; boolean result = nativeRestoreFromOpaqueState(mNativeAwContents, state); // The onUpdateTitle call...
boolean function(Bundle inState) { if (inState == null) return false; byte[] state = inState.getByteArray(SAVE_RESTORE_STATE_KEY); if (state == null) return false; boolean result = nativeRestoreFromOpaqueState(mNativeAwContents, state); if (result) mContentsClient.onReceivedTitle(mContentViewCore.getTitle()); return re...
/** * Restore the state of this AwContents into provided Bundle. * @param inState Must be a bundle returned by saveState. * @return False if restoring state failed. */
Restore the state of this AwContents into provided Bundle
restoreState
{ "repo_name": "espadrine/opera", "path": "chromium/src/android_webview/java/src/org/chromium/android_webview/AwContents.java", "license": "bsd-3-clause", "size": 59889 }
[ "android.os.Bundle" ]
import android.os.Bundle;
import android.os.*;
[ "android.os" ]
android.os;
2,799,426
public void uninstallUI(JComponent a) { for (int i = 0; i < uis.size(); i++) { ((ComponentUI) (uis.elementAt(i))).uninstallUI(a); } }
void function(JComponent a) { for (int i = 0; i < uis.size(); i++) { ((ComponentUI) (uis.elementAt(i))).uninstallUI(a); } }
/** * Invokes the <code>uninstallUI</code> method on each UI handled by this object. */
Invokes the <code>uninstallUI</code> method on each UI handled by this object
uninstallUI
{ "repo_name": "rokn/Count_Words_2015", "path": "testing/openjdk2/jdk/src/share/classes/javax/swing/plaf/multi/MultiSliderUI.java", "license": "mit", "size": 7415 }
[ "javax.swing.JComponent", "javax.swing.plaf.ComponentUI" ]
import javax.swing.JComponent; import javax.swing.plaf.ComponentUI;
import javax.swing.*; import javax.swing.plaf.*;
[ "javax.swing" ]
javax.swing;
2,360,788
public void destroyBody (Body body) { JointEdge jointEdge = body.body.getJointList(); while (jointEdge != null) { JointEdge next = jointEdge.next; world.destroyJoint(jointEdge.joint); joints.remove(jointEdge.joint); jointEdge = next; } world.destroyBody(body.body); bodies.remove(body.body); ...
void function (Body body) { JointEdge jointEdge = body.body.getJointList(); while (jointEdge != null) { JointEdge next = jointEdge.next; world.destroyJoint(jointEdge.joint); joints.remove(jointEdge.joint); jointEdge = next; } world.destroyBody(body.body); bodies.remove(body.body); for (Fixture fixture : body.fixtures) ...
/** Destroy a rigid body given a definition. No reference to the definition is retained. This function is locked during * callbacks. * @warning This automatically deletes all associated shapes and joints. * @warning This function is locked during callbacks. */
Destroy a rigid body given a definition. No reference to the definition is retained. This function is locked during callbacks
destroyBody
{ "repo_name": "MadcowD/libgdx", "path": "extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/World.java", "license": "apache-2.0", "size": 15002 }
[ "org.jbox2d.dynamics.joints.JointEdge" ]
import org.jbox2d.dynamics.joints.JointEdge;
import org.jbox2d.dynamics.joints.*;
[ "org.jbox2d.dynamics" ]
org.jbox2d.dynamics;
916,601
@Test(dependsOnMethods = "addUser") public void updateUser() throws Exception { final UserMgmtService userMgmtService = getUserMgmtService(); JSONObject requestJSONObject = new JSONObject(); requestJSONObject.put(User.USER_NAME, "user2 name"); requestJSONObject.put(User.USER_EM...
@Test(dependsOnMethods = STR) void function() throws Exception { final UserMgmtService userMgmtService = getUserMgmtService(); JSONObject requestJSONObject = new JSONObject(); requestJSONObject.put(User.USER_NAME, STR); requestJSONObject.put(User.USER_EMAIL, STR); requestJSONObject.put(User.USER_PASSWORD, "pass2"); req...
/** * Update User. * * @throws Exception exception */
Update User
updateUser
{ "repo_name": "AndiHappy/solo", "path": "src/test/java/org/b3log/solo/service/UserMgmtServiceTestCase.java", "license": "apache-2.0", "size": 3747 }
[ "junit.framework.Assert", "org.b3log.latke.Keys", "org.b3log.latke.model.Role", "org.b3log.latke.model.User", "org.json.JSONObject", "org.testng.annotations.Test" ]
import junit.framework.Assert; import org.b3log.latke.Keys; import org.b3log.latke.model.Role; import org.b3log.latke.model.User; import org.json.JSONObject; import org.testng.annotations.Test;
import junit.framework.*; import org.b3log.latke.*; import org.b3log.latke.model.*; import org.json.*; import org.testng.annotations.*;
[ "junit.framework", "org.b3log.latke", "org.json", "org.testng.annotations" ]
junit.framework; org.b3log.latke; org.json; org.testng.annotations;
1,326,863
public Observable<ServiceResponseWithHeaders<Product, LROsPost202NoRetry204Headers>> post202NoRetry204WithServiceResponseAsync() { final Product product = null; Observable<Response<ResponseBody>> observable = service.post202NoRetry204(product, this.client.acceptLanguage(), this.client.userAgent()); ...
Observable<ServiceResponseWithHeaders<Product, LROsPost202NoRetry204Headers>> function() { final Product product = null; Observable<Response<ResponseBody>> observable = service.post202NoRetry204(product, this.client.acceptLanguage(), this.client.userAgent()); return client.getAzureClient().getPostOrDeleteResultWithHead...
/** * Long running post request, service returns a 202 to the initial request, with 'Location' header, 204 with noresponse body after success. * * @return the observable for the request */
Long running post request, service returns a 202 to the initial request, with 'Location' header, 204 with noresponse body after success
post202NoRetry204WithServiceResponseAsync
{ "repo_name": "tbombach/autorest", "path": "src/generator/AutoRest.Java.Azure.Tests/src/main/java/fixtures/lro/implementation/LROsImpl.java", "license": "mit", "size": 386519 }
[ "com.google.common.reflect.TypeToken", "com.microsoft.rest.ServiceResponseWithHeaders" ]
import com.google.common.reflect.TypeToken; import com.microsoft.rest.ServiceResponseWithHeaders;
import com.google.common.reflect.*; import com.microsoft.rest.*;
[ "com.google.common", "com.microsoft.rest" ]
com.google.common; com.microsoft.rest;
1,355,518
static MyDialogFragment newInstance(int num) { MyDialogFragment f = new MyDialogFragment(); // Supply num input as an argument. Bundle args = new Bundle(); args.putInt("num", num); f.setArguments(args); return f; }
static MyDialogFragment newInstance(int num) { MyDialogFragment f = new MyDialogFragment(); Bundle args = new Bundle(); args.putInt("num", num); f.setArguments(args); return f; }
/** * Create a new instance of MyDialogFragment, providing "num" * as an argument. */
Create a new instance of MyDialogFragment, providing "num" as an argument
newInstance
{ "repo_name": "YoungPeanut/YoungSamples", "path": "app/src/main/java/info/ipeanut/youngsamples/supportv4/app/FragmentDialogSupport.java", "license": "apache-2.0", "size": 6273 }
[ "android.os.Bundle" ]
import android.os.Bundle;
import android.os.*;
[ "android.os" ]
android.os;
1,591,062
public ActionForward performRouteReport(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { KualiDocumentFormBase kualiDocumentFormBase = (KualiDocumentFormBase) form; kualiDocumentFormBase.setDerivedValuesOnForm(request); Act...
ActionForward function(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { KualiDocumentFormBase kualiDocumentFormBase = (KualiDocumentFormBase) form; kualiDocumentFormBase.setDerivedValuesOnForm(request); ActionForward preRulesForward = promptBeforeValid...
/** * route the document using the document service * * @param mapping * @param form * @param request * @param response * @return ActionForward * @throws Exception */
route the document using the document service
performRouteReport
{ "repo_name": "quikkian-ua-devops/will-financials", "path": "kfs-kns/src/main/java/org/kuali/kfs/kns/web/struts/action/KualiDocumentActionBase.java", "license": "agpl-3.0", "size": 111089 }
[ "java.util.ArrayList", "java.util.List", "java.util.Properties", "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse", "org.apache.struts.action.ActionForm", "org.apache.struts.action.ActionForward", "org.apache.struts.action.ActionMapping", "org.kuali.kfs.kns.web.struts...
import java.util.ArrayList; import java.util.List; import java.util.Properties; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import or...
import java.util.*; import javax.servlet.http.*; import org.apache.struts.action.*; import org.kuali.kfs.kns.web.struts.form.*; import org.kuali.kfs.krad.document.*; import org.kuali.kfs.krad.util.*; import org.kuali.rice.core.api.util.*; import org.kuali.rice.kew.api.*;
[ "java.util", "javax.servlet", "org.apache.struts", "org.kuali.kfs", "org.kuali.rice" ]
java.util; javax.servlet; org.apache.struts; org.kuali.kfs; org.kuali.rice;
2,650,836
@Override public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) { Drawable drawable = getDrawable(); canvas.save(); Paint.FontMetricsInt fmPaint = paint.getFontMetricsInt(); int fontHeight = fmPaint.d...
void function(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) { Drawable drawable = getDrawable(); canvas.save(); Paint.FontMetricsInt fmPaint = paint.getFontMetricsInt(); int fontHeight = fmPaint.descent - fmPaint.ascent; int centerY = y + fmPaint.descent - fontH...
/** * see detail message in android.text.TextLine * * @param canvas the canvas, can be null if not rendering * @param text the text to be draw * @param start the text start position * @param end the text end position * @param x the edge of the replacement closest to the leading margin...
see detail message in android.text.TextLine
draw
{ "repo_name": "betroy/xifan", "path": "app/src/main/java/com/troy/xifan/view/VerticalImageSpan.java", "license": "apache-2.0", "size": 2304 }
[ "android.graphics.Canvas", "android.graphics.Paint", "android.graphics.drawable.Drawable" ]
import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.drawable.Drawable;
import android.graphics.*; import android.graphics.drawable.*;
[ "android.graphics" ]
android.graphics;
107,980
public void startTableCFsTracker(ZooKeeperWatcher zookeeper, String tableCFsNode) throws KeeperException { this.tableCFsTracker = new TableCFsTracker(tableCFsNode, zookeeper, this); this.tableCFsTracker.start(); this.readTableCFsZnode(); }
void function(ZooKeeperWatcher zookeeper, String tableCFsNode) throws KeeperException { this.tableCFsTracker = new TableCFsTracker(tableCFsNode, zookeeper, this); this.tableCFsTracker.start(); this.readTableCFsZnode(); }
/** * start a table-cfs tracker to listen the (table, cf-list) map change * * @param zookeeper zk watcher for the local cluster * @param tableCFsNode path to zk node which stores table-cfs * @throws KeeperException */
start a table-cfs tracker to listen the (table, cf-list) map change
startTableCFsTracker
{ "repo_name": "throughsky/lywebank", "path": "hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeer.java", "license": "apache-2.0", "size": 12268 }
[ "org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher", "org.apache.zookeeper.KeeperException" ]
import org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher; import org.apache.zookeeper.KeeperException;
import org.apache.hadoop.hbase.zookeeper.*; import org.apache.zookeeper.*;
[ "org.apache.hadoop", "org.apache.zookeeper" ]
org.apache.hadoop; org.apache.zookeeper;
1,340,796
public void testReadEmptyWal() throws Exception { customWalMode = WALMode.DEFAULT; final Ignite ignite = startGrid("node0"); ignite.active(true); ignite.active(false); final String subfolderName = genDbSubfolderName(ignite, 0); stopGrid("node0"); final St...
void function() throws Exception { customWalMode = WALMode.DEFAULT; final Ignite ignite = startGrid("node0"); ignite.active(true); ignite.active(false); final String subfolderName = genDbSubfolderName(ignite, 0); stopGrid("node0"); final String workDir = U.defaultWorkDirectory(); final IgniteWalIteratorFactory factory ...
/** * Tests reading of empty WAL from non filled cluster. * * @throws Exception if failed. */
Tests reading of empty WAL from non filled cluster
testReadEmptyWal
{ "repo_name": "wmz7year/ignite", "path": "modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/reader/IgniteWalReaderTest.java", "license": "apache-2.0", "size": 50797 }
[ "org.apache.ignite.Ignite", "org.apache.ignite.configuration.WALMode", "org.apache.ignite.internal.processors.cache.persistence.wal.reader.IgniteWalIteratorFactory", "org.apache.ignite.internal.util.typedef.internal.U" ]
import org.apache.ignite.Ignite; import org.apache.ignite.configuration.WALMode; import org.apache.ignite.internal.processors.cache.persistence.wal.reader.IgniteWalIteratorFactory; import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.*; import org.apache.ignite.configuration.*; import org.apache.ignite.internal.processors.cache.persistence.wal.reader.*; import org.apache.ignite.internal.util.typedef.internal.*;
[ "org.apache.ignite" ]
org.apache.ignite;
1,534,491
public static long used(MemoryUsage mu) { return mu.getUsed(); }
static long function(MemoryUsage mu) { return mu.getUsed(); }
/** * Returns the amount of used memory in bytes. */
Returns the amount of used memory in bytes
used
{ "repo_name": "haitaoyao/btrace", "path": "src/share/classes/com/sun/btrace/BTraceUtils.java", "license": "gpl-2.0", "size": 234341 }
[ "java.lang.management.MemoryUsage" ]
import java.lang.management.MemoryUsage;
import java.lang.management.*;
[ "java.lang" ]
java.lang;
1,734,031
public HttpServerExchange setRequestMethod(final HttpString requestMethod) { this.requestMethod = requestMethod; return this; }
HttpServerExchange function(final HttpString requestMethod) { this.requestMethod = requestMethod; return this; }
/** * Set the HTTP request method. * * @param requestMethod the HTTP request method */
Set the HTTP request method
setRequestMethod
{ "repo_name": "aldaris/undertow", "path": "core/src/main/java/io/undertow/server/HttpServerExchange.java", "license": "apache-2.0", "size": 87777 }
[ "io.undertow.util.HttpString" ]
import io.undertow.util.HttpString;
import io.undertow.util.*;
[ "io.undertow.util" ]
io.undertow.util;
1,288,659
public ICommand registerCommand(ICommand par1ICommand) { List var2 = par1ICommand.getCommandAliases(); this.commandMap.put(par1ICommand.getCommandName(), par1ICommand); this.commandSet.add(par1ICommand); if (var2 != null) { Iterator var3 = var2.iterator(); ...
ICommand function(ICommand par1ICommand) { List var2 = par1ICommand.getCommandAliases(); this.commandMap.put(par1ICommand.getCommandName(), par1ICommand); this.commandSet.add(par1ICommand); if (var2 != null) { Iterator var3 = var2.iterator(); while (var3.hasNext()) { String var4 = (String)var3.next(); ICommand var5 = (...
/** * adds the command and any aliases it has to the internal map of available commands */
adds the command and any aliases it has to the internal map of available commands
registerCommand
{ "repo_name": "herpingdo/Hakkit", "path": "net/minecraft/src/CommandHandler.java", "license": "gpl-3.0", "size": 7787 }
[ "java.util.Iterator", "java.util.List" ]
import java.util.Iterator; import java.util.List;
import java.util.*;
[ "java.util" ]
java.util;
1,894,230
default AdvancedAtomixMessagingEndpointConsumerBuilder defaultResourceOptions( Properties defaultResourceOptions) { doSetProperty("defaultResourceOptions", defaultResourceOptions); return this; }
default AdvancedAtomixMessagingEndpointConsumerBuilder defaultResourceOptions( Properties defaultResourceOptions) { doSetProperty(STR, defaultResourceOptions); return this; }
/** * The local default resource options. * * The option is a: <code>java.util.Properties</code> type. * * Group: advanced */
The local default resource options. The option is a: <code>java.util.Properties</code> type. Group: advanced
defaultResourceOptions
{ "repo_name": "ullgren/camel", "path": "core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AtomixMessagingEndpointBuilderFactory.java", "license": "apache-2.0", "size": 52120 }
[ "java.util.Properties" ]
import java.util.Properties;
import java.util.*;
[ "java.util" ]
java.util;
1,393,734
void onNewHistory(HistoryNavigable navigable);
void onNewHistory(HistoryNavigable navigable);
/** * Invoked when a new history item must be created. * * @param navigable The data to saved */
Invoked when a new history item must be created
onNewHistory
{ "repo_name": "sudosurootdev/packages_apps_VanirFileManager", "path": "src/com/vanir/filemanager/listeners/OnHistoryListener.java", "license": "apache-2.0", "size": 1100 }
[ "com.cyanogenmod.filemanager.parcelables.HistoryNavigable" ]
import com.cyanogenmod.filemanager.parcelables.HistoryNavigable;
import com.cyanogenmod.filemanager.parcelables.*;
[ "com.cyanogenmod.filemanager" ]
com.cyanogenmod.filemanager;
1,200,704
public Map<String, GrafanaEndpoint> parse(InputStream input) throws IOException { return mapper.readerFor(mapOfStringAndEndpointType).readValue(input); }
Map<String, GrafanaEndpoint> function(InputStream input) throws IOException { return mapper.readerFor(mapOfStringAndEndpointType).readValue(input); }
/** * Gets a sorted map of endpoint IDs and endpoints. * * @param input stream that contains the endpoint config * @return sorted map of endpoint IDs and endpoints * @throws IOException when something wents wrong (e.g., wrong format) */
Gets a sorted map of endpoint IDs and endpoints
parse
{ "repo_name": "szmg/grafana-dashboard-generator-java", "path": "grafana-dashboard-generator/src/main/java/uk/co/szmg/grafana/stores/GrafanaEndpointParser.java", "license": "apache-2.0", "size": 1783 }
[ "java.io.IOException", "java.io.InputStream", "java.util.Map", "uk.co.szmg.grafana.GrafanaEndpoint" ]
import java.io.IOException; import java.io.InputStream; import java.util.Map; import uk.co.szmg.grafana.GrafanaEndpoint;
import java.io.*; import java.util.*; import uk.co.szmg.grafana.*;
[ "java.io", "java.util", "uk.co.szmg" ]
java.io; java.util; uk.co.szmg;
1,995,169
public void addMainClassroom(IClassroomID classroom) { _userMainClassroom=classroom; }
void function(IClassroomID classroom) { _userMainClassroom=classroom; }
/** * Add the main classroom to the deliver * @param classroom Identifier of the classroom */
Add the main classroom to the deliver
addMainClassroom
{ "repo_name": "UOC/PeLP", "path": "src/main/java/edu/uoc/pelp/engine/deliver/Deliver.java", "license": "gpl-3.0", "size": 11891 }
[ "edu.uoc.pelp.engine.campus.IClassroomID" ]
import edu.uoc.pelp.engine.campus.IClassroomID;
import edu.uoc.pelp.engine.campus.*;
[ "edu.uoc.pelp" ]
edu.uoc.pelp;
2,834,923
public AdminobjectType<T> removeAdminobjectInterface() { childNode.removeChildren("adminobject-interface"); return this; } // --------------------------------------------------------------------------------------------------------|| // ClassName: AdminobjectType ElementName: xsd:token Elem...
AdminobjectType<T> function() { childNode.removeChildren(STR); return this; }
/** * Removes the <code>adminobject-interface</code> element * @return the current instance of <code>AdminobjectType<T></code> */
Removes the <code>adminobject-interface</code> element
removeAdminobjectInterface
{ "repo_name": "forge/javaee-descriptors", "path": "impl/src/main/java/org/jboss/shrinkwrap/descriptor/impl/connector16/AdminobjectTypeImpl.java", "license": "epl-1.0", "size": 7721 }
[ "org.jboss.shrinkwrap.descriptor.api.connector16.AdminobjectType" ]
import org.jboss.shrinkwrap.descriptor.api.connector16.AdminobjectType;
import org.jboss.shrinkwrap.descriptor.api.connector16.*;
[ "org.jboss.shrinkwrap" ]
org.jboss.shrinkwrap;
987,699
public final static DateFormat getPatternInstance( Calendar cal, String skeleton, ULocale locale) { DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); final String bestPattern = generator.getBestPattern(skeleton); SimpleDateFormat format = new SimpleDa...
final static DateFormat function( Calendar cal, String skeleton, ULocale locale) { DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); final String bestPattern = generator.getBestPattern(skeleton); SimpleDateFormat format = new SimpleDateFormat(bestPattern, locale); format.setCalendar(cal...
/** * {@icu} Creates a {@link DateFormat} object that can be used to format dates and * times in the calendar system specified by <code>cal</code>. * * @param cal The calendar system for which a date/time format is desired. * * @param skeleton The skeleton that selects the fields to be f...
Creates a <code>DateFormat</code> object that can be used to format dates and times in the calendar system specified by <code>cal</code>
getPatternInstance
{ "repo_name": "Miracle121/quickdic-dictionary.dictionary", "path": "jars/icu4j-52_1/main/classes/core/src/com/ibm/icu/text/DateFormat.java", "license": "apache-2.0", "size": 83832 }
[ "com.ibm.icu.util.Calendar", "com.ibm.icu.util.GregorianCalendar", "com.ibm.icu.util.ULocale", "java.text.Format", "java.util.HashMap", "java.util.Map" ]
import com.ibm.icu.util.Calendar; import com.ibm.icu.util.GregorianCalendar; import com.ibm.icu.util.ULocale; import java.text.Format; import java.util.HashMap; import java.util.Map;
import com.ibm.icu.util.*; import java.text.*; import java.util.*;
[ "com.ibm.icu", "java.text", "java.util" ]
com.ibm.icu; java.text; java.util;
1,227,705
public URL getURL() throws IOException { throw new FileNotFoundException(getDescription() + " cannot be resolved to URL"); }
URL function() throws IOException { throw new FileNotFoundException(getDescription() + STR); }
/** * This implementation throws a FileNotFoundException, assuming * that the resource cannot be resolved to a URL. */
This implementation throws a FileNotFoundException, assuming that the resource cannot be resolved to a URL
getURL
{ "repo_name": "icemanzp/Orion-Server", "path": "src/main/java/com/jack/netty/conf/io/AbstractResource.java", "license": "mit", "size": 5830 }
[ "java.io.FileNotFoundException", "java.io.IOException" ]
import java.io.FileNotFoundException; import java.io.IOException;
import java.io.*;
[ "java.io" ]
java.io;
2,327,038
// TODO: Does this belong here? public void printCommandLine(CliDirectory workingDirectory, String commandLine) { final String text = '[' + workingDirectory.toPath() + "] " + Objects.requireNonNull(commandLine, "commandLine"); println(text); }
void function(CliDirectory workingDirectory, String commandLine) { final String text = '[' + workingDirectory.toPath() + STR + Objects.requireNonNull(commandLine, STR); println(text); }
/** * Print the command line. * * @param workingDirectory Current working directory. * @param commandLine Command line to print. */
Print the command line
printCommandLine
{ "repo_name": "ykrasik/jaci", "path": "jaci-cli-core/src/main/java/com/github/ykrasik/jaci/cli/output/CliPrinter.java", "license": "apache-2.0", "size": 13063 }
[ "com.github.ykrasik.jaci.cli.directory.CliDirectory", "java.util.Objects" ]
import com.github.ykrasik.jaci.cli.directory.CliDirectory; import java.util.Objects;
import com.github.ykrasik.jaci.cli.directory.*; import java.util.*;
[ "com.github.ykrasik", "java.util" ]
com.github.ykrasik; java.util;
1,165,445
public static InterpolationType getInterpolationType( String type ) throws ParseException { if ( type == null ) { return InterpolationType.NEAREST_NEIGHBOR; // default } if ( type.equalsIgnoreCase( "bl" ) ) { return InterpolationType.BILINE...
static InterpolationType function( String type ) throws ParseException { if ( type == null ) { return InterpolationType.NEAREST_NEIGHBOR; } if ( type.equalsIgnoreCase( "bl" ) ) { return InterpolationType.BILINEAR; } if ( type.equalsIgnoreCase( "nn" ) ) { return InterpolationType.NEAREST_NEIGHBOR; } throw new ParseExcep...
/** * Returns an InterpolationType for a string shortcut. * * @param type * bl or nn * @return the interpolation type * @throws ParseException * if the type is not supported */
Returns an InterpolationType for a string shortcut
getInterpolationType
{ "repo_name": "deegree/deegree3", "path": "deegree-core/deegree-core-coverage/src/main/java/org/deegree/coverage/tools/RasterCommandUtils.java", "license": "lgpl-2.1", "size": 7676 }
[ "org.apache.commons.cli.ParseException", "org.deegree.coverage.raster.interpolation.InterpolationType" ]
import org.apache.commons.cli.ParseException; import org.deegree.coverage.raster.interpolation.InterpolationType;
import org.apache.commons.cli.*; import org.deegree.coverage.raster.interpolation.*;
[ "org.apache.commons", "org.deegree.coverage" ]
org.apache.commons; org.deegree.coverage;
390,675
protected final LockProperties getLockingPropertiesSettings() { return LockProperties.create(Scope.None).withWait(false); }
final LockProperties function() { return LockProperties.create(Scope.None).withWait(false); }
/** * The default lock property settings for the commands */
The default lock property settings for the commands
getLockingPropertiesSettings
{ "repo_name": "OpenUniversity/ovirt-engine", "path": "backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java", "license": "apache-2.0", "size": 92309 }
[ "org.ovirt.engine.core.common.action.LockProperties" ]
import org.ovirt.engine.core.common.action.LockProperties;
import org.ovirt.engine.core.common.action.*;
[ "org.ovirt.engine" ]
org.ovirt.engine;
2,892,027
public Output<T> data() { return data; }
Output<T> function() { return data; }
/** * Gets data. * * @return data. */
Gets data
data
{ "repo_name": "tensorflow/java", "path": "tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/distribute/NcclAllReduce.java", "license": "apache-2.0", "size": 4738 }
[ "org.tensorflow.Output" ]
import org.tensorflow.Output;
import org.tensorflow.*;
[ "org.tensorflow" ]
org.tensorflow;
2,405,420
public static byte[] toBytes(Object o) { Class<?> clazz = o.getClass(); if (clazz.equals(Enum.class)) { return new byte[] { (byte)((Enum<?>) o).ordinal() }; // yeah, yeah it's a hack } else if (clazz.equals(Byte.TYPE) || clazz.equals(Byte.class)) { return new byte[] { (Byte) o }; } else if...
static byte[] function(Object o) { Class<?> clazz = o.getClass(); if (clazz.equals(Enum.class)) { return new byte[] { (byte)((Enum<?>) o).ordinal() }; } else if (clazz.equals(Byte.TYPE) clazz.equals(Byte.class)) { return new byte[] { (Byte) o }; } else if (clazz.equals(Boolean.TYPE) clazz.equals(Boolean.class)) { retur...
/** * Converts an instance of a <em>basic class</em> to an array of bytes. * @param o Instance of Enum|Byte|Boolean|Short|Integer|Long|Float|Double|String|Utf8 * @return array of bytes with <code>o</code> serialized with org.apache.hadoop.hbase.util.Bytes */
Converts an instance of a basic class to an array of bytes
toBytes
{ "repo_name": "jaferreiro/gora-indra", "path": "gora-hbase/src/main/java/org/apache/gora/hbase/util/HBaseByteInterface.java", "license": "apache-2.0", "size": 11110 }
[ "org.apache.avro.util.Utf8", "org.apache.hadoop.hbase.util.Bytes" ]
import org.apache.avro.util.Utf8; import org.apache.hadoop.hbase.util.Bytes;
import org.apache.avro.util.*; import org.apache.hadoop.hbase.util.*;
[ "org.apache.avro", "org.apache.hadoop" ]
org.apache.avro; org.apache.hadoop;
79,657
private int writeSinglePage(T row, int written, IoStatisticsHolder statHolder) throws IgniteCheckedException { AbstractDataPageIO initIo = null; long pageId = takePage(row.size() - written, row, statHolder); if (pageId == 0L) { pageId = allocateDataPage(row.partition()); ...
int function(T row, int written, IoStatisticsHolder statHolder) throws IgniteCheckedException { AbstractDataPageIO initIo = null; long pageId = takePage(row.size() - written, row, statHolder); if (pageId == 0L) { pageId = allocateDataPage(row.partition()); initIo = row.ioVersions().latest(); } written = write(pageId, w...
/** * Take a page and write row on it. * * @param row Row to write. * @param written Written size. * @param statHolder Statistics holder to track IO operations. * @return Number of bytes written, {@link #COMPLETE} if the row was fully written. * @throws IgniteCheckedException If faile...
Take a page and write row on it
writeSinglePage
{ "repo_name": "NSAmelchev/ignite", "path": "modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/freelist/AbstractFreeList.java", "license": "apache-2.0", "size": 33478 }
[ "org.apache.ignite.IgniteCheckedException", "org.apache.ignite.internal.metric.IoStatisticsHolder", "org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO" ]
import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.internal.metric.IoStatisticsHolder; import org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO;
import org.apache.ignite.*; import org.apache.ignite.internal.metric.*; import org.apache.ignite.internal.processors.cache.persistence.tree.io.*;
[ "org.apache.ignite" ]
org.apache.ignite;
1,029,036
boolean callValid(List actualTypes);
boolean callValid(List actualTypes);
/** * Returns true if the procedure can be called with the given arguments. */
Returns true if the procedure can be called with the given arguments
callValid
{ "repo_name": "Sable/polyglot", "path": "src/polyglot/types/ProcedureInstance.java", "license": "lgpl-2.1", "size": 2119 }
[ "java.util.List" ]
import java.util.List;
import java.util.*;
[ "java.util" ]
java.util;
2,317,177
public default <E2 extends Number> GraphTraversal<S, E2> sum() { this.asAdmin().getBytecode().addStep(Symbols.sum); return this.asAdmin().addStep(new SumGlobalStep<>(this.asAdmin())); }
default <E2 extends Number> GraphTraversal<S, E2> function() { this.asAdmin().getBytecode().addStep(Symbols.sum); return this.asAdmin().addStep(new SumGlobalStep<>(this.asAdmin())); }
/** * Map the traversal stream to its reduction as a sum of the {@link Traverser#get} values multiplied by their * {@link Traverser#bulk} (i.e. sum the traverser values up to this point). * * @return the traversal with an appended {@link SumGlobalStep}. * @see <a href="http://tinkerpop.apache.o...
Map the traversal stream to its reduction as a sum of the <code>Traverser#get</code> values multiplied by their <code>Traverser#bulk</code> (i.e. sum the traverser values up to this point)
sum
{ "repo_name": "apache/tinkerpop", "path": "gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java", "license": "apache-2.0", "size": 186459 }
[ "org.apache.tinkerpop.gremlin.process.traversal.step.map.SumGlobalStep" ]
import org.apache.tinkerpop.gremlin.process.traversal.step.map.SumGlobalStep;
import org.apache.tinkerpop.gremlin.process.traversal.step.map.*;
[ "org.apache.tinkerpop" ]
org.apache.tinkerpop;
2,632,248
OperationTicket asyncWriteDeviceState(IDevice dev, DeviceStateMetadata state, DeviceStateValue stateValue, IDeviceOperationCallback callback) throws InternalErrorException;
OperationTicket asyncWriteDeviceState(IDevice dev, DeviceStateMetadata state, DeviceStateValue stateValue, IDeviceOperationCallback callback) throws InternalErrorException;
/** * Writes a state to a device asynchronously * * @param dev The device which state is required * @param state The state to write * @param stateValue * @param callback Callback to receive the results of the operation * @return * @throws InternalErrorException if there was a cri...
Writes a state to a device asynchronously
asyncWriteDeviceState
{ "repo_name": "mytechia/UNIDA", "path": "unida_library/src/main/java/com/hi3project/unida/library/operation/device/IDeviceOperationFacade.java", "license": "agpl-3.0", "size": 6040 }
[ "com.hi3project.unida.library.device.IDevice", "com.hi3project.unida.library.device.ontology.metadata.DeviceStateMetadata", "com.hi3project.unida.library.device.ontology.state.DeviceStateValue", "com.hi3project.unida.library.operation.OperationTicket", "com.mytechia.commons.framework.exception.InternalError...
import com.hi3project.unida.library.device.IDevice; import com.hi3project.unida.library.device.ontology.metadata.DeviceStateMetadata; import com.hi3project.unida.library.device.ontology.state.DeviceStateValue; import com.hi3project.unida.library.operation.OperationTicket; import com.mytechia.commons.framework.exception...
import com.hi3project.unida.library.device.*; import com.hi3project.unida.library.device.ontology.metadata.*; import com.hi3project.unida.library.device.ontology.state.*; import com.hi3project.unida.library.operation.*; import com.mytechia.commons.framework.exception.*;
[ "com.hi3project.unida", "com.mytechia.commons" ]
com.hi3project.unida; com.mytechia.commons;
571,532
private static boolean isHierarchicallyDerived(IResource curr) { if (useEclipse32DerivedVersion) { do { if (curr.isDerived()) { return true; } curr = curr.getParent(); } while (curr != null); return false...
static boolean function(IResource curr) { if (useEclipse32DerivedVersion) { do { if (curr.isDerived()) { return true; } curr = curr.getParent(); } while (curr != null); return false; } else { try { return curr.isDerived(IResource.CHECK_ANCESTORS); } catch (Throwable e) { useEclipse32DerivedVersion = true; return isHier...
/** * Checks if some resource is hierarchically derived (if any parent is derived, it's also derived). */
Checks if some resource is hierarchically derived (if any parent is derived, it's also derived)
isHierarchicallyDerived
{ "repo_name": "bobwalker99/Pydev", "path": "plugins/com.python.pydev.analysis/src/com/python/pydev/analysis/builder/AnalysisBuilderRunnable.java", "license": "epl-1.0", "size": 13541 }
[ "com.python.pydev.analysis.additionalinfo.AbstractAdditionalTokensInfo", "com.python.pydev.analysis.additionalinfo.AdditionalProjectInterpreterInfo", "org.eclipse.core.resources.IResource", "org.eclipse.core.runtime.CoreException", "org.eclipse.jface.text.IDocument", "org.python.pydev.builder.PyDevBuilder...
import com.python.pydev.analysis.additionalinfo.AbstractAdditionalTokensInfo; import com.python.pydev.analysis.additionalinfo.AdditionalProjectInterpreterInfo; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.jface.text.IDocument; import org.python.pydev.bui...
import com.python.pydev.analysis.additionalinfo.*; import org.eclipse.core.resources.*; import org.eclipse.core.runtime.*; import org.eclipse.jface.text.*; import org.python.pydev.builder.*; import org.python.pydev.core.*; import org.python.pydev.core.log.*; import org.python.pydev.editor.codecompletion.revisited.modul...
[ "com.python.pydev", "org.eclipse.core", "org.eclipse.jface", "org.python.pydev" ]
com.python.pydev; org.eclipse.core; org.eclipse.jface; org.python.pydev;
1,539,748
void waitAssert(VirtualMachine vm, String state, String lcmState) { int n_steps = 100; int step = 100; int i = 0; vm.info(); while( !( (vm.stateStr().equals(state) && (!state.equals("ACTIVE") || vm.lcmStateStr().equals(lcmState) ))|| i > n_steps )) {...
void waitAssert(VirtualMachine vm, String state, String lcmState) { int n_steps = 100; int step = 100; int i = 0; vm.info(); while( !( (vm.stateStr().equals(state) && (!state.equals(STR) vm.lcmStateStr().equals(lcmState) )) i > n_steps )) { try{ Thread.sleep(step); } catch (Exception e){} vm.info(); i++; } assertTrue( ...
/** * Wait until the VM changes to the specified state. * There is a time-out of 10 seconds. */
Wait until the VM changes to the specified state. There is a time-out of 10 seconds
waitAssert
{ "repo_name": "bcec/opennebula3.4.1", "path": "src/oca/java/test/VirtualMachineTest.java", "license": "apache-2.0", "size": 8054 }
[ "org.junit.Assert", "org.opennebula.client.vm.VirtualMachine" ]
import org.junit.Assert; import org.opennebula.client.vm.VirtualMachine;
import org.junit.*; import org.opennebula.client.vm.*;
[ "org.junit", "org.opennebula.client" ]
org.junit; org.opennebula.client;
888,638
private static void appendHitUpdate(final Player p, final PacketBuilder updateBlock) { updateBlock.put((byte) p.getDamage().getHitDamage1()); updateBlock.putByteA(p.getDamage().getHitType1()); updateBlock.putByteC(p.getSkills().getLevel(3)); updateBlock.put((byte) p.getSkills().getLevelForExperienc...
static void appendHitUpdate(final Player p, final PacketBuilder updateBlock) { updateBlock.put((byte) p.getDamage().getHitDamage1()); updateBlock.putByteA(p.getDamage().getHitType1()); updateBlock.putByteC(p.getSkills().getLevel(3)); updateBlock.put((byte) p.getSkills().getLevelForExperience(3)); } */ public void funct...
/** private static void appendHit2Update(final Player p, final PacketBuilder updateBlock) { updateBlock.put((byte) p.getDamage().getHitDamage2()); updateBlock.putByteS((byte) p.getDamage().getHitType2()); updateBlock.put((byte) p.getSkills().getLevel(3)); updateBlock.putByteC(p.getSkills().getLevelF...
private static void appendHit2Update(final Player p, final PacketBuilder updateBlock) {
startAnimation
{ "repo_name": "RodriguesJ/Atem", "path": "src/com/runescape/server/revised/actor/entity/character/update/UpdateClass.java", "license": "epl-1.0", "size": 26899 }
[ "com.runescape.server.revised.actor.entity.character.player.login.game.GamePlayer", "com.runescape.server.revised.net.io.IOPacketBuffer" ]
import com.runescape.server.revised.actor.entity.character.player.login.game.GamePlayer; import com.runescape.server.revised.net.io.IOPacketBuffer;
import com.runescape.server.revised.actor.entity.character.player.login.game.*; import com.runescape.server.revised.net.io.*;
[ "com.runescape.server" ]
com.runescape.server;
2,209,872
void printHelp(Options options) { HelpFormatter formatter = new HelpFormatter(); System.out.println(); formatter.printHelp("Shuffle [options]", options); System.out.println(); }
void printHelp(Options options) { HelpFormatter formatter = new HelpFormatter(); System.out.println(); formatter.printHelp(STR, options); System.out.println(); }
/** * Prints the help message for the application * * @param options The Commandline options */
Prints the help message for the application
printHelp
{ "repo_name": "oneam/Shuffle", "path": "src/main/java/shuffle/ShuffleApplication.java", "license": "apache-2.0", "size": 3422 }
[ "org.apache.commons.cli.HelpFormatter", "org.apache.commons.cli.Options" ]
import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Options;
import org.apache.commons.cli.*;
[ "org.apache.commons" ]
org.apache.commons;
2,451,643
public void setConnector(Connector connector) { this.connector = connector; }
void function(Connector connector) { this.connector = connector; }
/** * Set the HTTP connector * * @param connector HTTP Connector */
Set the HTTP connector
setConnector
{ "repo_name": "Alfresco/alfresco-quickr-connector", "path": "quickr/source/java/org/alfresco/repo/lotus/server/QuickrServer.java", "license": "apache-2.0", "size": 3938 }
[ "org.mortbay.jetty.Connector" ]
import org.mortbay.jetty.Connector;
import org.mortbay.jetty.*;
[ "org.mortbay.jetty" ]
org.mortbay.jetty;
1,425,667
public static void inspectItem() { if (isTesting) return; int tellPositionX = 440; int tellPositionY = 600; try { Robot robot = new Robot(); robot.mouseMove(tellPositionX, tellPositionY); robot.delay(40); ...
static void function() { if (isTesting) return; int tellPositionX = 440; int tellPositionY = 600; try { Robot robot = new Robot(); robot.mouseMove(tellPositionX, tellPositionY); robot.delay(40); robot.mousePress(MouseEvent.BUTTON1_MASK); robot.delay(40); robot.mouseRelease(MouseEvent.BUTTON1_MASK); robot.delay(500); } ...
/** * Inspects the item last sent to the bot in a tell window at the specified screen position. * * Remember to close the item after you finish using it. */
Inspects the item last sent to the bot in a tell window at the specified screen position. Remember to close the item after you finish using it
inspectItem
{ "repo_name": "aaronze/CerberusDKP", "path": "DKP/src/util/EverQuest.java", "license": "apache-2.0", "size": 15801 }
[ "java.awt.Robot", "java.awt.event.MouseEvent" ]
import java.awt.Robot; import java.awt.event.MouseEvent;
import java.awt.*; import java.awt.event.*;
[ "java.awt" ]
java.awt;
1,103,808
return this.list(null, null, null, null); } /** * This function returns a {@link List} of PAYMILL {@link Offer} objects, overriding the default count and offset. * * @param count Max {@link Integer} of returned objects in the {@link PaymillList}
return this.list(null, null, null, null); } /** * This function returns a {@link List} of PAYMILL {@link Offer} objects, overriding the default count and offset. * * @param count Max {@link Integer} of returned objects in the {@link PaymillList}
/** * This function returns a {@link List} of PAYMILL {@link Offer} objects. * * @return {@link PaymillList} which contains a {@link List} of PAYMILL {@link Offer}s and their total count. */
This function returns a <code>List</code> of PAYMILL <code>Offer</code> objects
list
{ "repo_name": "paymill/paymill-java", "path": "src/main/java/com/paymill/services/OfferService.java", "license": "mit", "size": 8883 }
[ "com.paymill.models.Offer", "com.paymill.models.PaymillList", "java.util.List" ]
import com.paymill.models.Offer; import com.paymill.models.PaymillList; import java.util.List;
import com.paymill.models.*; import java.util.*;
[ "com.paymill.models", "java.util" ]
com.paymill.models; java.util;
502,027
private synchronized void startModal() { try { if (SwingUtilities.isEventDispatchThread()) { EventQueue theQueue = getToolkit().getSystemEventQueue(); while (isVisible()) { AWTEvent event = theQueue.getNextEvent(); Object source = event.getSource(); boolean dispatch = true;...
synchronized void function() { try { if (SwingUtilities.isEventDispatchThread()) { EventQueue theQueue = getToolkit().getSystemEventQueue(); while (isVisible()) { AWTEvent event = theQueue.getNextEvent(); Object source = event.getSource(); boolean dispatch = true; if (event instanceof MouseEvent) { MouseEvent e = (Mous...
/** * Start the modal behavior. */
Start the modal behavior
startModal
{ "repo_name": "mars-sim/mars-sim", "path": "mars-sim-ui/src/main/java/org/mars_sim/msp/ui/swing/ModalInternalFrame.java", "license": "gpl-3.0", "size": 4092 }
[ "java.awt.AWTEvent", "java.awt.ActiveEvent", "java.awt.Component", "java.awt.EventQueue", "java.awt.MenuComponent", "java.awt.event.MouseEvent", "javax.swing.JTextField", "javax.swing.SwingUtilities" ]
import java.awt.AWTEvent; import java.awt.ActiveEvent; import java.awt.Component; import java.awt.EventQueue; import java.awt.MenuComponent; import java.awt.event.MouseEvent; import javax.swing.JTextField; import javax.swing.SwingUtilities;
import java.awt.*; import java.awt.event.*; import javax.swing.*;
[ "java.awt", "javax.swing" ]
java.awt; javax.swing;
1,647,560
public OutputStream createOutputStream() throws IOException { return stream.createUnfilteredStream(); }
OutputStream function() throws IOException { return stream.createUnfilteredStream(); }
/** * This will get a stream that can be written to. * * @return An output stream to write data to. * * @throws IOException * If an IO error occurs during writing. */
This will get a stream that can be written to
createOutputStream
{ "repo_name": "myrridin/qz-print", "path": "pdfbox_1.8.4_qz/src/org/apache/pdfbox/pdmodel/common/PDStream.java", "license": "lgpl-2.1", "size": 18077 }
[ "java.io.IOException", "java.io.OutputStream" ]
import java.io.IOException; import java.io.OutputStream;
import java.io.*;
[ "java.io" ]
java.io;
279,758
@Test public void presentValueSABRSensitivity() { final double pv = METHOD_CAP_CMS_SABR.presentValue(CMS_CAP, SABR_MULTICURVES).getAmount(EUR); final PresentValueSABRSensitivityDataBundle pvsCapLong = METHOD_CAP_CMS_SABR.presentValueSABRSensitivity(CMS_CAP, SABR_MULTICURVES); // SABR sensitivity vs fini...
void function() { final double pv = METHOD_CAP_CMS_SABR.presentValue(CMS_CAP, SABR_MULTICURVES).getAmount(EUR); final PresentValueSABRSensitivityDataBundle pvsCapLong = METHOD_CAP_CMS_SABR.presentValueSABRSensitivity(CMS_CAP, SABR_MULTICURVES); final double shift = 0.0001; final double shiftAlpha = 0.00001; final doubl...
/** * Tests the present value SABR parameters sensitivity vs finite difference. */
Tests the present value SABR parameters sensitivity vs finite difference
presentValueSABRSensitivity
{ "repo_name": "McLeodMoores/starling", "path": "projects/analytics/src/test/java/com/opengamma/analytics/financial/interestrate/payments/provider/CapFloorCMSSABRReplicationMethodTest.java", "license": "apache-2.0", "size": 22591 }
[ "com.opengamma.analytics.financial.interestrate.PresentValueSABRSensitivityDataBundle", "com.opengamma.analytics.financial.model.option.definition.SABRInterestRateParameters", "com.opengamma.analytics.financial.provider.description.SABRDataSets", "com.opengamma.analytics.financial.provider.description.interes...
import com.opengamma.analytics.financial.interestrate.PresentValueSABRSensitivityDataBundle; import com.opengamma.analytics.financial.model.option.definition.SABRInterestRateParameters; import com.opengamma.analytics.financial.provider.description.SABRDataSets; import com.opengamma.analytics.financial.provider.descript...
import com.opengamma.analytics.financial.interestrate.*; import com.opengamma.analytics.financial.model.option.definition.*; import com.opengamma.analytics.financial.provider.description.*; import com.opengamma.analytics.financial.provider.description.interestrate.*; import com.opengamma.util.tuple.*; import org.testng...
[ "com.opengamma.analytics", "com.opengamma.util", "org.testng" ]
com.opengamma.analytics; com.opengamma.util; org.testng;
1,434,638
public IdempotentRepository<String> getIdempotentRepository() { return idempotentRepository; }
IdempotentRepository<String> function() { return idempotentRepository; }
/** * The idempotent repository to use as the store for the read locks. */
The idempotent repository to use as the store for the read locks
getIdempotentRepository
{ "repo_name": "isavin/camel", "path": "camel-core/src/main/java/org/apache/camel/component/file/strategy/FileIdempotentChangedRepositoryReadLockStrategy.java", "license": "apache-2.0", "size": 8940 }
[ "org.apache.camel.spi.IdempotentRepository" ]
import org.apache.camel.spi.IdempotentRepository;
import org.apache.camel.spi.*;
[ "org.apache.camel" ]
org.apache.camel;
1,159,247
public static Collection<String> getTags(String artist, Session session) { Result result = Caller.getInstance().call("artist.getTags", session, "artist", artist); if (!result.isSuccessful()) return Collections.emptyList(); DomElement element = result.getContentElement(); Collection<String> tags = new...
static Collection<String> function(String artist, Session session) { Result result = Caller.getInstance().call(STR, session, STR, artist); if (!result.isSuccessful()) return Collections.emptyList(); DomElement element = result.getContentElement(); Collection<String> tags = new ArrayList<String>(); for (DomElement domEl...
/** * Get the tags applied by an individual user to an artist on Last.fm. * * @param artist The artist name in question * @param session A Session instance * @return a list of tags */
Get the tags applied by an individual user to an artist on Last.fm
getTags
{ "repo_name": "themrbigfoot/Radio-Air-International", "path": "src/net/roarsoftware/lastfm/Artist.java", "license": "apache-2.0", "size": 12691 }
[ "java.util.ArrayList", "java.util.Collection", "java.util.Collections", "net.roarsoftware.xml.DomElement" ]
import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import net.roarsoftware.xml.DomElement;
import java.util.*; import net.roarsoftware.xml.*;
[ "java.util", "net.roarsoftware.xml" ]
java.util; net.roarsoftware.xml;
458,028
Observable<ServiceResponse<Error>> postRequiredArrayPropertyWithServiceResponseAsync(ArrayWrapper bodyParameter);
Observable<ServiceResponse<Error>> postRequiredArrayPropertyWithServiceResponseAsync(ArrayWrapper bodyParameter);
/** * Test explicitly required array. Please put a valid array-wrapper with 'value' = null and the client library should throw before the request is sent. * * @param bodyParameter the ArrayWrapper value * @return the observable to the Error object */
Test explicitly required array. Please put a valid array-wrapper with 'value' = null and the client library should throw before the request is sent
postRequiredArrayPropertyWithServiceResponseAsync
{ "repo_name": "yugangw-msft/autorest", "path": "src/generator/AutoRest.Java.Tests/src/main/java/fixtures/requiredoptional/Explicits.java", "license": "mit", "size": 43317 }
[ "com.microsoft.rest.ServiceResponse" ]
import com.microsoft.rest.ServiceResponse;
import com.microsoft.rest.*;
[ "com.microsoft.rest" ]
com.microsoft.rest;
1,433,176
public static NexusFile openNexusFile(String path) throws NexusException { NexusFile file = new NexusFileHDF5(path); file.openToWrite(false); return file; }
static NexusFile function(String path) throws NexusException { NexusFile file = new NexusFileHDF5(path); file.openToWrite(false); return file; }
/** * Open an existing Nexus file to modify * @param path * @return Nexus file * @throws NexusException */
Open an existing Nexus file to modify
openNexusFile
{ "repo_name": "belkassaby/dawnsci", "path": "org.eclipse.dawnsci.hdf5/src/org/eclipse/dawnsci/hdf5/nexus/NexusFileHDF5.java", "license": "epl-1.0", "size": 59498 }
[ "org.eclipse.dawnsci.nexus.NexusException", "org.eclipse.dawnsci.nexus.NexusFile" ]
import org.eclipse.dawnsci.nexus.NexusException; import org.eclipse.dawnsci.nexus.NexusFile;
import org.eclipse.dawnsci.nexus.*;
[ "org.eclipse.dawnsci" ]
org.eclipse.dawnsci;
1,157,222
public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); }
ProvisioningState function() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); }
/** * Get the provisioningState property: The provisioning state of the IP configuration profile resource. * * @return the provisioningState value. */
Get the provisioningState property: The provisioning state of the IP configuration profile resource
provisioningState
{ "repo_name": "Azure/azure-sdk-for-java", "path": "sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java", "license": "mit", "size": 4262 }
[ "com.azure.resourcemanager.network.models.ProvisioningState" ]
import com.azure.resourcemanager.network.models.ProvisioningState;
import com.azure.resourcemanager.network.models.*;
[ "com.azure.resourcemanager" ]
com.azure.resourcemanager;
1,119,082
public void setContentViewCore(ContentViewCore contentViewCore) { if (mContentViewCore != null) { mContentViewCore.removeGestureStateListener(mGestureStateListener); } mContentViewCore = contentViewCore; if (mContentViewCore != null) { mContentViewCore.addGes...
void function(ContentViewCore contentViewCore) { if (mContentViewCore != null) { mContentViewCore.removeGestureStateListener(mGestureStateListener); } mContentViewCore = contentViewCore; if (mContentViewCore != null) { mContentViewCore.addGestureStateListener(mGestureStateListener); } }
/** * Watches the given ContentViewCore for scrolling changes. */
Watches the given ContentViewCore for scrolling changes
setContentViewCore
{ "repo_name": "guorendong/iridium-browser-ubuntu", "path": "chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java", "license": "bsd-3-clause", "size": 31463 }
[ "org.chromium.content.browser.ContentViewCore" ]
import org.chromium.content.browser.ContentViewCore;
import org.chromium.content.browser.*;
[ "org.chromium.content" ]
org.chromium.content;
342,413
public List<String> getYesDecisionMessages() { return explanations().stream() .filter(explanation -> explanation.decisions().type().equals(Decision.Type.YES)) .map(explanation -> explanation.command().getMessage()) .filter(Optional::isPresent) .map(Optional::g...
List<String> function() { return explanations().stream() .filter(explanation -> explanation.decisions().type().equals(Decision.Type.YES)) .map(explanation -> explanation.command().getMessage()) .filter(Optional::isPresent) .map(Optional::get) .collect(Collectors.toList()); }
/** * Provides feedback from commands with a YES decision that should be displayed to the user after the command has been applied */
Provides feedback from commands with a YES decision that should be displayed to the user after the command has been applied
getYesDecisionMessages
{ "repo_name": "GlenRSmith/elasticsearch", "path": "server/src/main/java/org/elasticsearch/cluster/routing/allocation/RoutingExplanations.java", "license": "apache-2.0", "size": 3049 }
[ "java.util.List", "java.util.Optional", "java.util.stream.Collectors", "org.elasticsearch.cluster.routing.allocation.decider.Decision" ]
import java.util.List; import java.util.Optional; import java.util.stream.Collectors; import org.elasticsearch.cluster.routing.allocation.decider.Decision;
import java.util.*; import java.util.stream.*; import org.elasticsearch.cluster.routing.allocation.decider.*;
[ "java.util", "org.elasticsearch.cluster" ]
java.util; org.elasticsearch.cluster;
2,526,972
public static List<String> tokenizeOperators(final CallSiteDescriptor desc) { final String ops = desc.getNameToken(CallSiteDescriptor.OPERATOR); final StringTokenizer tok = new StringTokenizer(ops, CallSiteDescriptor.OPERATOR_DELIMITER); final int count = tok.countTokens(); if(count ...
static List<String> function(final CallSiteDescriptor desc) { final String ops = desc.getNameToken(CallSiteDescriptor.OPERATOR); final StringTokenizer tok = new StringTokenizer(ops, CallSiteDescriptor.OPERATOR_DELIMITER); final int count = tok.countTokens(); if(count == 1) { return Collections.singletonList(ops); } fin...
/** * Tokenizes a composite operation name along pipe characters. I.e. if you have a "dyn:getElem|getProp|getMethod" * operation, returns a list of ["getElem", "getProp", "getMethod"]. The tokens are not interned. * @param desc the call site descriptor with the operation * @return a list of tokens ...
Tokenizes a composite operation name along pipe characters. I.e. if you have a "dyn:getElem|getProp|getMethod" operation, returns a list of ["getElem", "getProp", "getMethod"]. The tokens are not interned
tokenizeOperators
{ "repo_name": "JetBrains/jdk8u_nashorn", "path": "src/jdk/internal/dynalink/support/CallSiteDescriptorFactory.java", "license": "gpl-2.0", "size": 13277 }
[ "java.util.Arrays", "java.util.Collections", "java.util.List", "java.util.StringTokenizer" ]
import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.StringTokenizer;
import java.util.*;
[ "java.util" ]
java.util;
997,642
public static JsonObject getObject(JsonObject object, String field, JsonObject defaultValue) { final JsonValue value = object.get(field); if (value == null) { return defaultValue; } else { return value.asObject(); } }
static JsonObject function(JsonObject object, String field, JsonObject defaultValue) { final JsonValue value = object.get(field); if (value == null) { return defaultValue; } else { return value.asObject(); } }
/** * Returns a field in a Json object as an object. * * @param object the Json object * @param field the field in the Json object to return * @param defaultValue a default value for the field if the field value is null * @return the Json field value as a Json object */
Returns a field in a Json object as an object
getObject
{ "repo_name": "tombujok/hazelcast", "path": "hazelcast/src/main/java/com/hazelcast/util/JsonUtil.java", "license": "apache-2.0", "size": 9726 }
[ "com.eclipsesource.json.JsonObject", "com.eclipsesource.json.JsonValue" ]
import com.eclipsesource.json.JsonObject; import com.eclipsesource.json.JsonValue;
import com.eclipsesource.json.*;
[ "com.eclipsesource.json" ]
com.eclipsesource.json;
2,526,741
@Override protected boolean validateConnection(Connection conn) { try { return (!conn.isClosed()); } catch (SQLException e) { return false; } }
boolean function(Connection conn) { try { return (!conn.isClosed()); } catch (SQLException e) { return false; } }
/** * Returns true if the connection is not closed. * * @param conn Connection object * @return boolean True is the connection is alive. */
Returns true if the connection is not closed
validateConnection
{ "repo_name": "sshcherbakov/incubator-geode", "path": "gemfire-core/src/main/java/com/gemstone/gemfire/internal/datasource/GemFireConnPooledDataSource.java", "license": "apache-2.0", "size": 7292 }
[ "java.sql.Connection", "java.sql.SQLException" ]
import java.sql.Connection; import java.sql.SQLException;
import java.sql.*;
[ "java.sql" ]
java.sql;
2,216,355
public Object evaluate(String scriptText, String fileName) throws CompilationFailedException { return evaluate(scriptText, fileName, DEFAULT_CODE_BASE); }
Object function(String scriptText, String fileName) throws CompilationFailedException { return evaluate(scriptText, fileName, DEFAULT_CODE_BASE); }
/** * Evaluates some script against the current Binding and returns the result * * @param scriptText the text of the script * @param fileName is the logical file name of the script (which is used to create the class name of the script) */
Evaluates some script against the current Binding and returns the result
evaluate
{ "repo_name": "paulk-asert/groovy", "path": "src/main/java/groovy/lang/GroovyShell.java", "license": "apache-2.0", "size": 22799 }
[ "org.codehaus.groovy.control.CompilationFailedException" ]
import org.codehaus.groovy.control.CompilationFailedException;
import org.codehaus.groovy.control.*;
[ "org.codehaus.groovy" ]
org.codehaus.groovy;
399,593
private static Optional<PotionConsumable> forId(int id) { for (PotionConsumable potion : PotionConsumable.values()) { for (int potionId : potion.getIds()) { if (id == potionId) { return Optional.of(potion); } } } ...
static Optional<PotionConsumable> function(int id) { for (PotionConsumable potion : PotionConsumable.values()) { for (int potionId : potion.getIds()) { if (id == potionId) { return Optional.of(potion); } } } return Optional.empty(); }
/** * Retrieves the potion consumable element for {@code id}. * * @param id * the id that the potion consumable is attached to. * @return the potion consumable wrapped in an optional, or an empty * optional if no potion consumable was found. */
Retrieves the potion consumable element for id
forId
{ "repo_name": "lare96/asteria-3.0", "path": "src/com/asteria/game/character/player/content/PotionConsumable.java", "license": "gpl-3.0", "size": 18874 }
[ "java.util.Optional" ]
import java.util.Optional;
import java.util.*;
[ "java.util" ]
java.util;
1,261,992
public Connection getConnection() throws ResourceException;
Connection function() throws ResourceException;
/** Gets a connection to an EIS instance. This getConnection variant * should be used when a component wants the container to manage EIS * sign-on. This case is termed container-managed sign-on. The * component does not pass any security information. * * * @return Connection instance * @th...
Gets a connection to an EIS instance. This getConnection variant should be used when a component wants the container to manage EIS sign-on. This case is termed container-managed sign-on. The component does not pass any security information
getConnection
{ "repo_name": "bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs", "path": "plugins/javax.resource/src/javax/resource/cci/ConnectionFactory.java", "license": "epl-1.0", "size": 6043 }
[ "javax.resource.ResourceException" ]
import javax.resource.ResourceException;
import javax.resource.*;
[ "javax.resource" ]
javax.resource;
1,889,696
default <R2> TriFunction8E<T, U, V, R2, E1, E2, E3, E4, E5, E6, E7, E8> andThen(final Function3E<? super R, ? extends R2, ? extends E1, ? extends E2, ? extends E3> after) { Objects.requireNonNull(after); return (T t, U u, V v) -> after.apply(apply(t, u, v)); }
default <R2> TriFunction8E<T, U, V, R2, E1, E2, E3, E4, E5, E6, E7, E8> andThen(final Function3E<? super R, ? extends R2, ? extends E1, ? extends E2, ? extends E3> after) { Objects.requireNonNull(after); return (T t, U u, V v) -> after.apply(apply(t, u, v)); }
/** * Returns a composed function that first applies this function to * its input, and then applies the {@code after} function to the result. * If evaluation of either function throws an exception, it is relayed to * the caller of the composed function. * * @param <R2> the type of output o...
Returns a composed function that first applies this function to its input, and then applies the after function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the composed function
andThen
{ "repo_name": "adamretter/j8fu", "path": "src/main/java/com/evolvedbinary/j8fu/function/TriFunction8E.java", "license": "bsd-3-clause", "size": 15171 }
[ "java.util.Objects" ]
import java.util.Objects;
import java.util.*;
[ "java.util" ]
java.util;
2,845,753
public Long getEffectiveUID() { final EventContext ec = getEventContext(); final Long shareId = ec.getCurrentShareId(); if (shareId != null) { if (shareId < 0) { return null; } ome.model.meta.Session s = sf.getQueryService().get( ...
Long function() { final EventContext ec = getEventContext(); final Long shareId = ec.getCurrentShareId(); if (shareId != null) { if (shareId < 0) { return null; } ome.model.meta.Session s = sf.getQueryService().get( ome.model.meta.Session.class, shareId); return s.getOwner().getId(); } return ec.getCurrentUserId(); }
/** * Returns the Id of the currently logged in user. * Returns owner of the share while in share * @return See above. */
Returns the Id of the currently logged in user. Returns owner of the share while in share
getEffectiveUID
{ "repo_name": "rleigh-dundee/openmicroscopy", "path": "components/server/src/ome/security/basic/BasicSecuritySystem.java", "license": "gpl-2.0", "size": 24836 }
[ "org.hibernate.Session" ]
import org.hibernate.Session;
import org.hibernate.*;
[ "org.hibernate" ]
org.hibernate;
1,840,826
public static void fireChangeStarEvent(Change.Id id, boolean starred) { Gerrit.EVENT_BUS.fireEventFromSource(new ChangeStarEvent(id, starred), id); }
static void function(Change.Id id, boolean starred) { Gerrit.EVENT_BUS.fireEventFromSource(new ChangeStarEvent(id, starred), id); }
/** * Broadcast the current starred value of a change to UI widgets. This does not RPC to the server * and does not alter the starred status of a change. */
Broadcast the current starred value of a change to UI widgets. This does not RPC to the server and does not alter the starred status of a change
fireChangeStarEvent
{ "repo_name": "WANdisco/gerrit", "path": "gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/StarredChanges.java", "license": "apache-2.0", "size": 6452 }
[ "com.google.gerrit.client.Gerrit", "com.google.gerrit.reviewdb.client.Change" ]
import com.google.gerrit.client.Gerrit; import com.google.gerrit.reviewdb.client.Change;
import com.google.gerrit.client.*; import com.google.gerrit.reviewdb.client.*;
[ "com.google.gerrit" ]
com.google.gerrit;
803,639
public int getResourceLoadingCount() throws IOException, InterruptedException { return channel.call(new LoadingCount(true)); }
int function() throws IOException, InterruptedException { return channel.call(new LoadingCount(true)); }
/** * Shows {@link Channel#resourceLoadingCount}. * @since 1.495 */
Shows <code>Channel#resourceLoadingCount</code>
getResourceLoadingCount
{ "repo_name": "andresrc/jenkins", "path": "core/src/main/java/hudson/slaves/SlaveComputer.java", "license": "mit", "size": 38862 }
[ "java.io.IOException" ]
import java.io.IOException;
import java.io.*;
[ "java.io" ]
java.io;
674,984
@android.view.RemotableViewMethod public void setImageURI(Uri uri) { if (mResource != 0 || (mUri != uri && (uri == null || mUri == null || !uri.equals(mUri)))) { updateDrawable(null); mResource = 0; mUri = uri; final int o...
@android.view.RemotableViewMethod void function(Uri uri) { if (mResource != 0 (mUri != uri && (uri == null mUri == null !uri.equals(mUri)))) { updateDrawable(null); mResource = 0; mUri = uri; final int oldWidth = mDrawableWidth; final int oldHeight = mDrawableHeight; resolveUri(); if (oldWidth != mDrawableWidth oldHeig...
/** * Sets the content of this ImageView to the specified Uri. * * <p class="note">This does Bitmap reading and decoding on the UI * thread, which can cause a latency hiccup. If that's a concern, * consider using {@link #setImageDrawable(android.graphics.drawable.Drawable)} or * {@link #s...
Sets the content of this ImageView to the specified Uri. This does Bitmap reading and decoding on the UI thread, which can cause a latency hiccup. If that's a concern, consider using <code>#setImageDrawable(android.graphics.drawable.Drawable)</code> or <code>#setImageBitmap(android.graphics.Bitmap)</code> and <code>and...
setImageURI
{ "repo_name": "s20121035/rk3288_android5.1_repo", "path": "frameworks/base/core/java/android/widget/ImageView.java", "license": "gpl-3.0", "size": 48362 }
[ "android.net.Uri", "android.view.RemotableViewMethod" ]
import android.net.Uri; import android.view.RemotableViewMethod;
import android.net.*; import android.view.*;
[ "android.net", "android.view" ]
android.net; android.view;
623,993
protected boolean lineOutsideTarget(LineSeg line, Connection connection) { // check if end points are outside of bounds and if so - add a new point PrecisionRectangle endRect = new PrecisionRectangle(FigureUtilities .getAnchorableFigureBounds(connection.getTargetAnchor() .getOwner())); connect...
boolean function(LineSeg line, Connection connection) { PrecisionRectangle endRect = new PrecisionRectangle(FigureUtilities .getAnchorableFigureBounds(connection.getTargetAnchor() .getOwner())); connection.getTargetAnchor().getOwner().translateToAbsolute(endRect); if (getLineSegMode().equals(LineMode.ORTHOGONAL_CONSTRA...
/** * Method lineOutsideTarget. Utility method to determine if the constraint * needs to be adjusted because the line is outside of the target bounds. * * @param line * LineSeg defining the new line moved by the user gesture. * @return boolean true if terminus of line lies outside the targ...
Method lineOutsideTarget. Utility method to determine if the constraint needs to be adjusted because the line is outside of the target bounds
lineOutsideTarget
{ "repo_name": "lwriemen/bridgepoint", "path": "src/org.xtuml.bp.ui.graphics/src/org/xtuml/bp/ui/graphics/policies/GraphicsConnectionLineSegPolicy.java", "license": "apache-2.0", "size": 14025 }
[ "org.eclipse.draw2d.Connection", "org.eclipse.draw2d.geometry.PrecisionPoint", "org.eclipse.draw2d.geometry.PrecisionRectangle", "org.eclipse.gmf.runtime.draw2d.ui.figures.FigureUtilities", "org.eclipse.gmf.runtime.draw2d.ui.geometry.LineSeg", "org.eclipse.gmf.runtime.gef.ui.internal.editpolicies.LineMode...
import org.eclipse.draw2d.Connection; import org.eclipse.draw2d.geometry.PrecisionPoint; import org.eclipse.draw2d.geometry.PrecisionRectangle; import org.eclipse.gmf.runtime.draw2d.ui.figures.FigureUtilities; import org.eclipse.gmf.runtime.draw2d.ui.geometry.LineSeg; import org.eclipse.gmf.runtime.gef.ui.internal.edit...
import org.eclipse.draw2d.*; import org.eclipse.draw2d.geometry.*; import org.eclipse.gmf.runtime.draw2d.ui.figures.*; import org.eclipse.gmf.runtime.draw2d.ui.geometry.*; import org.eclipse.gmf.runtime.gef.ui.internal.editpolicies.*;
[ "org.eclipse.draw2d", "org.eclipse.gmf" ]
org.eclipse.draw2d; org.eclipse.gmf;
2,056,339
@Override public Optional<TorrentInfo> getInfo(Torrent torrent) { synchronized (this) { return Optional.ofNullable(torrentMap.get(torrent)); } }
Optional<TorrentInfo> function(Torrent torrent) { synchronized (this) { return Optional.ofNullable(torrentMap.get(torrent)); } }
/** * Finds the torrent info associated to the given torrent * @param torrent The torrent on which we want info on * @return The info or null if not found */
Finds the torrent info associated to the given torrent
getInfo
{ "repo_name": "Johnnei/JavaTorrent", "path": "bittorrent-tracker-udp/src/main/java/org/johnnei/javatorrent/tracker/UdpTracker.java", "license": "apache-2.0", "size": 8334 }
[ "java.util.Optional", "org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo", "org.johnnei.javatorrent.torrent.Torrent" ]
import java.util.Optional; import org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo; import org.johnnei.javatorrent.torrent.Torrent;
import java.util.*; import org.johnnei.javatorrent.bittorrent.tracker.*; import org.johnnei.javatorrent.torrent.*;
[ "java.util", "org.johnnei.javatorrent" ]
java.util; org.johnnei.javatorrent;
1,937,935
public List<CurrentlyTracedCall> getTracedCalls() { return tracedCalls; }
List<CurrentlyTracedCall> function() { return tracedCalls; }
/** * Returns contained use cases. * @return */
Returns contained use cases
getTracedCalls
{ "repo_name": "vkazhdan/moskito", "path": "moskito-core/src/main/java/net/anotheria/moskito/core/journey/Journey.java", "license": "mit", "size": 2481 }
[ "java.util.List", "net.anotheria.moskito.core.calltrace.CurrentlyTracedCall" ]
import java.util.List; import net.anotheria.moskito.core.calltrace.CurrentlyTracedCall;
import java.util.*; import net.anotheria.moskito.core.calltrace.*;
[ "java.util", "net.anotheria.moskito" ]
java.util; net.anotheria.moskito;
1,508,881
@Override @Nonnull public HDLInlineFunction setContainer(@Nullable IHDLObject container) { return (HDLInlineFunction) super.setContainer(container); }
HDLInlineFunction function(@Nullable IHDLObject container) { return (HDLInlineFunction) super.setContainer(container); }
/** * Setter for the field {@link #getContainer()}. * * @param container * sets the new container of this object. Can be <code>null</code>. * @return the same instance of {@link HDLInlineFunction} with the updated container field. */
Setter for the field <code>#getContainer()</code>
setContainer
{ "repo_name": "pshdl/org.pshdl", "path": "model-gen/org/pshdl/model/impl/AbstractHDLInlineFunction.java", "license": "gpl-3.0", "size": 17715 }
[ "javax.annotation.Nullable", "org.pshdl.model.HDLInlineFunction", "org.pshdl.model.IHDLObject" ]
import javax.annotation.Nullable; import org.pshdl.model.HDLInlineFunction; import org.pshdl.model.IHDLObject;
import javax.annotation.*; import org.pshdl.model.*;
[ "javax.annotation", "org.pshdl.model" ]
javax.annotation; org.pshdl.model;
426,079
public static Constraints composeConstraints( final SimpleFeatureType featureType, final TimeDescriptors timeDescriptors, final Map<ByteArrayId, DataStatistics<SimpleFeature>> statsMap, final Geometry jtsBounds, final TemporalConstraintsSet timeBoundsSet ) { final Constraints timeConstraints = comp...
static Constraints function( final SimpleFeatureType featureType, final TimeDescriptors timeDescriptors, final Map<ByteArrayId, DataStatistics<SimpleFeature>> statsMap, final Geometry jtsBounds, final TemporalConstraintsSet timeBoundsSet ) { final Constraints timeConstraints = composeTimeConstraints( featureType, timeD...
/** * Compose a query from the set of constraints. When the provided * constraints do not fulfill the indexed dimensions, compose consraints * from statistics. * * @param featureType * @param timeDescriptors * @param statsMap * @param jtsBounds * @param timeBoundsSet * @return */
Compose a query from the set of constraints. When the provided constraints do not fulfill the indexed dimensions, compose consraints from statistics
composeConstraints
{ "repo_name": "ruks/geowave", "path": "extensions/adapters/vector/src/main/java/mil/nga/giat/geowave/adapter/vector/util/QueryIndexHelper.java", "license": "apache-2.0", "size": 11946 }
[ "com.vividsolutions.jts.geom.Geometry", "java.util.Map", "mil.nga.giat.geowave.adapter.vector.utils.TimeDescriptors", "mil.nga.giat.geowave.core.geotime.store.query.TemporalConstraintsSet", "mil.nga.giat.geowave.core.index.ByteArrayId", "mil.nga.giat.geowave.core.store.adapter.statistics.DataStatistics", ...
import com.vividsolutions.jts.geom.Geometry; import java.util.Map; import mil.nga.giat.geowave.adapter.vector.utils.TimeDescriptors; import mil.nga.giat.geowave.core.geotime.store.query.TemporalConstraintsSet; import mil.nga.giat.geowave.core.index.ByteArrayId; import mil.nga.giat.geowave.core.store.adapter.statistics....
import com.vividsolutions.jts.geom.*; import java.util.*; import mil.nga.giat.geowave.adapter.vector.utils.*; import mil.nga.giat.geowave.core.geotime.store.query.*; import mil.nga.giat.geowave.core.index.*; import mil.nga.giat.geowave.core.store.adapter.statistics.*; import mil.nga.giat.geowave.core.store.query.*; imp...
[ "com.vividsolutions.jts", "java.util", "mil.nga.giat", "org.opengis.feature" ]
com.vividsolutions.jts; java.util; mil.nga.giat; org.opengis.feature;
2,691,674