signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class RedisInner { /** * Import data into Redis cache .
* @ param resourceGroupName The name of the resource group .
* @ param name The name of the Redis cache .
* @ param parameters Parameters for Redis import operation .
* @ throws IllegalArgumentException thrown if parameters fail the validation
* @... | importDataWithServiceResponseAsync ( resourceGroupName , name , parameters ) . toBlocking ( ) . last ( ) . body ( ) ; |
public class JDBC4ClientConnection { /** * Executes a procedure synchronously and returns the result to the caller . The method
* internally tracks execution performance .
* @ param procedure
* the name of the procedure to call .
* @ param parameters
* the list of parameters to pass to the procedure .
* @ r... | ClientImpl currentClient = this . getClient ( ) ; if ( unit == null ) { unit = TimeUnit . SECONDS ; } try { // If connections are lost try reconnecting .
ClientResponse response = currentClient . callProcedureWithClientTimeout ( BatchTimeoutOverrideType . NO_TIMEOUT , procedure , timeout , unit , parameters ) ; return ... |
public class ChainResolver { /** * Compacts the given chain entry by resolving every key within .
* @ param entry an uncompacted heterogenous { @ link ServerStoreProxy . ChainEntry } */
public void compact ( ServerStoreProxy . ChainEntry entry ) { } } | ChainBuilder builder = new ChainBuilder ( ) ; for ( PutOperation < K , V > operation : resolveAll ( entry ) . values ( ) ) { builder = builder . add ( codec . encode ( operation ) ) ; } Chain compacted = builder . build ( ) ; if ( compacted . length ( ) < entry . length ( ) ) { entry . replaceAtHead ( compacted ) ; } |
public class HDRMetadata { /** * No document node */
@ Override protected IIOMetadataNode getStandardTextNode ( ) { } } | if ( header . getSoftware ( ) != null ) { IIOMetadataNode text = new IIOMetadataNode ( "Text" ) ; IIOMetadataNode textEntry = new IIOMetadataNode ( "TextEntry" ) ; textEntry . setAttribute ( "keyword" , "Software" ) ; textEntry . setAttribute ( "value" , header . getSoftware ( ) ) ; text . appendChild ( textEntry ) ; r... |
public class FieldConstraintsBuilder { /** * Creates days of week mapping .
* @ return Map where strings are weekday names in EEE format and integers correspond to their 1-7 mappings */
private static Map < String , Integer > daysOfWeekMapping ( ) { } } | final Map < String , Integer > stringMapping = new HashMap < > ( ) ; stringMapping . put ( "MON" , 1 ) ; stringMapping . put ( "TUE" , 2 ) ; stringMapping . put ( "WED" , 3 ) ; stringMapping . put ( "THU" , 4 ) ; stringMapping . put ( "FRI" , 5 ) ; stringMapping . put ( "SAT" , 6 ) ; stringMapping . put ( "SUN" , 7 ) ;... |
public class Groundy { /** * Inserts an ArrayList < Integer > value into the mapping of this Bundle , replacing any existing
* value for the given key . Either key or value may be null .
* @ param key a String , or null
* @ param value an ArrayList < Integer > object , or null */
public Groundy addIntegerArrayLis... | mArgs . putIntegerArrayList ( key , value ) ; return this ; |
public class AgentServlet { /** * Initialize the backend systems , the log handler and the restrictor . A subclass can tune
* this step by overriding { @ link # createRestrictor ( Configuration ) } } and { @ link # createLogHandler ( ServletConfig , boolean ) }
* @ param pServletConfig servlet configuration */
@ Ov... | super . init ( pServletConfig ) ; Configuration config = initConfig ( pServletConfig ) ; // Create a log handler early in the lifecycle , but not too early
String logHandlerClass = config . get ( ConfigKey . LOGHANDLER_CLASS ) ; logHandler = logHandlerClass != null ? ( LogHandler ) ClassUtil . newInstance ( logHandlerC... |
public class RemoveIpRoutesRequest { /** * IP address blocks that you want to remove .
* @ param cidrIps
* IP address blocks that you want to remove . */
public void setCidrIps ( java . util . Collection < String > cidrIps ) { } } | if ( cidrIps == null ) { this . cidrIps = null ; return ; } this . cidrIps = new com . amazonaws . internal . SdkInternalList < String > ( cidrIps ) ; |
public class OtpConnection { /** * Receive a messge complete with sender and recipient information .
* @ return an { @ link OtpMsg OtpMsg } containing the header information about
* the sender and recipient , as well as the actual message contents .
* @ exception java . io . IOException
* if the connection is n... | final Object o = queue . get ( ) ; if ( o instanceof OtpMsg ) { return ( OtpMsg ) o ; } else if ( o instanceof IOException ) { throw ( IOException ) o ; } else if ( o instanceof OtpErlangExit ) { throw ( OtpErlangExit ) o ; } else if ( o instanceof OtpAuthException ) { throw ( OtpAuthException ) o ; } return null ; |
public class DefaultGitHubClient { /** * Get commit statuses from the given commit status url
* Retrieve the most recent status for each unique context .
* See https : / / developer . github . com / v3 / repos / statuses / # list - statuses - for - a - specific - ref
* and https : / / developer . github . com / v... | Map < String , CommitStatus > statuses = new HashMap < > ( ) ; // decrypt password
String decryptedPassword = decryptString ( repo . getPassword ( ) , settings . getKey ( ) ) ; String personalAccessToken = ( String ) repo . getOptions ( ) . get ( "personalAccessToken" ) ; String decryptedPersonalAccessToken = decryptSt... |
public class DirectoryConnectSettingsDescription { /** * The IP addresses of the AD Connector servers .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setConnectIps ( java . util . Collection ) } or { @ link # withConnectIps ( java . util . Collection ) } if... | if ( this . connectIps == null ) { setConnectIps ( new com . amazonaws . internal . SdkInternalList < String > ( connectIps . length ) ) ; } for ( String ele : connectIps ) { this . connectIps . add ( ele ) ; } return this ; |
public class SpoonUtils { /** * Fetch or create a real device that corresponds to a device model . */
static IDevice obtainRealDevice ( AndroidDebugBridge adb , String serial ) { } } | // Get an existing real device .
for ( IDevice adbDevice : adb . getDevices ( ) ) { if ( adbDevice . getSerialNumber ( ) . equals ( serial ) ) { return adbDevice ; } } throw new IllegalArgumentException ( "Unknown device serial: " + serial ) ; |
public class CmsHtmlImport { /** * Add a new external link to the storage of external links . < p >
* All links in this storage are later used to create entries in the external link gallery . < p >
* @ param externalLink link to an external resource
* @ return the complete path to the external link file , if one ... | if ( ! CmsStringUtil . isEmptyOrWhitespaceOnly ( m_linkGallery ) ) { m_externalLinks . add ( externalLink ) ; return getExternalLinkFile ( externalLink ) ; } return null ; |
public class ApiOvhTelephony { /** * Get directory service code from an APE code ( principal activity of the firm code )
* REST : GET / telephony / { billingAccount } / service / { serviceName } / directory / getDirectoryServiceCode
* @ param apeCode [ required ]
* @ param billingAccount [ required ] The name of ... | String qPath = "/telephony/{billingAccount}/service/{serviceName}/directory/getDirectoryServiceCode" ; StringBuilder sb = path ( qPath , billingAccount , serviceName ) ; query ( sb , "apeCode" , apeCode ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t13 ) ; |
public class CourierTemplateSpecGenerator { /** * Return exception for unrecognized schema type . */
private static IllegalStateException unrecognizedSchemaType ( ClassTemplateSpec enclosingClass , String memberName , DataSchema schema ) { } } | return new IllegalStateException ( "Unrecognized schema: " + schema + enclosingClassAndMemberNameToString ( enclosingClass , memberName ) ) ; |
public class ProgrammaticWrappingProxyInstaller { /** * Wrap a package doc .
* @ param source the source
* @ return the wrapper . */
public PackageDoc [ ] wrap ( PackageDoc [ ] source ) { } } | if ( source == null ) { return null ; } final List < PackageDoc > list = new ArrayList < > ( ) ; for ( final PackageDoc element : source ) { if ( isIncluded ( element ) ) { list . add ( wrap ( element ) ) ; } } return Utils . toArray ( source , list ) ; |
public class AsciiString { /** * Returns an { @ link AsciiString } containing the given character sequence . If the given string is already a
* { @ link AsciiString } , just returns the same instance . */
public static AsciiString of ( CharSequence string ) { } } | return string . getClass ( ) == AsciiString . class ? ( AsciiString ) string : new AsciiString ( string ) ; |
public class Storage { /** * Post - construction initialization links all non - dropped members of group together . Returns the primary member
* of the group , other members are mirrors . */
static Storage initializeGroup ( Collection < Storage > group ) { } } | List < Storage > sorted = Ordering . natural ( ) . immutableSortedCopy ( group ) ; Storage primary = sorted . get ( 0 ) ; // After sorting , the first storage in each group is the primary .
if ( ! primary . isConsistent ( ) ) { // Dropping the primary drops the entire group ( primary + mirrors ) , so ' primary ' must b... |
public class BitString { /** * An efficient method for exchanging data between two bit strings . Both bit strings must
* be long enough that they contain the full length of the specified substring .
* @ param other The bitstring with which this bitstring should swap bits .
* @ param start The start position for t... | assertValidIndex ( start ) ; other . assertValidIndex ( start ) ; int word = start / WORD_LENGTH ; int partialWordSize = ( WORD_LENGTH - start ) % WORD_LENGTH ; if ( partialWordSize > 0 ) { swapBits ( other , word , 0xFFFFFFFF << ( WORD_LENGTH - partialWordSize ) ) ; ++ word ; } int remainingBits = length - partialWord... |
public class AuthorityKeyIdentifierExtension { /** * Return the encoded key identifier , or null if not specified . */
public byte [ ] getEncodedKeyIdentifier ( ) throws IOException { } } | if ( id != null ) { DerOutputStream derOut = new DerOutputStream ( ) ; id . encode ( derOut ) ; return derOut . toByteArray ( ) ; } return null ; |
public class AbstractConsoleServlet { /** * Check access rights to the servlets path - is checking ACLs of the console path
* @ param context the current request
* @ return ' true ' if access granted or access check switched off */
protected boolean checkConsoleAccess ( BeanContext context ) { } } | String consolePath = getConsolePath ( context ) ; if ( StringUtils . isNotBlank ( consolePath ) ) { return context . getResolver ( ) . getResource ( consolePath ) != null ; } return true ; |
public class ArangoResultConverter { /** * Build a GeoResults object with the ArangoCursor returned by query execution
* @ param cursor
* ArangoCursor containing query results
* @ return GeoResults object with all results */
@ SuppressWarnings ( { } } | "rawtypes" , "unchecked" } ) private GeoResults < ? > buildGeoResults ( final ArangoCursor < ? > cursor ) { final List < GeoResult < ? > > list = new LinkedList < > ( ) ; cursor . forEachRemaining ( o -> { final GeoResult < ? > geoResult = buildGeoResult ( o ) ; if ( geoResult != null ) { list . add ( geoResult ) ; } }... |
public class DatabaseManagerSwing { /** * Added : ( weconsultants @ users ) Needed to aggragate counts per table in jTree */
protected int [ ] getRowCounts ( Vector inTable , Vector inSchema ) throws Exception { } } | if ( ! displayRowCounts ) { return ( null ) ; } String rowCountSelect = "SELECT COUNT(*) FROM " ; int [ ] counts ; String name ; counts = new int [ inTable . size ( ) ] ; try { Statement select = rowConn . createStatement ( ) ; for ( int i = 0 ; i < inTable . size ( ) ; i ++ ) { try { String schemaPart = ( String ) inS... |
public class PlatformControl { /** * To be called by ServicePlatform when detected in the top - level application context . */
PlatformControl bind ( ServicePlatform p , XmlWebApplicationContext c , ClassLoader l ) { } } | _platform = p ; _root = c ; _cloader = l ; return this ; |
public class AmazonKinesisAsyncClient { /** * Simplified method form for invoking the PutRecord operation .
* @ see # putRecordAsync ( PutRecordRequest ) */
@ Override public java . util . concurrent . Future < PutRecordResult > putRecordAsync ( String streamName , java . nio . ByteBuffer data , String partitionKey ,... | return putRecordAsync ( new PutRecordRequest ( ) . withStreamName ( streamName ) . withData ( data ) . withPartitionKey ( partitionKey ) . withSequenceNumberForOrdering ( sequenceNumberForOrdering ) ) ; |
public class JGroupsTransport { /** * Delegator
* @ param logicalAddress The logical address
* @ param address The address */
public void join ( org . ironjacamar . core . spi . workmanager . Address logicalAddress , org . jgroups . Address address ) { } } | super . join ( logicalAddress , address ) ; |
public class RaftContext { /** * Sets the commit index .
* @ param commitIndex The commit index .
* @ return the previous commit index */
public long setCommitIndex ( long commitIndex ) { } } | checkArgument ( commitIndex >= 0 , "commitIndex must be positive" ) ; long previousCommitIndex = this . commitIndex ; if ( commitIndex > previousCommitIndex ) { this . commitIndex = commitIndex ; logWriter . commit ( Math . min ( commitIndex , logWriter . getLastIndex ( ) ) ) ; long configurationIndex = cluster . getCo... |
public class BoxApiFolder { /** * Gets a request that permanently deletes a folder from the trash
* @ param id id of folder to delete from the trash
* @ return request to permanently delete a folder from the trash */
public BoxRequestsFolder . DeleteTrashedFolder getDeleteTrashedFolderRequest ( String id ) { } } | BoxRequestsFolder . DeleteTrashedFolder request = new BoxRequestsFolder . DeleteTrashedFolder ( id , getTrashedFolderUrl ( id ) , mSession ) ; return request ; |
public class RDFDatabaseWriter { /** * Writes a single RDF : Description node to the XML stream .
* @ param account The account to write from .
* @ param writer The XML stream to write into .
* @ throws Exception . . . */
private void writeDescription ( Account account , XmlStreamWriter writer ) throws Exception ... | writer . writeStartElement ( "RDF:Description" ) ; writer . writeAttribute ( "RDF:about" , account . getId ( ) ) ; writer . writeAttribute ( "NS1:name" , account . getName ( ) ) ; writer . writeAttribute ( "NS1:description" , account . getDesc ( ) ) ; if ( ! account . isFolder ( ) ) { writer . writeAttribute ( "NS1:whe... |
public class EncodingUtil { /** * Collections */
protected < T > void writeArray ( T [ ] values , WriteOp < T > writer ) { } } | writeList ( Arrays . asList ( values ) , writer ) ; |
public class DynamicLoader { /** * Dynamically loads objects from a Properties object .
* Supports the use of a dynamic initializer
* ( see { @ link org . gautelis . vopn . lang . DynamicInitializer } & lt ; C & gt ; )
* The < i > assignKey < / i > parameter instructs the loader to
* assign the key name to the ... | Iterator keys = map . keySet ( ) . iterator ( ) ; while ( keys . hasNext ( ) ) { String key = ( String ) keys . next ( ) ; String _className = map . getProperty ( key ) ; String className = ( _className != null ? _className . trim ( ) : null ) ; if ( null == className || className . length ( ) == 0 ) { String info = "M... |
public class GetCoreDefinitionVersionRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( GetCoreDefinitionVersionRequest getCoreDefinitionVersionRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( getCoreDefinitionVersionRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getCoreDefinitionVersionRequest . getCoreDefinitionId ( ) , COREDEFINITIONID_BINDING ) ; protocolMarshaller . marshall ( getCoreDefinitionVersionRequest ... |
public class SqlModifyBuilder { /** * Generate SQL .
* @ param method
* the method
* @ param methodBuilder
* the method builder */
public static void generateSQL ( final SQLiteModelMethod method , MethodSpec . Builder methodBuilder ) { } } | JQLChecker jqlChecker = JQLChecker . getInstance ( ) ; methodBuilder . addCode ( "\n// generate sql\n" ) ; String sql = jqlChecker . replace ( method , method . jql , new JQLReplacerListenerImpl ( method ) { @ Override public String onColumnNameToUpdate ( String columnName ) { // only entity ' s columns
return currentE... |
public class UnmappedReads { /** * Checks and adds the read if we need to remember it for injection .
* Returns true if the read was added . */
@ Override public boolean maybeAddRead ( Read read ) { } } | if ( ! isUnmappedMateOfMappedRead ( read ) ) { return false ; } final String reference = read . getNextMatePosition ( ) . getReferenceName ( ) ; String key = getReadKey ( read ) ; Map < String , ArrayList < Read > > reads = unmappedReads . get ( reference ) ; if ( reads == null ) { reads = new HashMap < String , ArrayL... |
public class Type { /** * Creates a new instance of the type .
* The returned instances are created using the default ( no - arg ) constructor
* if this Type does not represent an array . On the contrary , if this Type
* represents an array , an array object of zero - size dimensions is returned
* ( like " Stri... | if ( this . arrayDimensions == 0 ) { return this . componentClass . newInstance ( ) ; } final int [ ] zeroDims = new int [ this . arrayDimensions ] ; Arrays . fill ( zeroDims , 0 ) ; return Array . newInstance ( this . componentClass , zeroDims ) ; |
public class MnoHttpClient { /** * Perform a GET request on the specified endpoint
* @ param url
* @ return response body
* @ throws ApiException
* @ throws AuthenticationException */
public String get ( String url ) throws AuthenticationException , ApiException { } } | return performRequest ( url , "GET" , null , null , null ) ; |
public class Pair { /** * Returns a Pair constructed from X and Y . Convenience method ; the
* compiler will disambiguate the classes used for you so that you
* don ' t have to write out potentially long class names . */
public static < X , Y > Pair < X , Y > makePair ( X x , Y y ) { } } | return new Pair < X , Y > ( x , y ) ; |
public class EntityIntrospector { /** * Processes the entity class and any super classes that are MappedSupperClasses and returns the
* fields .
* @ return all fields of the entity hierarchy . */
private List < Field > getAllFields ( ) { } } | List < Field > allFields = new ArrayList < > ( ) ; Class < ? > clazz = entityClass ; boolean stop ; do { List < Field > fields = IntrospectionUtils . getPersistableFields ( clazz ) ; allFields . addAll ( fields ) ; clazz = clazz . getSuperclass ( ) ; stop = clazz == null || ! clazz . isAnnotationPresent ( MappedSuperCl... |
public class ExportQueue { /** * TODO maybe add for stream and iterable */
public static < K2 , V2 > ExportQueue < K2 , V2 > getInstance ( String exportQueueId , SimpleConfiguration appConfig ) { } } | FluentConfigurator opts = FluentConfigurator . load ( exportQueueId , appConfig ) ; try { return new ExportQueue < > ( opts , SimpleSerializer . getInstance ( appConfig ) ) ; } catch ( Exception e ) { // TODO
throw new RuntimeException ( e ) ; } |
public class ServletTask { /** * Process an HTML get or post .
* @ exception ServletException From inherited class .
* @ exception IOException From inherited class . */
public void doProcessOutput ( BasicServlet servlet , HttpServletRequest req , HttpServletResponse res , PrintWriter outExt , ScreenModel screen ) t... | PrintWriter out = outExt ; if ( screen == null ) { if ( out != null ) out . println ( "Error: default screen not available" ) ; } else { try { // create and execute the query
// if no parameters , just print the form
String strDatatype = this . getProperty ( DBParams . DATATYPE ) ; // Raw data ( such as in image from t... |
public class JDBCResultSet { /** * < ! - - start generic documentation - - >
* Updates the designated column with an < code > int < / code > value .
* The updater methods are used to update column values in the
* current row or the insert row . The updater methods do not
* update the underlying database ; inste... | startUpdate ( columnIndex ) ; preparedStatement . setIntParameter ( columnIndex , x ) ; |
public class AbstractDataBinder { /** * Notifies all listeners , that the data binder starts to load data asynchronously .
* @ param key
* The key of the data , which should be loaded , as an instance of the generic type
* KeyType . The key may not be null
* @ param params
* An array , which contains optional... | boolean result = true ; for ( Listener < DataType , KeyType , ViewType , ParamType > listener : listeners ) { result &= listener . onLoadData ( this , key , params ) ; } return result ; |
public class JavaClasspathParser { /** * Decodes one XML element with the XML stream .
* @ param element
* - the considered element
* @ param projectName
* - the name of project containing the . classpath file
* @ param projectRootAbsoluteFullPath
* - he path to project containing the . classpath file
* @... | "checkstyle:npathcomplexity" , "checkstyle:cyclomaticcomplexity" } ) public static IClasspathEntry elementDecode ( Element element , String projectName , IPath projectRootAbsoluteFullPath , Map < IPath , UnknownXmlElements > unknownElements ) { final IPath projectPath = projectRootAbsoluteFullPath ; final NamedNodeMap ... |
public class ZooKeeperMasterModel { /** * Given a jobId and host , returns the N most recent events in its history on that host in the
* cluster . */
@ Override public List < TaskStatusEvent > getJobHistory ( final JobId jobId , final String host ) throws JobDoesNotExistException { } } | final Job descriptor = getJob ( jobId ) ; if ( descriptor == null ) { throw new JobDoesNotExistException ( jobId ) ; } final ZooKeeperClient client = provider . get ( "getJobHistory" ) ; final List < String > hosts ; try { hosts = ( ! isNullOrEmpty ( host ) ) ? singletonList ( host ) : client . getChildren ( Paths . hi... |
public class CollectionUtils { /** * As character type array .
* @ param input the input
* @ return the char [ ] */
public static char [ ] asCharacterTypeArray ( List < Character > input ) { } } | char [ ] result = new char [ input . size ( ) ] ; for ( int i = 0 ; i < result . length ; i ++ ) { result [ i ] = input . get ( i ) ; } return result ; |
public class Ifc2x3tc1FactoryImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public String convertIfcDimensionExtentUsageToString ( EDataType eDataType , Object instanceValue ) { } } | return instanceValue == null ? null : instanceValue . toString ( ) ; |
public class TaskManager { /** * Checks , whether the given strings describe existing directories that are writable . If that is not
* the case , an exception is raised .
* @ param tempDirs
* An array of strings which are checked to be paths to writable directories .
* @ throws Exception
* Thrown , if any of ... | for ( int i = 0 ; i < tempDirs . length ; ++ i ) { final String dir = tempDirs [ i ] ; if ( dir == null ) { throw new Exception ( "Temporary file directory #" + ( i + 1 ) + " is null." ) ; } final File f = new File ( dir ) ; if ( ! f . exists ( ) ) { throw new Exception ( "Temporary file directory '" + f . getAbsoluteP... |
public class CmsDriverManager { /** * Undelete the resource . < p >
* @ param dbc the current database context
* @ param resource the name of the resource to apply this operation to
* @ throws CmsException if something goes wrong
* @ see CmsObject # undeleteResource ( String , boolean )
* @ see I _ CmsResourc... | if ( ! resource . getState ( ) . isDeleted ( ) ) { throw new CmsVfsException ( Messages . get ( ) . container ( Messages . ERR_UNDELETE_FOR_RESOURCE_DELETED_1 , dbc . removeSiteRoot ( resource . getRootPath ( ) ) ) ) ; } // set the state to changed
resource . setState ( CmsResourceState . STATE_CHANGED ) ; // perform t... |
public class HashUtilities { /** * This method converts a byte array into a string converting each byte into
* a 2 - digit hex representation and appending them all together .
* @ param byteArray
* is the array of bytes to be converted .
* @ return A { @ link String } is returned representing the byte array . *... | if ( byteArray == null ) { throw new IllegalArgumentException ( "Byte array must not be null!" ) ; } StringBuffer hexString = new StringBuffer ( ) ; for ( int i = 0 ; i < byteArray . length ; i ++ ) { int digit = 0xFF & byteArray [ i ] ; String hexDigits = Integer . toHexString ( digit ) ; if ( hexDigits . length ( ) <... |
public class JsQueue { /** * 673411 - start */
public QueuedMessage [ ] getQueuedMessages ( java . lang . Integer fromIndexInteger , java . lang . Integer toIndexInteger , java . lang . Integer totalMessagesPerpageInteger ) throws Exception { } } | int fromIndex = fromIndexInteger . intValue ( ) ; int toIndex = toIndexInteger . intValue ( ) ; int totalMessagesPerpage = totalMessagesPerpageInteger . intValue ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getQueuedMessages fromIndex=" + fromIndex + " toIndex=... |
public class AbstractControllerServer { /** * @ param fieldNumber
* @ param value
* @ throws CouldNotPerformException */
protected final void setDataField ( int fieldNumber , Object value ) throws CouldNotPerformException { } } | try { try { dataBuilderWriteLock . lock ( ) ; Descriptors . FieldDescriptor findFieldByName = dataBuilder . getDescriptorForType ( ) . findFieldByNumber ( fieldNumber ) ; if ( findFieldByName == null ) { throw new NotAvailableException ( "Field[" + fieldNumber + "] does not exist for type " + dataBuilder . getClass ( )... |
public class ReportUtil { /** * Get report version from input stream to read report file
* @ param is
* input stream
* @ return report version */
public static String getVersion ( InputStream is ) { } } | try { String text = readAsString ( is ) ; return getVersionFromText ( text ) ; } catch ( IOException e ) { LOG . error ( e . getMessage ( ) , e ) ; return null ; } |
public class IdemixIssuerPublicKey { /** * check whether the issuer public key is correct
* @ return true iff valid */
public boolean check ( ) { } } | // check formalities of IdemixIssuerPublicKey
if ( AttributeNames == null || Hsk == null || HRand == null || HAttrs == null || BarG1 == null || BarG1 . is_infinity ( ) || BarG2 == null || HAttrs . length < AttributeNames . length ) { return false ; } for ( int i = 0 ; i < AttributeNames . length ; i ++ ) { if ( HAttrs ... |
public class GeometryFactory { /** * Create a new { @ link Polygon } from a { @ link Bbox } .
* @ param bbox
* Bounding box to convert into a { @ link Polygon } .
* @ return Returns a { @ link Polygon } object . */
public Polygon createPolygon ( Bbox bbox ) { } } | Coordinate tl = new Coordinate ( bbox . getX ( ) , bbox . getY ( ) ) ; Coordinate tr = new Coordinate ( bbox . getX ( ) + bbox . getWidth ( ) , bbox . getY ( ) ) ; Coordinate br = new Coordinate ( bbox . getX ( ) + bbox . getWidth ( ) , bbox . getY ( ) + bbox . getHeight ( ) ) ; Coordinate bl = new Coordinate ( bbox . ... |
public class QuickSelectSketch { /** * Converts the current state of the sketch into a compact sketch
* @ return compact sketch */
@ SuppressWarnings ( "unchecked" ) public CompactSketch < S > compact ( ) { } } | if ( getRetainedEntries ( ) == 0 ) { return new CompactSketch < > ( null , null , theta_ , isEmpty_ ) ; } final long [ ] keys = new long [ getRetainedEntries ( ) ] ; final S [ ] summaries = ( S [ ] ) Array . newInstance ( summaries_ . getClass ( ) . getComponentType ( ) , getRetainedEntries ( ) ) ; int i = 0 ; for ( in... |
public class DNAToRNATranslator { /** * Overloaded local version which delegates to an optional translator
* when told to ( specified during construction ) .
* @ param originalSequence The DNA sequence to translate
* @ return The translated single sequence */
@ Override public List < Sequence < NucleotideCompound... | if ( shortCutTranslation ) { List < Sequence < NucleotideCompound > > result = new ArrayList < Sequence < NucleotideCompound > > ( 1 ) ; result . add ( wrapToRna ( originalSequence ) ) ; return result ; } else { return super . createSequences ( originalSequence ) ; } |
public class BaseMessageTransport { /** * Initialize the RecordOwner .
* @ param parentSessionObject Parent that created this session object .
* @ param record Main record for this session ( opt ) .
* @ param objectID ObjectID of the object that this SessionObject represents ( usually a URL or bookmark ) . */
pub... | super . init ( parent , recordMain , properties ) ; if ( properties != null ) m_propTransport = properties ; else m_propTransport = this . getTransportProperties ( ) ; |
public class SystemApi { /** * Get config . json file .
* Returns config . json file .
* @ return ApiResponse & lt ; DynconfigGetConfigResponse & gt ;
* @ throws ApiException If fail to call the API , e . g . server error or cannot deserialize the response body */
public ApiResponse < DynconfigGetConfigResponse >... | com . squareup . okhttp . Call call = dynconfigGetConfigValidateBeforeCall ( null , null ) ; Type localVarReturnType = new TypeToken < DynconfigGetConfigResponse > ( ) { } . getType ( ) ; return apiClient . execute ( call , localVarReturnType ) ; |
public class OptionsCheckForUpdatesPanel { /** * This method initializes panelMisc
* @ return javax . swing . JPanel */
private JPanel getPanelMisc ( ) { } } | if ( panelMisc == null ) { panelMisc = new JPanel ( ) ; panelMisc . setLayout ( new GridBagLayout ( ) ) ; JPanel zapPanel = new JPanel ( ) ; zapPanel . setLayout ( new GridBagLayout ( ) ) ; zapPanel . setBorder ( BorderFactory . createTitledBorder ( null , Constant . messages . getString ( "cfu.options.zap.border" ) , ... |
public class ResourcePattern { /** * Matches the given resource URI against the pattern .
* @ param resource the URI specifying the resource to match
* @ return - 1 if the resource does not match , else the number
* of prefix segments ( which may be 0) */
@ SuppressWarnings ( { } } | "PMD.CyclomaticComplexity" , "PMD.NPathComplexity" , "PMD.CollapsibleIfStatements" , "PMD.DataflowAnomalyAnalysis" } ) public int matches ( URI resource ) { if ( protocol != null && ! protocol . equals ( "*" ) ) { if ( resource . getScheme ( ) == null ) { return - 1 ; } if ( Arrays . stream ( protocol . split ( "," ) )... |
public class AggregatorExtension { /** * / * ( non - Javadoc )
* @ see com . ibm . jaggr . service . IAggregator . ILoadedExtension # getExtensionPointId ( ) */
@ Override public String getExtensionPointId ( ) { } } | final String sourceMethod = "getExtensionPointId" ; // $ NON - NLS - 1 $
boolean isTraceLogging = log . isLoggable ( Level . FINER ) ; if ( isTraceLogging ) { log . entering ( AggregatorExtension . class . getName ( ) , sourceMethod ) ; log . exiting ( AggregatorExtension . class . getName ( ) , sourceMethod , extensio... |
public class Flowable { /** * Returns a Flowable that emits the item found at a specified index in a sequence of emissions from
* this Flowable , or a default item if that index is out of range .
* < img width = " 640 " height = " 310 " src = " https : / / raw . github . com / wiki / ReactiveX / RxJava / images / r... | if ( index < 0 ) { throw new IndexOutOfBoundsException ( "index >= 0 required but it was " + index ) ; } ObjectHelper . requireNonNull ( defaultItem , "defaultItem is null" ) ; return RxJavaPlugins . onAssembly ( new FlowableElementAtSingle < T > ( this , index , defaultItem ) ) ; |
public class PathWrapper { /** * Calculates the 2D bounding box of this route */
public BBox calcBBox2D ( ) { } } | check ( "calcRouteBBox" ) ; BBox bounds = BBox . createInverse ( false ) ; for ( int i = 0 ; i < pointList . getSize ( ) ; i ++ ) { bounds . update ( pointList . getLatitude ( i ) , pointList . getLongitude ( i ) ) ; } return bounds ; |
public class DataSetAssertion { /** * Get information for the assertion .
* @ param type Type of iterator
* @ return An iterator for the specified data . */
Iterator < Row > data ( IteratorType type ) { } } | Iterator < Row > itr ; switch ( type ) { case EXPECTED_DATA : itr = data . getRows ( ) . iterator ( ) ; break ; case ERRORS_EXPECTED : itr = delta . deleted ( ) ; break ; case ERRORS_ACTUAL : itr = delta . inserted ( ) ; break ; default : throw new InternalErrorException ( "Unexpected case!" ) ; } return itr ; |
public class KamDialect { /** * { @ inheritDoc } */
@ Override public Set < KamNode > getAdjacentNodes ( KamNode kamNode ) { } } | return wrapNodes ( kam . getAdjacentNodes ( kamNode ) ) ; |
public class StatisticsEditsVisitor { /** * Increment the op code counter
* @ param opCode opCode for which to increment count */
private void incrementOpCodeCount ( Byte opCode ) { } } | if ( ! opCodeCount . containsKey ( opCode ) ) { opCodeCount . put ( opCode , 0L ) ; } Long newValue = opCodeCount . get ( opCode ) + 1 ; opCodeCount . put ( opCode , newValue ) ; |
public class ZRTP { /** * Thread run method */
private void runSession ( ) { } } | if ( ! started ) { logString ( "Thread Starting" ) ; completed = false ; seqNum = getStartSeqNum ( ) ; rtpStack . setNextZrtpSequenceNumber ( getStartSeqNum ( ) ) ; state = ZRTP_STATE_INACTIVE ; initiator = false ; hashMode = HashType . UNDEFINED ; dhMode = KeyAgreementType . DH3K ; sasMode = SasType . UNDEFINED ; farE... |
public class TouchActions { /** * Allows the execution of the gesture ' up ' on the screen . It is typically the last of a sequence
* of touch gestures .
* @ param x The x coordinate relative to the viewport
* @ param y The y coordinate relative to the viewport
* @ return self */
public TouchActions up ( int x ... | if ( touchScreen != null ) { action . addAction ( new UpAction ( touchScreen , x , y ) ) ; } return this ; |
public class Pattern { /** * Appends a new group pattern to the existing one . The new pattern enforces non - strict
* temporal contiguity . This means that a matching event of this pattern and the
* preceding matching event might be interleaved with other events which are ignored .
* @ param group the pattern to... | return new GroupPattern < > ( this , group , ConsumingStrategy . SKIP_TILL_NEXT , afterMatchSkipStrategy ) ; |
public class EvernoteHtmlHelper { /** * Makes a GET request to download the note content as HTML . Call { @ link # parseBody ( Response ) }
* to get the note content from the returned response .
* @ param noteGuid The desired note .
* @ return The server response . You can check the status code if the request was... | String url = mBaseUrl + '/' + noteGuid ; return fetchEvernoteUrl ( url ) ; |
public class TextDataLoader { /** * To be called by the { @ link # initialLoad ( ) } method .
* It will take in the text and add a new document
* vector to the data set . Once all text documents
* have been loaded , this method should never be
* called again . < br >
* < br >
* This method is thread safe . ... | if ( noMoreAdding ) throw new RuntimeException ( "Initial data set has been finalized" ) ; StringBuilder localWorkSpace = workSpace . get ( ) ; List < String > localStorageSpace = storageSpace . get ( ) ; Map < String , Integer > localWordCounts = wordCounts . get ( ) ; if ( localWorkSpace == null ) { localWorkSpace = ... |
public class StandardBullhornData { /** * { @ inheritDoc } */
@ Override public FileApiResponse deleteFile ( Class < ? extends FileEntity > type , Integer entityId , Integer fileId ) { } } | return this . handleDeleteFile ( type , entityId , fileId ) ; |
public class JCudaDriver { /** * Computes the elapsed time between two events .
* < pre >
* CUresult cuEventElapsedTime (
* float * pMilliseconds ,
* CUevent hStart ,
* CUevent hEnd )
* < / pre >
* < div >
* < p > Computes the elapsed time between two
* events . Computes the elapsed time between two e... | return checkResult ( cuEventElapsedTimeNative ( pMilliseconds , hStart , hEnd ) ) ; |
public class IPMolecularLearningDescriptor { /** * It calculates the first ionization energy of a molecule .
* @ param atomContainer AtomContainer
* @ return The first ionization energy */
@ Override public DescriptorValue calculate ( IAtomContainer atomContainer ) { } } | IAtomContainer local ; if ( addlp ) { try { local = ( IAtomContainer ) atomContainer . clone ( ) ; LonePairElectronChecker lpcheck = new LonePairElectronChecker ( ) ; lpcheck . saturate ( local ) ; } catch ( CloneNotSupportedException e ) { return new DescriptorValue ( getSpecification ( ) , getParameterNames ( ) , get... |
public class SslContextBuilder { /** * The cipher suites to enable , in the order of preference . { @ code cipherFilter } will be
* applied to the ciphers before use . If { @ code ciphers } is { @ code null } , then the default
* cipher suites will be used . */
public SslContextBuilder ciphers ( Iterable < String >... | checkNotNull ( cipherFilter , "cipherFilter" ) ; this . ciphers = ciphers ; this . cipherFilter = cipherFilter ; return this ; |
public class RemoteBrowserIterator { /** * / * ( non - Javadoc )
* @ see java . util . Iterator # remove ( ) */
public void remove ( ) { } } | if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "remove" ) ; browserIterator . remove ( ) ; if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "remove" ) ; |
public class LogRecordTableModel { /** * { time , state , taskID , taskType } */
@ Override public Object getValueAt ( int rowIndex , int columnIndex ) { } } | LogRecord log = logRecords . get ( rowIndex ) ; if ( log != null ) { Object [ ] params = log . getParameters ( ) ; switch ( columnIndex ) { case 0 : return Integer . parseInt ( ( String ) log . getParameters ( ) [ 0 ] ) ; case 1 : if ( params != null ) { return log . getParameters ( ) [ 1 ] ; } break ; case 2 : if ( pa... |
public class ArrayDatabase { @ Override public synchronized void put ( Integer key , T value ) { } } | int intKey = key ; while ( this . data . size ( ) <= intKey ) { this . data . add ( null ) ; } if ( this . data . get ( intKey ) != null ) { throw new DatabaseException ( "Database already has a value for key [" + key + "]" ) ; } this . data . set ( intKey , value ) ; |
public class CreateFunctionFromMethod { /** * Find out if the function is defined . It might be defined in the
* FunctionForVoltDB table . It also might be in the VoltXML .
* @ param functionName
* @ return */
private boolean isDefinedFunctionName ( String functionName ) { } } | return FunctionForVoltDB . isFunctionNameDefined ( functionName ) || FunctionSQL . isFunction ( functionName ) || FunctionCustom . getFunctionId ( functionName ) != ID_NOT_DEFINED || ( null != m_schema . findChild ( "ud_function" , functionName ) ) ; |
public class LineSegmentPath { /** * Add a node to the path with the specified destination point and facing direction .
* @ param x the x - position .
* @ param y the y - position .
* @ param dir the facing direction . */
public void addNode ( int x , int y , int dir ) { } } | _nodes . add ( new PathNode ( x , y , dir ) ) ; |
public class Firmata { /** * Add a messageListener to the Firmata object which will fire whenever a matching message is received
* over the SerialPort that corresponds to the given DigitalChannel .
* @ param channel DigitalChannel to listen on
* @ param messageListener MessageListener object to handle a received ... | addListener ( channel . getIdentifier ( ) , messageListener . getMessageType ( ) , messageListener ) ; |
public class ArrayELResolver { /** * If the base object is a Java language array , attempts to set the value at the given index
* with the given value . The index is specified by the property argument , and coerced into an
* integer . If the coercion could not be performed , an IllegalArgumentException is thrown . ... | if ( context == null ) { throw new NullPointerException ( "context is null" ) ; } if ( isResolvable ( base ) ) { if ( readOnly ) { throw new PropertyNotWritableException ( "resolver is read-only" ) ; } Array . set ( base , toIndex ( base , property ) , value ) ; context . setPropertyResolved ( true ) ; } |
public class UsbDeviceUtilities { /** * Return an integer product ID from a URI specifying a USB device .
* @ param uri the USB device URI
* @ throws DataSourceResourceException If the URI doesn ' t match the
* format usb : / / vendor _ id / device _ id */
public static int productFromUri ( URI uri ) throws DataS... | try { return Integer . parseInt ( uri . getPath ( ) . substring ( 1 ) , 16 ) ; } catch ( NumberFormatException e ) { throw new DataSourceResourceException ( "USB device must be of the format " + DEFAULT_USB_DEVICE_URI + " -- the given " + uri + " has a bad product ID" ) ; } catch ( StringIndexOutOfBoundsException e ) {... |
public class PlanAssembler { /** * Check if we can push the limit node down .
* Return a mid - plan send node , if one exists and can host a
* distributed limit node .
* There is guaranteed to be at most a single receive / send pair .
* Abort the search if a node that a " limit " can ' t be pushed past
* is f... | AbstractPlanNode receiveNode = root ; List < ParsedColInfo > orderBys = m_parsedSelect . orderByColumns ( ) ; boolean orderByCoversAllGroupBy = m_parsedSelect . groupByIsAnOrderByPermutation ( ) ; while ( ! ( receiveNode instanceof ReceivePlanNode ) ) { // Limitation : can only push past some nodes ( see above comment ... |
public class ObjectUtils { /** * Makes a shallow copy of the source object into the target one .
* This method differs from { @ link ReflectionUtils # shallowCopyFieldState ( Object , Object ) } this doesn ' t require
* source and target objects to share the same class hierarchy .
* @ param source
* the source ... | ObjectUtils . doShallowCopy ( source , target , Boolean . TRUE ) ; |
public class Comment { /** * Return serialField tags in this comment . */
SerialFieldTag [ ] serialFieldTags ( ) { } } | ListBuffer < SerialFieldTag > found = new ListBuffer < > ( ) ; for ( Tag next : tagList ) { if ( next instanceof SerialFieldTag ) { found . append ( ( SerialFieldTag ) next ) ; } } return found . toArray ( new SerialFieldTag [ found . length ( ) ] ) ; |
public class DataMediaServiceImpl { /** * 添加 */
@ Override public void create ( DataMedia dataMedia ) { } } | Assert . assertNotNull ( dataMedia ) ; try { DataMediaDO dataMediaDo = modelToDo ( dataMedia ) ; dataMediaDo . setId ( 0L ) ; if ( ! dataMediaDao . checkUnique ( dataMediaDo ) ) { String exceptionCause = "exist the same name dataMedia in the database." ; logger . warn ( "WARN ## " + exceptionCause ) ; throw new RepeatC... |
public class JdbcUtils { /** * Retrieve all index names */
public static Set < String > getForeignKeys ( DriverTypeEnum . ConnectionProperties theConnectionProperties , String theTableName , String theForeignTable ) throws SQLException { } } | DataSource dataSource = Objects . requireNonNull ( theConnectionProperties . getDataSource ( ) ) ; try ( Connection connection = dataSource . getConnection ( ) ) { return theConnectionProperties . getTxTemplate ( ) . execute ( t -> { DatabaseMetaData metadata ; try { metadata = connection . getMetaData ( ) ; ResultSet ... |
public class UniverseApi { /** * Get constellation information Get information on a constellation - - - This
* route expires daily at 11:05
* @ param constellationId
* constellation _ id integer ( required )
* @ param acceptLanguage
* Language to use in the response ( optional , default to en - us )
* @ par... | ApiResponse < ConstellationResponse > resp = getUniverseConstellationsConstellationIdWithHttpInfo ( constellationId , acceptLanguage , datasource , ifNoneMatch , language ) ; return resp . getData ( ) ; |
public class QueryTracker { /** * Enforce query max runtime / execution time limits */
private void enforceTimeLimits ( ) { } } | for ( T query : queries . values ( ) ) { if ( query . isDone ( ) ) { continue ; } Duration queryMaxRunTime = getQueryMaxRunTime ( query . getSession ( ) ) ; Duration queryMaxExecutionTime = getQueryMaxExecutionTime ( query . getSession ( ) ) ; Optional < DateTime > executionStartTime = query . getExecutionStartTime ( )... |
public class sms_profile { /** * Use this API to fetch filtered set of sms _ profile resources .
* filter string should be in JSON format . eg : " vm _ state : DOWN , name : [ a - z ] + " */
public static sms_profile [ ] get_filtered ( nitro_service service , String filter ) throws Exception { } } | sms_profile obj = new sms_profile ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; sms_profile [ ] response = ( sms_profile [ ] ) obj . getfiltered ( service , option ) ; return response ; |
public class DeleteChecker { /** * Checks each item in the list of files stored at the endpoint ( relative
* file paths ) against each sync directory to see if there is a matching
* local file . If there is no matching file , that means that the file which
* exists in the endpoint no longer exists in the local so... | logger . info ( "Running Delete Checker" ) ; while ( filesList . hasNext ( ) && ! stopped ) { String contentId = filesList . next ( ) ; if ( null != prefix ) { // A prefix is being used
if ( contentId . startsWith ( prefix ) ) { if ( ! exists ( contentId . substring ( prefix . length ( ) ) ) ) { deleteContent ( content... |
public class RegularFile { /** * Transfers up to { @ code count } bytes to the given channel starting at position { @ code pos } in
* this file . Returns the number of bytes transferred , possibly 0 . Note that unlike all other read
* methods in this class , this method does not return - 1 if { @ code pos } is grea... | long bytesToRead = bytesToRead ( pos , count ) ; if ( bytesToRead > 0 ) { long remaining = bytesToRead ; int blockIndex = blockIndex ( pos ) ; byte [ ] block = blocks [ blockIndex ] ; int off = offsetInBlock ( pos ) ; ByteBuffer buf = ByteBuffer . wrap ( block , off , length ( off , remaining ) ) ; while ( buf . hasRem... |
public class AppDeployer { /** * Deploy only cron . yaml . */
public void deployCron ( ) throws MojoExecutionException { } } | stager . stage ( ) ; try { deployMojo . getAppEngineFactory ( ) . deployment ( ) . deployCron ( configBuilder . buildDeployProjectConfigurationConfiguration ( appengineDirectory ) ) ; } catch ( AppEngineException ex ) { throw new MojoExecutionException ( "Failed to deploy" , ex ) ; } |
public class CmsResourceFilter { /** * Returns an extended filter in order to avoid the given flags in the filtered resources . < p >
* @ param flags the resource flags to exclude
* @ return a filter excluding the given resource flags */
public CmsResourceFilter addExcludeFlags ( int flags ) { } } | CmsResourceFilter extendedFilter = ( CmsResourceFilter ) clone ( ) ; extendedFilter . m_flags = flags ; extendedFilter . m_filterFlags = EXCLUDED ; extendedFilter . updateCacheId ( ) ; return extendedFilter ; |
public class LowercaseTransliterator { /** * System registration hook . */
static void register ( ) { } } | Transliterator . registerFactory ( _ID , new Transliterator . Factory ( ) { @ Override public Transliterator getInstance ( String ID ) { return new LowercaseTransliterator ( ULocale . US ) ; } } ) ; Transliterator . registerSpecialInverse ( "Lower" , "Upper" , true ) ; |
public class MiniJPEWriterHandler { /** * Creates a GeoJSON from a List of { @ link JTSFeature }
* @ param list
* @ return */
public String toJSON ( List < JTSFeature > list ) { } } | Object fcJSON = this . startFeatureCollection ( ) ; for ( JTSFeature feature : list ) { Object f = this . startFeature ( ) ; Object p = this . startPoint ( ) ; try { this . addXToPoint ( feature . getGeometry ( ) . getGeometry ( ) . getCentroid ( ) . getX ( ) , p ) ; this . addYToPoint ( feature . getGeometry ( ) . get... |
public class LinkedList { /** * ( non - Javadoc )
* @ see com . ibm . ws . objectManager . Collection # size ( com . ibm . ws . objectManager . Transaction ) */
public long size ( Transaction transaction ) throws ObjectManagerException { } } | if ( Tracing . isAnyTracingEnabled ( ) && trace . isEntryEnabled ( ) ) trace . entry ( this , cclass , "size" , new Object [ ] { transaction } ) ; long listLength ; // For return ;
synchronized ( this ) { synchronized ( availableSizeLock ) { listLength = availableSize ; } // synchronized ( availableSizeLock ) .
if ( tr... |
public class VariantTabix { /** * Creates a sorted list of strings from the INFO KEYs
* @ param attr { @ link Map } of key - value info pairs
* @ return { @ link List } */
private List < String > decodeInfoKeys ( Map < String , String > attr ) { } } | // sorted key list
List < String > keyList = attr . keySet ( ) . stream ( ) . map ( x -> x . toString ( ) ) . sorted ( ) . collect ( Collectors . toList ( ) ) ; return keyList ; |
public class WikipediaQuickCheck { /** * / * public static void mainTest ( String [ ] args ) throws IOException {
* TextFilter filter = new SwebleWikipediaTextFilter ( ) ;
* String plainText = filter . filter ( " hallo \ n * eins \ n * zwei " ) ;
* System . out . println ( plainText ) ; */
public static void main... | if ( args . length != 1 ) { System . out . println ( "Usage: " + WikipediaQuickCheck . class . getName ( ) + " <url>" ) ; System . exit ( 1 ) ; } WikipediaQuickCheck check = new WikipediaQuickCheck ( ) ; // URL examples :
// String urlString = " http : / / de . wikipedia . org / wiki / Angela _ Merkel " ;
// String url... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.