signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class ImageSelectorAndSaver { /** * Creates a template of the fiducial and this is then used to determine how blurred the image is */
public void setTemplate ( GrayF32 image , List < Point2D_F64 > sides ) { } } | if ( sides . size ( ) != 4 ) throw new IllegalArgumentException ( "Expected 4 sidesCollision" ) ; removePerspective . apply ( image , sides . get ( 0 ) , sides . get ( 1 ) , sides . get ( 2 ) , sides . get ( 3 ) ) ; templateOriginal . setTo ( removePerspective . getOutput ( ) ) ; // blur the image a bit so it doesn ' t... |
public class HBaseClientFactory { /** * ( non - Javadoc )
* @ see
* com . impetus . kundera . loader . GenericClientFactory # instantiateClient ( java
* . lang . String ) */
@ Override protected Client instantiateClient ( String persistenceUnit ) { } } | return new HBaseClient ( indexManager , conf , connection , reader , persistenceUnit , externalProperties , clientMetadata , kunderaMetadata ) ; |
public class DescribeCertificateAuthorityAuditReportRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( DescribeCertificateAuthorityAuditReportRequest describeCertificateAuthorityAuditReportRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( describeCertificateAuthorityAuditReportRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( describeCertificateAuthorityAuditReportRequest . getCertificateAuthorityArn ( ) , CERTIFICATEAUTHORITYARN_BINDING ) ; protocolMarshaller .... |
public class JsonInput { private char readNext ( ) throws IOException { } } | if ( cachedNext != null ) { char next = cachedNext . charValue ( ) ; cachedNext = null ; return next ; } int next = input . read ( ) ; if ( next == - 1 ) { throw new IllegalArgumentException ( "Invalid JSON data: End of file" ) ; } return ( char ) next ; |
public class Levenshtein { /** * Searches the given collection of strings and returns the string that
* has the lowest Levenshtein distance to a given second string < code > t < / code > .
* If the collection contains multiple strings with the same distance to
* < code > t < / code > only the first one will be re... | int min = Integer . MAX_VALUE ; T result = null ; for ( T s : ss ) { int d = StringUtils . getLevenshteinDistance ( s , t ) ; if ( d < min ) { min = d ; result = s ; } } return result ; |
public class TldRegionTracker { /** * Spawn KLT tracks at evenly spaced points inside a grid */
protected void spawnGrid ( Rectangle2D_F64 prevRect ) { } } | // Shrink the rectangle to ensure that all features are entirely contained inside
spawnRect . p0 . x = prevRect . p0 . x + featureRadius ; spawnRect . p0 . y = prevRect . p0 . y + featureRadius ; spawnRect . p1 . x = prevRect . p1 . x - featureRadius ; spawnRect . p1 . y = prevRect . p1 . y - featureRadius ; double spa... |
public class StreamMetrics { /** * Reports the number of segment splits and merges related to a particular scale operation on a Stream . Both global
* and Stream - specific counters are updated .
* @ param scope Scope .
* @ param streamName Name of the Stream .
* @ param splits Number of segment splits in the s... | DYNAMIC_LOGGER . updateCounterValue ( globalMetricName ( SEGMENTS_SPLITS ) , splits ) ; DYNAMIC_LOGGER . updateCounterValue ( SEGMENTS_SPLITS , splits , streamTags ( scope , streamName ) ) ; DYNAMIC_LOGGER . updateCounterValue ( globalMetricName ( SEGMENTS_MERGES ) , merges ) ; DYNAMIC_LOGGER . updateCounterValue ( SEG... |
public class ClusterMetricsContext { /** * get topology metrics , note that only topology & component & worker
* metrics are returned */
public TopologyMetric getTopologyMetric ( String topologyId ) { } } | long start = System . nanoTime ( ) ; try { TopologyMetric ret = new TopologyMetric ( ) ; List < MetricInfo > topologyMetrics = metricCache . getMetricData ( topologyId , MetaType . TOPOLOGY ) ; List < MetricInfo > componentMetrics = metricCache . getMetricData ( topologyId , MetaType . COMPONENT ) ; List < MetricInfo >... |
public class InputDeserializer { /** * Deserializes an input message .
* @ param message The message to deserialize .
* @ return The message value . */
public Object deserialize ( JsonObject message ) { } } | String type = message . getString ( "type" ) ; if ( type == null ) { return message . getValue ( "value" ) ; } else { switch ( type ) { case "buffer" : return new Buffer ( message . getBinary ( "value" ) ) ; case "bytes" : return message . getBinary ( "value" ) ; case "serialized" : byte [ ] bytes = message . getBinary... |
public class TagAPI { /** * Removes a single tag from an object .
* @ param reference
* The object the tag should be removed from
* @ param tag
* The tag to remove */
public void removeTag ( Reference reference , String tag ) { } } | getResourceFactory ( ) . getApiResource ( "/tag/" + reference . toURLFragment ( ) ) . queryParam ( "text" , tag ) . delete ( ) ; |
public class MembershipTypeHandlerImpl { /** * { @ inheritDoc } */
public MembershipType findMembershipType ( String name ) throws Exception { } } | MembershipType mt = getFromCache ( name ) ; if ( mt != null ) { return mt ; } Session session = service . getStorageSession ( ) ; try { return findMembershipType ( session , name ) ; } finally { session . logout ( ) ; } |
public class CreateDirectoryRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( CreateDirectoryRequest createDirectoryRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( createDirectoryRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createDirectoryRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( createDirectoryRequest . getShortName ( ) , SHORTNAME_BINDING ) ; protocol... |
public class cmppolicy_stats { /** * Use this API to fetch the statistics of all cmppolicy _ stats resources that are configured on netscaler . */
public static cmppolicy_stats [ ] get ( nitro_service service ) throws Exception { } } | cmppolicy_stats obj = new cmppolicy_stats ( ) ; cmppolicy_stats [ ] response = ( cmppolicy_stats [ ] ) obj . stat_resources ( service ) ; return response ; |
public class Call { /** * < p > execute . < / p >
* @ param args a { @ link java . lang . String } object .
* @ return a { @ link java . lang . Object } object .
* @ throws java . lang . Exception if any . */
public Object execute ( String ... args ) throws Exception { } } | result = new Result ( expectation ) ; try { result . setActual ( message . send ( mergeInputsWith ( args ) ) ) ; } catch ( SystemUnderDevelopmentException e ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Error while executing specifications" , e . getCause ( ) ) ; } result . exceptionOccured ( e . getCause ... |
public class AbstractObjectTable { /** * Initialize our internal values . */
protected void init ( ) { } } | // Get all our messages
objectSingularName = getApplicationConfig ( ) . messageResolver ( ) . getMessage ( modelId + ".objectName.singular" ) ; objectPluralName = getApplicationConfig ( ) . messageResolver ( ) . getMessage ( modelId + ".objectName.plural" ) ; |
public class Reporters { /** * Same as { @ link # fileLauncher } but doesn ' t do the swing interaction after it opens the file . This is mostly used to reuse the logic
* of file launching without adding the burden for prompting the user after that .
* @ return a reporter that launches the file */
public static Rep... | final String cmd = new CrossPlatformCommand < String > ( ) { @ Override protected String onWindows ( ) { return "cmd /C start" ; } @ Override protected String onMac ( ) { return "open" ; } @ Override protected String onUnix ( ) { return "xdg-open" ; } } . execute ( ) ; return new ExecutableDifferenceReporter ( cmd , cm... |
public class ThreadPoolTaskScheduler { /** * Initialize executor .
* @ param threadFactory the thread factory
* @ param rejectedExecutionHandler the rejected execution handler
* @ return the executor service */
protected ExecutorService initializeExecutor ( ThreadFactory threadFactory , RejectedExecutionHandler r... | this . scheduledExecutor = createExecutor ( this . poolSize , threadFactory , rejectedExecutionHandler ) ; if ( this . removeOnCancelPolicy ) { if ( setRemoveOnCancelPolicyAvailable && this . scheduledExecutor instanceof ScheduledThreadPoolExecutor ) { ( ( ScheduledThreadPoolExecutor ) this . scheduledExecutor ) . setR... |
public class XMLOutputter { /** * Adds an attribute to the current element , with a < code > String < / code > value . There must
* currently be an open element .
* The attribute value is surrounded by the quotation mark character ( see
* { @ link # getQuotationMark ( ) } ) .
* @ param name the name of the attr... | // Check state
if ( _state != XMLEventListenerStates . START_TAG_OPEN ) { throw new IllegalStateException ( "getState() == " + _state ) ; // Check arguments
} else if ( name == null || value == null ) { if ( name == null && value == null ) { throw new IllegalArgumentException ( "name == null && value == null" ) ; } els... |
public class RecordSetsInner { /** * Lists all record sets in a DNS zone .
* @ param resourceGroupName The name of the resource group .
* @ param zoneName The name of the DNS zone ( without a terminating dot ) .
* @ param top The maximum number of record sets to return . If not specified , returns up to 100 recor... | return AzureServiceFuture . fromPageResponse ( listAllByDnsZoneSinglePageAsync ( resourceGroupName , zoneName , top , recordSetNameSuffix ) , new Func1 < String , Observable < ServiceResponse < Page < RecordSetInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < RecordSetInner > > > call ( String... |
public class SuperClassInvocationBenchmark { /** * Performs a benchmark of a super method invocation using Byte Buddy . This benchmark uses an annotation - based
* approach which is more difficult to optimize by the JIT compiler .
* @ param blackHole A black hole for avoiding JIT erasure . */
@ Benchmark @ Operatio... | blackHole . consume ( byteBuddyWithProxyInstance . method ( booleanValue ) ) ; blackHole . consume ( byteBuddyWithProxyInstance . method ( byteValue ) ) ; blackHole . consume ( byteBuddyWithProxyInstance . method ( shortValue ) ) ; blackHole . consume ( byteBuddyWithProxyInstance . method ( intValue ) ) ; blackHole . c... |
public class CmsUrlNameMappingFilter { /** * Creates a new filter from the current filter which also has to match a given name pattern . < p >
* @ param namePattern the name pattern which should be matched
* @ return a new filter */
public CmsUrlNameMappingFilter filterNamePattern ( String namePattern ) { } } | if ( namePattern == null ) { throw new IllegalArgumentException ( ) ; } CmsUrlNameMappingFilter result = new CmsUrlNameMappingFilter ( this ) ; result . m_namePattern = namePattern ; return result ; |
public class QuartzSchedulerThread { /** * Signals the main processing loop to pause at the next possible point . */
void halt ( final boolean wait ) { } } | synchronized ( m_aSigLock ) { m_aHalted . set ( true ) ; if ( m_bPaused ) { m_aSigLock . notifyAll ( ) ; } else { signalSchedulingChange ( 0 ) ; } } if ( wait ) { boolean interrupted = false ; try { while ( true ) { try { join ( ) ; break ; } catch ( final InterruptedException ex ) { interrupted = true ; } } } finally ... |
public class CollectionData { /** * Precondition : The specified key string is the path to a long . Gets the long at the specified
* key string .
* @ param keyStr One or more map keys and / or list indices ( separated by ' . ' if multiple parts ) .
* Indicates the path to the location within this data tree .
* ... | SoyData valueData = get ( keyStr ) ; if ( valueData == null ) { throw new IllegalArgumentException ( "Missing key: " + keyStr ) ; } return valueData . longValue ( ) ; |
public class CmsDataViewPanel { /** * Gets the list of selected data items . < p >
* If this widget is not in multi - select mode , a list with a single result will be returned . < p >
* @ return the selected results */
public List < I_CmsDataViewItem > getSelection ( ) { } } | List < I_CmsDataViewItem > result = Lists . newArrayList ( ) ; Object val = m_table . get ( ) . getValue ( ) ; if ( val == null ) { return result ; } if ( val instanceof Collection ) { Collection < ? > results = ( Collection < ? > ) val ; for ( Object obj : results ) { result . add ( m_dataView . getItemById ( ( String... |
public class Monetary { /** * Query all currencies matching the given query .
* @ param query The { @ link javax . money . CurrencyQuery } , not null .
* @ return the list of known currencies , never null . */
public static Collection < CurrencyUnit > getCurrencies ( CurrencyQuery query ) { } } | return Optional . ofNullable ( MONETARY_CURRENCIES_SINGLETON_SPI ( ) ) . orElseThrow ( ( ) -> new MonetaryException ( "No MonetaryCurrenciesSingletonSpi loaded, check your system setup." ) ) . getCurrencies ( query ) ; |
public class AdminObjectService { /** * { @ inheritDoc } */
@ Override public Object createResource ( ResourceInfo refInfo ) throws Exception { } } | final boolean trace = TraceComponent . isAnyTracingEnabled ( ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . entry ( this , tc , "createResource" , refInfo ) ; try { BootstrapContextImpl bootstrapContext = bootstrapContextRef . getServiceWithException ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebug... |
public class WarsApi { /** * Get war information Return details about a war - - - This route is cached
* for up to 3600 seconds
* @ param warId
* ID for a war ( required )
* @ param datasource
* The server name you would like data from ( optional , default to
* tranquility )
* @ param ifNoneMatch
* ETag... | ApiResponse < WarResponse > resp = getWarsWarIdWithHttpInfo ( warId , datasource , ifNoneMatch ) ; return resp . getData ( ) ; |
public class AbstractGitFlowMojo { /** * Validates plugin configuration . Throws exception if configuration is not
* valid .
* @ param params
* Configuration parameters to validate .
* @ throws MojoFailureException
* If configuration is not valid . */
protected void validateConfiguration ( String ... params )... | if ( StringUtils . isNotBlank ( argLine ) && MAVEN_DISALLOWED_PATTERN . matcher ( argLine ) . find ( ) ) { throw new MojoFailureException ( "The argLine doesn't match allowed pattern." ) ; } if ( params != null && params . length > 0 ) { for ( String p : params ) { if ( StringUtils . isNotBlank ( p ) && MAVEN_DISALLOWE... |
public class LayoutPrint { /** * PrintIt Method . */
public void printIt ( Record recLayout , PrintWriter out , int iIndents , String strEnd ) { } } | // Print out the current record
String strName = recLayout . getField ( Layout . NAME ) . toString ( ) ; String strType = recLayout . getField ( Layout . TYPE ) . toString ( ) ; String strValue = recLayout . getField ( Layout . FIELD_VALUE ) . toString ( ) ; String strReturns = recLayout . getField ( Layout . RETURNS_V... |
public class CalendarPanel { /** * labelMonthIndicatorMousePressed , This event is called any time that the user clicks on the
* month display label in the calendar . This opens a menu that the user can use to select a new
* month in the same year . */
private void labelMonthIndicatorMousePressed ( MouseEvent e ) {... | // Skip this function if the settings have not been applied .
if ( settings == null ) { return ; } // If the month menu is disabled , then return .
if ( settings . getEnableMonthMenu ( ) == false ) { return ; } // Create and show the month popup menu .
JPopupMenu monthPopupMenu = new JPopupMenu ( ) ; String [ ] allLoca... |
public class BaseDetectFiducialSquare { /** * Computes the fraction of pixels inside the image border which are black
* @ param pixelThreshold Pixel ' s less than this value are considered black
* @ return fraction of border that ' s black */
protected double computeFractionBoundary ( float pixelThreshold ) { } } | // TODO ignore outer pixels from this computation . Will require 8 regions ( 4 corners + top / bottom + left / right )
final int w = square . width ; int radius = ( int ) ( w * borderWidthFraction ) ; int innerWidth = w - 2 * radius ; int total = w * w - innerWidth * innerWidth ; int count = 0 ; for ( int y = 0 ; y < r... |
public class IbanUtil { /** * get bank number of iban .
* @ param pstring string with iban
* @ return bank number */
public static String getBankNumberOfIban ( final String pstring ) { } } | final String compressedIban = ibanCompress ( pstring ) ; final String country = StringUtils . substring ( compressedIban , 0 , 2 ) ; final IbanLengthDefinition length = IBAN_LENGTH_MAP . ibanLengths ( ) . get ( country ) ; return length == null ? null : StringUtils . substring ( compressedIban , length . getBankNumberS... |
public class A_CmsImport { /** * Checks if the resources is in the list of immutalbe resources . < p >
* @ param translatedName the name of the resource
* @ param immutableResources the list of the immutable resources
* @ return true or false */
protected boolean checkImmutable ( String translatedName , List < St... | boolean resourceNotImmutable = true ; if ( immutableResources . contains ( translatedName ) ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( Messages . get ( ) . getBundle ( ) . key ( Messages . LOG_IMPORTEXPORT_RESOURCENAME_IMMUTABLE_1 , translatedName ) ) ; } // this resource must not be modified by an import if i... |
public class FileSystem { /** * Listing a directory
* The returned results include its block location if it is a file
* The results are filtered by the given path filter
* @ param f a path
* @ param filter a path filter
* @ return an iterator that traverses statuses of the files / directories
* in the given... | return new RemoteIterator < LocatedFileStatus > ( ) { private final FileStatus [ ] stats ; private int i = 0 ; { // initializer
stats = listStatus ( f , filter ) ; if ( stats == null ) { throw new FileNotFoundException ( "File " + f + " does not exist." ) ; } } @ Override public boolean hasNext ( ) { return i < stats .... |
public class FileTransferNegotiator { /** * Selects an appropriate stream negotiator after examining the incoming file transfer request .
* @ param request The related file transfer request .
* @ return The file transfer object that handles the transfer
* @ throws NoStreamMethodsOfferedException If there are eith... | StreamInitiation si = request . getStreamInitiation ( ) ; FormField streamMethodField = getStreamMethodField ( si . getFeatureNegotiationForm ( ) ) ; if ( streamMethodField == null ) { String errorMessage = "No stream methods contained in stanza." ; StanzaError . Builder error = StanzaError . from ( StanzaError . Condi... |
public class CmsWebdavServlet { /** * Process a LOCK WebDAV request for the specified resource . < p >
* @ param req the servlet request we are processing
* @ param resp the servlet response we are creating
* @ throws IOException if an input / output error occurs */
@ SuppressWarnings ( "unchecked" ) protected vo... | String path = getRelativePath ( req ) ; // Check if webdav is set to read only
if ( m_readOnly ) { resp . setStatus ( CmsWebdavStatus . SC_FORBIDDEN ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( Messages . get ( ) . getBundle ( ) . key ( Messages . LOG_WEBDAV_READ_ONLY_0 ) ) ; } return ; } // Check if resource is... |
public class TaskSlotTable { @ Nullable private TaskSlot getTaskSlot ( AllocationID allocationId ) { } } | Preconditions . checkNotNull ( allocationId ) ; return allocationIDTaskSlotMap . get ( allocationId ) ; |
public class ExampleClass { /** * An example method .
* @ param arg1 An argument .
* @ param arg2 An argument .
* @ param arg3 An argument .
* @ return All arguments stored in an array . */
public Object [ ] method ( Object arg1 , Object arg2 , Object arg3 ) { } } | return new Object [ ] { arg1 , arg2 , arg3 } ; |
public class LUDecompositionBase_ZDRM { /** * Writes the upper triangular matrix into the specified matrix .
* @ param upper Where the upper triangular matrix is writen to . */
@ Override public ZMatrixRMaj getUpper ( ZMatrixRMaj upper ) { } } | int numRows = LU . numRows < LU . numCols ? LU . numRows : LU . numCols ; int numCols = LU . numCols ; upper = UtilDecompositons_ZDRM . checkZerosLT ( upper , numRows , numCols ) ; for ( int i = 0 ; i < numRows ; i ++ ) { for ( int j = i ; j < numCols ; j ++ ) { int indexLU = LU . getIndex ( i , j ) ; int indexU = uppe... |
public class DbgpXmlEntityParser { /** * $ NON - NLS - 1 $ */
public static IDbgpProperty parseProperty ( Element property ) { } } | /* * attributes : name , fullname , type , children , numchildren , constant , encoding , size , key , address */
// may exist as an attribute of the property or as child element
final String name = getFromChildOrAttr ( property , ATTR_NAME ) ; final String fullName = getFromChildOrAttr ( property , ATTR_FULLNAME ) ; f... |
public class PresentsDObjectMgr { /** * Performs the processing associated with an event , notifying listeners and the like . */
protected void processEvent ( DEvent event ) { } } | // look up the target object
DObject target = _objects . get ( event . getTargetOid ( ) ) ; if ( target == null ) { log . debug ( "Event target no longer exists" , "event" , event ) ; return ; } // check the event ' s permissions
if ( ! target . checkPermissions ( event ) ) { log . warning ( "Event failed permissions c... |
public class Output { /** * { @ inheritDoc } */
@ Override public void writeNumber ( Number num ) { } } | buf . put ( AMF . TYPE_NUMBER ) ; buf . putDouble ( num . doubleValue ( ) ) ; |
public class Latkes { /** * Loads the local . props . */
private static void loadLocalProps ( ) { } } | if ( null == localProps ) { localProps = new Properties ( ) ; } try { InputStream resourceAsStream ; final String localPropsEnv = System . getenv ( "LATKE_LOCAL_PROPS" ) ; if ( StringUtils . isNotBlank ( localPropsEnv ) ) { LOGGER . debug ( "Loading local.properties from env var [$LATKE_LOCAL_PROPS=" + localPropsEnv + ... |
public class ListTagsForResourceResult { /** * A list of tags for the resource .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setTagList ( java . util . Collection ) } or { @ link # withTagList ( java . util . Collection ) } if you want to override
* the... | if ( this . tagList == null ) { setTagList ( new java . util . ArrayList < Tag > ( tagList . length ) ) ; } for ( Tag ele : tagList ) { this . tagList . add ( ele ) ; } return this ; |
public class DescribeAnalysisSchemesRequest { /** * The analysis schemes you want to describe .
* @ return The analysis schemes you want to describe . */
public java . util . List < String > getAnalysisSchemeNames ( ) { } } | if ( analysisSchemeNames == null ) { analysisSchemeNames = new com . amazonaws . internal . SdkInternalList < String > ( ) ; } return analysisSchemeNames ; |
public class Operator { /** * concat 2 CharSequences
* @ param left
* @ param right
* @ return concated String */
public static CharSequence concat ( CharSequence left , CharSequence right ) { } } | if ( left instanceof Appendable ) { try { ( ( Appendable ) left ) . append ( right ) ; return left ; } catch ( IOException e ) { } } return new StringBuilder ( left ) . append ( right ) ; |
public class PlayerPlaylist { /** * Return the current track .
* @ return current track or null if none has been added to the player playlist . */
public SoundCloudTrack getCurrentTrack ( ) { } } | if ( mCurrentTrackIndex > - 1 && mCurrentTrackIndex < mSoundCloudPlaylist . getTracks ( ) . size ( ) ) { return mSoundCloudPlaylist . getTracks ( ) . get ( mCurrentTrackIndex ) ; } return null ; |
public class ContentsIdExtension { /** * Get by contents data type
* @ param type
* contents data type
* @ return contents ids */
public List < ContentsId > getIds ( String type ) { } } | List < ContentsId > contentsIds = null ; ContentsDao contentsDao = geoPackage . getContentsDao ( ) ; try { if ( contentsIdDao . isTableExists ( ) ) { QueryBuilder < Contents , String > contentsQueryBuilder = contentsDao . queryBuilder ( ) ; QueryBuilder < ContentsId , Long > contentsIdQueryBuilder = contentsIdDao . que... |
public class FSDirectory { /** * create a directory at index pos .
* The parent path to the directory is at [ 0 , pos - 1 ] .
* All ancestors exist . Newly created one stored at index pos . */
private void unprotectedMkdir ( long inodeId , INode [ ] inodes , int pos , byte [ ] name , PermissionStatus permission , b... | inodes [ pos ] = addChild ( inodes , pos , new INodeDirectory ( inodeId , name , permission , timestamp ) , - 1 , inheritPermission ) ; |
public class qos_stats { /** * < pre >
* converts nitro response into object and returns the object array in case of get request .
* < / pre > */
protected base_resource [ ] get_nitro_response ( nitro_service service , String response ) throws Exception { } } | qos_stats [ ] resources = new qos_stats [ 1 ] ; qos_response result = ( qos_response ) service . get_payload_formatter ( ) . string_to_resource ( qos_response . class , response ) ; if ( result . errorcode != 0 ) { if ( result . errorcode == 444 ) { service . clear_session ( ) ; } if ( result . severity != null ) { if ... |
public class CPInstancePersistenceImpl { /** * Returns the last cp instance in the ordered set where displayDate & lt ; & # 63 ; and status = & # 63 ; .
* @ param displayDate the display date
* @ param status the status
* @ param orderByComparator the comparator to order the set by ( optionally < code > null < / ... | int count = countByLtD_S ( displayDate , status ) ; if ( count == 0 ) { return null ; } List < CPInstance > list = findByLtD_S ( displayDate , status , count - 1 , count , orderByComparator ) ; if ( ! list . isEmpty ( ) ) { return list . get ( 0 ) ; } return null ; |
public class CommentsForComparedCommit { /** * An array of comment objects . Each comment object contains information about a comment on the comparison between
* commits .
* @ param comments
* An array of comment objects . Each comment object contains information about a comment on the comparison
* between comm... | if ( comments == null ) { this . comments = null ; return ; } this . comments = new java . util . ArrayList < Comment > ( comments ) ; |
public class TypeHandlerUtils { /** * Creates new { @ link java . sql . Array } instance .
* Can be invoked only for JDBC4 driver
* @ param conn SQL connection
* @ param typeName array type name
* @ param elements array of elements
* @ return new { @ link java . sql . Array } instance
* @ throws org . midao... | Object result = null ; try { result = MappingUtils . invokeFunction ( conn , "createArrayOf" , new Class [ ] { String . class , Object [ ] . class } , new Object [ ] { typeName , elements } ) ; } catch ( MjdbcException ex ) { throw new MjdbcSQLException ( "createArrayOf is not supported by JDBC Driver" , ex ) ; } retur... |
public class Base58 { /** * Encodes the given bytes in base58 . No checksum is appended .
* @ param input byte array input
* @ return string encoded in Base58 */
public static String encode ( byte [ ] input ) { } } | if ( input . length == 0 ) { return "" ; } input = copyOfRange ( input , 0 , input . length ) ; // Count leading zeroes .
int zeroCount = 0 ; while ( zeroCount < input . length && input [ zeroCount ] == 0 ) { ++ zeroCount ; } // The actual encoding .
byte [ ] temp = new byte [ input . length * 2 ] ; int j = temp . leng... |
public class AttributeDefinition { /** * Gets a set of any { @ link org . jboss . as . controller . registry . AttributeAccess . Flag flags } used
* to indicate special characteristics of the attribute
* @ return the flags . Will not be { @ code null } but may be empty .
* @ deprecated In the next release , the r... | if ( flags . isEmpty ( ) ) { return EnumSet . noneOf ( AttributeAccess . Flag . class ) ; } AttributeAccess . Flag [ ] array = flags . toArray ( new AttributeAccess . Flag [ flags . size ( ) ] ) ; return array . length == 1 ? EnumSet . of ( array [ 0 ] ) : EnumSet . of ( array [ 0 ] , array ) ; |
public class ObsFeatureConjoiner { /** * Loops through all examples to create the features , thereby ensuring that the FTS are initialized . */
private void extractAllFeats ( FgExampleList data , FactorTemplateList templates ) { } } | // Create a " no - op " counter .
IFgModel counts = new IFgModel ( ) { @ Override public void addAfterScaling ( FeatureVector fv , double multiplier ) { } @ Override public void add ( int feat , double addend ) { } } ; // Loop over all factors in the dataset .
for ( int i = 0 ; i < data . size ( ) ; i ++ ) { if ( i % 1... |
public class RuleEvaluator { /** * Return true if all entries in the " match " map pass the predicate tests for the resource
* @ param resource the resource
* @ param predicateTransformer transformer to convert a String into a Predicate check
* @ param listpred
* @ param ruleResource
* @ param sourceIdentity ... | for ( final Object o : ruleResource . entrySet ( ) ) { final Map . Entry entry = ( Map . Entry ) o ; final String key = ( String ) entry . getKey ( ) ; final Object test = entry . getValue ( ) ; final boolean matched = applyTest ( resource , predicateTransformer , key , test , listpred , sourceIdentity ) ; if ( ! match... |
public class JavaSourceUtils { /** * 合并注解成员声明 */
public static AnnotationMemberDeclaration mergeAnnotationMember ( AnnotationMemberDeclaration one , AnnotationMemberDeclaration two ) { } } | if ( isAllNull ( one , two ) ) return null ; AnnotationMemberDeclaration amd = null ; if ( isAllNotNull ( one , two ) ) { amd = new AnnotationMemberDeclaration ( ) ; amd . setJavaDoc ( mergeSelective ( one . getJavaDoc ( ) , two . getJavaDoc ( ) ) ) ; amd . setComment ( mergeSelective ( one . getComment ( ) , two . get... |
public class GetTagsRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( GetTagsRequest getTagsRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( getTagsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getTagsRequest . getSearchString ( ) , SEARCHSTRING_BINDING ) ; protocolMarshaller . marshall ( getTagsRequest . getTimePeriod ( ) , TIMEPERIOD_BINDING ) ; protocolMarsha... |
public class Elapsed { /** * Initializes the object .
* @ param qty the amount
* @ param unit the time unit */
private void init ( final long qty , final TimeUnit unit ) { } } | long millis = unit . convert ( qty ) ; seconds = TimeUnit . MILLISECOND . convert ( millis , TimeUnit . SECOND ) % 60 ; minutes = TimeUnit . MILLISECOND . convert ( millis , TimeUnit . MINUTE ) % 60 ; hours = TimeUnit . MILLISECOND . convert ( millis , TimeUnit . HOUR ) % 24 ; days = TimeUnit . MILLISECOND . convert ( ... |
public class StandardJdbcProcessor { public int executeUpdate ( String update ) throws SQLException { } } | System . out . println ( new LogEntry ( "executing: " + update ) ) ; // TODO time execution time
Connection conn = dataSource . getConnection ( ) ; Statement s = conn . createStatement ( ) ; int result = s . executeUpdate ( update ) ; conn . close ( ) ; System . out . println ( new LogEntry ( result + " rows affected" ... |
public class CmsListManager { /** * Saves the blacklist from the bean in the current list configuration . < p >
* @ param configBean the bean whose blacklist should be saved */
public void saveBlacklist ( ListConfigurationBean configBean ) { } } | if ( m_dialogWindow != null ) { m_dialogWindow . close ( ) ; m_dialogWindow = null ; } CmsObject cms = A_CmsUI . getCmsObject ( ) ; try { m_lockAction = CmsLockUtil . ensureLock ( cms , m_currentResource ) ; } catch ( CmsException e ) { CmsErrorDialog . showErrorDialog ( e ) ; return ; } try { CmsFile configFile = cms ... |
public class FnDouble { /** * It returns the { @ link String } representation of the target as a currency in the
* default { @ link Locale }
* @ return the { @ link String } representation of the input as a currency */
public static final Function < Double , String > toCurrencyStr ( ) { } } | return ( Function < Double , String > ) ( ( Function ) FnNumber . toCurrencyStr ( ) ) ; |
public class DataLayout { /** * Removes a { @ link Data } so that it will no longer be observed by this layout . */
public final void removeData ( @ NonNull Data < ? > data ) { } } | checkNotNull ( data , "data" ) ; mDatas . remove ( data ) ; mDataWatcher . setDatas ( mDatas ) ; updateViews ( ) ; |
public class CmsLoginManager { /** * Checks whether a user account can be locked because of inactivity .
* @ param cms the CMS context
* @ param user the user to check
* @ return true if the user may be locked after being inactive for too long */
public boolean canLockBecauseOfInactivity ( CmsObject cms , CmsUser... | return ! user . isManaged ( ) && ! user . isWebuser ( ) && ! OpenCms . getDefaultUsers ( ) . isDefaultUser ( user . getName ( ) ) && ! OpenCms . getRoleManager ( ) . hasRole ( cms , user . getName ( ) , CmsRole . ROOT_ADMIN ) ; |
public class CommerceAccountLocalServiceBaseImpl { /** * Sets the commerce account organization rel local service .
* @ param commerceAccountOrganizationRelLocalService the commerce account organization rel local service */
public void setCommerceAccountOrganizationRelLocalService ( com . liferay . commerce . account... | this . commerceAccountOrganizationRelLocalService = commerceAccountOrganizationRelLocalService ; |
public class CPTaxCategoryServiceBaseImpl { /** * Sets the cp definition link local service .
* @ param cpDefinitionLinkLocalService the cp definition link local service */
public void setCPDefinitionLinkLocalService ( com . liferay . commerce . product . service . CPDefinitionLinkLocalService cpDefinitionLinkLocalSe... | this . cpDefinitionLinkLocalService = cpDefinitionLinkLocalService ; |
public class WindowSpecificationImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public void setRES3 ( Integer newRES3 ) { } } | Integer oldRES3 = res3 ; res3 = newRES3 ; if ( eNotificationRequired ( ) ) eNotify ( new ENotificationImpl ( this , Notification . SET , AfplibPackage . WINDOW_SPECIFICATION__RES3 , oldRES3 , res3 ) ) ; |
public class PrintWriter { /** * Appends the specified character sequence to this writer .
* < p > An invocation of this method of the form < tt > out . append ( csq ) < / tt >
* behaves in exactly the same way as the invocation
* < pre >
* out . write ( csq . toString ( ) ) < / pre >
* < p > Depending on the... | if ( csq == null ) write ( "null" ) ; else write ( csq . toString ( ) ) ; return this ; |
public class SimpleBlas { /** * Compute y < - x ( copy a matrix ) */
public static DoubleMatrix copy ( DoubleMatrix x , DoubleMatrix y ) { } } | // NativeBlas . dcopy ( x . length , x . data , 0 , 1 , y . data , 0 , 1 ) ;
JavaBlas . rcopy ( x . length , x . data , 0 , 1 , y . data , 0 , 1 ) ; return y ; |
public class AmazonAppStreamClient { /** * Associates the specified fleet with the specified stack .
* @ param associateFleetRequest
* @ return Result of the AssociateFleet operation returned by the service .
* @ throws LimitExceededException
* The requested limit exceeds the permitted limit for an account .
... | request = beforeClientExecution ( request ) ; return executeAssociateFleet ( request ) ; |
public class InstancedConfiguration { /** * Actual recursive lookup replacement .
* @ param base the string to resolve
* @ param seen strings already seen during this lookup , used to prevent unbound recursion
* @ return the resolved string */
private String lookupRecursively ( String base , Set < String > seen )... | // check argument
if ( base == null ) { throw new UnresolvablePropertyException ( "Can't resolve property with null value" ) ; } String resolved = base ; // Lets find pattern match to $ { key } .
// TODO ( hsaputra ) : Consider using Apache Commons StrSubstitutor .
Matcher matcher = CONF_REGEX . matcher ( base ) ; whil... |
public class TransactionManager { /** * Start a short transaction with a given timeout .
* @ param timeoutInSeconds the time out period in seconds . */
public Transaction startShort ( int timeoutInSeconds ) { } } | Preconditions . checkArgument ( timeoutInSeconds > 0 , "timeout must be positive but is %s" , timeoutInSeconds ) ; txMetricsCollector . rate ( "start.short" ) ; Stopwatch timer = new Stopwatch ( ) . start ( ) ; long expiration = getTxExpiration ( timeoutInSeconds ) ; Transaction tx = startTx ( expiration , TransactionT... |
public class SuffixDictionary { /** * 词语是否以该词典中的某个单词结尾
* @ param word
* @ return */
public boolean endsWith ( String word ) { } } | word = reverse ( word ) ; return trie . commonPrefixSearchWithValue ( word ) . size ( ) > 0 ; |
public class Kernel2D_S32 { /** * Creates a kernel whose elements are the specified data array and has
* the specified width .
* @ param data The array who will be the kernel ' s data . Reference is saved .
* @ param width The kernel ' s width .
* @ param offset Kernel origin ' s offset from element 0.
* @ re... | if ( width % 2 == 0 && width <= 0 && width * width > data . length ) throw new IllegalArgumentException ( "invalid width" ) ; Kernel2D_S32 ret = new Kernel2D_S32 ( ) ; ret . data = data ; ret . width = width ; ret . offset = offset ; return ret ; |
public class AttributeDefinition { /** * Based on the given attribute value , add capability requirements . If this definition
* is for an attribute whose value is or contains a reference to the name of some capability ,
* this method should record the addition of a requirement for the capability .
* This is a no... | addCapabilityRequirements ( context , null , attributeValue ) ; |
public class SoyJsPluginUtils { /** * Applies the given print directive to { @ code expr } and returns the result .
* @ param generator The CodeChunk generator to use .
* @ param expr The expression to apply the print directive to .
* @ param directive The print directive to apply .
* @ param args Print directi... | List < JsExpr > argExprs = Lists . transform ( args , Expression :: singleExprOrName ) ; JsExpr applied ; try { applied = directive . applyForJsSrc ( expr . singleExprOrName ( ) , argExprs ) ; } catch ( Throwable t ) { applied = report ( location , directive , t , errorReporter ) ; } RequiresCollector . IntoImmutableSe... |
public class MathExpressions { /** * Round to nearest integer
* @ param num numeric expression
* @ return round ( this ) */
public static < A extends Number & Comparable < ? > > NumberExpression < A > round ( Expression < A > num ) { } } | return Expressions . numberOperation ( num . getType ( ) , MathOps . ROUND , num ) ; |
public class ArrayContainer { /** * for use in inot range known to be nonempty */
private void negateRange ( final short [ ] buffer , final int startIndex , final int lastIndex , final int startRange , final int lastRange ) { } } | // compute the negation into buffer
int outPos = 0 ; int inPos = startIndex ; // value here always > = valInRange ,
// until it is exhausted
// n . b . , we can start initially exhausted .
int valInRange = startRange ; for ( ; valInRange < lastRange && inPos <= lastIndex ; ++ valInRange ) { if ( ( short ) valInRange !=... |
public class UtilCache { /** * Clears all expired cache entries ; also clear any cache entries where the
* SoftReference in the CacheLine object has been cleared by the gc */
public void clearExpired ( ) { } } | Iterator keys = cacheLineTable . keySet ( ) . iterator ( ) ; while ( keys . hasNext ( ) ) { Object key = keys . next ( ) ; if ( hasExpired ( key ) ) { removeObject ( key ) ; } } |
public class Metadata { /** * < p > Finds all parameters on the request definition which are annotated with the given type and returns
* the annotation instance together with the runtime argument . < / p >
* @ param type
* the { @ link Class } of the annotation to look for on the request parameters
* < br > < b... | assertNotNull ( type ) ; assertNotNull ( context ) ; List < Entry < T , Object > > metadata = new ArrayList < Entry < T , Object > > ( ) ; Method request = context . getRequest ( ) ; List < Object > paramValues = context . getArguments ( ) ; Annotation [ ] [ ] annotationsForAllParams = request . getParameterAnnotations... |
public class PolicyFactoryImpl { /** * Loads a policy from a class on the classpath .
* @ param policyImpl
* @ param handler */
protected void doLoadFromClasspath ( String policyImpl , IAsyncResultHandler < IPolicy > handler ) { } } | IPolicy rval ; String classname = policyImpl . substring ( 6 ) ; Class < ? > c = null ; // First try a simple Class . forName ( )
try { c = Class . forName ( classname ) ; } catch ( ClassNotFoundException e ) { } // Didn ' t work ? Try using this class ' s classloader .
if ( c == null ) { try { c = getClass ( ) . getCl... |
public class DefaultSchemaManager { /** * Update the managedSchemaMap for the entry defined by tableName and
* entityName .
* @ param tableName
* The table name of the managed schema
* @ param entityName
* The entity name of the managed schema */
@ Override public void refreshManagedSchemaCache ( String table... | ManagedSchema managedSchema = managedSchemaDao . getManagedSchema ( tableName , entityName ) ; if ( managedSchema != null ) { getManagedSchemaMap ( ) . put ( getManagedSchemaMapKey ( managedSchema . getTable ( ) , managedSchema . getName ( ) ) , managedSchema ) ; } |
public class ReflectUtils { /** * Sets the specified field value while wrapping checked exception in a { @ link ShedException } .
* @ param field the field .
* @ param self the instance to get the value from .
* @ param < T > the type of the field value .
* @ return the field value . */
@ SuppressWarnings ( "un... | try { return ( T ) field . get ( self ) ; } catch ( IllegalAccessException e ) { throw ShedException . wrap ( e , ShedErrorCode . UNABLE_TO_GET_FIELD ) . put ( "field" , field . toGenericString ( ) ) ; } |
public class SourceReaderModule { /** * Get pipe line filters
* @ param fileToParse absolute URI to current file being processed */
List < XMLFilter > getProcessingPipe ( final URI fileToParse ) { } } | final List < XMLFilter > pipe = new ArrayList < > ( ) ; for ( XmlFilterModule . FilterPair pair : filters ) { final AbstractXMLFilter filter = pair . filter ; filter . setLogger ( logger ) ; filter . setJob ( job ) ; filter . setCurrentFile ( fileToParse ) ; pipe . add ( filter ) ; } return pipe ; |
public class SetOperation { /** * Used by intersection and AnotB */
static final int computeMinLgArrLongsFromCount ( final int count ) { } } | final int upperCount = ( int ) Math . ceil ( count / REBUILD_THRESHOLD ) ; final int arrLongs = max ( ceilingPowerOf2 ( upperCount ) , 1 << MIN_LG_ARR_LONGS ) ; final int newLgArrLongs = Integer . numberOfTrailingZeros ( arrLongs ) ; return newLgArrLongs ; |
public class BaseSparseNDArrayCSR { /** * Returns a subset of this array based on the specified
* indexes
* @ param indexes the indexes in to the array
* @ return a view of the array with the specified indices */
@ Override public INDArray get ( INDArrayIndex ... indexes ) { } } | // check for row / column vector and point index being 0
if ( indexes . length == 1 && indexes [ 0 ] instanceof NDArrayIndexAll || ( indexes . length == 2 && ( isRowVector ( ) && indexes [ 0 ] instanceof PointIndex && indexes [ 0 ] . offset ( ) == 0 && indexes [ 1 ] instanceof NDArrayIndexAll || isColumnVector ( ) && i... |
public class ApiClient { /** * Add network interceptor to httpClient to track download progress for
* async requests . */
private void addProgressInterceptor ( ) { } } | httpClient . networkInterceptors ( ) . add ( new Interceptor ( ) { @ Override public Response intercept ( Interceptor . Chain chain ) throws IOException { final Request request = chain . request ( ) ; final Response originalResponse = chain . proceed ( request ) ; if ( request . tag ( ) instanceof ApiCallback ) { final... |
public class InstanceValidator { /** * the instance validator had no issues against the base resource profile */
private void start ( List < ValidationMessage > errors , WrapperElement resource , WrapperElement element , StructureDefinition profile , NodeStack stack ) throws FHIRException { } } | // profile is valid , and matches the resource name
if ( rule ( errors , IssueType . STRUCTURE , element . line ( ) , element . col ( ) , stack . getLiteralPath ( ) , profile . hasSnapshot ( ) , "StructureDefinition has no snapshot - validation is against the snapshot, so it must be provided" ) ) { validateElement ( er... |
public class Murmur3F { /** * Special update method to hash long values very efficiently using Java ' s native little endian ( LE ) byte order .
* Note , that you cannot mix this with other ( previous ) hash updates , because it only supports 8 - bytes alignment . */
public void updateLongLE ( long value ) { } } | finished = false ; switch ( partialPos ) { case 0 : partialK1 = value ; break ; case 8 : partialK2 = value ; break ; default : throw new IllegalStateException ( "Cannot mix long with other alignments than 8: " + partialPos ) ; } partialPos += 8 ; if ( partialPos == 16 ) { applyKs ( partialK1 , partialK2 ) ; partialPos ... |
public class ListIndexRequest { /** * Specifies the ranges of indexed values that you want to query .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setRangesOnIndexedValues ( java . util . Collection ) } or
* { @ link # withRangesOnIndexedValues ( java . ... | if ( this . rangesOnIndexedValues == null ) { setRangesOnIndexedValues ( new java . util . ArrayList < ObjectAttributeRange > ( rangesOnIndexedValues . length ) ) ; } for ( ObjectAttributeRange ele : rangesOnIndexedValues ) { this . rangesOnIndexedValues . add ( ele ) ; } return this ; |
public class SynchronousQueue { /** * Reconstitutes this queue from a stream ( that is , deserializes it ) .
* @ param s the stream
* @ throws ClassNotFoundException if the class of a serialized object
* could not be found
* @ throws java . io . IOException if an I / O error occurs */
private void readObject ( ... | s . defaultReadObject ( ) ; if ( waitingProducers instanceof FifoWaitQueue ) transferer = new TransferQueue < E > ( ) ; else transferer = new TransferStack < E > ( ) ; |
public class NetworkWatchersInner { /** * Get network configuration diagnostic .
* @ param resourceGroupName The name of the resource group .
* @ param networkWatcherName The name of the network watcher .
* @ param parameters Parameters to get network configuration diagnostic .
* @ param serviceCallback the asy... | return ServiceFuture . fromResponse ( beginGetNetworkConfigurationDiagnosticWithServiceResponseAsync ( resourceGroupName , networkWatcherName , parameters ) , serviceCallback ) ; |
public class LssParser { /** * Adds the stored attribute values to the style sheet . Resolves inherited styles . */
protected void processAttributes ( ) { } } | for ( final String tag : tags ) { for ( final String inherit : inherits ) { styleSheet . addStyles ( tag , styleSheet . getStyles ( inherit ) ) ; } styleSheet . addStyles ( tag , attributes ) ; } |
public class FTPClient { /** * Sets restart parameter of the next transfer .
* @ param restartData marker to use
* @ exception ServerException if the file does not exist or
* an error occured . */
public void setRestartMarker ( RestartData restartData ) throws IOException , ServerException { } } | Command cmd = new Command ( "REST" , restartData . toFtpCmdArgument ( ) ) ; Reply reply = null ; try { reply = controlChannel . exchange ( cmd ) ; } catch ( FTPReplyParseException e ) { throw ServerException . embedFTPReplyParseException ( e ) ; } if ( ! Reply . isPositiveIntermediate ( reply ) ) { throw ServerExceptio... |
public class Schema { /** * Adds a new { @ link Analyzer } .
* @ param name the name of the { @ link Analyzer } to be added
* @ param analyzer the { @ link Analyzer } to be added
* @ return this with the specified analyzer */
public Schema analyzer ( String name , Analyzer analyzer ) { } } | if ( analyzers == null ) { analyzers = new LinkedHashMap < > ( ) ; } analyzers . put ( name , analyzer ) ; return this ; |
public class AuthenticateUserHelper { /** * Authenticate the given user and return an authenticated Subject .
* @ param authenticationService service to authenticate a user , must not be null
* @ param userName the user to authenticate , must not be null
* @ param jaasEntryName the optional JAAS configuration ent... | return authenticateUser ( authenticationService , userName , jaasEntryName , null ) ; |
public class ManifestLoader { /** * This method adds dynamic attributes to the given { @ code manifest } .
* @ param manifest is the { @ link Manifest } to modify .
* @ param url is the { @ link URL } with the source of the manifest . */
private static void completeManifest ( Manifest manifest , URL url ) { } } | String path = url . getPath ( ) ; int start = 0 ; int end = path . length ( ) ; if ( path . endsWith ( JAR_SUFFIX ) ) { // 4 for " . jar "
end = end - JAR_SUFFIX . length ( ) + 4 ; start = path . lastIndexOf ( '/' , end ) + 1 ; } String source = path . substring ( start , end ) ; manifest . getMainAttributes ( ) . put ... |
public class PrivateDataManager { /** * Adds a private data provider with the specified element name and name space . The provider
* will override any providers loaded through the classpath .
* @ param elementName the XML element name .
* @ param namespace the XML namespace .
* @ param provider the private data... | String key = XmppStringUtils . generateKey ( elementName , namespace ) ; privateDataProviders . put ( key , provider ) ; |
public class IterationSynchronizationSinkTask { @ Override public void invoke ( ) throws Exception { } } | this . headEventReader = new MutableRecordReader < > ( getEnvironment ( ) . getInputGate ( 0 ) , getEnvironment ( ) . getTaskManagerInfo ( ) . getTmpDirectories ( ) ) ; TaskConfig taskConfig = new TaskConfig ( getTaskConfiguration ( ) ) ; // store all aggregators
this . aggregators = new HashMap < > ( ) ; for ( Aggrega... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.