signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class FilterPredicate { /** * From the ' value ' object , find the field name that will be filtered on , which is a effectively a key into * a JSON object . This will generally be the result of calling toString on the object , but * for enums , there maybe a getValue method which be used instead . * @ para...
// The logic here is slightly icky , as getValue may or may not exist , // and must be called reflectively if it does exist if ( ! ( value instanceof Enum ) ) { return value . toString ( ) ; } Method method = null ; try { method = value . getClass ( ) . getMethod ( "getValue" ) ; } catch ( NoSuchMethodException e ) { }...
public class RESTBaseEntityCollectionV1 { /** * It is possible that a client has sent up a collection that asks to add and remove the same child item in a collection . * This method , combined with the ignoreDuplicatedAddRemoveItemRequests ( ) method , will weed out any duplicated requests . */ @ Override public void...
/* ignore attempts to add / remove / update null items and items with invalid states */ if ( getItems ( ) != null ) { final List < V > items = new ArrayList < V > ( getItems ( ) ) ; for ( final V item : items ) { if ( item . getItem ( ) == null ) { getItems ( ) . remove ( item ) ; } else if ( item . getState ( ) != nul...
public class SecureUtil { /** * sha256计算后进行16进制转换 * @ param data * 待计算的数据 * @ param encoding * 编码 * @ return 计算结果 */ public static byte [ ] sha256X16 ( String data , String encoding ) { } }
byte [ ] bytes = sha256 ( data , encoding ) ; StringBuilder sha256StrBuff = new StringBuilder ( ) ; for ( int i = 0 ; i < bytes . length ; i ++ ) { if ( Integer . toHexString ( 0xFF & bytes [ i ] ) . length ( ) == 1 ) { sha256StrBuff . append ( "0" ) . append ( Integer . toHexString ( 0xFF & bytes [ i ] ) ) ; } else { ...
public class Element { /** * Find elements that have an attribute with the specific value . Case insensitive . * @ param key name of the attribute * @ param value value of the attribute * @ return elements that have this attribute with this value , empty if none */ public Elements getElementsByAttributeValue ( St...
return Collector . collect ( new Evaluator . AttributeWithValue ( key , value ) , this ) ;
public class JDBC4ClientConnection { /** * Blocks the current thread until there is no more backpressure or there are no more * connections to the database * @ throws InterruptedException * @ throws IOException */ public void backpressureBarrier ( ) throws InterruptedException , IOException { } }
ClientImpl currentClient = this . getClient ( ) ; if ( currentClient == null ) { throw new IOException ( "Client is unavailable for backpressureBarrier()." ) ; } currentClient . backpressureBarrier ( ) ;
public class TypeConverterTools { /** * This assumes that comparability implies assignability or convertability . . . * @ param o object * @ param type type */ public static void checkAssignability ( Object o , Class < ? > type ) { } }
COMPARISON_TYPE ctO = COMPARISON_TYPE . fromObject ( o ) ; COMPARISON_TYPE ctT = COMPARISON_TYPE . fromClass ( type ) ; try { COMPARISON_TYPE . fromOperands ( ctO , ctT ) ; } catch ( Exception e ) { throw DBLogger . newUser ( "Cannot assign " + o . getClass ( ) + " to " + type , e ) ; }
public class EnumeratedMap { /** * Converts to a Map */ Map convertToMap ( ) { } }
Map ret = new HashMap ( ) ; for ( Enumeration e = enumerateKeys ( ) ; e . hasMoreElements ( ) ; ) { Object key = e . nextElement ( ) ; Object value = getValue ( key ) ; ret . put ( key , value ) ; } return ret ;
public class CompensationBehavior { /** * Determines whether an execution is responsible for default compensation handling . * This is the case if * < ul > * < li > the execution has an activity * < li > the execution is a scope * < li > the activity is a scope * < li > the execution has children * < li >...
ActivityImpl currentActivity = scopeExecution . getActivity ( ) ; if ( currentActivity != null ) { return scopeExecution . isScope ( ) && currentActivity . isScope ( ) && ! scopeExecution . getNonEventScopeExecutions ( ) . isEmpty ( ) && ! isCompensationThrowing ( scopeExecution ) ; } else { return false ; }
public class ProtectionIntentsInner { /** * It will validate followings * 1 . Vault capacity * 2 . VM is already protected * 3 . Any VM related configuration passed in properties . * @ param azureRegion Azure region to hit Api * @ param parameters Enable backup validation request on Virtual Machine * @ thro...
return validateWithServiceResponseAsync ( azureRegion , parameters ) . toBlocking ( ) . single ( ) . body ( ) ;
public class BOverrideBlurImageOps { /** * TODO replace with native normalized ? */ public static < T extends ImageBase < T > > boolean invokeNativeGaussian ( T input , T output , double sigma , int radius , T storage ) { } }
boolean processed = false ; if ( BOverrideBlurImageOps . gaussian != null ) { try { BOverrideBlurImageOps . gaussian . processGaussian ( input , output , sigma , radius , storage ) ; processed = true ; } catch ( RuntimeException ignore ) { } } return processed ;
public class TradeManager { /** * Update a exchange order * @ param trade */ public void updateTrade ( final BitfinexAccountSymbol account , final BitfinexMyExecutedTrade trade ) { } }
trade . setApiKey ( client . getConfiguration ( ) . getApiKey ( ) ) ; notifyCallbacks ( trade ) ;
public class BigFloat { /** * Returns the { @ link BigFloat } that is < code > cot ( x ) < / code > . * @ param x the value * @ return the resulting { @ link BigFloat } * @ see BigDecimalMath # cot ( BigDecimal , MathContext ) */ public static BigFloat cot ( BigFloat x ) { } }
if ( x . isSpecial ( ) ) return x ; if ( x . isZero ( ) ) return POSITIVE_INFINITY ; return x . context . valueOf ( BigDecimalMath . cot ( x . value , x . context . mathContext ) ) ;
public class MessageFormat { /** * Gets the formats used for the format elements in the * previously set pattern string . * The order of formats in the returned array corresponds to * the order of format elements in the pattern string . * Since the order of format elements in a pattern string often * changes ...
Format [ ] resultArray = new Format [ maxOffset + 1 ] ; System . arraycopy ( formats , 0 , resultArray , 0 , maxOffset + 1 ) ; return resultArray ;
public class PatientList { /** * Returns the patient list . * @ return Patient list . */ @ Override public Collection < PatientListItem > getListItems ( ) { } }
if ( ! noCaching && patients != null ) { return patients ; } patients = new ArrayList < > ( ) ; AbstractPatientListFilter filter = isFiltered ( ) ? getActiveFilter ( ) : null ; PatientListFilterEntity entity = filter == null ? null : ( PatientListFilterEntity ) filter . getEntity ( ) ; List < String > tempList = VistAU...
public class HostAndPortChecker { /** * Blocks current thread for { @ code time } of { @ code units } * @ param time number of units * @ param units to convert to millis */ private static void sleepFor ( int time , TimeUnit units ) { } }
try { LOG . trace ( "Sleeping for {} {}" , time , units . toString ( ) ) ; Thread . sleep ( units . toMillis ( time ) ) ; } catch ( InterruptedException e ) { // no - op }
public class ProfileDefinition { /** * Add an attribute as a secondary one and its converter . * @ param name name of the attribute * @ param converter converter */ protected void secondary ( final String name , final AttributeConverter < ? extends Object > converter ) { } }
secondaries . add ( name ) ; converters . put ( name , converter ) ;
public class IntervalCollection { /** * / * [ deutsch ] * < p > F & uuml ; gt die angegebenen Intervalle hinzu . < / p > * < p > Leere Intervalle werden ignoriert . < / p > * @ param intervals the new intervals to be added * @ return new IntervalCollection - instance containing a sum of * the own intervals an...
if ( intervals . isEmpty ( ) ) { return this ; } List < ChronoInterval < T > > windows = new ArrayList < > ( this . intervals ) ; for ( ChronoInterval < T > i : intervals ) { if ( ! i . isEmpty ( ) ) { windows . add ( this . adjust ( i ) ) ; } } windows . sort ( this . getComparator ( ) ) ; return this . create ( windo...
public class FastDatePrinter { /** * / * ( non - Javadoc ) * @ see org . apache . commons . lang3 . time . DatePrinter # format ( java . util . Calendar , java . lang . Appendable ) */ @ Override public < B extends Appendable > B format ( Calendar calendar , final B buf ) { } }
// do not pass in calendar directly , this will cause TimeZone of FastDatePrinter to be ignored if ( ! calendar . getTimeZone ( ) . equals ( mTimeZone ) ) { calendar = ( Calendar ) calendar . clone ( ) ; calendar . setTimeZone ( mTimeZone ) ; } return applyRules ( calendar , buf ) ;
public class Privacy { /** * Returns the privacy item in the specified order . * @ param listName the name of the privacy list . * @ param order the order of the element . * @ return a List with { @ link PrivacyItem } */ public PrivacyItem getItem ( String listName , int order ) { } }
// CHECKSTYLE : OFF Iterator < PrivacyItem > values = getPrivacyList ( listName ) . iterator ( ) ; PrivacyItem itemFound = null ; while ( itemFound == null && values . hasNext ( ) ) { PrivacyItem element = values . next ( ) ; if ( element . getOrder ( ) == order ) { itemFound = element ; } } return itemFound ; // CHECK...
public class ShortSummaryAggregator { /** * Like Math . max ( ) except for shorts . */ public static Short max ( Short a , Short b ) { } }
return a >= b ? a : b ;
public class ProcessConsolePageParticipant { /** * ( non - Javadoc ) * @ see org . eclipse . ui . console . IConsolePageParticipant # dispose ( ) */ public void dispose ( ) { } }
DebugUITools . getDebugContextManager ( ) . getContextService ( fPage . getSite ( ) . getWorkbenchWindow ( ) ) . removeDebugContextListener ( this ) ; DebugPlugin . getDefault ( ) . removeDebugEventListener ( this ) ; // if ( fRemoveTerminated ! = null ) { // fRemoveTerminated . dispose ( ) ; // fRemoveTerminated = nul...
public class SpecializedOps_ZDRM { /** * Creates a pivot matrix that exchanges the rows in a matrix : * < br > * A ' = P * A < br > * For example , if element 0 in ' pivots ' is 2 then the first row in A ' will be the 3rd row in A . * @ param ret If null then a new matrix is declared otherwise the results are w...
if ( ret == null ) { ret = new ZMatrixRMaj ( numPivots , numPivots ) ; } else { if ( ret . numCols != numPivots || ret . numRows != numPivots ) throw new IllegalArgumentException ( "Unexpected matrix dimension" ) ; CommonOps_ZDRM . fill ( ret , 0 , 0 ) ; } if ( transposed ) { for ( int i = 0 ; i < numPivots ; i ++ ) { ...
public class QueryStateMachine { /** * Add a listener for the final query info . This notification is guaranteed to be fired only once . * Listener is always notified asynchronously using a dedicated notification thread pool so , care should * be taken to avoid leaking { @ code this } when adding a listener in a co...
AtomicBoolean done = new AtomicBoolean ( ) ; StateChangeListener < Optional < QueryInfo > > fireOnceStateChangeListener = finalQueryInfo -> { if ( finalQueryInfo . isPresent ( ) && done . compareAndSet ( false , true ) ) { stateChangeListener . stateChanged ( finalQueryInfo . get ( ) ) ; } } ; finalQueryInfo . addState...
public class Solo { /** * Sets the time in the specified TimePicker . * @ param timePicker the { @ link TimePicker } object * @ param hour the hour e . g . 15 * @ param minute the minute e . g . 30 */ public void setTimePicker ( TimePicker timePicker , int hour , int minute ) { } }
if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "setTimePicker(" + timePicker + ", " + hour + ", " + minute + ")" ) ; } timePicker = ( TimePicker ) waiter . waitForView ( timePicker , Timeout . getSmallTimeout ( ) ) ; setter . setTimePicker ( timePicker , hour , minute ) ;
public class AccountsInner { /** * Gets the first page of Azure Storage accounts , if any , linked to the specified Data Lake Analytics account . The response includes a link to the next page , if any . * @ param nextPageLink The NextLink from the previous successful call to List operation . * @ throws IllegalArgum...
return listStorageAccountsNextSinglePageAsync ( nextPageLink ) . concatMap ( new Func1 < ServiceResponse < Page < StorageAccountInfoInner > > , Observable < ServiceResponse < Page < StorageAccountInfoInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < StorageAccountInfoInner > > > call ( Service...
public class Calendar { /** * Adjusts the stamp [ ] values before nextStamp overflow . nextStamp * is set to the next stamp value upon the return . */ private void adjustStamp ( ) { } }
int max = MINIMUM_USER_STAMP ; int newStamp = MINIMUM_USER_STAMP ; for ( ; ; ) { int min = Integer . MAX_VALUE ; for ( int i = 0 ; i < stamp . length ; i ++ ) { int v = stamp [ i ] ; if ( v >= newStamp && min > v ) { min = v ; } if ( max < v ) { max = v ; } } if ( max != min && min == Integer . MAX_VALUE ) { break ; } ...
public class UniformSnapshot { /** * Returns the value at the given quantile . * @ param quantile a given quantile , in { @ code [ 0 . . 1 ] } * @ return the value in the distribution at { @ code quantile } */ @ Override public double getValue ( double quantile ) { } }
if ( quantile < 0.0 || quantile > 1.0 || Double . isNaN ( quantile ) ) { throw new IllegalArgumentException ( quantile + " is not in [0..1]" ) ; } if ( values . length == 0 ) { return 0.0 ; } final double pos = quantile * ( values . length + 1 ) ; final int index = ( int ) pos ; if ( index < 1 ) { return values [ 0 ] ;...
public class GenerateCompatibilityGraph { /** * compGraphNodesCZero is used to build up of the edges of the compatibility graph * @ return * @ throws IOException */ protected Integer compatibilityGraphNodesIfCEdgeIsZero ( ) throws IOException { } }
int countNodes = 1 ; List < String > map = new ArrayList < String > ( ) ; compGraphNodesCZero = new ArrayList < Integer > ( ) ; // Initialize the compGraphNodesCZero List LabelContainer labelContainer = LabelContainer . getInstance ( ) ; compGraphNodes . clear ( ) ; for ( int i = 0 ; i < source . getAtomCount ( ) ; i +...
public class JobHistoryRawService { /** * Flags a job ' s RAW record for reprocessing * @ param jobId */ public void markJobForReprocesssing ( QualifiedJobId jobId ) throws IOException { } }
Put p = new Put ( idConv . toBytes ( jobId ) ) ; p . addColumn ( Constants . INFO_FAM_BYTES , Constants . RAW_COL_REPROCESS_BYTES , Bytes . toBytes ( true ) ) ; Table rawTable = null ; try { rawTable = hbaseConnection . getTable ( TableName . valueOf ( Constants . HISTORY_RAW_TABLE ) ) ; rawTable . put ( p ) ; } finall...
public class AnnotationManager { /** * Find first { @ link ru . yandex . qatools . allure . annotations . Title } annotation * @ return title or null if annotation doesn ' t present */ public String getTitle ( ) { } }
Title title = getAnnotation ( Title . class ) ; return title == null ? null : title . value ( ) ;
public class TreeString { /** * / * package */ void dedup ( final Map < String , char [ ] > table ) { } }
String l = getLabel ( ) ; char [ ] v = table . get ( l ) ; if ( v != null ) { label = v ; } else { table . put ( l , label ) ; }
public class Navigate { /** * Starts activity by intent . */ public void start ( Intent intent ) { } }
intent = setupIntent ( intent ) ; if ( application != null ) { // Extra flag is required when starting from application : intent . addFlags ( Intent . FLAG_ACTIVITY_NEW_TASK ) ; application . startActivity ( intent ) ; return ; // No transitions , so just return } if ( activity != null ) { if ( requestCode == NO_RESULT...
public class LogNormalProcess { /** * A derived class may change the Brownian motion . This is only allowed prior to lazy initialization . * The method should be used only while constructing new object . Do not use in flight . * @ param brownianMotion The brownianMotion to set . */ protected synchronized void setBr...
if ( discreteProcessWeights != null && discreteProcessWeights . length != 0 ) { throw new RuntimeException ( "Tying to change lazy initialized immutable object after initialization." ) ; } this . brownianMotion = brownianMotion ;
public class PeerAwareInstanceRegistryImpl { /** * Gets the number of < em > renewals < / em > in the last minute . * @ return a long value representing the number of < em > renewals < / em > in the last minute . */ @ com . netflix . servo . annotations . Monitor ( name = "numOfReplicationsInLastMin" , description = ...
return numberOfReplicationsLastMin . getCount ( ) ;
public class LocalTypeDetector { /** * implements the visitor to find the constructors defined in getWatchedConstructors ( ) and the method calls in getWatchedClassMethods ( ) * @ param seen * the opcode of the currently parsed instruction */ @ Override public void sawOpcode ( int seen ) { } }
Integer tosIsSyncColReg = null ; try { stack . precomputation ( this ) ; if ( seen == Const . INVOKESPECIAL ) { tosIsSyncColReg = checkConstructors ( ) ; } else if ( seen == Const . INVOKESTATIC ) { tosIsSyncColReg = checkStaticCreations ( ) ; } else if ( ( seen == Const . INVOKEVIRTUAL ) || ( seen == Const . INVOKEINT...
public class Rows { /** * Sets the value of the horizontal alignment attribute of the HTML tbody tag . * @ param align the horizontal alignment * @ jsptagref . attributedescription The horizontal alignment of the HTML tbody tag . * @ jsptagref . attributesyntaxvalue < i > string _ align < / i > * @ netui : attr...
/* todo : should this enforce left | center | right | justify | char as in the spec */ _tbodyTag . registerAttribute ( AbstractHtmlState . ATTR_GENERAL , HtmlConstants . ALIGN , align ) ;
public class SimpleBase { /** * Computes the dot product ( a . k . a . inner product ) between this vector and vector ' v ' . * @ param v The second vector in the dot product . Not modified . * @ return dot product */ public double dot ( T v ) { } }
convertType . specify ( this , v ) ; T A = convertType . convert ( this ) ; v = convertType . convert ( v ) ; if ( ! isVector ( ) ) { throw new IllegalArgumentException ( "'this' matrix is not a vector." ) ; } else if ( ! v . isVector ( ) ) { throw new IllegalArgumentException ( "'v' matrix is not a vector." ) ; } retu...
public class VorbisAudioFileReader { /** * Return the AudioFileFormat from the given InputStream , length in bytes * and length in milliseconds . * @ param bitStream * @ param totalms * @ param mediaLength * @ return * @ throws javax . sound . sampled . UnsupportedAudioFileException * @ throws java . io ....
Map < String , Object > aff_properties = new HashMap < > ( ) ; Map < String , Object > af_properties = new HashMap < > ( ) ; if ( totalms == AudioSystem . NOT_SPECIFIED ) { totalms = 0 ; } if ( totalms > 0 ) { aff_properties . put ( "duration" , ( long ) totalms * 1000 ) ; } oggBitStream_ = bitStream ; // init jorbis o...
public class Symbol { /** * TODO : getEnclosedElements should return a javac List , fix in FilteredMemberList */ @ DefinedBy ( Api . LANGUAGE_MODEL ) public java . util . List < Symbol > getEnclosedElements ( ) { } }
return List . nil ( ) ;
public class RangeSets { /** * Unions a set of rangeSets , or returns null if the set is empty . */ public static < T extends Comparable < T > > RangeSet < T > unionRangeSets ( final Iterable < RangeSet < T > > rangeSets ) { } }
final RangeSet < T > rangeSet = TreeRangeSet . create ( ) ; for ( RangeSet < T > set : rangeSets ) { rangeSet . addAll ( set ) ; } return rangeSet ;
public class vpnicaconnection { /** * Use this API to fetch all the vpnicaconnection resources that are configured on netscaler . * This uses vpnicaconnection _ args which is a way to provide additional arguments while fetching the resources . */ public static vpnicaconnection [ ] get ( nitro_service service , vpnica...
vpnicaconnection obj = new vpnicaconnection ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; vpnicaconnection [ ] response = ( vpnicaconnection [ ] ) obj . get_resources ( service , option ) ; return response ;
public class SparkComputationGraph { /** * DataSet version of { @ link # scoreExamples ( JavaRDD , boolean ) } */ public JavaDoubleRDD scoreExamples ( JavaRDD < DataSet > data , boolean includeRegularizationTerms ) { } }
return scoreExamplesMultiDataSet ( data . map ( new DataSetToMultiDataSetFn ( ) ) , includeRegularizationTerms ) ;
public class MailSourceConfiguration { /** * Method to build Integration Flow for Mail . Suppress Warnings for * MailInboundChannelAdapterSpec . * @ return Integration Flow object for Mail Source */ @ SuppressWarnings ( { } }
"rawtypes" , "unchecked" } ) private IntegrationFlowBuilder getFlowBuilder ( ) { IntegrationFlowBuilder flowBuilder ; URLName urlName = this . properties . getUrl ( ) ; if ( this . properties . isIdleImap ( ) ) { flowBuilder = getIdleImapFlow ( urlName ) ; } else { MailInboundChannelAdapterSpec adapterSpec ; switch ( u...
public class Factories { /** * Returns an instance of the provided ` @ Factory ` interface . * @ param type Factory type * @ param < T > * @ return Generated Factory instance * @ throws org . androidtransfuse . util . TransfuseRuntimeException * if there was an error looking up the wrapped * Factory class *...
FactoryBuilder factoryBuilder = REPOSITORY . get ( type ) ; return ( T ) factoryBuilder . get ( ) ;
public class DescribeLoadBasedAutoScalingResult { /** * An array of < code > LoadBasedAutoScalingConfiguration < / code > objects that describe each layer ' s configuration . * @ return An array of < code > LoadBasedAutoScalingConfiguration < / code > objects that describe each layer ' s * configuration . */ public...
if ( loadBasedAutoScalingConfigurations == null ) { loadBasedAutoScalingConfigurations = new com . amazonaws . internal . SdkInternalList < LoadBasedAutoScalingConfiguration > ( ) ; } return loadBasedAutoScalingConfigurations ;
public class DescribeCasesRequest { /** * A list of ID numbers of the support cases you want returned . The maximum number of cases is 100. * < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use * { @ link # setCaseIdList ( java . util . Collection ) } or { @ link # withCaseIdLi...
if ( this . caseIdList == null ) { setCaseIdList ( new com . amazonaws . internal . SdkInternalList < String > ( caseIdList . length ) ) ; } for ( String ele : caseIdList ) { this . caseIdList . add ( ele ) ; } return this ;
public class GreenPepperXmlRpcServer { /** * { @ inheritDoc } */ public Vector < Object > getRegisteredRepository ( Vector < Object > repositoryParams ) { } }
try { Repository repository = loadRepository ( repositoryParams ) ; repository = service . getRegisteredRepository ( repository ) ; return repository . marshallize ( ) ; } catch ( Exception e ) { return errorAsVector ( e , REPOSITORY_GET_REGISTERED ) ; }
public class AmazonGuardDutyClient { /** * Archives Amazon GuardDuty findings specified by the list of finding IDs . * @ param archiveFindingsRequest * ArchiveFindings request body . * @ return Result of the ArchiveFindings operation returned by the service . * @ throws BadRequestException * 400 response * ...
request = beforeClientExecution ( request ) ; return executeArchiveFindings ( request ) ;
public class AWSBatchClient { /** * Deletes an AWS Batch compute environment . * Before you can delete a compute environment , you must set its state to < code > DISABLED < / code > with the * < a > UpdateComputeEnvironment < / a > API operation and disassociate it from any job queues with the * < a > UpdateJobQu...
request = beforeClientExecution ( request ) ; return executeDeleteComputeEnvironment ( request ) ;
public class FactoryDetectDescribe { /** * Given independent algorithms for feature detection , orientation , and describing , create a new * { @ link DetectDescribePoint } . * @ param detector Feature detector * @ param orientation Orientation estimation . Optionally , can be null . * @ param describe Feature ...
return new DetectDescribeFusion < > ( detector , orientation , describe ) ;
public class FunctionExpression { /** * Get the idx parameter from the parameter list as percent ( range 0 - 1 ) . * @ param idx * the index starting with 0 * @ param defaultValue * the result if such a parameter idx does not exists . * @ param formatter * current formatter * @ return the the percent valu...
if ( parameters . size ( ) <= idx ) { return defaultValue ; } return ColorUtils . getPercent ( get ( idx ) , formatter ) ;
import java . io . * ; import java . lang . * ; import java . util . * ; import java . math . * ; public class CheckUniqueness { /** * Java function that checks if all numbers in the list are distinct . * Args : * elements ( List < Integer > ) : List of numbers to be checked . * Returns : * boolean : true if al...
Set < Integer > uniqueElements = new HashSet < > ( elements ) ; return elements . size ( ) == uniqueElements . size ( ) ;
public class Dict { /** * 将值对象转换为Dict < br > * 类名会被当作表名 , 小写第一个字母 * @ param < T > Bean类型 * @ param bean 值对象 * @ param isToUnderlineCase 是否转换为下划线模式 * @ param ignoreNullValue 是否忽略值为空的字段 * @ return 自己 */ public < T > Dict parseBean ( T bean , boolean isToUnderlineCase , boolean ignoreNullValue ) { } }
Assert . notNull ( bean , "Bean class must be not null" ) ; this . putAll ( BeanUtil . beanToMap ( bean , isToUnderlineCase , ignoreNullValue ) ) ; return this ;
public class Var { /** * Provides a new frame for the variable . * Potentially existing previous frames are saved . * Normally you do not have to call this method manually as parboiled provides for automatic Var frame management . * @ return true */ public boolean enterFrame ( ) { } }
if ( level ++ > 0 ) { if ( stack == null ) stack = new LinkedList < T > ( ) ; stack . add ( get ( ) ) ; } return set ( initialValueFactory . create ( ) ) ;
public class MwsJsonWriter { /** * Append string to the output . * @ param value */ protected void append ( String value ) { } }
try { writer . write ( value ) ; } catch ( Exception e ) { throw MwsUtl . wrap ( e ) ; }
public class RegexValidator { /** * Validate a value against the set of regular expressions . * @ param value The value to validate . * @ return < code > true < / code > if the value is valid * otherwise < code > false < / code > . */ public boolean isValid ( String value ) { } }
if ( value == null ) { return false ; } for ( Pattern pattern : patterns ) { if ( pattern . matcher ( value ) . matches ( ) ) { return true ; } } return false ;
public class NumberValue { /** * Compares this value and another numerically , or checks this number value * for membership in a value list . * @ param o a { @ link Value } . * @ return If the provided value is a { @ link NumericalValue } , returns null { @ link ValueComparator # GREATER _ THAN } , * { @ link V...
if ( o == null ) { return ValueComparator . NOT_EQUAL_TO ; } switch ( o . getType ( ) ) { case NUMBERVALUE : NumberValue other = ( NumberValue ) o ; int comp = compareTo ( other ) ; return comp > 0 ? ValueComparator . GREATER_THAN : ( comp < 0 ? ValueComparator . LESS_THAN : ValueComparator . EQUAL_TO ) ; case INEQUALI...
public class SARLDiagnosticLabelDecorator { /** * Replies the image that corresponds to the given object . * @ param imageDescription * a { @ link String } , an { @ link ImageDescriptor } or an { @ link Image } * @ return the { @ link Image } associated with the description or < code > null < / code > */ protecte...
if ( imageDescription instanceof Image ) { return ( Image ) imageDescription ; } else if ( imageDescription instanceof ImageDescriptor ) { return this . imageHelper . getImage ( ( ImageDescriptor ) imageDescription ) ; } else if ( imageDescription instanceof String ) { return this . imageHelper . getImage ( ( String ) ...
public class BshScriptEngine { /** * Calls a procedure compiled during a previous script execution , which is * retained in the state of the { @ code ScriptEngine { @ code . * @ param name The name of the procedure to be called . * @ param thiz If the procedure is a member of a class defined in the script * and...
if ( ! ( thiz instanceof bsh . This ) ) { throw new ScriptException ( "Illegal object type: " + ( null == thiz ? "null" : thiz . getClass ( ) ) ) ; } bsh . This bshObject = ( bsh . This ) thiz ; try { return bshObject . invokeMethod ( name , args ) ; } catch ( TargetError e ) { // The script threw an application level ...
public class EthiopicDate { /** * Obtains a { @ code EthiopicDate } from a temporal object . * This obtains a date in the Ethiopic calendar system based on the specified temporal . * A { @ code TemporalAccessor } represents an arbitrary set of date and time information , * which this factory converts to an instan...
if ( temporal instanceof EthiopicDate ) { return ( EthiopicDate ) temporal ; } return EthiopicDate . ofEpochDay ( temporal . getLong ( EPOCH_DAY ) ) ;
public class FleetsApi { /** * Rename fleet wing Rename a fleet wing - - - SSO Scope : * esi - fleets . write _ fleet . v1 * @ param fleetId * ID for a fleet ( required ) * @ param wingId * The wing to rename ( required ) * @ param datasource * The server name you would like data from ( optional , default...
com . squareup . okhttp . Call call = putFleetsFleetIdWingsWingIdValidateBeforeCall ( fleetId , wingId , datasource , token , fleetWingNaming , null ) ; return apiClient . execute ( call ) ;
public class PropertiesBuilder { /** * Sets the model properties . * @ param propertiesModel the properties model * @ return this PropertiesBuilder */ public PropertiesBuilder setModelProperties ( PropertiesModel propertiesModel ) { } }
_modelProperties = propertiesModel != null ? propertiesModel . toProperties ( ) : null ; return this ;
public class ReflectionServer { /** * Handle client request , this method will be called when new client connection * received by the start method . * @ param client the client * @ throws IOException Signals that an I / O exception has occurred . */ protected void handleClient ( final Socket client ) throws IOExc...
final ClientHandler handler = new ClientHandler ( client ) ; this . executorService . execute ( handler ) ;
public class BoundsOnRatiosInSampledSets { /** * Return the approximate upper bound based on a 95 % confidence interval * @ param a See class javadoc * @ param b See class javadoc * @ param f the inclusion probability used to produce the set with size < i > a < / i > . * @ return the approximate lower bound */ ...
checkInputs ( a , b , f ) ; if ( a == 0 ) { return 1.0 ; } if ( f == 1.0 ) { return ( double ) b / a ; } return approximateUpperBoundOnP ( a , b , NUM_STD_DEVS * hackyAdjuster ( f ) ) ;
public class Index { /** * Update an api key * @ param acls the list of ACL for this key . Defined by an array of strings that * can contains the following values : * - search : allow to search ( https and http ) * - addObject : allows to add / update an object in the index ( https only ) * - deleteObject : a...
try { JSONObject jsonObject = generateUpdateUser ( acls , validity , maxQueriesPerIPPerHour , maxHitsPerQuery ) ; return updateApiKey ( key , jsonObject , requestOptions ) ; } catch ( JSONException e ) { throw new RuntimeException ( e ) ; }
public class JpaOverridePersistenceXmlClassLoader { /** * { @ inheritDoc } */ @ Override public Enumeration < URL > getResources ( final String name ) throws IOException { } }
final Enumeration < URL > urls = super . getResources ( name ) ; if ( PERSISTENCE_XML . equals ( name ) ) { final Collection < URL > overrided = new LinkedList < URL > ( ) ; while ( urls . hasMoreElements ( ) ) { final URL url = urls . nextElement ( ) ; overrided . add ( newUrl ( url , slurp ( url ) ) ) ; } return Coll...
public class ELKIServiceLoader { /** * Load the service file . */ public static void load ( Class < ? > parent , ClassLoader cl ) { } }
char [ ] buf = new char [ 0x4000 ] ; try { String fullName = RESOURCE_PREFIX + parent . getName ( ) ; Enumeration < URL > configfiles = cl . getResources ( fullName ) ; while ( configfiles . hasMoreElements ( ) ) { URL nextElement = configfiles . nextElement ( ) ; URLConnection conn = nextElement . openConnection ( ) ;...
public class HelpCommand { /** * Reads the extended Description from a BotCommand . If the Command is not of Type { @ link IManCommand } , it calls toString ( ) ; * @ param command a command the extended Descriptions is read from * @ return the extended Description or the toString ( ) if IManCommand is not implemen...
return IManCommand . class . isInstance ( command ) ? getManText ( ( IManCommand ) command ) : command . toString ( ) ;
public class BaseReportGenerator { /** * prepare the report , call { @ link # continueOnDataCollectionMessages ( com . vectorprint . report . data . DataCollectionMessages , com . itextpdf . text . Document ) * and when this returns true call { @ link # createReportBody ( com . itextpdf . text . Document , com . vect...
try { DocumentStyler ds = stylerFactory . getDocumentStyler ( ) ; ds . setReportDataHolder ( data ) ; wasDebug = getSettings ( ) . getBooleanProperty ( Boolean . FALSE , DEBUG ) ; if ( ds . getValue ( DocumentSettings . TOC , Boolean . class ) ) { out = new TocOutputStream ( out , bufferSize , this ) ; getSettings ( ) ...
public class VpnConnectionsInner { /** * Retrieves all vpn connections for a particular virtual wan vpn gateway . * @ param resourceGroupName The resource group name of the VpnGateway . * @ param gatewayName The name of the gateway . * @ param serviceCallback the async ServiceCallback to handle successful and fai...
return AzureServiceFuture . fromPageResponse ( listByVpnGatewaySinglePageAsync ( resourceGroupName , gatewayName ) , new Func1 < String , Observable < ServiceResponse < Page < VpnConnectionInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < VpnConnectionInner > > > call ( String nextPageLink ) {...
public class JcrSession { /** * Throws an { @ link AccessControlException } if the current user does not have permission for all of the named actions in the * named workspace , otherwise returns silently . * The { @ code path } parameter is included for future use and is currently ignored * @ param workspaceName ...
checkPermission ( workspaceName , pathSupplierFor ( path ) , actions ) ;
public class CacheEvents { /** * Creates an { @ link EventType # UPDATED updated } { @ link CacheEvent } . * @ param key the key for which the mapping was updated * @ param oldValue the old value * @ param newValue the new value * @ param source the event source * @ param < K > the key type * @ param < V > ...
return new UpdateEvent < > ( key , oldValue , newValue , source ) ;
public class Equation { /** * Searches for pairs of parentheses and processes blocks inside of them . Embedded parentheses are handled * with no problem . On output only a single token should be in tokens . * @ param tokens List of parsed tokens * @ param sequence Sequence of operators */ protected void handlePar...
// have a list to handle embedded parentheses , e . g . ( ( ( ( ( a ) ) ) ) ) List < TokenList . Token > left = new ArrayList < TokenList . Token > ( ) ; // find all of them TokenList . Token t = tokens . first ; while ( t != null ) { TokenList . Token next = t . next ; if ( t . getType ( ) == Type . SYMBOL ) { if ( t ...
public class ValidateGlobalRules { /** * Checks if the plays edge has been added between the roleplayer ' s Type and * the Role being played . * Also checks that required Role are satisfied * @ param role The Role which the role - player is playing * @ param thing the role - player * @ return an error if one ...
TypeImpl < ? , ? > currentConcept = ( TypeImpl < ? , ? > ) thing . type ( ) ; boolean satisfiesPlays = false ; while ( currentConcept != null ) { Map < Role , Boolean > plays = currentConcept . directPlays ( ) ; for ( Map . Entry < Role , Boolean > playsEntry : plays . entrySet ( ) ) { Role rolePlayed = playsEntry . ge...
public class ExpressionParser { /** * Parses the { @ literal < comparison - expr > } non - terminal . * < pre > * { @ literal * < comparison - expr > : : = < comparison - op > < version > * | < version > * < / pre > * @ return the expression AST */ private Expression parseComparisonExpression ( ) { } }
Token token = tokens . lookahead ( ) ; Expression expr ; switch ( token . type ) { case EQUAL : tokens . consume ( ) ; expr = new Equal ( parseVersion ( ) ) ; break ; case NOT_EQUAL : tokens . consume ( ) ; expr = new NotEqual ( parseVersion ( ) ) ; break ; case GREATER : tokens . consume ( ) ; expr = new Greater ( par...
public class WstxInputFactory { /** * Method that is eventually called to create a ( full ) stream read * instance . * Note : defined as public method because it needs to be called by * SAX implementation . * @ param systemId System id used for this reader ( if any ) * @ param bs Bootstrapper to use for creat...
// 16 - Aug - 2004 , TSa : Maybe we have a context ? URL src = cfg . getBaseURL ( ) ; // If not , maybe we can derive it from system id ? if ( ( src == null ) && ( systemId != null && systemId . length ( ) > 0 ) ) { try { src = URLUtil . urlFromSystemId ( systemId ) ; } catch ( IOException ie ) { throw new WstxIOExcept...
public class EigenDecompositor { /** * Nonsymmetric reduction to Hessenberg form . */ private void orthes ( Matrix h , Matrix v , Vector ort ) { } }
// This is derived from the Algol procedures orthes and ortran , // by Martin and Wilkinson , Handbook for Auto . Comp . , // Vol . ii - Linear Algebra , and the corresponding // Fortran subroutines in EISPACK . int n = ort . length ( ) ; int low = 0 ; int high = n - 1 ; for ( int m = low + 1 ; m <= high - 1 ; m ++ ) {...
public class HelpFormatter { /** * Print the help with the given Command object . * @ param command the Command instance */ public void printHelp ( Command command ) { } }
if ( command . getDescriptor ( ) . getUsage ( ) != null ) { printUsage ( command . getDescriptor ( ) . getUsage ( ) ) ; } else { printUsage ( command ) ; } int leftWidth = printOptions ( command . getOptions ( ) ) ; printArguments ( command . getArgumentsList ( ) , leftWidth ) ;
public class InferenceSpecification { /** * The supported MIME types for the input data . * < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use * { @ link # setSupportedContentTypes ( java . util . Collection ) } or * { @ link # withSupportedContentTypes ( java . util . Colle...
if ( this . supportedContentTypes == null ) { setSupportedContentTypes ( new java . util . ArrayList < String > ( supportedContentTypes . length ) ) ; } for ( String ele : supportedContentTypes ) { this . supportedContentTypes . add ( ele ) ; } return this ;
public class DataEncryption { /** * Decrypts the specified string using AES - 256 . The encryptedText is * expected to be the Base64 encoded representation of the encrypted bytes * generated from { @ link # encryptAsString ( String ) } . * @ param secretKey the secret key to decrypt with * @ param encryptedText...
return new String ( decryptAsBytes ( secretKey , Base64 . getDecoder ( ) . decode ( encryptedText ) ) ) ;
public class SVGParser { /** * Parse the ' style ' attribute . */ private static void parseStyle ( SvgElementBase obj , String style ) { } }
TextScanner scan = new TextScanner ( style . replaceAll ( "/\\*.*?\\*/" , "" ) ) ; // regex strips block comments while ( true ) { String propertyName = scan . nextToken ( ':' ) ; scan . skipWhitespace ( ) ; if ( ! scan . consume ( ':' ) ) break ; // Syntax error . Stop processing CSS rules . scan . skipWhitespace ( ) ...
public class Parser { /** * Parse a fragment of HTML into a list of nodes . The context element , if supplied , supplies parsing context . * @ param fragmentHtml the fragment of HTML to parse * @ param context ( optional ) the element that this HTML fragment is being parsed for ( i . e . for inner HTML ) . This *...
HtmlTreeBuilder treeBuilder = new HtmlTreeBuilder ( ) ; Parser parser = new Parser ( treeBuilder ) ; parser . errors = errorList ; return treeBuilder . parseFragment ( fragmentHtml , context , baseUri , parser ) ;
public class OIndexFullText { /** * Indexes a value and save the index . Splits the value in single words and index each one . Save of the index is responsibility of * the caller . */ @ Override public OIndexFullText put ( final Object iKey , final OIdentifiable iSingleValue ) { } }
if ( iKey == null ) return this ; modificationLock . requestModificationLock ( ) ; try { final List < String > words = splitIntoWords ( iKey . toString ( ) ) ; // FOREACH WORD CREATE THE LINK TO THE CURRENT DOCUMENT for ( final String word : words ) { acquireExclusiveLock ( ) ; try { Set < OIdentifiable > refs ; // SEA...
public class StringUtilities { /** * This method ensures that the output String has only * valid XML unicode characters as specified by the * XML 1.0 standard . For reference , please see * < a href = " http : / / www . w3 . org / TR / 2000 / REC - xml - 20001006 # NT - Char " > the * standard < / a > . This me...
StringBuffer out = new StringBuffer ( ) ; // Used to hold the output . char current ; // Used to reference the current character . if ( in == null || ( "" . equals ( in ) ) ) return "" ; // vacancy test . for ( int i = 0 ; i < in . length ( ) ; i ++ ) { current = in . charAt ( i ) ; // NOTE : No IndexOutOfBoundsExcepti...
public class Utils { /** * list of points to draw */ private static void weaveDNAStrands ( LinkedList < DNASegment > segments , int firstJulianDay , HashMap < Integer , DNAStrand > strands , int top , int bottom , int [ ] dayXs ) { } }
// First , get rid of any colors that ended up with no segments Iterator < DNAStrand > strandIterator = strands . values ( ) . iterator ( ) ; while ( strandIterator . hasNext ( ) ) { DNAStrand strand = strandIterator . next ( ) ; if ( strand . count < 1 && strand . allDays == null ) { strandIterator . remove ( ) ; cont...
public class BreadthFirstIterator { /** * Removes the current element in the iteration . * @ throws java . lang . IllegalStateException if the next method has not yet been called , or the remove method * has already been called after the last call to the next method . * @ see java . util . Iterator # remove ( ) *...
Assert . state ( nextCalled . compareAndSet ( true , false ) , "next was not called before remove" ) ; iterators . peek ( ) . remove ( ) ;
public class WebSocketController { /** * tag : : binary [ ] */ @ Every ( "1h" ) public void binary ( ) { } }
byte [ ] bytes = new byte [ 5 ] ; random . nextBytes ( bytes ) ; logger ( ) . info ( "Message dispatching binary : {}" , bytes ) ; publisher . publish ( "/binary" , bytes ) ;
public class FileMemento { private String whereIs ( String savePoint , Class < ? > objClass ) { } }
if ( savePoint == null || savePoint . length ( ) == 0 ) throw new RequiredException ( "savePoint" ) ; StringBuffer text = new StringBuffer ( ) ; text . append ( this . rootPath ) . append ( "/" ) . append ( objClass . getName ( ) ) . append ( "." ) . append ( savePoint ) . append ( fileExtension ) ; return text . toStr...
public class ODataLocalHole { /** * Appends the hole to the end of the segment . * @ throws IOException */ public synchronized void createHole ( final long iRecordOffset , final int iRecordSize ) throws IOException { } }
final long timer = OProfiler . getInstance ( ) . startChrono ( ) ; // IN MEMORY final int recycledPosition ; final ODataHoleInfo hole ; if ( ! freeHoles . isEmpty ( ) ) { // RECYCLE THE FIRST FREE HOLE recycledPosition = freeHoles . remove ( 0 ) ; hole = availableHolesList . get ( recycledPosition ) ; hole . dataOffset...
public class ApplicationSettingRepository { /** * region > helpers */ private ApplicationSettingJdo newSetting ( final String key , final String description , final SettingType settingType , final String valueRaw ) { } }
final ApplicationSettingJdo setting = repositoryService . instantiate ( ApplicationSettingJdo . class ) ; setting . setKey ( key ) ; setting . setDescription ( description ) ; setting . setValueRaw ( valueRaw ) ; setting . setType ( settingType ) ; repositoryService . persist ( setting ) ; return setting ;
public class WsByteBufferPoolManagerImpl { /** * Initialize the pool manager with the number of pools , the entry sizes for each * pool , and the maximum depth of the free pool . * @ param bufferEntrySizes the memory sizes of each entry in the pools * @ param bufferEntryDepths the maximum number of entries in the...
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { Tr . entry ( tc , "initialize" ) ; } // order both lists from smallest to largest , based only on Entry Sizes int len = bufferEntrySizes . length ; int [ ] bSizes = new int [ len ] ; int [ ] bDepths = new int [ len ] ; int sizeCompare ; int de...
public class PredictionsImpl { /** * Predict an image without saving the result . * @ param projectId The project id * @ param imageData the InputStream value * @ param predictImageWithNoStoreOptionalParameter the object representing the optional parameters to be set before calling this API * @ param serviceCal...
return ServiceFuture . fromResponse ( predictImageWithNoStoreWithServiceResponseAsync ( projectId , imageData , predictImageWithNoStoreOptionalParameter ) , serviceCallback ) ;
public class ServerStateMachine { /** * Applies register session entry to the state machine . * Register entries are applied to the state machine to create a new session . The resulting session ID is the * index of the RegisterEntry . Once a new session is registered , we call register ( ) on the state machine . ...
// Allow the executor to execute any scheduled events . long timestamp = executor . timestamp ( entry . getTimestamp ( ) ) ; long sessionId = entry . getIndex ( ) ; ServerSessionContext session = new ServerSessionContext ( sessionId , entry . getClient ( ) , log , executor . context ( ) , entry . getTimeout ( ) ) ; Ser...
import java . util . * ; public class Main { public static void main ( String [ ] args ) { List < Integer > list = new ArrayList < > ( Arrays . asList ( 5 , 6 , 3 , 4 ) ) ; System . out . println ( sortEvenIndices ( list ) ) ; } /** * This function takes a list as an input and returns a new list . The new list retains ...
List < Integer > evenIndexElements = new ArrayList < > ( ) ; for ( int i = 0 ; i < initialList . size ( ) ; i += 2 ) { evenIndexElements . add ( initialList . get ( i ) ) ; } List < Integer > oddIndexElements = new ArrayList < > ( ) ; for ( int i = 1 ; i < initialList . size ( ) ; i += 2 ) { oddIndexElements . add ( in...
public class SLF4JBridgeHandler { /** * Removes previously installed SLF4JBridgeHandler instances . See also * { @ link # install ( ) } . * @ throws SecurityException A < code > SecurityException < / code > is thrown , if a security manager * exists and if the caller does not have * LoggingPermission ( " contro...
java . util . logging . Logger rootLogger = getRootLogger ( ) ; Handler [ ] handlers = rootLogger . getHandlers ( ) ; for ( int i = 0 ; i < handlers . length ; i ++ ) { if ( handlers [ i ] instanceof SLF4JBridgeHandler ) { rootLogger . removeHandler ( handlers [ i ] ) ; } }
public class HeapQueueingStrategy { /** * Increment the count of removed items from the queue . Calling this will * optionally request that the garbage collector run to free up heap space * for every nth dequeue , where n is the value set for the dequeueHint . * @ param value value that was removed from the queue...
if ( value != null ) { dequeued ++ ; if ( dequeued % dequeueHint == 0 ) { RUNTIME . gc ( ) ; } }
public class HandleHelper { /** * 处理单条数据 * @ param columnCount 列数 * @ param meta ResultSetMetaData * @ param rs 数据集 * @ param beanClass 目标Bean类型 * @ return 每一行的Entity * @ throws SQLException SQL执行异常 * @ since 3.3.1 */ @ SuppressWarnings ( "unchecked" ) public static < T > T handleRow ( int columnCount , R...
Assert . notNull ( beanClass , "Bean Class must be not null !" ) ; if ( beanClass . isArray ( ) ) { // 返回数组 final Class < ? > componentType = beanClass . getComponentType ( ) ; final Object [ ] result = ArrayUtil . newArray ( componentType , columnCount ) ; for ( int i = 0 , j = 1 ; i < columnCount ; i ++ , j ++ ) { re...
public class EventMessage { /** * 转换 未定义XML 字段为 Map * @ since 2.8.13 * @ return MAP */ public Map < String , String > otherElementsToMap ( ) { } }
Map < String , String > map = new LinkedHashMap < String , String > ( ) ; if ( otherElements != null ) { for ( org . w3c . dom . Element e : otherElements ) { if ( e . hasChildNodes ( ) ) { if ( e . getChildNodes ( ) . getLength ( ) == 1 && e . getChildNodes ( ) . item ( 0 ) . getNodeType ( ) == Node . TEXT_NODE ) { ma...
public class DeviceAppearanceImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ @ Override public void eUnset ( int featureID ) { } }
switch ( featureID ) { case AfplibPackage . DEVICE_APPEARANCE__DEV_APP : setDevApp ( DEV_APP_EDEFAULT ) ; return ; case AfplibPackage . DEVICE_APPEARANCE__RESERVED : setReserved ( RESERVED_EDEFAULT ) ; return ; } super . eUnset ( featureID ) ;
public class RemoteQueuePoint { /** * / * ( non - Javadoc ) * @ see com . ibm . ws . sib . processor . runtime . SIMPRemoteQueuePointControllable # getRemoteConsumerReceiver ( ) */ public SIMPRemoteConsumerReceiverControllable getRemoteConsumerReceiver ( ) { } }
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getRemoteConsumerReceiver" ) ; // SIB0113a // This method gets the non gathering RemoteConsumerReceiver - in other words the // controllable for the remote consumerdispatcher with a null gatheringUuid SIMPRemoteConsumerRece...