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
void compressDELA() { CompressCommand command = new CompressCommand().dic(Config .getCurrentDELA()); if (ConfigManager.getManager().isSemiticLanguage(null)) { command = command.semitic(); } Launcher.exec(command, false, null); }
void compressDELA() { CompressCommand command = new CompressCommand().dic(Config .getCurrentDELA()); if (ConfigManager.getManager().isSemiticLanguage(null)) { command = command.semitic(); } Launcher.exec(command, false, null); }
/** * Compresses the current dictionary. The external program "Compress" is * called through the creation of a <code>ProcessInfoFrame</code> object. */
Compresses the current dictionary. The external program "Compress" is called through the creation of a <code>ProcessInfoFrame</code> object
compressDELA
{ "repo_name": "mdamis/unilabIDE", "path": "Unitex-Java/src/fr/umlv/unitex/frames/UnitexFrame.java", "license": "lgpl-3.0", "size": 66453 }
[ "fr.umlv.unitex.config.Config", "fr.umlv.unitex.config.ConfigManager", "fr.umlv.unitex.process.Launcher", "fr.umlv.unitex.process.commands.CompressCommand" ]
import fr.umlv.unitex.config.Config; import fr.umlv.unitex.config.ConfigManager; import fr.umlv.unitex.process.Launcher; import fr.umlv.unitex.process.commands.CompressCommand;
import fr.umlv.unitex.config.*; import fr.umlv.unitex.process.*; import fr.umlv.unitex.process.commands.*;
[ "fr.umlv.unitex" ]
fr.umlv.unitex;
2,847,304
public Timestamp getDateNextRun(); public static final String COLUMNNAME_Description = "Description";
Timestamp function(); public static final String COLUMNNAME_Description = STR;
/** Get Date next run. * Date the process will run next */
Get Date next run. Date the process will run next
getDateNextRun
{ "repo_name": "geneos/adempiere", "path": "base/src/org/compiere/model/I_M_PerpetualInv.java", "license": "gpl-2.0", "size": 7801 }
[ "java.sql.Timestamp" ]
import java.sql.Timestamp;
import java.sql.*;
[ "java.sql" ]
java.sql;
2,763,688
@SimpleProperty( description = "If true, the player will loop when it plays. Setting Loop while the player " + "is playing will affect the current playing.", category = PropertyCategory.BEHAVIOR) public boolean Loop() { return loop; }
@SimpleProperty( description = STR + STR, category = PropertyCategory.BEHAVIOR) boolean function() { return loop; }
/** * Reports whether the playing should loop. */
Reports whether the playing should loop
Loop
{ "repo_name": "kkashi01/appinventor-sources", "path": "appinventor/components/src/com/google/appinventor/components/runtime/Player.java", "license": "apache-2.0", "size": 17575 }
[ "com.google.appinventor.components.annotations.PropertyCategory", "com.google.appinventor.components.annotations.SimpleProperty" ]
import com.google.appinventor.components.annotations.PropertyCategory; import com.google.appinventor.components.annotations.SimpleProperty;
import com.google.appinventor.components.annotations.*;
[ "com.google.appinventor" ]
com.google.appinventor;
1,352,210
public static SourceDataLine playAudioStream(AudioInputStream stream, StartTime startTime, Listener listener, Cancellable cancellable, boolean blocking) throws UnsupportedOperationException, LineUnavailableException { AudioFormat audioFormat = stream.getFormat(); DataLine.Info info = new DataLine.Info(S...
static SourceDataLine function(AudioInputStream stream, StartTime startTime, Listener listener, Cancellable cancellable, boolean blocking) throws UnsupportedOperationException, LineUnavailableException { AudioFormat audioFormat = stream.getFormat(); DataLine.Info info = new DataLine.Info(SourceDataLine.class, audioForm...
/** * Plays audio from the given audio input stream. * * @param stream * the AudioInputStream to play. * @param startTime * the time to skip to when playing starts. A value of zero means * this plays from the beginning, 1 means it skips one second, * etc. *...
Plays audio from the given audio input stream
playAudioStream
{ "repo_name": "mickleness/pumpernickel", "path": "src/main/java/com/pump/audio/AudioPlayer.java", "license": "mit", "size": 18340 }
[ "com.pump.swing.Cancellable", "java.util.ArrayList", "java.util.HashMap", "java.util.List", "java.util.Map", "javax.sound.sampled.AudioFormat", "javax.sound.sampled.AudioInputStream", "javax.sound.sampled.AudioSystem", "javax.sound.sampled.DataLine", "javax.sound.sampled.LineUnavailableException",...
import com.pump.swing.Cancellable; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.DataLine; import javax.sound.sampl...
import com.pump.swing.*; import java.util.*; import javax.sound.sampled.*; import javax.swing.*;
[ "com.pump.swing", "java.util", "javax.sound", "javax.swing" ]
com.pump.swing; java.util; javax.sound; javax.swing;
2,486,947
public String getAperture() { Optional<Rational> aperture = readRational(ExifSubIFDDirectory.class, ExifSubIFDDirectory.TAG_APERTURE); if (aperture.isPresent()) { double fstop = PhotographicConversions.apertureToFStop(aperture.get().doubleValue()); return String.format(Local...
String function() { Optional<Rational> aperture = readRational(ExifSubIFDDirectory.class, ExifSubIFDDirectory.TAG_APERTURE); if (aperture.isPresent()) { double fstop = PhotographicConversions.apertureToFStop(aperture.get().doubleValue()); return String.format(Locale.ENGLISH, STR, fstop); } return null; }
/** * Gets the Aperture in F-Stops of the photo taken. Format is "f/6.0". * * @return Aperture string, or {@code null} if the information could not be retrieved */
Gets the Aperture in F-Stops of the photo taken. Format is "f/6.0"
getAperture
{ "repo_name": "shred/cilla", "path": "cilla-service/src/main/java/org/shredzone/cilla/service/resource/ExifAnalyzer.java", "license": "agpl-3.0", "size": 23849 }
[ "com.drew.imaging.PhotographicConversions", "com.drew.lang.Rational", "com.drew.metadata.exif.ExifSubIFDDirectory", "java.util.Locale", "java.util.Optional" ]
import com.drew.imaging.PhotographicConversions; import com.drew.lang.Rational; import com.drew.metadata.exif.ExifSubIFDDirectory; import java.util.Locale; import java.util.Optional;
import com.drew.imaging.*; import com.drew.lang.*; import com.drew.metadata.exif.*; import java.util.*;
[ "com.drew.imaging", "com.drew.lang", "com.drew.metadata", "java.util" ]
com.drew.imaging; com.drew.lang; com.drew.metadata; java.util;
2,662,182
public static void setInputPaths(Job job, String commaSeparatedPaths ) throws IOException { setInputPaths(job, StringUtils.stringToPath( getPathStrings(commaSeparatedPaths))); }
static void function(Job job, String commaSeparatedPaths ) throws IOException { setInputPaths(job, StringUtils.stringToPath( getPathStrings(commaSeparatedPaths))); }
/** * Sets the given comma separated paths as the list of inputs * for the map-reduce job. * * @param job the job * @param commaSeparatedPaths Comma separated paths to be set as * the list of inputs for the map-reduce job. */
Sets the given comma separated paths as the list of inputs for the map-reduce job
setInputPaths
{ "repo_name": "jayantgolhar/Hadoop-0.21.0", "path": "mapred/src/java/org/apache/hadoop/mapreduce/lib/input/FileInputFormat.java", "license": "apache-2.0", "size": 16197 }
[ "java.io.IOException", "org.apache.hadoop.mapreduce.Job", "org.apache.hadoop.util.StringUtils" ]
import java.io.IOException; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.util.StringUtils;
import java.io.*; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.util.*;
[ "java.io", "org.apache.hadoop" ]
java.io; org.apache.hadoop;
1,566,184
Builder listOfStructs(SimpleStruct... listOfStructs); /** * Sets the value of the ListOfStructs property for this object. * * This is a convenience that creates an instance of the {@link List<SimpleStruct>.Builder} avoiding the need to * create one manually via {@lin...
Builder listOfStructs(SimpleStruct... listOfStructs); /** * Sets the value of the ListOfStructs property for this object. * * This is a convenience that creates an instance of the {@link List<SimpleStruct>.Builder} avoiding the need to * create one manually via {@link List<SimpleStruct>#builder()}. * * When the {@link ...
/** * Sets the value of the ListOfStructs property for this object. * * @param listOfStructs * The new value for the ListOfStructs property for this object. * @return Returns a reference to this object so that method calls can be chained together. */
Sets the value of the ListOfStructs property for this object
listOfStructs
{ "repo_name": "aws/aws-sdk-java-v2", "path": "codegen/src/test/resources/software/amazon/awssdk/codegen/poet/model/alltypesrequest.java", "license": "apache-2.0", "size": 147512 }
[ "java.util.List", "java.util.function.Consumer" ]
import java.util.List; import java.util.function.Consumer;
import java.util.*; import java.util.function.*;
[ "java.util" ]
java.util;
1,282,831
int findFirstVisibleItemPositionInt() { final View first = mShouldReverseLayout ? findFirstVisibleItemClosestToEnd(true) : findFirstVisibleItemClosestToStart(true); return first == null ? NO_POSITION : getPosition(first); }
int findFirstVisibleItemPositionInt() { final View first = mShouldReverseLayout ? findFirstVisibleItemClosestToEnd(true) : findFirstVisibleItemClosestToStart(true); return first == null ? NO_POSITION : getPosition(first); }
/** * Finds the first fully visible child to be used as an anchor child if span count changes when * state is restored. If no children is fully visible, returns a partially visible child instead * of returning null. */
Finds the first fully visible child to be used as an anchor child if span count changes when state is restored. If no children is fully visible, returns a partially visible child instead of returning null
findFirstVisibleItemPositionInt
{ "repo_name": "slp/Telegram-FOSS", "path": "TMessagesProj/src/main/java/org/telegram/messenger/support/widget/StaggeredGridLayoutManager.java", "license": "gpl-2.0", "size": 129679 }
[ "android.view.View" ]
import android.view.View;
import android.view.*;
[ "android.view" ]
android.view;
2,910,724
public static DataNode instantiateDataNode(String args[], Configuration conf) throws IOException { return instantiateDataNode(args, conf, null); } /** Instantiate a single datanode object, along with its secure resources. * This must be run by invoking{@link DataNo...
static DataNode function(String args[], Configuration conf) throws IOException { return instantiateDataNode(args, conf, null); } /** Instantiate a single datanode object, along with its secure resources. * This must be run by invoking{@link DataNode#runDatanodeDaemon()}
/** Instantiate a single datanode object. This must be run by invoking * {@link DataNode#runDatanodeDaemon()} subsequently. */
Instantiate a single datanode object. This must be run by invoking <code>DataNode#runDatanodeDaemon()</code> subsequently
instantiateDataNode
{ "repo_name": "adouang/hadoop", "path": "hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java", "license": "apache-2.0", "size": 122777 }
[ "java.io.IOException", "org.apache.hadoop.conf.Configuration" ]
import java.io.IOException; import org.apache.hadoop.conf.Configuration;
import java.io.*; import org.apache.hadoop.conf.*;
[ "java.io", "org.apache.hadoop" ]
java.io; org.apache.hadoop;
1,916,697
List<T> retrieveSomeWithFilter(Filter<?> filter, String value, int[] interval);
List<T> retrieveSomeWithFilter(Filter<?> filter, String value, int[] interval);
/** * Retrieve some objects from the persistent class that match the specified filter. * * @param filter * The specification that filters the objects from the persistent class. * @param value * The filter's input. * @param interval * Array of size 2 with the interval ...
Retrieve some objects from the persistent class that match the specified filter
retrieveSomeWithFilter
{ "repo_name": "dwws-ufes/2014-nemobooks", "path": "nemobooks/src/br/ufes/inf/nemo/util/ejb3/persistence/BaseDAO.java", "license": "gpl-2.0", "size": 5231 }
[ "br.ufes.inf.nemo.util.ejb3.application.filters.Filter", "java.util.List" ]
import br.ufes.inf.nemo.util.ejb3.application.filters.Filter; import java.util.List;
import br.ufes.inf.nemo.util.ejb3.application.filters.*; import java.util.*;
[ "br.ufes.inf", "java.util" ]
br.ufes.inf; java.util;
165,699
@Column(nullable = false, columnDefinition = "int default 400") public Integer getHcopyPrice() { return hcopyPrice; }
@Column(nullable = false, columnDefinition = STR) Integer function() { return hcopyPrice; }
/** * Price of the hard copy version of the magazine. * * @return price in pence */
Price of the hard copy version of the magazine
getHcopyPrice
{ "repo_name": "mbooth101/gpm", "path": "src/main/java/com/gpm/model/Issue.java", "license": "apache-2.0", "size": 5342 }
[ "javax.persistence.Column" ]
import javax.persistence.Column;
import javax.persistence.*;
[ "javax.persistence" ]
javax.persistence;
148,736
public void renderParticle(VertexBuffer worldRendererIn, Entity entityIn, float partialTicks, float rotationX, float rotationZ, float rotationYZ, float rotationXY, float rotationXZ) { if (this.entity != null) { RenderManager rendermanager = Minecraft.getMinecraft().getRenderManager()...
void function(VertexBuffer worldRendererIn, Entity entityIn, float partialTicks, float rotationX, float rotationZ, float rotationYZ, float rotationXY, float rotationXZ) { if (this.entity != null) { RenderManager rendermanager = Minecraft.getMinecraft().getRenderManager(); rendermanager.setRenderPosition(Particle.interp...
/** * Renders the particle */
Renders the particle
renderParticle
{ "repo_name": "danielyc/test-1.9.4", "path": "build/tmp/recompileMc/sources/net/minecraft/client/particle/ParticleMobAppearance.java", "license": "gpl-3.0", "size": 3709 }
[ "net.minecraft.client.Minecraft", "net.minecraft.client.renderer.GlStateManager", "net.minecraft.client.renderer.OpenGlHelper", "net.minecraft.client.renderer.VertexBuffer", "net.minecraft.client.renderer.entity.RenderManager", "net.minecraft.entity.Entity", "net.minecraft.util.math.MathHelper" ]
import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.OpenGlHelper; import net.minecraft.client.renderer.VertexBuffer; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.entity.Entity; import net.minecraft.util.math....
import net.minecraft.client.*; import net.minecraft.client.renderer.*; import net.minecraft.client.renderer.entity.*; import net.minecraft.entity.*; import net.minecraft.util.math.*;
[ "net.minecraft.client", "net.minecraft.entity", "net.minecraft.util" ]
net.minecraft.client; net.minecraft.entity; net.minecraft.util;
2,845,939
@Transactional(propagation = Propagation.NOT_SUPPORTED, readOnly = true) public <E, PK extends Serializable> E load(Class<E> cls, PK pk) throws ServiceException;
@Transactional(propagation = Propagation.NOT_SUPPORTED, readOnly = true) <E, PK extends Serializable> E function(Class<E> cls, PK pk) throws ServiceException;
/** * Load e. * * @param <E> the type parameter * @param <PK> the type parameter * @param cls the cls * @param pk the pk * @return the e * @throws ServiceException the service exception */
Load e
load
{ "repo_name": "forsrc/MyStudy", "path": "src/main/java/com/forsrc/cxf/server/restful/base/service/BaseCxfService.java", "license": "apache-2.0", "size": 4614 }
[ "com.forsrc.exception.ServiceException", "java.io.Serializable", "org.springframework.transaction.annotation.Propagation", "org.springframework.transaction.annotation.Transactional" ]
import com.forsrc.exception.ServiceException; import java.io.Serializable; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional;
import com.forsrc.exception.*; import java.io.*; import org.springframework.transaction.annotation.*;
[ "com.forsrc.exception", "java.io", "org.springframework.transaction" ]
com.forsrc.exception; java.io; org.springframework.transaction;
2,885,755
public boolean execute(String sql) throws SQLException { throw Util.notSupported(); }
boolean function(String sql) throws SQLException { throw Util.notSupported(); }
/** * This method should always throw if called for a PreparedStatement or * CallableStatment. * * @param sql ignored * @throws SQLException always * @return nothing */
This method should always throw if called for a PreparedStatement or CallableStatment
execute
{ "repo_name": "ifcharming/original2.0", "path": "src/hsqldb19b3/org/hsqldb_voltpatches/jdbc/JDBCPreparedStatement.java", "license": "gpl-3.0", "size": 175518 }
[ "java.sql.SQLException" ]
import java.sql.SQLException;
import java.sql.*;
[ "java.sql" ]
java.sql;
1,961,745
//================= // Monomial Order //================= public Signature signature() { return characteristic(false, true); } // signature
Signature function() { return characteristic(false, true); }
/** Gets the signature, that is the concatenation of * <ul> * <li>a list of elements: "/" variable name "." exponent * sorted by the reverse lexicographical order of the names * </li> * </ul> * This signature defines the monomial order in a {@link Polynomial}. * @return for exa...
Gets the signature, that is the concatenation of a list of elements: "/" variable name "." exponent sorted by the reverse lexicographical order of the names This signature defines the monomial order in a <code>Polynomial</code>
signature
{ "repo_name": "gfis/ramath", "path": "src/main/java/org/teherba/ramath/symbolic/Monomial.java", "license": "apache-2.0", "size": 45485 }
[ "org.teherba.ramath.symbolic.Signature" ]
import org.teherba.ramath.symbolic.Signature;
import org.teherba.ramath.symbolic.*;
[ "org.teherba.ramath" ]
org.teherba.ramath;
1,536,582
@Override public int hashCode() { return Objects.hash(columnId, name, rosettaControlMetadata, variableMetadata); }
int function() { return Objects.hash(columnId, name, rosettaControlMetadata, variableMetadata); }
/** * Override Object.hashCode() to implement equals. */
Override Object.hashCode() to implement equals
hashCode
{ "repo_name": "Unidata/rosetta", "path": "src/main/java/edu/ucar/unidata/rosetta/domain/VariableInfo.java", "license": "bsd-3-clause", "size": 5857 }
[ "java.util.Objects" ]
import java.util.Objects;
import java.util.*;
[ "java.util" ]
java.util;
1,709,633
@Test public void testEqualityIPv6() { new EqualsTester() .addEqualityGroup( IpAddress.valueOf("1111:2222:3333:4444:5555:6666:7777:8888"), IpAddress.valueOf("1111:2222:3333:4444:5555:6666:7777:8888")) .addEqualityGroup( IpAddress.va...
void function() { new EqualsTester() .addEqualityGroup( IpAddress.valueOf(STR), IpAddress.valueOf(STR)) .addEqualityGroup( IpAddress.valueOf(STR), IpAddress.valueOf(STR)) .addEqualityGroup( IpAddress.valueOf("::"), IpAddress.valueOf("::")) .addEqualityGroup( IpAddress.valueOf(STR), IpAddress.valueOf(STR)) .testEquals()...
/** * Tests equality of {@link IpAddress} for IPv6. */
Tests equality of <code>IpAddress</code> for IPv6
testEqualityIPv6
{ "repo_name": "kuangrewawa/OnosFw", "path": "utils/misc/src/test/java/org/onlab/packet/IpAddressTest.java", "license": "apache-2.0", "size": 32395 }
[ "com.google.common.testing.EqualsTester" ]
import com.google.common.testing.EqualsTester;
import com.google.common.testing.*;
[ "com.google.common" ]
com.google.common;
2,413,466
public static <T> Bound<T> withCoder(Coder<T> coder) { return new Bound<>(coder); }
static <T> Bound<T> function(Coder<T> coder) { return new Bound<>(coder); }
/** * Returns a transform for reading text files that uses the given * {@code Coder<T>} to decode each of the lines of the file into a * value of type {@code T}. * * <p>By default, uses {@link StringUtf8Coder}, which just * returns the text lines as Java strings. * * @param <T> t...
Returns a transform for reading text files that uses the given Coder to decode each of the lines of the file into a value of type T. By default, uses <code>StringUtf8Coder</code>, which just returns the text lines as Java strings
withCoder
{ "repo_name": "josauder/AOP_incubator_beam", "path": "sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java", "license": "apache-2.0", "size": 46212 }
[ "org.apache.beam.sdk.coders.Coder" ]
import org.apache.beam.sdk.coders.Coder;
import org.apache.beam.sdk.coders.*;
[ "org.apache.beam" ]
org.apache.beam;
1,596,322
public ApplicationGatewayInner withIdentity(ManagedServiceIdentity identity) { this.identity = identity; return this; }
ApplicationGatewayInner function(ManagedServiceIdentity identity) { this.identity = identity; return this; }
/** * Set the identity of the application gateway, if configured. * * @param identity the identity value to set * @return the ApplicationGatewayInner object itself. */
Set the identity of the application gateway, if configured
withIdentity
{ "repo_name": "selvasingh/azure-sdk-for-java", "path": "sdk/network/mgmt-v2020_06_01/src/main/java/com/microsoft/azure/management/network/v2020_06_01/implementation/ApplicationGatewayInner.java", "license": "mit", "size": 36336 }
[ "com.microsoft.azure.management.network.v2020_06_01.ManagedServiceIdentity" ]
import com.microsoft.azure.management.network.v2020_06_01.ManagedServiceIdentity;
import com.microsoft.azure.management.network.v2020_06_01.*;
[ "com.microsoft.azure" ]
com.microsoft.azure;
1,662,851
public static void addMessage(String message) { if (LOGGER.isDebugEnabled()) { List<String> messages = RMMethodSecurityInterceptor.MESSAGES.get(); messages.add(message); } }
static void function(String message) { if (LOGGER.isDebugEnabled()) { List<String> messages = RMMethodSecurityInterceptor.MESSAGES.get(); messages.add(message); } }
/** * Add a message to be displayed in the error report. * * @param message error message */
Add a message to be displayed in the error report
addMessage
{ "repo_name": "dnacreative/records-management", "path": "rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/security/RMMethodSecurityInterceptor.java", "license": "lgpl-3.0", "size": 11139 }
[ "java.util.List" ]
import java.util.List;
import java.util.*;
[ "java.util" ]
java.util;
266,438
private boolean notifyPersistentConnectionListener( HttpMessage httpMessage, Socket inSocket, ZapGetMethod method) { boolean keepSocketOpen = false; PersistentConnectionListener listener = null; synchronized (persistentConnectionListener) { for (int i = 0; i < persist...
boolean function( HttpMessage httpMessage, Socket inSocket, ZapGetMethod method) { boolean keepSocketOpen = false; PersistentConnectionListener listener = null; synchronized (persistentConnectionListener) { for (int i = 0; i < persistentConnectionListener.size(); i++) { listener = persistentConnectionListener.get(i); t...
/** * Go thru each listener and offer him to take over the connection. The first observer that * returns true gets exclusive rights. * * @param httpMessage Contains HTTP request & response. * @param inSocket Encapsulates the TCP connection to the browser. * @param method Provides more powe...
Go thru each listener and offer him to take over the connection. The first observer that returns true gets exclusive rights
notifyPersistentConnectionListener
{ "repo_name": "thc202/zap-extensions", "path": "addOns/requester/src/main/java/org/zaproxy/zap/extension/requester/HttpPanelSender.java", "license": "apache-2.0", "size": 15156 }
[ "java.net.Socket", "org.parosproxy.paros.network.HttpMessage", "org.zaproxy.zap.PersistentConnectionListener", "org.zaproxy.zap.ZapGetMethod" ]
import java.net.Socket; import org.parosproxy.paros.network.HttpMessage; import org.zaproxy.zap.PersistentConnectionListener; import org.zaproxy.zap.ZapGetMethod;
import java.net.*; import org.parosproxy.paros.network.*; import org.zaproxy.zap.*;
[ "java.net", "org.parosproxy.paros", "org.zaproxy.zap" ]
java.net; org.parosproxy.paros; org.zaproxy.zap;
1,244,433
public CallHandle analyseShapes(PixelsData pixels, List channels, List shapes, AgentEventListener observer);
CallHandle function(PixelsData pixels, List channels, List shapes, AgentEventListener observer);
/** * Retrieves the dimensions in microns of the pixels set. * * @param pixels The pixels set to analyze. * @param channels Collection of active channels. * Mustn't be <code>null</code>. * @param shapes Collection of shapes to analyze. * Mustn't be <code>null</code>. ...
Retrieves the dimensions in microns of the pixels set
analyseShapes
{ "repo_name": "joshmoore/openmicroscopy", "path": "components/insight/SRC/org/openmicroscopy/shoola/env/data/views/ImageDataView.java", "license": "gpl-2.0", "size": 15233 }
[ "java.util.List", "org.openmicroscopy.shoola.env.event.AgentEventListener" ]
import java.util.List; import org.openmicroscopy.shoola.env.event.AgentEventListener;
import java.util.*; import org.openmicroscopy.shoola.env.event.*;
[ "java.util", "org.openmicroscopy.shoola" ]
java.util; org.openmicroscopy.shoola;
1,931,017
public static void requestHideKeyboard(Context context, View v) { InputMethodManager imm = ((InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE)); imm.hideSoftInputFromWindow(v.getWindowToken(), 0); }
static void function(Context context, View v) { InputMethodManager imm = ((InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE)); imm.hideSoftInputFromWindow(v.getWindowToken(), 0); }
/** * Hides the SoftKeyboard input careful as if you pass a view that didn't open the * soft-keyboard it will ignore this call and not close * * @param context the context / usually the activity that the view is being shown within * @param v the view that opened the soft-keyboard */
Hides the SoftKeyboard input careful as if you pass a view that didn't open the soft-keyboard it will ignore this call and not close
requestHideKeyboard
{ "repo_name": "inigo0178/notils", "path": "src/main/java/com/novoda/notils/meta/AndroidUtils.java", "license": "apache-2.0", "size": 3597 }
[ "android.content.Context", "android.view.View", "android.view.inputmethod.InputMethodManager" ]
import android.content.Context; import android.view.View; import android.view.inputmethod.InputMethodManager;
import android.content.*; import android.view.*; import android.view.inputmethod.*;
[ "android.content", "android.view" ]
android.content; android.view;
2,324,298
@SkylarkCallable(name = "java_executable", structField = true, doc = "The java executable, i.e. bin/java relative to the Java home.") public PathFragment getJavaExecutable() { return getJavaHome().getRelative("bin/java"); }
@SkylarkCallable(name = STR, structField = true, doc = STR) PathFragment function() { return getJavaHome().getRelative(STR); }
/** * Returns the path to the java binary. */
Returns the path to the java binary
getJavaExecutable
{ "repo_name": "rhuss/bazel", "path": "src/main/java/com/google/devtools/build/lib/rules/java/Jvm.java", "license": "apache-2.0", "size": 3881 }
[ "com.google.devtools.build.lib.syntax.SkylarkCallable", "com.google.devtools.build.lib.vfs.PathFragment" ]
import com.google.devtools.build.lib.syntax.SkylarkCallable; import com.google.devtools.build.lib.vfs.PathFragment;
import com.google.devtools.build.lib.syntax.*; import com.google.devtools.build.lib.vfs.*;
[ "com.google.devtools" ]
com.google.devtools;
1,213,290
@CanDistro @PostMapping @Secured(action = ActionTypes.WRITE) public String register(HttpServletRequest request) throws Exception { final String namespaceId = WebUtils .optional(request, CommonParams.NAMESPACE_ID, Constants.DEFAULT_NAMESPACE_ID); final String serv...
@Secured(action = ActionTypes.WRITE) String function(HttpServletRequest request) throws Exception { final String namespaceId = WebUtils .optional(request, CommonParams.NAMESPACE_ID, Constants.DEFAULT_NAMESPACE_ID); final String serviceName = WebUtils.required(request, CommonParams.SERVICE_NAME); NamingUtils.checkServic...
/** * Register new instance. * * @param request http request * @return 'ok' if success * @throws Exception any error during register */
Register new instance
register
{ "repo_name": "alibaba/nacos", "path": "naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java", "license": "apache-2.0", "size": 20247 }
[ "com.alibaba.nacos.api.common.Constants", "com.alibaba.nacos.api.naming.CommonParams", "com.alibaba.nacos.api.naming.pojo.Instance", "com.alibaba.nacos.api.naming.utils.NamingUtils", "com.alibaba.nacos.auth.annotation.Secured", "com.alibaba.nacos.core.utils.WebUtils", "com.alibaba.nacos.naming.pojo.inst...
import com.alibaba.nacos.api.common.Constants; import com.alibaba.nacos.api.naming.CommonParams; import com.alibaba.nacos.api.naming.pojo.Instance; import com.alibaba.nacos.api.naming.utils.NamingUtils; import com.alibaba.nacos.auth.annotation.Secured; import com.alibaba.nacos.core.utils.WebUtils; import com.alibaba.na...
import com.alibaba.nacos.api.common.*; import com.alibaba.nacos.api.naming.*; import com.alibaba.nacos.api.naming.pojo.*; import com.alibaba.nacos.api.naming.utils.*; import com.alibaba.nacos.auth.annotation.*; import com.alibaba.nacos.core.utils.*; import com.alibaba.nacos.naming.pojo.instance.*; import com.alibaba.na...
[ "com.alibaba.nacos", "javax.servlet" ]
com.alibaba.nacos; javax.servlet;
2,292,668
public void selectOptionFromDropdownByValue(final By by, final String value) { Select select = new Select(driver.findElement(by)); select.selectByValue(value); }
void function(final By by, final String value) { Select select = new Select(driver.findElement(by)); select.selectByValue(value); }
/** * Select a value from a drop down list based on the actual value, NOT * DISPLAYED TEXT. * * @param by * the method of identifying the drop-down * @param value * the value to select */
Select a value from a drop down list based on the actual value, NOT DISPLAYED TEXT
selectOptionFromDropdownByValue
{ "repo_name": "ludovicianul/selenium-on-steroids", "path": "src/main/java/com/insidecoding/sos/webdriver/WebDriverHelper.java", "license": "apache-2.0", "size": 38225 }
[ "org.openqa.selenium.By", "org.openqa.selenium.support.ui.Select" ]
import org.openqa.selenium.By; import org.openqa.selenium.support.ui.Select;
import org.openqa.selenium.*; import org.openqa.selenium.support.ui.*;
[ "org.openqa.selenium" ]
org.openqa.selenium;
2,238,780
@ApiMethod(name = "createOffer", path = "offer", httpMethod = HttpMethod.POST) public Offer createOffer(final User user, final OfferForm offerForm) throws UnauthorizedException { if (user == null) { throw new UnauthorizedException("Authorization required"); } if (offerForm == null) { throw new Illeg...
@ApiMethod(name = STR, path = "offer", httpMethod = HttpMethod.POST) Offer function(final User user, final OfferForm offerForm) throws UnauthorizedException { if (user == null) { throw new UnauthorizedException(STR); } if (offerForm == null) { throw new IllegalArgumentException(STR); } if (offerForm.getWebsafeProviderK...
/** * Creates a new Offer object and stores it to the datastore. * * @param user * A user who invokes this method, null when the user is not * signed in. * @param offerForm * A OfferForm object representing user's inputs. * @return A newly created Offer Object. * @thro...
Creates a new Offer object and stores it to the datastore
createOffer
{ "repo_name": "gitkarthik/homefood", "path": "src/main/java/com/google/devrel/training/conference/spi/HomeFoodApi.java", "license": "apache-2.0", "size": 23408 }
[ "com.google.api.server.spi.config.ApiMethod", "com.google.api.server.spi.response.UnauthorizedException", "com.google.appengine.api.users.User", "com.google.devrel.training.conference.domain.Offer", "com.google.devrel.training.conference.domain.Provider", "com.google.devrel.training.conference.form.OfferF...
import com.google.api.server.spi.config.ApiMethod; import com.google.api.server.spi.response.UnauthorizedException; import com.google.appengine.api.users.User; import com.google.devrel.training.conference.domain.Offer; import com.google.devrel.training.conference.domain.Provider; import com.google.devrel.training.confe...
import com.google.api.server.spi.config.*; import com.google.api.server.spi.response.*; import com.google.appengine.api.users.*; import com.google.devrel.training.conference.domain.*; import com.google.devrel.training.conference.form.*; import com.google.devrel.training.conference.service.*; import com.googlecode.objec...
[ "com.google.api", "com.google.appengine", "com.google.devrel", "com.googlecode.objectify" ]
com.google.api; com.google.appengine; com.google.devrel; com.googlecode.objectify;
1,470,834
@JsonProperty( "safe_checks" ) public String getSafeChecks() { return safeChecks; }
@JsonProperty( STR ) String function() { return safeChecks; }
/** * Gets safe checks. * * @return the safe checks */
Gets safe checks
getSafeChecks
{ "repo_name": "tenable/Tenable.io-SDK-for-Java", "path": "src/main/java/com/tenable/io/api/policies/models/PolicySettings.java", "license": "mit", "size": 90382 }
[ "com.fasterxml.jackson.annotation.JsonProperty" ]
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.*;
[ "com.fasterxml.jackson" ]
com.fasterxml.jackson;
1,164,898
public void writePacketData(PacketBuffer buf) throws IOException { buf.writeString(this.hashedServerId); buf.writeByteArray(this.publicKey.getEncoded()); buf.writeByteArray(this.verifyToken); }
void function(PacketBuffer buf) throws IOException { buf.writeString(this.hashedServerId); buf.writeByteArray(this.publicKey.getEncoded()); buf.writeByteArray(this.verifyToken); }
/** * Writes the raw packet data to the data stream. */
Writes the raw packet data to the data stream
writePacketData
{ "repo_name": "tomtomtom09/CampCraft", "path": "build/tmp/recompileMc/sources/net/minecraft/network/login/server/S01PacketEncryptionRequest.java", "license": "gpl-3.0", "size": 1995 }
[ "java.io.IOException", "net.minecraft.network.PacketBuffer" ]
import java.io.IOException; import net.minecraft.network.PacketBuffer;
import java.io.*; import net.minecraft.network.*;
[ "java.io", "net.minecraft.network" ]
java.io; net.minecraft.network;
586,515
protected void catching(final String fqcn, final Level level, final Throwable t) { if (isEnabled(level, CATCHING_MARKER, (Object) null, null)) { logMessage(fqcn, level, CATCHING_MARKER, catchingMsg(t), t); } }
void function(final String fqcn, final Level level, final Throwable t) { if (isEnabled(level, CATCHING_MARKER, (Object) null, null)) { logMessage(fqcn, level, CATCHING_MARKER, catchingMsg(t), t); } }
/** * Logs a Throwable that has been caught with location information. * * @param fqcn The fully qualified class name of the <b>caller</b>. * @param level The logging level. * @param t The Throwable. */
Logs a Throwable that has been caught with location information
catching
{ "repo_name": "ChetnaChaudhari/logging-log4j2", "path": "log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java", "license": "apache-2.0", "size": 44165 }
[ "org.apache.logging.log4j.Level" ]
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.*;
[ "org.apache.logging" ]
org.apache.logging;
625,430
private int getMigrationProgress(File storeConfig) { Ini ini; try { ini = new Ini(storeConfig); return ini.get("splitter", "migrationprogress", Integer.class); } catch (IOException ex) { return 0; } catch (NullPointerException e) { retu...
int function(File storeConfig) { Ini ini; try { ini = new Ini(storeConfig); return ini.get(STR, STR, Integer.class); } catch (IOException ex) { return 0; } catch (NullPointerException e) { return 0; } }
/** * Get the migration progress in percent * @return value between 0 and 100 */
Get the migration progress in percent
getMigrationProgress
{ "repo_name": "joe42/nubisave", "path": "gui/Nubisave/src/nubisave/ui/MigrationDialog.java", "license": "gpl-3.0", "size": 12612 }
[ "java.io.File", "java.io.IOException", "org.ini4j.Ini" ]
import java.io.File; import java.io.IOException; import org.ini4j.Ini;
import java.io.*; import org.ini4j.*;
[ "java.io", "org.ini4j" ]
java.io; org.ini4j;
1,757,301
public static Soundbank getSoundbank(File file) throws InvalidMidiDataException, IOException { SoundbankReader sp = null; Soundbank s = null; List providers = getSoundbankReaders(); for(int i = 0; i < providers.size(); i++) { sp = (SoundbankReader)providers.get...
static Soundbank function(File file) throws InvalidMidiDataException, IOException { SoundbankReader sp = null; Soundbank s = null; List providers = getSoundbankReaders(); for(int i = 0; i < providers.size(); i++) { sp = (SoundbankReader)providers.get(i); s = sp.getSoundbank(file); if( s!= null) { return s; } } throw ne...
/** * Constructs a <code>Soundbank</code> by reading it from the specified * <code>File</code>. * The <code>File</code> must point to a valid MIDI soundbank file. * * @param file the source of the sound bank data * @return the sound bank * @throws InvalidMidiDataException if the <code...
Constructs a <code>Soundbank</code> by reading it from the specified <code>File</code>. The <code>File</code> must point to a valid MIDI soundbank file
getSoundbank
{ "repo_name": "andreagenso/java2scala", "path": "test/J2s/java/openjdk-6-src-b27/jdk/src/share/classes/javax/sound/midi/MidiSystem.java", "license": "apache-2.0", "size": 58684 }
[ "java.io.File", "java.io.IOException", "java.util.List", "javax.sound.midi.spi.SoundbankReader" ]
import java.io.File; import java.io.IOException; import java.util.List; import javax.sound.midi.spi.SoundbankReader;
import java.io.*; import java.util.*; import javax.sound.midi.spi.*;
[ "java.io", "java.util", "javax.sound" ]
java.io; java.util; javax.sound;
1,314,807
protected void done(final String namespace, final UUID uuid) { final long elapsedNanos = System.nanoTime() - beginNanos; sharedTestState.activeTasks.remove(this, namespace); // Remove from collection of cancellable Futures. sharedTestState.futures.remove(uuid);...
void function(final String namespace, final UUID uuid) { final long elapsedNanos = System.nanoTime() - beginNanos; sharedTestState.activeTasks.remove(this, namespace); sharedTestState.futures.remove(uuid); if (log.isInfoEnabled()) log.info("Done" + sharedTestState.nacting.decrementAndGet() + STR + namespace + STR + toS...
/** * Log end client API operation. * * @param namespace * The namespace. */
Log end client API operation
done
{ "repo_name": "rac021/blazegraph_1_5_3_cluster_2_nodes", "path": "bigdata-sails/src/test/com/bigdata/rdf/sail/webapp/StressTestConcurrentRestApiRequests.java", "license": "gpl-2.0", "size": 69663 }
[ "java.util.concurrent.TimeUnit" ]
import java.util.concurrent.TimeUnit;
import java.util.concurrent.*;
[ "java.util" ]
java.util;
201,738
private void attach() { Skype.setDaemon(false); try { Skype.addApplication("Scyus"); Skype.addChatMessageListener(commandManager); logger.info("Attached successfully to Skype."); attached = true; } catch (SkypeException e) { e.printStackTrace(); } }
void function() { Skype.setDaemon(false); try { Skype.addApplication("Scyus"); Skype.addChatMessageListener(commandManager); logger.info(STR); attached = true; } catch (SkypeException e) { e.printStackTrace(); } }
/** * Attaches the Bot to Skype */
Attaches the Bot to Skype
attach
{ "repo_name": "HybridHacker/Scyus-Bot", "path": "src/net/hybridhacker/scyus/Scyus.java", "license": "gpl-3.0", "size": 6625 }
[ "com.skype.Skype", "com.skype.SkypeException" ]
import com.skype.Skype; import com.skype.SkypeException;
import com.skype.*;
[ "com.skype" ]
com.skype;
1,567,048
protected Totals extractRegularPaymentsForChart(String campusCode, Person puser, Date processRunDate, Batch batch) { LOG.debug("START - extractRegularPaymentsForChart()"); Totals totals = new Totals(); java.sql.Date onOrBeforePaymentRequestPayDate = KfsDateUtils.convertToSqlDate(purapRunDa...
Totals function(String campusCode, Person puser, Date processRunDate, Batch batch) { LOG.debug(STR); Totals totals = new Totals(); java.sql.Date onOrBeforePaymentRequestPayDate = KfsDateUtils.convertToSqlDate(purapRunDateService.calculateRunDate(processRunDate)); List<String> preqsWithOutstandingCreditMemos = new Array...
/** * Get all the payments that could be combined with credit memos * * @param campusCode * @param puser * @param processRunDate * @param batch * @return Totals */
Get all the payments that could be combined with credit memos
extractRegularPaymentsForChart
{ "repo_name": "ua-eas/kfs", "path": "kfs-purap/src/main/java/org/kuali/kfs/module/purap/service/impl/PdpExtractServiceImpl.java", "license": "agpl-3.0", "size": 54309 }
[ "java.util.ArrayList", "java.util.Collection", "java.util.Date", "java.util.HashMap", "java.util.Iterator", "java.util.List", "java.util.Map", "java.util.Set", "org.kuali.kfs.module.purap.document.PaymentRequestDocument", "org.kuali.kfs.module.purap.document.VendorCreditMemoDocument", "org.kuali...
import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import org.kuali.kfs.module.purap.document.PaymentRequestDocument; import org.kuali.kfs.module.purap.document.VendorCred...
import java.util.*; import org.kuali.kfs.module.purap.document.*; import org.kuali.kfs.module.purap.util.*; import org.kuali.kfs.pdp.businessobject.*; import org.kuali.kfs.sys.util.*; import org.kuali.rice.kim.api.identity.*;
[ "java.util", "org.kuali.kfs", "org.kuali.rice" ]
java.util; org.kuali.kfs; org.kuali.rice;
564,017
public void showOptionsFor(final CriterionInstance item, final Runnable onComplete) { AlertDialog.Builder dialog = dialogBuilder.newDialog() .setTitle(item.criterion.name);
void function(final CriterionInstance item, final Runnable onComplete) { AlertDialog.Builder dialog = dialogBuilder.newDialog() .setTitle(item.criterion.name);
/** * Show options menu for the given criterioninstance */
Show options menu for the given criterioninstance
showOptionsFor
{ "repo_name": "tkpb/tasks", "path": "src/main/java/com/todoroo/astrid/core/CustomFilterAdapter.java", "license": "gpl-3.0", "size": 8137 }
[ "android.support.v7.app.AlertDialog", "com.todoroo.astrid.core.CustomFilterActivity" ]
import android.support.v7.app.AlertDialog; import com.todoroo.astrid.core.CustomFilterActivity;
import android.support.v7.app.*; import com.todoroo.astrid.core.*;
[ "android.support", "com.todoroo.astrid" ]
android.support; com.todoroo.astrid;
115,995
public Observable<ServiceResponse<RouteTableInner>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String routeTableName, RouteTableInner parameters) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be nul...
Observable<ServiceResponse<RouteTableInner>> function(String resourceGroupName, String routeTableName, RouteTableInner parameters) { if (resourceGroupName == null) { throw new IllegalArgumentException(STR); } if (routeTableName == null) { throw new IllegalArgumentException(STR); } if (this.client.subscriptionId() == nu...
/** * Create or updates a route table in a specified resource group. * * @param resourceGroupName The name of the resource group. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArg...
Create or updates a route table in a specified resource group
createOrUpdateWithServiceResponseAsync
{ "repo_name": "selvasingh/azure-sdk-for-java", "path": "sdk/network/mgmt-v2019_09_01/src/main/java/com/microsoft/azure/management/network/v2019_09_01/implementation/RouteTablesInner.java", "license": "mit", "size": 67373 }
[ "com.google.common.reflect.TypeToken", "com.microsoft.rest.ServiceResponse", "com.microsoft.rest.Validator" ]
import com.google.common.reflect.TypeToken; import com.microsoft.rest.ServiceResponse; import com.microsoft.rest.Validator;
import com.google.common.reflect.*; import com.microsoft.rest.*;
[ "com.google.common", "com.microsoft.rest" ]
com.google.common; com.microsoft.rest;
560,147
List<String> updateTableScript(UpgradeStatus fromStatus, UpgradeStatus toStatus);
List<String> updateTableScript(UpgradeStatus fromStatus, UpgradeStatus toStatus);
/** * Generate the script needed to update the transient * <code>{@value UpgradeStatusTableService#UPGRADE_STATUS}</code> table * for the required SQL platform. This may involve creating the * table, depending on {@code fromStatus} and {@code toStatus}. * * @param fromStatus the status that must...
Generate the script needed to update the transient <code>UpgradeStatusTableService#UPGRADE_STATUS</code> table for the required SQL platform. This may involve creating the table, depending on fromStatus and toStatus
updateTableScript
{ "repo_name": "badgerwithagun/morf", "path": "morf-core/src/main/java/org/alfasoftware/morf/upgrade/UpgradeStatusTableService.java", "license": "apache-2.0", "size": 4115 }
[ "java.util.List" ]
import java.util.List;
import java.util.*;
[ "java.util" ]
java.util;
42,962
@Override public void onConnected(Bundle connectionHint) { if (lastLocation == null) { // is executed only once // get location lastLocation = LocationServices.FusedLocationApi.getLastLocation( googleApiClient); if (lastLocation != null) { ...
void function(Bundle connectionHint) { if (lastLocation == null) { lastLocation = LocationServices.FusedLocationApi.getLastLocation( googleApiClient); if (lastLocation != null) { Geocoder geoCoder = new Geocoder(getBaseContext(), Locale.getDefault()); try { List<Address> addresses = geoCoder.getFromLocation(lastLocatio...
/** * GoogleAPIClient Methods */
GoogleAPIClient Methods
onConnected
{ "repo_name": "Zetona/Musicovery", "path": "app/src/main/java/com/peeradon/android/musicovery/MainActivity.java", "license": "mit", "size": 14496 }
[ "android.location.Address", "android.location.Geocoder", "android.os.Bundle", "android.util.Log", "android.widget.Toast", "com.google.android.gms.location.LocationServices", "java.io.IOException", "java.util.List", "java.util.Locale", "org.osmdroid.util.GeoPoint" ]
import android.location.Address; import android.location.Geocoder; import android.os.Bundle; import android.util.Log; import android.widget.Toast; import com.google.android.gms.location.LocationServices; import java.io.IOException; import java.util.List; import java.util.Locale; import org.osmdroid.util.GeoPoint;
import android.location.*; import android.os.*; import android.util.*; import android.widget.*; import com.google.android.gms.location.*; import java.io.*; import java.util.*; import org.osmdroid.util.*;
[ "android.location", "android.os", "android.util", "android.widget", "com.google.android", "java.io", "java.util", "org.osmdroid.util" ]
android.location; android.os; android.util; android.widget; com.google.android; java.io; java.util; org.osmdroid.util;
1,310,528
public static <A,B,C> Function<A,C> compose(Function<A,? extends B> inner, Function<B,C> outer) { final Function<B,C> funcG = Objects.notNull(outer); final Function<A,? extends B> funcF = Objects.notNull(inner); return a -> funcG.apply(funcF.apply(a)); }
static <A,B,C> Function<A,C> function(Function<A,? extends B> inner, Function<B,C> outer) { final Function<B,C> funcG = Objects.notNull(outer); final Function<A,? extends B> funcF = Objects.notNull(inner); return a -> funcG.apply(funcF.apply(a)); }
/** * Returns a composition {@code outer<sup>0</sup>inner : A->C} of two functions, {@code * inner: A->B} and {@code outer: B->C}. Composition is defined as a function h such that * h(x) = outer(inner(x)) for each x. * * @see <a href="//en.wikipedia.org/wiki/Function_composition">function compositio...
Returns a composition outer0inner : A->C of two functions, inner: A->B and outer: B->C. Composition is defined as a function h such that h(x) = outer(inner(x)) for each x
compose
{ "repo_name": "cfloersch/Stdlib", "path": "src/main/java/xpertss/function/Functions.java", "license": "gpl-2.0", "size": 8696 }
[ "java.util.function.Function" ]
import java.util.function.Function;
import java.util.function.*;
[ "java.util" ]
java.util;
217,948
public void rerouteInactiveAffectedFlows(MessageSender sender, String correlationId, SwitchId switchId) { Set<Flow> flowsForRerouting = getAffectedInactiveFlowsForRerouting(switchId); for (Flow flow : flowsForRerouting) { if (flow.isPinned())...
void function(MessageSender sender, String correlationId, SwitchId switchId) { Set<Flow> flowsForRerouting = getAffectedInactiveFlowsForRerouting(switchId); for (Flow flow : flowsForRerouting) { if (flow.isPinned()) { log.info(STR, flow.getFlowId()); } else { log.info(STR, flow.getFlowId(), switchId); FlowThrottlingDat...
/** * Handles reroute on switch up events. * * @param sender transport sender * @param correlationId correlation id to pass through * @param switchId switch id */
Handles reroute on switch up events
rerouteInactiveAffectedFlows
{ "repo_name": "jonvestal/open-kilda", "path": "src-java/reroute-topology/reroute-storm-topology/src/main/java/org/openkilda/wfm/topology/reroute/service/RerouteService.java", "license": "apache-2.0", "size": 19289 }
[ "java.util.Collections", "java.util.Set", "org.openkilda.model.Flow", "org.openkilda.model.SwitchId", "org.openkilda.wfm.topology.reroute.bolts.MessageSender", "org.openkilda.wfm.topology.reroute.model.FlowThrottlingData" ]
import java.util.Collections; import java.util.Set; import org.openkilda.model.Flow; import org.openkilda.model.SwitchId; import org.openkilda.wfm.topology.reroute.bolts.MessageSender; import org.openkilda.wfm.topology.reroute.model.FlowThrottlingData;
import java.util.*; import org.openkilda.model.*; import org.openkilda.wfm.topology.reroute.bolts.*; import org.openkilda.wfm.topology.reroute.model.*;
[ "java.util", "org.openkilda.model", "org.openkilda.wfm" ]
java.util; org.openkilda.model; org.openkilda.wfm;
69,841
public void calculateFontSizes() { if (!ratiosInitialized) this.updateRatios(); //Clear old fonts this.cloudWords = new ArrayList<CloudWordInfo>(); if (displayStyle.equals(CloudDisplayStyles.NO_CLUSTERING)) { Set<String> words = ratios.keySet(); Iterator<String> iter = words.iter...
void function() { if (!ratiosInitialized) this.updateRatios(); this.cloudWords = new ArrayList<CloudWordInfo>(); if (displayStyle.equals(CloudDisplayStyles.NO_CLUSTERING)) { Set<String> words = ratios.keySet(); Iterator<String> iter = words.iterator(); while(iter.hasNext()) { String curWord = (String)iter.next(); Integ...
/** * Creates a cloud clustering object and clusters based on the parameter * in this CloudParameters. * @throws */
Creates a cloud clustering object and clusters based on the parameter in this CloudParameters
calculateFontSizes
{ "repo_name": "nrnb/gsoc2010layla", "path": "src/cytoscape/csplugins/wordcloud/CloudParameters.java", "license": "lgpl-2.1", "size": 40667 }
[ "java.util.ArrayList", "java.util.Collections", "java.util.Iterator", "java.util.Set" ]
import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.Set;
import java.util.*;
[ "java.util" ]
java.util;
2,622,792
public ValueWithPos<PhoneNumberData> parsePhoneNumber(final ValueWithPos<String> pphoneNumber, final String pcountryCode) { return this.parsePhoneNumber(pphoneNumber, pcountryCode, Locale.ROOT); }
ValueWithPos<PhoneNumberData> function(final ValueWithPos<String> pphoneNumber, final String pcountryCode) { return this.parsePhoneNumber(pphoneNumber, pcountryCode, Locale.ROOT); }
/** * parse phone number. * * @param pphoneNumber phone number as string * @param pcountryCode iso code of country * @return PhoneNumberData */
parse phone number
parsePhoneNumber
{ "repo_name": "ManfredTremmel/gwt-bean-validators", "path": "mt-bean-validators/src/main/java/de/knightsoftnet/validators/shared/util/PhoneNumberUtil.java", "license": "apache-2.0", "size": 76134 }
[ "de.knightsoftnet.validators.shared.data.PhoneNumberData", "de.knightsoftnet.validators.shared.data.ValueWithPos", "java.util.Locale" ]
import de.knightsoftnet.validators.shared.data.PhoneNumberData; import de.knightsoftnet.validators.shared.data.ValueWithPos; import java.util.Locale;
import de.knightsoftnet.validators.shared.data.*; import java.util.*;
[ "de.knightsoftnet.validators", "java.util" ]
de.knightsoftnet.validators; java.util;
2,414,465
@Api public GraphicsContext getVectorContext() { return graphics.getVectorContext(); }
GraphicsContext function() { return graphics.getVectorContext(); }
/** * Get the drawing context for rendering in general. If you are not using the render method, this would be an * alternative - for advanced users only. * * @return vector context * @since 1.6.0 */
Get the drawing context for rendering in general. If you are not using the render method, this would be an alternative - for advanced users only
getVectorContext
{ "repo_name": "geomajas/geomajas-project-client-gwt", "path": "client/src/main/java/org/geomajas/gwt/client/widget/MapWidget.java", "license": "agpl-3.0", "size": 47664 }
[ "org.geomajas.gwt.client.gfx.GraphicsContext" ]
import org.geomajas.gwt.client.gfx.GraphicsContext;
import org.geomajas.gwt.client.gfx.*;
[ "org.geomajas.gwt" ]
org.geomajas.gwt;
1,209,438
public static <Value, Context> ObjectParser<Value, Context> fromBuilder(String name, Function<Context, Value> valueBuilder) { requireNonNull(valueBuilder, "Use the single argument ctor instead"); return new ObjectParser<Value, Context>(name, errorOnUnknown(), valueBuilder); } public Ob...
static <Value, Context> ObjectParser<Value, Context> function(String name, Function<Context, Value> valueBuilder) { requireNonNull(valueBuilder, STR); return new ObjectParser<Value, Context>(name, errorOnUnknown(), valueBuilder); } public ObjectParser(String name, boolean ignoreUnknownFields, @Nullable Supplier<Value> ...
/** * Creates a new ObjectParser. * @param name the parsers name, used to reference the parser in exceptions and messages. * @param valueBuilder A function that creates a new Value from the parse Context. Used * when the parser is used as an inner object parser. */
Creates a new ObjectParser
fromBuilder
{ "repo_name": "GlenRSmith/elasticsearch", "path": "libs/x-content/src/main/java/org/elasticsearch/xcontent/ObjectParser.java", "license": "apache-2.0", "size": 35948 }
[ "java.util.Objects", "java.util.function.Function", "java.util.function.Supplier", "org.elasticsearch.core.Nullable" ]
import java.util.Objects; import java.util.function.Function; import java.util.function.Supplier; import org.elasticsearch.core.Nullable;
import java.util.*; import java.util.function.*; import org.elasticsearch.core.*;
[ "java.util", "org.elasticsearch.core" ]
java.util; org.elasticsearch.core;
1,287,801
@Override public String sayHelloToNames(final List<String> names) { return helloWorldService.sayHelloToNames(names); }
String function(final List<String> names) { return helloWorldService.sayHelloToNames(names); }
/** * Gets the Web Service to say hello to a group of people */
Gets the Web Service to say hello to a group of people
sayHelloToNames
{ "repo_name": "wfink/jboss-as-quickstart", "path": "helloworld-ws/src/test/java/org/jboss/as/quickstarts/wshelloworld/Client.java", "license": "apache-2.0", "size": 2575 }
[ "java.util.List" ]
import java.util.List;
import java.util.*;
[ "java.util" ]
java.util;
1,492,118
@javax.annotation.Nullable @ApiModelProperty(value = "") public V2beta1ExternalMetricStatus getExternal() { return external; }
@javax.annotation.Nullable @ApiModelProperty(value = "") V2beta1ExternalMetricStatus function() { return external; }
/** * Get external * * @return external */
Get external
getExternal
{ "repo_name": "kubernetes-client/java", "path": "kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1MetricStatus.java", "license": "apache-2.0", "size": 6988 }
[ "io.swagger.annotations.ApiModelProperty" ]
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.*;
[ "io.swagger.annotations" ]
io.swagger.annotations;
1,966,015
@RequestMapping("/doMinOccurViewFilterStyle.do") public void doMinOccurViewFilterStyle( HttpServletResponse response, @RequestParam(value = "commodityName", required = false) String commodityName, @RequestParam(required = false, value = "size") String size, @...
@RequestMapping(STR) void function( HttpServletResponse response, @RequestParam(value = STR, required = false) String commodityName, @RequestParam(required = false, value = "size") String size, @RequestParam(required = false, value = STR) String minOreAmount, @RequestParam(required = false, value = STR) String minReser...
/** * Handles counting the results of a Earth Resource MineralOccerrence SF0 view style request query. * * @param commodityName * @param bbox * @param maxFeatures * * @throws Exception */
Handles counting the results of a Earth Resource MineralOccerrence SF0 view style request query
doMinOccurViewFilterStyle
{ "repo_name": "GeoscienceAustralia/geoscience-portal-laurie", "path": "src/main/java/org/auscope/portal/server/web/controllers/EarthResourcesFilterController.java", "license": "lgpl-3.0", "size": 25535 }
[ "java.io.ByteArrayInputStream", "java.io.OutputStream", "javax.servlet.http.HttpServletResponse", "org.auscope.portal.core.services.methodmakers.filter.FilterBoundingBox", "org.auscope.portal.core.util.FileIOUtil", "org.springframework.web.bind.annotation.RequestMapping", "org.springframework.web.bind.a...
import java.io.ByteArrayInputStream; import java.io.OutputStream; import javax.servlet.http.HttpServletResponse; import org.auscope.portal.core.services.methodmakers.filter.FilterBoundingBox; import org.auscope.portal.core.util.FileIOUtil; import org.springframework.web.bind.annotation.RequestMapping; import org.spring...
import java.io.*; import javax.servlet.http.*; import org.auscope.portal.core.services.methodmakers.filter.*; import org.auscope.portal.core.util.*; import org.springframework.web.bind.annotation.*;
[ "java.io", "javax.servlet", "org.auscope.portal", "org.springframework.web" ]
java.io; javax.servlet; org.auscope.portal; org.springframework.web;
1,744,129
protected InputStream getStreamFromContent(URI imageUri, Object extra) throws FileNotFoundException { ContentResolver res = context.getContentResolver(); Uri uri = Uri.parse(imageUri.toString()); return res.openInputStream(uri); }
InputStream function(URI imageUri, Object extra) throws FileNotFoundException { ContentResolver res = context.getContentResolver(); Uri uri = Uri.parse(imageUri.toString()); return res.openInputStream(uri); }
/** * Retrieves {@link InputStream} of image by URI (image is accessed using {@link ContentResolver}). * * @param imageUri Image URI * @param extra Auxiliary object which was passed to {@link DisplayImageOptions.Builder#extraForDownloader(Object) * DisplayImageOptions.extraForDownloader(Object)}; ...
Retrieves <code>InputStream</code> of image by URI (image is accessed using <code>ContentResolver</code>)
getStreamFromContent
{ "repo_name": "jixieshi999/juahya", "path": "JuahyaLibrary/src/com/nostra13/universalimageloader/core/download/BaseImageDownloader.java", "license": "apache-2.0", "size": 9178 }
[ "android.content.ContentResolver", "android.net.Uri", "java.io.FileNotFoundException", "java.io.InputStream" ]
import android.content.ContentResolver; import android.net.Uri; import java.io.FileNotFoundException; import java.io.InputStream;
import android.content.*; import android.net.*; import java.io.*;
[ "android.content", "android.net", "java.io" ]
android.content; android.net; java.io;
2,646,386
public ActionForward committeeSchedule(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { // if 'submit' in async and with 'merging' delete. so, there is latency issue. it is needed to refresh the schedules, // if user goes to schedule/maintenance di...
ActionForward function(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { WorkflowDocument workflowDocument = ((CommitteeFormBase) form).getCommitteeDocument().getDocumentHeader().getWorkflowDocument(); if (workflowDocument.isEnroute() workflowDocument.isFinal()) { ((Com...
/** * Go to the committeeSchedule tab. * @param mapping * @param form * @param request * @param response * @return */
Go to the committeeSchedule tab
committeeSchedule
{ "repo_name": "sanjupolus/KC6.oLatest", "path": "coeus-impl/src/main/java/org/kuali/coeus/common/committee/impl/web/struts/action/CommitteeActionBase.java", "license": "agpl-3.0", "size": 15019 }
[ "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.coeus.common.committee.impl.web.struts.form.CommitteeFormBase", "org.kuali.rice.kew.api...
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 org.kuali.coeus.common.committee.impl.web.struts.form.CommitteeFormBase; import or...
import javax.servlet.http.*; import org.apache.struts.action.*; import org.kuali.coeus.common.committee.impl.web.struts.form.*; import org.kuali.rice.kew.api.*;
[ "javax.servlet", "org.apache.struts", "org.kuali.coeus", "org.kuali.rice" ]
javax.servlet; org.apache.struts; org.kuali.coeus; org.kuali.rice;
1,819,388
public void setSyllabusDataStartDate(String date) { DecoratedSyllabusEntry entry = getEntry(); if (entry != null) { SyllabusData syllabusData = entry.getEntry(); if (syllabusData != null) { if(date == null || "".equals(date)){ syllabusData.setStartDate(null); }else{ Map<Str...
void function(String date) { DecoratedSyllabusEntry entry = getEntry(); if (entry != null) { SyllabusData syllabusData = entry.getEntry(); if (syllabusData != null) { if(date == null "".equals(date)){ syllabusData.setStartDate(null); }else{ Map<String, String> params = FacesContext.getCurrentInstance().getExternalConte...
/** * set the asset for saving * @param date */
set the asset for saving
setSyllabusDataStartDate
{ "repo_name": "OpenCollabZA/sakai", "path": "syllabus/syllabus-app/src/java/org/sakaiproject/tool/syllabus/SyllabusTool.java", "license": "apache-2.0", "size": 90790 }
[ "java.util.Map", "javax.faces.context.FacesContext", "org.sakaiproject.api.app.syllabus.SyllabusData", "org.sakaiproject.util.DateFormatterUtil" ]
import java.util.Map; import javax.faces.context.FacesContext; import org.sakaiproject.api.app.syllabus.SyllabusData; import org.sakaiproject.util.DateFormatterUtil;
import java.util.*; import javax.faces.context.*; import org.sakaiproject.api.app.syllabus.*; import org.sakaiproject.util.*;
[ "java.util", "javax.faces", "org.sakaiproject.api", "org.sakaiproject.util" ]
java.util; javax.faces; org.sakaiproject.api; org.sakaiproject.util;
842,218
public static ElasticsearchDirectoryReader wrap(DirectoryReader reader, ShardId shardId) throws IOException { return new ElasticsearchDirectoryReader(reader, new SubReaderWrapper(shardId), shardId); } private static final class SubReaderWrapper extends FilterDirectoryReader.SubReaderWrapper { ...
static ElasticsearchDirectoryReader function(DirectoryReader reader, ShardId shardId) throws IOException { return new ElasticsearchDirectoryReader(reader, new SubReaderWrapper(shardId), shardId); } private static final class SubReaderWrapper extends FilterDirectoryReader.SubReaderWrapper { private final ShardId shardId...
/** * Wraps the given reader in a {@link org.elasticsearch.common.lucene.index.ElasticsearchDirectoryReader} as * well as all it's sub-readers in {@link org.elasticsearch.common.lucene.index.ElasticsearchLeafReader} to * expose the given shard Id. * * @param reader the reader to wrap * @pa...
Wraps the given reader in a <code>org.elasticsearch.common.lucene.index.ElasticsearchDirectoryReader</code> as well as all it's sub-readers in <code>org.elasticsearch.common.lucene.index.ElasticsearchLeafReader</code> to expose the given shard Id
wrap
{ "repo_name": "qwerty4030/elasticsearch", "path": "server/src/main/java/org/elasticsearch/common/lucene/index/ElasticsearchDirectoryReader.java", "license": "apache-2.0", "size": 5611 }
[ "java.io.IOException", "org.apache.lucene.index.DirectoryReader", "org.apache.lucene.index.FilterDirectoryReader", "org.elasticsearch.index.shard.ShardId" ]
import java.io.IOException; import org.apache.lucene.index.DirectoryReader; import org.apache.lucene.index.FilterDirectoryReader; import org.elasticsearch.index.shard.ShardId;
import java.io.*; import org.apache.lucene.index.*; import org.elasticsearch.index.shard.*;
[ "java.io", "org.apache.lucene", "org.elasticsearch.index" ]
java.io; org.apache.lucene; org.elasticsearch.index;
728,743
void updated(BigInteger masterElectionId); }
void updated(BigInteger masterElectionId); }
/** * Notifies that the master election ID has been updated to the given * (nullable) value. * * @param masterElectionId new master election ID, or null */
Notifies that the master election ID has been updated to the given (nullable) value
updated
{ "repo_name": "oplinkoms/onos", "path": "protocols/p4runtime/ctl/src/main/java/org/onosproject/p4runtime/ctl/controller/MasterElectionIdStore.java", "license": "apache-2.0", "size": 3084 }
[ "java.math.BigInteger" ]
import java.math.BigInteger;
import java.math.*;
[ "java.math" ]
java.math;
2,723,477
public Iterator<TickClient> getTickSet(final Tickable T, final int tickID);
Iterator<TickClient> function(final Tickable T, final int tickID);
/** * Returns an iterator of all clients matching the given criteria * @param T the tickable object to look for * @param tickID the tickid to match, or -1 for all * @return an iterator of all clients matching the given criteria */
Returns an iterator of all clients matching the given criteria
getTickSet
{ "repo_name": "ConsecroMUD/ConsecroMUD", "path": "com/suscipio_solutions/consecro_mud/core/interfaces/TickableGroup.java", "license": "apache-2.0", "size": 4686 }
[ "java.util.Iterator" ]
import java.util.Iterator;
import java.util.*;
[ "java.util" ]
java.util;
2,430,366
public PostgreSqlManagementClientBuilder pipeline(HttpPipeline pipeline) { this.pipeline = pipeline; return this; } private SerializerAdapter serializerAdapter;
PostgreSqlManagementClientBuilder function(HttpPipeline pipeline) { this.pipeline = pipeline; return this; } private SerializerAdapter serializerAdapter;
/** * Sets The HTTP pipeline to send requests through. * * @param pipeline the pipeline value. * @return the PostgreSqlManagementClientBuilder. */
Sets The HTTP pipeline to send requests through
pipeline
{ "repo_name": "Azure/azure-sdk-for-java", "path": "sdk/postgresql/azure-resourcemanager-postgresql/src/main/java/com/azure/resourcemanager/postgresql/implementation/PostgreSqlManagementClientBuilder.java", "license": "mit", "size": 4739 }
[ "com.azure.core.http.HttpPipeline", "com.azure.core.util.serializer.SerializerAdapter" ]
import com.azure.core.http.HttpPipeline; import com.azure.core.util.serializer.SerializerAdapter;
import com.azure.core.http.*; import com.azure.core.util.serializer.*;
[ "com.azure.core" ]
com.azure.core;
2,489,059
public static Schema getSchemaFromDataFile(Path dataFile, FileSystem fs) throws IOException { try (SeekableInput sin = new FsInput(dataFile, fs.getConf()); DataFileReader<GenericRecord> reader = new DataFileReader<>(sin, new GenericDatumReader<GenericRecord>())) { return reader.getSchema(); } ...
static Schema function(Path dataFile, FileSystem fs) throws IOException { try (SeekableInput sin = new FsInput(dataFile, fs.getConf()); DataFileReader<GenericRecord> reader = new DataFileReader<>(sin, new GenericDatumReader<GenericRecord>())) { return reader.getSchema(); } }
/** * Get Avro schema from an Avro data file. */
Get Avro schema from an Avro data file
getSchemaFromDataFile
{ "repo_name": "shirshanka/gobblin", "path": "gobblin-utility/src/main/java/org/apache/gobblin/util/AvroUtils.java", "license": "apache-2.0", "size": 46297 }
[ "java.io.IOException", "org.apache.avro.Schema", "org.apache.avro.file.DataFileReader", "org.apache.avro.file.SeekableInput", "org.apache.avro.generic.GenericDatumReader", "org.apache.avro.generic.GenericRecord", "org.apache.avro.mapred.FsInput", "org.apache.hadoop.fs.FileSystem", "org.apache.hadoop...
import java.io.IOException; import org.apache.avro.Schema; import org.apache.avro.file.DataFileReader; import org.apache.avro.file.SeekableInput; import org.apache.avro.generic.GenericDatumReader; import org.apache.avro.generic.GenericRecord; import org.apache.avro.mapred.FsInput; import org.apache.hadoop.fs.FileSystem...
import java.io.*; import org.apache.avro.*; import org.apache.avro.file.*; import org.apache.avro.generic.*; import org.apache.avro.mapred.*; import org.apache.hadoop.fs.*;
[ "java.io", "org.apache.avro", "org.apache.hadoop" ]
java.io; org.apache.avro; org.apache.hadoop;
139,904
public Path createBootclasspath() { if (bootclasspath == null) { bootclasspath = new Path(getProject()); } return bootclasspath.createPath(); }
Path function() { if (bootclasspath == null) { bootclasspath = new Path(getProject()); } return bootclasspath.createPath(); }
/** * Create a Path to be configured with the boot classpath * * @return a new Path instance to be configured with the boot classpath. */
Create a Path to be configured with the boot classpath
createBootclasspath
{ "repo_name": "BIORIMP/biorimp", "path": "BIO-RIMP/test_data/code/antapache/src/main/org/apache/tools/ant/taskdefs/Javadoc.java", "license": "gpl-2.0", "size": 79624 }
[ "org.apache.tools.ant.types.Path" ]
import org.apache.tools.ant.types.Path;
import org.apache.tools.ant.types.*;
[ "org.apache.tools" ]
org.apache.tools;
1,322,474
@Test public void getActionEasy() { // Setup. final SudokuEnvironment environment = testData.createEnvironmentEasy(); final SudokuAdjudicator adjudicator = new SudokuAdjudicator(); final SimpleAgent agent = new SimpleAgent(); // Run. final SudokuAction result...
void function() { final SudokuEnvironment environment = testData.createEnvironmentEasy(); final SudokuAdjudicator adjudicator = new SudokuAdjudicator(); final SimpleAgent agent = new SimpleAgent(); final SudokuAction result = agent.getAction(environment, adjudicator); assertNotNull(result); assertThat(result.getPositio...
/** * Test the <code>getAction()</code> method. */
Test the <code>getAction()</code> method
getActionEasy
{ "repo_name": "jmthompson2015/vizzini", "path": "example/src/test/java/org/vizzini/example/puzzle/sudoku/SimpleAgentTest.java", "license": "mit", "size": 2257 }
[ "org.hamcrest.CoreMatchers", "org.junit.Assert" ]
import org.hamcrest.CoreMatchers; import org.junit.Assert;
import org.hamcrest.*; import org.junit.*;
[ "org.hamcrest", "org.junit" ]
org.hamcrest; org.junit;
543,674
public BigInteger getRemain () { return remain; }
BigInteger function () { return remain; }
/** * The number remaining. * @return */
The number remaining
getRemain
{ "repo_name": "niromon/votvot", "path": "gutils/src/main/java/com/deguet/gutils/permutation/PermutationGenerator.java", "license": "mit", "size": 2878 }
[ "java.math.BigInteger" ]
import java.math.BigInteger;
import java.math.*;
[ "java.math" ]
java.math;
213,081
public boolean validateScanningDevice_validateScanningDeviceHasAssignedAuthorRepresentedOrganizationId(ScanningDevice scanningDevice, DiagnosticChain diagnostics, Map<Object, Object> context) { return scanningDevice.validateScanningDeviceHasAssignedAuthorRepresentedOrganizationId(diagnostics, context); }
boolean function(ScanningDevice scanningDevice, DiagnosticChain diagnostics, Map<Object, Object> context) { return scanningDevice.validateScanningDeviceHasAssignedAuthorRepresentedOrganizationId(diagnostics, context); }
/** * Validates the validateScanningDeviceHasAssignedAuthorRepresentedOrganizationId constraint of '<em>Scanning Device</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */
Validates the validateScanningDeviceHasAssignedAuthorRepresentedOrganizationId constraint of 'Scanning Device'.
validateScanningDevice_validateScanningDeviceHasAssignedAuthorRepresentedOrganizationId
{ "repo_name": "drbgfc/mdht", "path": "cda/deprecated/org.openhealthtools.mdht.uml.cda.ihe/src/org/openhealthtools/mdht/uml/cda/ihe/util/IHEValidator.java", "license": "epl-1.0", "size": 429642 }
[ "java.util.Map", "org.eclipse.emf.common.util.DiagnosticChain", "org.openhealthtools.mdht.uml.cda.ihe.ScanningDevice" ]
import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.openhealthtools.mdht.uml.cda.ihe.ScanningDevice;
import java.util.*; import org.eclipse.emf.common.util.*; import org.openhealthtools.mdht.uml.cda.ihe.*;
[ "java.util", "org.eclipse.emf", "org.openhealthtools.mdht" ]
java.util; org.eclipse.emf; org.openhealthtools.mdht;
914,279
public int getTemplateId(final DirectBuffer buffer, final int bufferOffset) { return Util.getInt(buffer, bufferOffset + templateIdOffset, templateIdType, templateIdByteOrder); }
int function(final DirectBuffer buffer, final int bufferOffset) { return Util.getInt(buffer, bufferOffset + templateIdOffset, templateIdType, templateIdByteOrder); }
/** * Get the template id from the message header. * * @param buffer from which to read the value. * @param bufferOffset in the buffer at which the message header begins. * @return the value of the template id. */
Get the template id from the message header
getTemplateId
{ "repo_name": "AdaptiveConsulting/simple-binary-encoding", "path": "main/java/uk/co/real_logic/sbe/otf/OtfHeaderDecoder.java", "license": "apache-2.0", "size": 4440 }
[ "uk.co.real_logic.sbe.codec.java.DirectBuffer" ]
import uk.co.real_logic.sbe.codec.java.DirectBuffer;
import uk.co.real_logic.sbe.codec.java.*;
[ "uk.co.real_logic" ]
uk.co.real_logic;
1,612,018
public ProvisioningState provisioningState() { return this.provisioningState; }
ProvisioningState function() { return this.provisioningState; }
/** * Get the provisioning state of the DDoS protection plan resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. * * @return the provisioningState value */
Get the provisioning state of the DDoS protection plan resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
provisioningState
{ "repo_name": "selvasingh/azure-sdk-for-java", "path": "sdk/network/mgmt-v2020_06_01/src/main/java/com/microsoft/azure/management/network/v2020_06_01/implementation/DdosProtectionPlanInner.java", "license": "mit", "size": 2995 }
[ "com.microsoft.azure.management.network.v2020_06_01.ProvisioningState" ]
import com.microsoft.azure.management.network.v2020_06_01.ProvisioningState;
import com.microsoft.azure.management.network.v2020_06_01.*;
[ "com.microsoft.azure" ]
com.microsoft.azure;
524,644
protected void print(String text) { if (containsTable(text)) { String tableStart = format(PARAMETER_TABLE_START, PARAMETER_TABLE_START); String tableEnd = format(PARAMETER_TABLE_END, PARAMETER_TABLE_END); String tableAsString = substringBetween(text, tableStart, tableEnd)...
void function(String text) { if (containsTable(text)) { String tableStart = format(PARAMETER_TABLE_START, PARAMETER_TABLE_START); String tableEnd = format(PARAMETER_TABLE_END, PARAMETER_TABLE_END); String tableAsString = substringBetween(text, tableStart, tableEnd); output.print(text .replace(tableAsString, formatTable...
/** * Prints text to output stream, replacing parameter start and end * placeholders * * @param text the String to print */
Prints text to output stream, replacing parameter start and end placeholders
print
{ "repo_name": "pocamin/jbehave-core", "path": "jbehave-core/src/main/java/org/jbehave/core/reporters/PrintStreamOutput.java", "license": "bsd-3-clause", "size": 19791 }
[ "org.apache.commons.lang.StringUtils", "org.jbehave.core.model.ExamplesTable" ]
import org.apache.commons.lang.StringUtils; import org.jbehave.core.model.ExamplesTable;
import org.apache.commons.lang.*; import org.jbehave.core.model.*;
[ "org.apache.commons", "org.jbehave.core" ]
org.apache.commons; org.jbehave.core;
2,866,476
@Override public void stop(BundleContext bc) throws Exception { context = null; localeProviderTracker.close(); logger.debug("REST API has been stopped."); }
void function(BundleContext bc) throws Exception { context = null; localeProviderTracker.close(); logger.debug(STR); }
/** * Called whenever the OSGi framework stops our bundle */
Called whenever the OSGi framework stops our bundle
stop
{ "repo_name": "vkolotov/smarthome", "path": "bundles/io/org.eclipse.smarthome.io.rest/src/main/java/org/eclipse/smarthome/io/rest/internal/RESTActivator.java", "license": "epl-1.0", "size": 3536 }
[ "org.osgi.framework.BundleContext" ]
import org.osgi.framework.BundleContext;
import org.osgi.framework.*;
[ "org.osgi.framework" ]
org.osgi.framework;
1,679,113
private int getLocalMemberListIndex() { final Collection<Member> dataMembers = nodeEngine.getClusterService().getMembers(DATA_MEMBER_SELECTOR); int index = -1; for (Member dataMember : dataMembers) { index++; if (dataMember.equals(nodeEngine.getLocalMember())) { ...
int function() { final Collection<Member> dataMembers = nodeEngine.getClusterService().getMembers(DATA_MEMBER_SELECTOR); int index = -1; for (Member dataMember : dataMembers) { index++; if (dataMember.equals(nodeEngine.getLocalMember())) { return index; } } return index; }
/** * Returns the index of the local member in the membership list containing * only data members. */
Returns the index of the local member in the membership list containing only data members
getLocalMemberListIndex
{ "repo_name": "emre-aydin/hazelcast", "path": "hazelcast/src/main/java/com/hazelcast/internal/crdt/CRDTMigrationTask.java", "license": "apache-2.0", "size": 5984 }
[ "com.hazelcast.cluster.Member", "java.util.Collection" ]
import com.hazelcast.cluster.Member; import java.util.Collection;
import com.hazelcast.cluster.*; import java.util.*;
[ "com.hazelcast.cluster", "java.util" ]
com.hazelcast.cluster; java.util;
2,656,842
@Override public WireCharge retrieveWireChargeForDate(java.sql.Date date) { final Integer dateFiscalYear = getUniversityDateService().getFiscalYear(date); if (dateFiscalYear == null) { return null; } WireCharge wireCharge = new WireCharge(); wireCharg...
WireCharge function(java.sql.Date date) { final Integer dateFiscalYear = getUniversityDateService().getFiscalYear(date); if (dateFiscalYear == null) { return null; } WireCharge wireCharge = new WireCharge(); wireCharge.setUniversityFiscalYear(dateFiscalYear); wireCharge = (WireCharge)getBusinessObjectService().retrieve...
/** * Retrieves the wire charge for fiscal year based on the given date or null if one cannot be found * @param date the date to find a wire charge for * @return the wire charge for the fiscal year of the given date, or null if the wire charge cannot be found */
Retrieves the wire charge for fiscal year based on the given date or null if one cannot be found
retrieveWireChargeForDate
{ "repo_name": "ua-eas/ua-kfs-5.3", "path": "work/src/org/kuali/kfs/sys/document/service/impl/PaymentSourceHelperServiceImpl.java", "license": "agpl-3.0", "size": 29399 }
[ "org.kuali.kfs.sys.businessobject.WireCharge" ]
import org.kuali.kfs.sys.businessobject.WireCharge;
import org.kuali.kfs.sys.businessobject.*;
[ "org.kuali.kfs" ]
org.kuali.kfs;
2,624,241
public Node nextNode() { if( fDetach) { throw new DOMException( DOMException.INVALID_STATE_ERR, DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "INVALID_STATE_ERR", null)); } // if root is null there is no ne...
Node function() { if( fDetach) { throw new DOMException( DOMException.INVALID_STATE_ERR, DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, STR, null)); } if (fRoot == null) return null; Node nextNode = fCurrentNode; boolean accepted = false; accepted_loop: while (!accepted) { if (!fForward && nextNode!=...
/** Return the next Node in the Iterator. The node is the next node in * depth-first order which also passes the filter, and whatToShow. * If there is no next node which passes these criteria, then return null. */
Return the next Node in the Iterator. The node is the next node in depth-first order which also passes the filter, and whatToShow. If there is no next node which passes these criteria, then return null
nextNode
{ "repo_name": "AaronZhangL/SplitCharater", "path": "xerces-2_11_0/src/org/apache/xerces/dom/NodeIteratorImpl.java", "license": "gpl-2.0", "size": 13163 }
[ "org.w3c.dom.DOMException", "org.w3c.dom.Node" ]
import org.w3c.dom.DOMException; import org.w3c.dom.Node;
import org.w3c.dom.*;
[ "org.w3c.dom" ]
org.w3c.dom;
2,536,112
public HttpResponse getResponseForURL(URI uri) throws ClientProtocolException, IOException { return getResponseForURL(this.httpClient, uri); }
HttpResponse function(URI uri) throws ClientProtocolException, IOException { return getResponseForURL(this.httpClient, uri); }
/** * Gets the {@link HttpResponse} object for a given URI with the Default Http Client * * @param uri * @return * @throws ClientProtocolException * @throws IOException */
Gets the <code>HttpResponse</code> object for a given URI with the Default Http Client
getResponseForURL
{ "repo_name": "brunocvcunha/taskerbox", "path": "core/src/main/java/org/brunocvcunha/taskerbox/core/http/TaskerboxHttpBox.java", "license": "apache-2.0", "size": 16490 }
[ "java.io.IOException", "org.apache.http.HttpResponse", "org.apache.http.client.ClientProtocolException" ]
import java.io.IOException; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException;
import java.io.*; import org.apache.http.*; import org.apache.http.client.*;
[ "java.io", "org.apache.http" ]
java.io; org.apache.http;
181,989
public Rectangle getBounds() { if (bounds != null) { return bounds; } if (isEmpty()) { return bounds = new Rectangle(); } int x1 = rect[1]; int y1 = rect[2]; int x2 = rect[3]; int y2 = rect[4]; for(int i = 5; ...
Rectangle function() { if (bounds != null) { return bounds; } if (isEmpty()) { return bounds = new Rectangle(); } int x1 = rect[1]; int y1 = rect[2]; int x2 = rect[3]; int y2 = rect[4]; for(int i = 5; i < rect[0]; i += 4) { int rx1 = rect[i + 0]; int ry1 = rect[i + 1]; int rx2 = rect[i + 2]; int ry2 = rect[i + 3]; if (...
/** * Returns bounds of MultiRectArea object */
Returns bounds of MultiRectArea object
getBounds
{ "repo_name": "freeVM/freeVM", "path": "enhanced/java/classlib/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/MultiRectArea.java", "license": "apache-2.0", "size": 23352 }
[ "java.awt.Rectangle" ]
import java.awt.Rectangle;
import java.awt.*;
[ "java.awt" ]
java.awt;
66,029
public SiteConfigResourceInner withRequestTracingExpirationTime(DateTime requestTracingExpirationTime) { this.requestTracingExpirationTime = requestTracingExpirationTime; return this; }
SiteConfigResourceInner function(DateTime requestTracingExpirationTime) { this.requestTracingExpirationTime = requestTracingExpirationTime; return this; }
/** * Set the requestTracingExpirationTime value. * * @param requestTracingExpirationTime the requestTracingExpirationTime value to set * @return the SiteConfigResourceInner object itself. */
Set the requestTracingExpirationTime value
withRequestTracingExpirationTime
{ "repo_name": "jianghaolu/azure-sdk-for-java", "path": "azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/implementation/SiteConfigResourceInner.java", "license": "mit", "size": 31433 }
[ "org.joda.time.DateTime" ]
import org.joda.time.DateTime;
import org.joda.time.*;
[ "org.joda.time" ]
org.joda.time;
422,673
public String executeCommandAddCategory(ActionContext context) { Exception errorMessage = null; String projectId = context.getRequest().getParameter("pid"); Connection db = null; try { db = getConnection(context); //Load the project Project thisProject = retrieveAuthorizedProject(Int...
String function(ActionContext context) { Exception errorMessage = null; String projectId = context.getRequest().getParameter("pid"); Connection db = null; try { db = getConnection(context); Project thisProject = retrieveAuthorizedProject(Integer.parseInt(projectId), context); if (!hasProjectAccess(context, thisProject....
/** * Description of the Method * * @param context Description of the Parameter * @return Description of the Return Value */
Description of the Method
executeCommandAddCategory
{ "repo_name": "Concursive/concourseconnect-community", "path": "src/main/java/com/concursive/connect/web/modules/lists/actions/ProjectManagementLists.java", "license": "agpl-3.0", "size": 27103 }
[ "com.concursive.commons.web.mvc.actions.ActionContext", "com.concursive.connect.web.modules.profile.dao.Project", "java.sql.Connection" ]
import com.concursive.commons.web.mvc.actions.ActionContext; import com.concursive.connect.web.modules.profile.dao.Project; import java.sql.Connection;
import com.concursive.commons.web.mvc.actions.*; import com.concursive.connect.web.modules.profile.dao.*; import java.sql.*;
[ "com.concursive.commons", "com.concursive.connect", "java.sql" ]
com.concursive.commons; com.concursive.connect; java.sql;
1,913,481
protected synchronized void save(PrintWriter writer, String path, StringManager smClient) { Server server = ((Engine)host.getParent()).getService().getServer(); if (!(server instanceof StandardServer)) { writer.println(smClient.getString("managerServlet.saveFail", ...
synchronized void function(PrintWriter writer, String path, StringManager smClient) { Server server = ((Engine)host.getParent()).getService().getServer(); if (!(server instanceof StandardServer)) { writer.println(smClient.getString(STR, server)); return; } if ((path == null) path.length() == 0 !path.startsWith("/")) { ...
/** * Store server configuration. * * @param path Optional context path to save */
Store server configuration
save
{ "repo_name": "pistolove/sourcecode4junit", "path": "Source4Tomcat/src/org/apache/catalina/manager/ManagerServlet.java", "license": "apache-2.0", "size": 61389 }
[ "java.io.PrintWriter", "org.apache.catalina.Engine", "org.apache.catalina.Server", "org.apache.catalina.core.StandardServer", "org.apache.tomcat.util.res.StringManager" ]
import java.io.PrintWriter; import org.apache.catalina.Engine; import org.apache.catalina.Server; import org.apache.catalina.core.StandardServer; import org.apache.tomcat.util.res.StringManager;
import java.io.*; import org.apache.catalina.*; import org.apache.catalina.core.*; import org.apache.tomcat.util.res.*;
[ "java.io", "org.apache.catalina", "org.apache.tomcat" ]
java.io; org.apache.catalina; org.apache.tomcat;
724,813
public static Date decrementTimeBySeconds(int seconds, Date currentTime) { Calendar cal = Calendar.getInstance(); cal.setTime(currentTime); cal.add(Calendar.SECOND, -(seconds)); //minus number would decrement the seconds return cal.getTime(); }
static Date function(int seconds, Date currentTime) { Calendar cal = Calendar.getInstance(); cal.setTime(currentTime); cal.add(Calendar.SECOND, -(seconds)); return cal.getTime(); }
/** * Decrements a time by a given number of seconds and returns a new date * * @param seconds number of days to decrement the time by * @param currentTime the time value that needs to be incremented * @return incremented time */
Decrements a time by a given number of seconds and returns a new date
decrementTimeBySeconds
{ "repo_name": "investovator/investovator-dataplaybackengine", "path": "src/main/java/org/investovator/dataplaybackengine/utils/DateUtils.java", "license": "gpl-3.0", "size": 3759 }
[ "java.util.Calendar", "java.util.Date" ]
import java.util.Calendar; import java.util.Date;
import java.util.*;
[ "java.util" ]
java.util;
2,404,536
protected static void copyJavadocResources( File outputDirectory, File javadocDir ) throws IOException { copyJavadocResources( outputDirectory, javadocDir, null ); }
static void function( File outputDirectory, File javadocDir ) throws IOException { copyJavadocResources( outputDirectory, javadocDir, null ); }
/** * Convenience method that copy all <code>doc-files</code> directories from <code>javadocDir</code> * to the <code>outputDirectory</code>. * * @param outputDirectory the output directory * @param javadocDir the javadoc directory * @throws IOException if any * @deprecated since 2.5,...
Convenience method that copy all <code>doc-files</code> directories from <code>javadocDir</code> to the <code>outputDirectory</code>
copyJavadocResources
{ "repo_name": "dmlloyd/maven-plugins", "path": "maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java", "license": "apache-2.0", "size": 64004 }
[ "java.io.File", "java.io.IOException" ]
import java.io.File; import java.io.IOException;
import java.io.*;
[ "java.io" ]
java.io;
2,212,940
public Read withRowFilter(RowFilter filter) { checkArgument(filter != null, "filter can not be null"); return toBuilder().setRowFilter(filter).build(); }
Read function(RowFilter filter) { checkArgument(filter != null, STR); return toBuilder().setRowFilter(filter).build(); }
/** * Returns a new {@link BigtableIO.Read} that will filter the rows read from Cloud Bigtable * using the given row filter. * * <p>Does not modify this object. */
Returns a new <code>BigtableIO.Read</code> that will filter the rows read from Cloud Bigtable using the given row filter. Does not modify this object
withRowFilter
{ "repo_name": "rangadi/incubator-beam", "path": "sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableIO.java", "license": "apache-2.0", "size": 48883 }
[ "com.google.bigtable.v2.RowFilter", "com.google.common.base.Preconditions" ]
import com.google.bigtable.v2.RowFilter; import com.google.common.base.Preconditions;
import com.google.bigtable.v2.*; import com.google.common.base.*;
[ "com.google.bigtable", "com.google.common" ]
com.google.bigtable; com.google.common;
1,021,923
private static void assertHierarchy(@Nonnull Tree tree, @Nonnull String pathConstraint) throws CommitFailedException { if (!Text.isDescendant(pathConstraint, tree.getPath())) { String msg = "Attempt to create user/group outside of configured scope " + pathConstraint; throw constraint...
static void function(@Nonnull Tree tree, @Nonnull String pathConstraint) throws CommitFailedException { if (!Text.isDescendant(pathConstraint, tree.getPath())) { String msg = STR + pathConstraint; throw constraintViolation(28, msg); } if (!tree.isRoot()) { Tree parent = tree.getParent(); while (parent.exists() && !pare...
/** * Make sure user and group nodes are located underneath the configured path * and that path consists of rep:authorizableFolder nodes. * * @param tree The tree representing a user or group. * @param pathConstraint The path constraint. * @throws CommitFailedException If the hie...
Make sure user and group nodes are located underneath the configured path and that path consists of rep:authorizableFolder nodes
assertHierarchy
{ "repo_name": "meggermo/jackrabbit-oak", "path": "oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserValidator.java", "license": "apache-2.0", "size": 11677 }
[ "javax.annotation.Nonnull", "org.apache.jackrabbit.oak.api.CommitFailedException", "org.apache.jackrabbit.oak.api.Tree", "org.apache.jackrabbit.oak.util.TreeUtil", "org.apache.jackrabbit.util.Text" ]
import javax.annotation.Nonnull; import org.apache.jackrabbit.oak.api.CommitFailedException; import org.apache.jackrabbit.oak.api.Tree; import org.apache.jackrabbit.oak.util.TreeUtil; import org.apache.jackrabbit.util.Text;
import javax.annotation.*; import org.apache.jackrabbit.oak.api.*; import org.apache.jackrabbit.oak.util.*; import org.apache.jackrabbit.util.*;
[ "javax.annotation", "org.apache.jackrabbit" ]
javax.annotation; org.apache.jackrabbit;
330,309
public AbstractExpression singlePartitioningExpression() { if (m_inferredExpression.size() == 1) { return m_inferredExpression.iterator().next(); } return null; }
AbstractExpression function() { if (m_inferredExpression.size() == 1) { return m_inferredExpression.iterator().next(); } return null; }
/** * smart accessor - only returns a value if it was unique * @return */
smart accessor - only returns a value if it was unique
singlePartitioningExpression
{ "repo_name": "eoneil1942/voltdb-4.7fix", "path": "src/frontend/org/voltdb/planner/StatementPartitioning.java", "license": "agpl-3.0", "size": 20083 }
[ "org.voltdb.expressions.AbstractExpression" ]
import org.voltdb.expressions.AbstractExpression;
import org.voltdb.expressions.*;
[ "org.voltdb.expressions" ]
org.voltdb.expressions;
2,496,454
public void printSubNodes(int depth) { if (SanityManager.DEBUG) { super.printSubNodes(depth); if (leftResultSet != null) { printLabel(depth, "leftResultSet: "); leftResultSet.treePrint(depth + 1); } if (rightResultSet != null) { printLabel(depth, "rightResultSet: "); rightRes...
void function(int depth) { if (SanityManager.DEBUG) { super.printSubNodes(depth); if (leftResultSet != null) { printLabel(depth, STR); leftResultSet.treePrint(depth + 1); } if (rightResultSet != null) { printLabel(depth, STR); rightResultSet.treePrint(depth + 1); } } }
/** * Prints the sub-nodes of this object. See QueryTreeNode.java for * how tree printing is supposed to work. * * @param depth The depth of this node in the tree */
Prints the sub-nodes of this object. See QueryTreeNode.java for how tree printing is supposed to work
printSubNodes
{ "repo_name": "viaper/DBPlus", "path": "DerbyHodgepodge/java/engine/org/apache/derby/impl/sql/compile/TableOperatorNode.java", "license": "apache-2.0", "size": 29264 }
[ "org.apache.derby.iapi.services.sanity.SanityManager" ]
import org.apache.derby.iapi.services.sanity.SanityManager;
import org.apache.derby.iapi.services.sanity.*;
[ "org.apache.derby" ]
org.apache.derby;
2,677,783
public boolean inList(String path) { if (Strings.isNullOrEmpty(path)) { return false; } for (String prefix : mInnerList) { if (path.startsWith(prefix)) { return true; } } return false; }
boolean function(String path) { if (Strings.isNullOrEmpty(path)) { return false; } for (String prefix : mInnerList) { if (path.startsWith(prefix)) { return true; } } return false; }
/** * Checks whether a prefix of {@code path} is in the prefix list. * * @param path the path to check * @return true if the path is in the list, false otherwise */
Checks whether a prefix of path is in the prefix list
inList
{ "repo_name": "wwjiang007/alluxio", "path": "core/common/src/main/java/alluxio/collections/PrefixList.java", "license": "apache-2.0", "size": 3043 }
[ "com.google.common.base.Strings" ]
import com.google.common.base.Strings;
import com.google.common.base.*;
[ "com.google.common" ]
com.google.common;
493,249
List<XrefToInstance> newmembers = new ArrayList<>(); for (XrefToInstance x : getMembers()) { newmembers.add((XrefToInstance) x.cloneL0(xrefvi)); } XrefGroup groupNew = new XrefGroup(xrefvi, getPositionInParent(), newmembers, text); return groupNew; ...
List<XrefToInstance> newmembers = new ArrayList<>(); for (XrefToInstance x : getMembers()) { newmembers.add((XrefToInstance) x.cloneL0(xrefvi)); } XrefGroup groupNew = new XrefGroup(xrefvi, getPositionInParent(), newmembers, text); return groupNew; }
/** * Creates a deep clone for level L0 * * @param xrefvi * @return */
Creates a deep clone for level L0
cloneL0Inner
{ "repo_name": "Xapagy/Xapagy", "path": "src/main/java/org/xapagy/xapi/reference/XrefGroup.java", "license": "agpl-3.0", "size": 1929 }
[ "java.util.ArrayList", "java.util.List" ]
import java.util.ArrayList; import java.util.List;
import java.util.*;
[ "java.util" ]
java.util;
1,356,242
public boolean deleteAllMessages() { boolean result = false; try{ mMessageUserDataSource.deleteAllUsers(); result = mSqLiteDatabase.delete(MESSAGE_TABLE_NAME, null, null) > 0; } finally { Logger.d("All Message Users and Messages deleted from database"); ...
boolean function() { boolean result = false; try{ mMessageUserDataSource.deleteAllUsers(); result = mSqLiteDatabase.delete(MESSAGE_TABLE_NAME, null, null) > 0; } finally { Logger.d(STR); } return result; }
/** * Deletes all messages and message users from database.<br> */
Deletes all messages and message users from database
deleteAllMessages
{ "repo_name": "DorukBen/Bookie", "path": "app/src/main/java/com/karambit/bookie/database/MessageDataSource.java", "license": "apache-2.0", "size": 20530 }
[ "com.orhanobut.logger.Logger" ]
import com.orhanobut.logger.Logger;
import com.orhanobut.logger.*;
[ "com.orhanobut.logger" ]
com.orhanobut.logger;
1,922,797
private void disposePlot(Composite composite) { // Find the index. int index = -1; for (int i = 0; i < plots.size() && index == -1; i++) { if (plotComposites.get(i) == composite) { index = i; } } // Dispose the plot at the specified index. if (index != -1) { disposePlot(index);...
void function(Composite composite) { int index = -1; for (int i = 0; i < plots.size() && index == -1; i++) { if (plotComposites.get(i) == composite) { index = i; } } if (index != -1) { disposePlot(index); } return; }
/** * Disposes the specified plot, if possible. This includes removing it from * the bookkeeping. * <p> * <b>Note:</b> This method is intended to be called either when the plot is * actually being disposed or simply programmatically. * </p> * * @param composite * The plot composit...
Disposes the specified plot, if possible. This includes removing it from the bookkeeping. Note: This method is intended to be called either when the plot is actually being disposed or simply programmatically.
disposePlot
{ "repo_name": "jarrah42/eavp", "path": "org.eclipse.eavp.viz.service/src/org/eclipse/eavp/viz/service/widgets/PlotGridComposite.java", "license": "epl-1.0", "size": 20612 }
[ "org.eclipse.swt.widgets.Composite" ]
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.*;
[ "org.eclipse.swt" ]
org.eclipse.swt;
1,709,727
public Value getAggregationValue(AggregationPath path, String columnId, AggregationType type) { return tree.getNode(path).getAggregationValue(columnId, type); }
Value function(AggregationPath path, String columnId, AggregationType type) { return tree.getNode(path).getAggregationValue(columnId, type); }
/** * Returns the aggregation value of a specific column and type. * * @param path The aggregation path. * @param columnId The requested column id. * @param type The requested aggregation type. * * @return The aggregation values of a specific column. */
Returns the aggregation value of a specific column and type
getAggregationValue
{ "repo_name": "dzxdzx1987/GoogleCharts", "path": "GoogleChartsSource/com/google/visualization/datasource/query/engine/TableAggregator.java", "license": "apache-2.0", "size": 5802 }
[ "com.google.visualization.datasource.datatable.value.Value", "com.google.visualization.datasource.query.AggregationType" ]
import com.google.visualization.datasource.datatable.value.Value; import com.google.visualization.datasource.query.AggregationType;
import com.google.visualization.datasource.datatable.value.*; import com.google.visualization.datasource.query.*;
[ "com.google.visualization" ]
com.google.visualization;
2,539,938
public void setScriptFiles(List<String> scriptFiles) { this.scriptFiles = scriptFiles; }
void function(List<String> scriptFiles) { this.scriptFiles = scriptFiles; }
/** * Setter for the list of JS files that should be sourced in along with the minified files * * @param scriptFiles */
Setter for the list of JS files that should be sourced in along with the minified files
setScriptFiles
{ "repo_name": "bhutchinson/rice", "path": "rice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/view/ViewTheme.java", "license": "apache-2.0", "size": 24680 }
[ "java.util.List" ]
import java.util.List;
import java.util.*;
[ "java.util" ]
java.util;
2,153,740
void addStyleSheetEnvelopingOntoSignature(final XmlStyle xmlStyle, final String sId) { this.styleElement = xmlStyle.getStyleElement(); if (xmlStyle.getStyleType() != null) { this.styleType = xmlStyle.getStyleType(); } this.sty...
void addStyleSheetEnvelopingOntoSignature(final XmlStyle xmlStyle, final String sId) { this.styleElement = xmlStyle.getStyleElement(); if (xmlStyle.getStyleType() != null) { this.styleType = xmlStyle.getStyleType(); } this.styleId = sId; this.styleEncoding = xmlStyle.getStyleEncoding(); }
/** A&ntilde;ade una hoja de estilo en modo <i>enveloping</i> dentro de la * firma. La referencia para firmarla debe construirse de forma externa, * esta clase no la construye ni a&ntilde;ade * @param xmlStyle Elemento de estilo XML * @param sId Identificador de la hoja de estilo (si se proporci...
A&ntilde;ade una hoja de estilo en modo enveloping dentro de la firma. La referencia para firmarla debe construirse de forma externa, esta clase no la construye ni a&ntilde;ade
addStyleSheetEnvelopingOntoSignature
{ "repo_name": "venanciolm/afirma-ui-miniapplet_x_x", "path": "afirma_ui_miniapplet/src/main/java/es/gob/afirma/signers/xades/AOXMLAdvancedSignature.java", "license": "mit", "size": 9057 }
[ "es.gob.afirma.signers.xml.style.XmlStyle" ]
import es.gob.afirma.signers.xml.style.XmlStyle;
import es.gob.afirma.signers.xml.style.*;
[ "es.gob.afirma" ]
es.gob.afirma;
303,538
public void add(String sName, Date rValue) { addElement(new DateDataElement(sName, rValue, null, null)); }
void function(String sName, Date rValue) { addElement(new DateDataElement(sName, rValue, null, null)); }
/*************************************** * Shortcut method to add a new {@link DateDataElement} with a certain name * and {@link Date} value. * * @param sName The name of the data element to add * @param rValue The value of the new data element */
Shortcut method to add a new <code>DateDataElement</code> with a certain name and <code>Date</code> value
add
{ "repo_name": "esoco/esoco-business", "path": "src/main/java/de/esoco/data/element/DataElementList.java", "license": "apache-2.0", "size": 20857 }
[ "java.util.Date" ]
import java.util.Date;
import java.util.*;
[ "java.util" ]
java.util;
893,594
@ServiceMethod(returns = ReturnType.SINGLE) void exportData(String resourceGroupName, String name, ExportRdbParameters parameters, Context context);
@ServiceMethod(returns = ReturnType.SINGLE) void exportData(String resourceGroupName, String name, ExportRdbParameters parameters, Context context);
/** * Export data from the redis cache to blobs in a container. * * @param resourceGroupName The name of the resource group. * @param name The name of the Redis cache. * @param parameters Parameters for Redis export operation. * @param context The context to associate with this operation. ...
Export data from the redis cache to blobs in a container
exportData
{ "repo_name": "Azure/azure-sdk-for-java", "path": "sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/fluent/RedisClient.java", "license": "mit", "size": 50974 }
[ "com.azure.core.annotation.ReturnType", "com.azure.core.annotation.ServiceMethod", "com.azure.core.util.Context", "com.azure.resourcemanager.redis.models.ExportRdbParameters" ]
import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; import com.azure.core.util.Context; import com.azure.resourcemanager.redis.models.ExportRdbParameters;
import com.azure.core.annotation.*; import com.azure.core.util.*; import com.azure.resourcemanager.redis.models.*;
[ "com.azure.core", "com.azure.resourcemanager" ]
com.azure.core; com.azure.resourcemanager;
1,081,674
public CurrencyAmount d2PriceDSpotDVolFD(final ForexOptionSingleBarrier optionForex, final BlackForexSmileProviderInterface smileMulticurves, final double relShift) { ArgumentChecker.notNull(optionForex, "Forex option"); ArgumentChecker.notNull(smileMulticurves, "Smile"); ArgumentChecker.isTrue(smileMulti...
CurrencyAmount function(final ForexOptionSingleBarrier optionForex, final BlackForexSmileProviderInterface smileMulticurves, final double relShift) { ArgumentChecker.notNull(optionForex, STR); ArgumentChecker.notNull(smileMulticurves, "Smile"); ArgumentChecker.isTrue(smileMulticurves.checkCurrencies(optionForex.getCurr...
/** * Computes the 2nd order cross sensitivity (to spot and vol) by centered finite difference of the price * @param optionForex A single barrier Forex option. * @param smileMulticurves The curve and smile data. * @param relShift The shift to the black volatility expressed relative to the input vol level ...
Computes the 2nd order cross sensitivity (to spot and vol) by centered finite difference of the price
d2PriceDSpotDVolFD
{ "repo_name": "jeorme/OG-Platform", "path": "projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/forex/provider/ForexOptionSingleBarrierBlackMethod.java", "license": "apache-2.0", "size": 40127 }
[ "com.opengamma.analytics.financial.forex.derivative.ForexOptionSingleBarrier", "com.opengamma.analytics.financial.provider.description.forex.BlackForexSmileProviderInterface", "com.opengamma.analytics.financial.provider.description.interestrate.MulticurveProviderInterface", "com.opengamma.util.ArgumentChecker...
import com.opengamma.analytics.financial.forex.derivative.ForexOptionSingleBarrier; import com.opengamma.analytics.financial.provider.description.forex.BlackForexSmileProviderInterface; import com.opengamma.analytics.financial.provider.description.interestrate.MulticurveProviderInterface; import com.opengamma.util.Argu...
import com.opengamma.analytics.financial.forex.derivative.*; import com.opengamma.analytics.financial.provider.description.forex.*; import com.opengamma.analytics.financial.provider.description.interestrate.*; import com.opengamma.util.*; import com.opengamma.util.money.*;
[ "com.opengamma.analytics", "com.opengamma.util" ]
com.opengamma.analytics; com.opengamma.util;
1,970,053
public Level setLevel( Level level );
Level function( Level level );
/** * Sets the validation level of field StructValue.put and TaggedDataOutput. * @param level * @return the old value */
Sets the validation level of field StructValue.put and TaggedDataOutput
setLevel
{ "repo_name": "OBIGOGIT/etch", "path": "binding-java/runtime/src/main/java/org/apache/etch/bindings/java/msg/ValueFactory.java", "license": "apache-2.0", "size": 5950 }
[ "org.apache.etch.bindings.java.msg.Validator" ]
import org.apache.etch.bindings.java.msg.Validator;
import org.apache.etch.bindings.java.msg.*;
[ "org.apache.etch" ]
org.apache.etch;
1,285,752
public void setMenu(View v) { mViewBehind.setContent(v); }
void function(View v) { mViewBehind.setContent(v); }
/** * Set the behind view (menu) content to the given View. * * @param view The desired content to display. */
Set the behind view (menu) content to the given View
setMenu
{ "repo_name": "qmc000/NewMessage", "path": "message/src/main/java/com/jeremyfeinstein/slidingmenu/lib/SlidingMenu.java", "license": "apache-2.0", "size": 28211 }
[ "android.view.View" ]
import android.view.View;
import android.view.*;
[ "android.view" ]
android.view;
219,015
public Observable<ServiceResponse<Page<ResourceUsageInner>>> checkResourceUsageNextSinglePageAsync(final String nextPageLink) { if (nextPageLink == null) { throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); }
Observable<ServiceResponse<Page<ResourceUsageInner>>> function(final String nextPageLink) { if (nextPageLink == null) { throw new IllegalArgumentException(STR); }
/** * Check the quota and actual usage of the CDN profiles under the given subscription. * ServiceResponse<PageImpl<ResourceUsageInner>> * @param nextPageLink The NextLink from the previous successful call to List operation. * @return the PagedList&lt;ResourceUsageInner&gt; object wrapped in {@link S...
Check the quota and actual usage of the CDN profiles under the given subscription
checkResourceUsageNextSinglePageAsync
{ "repo_name": "pomortaz/azure-sdk-for-java", "path": "azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/CdnManagementClientImpl.java", "license": "mit", "size": 36725 }
[ "com.microsoft.azure.Page", "com.microsoft.rest.ServiceResponse" ]
import com.microsoft.azure.Page; import com.microsoft.rest.ServiceResponse;
import com.microsoft.azure.*; import com.microsoft.rest.*;
[ "com.microsoft.azure", "com.microsoft.rest" ]
com.microsoft.azure; com.microsoft.rest;
1,784,861
// Vehicle v = (Vehicle) unit; // Rover rover = (Rover) v; String type = ((Vehicle) unit).getVehicleTypeString(); if (type.equalsIgnoreCase(VehicleType.EXPLORER_ROVER.getName())) buttonIcon = ImageLoader.getIcon("ExplorerRoverIcon", ImageLoader.VEHICLE_ICON_DIR); else if (type.equalsIgnoreCase(Vehic...
String type = ((Vehicle) unit).getVehicleTypeString(); if (type.equalsIgnoreCase(VehicleType.EXPLORER_ROVER.getName())) buttonIcon = ImageLoader.getIcon(STR, ImageLoader.VEHICLE_ICON_DIR); else if (type.equalsIgnoreCase(VehicleType.CARGO_ROVER.getName())) buttonIcon = ImageLoader.getIcon(STR, ImageLoader.VEHICLE_ICON_D...
/** * Gets the icon of this unit * (non-Javadoc) * @see org.mars_sim.msp.ui.standard.unit_display_info.UnitDisplayInfo#getButtonIcon() * * @param unit * @return the icon */
Gets the icon of this unit (non-Javadoc)
getButtonIcon
{ "repo_name": "mars-sim/mars-sim", "path": "mars-sim-ui/src/main/java/org/mars_sim/msp/ui/swing/unit_display_info/RoverDisplayInfoBean.java", "license": "gpl-3.0", "size": 2308 }
[ "org.mars_sim.msp.core.vehicle.Vehicle", "org.mars_sim.msp.core.vehicle.VehicleType", "org.mars_sim.msp.ui.swing.ImageLoader" ]
import org.mars_sim.msp.core.vehicle.Vehicle; import org.mars_sim.msp.core.vehicle.VehicleType; import org.mars_sim.msp.ui.swing.ImageLoader;
import org.mars_sim.msp.core.vehicle.*; import org.mars_sim.msp.ui.swing.*;
[ "org.mars_sim.msp" ]
org.mars_sim.msp;
2,136,054
public boolean getIntentToRetain(@NonNull String namespaceName, @NonNull String entryName) { java.util.Map<String, Boolean> innerMap = mRequestMap.get(namespaceName); if (innerMap == null) { throw new IllegalArgumentException("Namespace wasn't requested"); } ...
boolean function(@NonNull String namespaceName, @NonNull String entryName) { java.util.Map<String, Boolean> innerMap = mRequestMap.get(namespaceName); if (innerMap == null) { throw new IllegalArgumentException(STR); } Boolean value = innerMap.get(entryName); if (value == null) { throw new IllegalArgumentException(STR);...
/** * Gets the intent-to-retain value set by the reader for a data element in the request. * * @param namespaceName the name of the namespace. * @param entryName the name of the data element * @return whether the reader intents to retain the value. * @exception Ille...
Gets the intent-to-retain value set by the reader for a data element in the request
getIntentToRetain
{ "repo_name": "google/mdl-ref-apps", "path": "identity/src/main/java/androidx/security/identity/DeviceRequestParser.java", "license": "apache-2.0", "size": 18055 }
[ "androidx.annotation.NonNull", "androidx.annotation.Nullable", "co.nstant.in.cbor.model.Map", "java.security.cert.X509Certificate", "java.util.Collection" ]
import androidx.annotation.NonNull; import androidx.annotation.Nullable; import co.nstant.in.cbor.model.Map; import java.security.cert.X509Certificate; import java.util.Collection;
import androidx.annotation.*; import co.nstant.in.cbor.model.*; import java.security.cert.*; import java.util.*;
[ "androidx.annotation", "co.nstant.in", "java.security", "java.util" ]
androidx.annotation; co.nstant.in; java.security; java.util;
2,059,863
public void setDisableDatesFromString(ArrayList<String> disableDateStrings) { setDisableDatesFromString(disableDateStrings, null); }
void function(ArrayList<String> disableDateStrings) { setDisableDatesFromString(disableDateStrings, null); }
/** * Set disableDates from ArrayList of String. By default, the date formatter * is yyyy-MM-dd. For e.g 2013-12-24 * * @param disableDateStrings */
Set disableDates from ArrayList of String. By default, the date formatter is yyyy-MM-dd. For e.g 2013-12-24
setDisableDatesFromString
{ "repo_name": "Chyrain/MCSS2.x", "path": "src/com/roomorama/caldroid/CaldroidFragment.java", "license": "gpl-3.0", "size": 55122 }
[ "java.util.ArrayList" ]
import java.util.ArrayList;
import java.util.*;
[ "java.util" ]
java.util;
1,032,671
startGrids(1); JdbcThinTcpIo jdbcThinTcpIo = null; try { jdbcThinTcpIo = new JdbcThinTcpIo(new ConnectionPropertiesImpl(), new InetSocketAddress("127.0.0.1", 10800), 500); } finally { if (jdbcThinTcpIo != null) jdbcThinTcpIo.close...
startGrids(1); JdbcThinTcpIo jdbcThinTcpIo = null; try { jdbcThinTcpIo = new JdbcThinTcpIo(new ConnectionPropertiesImpl(), new InetSocketAddress(STR, 10800), 500); } finally { if (jdbcThinTcpIo != null) jdbcThinTcpIo.close(); } stopGrid(0); }
/** * Test connection to host with accessible address. * * @throws Exception If failed. */
Test connection to host with accessible address
testHostWithValidAddress
{ "repo_name": "ilantukh/ignite", "path": "modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTcpIoTest.java", "license": "apache-2.0", "size": 2711 }
[ "java.net.InetSocketAddress", "org.apache.ignite.internal.jdbc.thin.ConnectionPropertiesImpl", "org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo" ]
import java.net.InetSocketAddress; import org.apache.ignite.internal.jdbc.thin.ConnectionPropertiesImpl; import org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo;
import java.net.*; import org.apache.ignite.internal.jdbc.thin.*;
[ "java.net", "org.apache.ignite" ]
java.net; org.apache.ignite;
1,986,794
public void commitTransaction() throws SystemException { Long key = Long.valueOf(Thread.currentThread().getId()); TransactionImpl tx = txs.get(key); if (tx != null) { try { tx.commit(); } catch (Throwable t) { SystemExcep...
void function() throws SystemException { Long key = Long.valueOf(Thread.currentThread().getId()); TransactionImpl tx = txs.get(key); if (tx != null) { try { tx.commit(); } catch (Throwable t) { SystemException se = new SystemException(STR); se.initCause(t); throw se; } } else { throw new IllegalStateException(STR); } }
/** * Commit a transaction * @exception SystemException Thrown if an error occurs */
Commit a transaction
commitTransaction
{ "repo_name": "jesperpedersen/ironjacamar", "path": "core/src/main/java/org/ironjacamar/core/tx/noopts/TxRegistry.java", "license": "epl-1.0", "size": 3650 }
[ "javax.transaction.SystemException" ]
import javax.transaction.SystemException;
import javax.transaction.*;
[ "javax.transaction" ]
javax.transaction;
982,751
LabeledStmt withStmt(Mutation<Stmt> mutation);
LabeledStmt withStmt(Mutation<Stmt> mutation);
/** * Mutates the statement of this labeled statement. * * @param mutation the mutation to apply to the statement of this labeled statement. * @return the resulting mutated labeled statement. */
Mutates the statement of this labeled statement
withStmt
{ "repo_name": "ptitjes/jlato", "path": "src/main/java/org/jlato/tree/stmt/LabeledStmt.java", "license": "lgpl-3.0", "size": 2438 }
[ "org.jlato.util.Mutation" ]
import org.jlato.util.Mutation;
import org.jlato.util.*;
[ "org.jlato.util" ]
org.jlato.util;
2,226,313
@Operation(desc = "remove a user (only applicable when using the JAAS PropertiesLoginModule)", impact = MBeanOperationInfo.ACTION) void removeUser(@Parameter(name = "username", desc = "Name of the user") String username) throws Exception; @Operation(desc = "set new properties on an existing user (only appl...
@Operation(desc = STR, impact = MBeanOperationInfo.ACTION) void removeUser(@Parameter(name = STR, desc = STR) String username) throws Exception; @Operation(desc = STR, impact = MBeanOperationInfo.ACTION) void resetUser(@Parameter(name = STR, desc = STR) String username, @Parameter(name = STR, desc = STR) String passwor...
/** * Set new properties on an existing user (only applicable when using the JAAS PropertiesLoginModule). * * @param username * @param password * @param roles * @throws Exception */
Set new properties on an existing user (only applicable when using the JAAS PropertiesLoginModule)
resetUser
{ "repo_name": "gaohoward/activemq-artemis", "path": "artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java", "license": "apache-2.0", "size": 83324 }
[ "javax.management.MBeanOperationInfo" ]
import javax.management.MBeanOperationInfo;
import javax.management.*;
[ "javax.management" ]
javax.management;
1,925,383
public String getEICNDetailXML(javax.servlet.http.HttpServletRequest request) { String eicnDetailXML = null; String eicn = request.getParameter("eicn"); String detailType = ""; String repullRequest = ""; // boolean isEICNOnETRAM = false; try { // isEICNO...
String function(javax.servlet.http.HttpServletRequest request) { String eicnDetailXML = null; String eicn = request.getParameter("eicn"); String detailType = STRSTRuserrequestSTReicnstatusSTRuserrequestSTRuserrequestSTRpatientSTRinquirymanagerSTRmedicalserviceSTRMSTRBSTRHSTRASTRDSTRmedicalcobSTRMSTRBSTRDSTRHSTRASTRpati...
/** * Insert the method's description here. Creation date: (08/05/2003 9:54:51 AM) * * @return java.lang.String */
Insert the method's description here. Creation date: (08/05/2003 9:54:51 AM)
getEICNDetailXML
{ "repo_name": "ankitbaderiya/code-samples", "path": "ETRAMInquiryControl.java", "license": "mit", "size": 96362 }
[ "javax.servlet.http.HttpServletRequest" ]
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.*;
[ "javax.servlet" ]
javax.servlet;
1,429,248
protected final void immutableSetCustomSqlProvider( @NotNull final CustomSqlProvider customSqlProvider) { m__CustomSqlProvider = customSqlProvider; }
final void function( @NotNull final CustomSqlProvider customSqlProvider) { m__CustomSqlProvider = customSqlProvider; }
/** * Specifies the custom SQL provider. * @param customSqlProvider such provider. */
Specifies the custom SQL provider
immutableSetCustomSqlProvider
{ "repo_name": "rydnr/queryj-rt", "path": "queryj-core/src/main/java/org/acmsl/queryj/metadata/AbstractResultDecorator.java", "license": "gpl-2.0", "size": 28508 }
[ "org.acmsl.queryj.customsql.CustomSqlProvider", "org.jetbrains.annotations.NotNull" ]
import org.acmsl.queryj.customsql.CustomSqlProvider; import org.jetbrains.annotations.NotNull;
import org.acmsl.queryj.customsql.*; import org.jetbrains.annotations.*;
[ "org.acmsl.queryj", "org.jetbrains.annotations" ]
org.acmsl.queryj; org.jetbrains.annotations;
567,630