signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class RDBMEntityGroupStore { /** * Find the groups that this group member belongs to .
* @ param gm the group member in question
* @ return java . util . Iterator */
@ Override public Iterator findParentGroups ( IGroupMember gm ) throws GroupsException { } } | if ( gm . isGroup ( ) ) { IEntityGroup group = ( IEntityGroup ) gm ; return findParentGroups ( group ) ; } else { IEntity ent = ( IEntity ) gm ; return findParentGroups ( ent ) ; } |
public class SimpleSolrPersistentProperty { /** * ( non - Javadoc )
* @ see org . springframework . data . solr . core . mapping . SolrPersistentProperty # isSearchable ( ) */
@ Override public boolean isSearchable ( ) { } } | if ( isIdProperty ( ) ) { return true ; } Indexed indexedAnnotation = getIndexAnnotation ( ) ; return indexedAnnotation != null && indexedAnnotation . searchable ( ) ; |
public class KeyVaultClientBaseImpl { /** * Permanently deletes the specified secret .
* The purge deleted secret operation removes the secret permanently , without the possibility of recovery . This operation can only be enabled on a soft - delete enabled vault . This operation requires the secrets / purge permissio... | return ServiceFuture . fromResponse ( purgeDeletedSecretWithServiceResponseAsync ( vaultBaseUrl , secretName ) , serviceCallback ) ; |
public class FnBigDecimal { /** * Determines whether the target object is null or not .
* @ return true if the target object is null , false if not . */
public static final Function < BigDecimal , Boolean > isNull ( ) { } } | return ( Function < BigDecimal , Boolean > ) ( ( Function ) FnObject . isNull ( ) ) ; |
public class JsonResponseFuture { /** * Sets the JSON response of this promise .
* @ param response the RPC response */
public void setResponse ( JsonRpcResponse response ) { } } | if ( response . isError ( ) ) { setException ( response . error ( ) ) ; return ; } try { set ( ( V ) Messages . fromJson ( method . outputBuilder ( ) , response . result ( ) ) ) ; } catch ( Exception e ) { setException ( e ) ; } |
public class Ifc2x3tc1PackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public EEnum getIfcConstraintEnum ( ) { } } | if ( ifcConstraintEnumEEnum == null ) { ifcConstraintEnumEEnum = ( EEnum ) EPackage . Registry . INSTANCE . getEPackage ( Ifc2x3tc1Package . eNS_URI ) . getEClassifiers ( ) . get ( 799 ) ; } return ifcConstraintEnumEEnum ; |
public class DescribeDBClusterSnapshotsResult { /** * Provides a list of DB cluster snapshots for the user .
* @ param dBClusterSnapshots
* Provides a list of DB cluster snapshots for the user . */
public void setDBClusterSnapshots ( java . util . Collection < DBClusterSnapshot > dBClusterSnapshots ) { } } | if ( dBClusterSnapshots == null ) { this . dBClusterSnapshots = null ; return ; } this . dBClusterSnapshots = new java . util . ArrayList < DBClusterSnapshot > ( dBClusterSnapshots ) ; |
public class Record { /** * Gets the fields at the given positions into an array .
* If at any position a field is null , then this method returns false .
* All fields that have been successfully read until the failing read are correctly contained in the record .
* All other fields are not set .
* @ param posit... | for ( int i = 0 ; i < positions . length ; i ++ ) { if ( ! getFieldInto ( positions [ i ] , targets [ i ] ) ) { return false ; } } return true ; |
public class UIContextHolder { /** * A utility function to iterate to the primary ( top most ) context and return it .
* @ param uic the UIContext to retrieve the primary context for .
* @ return the primary context for the given context . */
public static UIContext getPrimaryUIContext ( final UIContext uic ) { } } | if ( uic == null ) { return null ; } UIContext primary = null ; UIContext current = uic ; while ( primary == null ) { if ( current instanceof UIContextDelegate ) { UIContext backing = ( ( UIContextDelegate ) current ) . getBacking ( ) ; if ( backing != null ) { current = backing ; } else { // This case should probably ... |
public class JDBCStatement { /** * < ! - - start generic documentation - - >
* Executes the given SQL statement , which may return multiple results .
* In some ( uncommon ) situations , a single SQL statement may return
* multiple result sets and / or update counts . Normally you can ignore
* this unless you ar... | fetchResult ( sql , StatementTypes . RETURN_ANY , JDBCStatementBase . NO_GENERATED_KEYS , null , null ) ; return resultIn . isData ( ) ; |
public class Input { /** * Reads a 1-9 byte long .
* @ see # canReadLong ( ) */
public long readVarLong ( boolean optimizePositive ) throws KryoException { } } | if ( require ( 1 ) < 9 ) return readVarLong_slow ( optimizePositive ) ; int p = position ; int b = buffer [ p ++ ] ; long result = b & 0x7F ; if ( ( b & 0x80 ) != 0 ) { byte [ ] buffer = this . buffer ; b = buffer [ p ++ ] ; result |= ( b & 0x7F ) << 7 ; if ( ( b & 0x80 ) != 0 ) { b = buffer [ p ++ ] ; result |= ( b & ... |
public class NFRule { /** * This function is used by parse ( ) to match the text being parsed
* against a possible prefix string . This function
* matches characters from the beginning of the string being parsed
* to characters from the prospective prefix . If they match , pp is
* updated to the first character... | // if the prefix text is empty , dump out without doing anything
if ( prefix . length ( ) == 0 ) { return text ; } else { // otherwise , use prefixLength ( ) to match the beginning of
// " text " against " prefix " . This function returns the
// number of characters from " text " that matched ( or 0 if
// we didn ' t m... |
public class FileUtil { /** * Gets the contents of the given file , as a byte array .
* @ param pFile the file to get content from
* @ return the content of the file as a byte array .
* @ throws IOException if the read operation fails */
public static byte [ ] read ( File pFile ) throws IOException { } } | // Custom implementation , as we know the size of a file
if ( ! pFile . exists ( ) ) { throw new FileNotFoundException ( pFile . toString ( ) ) ; } byte [ ] bytes = new byte [ ( int ) pFile . length ( ) ] ; InputStream in = null ; try { // Use buffer size two times byte array , to avoid i / o bottleneck
in = new Buffer... |
public class TaskInfo { /** * Initialization for a fixed - rate or fixed - delay task .
* @ param isFixedRate indicates if this is a fixed - rate or fixed - delay task
* @ param initialDelay milliseconds before first execution
* @ param interval milliseconds between task executions */
@ Trivial void initForRepeat... | this . initialDelay = initialDelay ; this . interval = interval ; this . isFixedRate = isFixedRate ; |
public class CPDefinitionInventoryUtil { /** * Returns the cp definition inventories before and after the current cp definition inventory in the ordered set where uuid = & # 63 ; and companyId = & # 63 ; .
* @ param CPDefinitionInventoryId the primary key of the current cp definition inventory
* @ param uuid the uu... | return getPersistence ( ) . findByUuid_C_PrevAndNext ( CPDefinitionInventoryId , uuid , companyId , orderByComparator ) ; |
public class UpdateGeoMatchSetRequest { /** * An array of < code > GeoMatchSetUpdate < / code > objects that you want to insert into or delete from an
* < a > GeoMatchSet < / a > . For more information , see the applicable data types :
* < ul >
* < li >
* < a > GeoMatchSetUpdate < / a > : Contains < code > Acti... | if ( this . updates == null ) { setUpdates ( new java . util . ArrayList < GeoMatchSetUpdate > ( updates . length ) ) ; } for ( GeoMatchSetUpdate ele : updates ) { this . updates . add ( ele ) ; } return this ; |
public class JarExtensionHandler { /** * Find of the passes extension if a webjar .
* @ param extension the extension to test
* @ return true of the passed extension is a webjar , false otherwise
* @ since 9.0RC1 */
public static boolean isWebjar ( Extension extension ) { } } | // Ideally webjar extensions should have " webjar " type
if ( extension . getType ( ) . equals ( WEBJAR ) ) { return true ; } // But it ' s not the case for :
// * * webjar . org releases ( i . e . most of the webjars ) . We assume " org . webjars : * " id means it ' s a webjar
if ( StringUtils . startsWithAny ( extens... |
public class StreamSegments { /** * Checks that replacementSegments provided are consistent with the segments that are currently being used .
* @ param replacedSegment The segment on which EOS was reached
* @ param replacementSegments The StreamSegmentsWithPredecessors to verify */
private void verifyReplacementRan... | log . debug ( "Verification of replacement segments {} with the current segments {}" , replacementSegments , segments ) ; Map < Long , List < SegmentWithRange > > replacementRanges = replacementSegments . getReplacementRanges ( ) ; List < SegmentWithRange > replacements = replacementRanges . get ( replacedSegment . get... |
public class MeteredBalancingPolicy { /** * Determines the current load on this instance when smart rebalancing is enabled .
* This load is determined by the sum of all of this node ' s meters ' one minute rate . */
public double myLoad ( ) { } } | double load = 0d ; /* LOG . debug ( cluster . loadMap . toString ) ;
LOG . debug ( cluster . myWorkUnits . toString ) ; */
for ( String wu : cluster . myWorkUnits ) { Double d = cluster . getWorkUnitLoad ( wu ) ; if ( d != null ) { load += d ; } } return load ; |
public class RobotExtensions { /** * Type the given string with the given robot .
* @ param robot
* the robot
* @ param input
* the input
* @ throws NoSuchFieldException
* the no such field exception
* @ throws IllegalAccessException
* the illegal access exception */
public static void typeString ( fina... | if ( input != null && ! input . isEmpty ( ) ) { for ( final char character : input . toCharArray ( ) ) { typeCharacter ( robot , character ) ; } } |
public class DateTimeUtil { /** * Turn Date into " yyyy - MM - ddTHH : mm : ss "
* @ param val date
* @ return String " yyyy - MM - ddTHH : mm : ss " */
public static String rfcDateTime ( final Date val ) { } } | synchronized ( rfcDateTimeFormat ) { try { rfcDateTimeFormat . setTimeZone ( Timezones . getDefaultTz ( ) ) ; } catch ( TimezonesException tze ) { throw new RuntimeException ( tze ) ; } return rfcDateTimeFormat . format ( val ) ; } |
public class Request { /** * Returns the current session associated with this request ,
* or if the request does not have a session , creates one .
* @ return the session associated with this request */
public Session session ( ) { } } | if ( session == null || ! validSession ) { validSession ( true ) ; session = new Session ( servletRequest . getSession ( ) , this ) ; } return session ; |
public class EncodingXmlWriter { /** * Method that will try to output the content as specified . If
* the content passed in has embedded " - - " in it , it will either
* add an intervening space between consequtive hyphens ( if content
* fixing is enabled ) , or return the offset of the first hyphen in
* multi ... | writeAscii ( "<!--" ) ; int ix = writeCommentContent ( data ) ; if ( ix >= 0 ) { // unfixable ' - - ' ?
return ix ; } writeAscii ( "-->" ) ; return - 1 ; |
public class JexlScriptExecutor { /** * < pre >
* 1 . 接受JexlScriptContext上下文
* 2 . script针对对应name下的script脚本
* < / pre > */
public Object evaluate ( ScriptContext context , String script ) { } } | Expression expr = engine . createExpression ( script ) ; return expr . evaluate ( ( JexlContext ) context ) ; |
public class CommerceWarehouseUtil { /** * Returns the last commerce warehouse in the ordered set where groupId = & # 63 ; and commerceCountryId = & # 63 ; .
* @ param groupId the group ID
* @ param commerceCountryId the commerce country ID
* @ param orderByComparator the comparator to order the set by ( optional... | return getPersistence ( ) . fetchByG_C_Last ( groupId , commerceCountryId , orderByComparator ) ; |
public class FloatArray { /** * Inserts values into the array at the specified index .
* @ param index
* The index at which to insert the new values .
* @ param items
* A < code > FloatArray < / code > containing the values to insert .
* @ return A value indicating if the array has changed .
* @ throws Inde... | if ( index < 0 || index > size ) { throw new IndexOutOfBoundsException ( ) ; } ensureCapacity ( size + items . size ) ; if ( index < size ) { for ( int i = size - 1 ; i >= index ; i -- ) { elements [ i + items . size ] = elements [ i ] ; } } for ( int i = 0 ; i < items . size ; i ++ ) { elements [ index ++ ] = items . ... |
public class NonBlockingByteArrayOutputStream { /** * Converts the buffer ' s contents into a string by decoding the bytes using
* the specified { @ link java . nio . charset . Charset charsetName } . The length of
* the new < tt > String < / tt > is a function of the charset , and hence may not be
* equal to the... | return new String ( m_aBuf , 0 , m_nCount , aCharset ) ; |
public class Bus { /** * Adds a listener .
* @ param listener
* The listener .
* @ param instance
* The instance associated with this listener .
* @ param < T >
* The listener event type . */
public < T > void addListener ( final Listener < T > listener , final Object instance ) { } } | final ListenerInstancePair < T > pair = new ListenerInstancePair < T > ( listener , instance ) ; this . listeners . add ( pair ) ; final Type observableType = GenericsUtil . getEntityGenericType ( listener . getClass ( ) , 0 , Listener . class ) ; final Class < ? > observable = GenericsUtil . guessClazz ( observableTyp... |
public class FieldList { /** * The removePropertyChangeListener method was generated to support the propertyChange field .
* @ param listener The propery change listener to remove from my listeners . */
public synchronized void removePropertyChangeListener ( java . beans . PropertyChangeListener listener ) { } } | if ( propertyChange != null ) propertyChange . removePropertyChangeListener ( listener ) ; |
public class BytecodeLoader { /** * Compile ( load from ) an archive , if it contains any . class files . */
@ Override public boolean shouldCompile ( ScriptArchive archive ) { } } | Set < String > entries = archive . getArchiveEntryNames ( ) ; boolean shouldCompile = false ; for ( String entry : entries ) { if ( entry . endsWith ( ".class" ) ) { shouldCompile = true ; } } return shouldCompile ; |
public class RequestDiagnosticsJsonCommandHandler { /** * { @ inheritDoc } */
@ Override public void handle ( String chargingStationId , JsonObject commandObject , IdentityContext identityContext ) throws UserIdentityUnauthorizedException { } } | ChargingStationId csId = new ChargingStationId ( chargingStationId ) ; if ( ! commandAuthorizationService . isAuthorized ( csId , identityContext . getUserIdentity ( ) , RequestDiagnosticsCommand . class ) ) { throw new UserIdentityUnauthorizedException ( chargingStationId , identityContext . getUserIdentity ( ) , Requ... |
public class MethodBuilder { /** * Add proxy method to set hashcode to uniqueu id of binder */
private void addHashCode ( TypeSpec . Builder classBuilder ) { } } | MethodSpec . Builder methodBuilder = MethodSpec . methodBuilder ( "hashCode" ) . addModifiers ( Modifier . PUBLIC ) . returns ( int . class ) . addAnnotation ( Override . class ) . addStatement ( "return _binderID" ) ; classBuilder . addMethod ( methodBuilder . build ( ) ) ; |
public class SFImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public void setRawData ( byte [ ] newRawData ) { } } | byte [ ] oldRawData = rawData ; rawData = newRawData ; if ( eNotificationRequired ( ) ) eNotify ( new ENotificationImpl ( this , Notification . SET , BasePackage . SF__RAW_DATA , oldRawData , rawData ) ) ; |
public class ComponentsInner { /** * Updates an existing component ' s tags . To update other fields use the CreateOrUpdate method .
* @ param resourceGroupName The name of the resource group .
* @ param resourceName The name of the Application Insights component resource .
* @ throws IllegalArgumentException thr... | return updateTagsWithServiceResponseAsync ( resourceGroupName , resourceName ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class AndCondition { /** * Optimize and condition .
* @ return and condition */
public AndCondition optimize ( ) { } } | AndCondition result = new AndCondition ( ) ; for ( Condition each : conditions ) { if ( Condition . class . equals ( each . getClass ( ) ) ) { result . getConditions ( ) . add ( each ) ; } } if ( result . getConditions ( ) . isEmpty ( ) ) { result . getConditions ( ) . add ( new NullCondition ( ) ) ; } return result ; |
public class AWSShieldClient { /** * Authorizes the DDoS Response team ( DRT ) to access the specified Amazon S3 bucket containing your flow logs . You
* can associate up to 10 Amazon S3 buckets with your subscription .
* To use the services of the DRT and make an < code > AssociateDRTLogBucket < / code > request ,... | request = beforeClientExecution ( request ) ; return executeAssociateDRTLogBucket ( request ) ; |
public class JMessageClient { /** * Set cross app no disturb
* https : / / docs . jiguang . cn / jmessage / server / rest _ api _ im / # api _ 1
* @ param username Necessary
* @ param array CrossNoDisturb array
* @ return No content
* @ throws APIConnectionException connect exception
* @ throws APIRequestEx... | return _crossAppClient . setCrossNoDisturb ( username , array ) ; |
public class CacheElement { /** * Populates this cache element with the given authenticated state
* and named values , then puts it in the valid state .
* Note : Prior to the call , the element must be in the invalid state .
* TODO : The predicates parameter is deprecated and should be removed .
* For now , cal... | String m = m_cacheabbrev + " populate() " ; logger . debug ( "{}>" , m ) ; try { if ( predicates != null ) { logger . warn ( m + " predicates are deprecated; will be ignored" ) ; } assertInvalid ( ) ; if ( errorMessage != null ) { logger . error ( m + "errorMessage==" + errorMessage ) ; throw new Exception ( errorMessa... |
public class LogRecorder { /** * Gets a view of log records per agent matching this recorder .
* @ return a map ( sorted by display name ) from computer to ( nonempty ) list of log records
* @ since 1.519 */
public Map < Computer , List < LogRecord > > getSlaveLogRecords ( ) { } } | Map < Computer , List < LogRecord > > result = new TreeMap < Computer , List < LogRecord > > ( new Comparator < Computer > ( ) { final Collator COLL = Collator . getInstance ( ) ; public int compare ( Computer c1 , Computer c2 ) { return COLL . compare ( c1 . getDisplayName ( ) , c2 . getDisplayName ( ) ) ; } } ) ; for... |
public class ChronicleMapBuilder { /** * { @ inheritDoc }
* < p > Example : if keys in your map ( s ) are English words in { @ link String } form , average English
* word length is 5.1 , configure average key size of 6 : < pre > { @ code
* ChronicleMap < String , LongValue > wordFrequencies = ChronicleMapBuilder ... | checkSizeIsStaticallyKnown ( keyBuilder , "Key" ) ; checkAverageSize ( averageKeySize , "key" ) ; this . averageKeySize = averageKeySize ; averageKey = null ; sampleKey = null ; return this ; |
public class ListResourceServersRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( ListResourceServersRequest listResourceServersRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( listResourceServersRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listResourceServersRequest . getUserPoolId ( ) , USERPOOLID_BINDING ) ; protocolMarshaller . marshall ( listResourceServersRequest . getMaxResults ( ) , MAXRE... |
public class Json { /** * Converts netscaler resources to Json string .
* @ param resources nitro resources .
* @ param id sessionId .
* @ param option options class object .
* @ return returns a String */
public String resource_to_string ( base_resource resources [ ] , String id , options option , Boolean warn... | String objecttype = resources [ 0 ] . get_object_type ( ) ; String request = "{" ; if ( ( option != null && option . get_action ( ) != null ) || ( warning != null && warning == true ) || ( ! onerror . equals ( "" ) ) ) { request = request + "\"params\":{" ; if ( option != null ) { if ( option . get_action ( ) != null )... |
public class RelationUtil { /** * Get the vector field type information from a relation .
* @ param relation relation
* @ param < V > Vector type
* @ return Vector field type information */
public static < V extends FeatureVector < ? > > VectorFieldTypeInformation < V > assumeVectorField ( Relation < V > relation... | try { return ( ( VectorFieldTypeInformation < V > ) relation . getDataTypeInformation ( ) ) ; } catch ( Exception e ) { throw new UnsupportedOperationException ( "Expected a vector field, got type information: " + relation . getDataTypeInformation ( ) . toString ( ) , e ) ; } |
public class SwipeRecyclerView { /** * open menu .
* @ param position position .
* @ param direction use { @ link # LEFT _ DIRECTION } , { @ link # RIGHT _ DIRECTION } .
* @ param duration time millis . */
public void smoothOpenMenu ( int position , @ DirectionMode int direction , int duration ) { } } | if ( mOldSwipedLayout != null ) { if ( mOldSwipedLayout . isMenuOpen ( ) ) { mOldSwipedLayout . smoothCloseMenu ( ) ; } } position += getHeaderCount ( ) ; ViewHolder vh = findViewHolderForAdapterPosition ( position ) ; if ( vh != null ) { View itemView = getSwipeMenuView ( vh . itemView ) ; if ( itemView instanceof Swi... |
public class Configuration { /** * Returns the default configuration provided by { @ link # defaults ( ) } .
* @ return Non - null string */
protected String defaultConfiguration ( ) { } } | final StringBuilder bldr = new StringBuilder ( ) ; for ( final Entry < String , String > entry : defaults ( ) . entrySet ( ) ) { final String name = entry . getKey ( ) ; final String value = entry . getValue ( ) ; bldr . append ( name ) ; bldr . append ( " " ) ; bldr . append ( NAME_VALUE_DELIMITER ) ; bldr . append ( ... |
public class AssociationBuilder { /** * Retrieves associated entities from secondary index . There are two
* alternatives here :
* 1 . Via running Lucene query into Lucene powered secondary index . 2.
* Searching into a secondary index by custom secondary index class provided
* by user .
* @ see PersistencePr... | List associatedEntities ; IndexManager indexManager = childClient . getIndexManager ( ) ; Map < String , Object > results = indexManager != null ? indexManager . search ( owningClazz , childClass , entityId ) : new HashMap < String , Object > ( ) ; Set rsSet = results != null ? new HashSet ( results . values ( ) ) : ne... |
public class GraknSparkComputer { /** * When using a persistent context the running Context ' s configuration will override a passed
* in configuration . Spark allows us to override these inherited properties via
* SparkContext . setLocalProperty */
private static void updateLocalConfiguration ( final JavaSparkCont... | /* * While we could enumerate over the entire SparkConfiguration and copy into the Thread
* Local properties of the Spark Context this could cause adverse effects with future
* versions of Spark . Since the api for setting multiple local properties at once is
* restricted as private , we will only set those prope... |
public class SnapshotSiteProcessor { /** * Create an output buffer for each task .
* @ return null if there aren ' t enough buffers left in the pool . */
private List < BBContainer > getOutputBuffers ( Collection < SnapshotTableTask > tableTasks , boolean noSchedule ) { } } | final int desired = tableTasks . size ( ) ; while ( true ) { int available = m_availableSnapshotBuffers . get ( ) ; // Limit the number of buffers used concurrently
if ( desired > available ) { return null ; } if ( m_availableSnapshotBuffers . compareAndSet ( available , available - desired ) ) break ; } List < BBConta... |
public class UpdateNFSFileShareRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( UpdateNFSFileShareRequest updateNFSFileShareRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( updateNFSFileShareRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateNFSFileShareRequest . getFileShareARN ( ) , FILESHAREARN_BINDING ) ; protocolMarshaller . marshall ( updateNFSFileShareRequest . getKMSEncrypted ( ) , KM... |
public class CukedoctorMojo { /** * only for tests */
public void execute ( ) throws MojoExecutionException , MojoFailureException { } } | if ( skip ) { getLog ( ) . info ( "Skipping cukedoctor-maven-plugin" ) ; return ; } String startDir = null ; if ( featuresDir != null ) { startDir = featuresDir ; } if ( startDir == null || ! new File ( startDir ) . exists ( ) ) { startDir = project . getBuild ( ) . getDirectory ( ) != null ? new File ( project . getBu... |
public class UserPreferences { /** * Gets the hashtable .
* @ param name the name
* @ return the hashtable */
public static Hashtable < String , String > getHashtable ( final String name ) { } } | final Hashtable < String , String > hash = new Hashtable < String , String > ( ) ; try { final String configStr = UserPreferences . get ( fixKey ( name ) , "" ) ; if ( ! configStr . equals ( "" ) ) { final String [ ] rows = configStr . split ( ";" ) ; for ( final String row : rows ) { final String [ ] split = row . spl... |
public class MFPPush { /** * Set the listener class to receive the notification status changes .
* @ param statusListener - Mandatory listener class . When the notification status changes
* { @ link MFPPushNotificationStatusListener } . onStatusChange method is called */
public void setNotificationStatusListener ( ... | this . statusListener = statusListener ; synchronized ( pendingStatus ) { if ( ! pendingStatus . isEmpty ( ) ) { for ( Map . Entry < String , MFPPushNotificationStatus > entry : pendingStatus . entrySet ( ) ) { changeStatus ( entry . getKey ( ) , entry . getValue ( ) ) ; } pendingStatus . clear ( ) ; } } |
public class AbstractBlueprintBeanDefinitionParser { /** * < p > addPropertyValueFromElement . < / p >
* @ param id a { @ link java . lang . String } object .
* @ param node a { @ link org . w3c . dom . Element } object .
* @ param context a { @ link org . apache . aries . blueprint . ParserContext } object .
*... | String attribute = node . getAttribute ( id ) ; beanMetadata . addProperty ( id , createStringValue ( context , attribute ) ) ; |
public class AmazonGuardDutyClient { /** * Unarchives Amazon GuardDuty findings specified by the list of finding IDs .
* @ param unarchiveFindingsRequest
* UnarchiveFindings request body .
* @ return Result of the UnarchiveFindings operation returned by the service .
* @ throws BadRequestException
* 400 respo... | request = beforeClientExecution ( request ) ; return executeUnarchiveFindings ( request ) ; |
public class CompareFileExtensions { /** * Compare files .
* @ param sourceFile
* the source file
* @ param fileToCompare
* the file to compare
* @ return the i file content result bean */
public static IFileContentResultBean compareFiles ( final File sourceFile , final File fileToCompare ) { } } | return compareFiles ( sourceFile , fileToCompare , true , false , false , true , false , true ) ; |
public class Sign { /** * 初始化
* @ param algorithm 算法
* @ param privateKey 私钥
* @ param publicKey 公钥
* @ return this */
@ Override public Sign init ( String algorithm , PrivateKey privateKey , PublicKey publicKey ) { } } | try { signature = Signature . getInstance ( algorithm ) ; } catch ( NoSuchAlgorithmException e ) { throw new CryptoException ( e ) ; } super . init ( algorithm , privateKey , publicKey ) ; return this ; |
public class TopologyUtils { /** * TODO ( nbhagat ) : libs is dependent on pants for building . Instead take classpath as argument . */
public static String makeClassPath ( TopologyAPI . Topology topology , String originalPackageFile ) { } } | String originalPackage = new File ( originalPackageFile ) . getName ( ) ; StringBuilder classPathBuilder = new StringBuilder ( ) ; // TODO ( nbhagat ) : Take type of package as argument .
if ( originalPackage . endsWith ( ".jar" ) ) { // Bundled jar
classPathBuilder . append ( originalPackage ) ; } else { // Bundled ta... |
public class Dklu_analyze_given { /** * Order the matrix with BTF ( or not ) , then use natural or given ordering
* P and Q on the blocks . P and Q are interpreted as identity
* if NULL .
* @ param n A is n - by - n
* @ param Ap size n + 1 , column pointers
* @ param Ai size nz , row indices
* @ param Puser... | KLU_symbolic Symbolic ; double [ ] Lnz ; int nblocks , nz , block , maxblock , nzoff , p , pend , do_btf , k ; int [ ] P , Q , R ; /* determine if input matrix is valid , and get # of nonzeros */
Symbolic = klu_alloc_symbolic ( n , Ap , Ai , Common ) ; if ( Symbolic == null ) { return ( null ) ; } P = Symbolic . P ; Q ... |
public class PresentsSession { /** * Derived client classes can override this member to populate the bootstrap data with
* additional information . They should be sure to call < code > super . populateBootstrapData < / code >
* before doing their own populating , however .
* < p > < em > Note : < / em > This func... | // give them the connection id
Connection conn = getConnection ( ) ; if ( conn != null ) { data . connectionId = conn . getConnectionId ( ) ; } else { log . warning ( "Connection disappeared before we could send bootstrap response." , "client" , this ) ; return ; // stop here as we ' re just going to throw away this bo... |
public class MimeMessageHelper { /** * Fills the { @ link Message } instance with reply - to address .
* @ param email The message in which the recipients are defined .
* @ param message The javax message that needs to be filled with reply - to address .
* @ throws UnsupportedEncodingException See { @ link Intern... | final Recipient replyToRecipient = email . getReplyToRecipient ( ) ; if ( replyToRecipient != null ) { final InternetAddress replyToAddress = new InternetAddress ( replyToRecipient . getAddress ( ) , replyToRecipient . getName ( ) , CHARACTER_ENCODING ) ; message . setReplyTo ( new Address [ ] { replyToAddress } ) ; } |
public class Fingerprint { /** * this is for remote API */
@ Exported ( name = "usage" ) public @ Nonnull List < RangeItem > _getUsages ( ) { } } | List < RangeItem > r = new ArrayList < > ( ) ; final Jenkins instance = Jenkins . getInstance ( ) ; for ( Entry < String , RangeSet > e : usages . entrySet ( ) ) { final String itemName = e . getKey ( ) ; if ( instance . hasPermission ( Jenkins . ADMINISTER ) || canDiscoverItem ( itemName ) ) { r . add ( new RangeItem ... |
public class ClientBehaviorBase { /** * { @ inheritDoc } */
public void decode ( FacesContext context , UIComponent component ) { } } | if ( context == null ) { throw new NullPointerException ( "context" ) ; } if ( component == null ) { throw new NullPointerException ( "component" ) ; } // If a BehaviorRenderer is available for the specified behavior renderer type , this method delegates
// to the BehaviorRenderer ' s decode ( ) method . Otherwise , no... |
public class Log { /** * What a Terrible Failure : Report a condition that should never happen . The error will always
* be logged at level ASSERT with the call stack and with { @ link SUBSYSTEM # MAIN } as default one .
* @ param tag Used to identify the source of a log message . It usually identifies the class or... | return wtf ( SUBSYSTEM . MAIN , tag , msg ) ; |
public class Interpreter { /** * Get the prompt string defined by the getBshPrompt ( ) method in the
* global namespace . This may be from the getBshPrompt ( ) command or may
* be defined by the user as with any other method .
* Defaults to " bsh % " if the method is not defined or there is an error . */
private ... | if ( null != prompt ) return prompt ; try { prompt = ( String ) eval ( "getBshPrompt()" ) ; } catch ( Exception e ) { prompt = "bsh % " ; } return prompt ; |
public class NettyChannelBuilder { /** * SSL / TLS context to use instead of the system default . It must have been configured with { @ link
* GrpcSslContexts } , but options could have been overridden . */
public NettyChannelBuilder sslContext ( SslContext sslContext ) { } } | if ( sslContext != null ) { checkArgument ( sslContext . isClient ( ) , "Server SSL context can not be used for client channel" ) ; GrpcSslContexts . ensureAlpnAndH2Enabled ( sslContext . applicationProtocolNegotiator ( ) ) ; } this . sslContext = sslContext ; return this ; |
public class AbstractScriptEngine { /** * Same as < code > eval ( Reader , Bindings ) < / code > except that the abstract
* < code > eval ( String , ScriptContext ) < / code > is used .
* @ param script A < code > String < / code > containing the source of the script .
* @ param bindings A < code > Bindings < / c... | ScriptContext ctxt = getScriptContext ( bindings ) ; return eval ( script , ctxt ) ; |
public class Period { /** * Returns a new instance with each element in this period multiplied
* by the specified scalar .
* This returns a period with each of the years , months and days units
* individually multiplied .
* For example , a period of " 2 years , - 3 months and 4 days " multiplied by
* 3 will r... | if ( this == ZERO || scalar == 1 ) { return this ; } return create ( Math . multiplyExact ( years , scalar ) , Math . multiplyExact ( months , scalar ) , Math . multiplyExact ( days , scalar ) ) ; |
public class DescribeEmergencyContactSettingsRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( DescribeEmergencyContactSettingsRequest describeEmergencyContactSettingsRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( describeEmergencyContactSettingsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } |
public class ZipUtil { /** * Compresses the given file into a ZIP file .
* The ZIP file must not be a directory and its parent directory must exist .
* @ param fileToPack
* file that needs to be zipped .
* @ param destZipFile
* ZIP file that will be created or overwritten . */
public static void packEntry ( F... | packEntry ( fileToPack , destZipFile , IdentityNameMapper . INSTANCE ) ; |
public class MirrorTable { /** * Read the record that matches this record ' s current key . < p >
* @ exception DBException File exception . */
public boolean seek ( String strSeekSign ) throws DBException { } } | boolean bSuccess = super . seek ( strSeekSign ) ; Iterator < BaseTable > iterator = this . getTables ( ) ; while ( iterator . hasNext ( ) ) { BaseTable table = iterator . next ( ) ; if ( ( table != null ) && ( table != this . getNextTable ( ) ) ) this . syncTables ( table , this . getRecord ( ) ) ; } return bSuccess ; |
public class SolrIndexer { /** * Index a specific annotation
* @ param object
* : The annotation ' s object
* @ param pid
* : The annotation payload
* @ throws IndexerException
* if there were errors during indexing */
private void annotate ( DigitalObject object , Payload payload ) throws IndexerException ... | String pid = payload . getId ( ) ; if ( propertiesId . equals ( pid ) ) { return ; } try { Properties props = new Properties ( ) ; props . setProperty ( "metaPid" , pid ) ; String doc = indexByPythonScript ( object , payload , null , ANOTAR_RULES_OID , props ) ; if ( doc != null ) { doc = "<add>" + doc + "</add>" ; ano... |
public class JMXClient { /** * Removes listener as notification and connection notification listener .
* @ return true if successful , false otherwise
* @ throws java . lang . Exception */
public boolean removeNotificationListener ( String mbeanName , NotificationListener listener ) throws Exception { } } | if ( isConnected ( ) ) { ObjectName objectName = new ObjectName ( mbeanName ) ; mbsc . removeNotificationListener ( objectName , listener , null , null ) ; jmxc . removeConnectionNotificationListener ( listener ) ; return true ; } else { return false ; } |
public class Recycler { /** * Acquire on object instance of type T , either by reusing a previously recycled instance if possible , or if
* there are no currently - unused instances , by allocating a new instance .
* @ return Either a new or a recycled object instance .
* @ throws E
* if { @ link # newInstance ... | final T instance ; final T recycledInstance = unusedInstances . poll ( ) ; if ( recycledInstance == null ) { // Allocate a new instance - - may throw an exception of type E
final T newInstance = newInstance ( ) ; if ( newInstance == null ) { throw new NullPointerException ( "Failed to allocate a new recyclable instance... |
public class Stylesheet { /** * Set the " xsl : strip - space " properties .
* @ see < a href = " http : / / www . w3 . org / TR / xslt # strip " > strip in XSLT Specification < / a >
* @ param wsi WhiteSpaceInfo element to add to list */
public void setStripSpaces ( WhiteSpaceInfo wsi ) { } } | if ( null == m_whitespaceStrippingElements ) { m_whitespaceStrippingElements = new Vector ( ) ; } m_whitespaceStrippingElements . addElement ( wsi ) ; |
public class CmsSetupStep04Modules { /** * Moves to the next step . */
private void forward ( ) { } } | Set < String > selected = new HashSet < > ( ) ; for ( CheckBox checkbox : m_componentCheckboxes ) { CmsSetupComponent component = ( CmsSetupComponent ) ( checkbox . getData ( ) ) ; if ( checkbox . getValue ( ) . booleanValue ( ) ) { selected . add ( component . getId ( ) ) ; } } String error = null ; for ( String compI... |
public class MappingUtils { /** * Invokes class function using Reflection
* @ param clazz Class which function would be invoked
* @ param functionName function name
* @ param parameters function parameters ( array of Class )
* @ param values function values ( array of Object )
* @ return function return
* @... | Object result = null ; try { Method method = clazz . getMethod ( functionName , parameters ) ; method . setAccessible ( true ) ; result = method . invoke ( null , values ) ; } catch ( Exception ex ) { throw new MjdbcException ( ex ) ; } return result ; |
public class DynamicReportBuilder { /** * Defines the text to show when the data source is empty . < br >
* @ param text
* @ param style : the style of the text
* @ param showTitle : if true , the title is shown
* @ param showColumnHeader : if true , the column headers are shown
* @ return A Dynamic Report Bu... | this . report . setWhenNoDataStyle ( style ) ; this . report . setWhenNoDataText ( text ) ; this . report . setWhenNoDataType ( DJConstants . WHEN_NO_DATA_TYPE_NO_DATA_SECTION ) ; this . report . setWhenNoDataShowColumnHeader ( showColumnHeader ) ; this . report . setWhenNoDataShowTitle ( showTitle ) ; return this ; |
public class VariableNumMap { /** * Get the discrete variables in this map , ordered by variable
* index . */
public final List < DiscreteVariable > getDiscreteVariables ( ) { } } | List < DiscreteVariable > discreteVars = new ArrayList < DiscreteVariable > ( ) ; for ( int i = 0 ; i < vars . length ; i ++ ) { if ( vars [ i ] instanceof DiscreteVariable ) { discreteVars . add ( ( DiscreteVariable ) vars [ i ] ) ; } } return discreteVars ; |
public class CustomManualTaskActivity { /** * Creates a task instance unless the INSTANCE _ ID _ VAR attribute points
* to a pre - existing instance . If the attribute is populated but the variable
* value is null , the variable will be set to the newly - created instanceId . */
@ Override public void execute ( ) t... | Long instanceId = null ; // pre - existing instanceId
String instanceIdSpec = getInstanceIdVariable ( ) ; if ( instanceIdSpec != null ) { Object value = getValue ( instanceIdSpec ) ; if ( value instanceof Long ) instanceId = ( Long ) value ; else if ( value != null ) instanceId = Long . parseLong ( value . toString ( )... |
public class AbstractEvaluatorToPartitionStrategy { /** * Initializes the locations of the splits where we ' d like to be loaded into .
* Sets all the splits to unallocated
* @ param splitsPerPartition
* a map containing the input splits per data partition */
private void init ( final Map < DistributedDataSetPart... | final Pair < InputSplit [ ] , DistributedDataSetPartition [ ] > splitsAndPartitions = getSplitsAndPartitions ( splitsPerPartition ) ; final InputSplit [ ] splits = splitsAndPartitions . getFirst ( ) ; final DistributedDataSetPartition [ ] partitions = splitsAndPartitions . getSecond ( ) ; Validate . isTrue ( splits . l... |
public class DemuxingIoHandler { /** * Deregisters a { @ link MessageHandler } that handles the sent messages of
* the specified < code > type < / code > .
* @ return the removed handler if successfully removed . < tt > null < / tt > otherwise . */
@ SuppressWarnings ( "unchecked" ) public < E > MessageHandler < ? ... | sentMessageHandlerCache . clear ( ) ; return ( MessageHandler < ? super E > ) sentMessageHandlers . remove ( type ) ; |
public class BatchUtil { /** * Method that can be used when iterating over an array and you want to retain
* only maxRetention items .
* @ param i
* index of element in ordered array of length
* @ param maxRetention
* total number of elements to retain .
* @ param length
* of the ordered array
* @ retur... | // Files with a zero - based index greater or equal than the retentionCutoff
// should be retained .
int retentionCutoff = length - maxRetention ; boolean retain = ( i >= retentionCutoff ) ? true : false ; return retain ; |
public class TQRootBean { /** * Add a Text common terms expression ( document store only ) .
* This automatically makes the query a document store query . */
public R textCommonTerms ( String query , TextCommonTerms options ) { } } | peekExprList ( ) . textCommonTerms ( query , options ) ; return root ; |
public class HtmlInput { /** * Capture events that occur anywhere on the page . Event values will be relative to the page
* ( not the rootElement ) { @ see # getRelativeX ( NativeEvent , Element ) } and
* { @ see # getRelativeY ( NativeEvent , Element ) } . */
static HandlerRegistration capturePageEvent ( String na... | return addEventListener ( Document . get ( ) , name , handler , true ) ; |
public class ZipFileSliceReader { /** * Get a string from the zipfile slice .
* @ param off
* the offset to start reading from
* @ param lenBytes
* the length of the string in bytes
* @ return the string
* @ throws IOException
* if an I / O exception occurs .
* @ throws InterruptedException
* if the t... | if ( off < 0 || off > zipFileSlice . len - lenBytes ) { throw new IndexOutOfBoundsException ( ) ; } final byte [ ] scratchToUse = lenBytes <= scratch . length ? scratch : new byte [ lenBytes ] ; if ( read ( off , scratchToUse , 0 , lenBytes ) < lenBytes ) { throw new EOFException ( "Unexpected EOF" ) ; } // Assume the ... |
public class HiveMetastoreClientPool { /** * Get a { @ link HiveMetastoreClientPool } for the requested metastore URI . Useful for using the same pools across
* different classes in the code base . Note that if a pool already exists for that metastore , the max number of
* objects available will be unchanged , and ... | synchronized ( HiveMetastoreClientPool . class ) { if ( poolCache == null ) { poolCache = createPoolCache ( properties ) ; } } try { return poolCache . get ( metastoreURI , new Callable < HiveMetastoreClientPool > ( ) { @ Override public HiveMetastoreClientPool call ( ) throws Exception { return new HiveMetastoreClient... |
public class OpenCmsCore { /** * Gets a string containing all keys and variations currently in the flex cache , for debug purposes . < p >
* @ return a debug information string with the flex cache data */
public String getFlexCacheKeyDump ( ) { } } | if ( m_flexCache != null ) { StringBuffer buffer = new StringBuffer ( ) ; m_flexCache . dumpKeys ( buffer ) ; return buffer . toString ( ) ; } else { return null ; } |
public class BigramExtractor { /** * Updates the statistics for the bigram formed from the provided left and
* right token .
* @ param left the left token in the bigram
* @ param right the right token in the bigram */
private void processBigram ( String left , String right ) { } } | TokenStats leftStats = getStatsFor ( left ) ; TokenStats rightStats = getStatsFor ( right ) ; // mark that both appeared
leftStats . count ++ ; rightStats . count ++ ; // Mark the respective positions of each
leftStats . leftCount ++ ; rightStats . rightCount ++ ; // Increase the number of bigrams seen
numBigramsInCorp... |
public class InJvmContainerExecutor { /** * Extracts { @ link LocalResource } s from the { @ link Container } . */
@ SuppressWarnings ( "unchecked" ) private Set < Path > extractUserProvidedClassPathEntries ( Container container ) { } } | Map < Path , List < String > > localizedResources ; try { Field lf = container . getClass ( ) . getDeclaredField ( "localizedResources" ) ; lf . setAccessible ( true ) ; localizedResources = ( Map < Path , List < String > > ) lf . get ( container ) ; Set < Path > paths = localizedResources . keySet ( ) ; // Needed for ... |
class HarmonicSum { /** * Compute the harmonic sum of an integer decremented by 1.
* @ param number The integer to compute the harmonic sum for .
* @ return The computed harmonic sum of the integer minus one . */
public static double calculateHarmonicSum ( int number ) { } } | if ( number < 2 ) { return 1 ; } else { return ( 1.0 / ( double ) number ) + calculateHarmonicSum ( number - 1 ) ; } |
public class ZooKeeperMasterModel { /** * Given a jobId , returns the N most recent events in its history in the cluster . */
@ Override public List < TaskStatusEvent > getJobHistory ( final JobId jobId ) throws JobDoesNotExistException { } } | return getJobHistory ( jobId , null ) ; |
public class StreamingResponseBandwidthBenchmark { /** * Useful for triggering a subset of the benchmark in a profiler . */
public static void main ( String [ ] argv ) throws Exception { } } | StreamingResponseBandwidthBenchmark bench = new StreamingResponseBandwidthBenchmark ( ) ; bench . setup ( ) ; Thread . sleep ( 30000 ) ; bench . teardown ( ) ; System . exit ( 0 ) ; |
public class Sort { /** * bucket sort algorithm
* @ param arr an int array
* @ param m the large - most one for all the Integers in arr */
public static void bucketSort ( int [ ] arr , int m ) { } } | int [ ] count = new int [ m ] ; int j , i = 0 ; // System . out . println ( count [ 0 ] = = 0 ? " true " : " false " ) ;
for ( j = 0 ; j < arr . length ; j ++ ) { count [ arr [ j ] ] ++ ; } // loop and filter the elements
for ( j = 0 ; j < m ; j ++ ) { if ( count [ j ] > 0 ) { while ( count [ j ] -- > 0 ) { arr [ i ++ ... |
public class NodeStack { /** * Push a node and associated state onto the stack . */
public void push ( int state , GBSNode node , String pusher ) { } } | _lastStacker = pusher ; push ( state , node ) ; |
public class WebResourceCollection { /** * Gets the match for the resource name .
* < pre >
* To perform a URL match ,
* 1 . For each URL pattern determine if the resource matches it
* 2 . Construct the match object
* Exact match has first priority . The longest path match has second priority . The extension ... | CollectionMatch match = null ; String longestUrlPattern = null ; for ( String urlPattern : urlPatterns ) { if ( URLMatchingUtils . isExactMatch ( resourceName , urlPattern ) ) { return new CollectionMatch ( resourceName , MatchType . EXACT_MATCH ) ; } else if ( URLMatchingUtils . isPathNameMatch ( resourceName , urlPat... |
public class JCRAssert { /** * Asserts the equality of a property value of a node with an expected value
* @ param node
* the node containing the property to be verified
* @ param propertyName
* the property name to be verified
* @ param actualValue
* the actual value that should be compared to the propert ... | assertTrue ( "Node " + node . getPath ( ) + " has no property " + propertyName , node . hasProperty ( propertyName ) ) ; final Property prop = node . getProperty ( propertyName ) ; assertEquals ( "Property type is not STRING " , PropertyType . STRING , prop . getType ( ) ) ; assertEquals ( actualValue , prop . getStrin... |
public class CmsScrollBar { /** * Calculates the scroll knob height . < p >
* @ param outerHeight the height of the scrollable element
* @ param innerHeight the height of the scroll content */
private void adjustKnobHeight ( int outerHeight , int innerHeight ) { } } | int result = ( int ) ( ( 1.0 * outerHeight * outerHeight ) / innerHeight ) ; result = result > ( outerHeight - 5 ) ? 5 : ( result < 8 ? 8 : result ) ; m_positionValueRatio = ( 1.0 * ( outerHeight - result ) ) / ( innerHeight - outerHeight ) ; m_knobHeight = result - ( 2 * SCROLL_KNOB_OFFSET ) ; m_knobHeight = m_knobHei... |
public class Rcli { /** * A method to update with a VOID
* @ param pathinfo
* @ param resp
* @ param expected
* @ return
* @ throws APIException
* @ throws CadiException */
public < T > Future < Void > update ( String pathinfo ) throws APIException , CadiException { } } | final int idx = pathinfo . indexOf ( '?' ) ; final String qp ; if ( idx >= 0 ) { qp = pathinfo . substring ( idx + 1 ) ; pathinfo = pathinfo . substring ( 0 , idx ) ; } else { qp = queryParams ; } EClient < CT > client = client ( ) ; client . setMethod ( PUT ) ; client . addHeader ( CONTENT_TYPE , typeString ( Void . c... |
public class CreateIndexCallable { /** * This method generates the virtual table create SQL for the specified index .
* Note : Any column that contains an ' = ' will cause the statement to fail
* because it triggers SQLite to expect that a parameter / value is being passed in .
* @ param indexName the index name ... | String tableName = String . format ( Locale . ENGLISH , "\"%s\"" , QueryImpl . tableNameForIndex ( indexName ) ) ; String cols = Misc . join ( "," , columns ) ; String settings = Misc . join ( "," , indexSettings ) ; return String . format ( "CREATE VIRTUAL TABLE %s USING FTS4 ( %s, %s )" , tableName , cols , settings ... |
public class JoinRecordReader { /** * Emit the next set of key , value pairs as defined by the child
* RecordReaders and operation associated with this composite RR . */
public boolean next ( K key , TupleWritable value ) throws IOException { } } | if ( jc . flush ( value ) ) { WritableUtils . cloneInto ( key , jc . key ( ) ) ; return true ; } jc . clear ( ) ; K iterkey = createKey ( ) ; final PriorityQueue < ComposableRecordReader < K , ? > > q = getRecordReaderQueue ( ) ; while ( ! q . isEmpty ( ) ) { fillJoinCollector ( iterkey ) ; jc . reset ( iterkey ) ; if ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.