signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class Expressions { /** * Create a new Template expression * @ deprecated Use { @ link # simpleTemplate ( Class , String , List ) } instead . * @ param cl type of expression * @ param template template * @ param args template parameters * @ return template expression */ @ Deprecated public static < T >...
return simpleTemplate ( cl , createTemplate ( template ) , args ) ;
public class UpdateDomainContactPrivacyRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( UpdateDomainContactPrivacyRequest updateDomainContactPrivacyRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( updateDomainContactPrivacyRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateDomainContactPrivacyRequest . getDomainName ( ) , DOMAINNAME_BINDING ) ; protocolMarshaller . marshall ( updateDomainContactPrivacyRequest . getA...
public class SameDiff { /** * Return a variable of given shape in which all values have a given constant value . * @ param name Name of the new SDVariable * @ param value constant to set for each value * @ param shape shape of the variable as long array * @ return A new SDVariable of provided shape with constan...
SDVariable ret = f ( ) . constant ( value , shape ) ; return updateVariableNameAndReference ( ret , name ) ;
public class ResourceUtils { /** * Add a package name prefix if the name is not absolute Remove leading " / " * if name is absolute */ private static String resolveName ( Class < ? > c , String name ) { } }
if ( name == null ) { return name ; } if ( ! name . startsWith ( "/" ) ) { while ( c . isArray ( ) ) { c = c . getComponentType ( ) ; } String baseName = c . getName ( ) ; int index = baseName . lastIndexOf ( '.' ) ; if ( index != - 1 ) { name = baseName . substring ( 0 , index ) . replace ( '.' , '/' ) + "/" + name ; ...
public class BitInputStream { /** * Reads a single positive bounded integral value ( up to 64 - bit , including 0 , excluding max ) * @ param max Maximum value ( exclusive ) * @ return A long within the range [ 0 , max ) * @ throws IOException the io exception */ public long readBoundedLong ( final long max ) thr...
final int bits = 0 >= max ? 0 : ( int ) ( Math . floor ( Math . log ( max ) / Math . log ( 2 ) ) + 1 ) ; return 0 < bits ? this . read ( bits ) . toLong ( ) : 0 ;
public class BytecodeScanner { /** * sycklex _ bytecode _ utf8 */ private int real_yylex ( ) throws IOException { } }
Level lvl = null ; QuotedString q = null ; int tok = - 1 ; if ( parser . cursor == - 1 ) { parser . read ( ) ; } if ( parser . force_token != 0 ) { int t = parser . force_token ; parser . force_token = 0 ; return t ; } int mainLoopGoto = Start ; lvl = parser . currentLevel ( ) ; if ( lvl . status == LevelStatus . doc )...
public class RelationalJMapper { /** * Returns all Target Classes contained in the XML . * @ param xml xml to analyze * @ return target classes */ private Set < Class < ? > > getClasses ( XML xml ) { } }
HashSet < Class < ? > > result = new HashSet < Class < ? > > ( ) ; // in case of override only the last global configuration must be analyzed Global global = null ; for ( Class < ? > clazz : getAllsuperClasses ( configuredClass ) ) { // only if global configuration is null will be searched global configuration on super...
public class AtlasClientV2 { /** * Bulk retrieval API for retrieving all type definitions in Atlas * @ return A composite wrapper object with lists of all type definitions */ public AtlasTypesDef getAllTypeDefs ( SearchFilter searchFilter ) throws AtlasServiceException { } }
return callAPI ( GET_ALL_TYPE_DEFS , AtlasTypesDef . class , searchFilter . getParams ( ) ) ;
public class CmsContentEditor { /** * Synchronizes the locale independent fields to the other locales . < p > */ void synchronizeCurrentLocale ( ) { } }
m_basePanel . clear ( ) ; destroyForm ( false ) ; CmsEntity entity = m_entityBackend . getEntity ( m_entityId ) ; m_entityId = getIdForLocale ( m_locale ) ; ( ( CmsDefaultWidgetService ) getWidgetService ( ) ) . setSkipPaths ( Collections . < String > emptyList ( ) ) ; loadDefinition ( m_entityId , entity , new I_CmsSi...
public class Gen { /** * File name and file preamble related operations . */ protected void writeFileTop ( OutputStream o ) throws Util . Exit { } }
PrintWriter pw = wrapWriter ( o ) ; pw . println ( "/* DO NOT EDIT THIS FILE - it is machine generated */" + lineSep + getIncludes ( ) ) ;
public class JMessageClient { /** * Get user ' s message list with cursor , the cursor will effective in 120 seconds . * And will return same count of messages as first request . * @ param username Necessary parameter . * @ param cursor First request will return cursor * @ return MessageListResult * @ throws ...
return _messageClient . getUserMessagesByCursor ( username , cursor ) ;
public class JesqueUtils { /** * Materializes a job by looking up { @ link Job # getClassName ( ) } in the * provided map of job types . * @ param job * the job to materialize * @ param jobTypes * a map of String names to Java types * @ return the materialized job * @ throws UnpermittedJobException * if...
final String className = job . getClassName ( ) ; final Class < ? > clazz = jobTypes . get ( className ) ; if ( clazz == null ) { throw new UnpermittedJobException ( className ) ; } // A bit redundant since we check when the job type is added . . . if ( ! Runnable . class . isAssignableFrom ( clazz ) && ! Callable . cl...
public class ForkJoinPool { /** * If inactivating worker w has caused the pool to become * quiescent , checks for pool termination , and , so long as this is * not the only worker , waits for event for up to SHRINK _ RATE * nanosecs . On timeout , if ctl has not changed , terminates the * worker , which will in...
if ( w . eventCount < 0 && ! tryTerminate ( false , false ) && ( int ) prevCtl != 0 && ! hasQueuedSubmissions ( ) && ctl == currentCtl ) { Thread wt = Thread . currentThread ( ) ; Thread . yield ( ) ; // yield before block while ( ctl == currentCtl ) { long startTime = System . nanoTime ( ) ; Thread . interrupted ( ) ;...
public class ClassLoadingServiceImpl { /** * { @ inheritDoc } */ @ Override public String getClassLoaderIdentifier ( String type , String appName , String moduleName , String componentName ) { } }
String metadataId = metadataIdentifierService . getMetaDataIdentifier ( type , appName , moduleName , componentName ) ; MetaData metadata = metadataIdentifierService . getMetaData ( metadataId ) ; ClassLoader classLoader = metadataIdentifierService . getClassLoader ( type , ( ComponentMetaData ) metadata ) ; return get...
public class MapComposedElement { /** * Replies the ending index of a point in a group . * @ param groupIndex is the index of the desired group * @ return the index of the point in the list of points . * This value is between < code > 0 < / code > and < code > this . pointCoordinates . length ( ) - 2 < / code > ...
if ( this . pointCoordinates == null ) { throw new IndexOutOfBoundsException ( ) ; } final int count = getGroupCount ( ) ; if ( groupIndex < 0 ) { throw new IndexOutOfBoundsException ( groupIndex + "<0" ) ; // $ NON - NLS - 1 $ } if ( groupIndex >= count ) { throw new IndexOutOfBoundsException ( groupIndex + ">=" + cou...
public class TypeHelper { /** * Realizes an unsharp equal for the class . * In general we return true if the provided arguments are the same . But * we will also return true if our argument class is a wrapper for * the parameter class . For example the parameter is an int and the * argument class is a wrapper ....
if ( argumentClass == parameterClass ) return true ; if ( getWrapperClass ( parameterClass ) == argumentClass ) return true ; return false ;
public class EmbeddableIntrospector { /** * Processes each field in this Embeddable and updates the metadata . */ private void processFields ( ) { } }
List < Field > fields = IntrospectionUtils . getPersistableFields ( embeddableClass ) ; for ( Field field : fields ) { if ( field . isAnnotationPresent ( Embedded . class ) ) { processEmbeddedField ( field ) ; } else { processSimpleField ( field ) ; } }
public class Int2ObjectHashMap { /** * Overloaded version of { @ link Map # put ( Object , Object ) } that takes a primitive int key . * @ param key for indexing the { @ link Map } * @ param value to be inserted in the { @ link Map } * @ return the previous value if found otherwise null */ @ SuppressWarnings ( "u...
checkNotNull ( value , "Value cannot be null" ) ; V oldValue = null ; int index = intHash ( key , mask ) ; while ( null != values [ index ] ) { if ( key == keys [ index ] ) { oldValue = ( V ) values [ index ] ; break ; } index = ++ index & mask ; } if ( null == oldValue ) { ++ size ; keys [ index ] = key ; } values [ i...
public class FrameManager { /** * Constructs a frame manager that will do its rendering to the supplied root and use the * supplied media timer for timing information . */ public static FrameManager newInstance ( ManagedRoot root , MediaTimer timer ) { } }
FrameManager fmgr = ( root instanceof ManagedJFrame && _useFlip . getValue ( ) ) ? new FlipFrameManager ( ) : new BackFrameManager ( ) ; fmgr . init ( root , timer ) ; return fmgr ;
public class Control { /** * This method sets a new string value for this control . The returned value * is the new value of the control . * @ param value the new value * @ return the new value of the control after setting it * @ throws ControlException if the value can not be set , or if the new string value '...
String v = null ; if ( type != V4L4JConstants . CTRL_TYPE_STRING ) throw new UnsupportedMethod ( "This control is not a string control" ) ; if ( value . length ( ) > max ) throw new ControlException ( "The new string value for this control exceeds the maximum length" ) ; if ( value . length ( ) < min ) throw new Contro...
public class ConnectionDAODefaultImpl { public void checkIfTaco ( final Connection connection , final String cmdname ) throws DevFailed { } }
if ( ! is_taco ( connection ) ) { Except . throw_non_supported_exception ( "TangoApi_NOT_TANGO_CMD" , cmdname + " is NOT a TANGO command." , cmdname + "()" ) ; }
public class IntPriorityQueue { /** * Removes the node specified from the heap * @ param i the valid heap node index to remove from the heap * @ return the value that was stored in the heap node */ protected int removeHeapNode ( int i ) { } }
int val = heap [ i ] ; int rightMost = -- size ; heap [ i ] = heap [ rightMost ] ; heap [ rightMost ] = 0 ; if ( fastValueRemove == Mode . HASH ) { valueIndexMap . remove ( val ) ; if ( size != 0 ) valueIndexMap . put ( heap [ i ] , i ) ; } else if ( fastValueRemove == Mode . BOUNDED ) { valueIndexStore [ val ] = - 1 ;...
public class AnyTimeInterrogationRequestImpl { /** * ( non - Javadoc ) * @ see org . restcomm . protocols . ss7 . map . primitives . MAPAsnPrimitive # encodeData ( org . mobicents . protocols . asn . AsnOutputStream ) */ public void encodeData ( AsnOutputStream asnOs ) throws MAPException { } }
if ( this . subscriberIdentity == null ) { throw new MAPException ( "Error while encoding " + _PrimitiveName + " the mandatory parameter subscriberIdentity is not defined" ) ; } if ( this . requestedInfo == null ) { throw new MAPException ( "Error while encoding " + _PrimitiveName + " the mandatory parameter requestedI...
public class KafkaSpec { /** * Check that the number of partitions is like expected . * @ param topic _ name Name of kafka topic * @ param numOfPartitions Number of partitions * @ throws Exception */ @ Then ( "^The number of partitions in topic '(.+?)' should be '(.+?)''?$" ) public void checkNumberOfPartitions (...
Assertions . assertThat ( commonspec . getKafkaUtils ( ) . getPartitions ( topic_name ) ) . isEqualTo ( numOfPartitions ) ;
public class FeatureTileLinkDao { /** * { @ inheritDoc } */ @ Override public int delete ( FeatureTileLink data ) throws SQLException { } }
DeleteBuilder < FeatureTileLink , FeatureTileLinkKey > db = deleteBuilder ( ) ; db . where ( ) . eq ( FeatureTileLink . COLUMN_FEATURE_TABLE_NAME , data . getFeatureTableName ( ) ) . and ( ) . eq ( FeatureTileLink . COLUMN_TILE_TABLE_NAME , data . getTileTableName ( ) ) ; PreparedDelete < FeatureTileLink > deleteQuery ...
public class FieldSet { /** * See { @ link Message # isInitialized ( ) } . Note : Since { @ code FieldSet } * itself does not have any way of knowing about required fields that * aren ' t actually present in the set , it is up to the caller to check * that all required fields are present . */ public boolean isIni...
for ( int i = 0 ; i < fields . getNumArrayEntries ( ) ; i ++ ) { if ( ! isInitialized ( fields . getArrayEntryAt ( i ) ) ) { return false ; } } for ( final Map . Entry < FieldDescriptorType , Object > entry : fields . getOverflowEntries ( ) ) { if ( ! isInitialized ( entry ) ) { return false ; } } return true ;
public class CompletableFutureT { /** * / * ( non - Javadoc ) * @ see cyclops2 . monads . transformers . values . ValueTransformer # zip ( java . lang . Iterable , java . util . function . BiFunction ) */ @ Override public < T2 , R > CompletableFutureT < W , R > zip ( Iterable < ? extends T2 > iterable , BiFunction <...
return ( CompletableFutureT < W , R > ) super . zip ( iterable , fn ) ;
public class NotificationCenter { /** * / * package */ void clearEntry ( int target ) { } }
synchronized ( mActives ) { ArrayList < NotificationEntry > entries = getEntries ( ) ; Iterator < NotificationEntry > iter = entries . iterator ( ) ; while ( iter . hasNext ( ) ) { NotificationEntry entry = iter . next ( ) ; if ( entry . mTargets == target ) { if ( DBG ) Log . v ( TAG , "[entry:" + entry . ID + "] out ...
public class ProvidedResourceScanner { /** * Remove any metadata that was added by any { @ code ProvidesResources } annotation * present in { @ code theProvider } . This method is callled from { @ code RestfulService } * when it is unregistering a Resource Provider . * @ param theProvider * - Normally a { @ lin...
ProvidesResources annotation = theProvider . getClass ( ) . getAnnotation ( ProvidesResources . class ) ; if ( annotation == null ) return ; for ( Class < ? > clazz : annotation . resources ( ) ) { if ( IBaseResource . class . isAssignableFrom ( clazz ) ) { // TODO - - not currently used but should be finished for comp...
public class AbstractLazyLoadRunMap { /** * / * package */ TreeMap < Integer , BuildReference < R > > all ( ) { } }
if ( ! fullyLoaded ) { synchronized ( this ) { if ( ! fullyLoaded ) { Index copy = copy ( ) ; for ( Integer number : numberOnDisk ) { if ( ! copy . byNumber . containsKey ( number ) ) load ( number , copy ) ; } index = copy ; fullyLoaded = true ; } } } return index . byNumber ;
public class DestinationManager { /** * Remove the given destination from the DestinationManager . * This will only be a BaseDestinationHandler removing either a link * or a destination . * @ param dh The DestinationHandler to remove . */ protected void removeDestination ( DestinationHandler dh ) { } }
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "removeDestination" , dh ) ; if ( dh . isLink ( ) ) { if ( linkIndex . containsKey ( dh ) ) { linkIndex . remove ( dh ) ; } } else { if ( destinationIndex . containsKey ( dh ) ) { destinationIndex . remove ( dh ) ; } } if ( ...
public class HodAuthenticationConfiguration { /** * Note that this bean cannot go in HavenSearchHodApplication because it would then cause a circular dependency in upstream applications */ @ Bean @ ConditionalOnMissingBean ( AuthenticationInformationRetriever . class ) public AuthenticationInformationRetriever < HodAut...
@ SuppressWarnings ( "unchecked" ) final AuthenticationInformationRetriever < HodAuthentication < EntityType . Combined > , HodAuthenticationPrincipal > retriever = new SpringSecurityAuthenticationInformationRetriever < > ( ( Class < HodAuthentication < EntityType . Combined > > ) ( Class < ? > ) HodAuthentication . cl...
public class AbstractIndexBuilder { /** * Create a value index with the given index items . The index items are a list of * the properties or expressions to be indexed . * @ param items The index items * @ return The value index */ public static ValueIndex valueIndex ( @ NonNull ValueIndexItem ... items ) { } }
if ( items == null ) { throw new IllegalArgumentException ( "items cannot be null." ) ; } return new ValueIndex ( items ) ;
public class BaseXMLBuilder { /** * Return the result of evaluating an XPath query on the builder ' s DOM . * Returns null if the query finds nothing , * or finds a node that does not match the type specified by returnType . * @ param xpath * an XPath expression * @ param type * the type the XPath is expect...
return xpathQuery ( xpath , type , null ) ;
public class WSJdbcResultSet { /** * Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when * more rows are needed for this result set . If the fetch size specified is zero , the JDBC driver ignores the value and is * free to make its own best guess as to what the fetch ...
if ( tc . isDebugEnabled ( ) ) Tr . debug ( this , tc , "setFetchSize" , rows ) ; try { rsetImpl . setFetchSize ( rows ) ; } catch ( SQLException ex ) { FFDCFilter . processException ( ex , "com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.setFetchSize" , "2891" , this ) ; throw WSJdbcUtil . mapException ( this , ex ) ; } cat...
public class FactoryBuilderSupport { /** * This is a hook for subclasses to plugin a custom strategy for mapping * names to explicit methods . * @ param methodName the name of the explicit method * @ param args the arguments for the method * @ return the closure for the matched explicit method . < br > */ @ Sup...
"UnusedDeclaration" } ) protected Closure resolveExplicitMethod ( String methodName , Object args ) { return getExplicitMethods ( ) . get ( methodName ) ;
public class Operation { /** * Fetches the current status of this operation . */ public Operation < R , M > reload ( ) throws SpannerException { } }
if ( isDone ) { return this ; } com . google . longrunning . Operation proto = rpc . getOperation ( name ) ; return Operation . < R , M > create ( rpc , proto , parser ) ;
public class AWSDataSyncClient { /** * Creates an endpoint for an Amazon S3 bucket . * For AWS DataSync to access a destination S3 bucket , it needs an AWS Identity and Access Management ( IAM ) role * that has the required permissions . You can set up the required permissions by creating an IAM policy that grants ...
request = beforeClientExecution ( request ) ; return executeCreateLocationS3 ( request ) ;
public class StyleUtilities { /** * Checks if the list of { @ link Rule } s supplied contains one with the supplied name . * < p > If the rule is contained it adds an index to the name . * @ param rulesWrapper the list of rules to check . * @ param ruleName the name of the rule to find . * @ return the new name...
int index = 1 ; String name = ruleName . trim ( ) ; for ( int i = 0 ; i < rulesWrapper . size ( ) ; i ++ ) { RuleWrapper ruleWrapper = rulesWrapper . get ( i ) ; String tmpName = ruleWrapper . getName ( ) ; if ( tmpName == null ) { continue ; } tmpName = tmpName . trim ( ) ; if ( tmpName . equals ( name ) ) { // name e...
public class CollectionReference { /** * Decodes a document in to entities * @ param datastore the datastore * @ param mapper the mapper * @ param mappedField the MappedField * @ param paramType the type of the underlying entity * @ param dbObject the DBObject to decode * @ return the entities */ public sta...
MorphiaReference reference = null ; final List dbVal = ( List ) mappedField . getDbObjectValue ( dbObject ) ; if ( dbVal != null ) { final Class subType = mappedField . getTypeParameters ( ) . get ( 0 ) . getSubClass ( ) ; final MappedClass mappedClass = mapper . getMappedClass ( subType ) ; if ( Set . class . isAssign...
public class ByteBufQueue { /** * Consumes the first ByteBuf of the queue to the provided consumer * if the ByteBuf has at least { @ code size } bytes available for reading . * If after consuming ByteBuf has no readable bytes left , it is recycled * and { @ code first } index is increased by 1 or set to the value...
assert hasRemainingBytes ( size ) ; ByteBuf buf = bufs [ first ] ; if ( buf . readRemaining ( ) >= size ) { int newPos = buf . head ( ) + size ; consumer . accept ( buf ) ; buf . head ( newPos ) ; if ( ! buf . canRead ( ) ) { first = next ( first ) ; buf . recycle ( ) ; } } else { buf = ByteBufPool . allocate ( size ) ...
public class RuleElementImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ public void setGuard ( Expression newGuard ) { } }
if ( newGuard != guard ) { NotificationChain msgs = null ; if ( guard != null ) msgs = ( ( InternalEObject ) guard ) . eInverseRemove ( this , EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage . RULE_ELEMENT__GUARD , null , msgs ) ; if ( newGuard != null ) msgs = ( ( InternalEObject ) newGuard ) . eInverseAdd ( this , EOPPOS...
public class PopularityWalker { /** * This method returns next walk sequence from this graph * @ return */ @ Override public Sequence < T > next ( ) { } }
Sequence < T > sequence = new Sequence < > ( ) ; int [ ] visitedHops = new int [ walkLength ] ; Arrays . fill ( visitedHops , - 1 ) ; int startPosition = position . getAndIncrement ( ) ; int lastId = - 1 ; int startPoint = order [ startPosition ] ; startPosition = startPoint ; for ( int i = 0 ; i < walkLength ; i ++ ) ...
public class Ifc4PackageImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ @ Override public EEnum getIfcWorkScheduleTypeEnum ( ) { } }
if ( ifcWorkScheduleTypeEnumEEnum == null ) { ifcWorkScheduleTypeEnumEEnum = ( EEnum ) EPackage . Registry . INSTANCE . getEPackage ( Ifc4Package . eNS_URI ) . getEClassifiers ( ) . get ( 1110 ) ; } return ifcWorkScheduleTypeEnumEEnum ;
public class ReduceRecordsPlan { /** * Buckets of a field may be discarded during the cost estimation if its * frequency is less than 1 . As a result , the total frequencies of buckets * may be diverse in different fields . This method synchronizes the total * frequencies of different fields in the specified hist...
double maxRecs = 0.0 ; for ( String fld : hist . fields ( ) ) { double numRecs = 0.0 ; for ( Bucket bkt : hist . buckets ( fld ) ) numRecs += bkt . frequency ( ) ; if ( Double . compare ( numRecs , maxRecs ) > 0 ) maxRecs = numRecs ; } Histogram syncHist = new Histogram ( hist . fields ( ) ) ; for ( String fld : hist ....
public class NodeTypeDataManagerImpl { /** * Add a < code > NodeTypeRegistryListener < / code > * @ param listener the new listener to be informed on ( un ) registration of node * types */ public void addListener ( final NodeTypeManagerListener listener ) { } }
if ( ! this . listeners . containsKey ( listener ) ) { this . listeners . put ( listener , listener ) ; }
public class ElementUI { /** * Create wrapped component ( s ) from specified template ( a cwf page ) . * @ param template URL of cwf page that will serve as a template . If the URL is not specified , * the template name is obtained from getTemplateUrl . * @ param parent The component that will become the parent ....
if ( StringUtils . isEmpty ( template ) ) { template = getTemplateUrl ( ) ; } else if ( ! template . startsWith ( "web/" ) ) { template = CWFUtil . getResourcePath ( getClass ( ) ) + template ; } BaseUIComponent top = null ; try { top = ( BaseUIComponent ) PageUtil . createPage ( template , parent ) . get ( 0 ) ; top ....
public class DBUtility { /** * Checks the database for the existence of this table . column of the specified * jdbc type . Returns true if it exists , false if it doesn ' t exist , and throws * a SQLException if the connection is not established . NOTE : If a schema is * required for your database , then it shoul...
if ( tableName == null ) throw new SQLException ( "TableName was null. You must specify a valid table name." ) ; if ( columnName == null ) throw new SQLException ( "Column name was null. You must specify a valid column name." ) ; ResultSet columns = getColumns ( tableName ) ; if ( columns == null ) { // columns not i...
public class QueuedFuture { /** * { @ inheritDoc } */ @ Override @ FFDCIgnore ( { } }
ExecutionException . class } ) public R get ( ) throws InterruptedException , ExecutionException { R result = null ; Future < Future < R > > resultFuture = getResultFuture ( ) ; try { result = resultFuture . get ( ) . get ( ) ; } catch ( ExecutionException e ) { if ( e . getCause ( ) instanceof com . ibm . ws . micropr...
public class ClassFileTypeSignatureParser { /** * parse the class name ( outer class and inner class ) * @ return */ public ClassTypeSignature parseClassName ( ) { } }
// read ID ( / Id ) * String outerClassName = parseOuterClassName ( ) ; TypeArgSignature [ ] typeArgSignatures = new TypeArgSignature [ 0 ] ; int ch = peekChar ( ) ; if ( acceptGenerics && ch == '<' ) { typeArgSignatures = parseTypeArgs ( ) ; } ClassTypeSignature classTypeSignature = new ClassTypeSignature ( outerClass...
public class Roaring64NavigableMap { /** * In - place bitwise ANDNOT ( difference ) operation . The current bitmap is modified . * @ param x2 other bitmap */ public void andNot ( final Roaring64NavigableMap x2 ) { } }
boolean firstBucket = true ; Iterator < Entry < Integer , BitmapDataProvider > > thisIterator = highToBitmap . entrySet ( ) . iterator ( ) ; while ( thisIterator . hasNext ( ) ) { Entry < Integer , BitmapDataProvider > e1 = thisIterator . next ( ) ; // Keep object to prevent auto - boxing Integer high = e1 . getKey ( )...
public class SimpleConsumerThread { /** * Request offsets from Kafka with a specified set of partition ' s offset request information . * The returned offsets are used to set the internal partition states . * < p > This method retries three times if the response has an error . * @ param consumer The consumer conn...
int retries = 0 ; OffsetResponse response ; while ( true ) { kafka . javaapi . OffsetRequest request = new kafka . javaapi . OffsetRequest ( partitionToRequestInfo , kafka . api . OffsetRequest . CurrentVersion ( ) , consumer . clientId ( ) ) ; response = consumer . getOffsetsBefore ( request ) ; if ( response . hasErr...
public class RemoteBundleContextImpl { /** * Starts a bundle . * @ param bundle bundle to be started * @ throws BundleException - If bundle cannot be started */ private void startBundle ( final Bundle bundle ) throws BundleException { } }
// Don ' t start if bundle already active int bundleState = bundle . getState ( ) ; if ( bundleState == Bundle . ACTIVE ) { return ; } // Don ' t start if bundle is a fragment bundle Dictionary bundleHeaders = bundle . getHeaders ( ) ; if ( bundleHeaders . get ( Constants . FRAGMENT_HOST ) != null ) { return ; } // Sta...
public class HttpRequest { /** * Specify the { @ link ConnectionFactory } used to create new requests . */ public static void setConnectionFactory ( final ConnectionFactory connectionFactory ) { } }
if ( connectionFactory == null ) CONNECTION_FACTORY = ConnectionFactory . DEFAULT ; else CONNECTION_FACTORY = connectionFactory ;
public class Queue { /** * Return a standard ( unextended ) JDK Stream connected to this Queue * To disconnect cleanly close the queue * < pre > * { @ code * use queue . stream ( ) . parallel ( ) to convert to a parallel Stream * < / pre > * @ param closeScalingFactor Scaling factor for Queue closed message...
int cores = Runtime . getRuntime ( ) . availableProcessors ( ) ; String par = System . getProperty ( "java.util.concurrent.ForkJoinPool.common.parallelism" ) ; int connected = par != null ? Integer . valueOf ( par ) : cores ; int update = 0 ; do { update = listeningStreams . get ( ) + connected * closeScalingFactor ; }...
public class BuffReaderParseFactory { /** * Not supported at this time . */ @ Override public Parser newFixedLengthParser ( final Connection con , final InputStream dataSourceStream , final String dataDefinition ) { } }
throw new UnsupportedOperationException ( "Not supported..." ) ;
public class Quantile { /** * Adjust heights of markers 0 to 2 if necessary */ private void adjustMarkerHeights ( ) { } }
double mm = _n [ 1 ] - 1.0 ; double mp = _n [ 1 ] + 1.0 ; if ( _nn [ 0 ] >= mp && _n [ 2 ] > mp ) { _q [ 1 ] = qPlus ( mp , _n [ 0 ] , _n [ 1 ] , _n [ 2 ] , _q [ 0 ] , _q [ 1 ] , _q [ 2 ] ) ; _n [ 1 ] = mp ; } else if ( _nn [ 0 ] <= mm && _n [ 0 ] < mm ) { _q [ 1 ] = qMinus ( mm , _n [ 0 ] , _n [ 1 ] , _n [ 2 ] , _q [ ...
public class MetricsTimeVaryingRate { /** * The max time for a single operation since the last reset * { @ link # resetMinMax ( ) } * @ return max time for an operation */ public long getMaxTime ( ) { } }
lock . lock ( ) ; try { if ( printMinMax ) { return previousIntervalMinMax . maxTime ; } return minMax . maxTime ; } finally { lock . unlock ( ) ; }
public class Ifc4PackageImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ @ Override public EEnum getIfcTransformerTypeEnum ( ) { } }
if ( ifcTransformerTypeEnumEEnum == null ) { ifcTransformerTypeEnumEEnum = ( EEnum ) EPackage . Registry . INSTANCE . getEPackage ( Ifc4Package . eNS_URI ) . getEClassifiers ( ) . get ( 1089 ) ; } return ifcTransformerTypeEnumEEnum ;
public class EmojiManager { /** * Installs the given EmojiProvider . * NOTE : That only one can be present at any time . * @ param provider the provider that should be installed . */ public static void install ( @ NonNull final EmojiProvider provider ) { } }
INSTANCE . categories = checkNotNull ( provider . getCategories ( ) , "categories == null" ) ; INSTANCE . emojiMap . clear ( ) ; INSTANCE . emojiReplacer = provider instanceof EmojiReplacer ? ( EmojiReplacer ) provider : DEFAULT_EMOJI_REPLACER ; final List < String > unicodesForPattern = new ArrayList < > ( GUESSED_UNI...
public class Resources { /** * Retrieve a char from bundle . * @ param key the key of resource * @ param defaultValue the default value if key is missing * @ return the resource char * @ throws MissingResourceException if the requested key is unknown */ public char getChar ( String key , char defaultValue ) thr...
try { return getChar ( key ) ; } catch ( MissingResourceException mre ) { return defaultValue ; }
public class GlobalClusterMember { /** * The Amazon Resource Name ( ARN ) for each read - only secondary cluster associated with the Aurora global database . * @ return The Amazon Resource Name ( ARN ) for each read - only secondary cluster associated with the Aurora global * database . */ public java . util . List...
if ( readers == null ) { readers = new com . amazonaws . internal . SdkInternalList < String > ( ) ; } return readers ;
public class DraweeView { /** * This method is idempotent so it only has effect the first time it ' s called */ private void init ( Context context ) { } }
try { if ( FrescoSystrace . isTracing ( ) ) { FrescoSystrace . beginSection ( "DraweeView#init" ) ; } if ( mInitialised ) { return ; } mInitialised = true ; mDraweeHolder = DraweeHolder . create ( null , context ) ; if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . LOLLIPOP ) { ColorStateList imageTintList = ge...
public class RouteModel { /** * Creates the JSON representation of the given route . * @ param route the route * @ param json the JSON service * @ return the json representation */ public static ObjectNode from ( Route route , Json json ) { } }
return json . newObject ( ) . put ( "url" , route . getUrl ( ) ) . put ( "controller" , route . getControllerClass ( ) . getName ( ) ) . put ( "method" , route . getControllerMethod ( ) . getName ( ) ) . put ( "http_method" , route . getHttpMethod ( ) . toString ( ) ) ;
public class DataSet { /** * Writes a DataSet as text file ( s ) to the specified location . * < p > For each element of the DataSet the result of { @ link Object # toString ( ) } is written . * @ param filePath The path pointing to the location the text file is written to . * @ param writeMode Control the behavi...
TextOutputFormat < T > tof = new TextOutputFormat < > ( new Path ( filePath ) ) ; tof . setWriteMode ( writeMode ) ; return output ( tof ) ;
public class EJBJarDescriptorHandler { /** * The local ref must be inserted into the ejb - jar file at the proper * location based on the ejb - jar schema definition . Check for elements which * can immediatly FOLLOW an ejb - ref from the closest to farthest as * defined by the schema . * @ param parent The ' s...
Element e = DomUtils . getChildElementByName ( parent , "service-ref" ) ; if ( e != null ) return e ; e = DomUtils . getChildElementByName ( parent , "resource-ref" ) ; if ( e != null ) return e ; e = DomUtils . getChildElementByName ( parent , "resource-env-ref" ) ; if ( e != null ) return e ; e = DomUtils . getChildE...
public class ExampleGraphicsProvider { /** * we have no groups in this example */ @ Nullable @ Override public NodeGraphicDefinition getGroupGraphics ( Object group , Set < String > groupElements ) { } }
return null ;
public class AmazonCloudSearchClient { /** * Gets the suggesters configured for a domain . A suggester enables you to display possible matches before users * finish typing their queries . Can be limited to specific suggesters by name . By default , shows all suggesters and * includes any pending changes to the conf...
request = beforeClientExecution ( request ) ; return executeDescribeSuggesters ( request ) ;
public class SaxHtmlHandler { /** * Characters Method . */ public void characters ( char [ ] ch , int start , int length ) throws SAXException { } }
if ( startTable ) { try { String string = new String ( ch , start , length ) ; for ( int i = string . length ( ) - 1 ; i >= 0 ; i -- ) { // Trim trailing spaces int x = Character . getNumericValue ( string . charAt ( i ) ) ; if ( ( Character . isWhitespace ( string . charAt ( i ) ) ) || ( x == - 1 ) ) string = string ....
public class AWSDatabaseMigrationServiceClient { /** * Modifies an existing AWS DMS event notification subscription . * @ param modifyEventSubscriptionRequest * @ return Result of the ModifyEventSubscription operation returned by the service . * @ throws ResourceQuotaExceededException * The quota for this resou...
request = beforeClientExecution ( request ) ; return executeModifyEventSubscription ( request ) ;
public class ScalingThreadPoolExecutor { /** * Creates a { @ link ScalingThreadPoolExecutor } . * @ param min Core thread pool size . * @ param max Max number of threads allowed . * @ param keepAliveTime Keep alive time for unused threads in milliseconds . * @ param threadFactory thread factory to use . * @ r...
ScalingQueue queue = new ScalingQueue ( ) ; ScalingThreadPoolExecutor executor = new ScalingThreadPoolExecutor ( min , max , keepAliveTime , TimeUnit . MILLISECONDS , queue , threadFactory ) ; executor . setRejectedExecutionHandler ( new ForceQueuePolicy ( ) ) ; queue . setThreadPoolExecutor ( executor ) ; return execu...
public class AbstractRateProvider { /** * A protected helper method to divide 2 { @ link NumberValue } types . < br > * If either of the values is < code > null < / code > an { @ link ArithmeticException } is thrown . * @ param dividend the first value to be divided * @ param divisor the value to be divided by ...
if ( dividend == null ) { throw new ArithmeticException ( "The dividend cannot be null" ) ; } if ( divisor == null ) { throw new ArithmeticException ( "The divisor cannot be null" ) ; } return new DefaultNumberValue ( dividend . numberValueExact ( BigDecimal . class ) . divide ( divisor . numberValue ( BigDecimal . cla...
public class FixIntegerQuantityPrecisionsBot { /** * Checks if the given value is a number with precision + / - 1. * @ param quantityValue * @ return */ protected boolean isPlusMinusOneValue ( QuantityValue quantityValue ) { } }
BigDecimal valueSucc = quantityValue . getNumericValue ( ) . add ( BigDecimal . ONE ) ; BigDecimal valuePrec = quantityValue . getNumericValue ( ) . subtract ( BigDecimal . ONE ) ; return ( quantityValue . getLowerBound ( ) . equals ( valuePrec ) && quantityValue . getUpperBound ( ) . equals ( valueSucc ) && "1" . equa...
public class WebSecurityConfig { /** * { @ inheritDoc } */ @ Override protected void configure ( final HttpSecurity http ) throws Exception { } }
handleCsrf ( http ) . sessionManagement ( ) . sessionCreationPolicy ( SessionCreationPolicy . STATELESS ) . and ( ) . exceptionHandling ( ) . authenticationEntryPoint ( restAuthenticationEntryPoint ) . and ( ) . addFilterBefore ( jwtAuthenticationTokenFilter ( ) , BasicAuthenticationFilter . class ) . authorizeRequests...
public class LocalTransactionManager { /** * { @ inheritDoc } * @ see jp . co . future . uroborosql . tx . TransactionManager # setSavepoint ( java . lang . String ) */ @ Override public void setSavepoint ( final String savepointName ) { } }
Optional < LocalTransactionContext > txContext = currentTxContext ( ) ; if ( txContext . isPresent ( ) ) { txContext . get ( ) . setSavepoint ( savepointName ) ; } else { this . unmanagedTransaction . ifPresent ( ut -> ut . setSavepoint ( savepointName ) ) ; }
public class UriMappingResolver { /** * Calls { @ link # addResource ( java . lang . String , java . lang . String ) } with * pairs taken from the argument array . * @ param resources array of uri - resource pairs * @ return this * @ throws IllegalArgumentException if length of resources is not even */ public U...
if ( resources . length % 2 == 1 ) { throw new IllegalArgumentException ( "Expected even number of arguments" ) ; } for ( int i = 0 ; i < resources . length ; i += 2 ) { addSchema ( resources [ i ] , resources [ i + 1 ] ) ; } return this ;
public class ActionValidator { protected Set < ConstraintViolation < Object > > hibernateValidate ( Object form , Class < ? > [ ] groups ) { } }
try { return hibernateValidator . validate ( form , groups ) ; } catch ( RuntimeException e ) { handleHibernateValidatorException ( form , groups , e ) ; return null ; // unreachable }
public class KickflipApiClient { /** * Get Stream Metadata for a a public { @ link io . kickflip . sdk . api . json . Stream } . * The target Stream must belong a User of your Kickflip app . * @ param stream the { @ link io . kickflip . sdk . api . json . Stream } to get Meta data for * @ param cb A callback to r...
GenericData data = new GenericData ( ) ; data . put ( "stream_id" , stream . getStreamId ( ) ) ; post ( GET_META , new UrlEncodedContent ( data ) , Stream . class , cb ) ;
public class Pattern { /** * Appends a new pattern to the existing one . The new pattern enforces strict * temporal contiguity . This means that the whole pattern sequence matches only * if an event which matches this pattern directly follows the preceding matching * event . Thus , there cannot be any events in b...
return new Pattern < > ( name , this , ConsumingStrategy . STRICT , afterMatchSkipStrategy ) ;
public class CommonExprTransformer { /** * < p > fields . < / p > * @ param operator a { @ link java . lang . String } object . * @ param args an array of { @ link ameba . db . dsl . QueryExprMeta . Val } objects . * @ param parent a { @ link ameba . db . dsl . QueryExprMeta } object . * @ return a { @ link io ...
if ( args . length < 1 ) { throw new QuerySyntaxException ( Messages . get ( "dsl.arguments.error2" , operator , 0 ) ) ; } if ( parent == null ) { throw new QuerySyntaxException ( Messages . get ( "dsl.arguments.error5" , operator ) ) ; } else if ( ! parent . operator ( ) . equals ( "option" ) ) { throw new QuerySyntax...
public class PutRecordsResult { /** * An array of successfully and unsuccessfully processed record results , correlated with the request by natural * ordering . A record that is successfully added to a stream includes < code > SequenceNumber < / code > and * < code > ShardId < / code > in the result . A record that...
if ( this . records == null ) { setRecords ( new com . amazonaws . internal . SdkInternalList < PutRecordsResultEntry > ( records . length ) ) ; } for ( PutRecordsResultEntry ele : records ) { this . records . add ( ele ) ; } return this ;
public class CmsSetupBean { /** * Returns the user of the database from the properties . < p > * @ return the database user used by the opencms core */ public String getDbWorkUser ( ) { } }
String user = getExtProperty ( CmsDbPoolV11 . KEY_DATABASE_POOL + '.' + getPool ( ) + ".user" ) ; if ( CmsStringUtil . isEmptyOrWhitespaceOnly ( user ) ) { return getDbCreateUser ( ) ; } return user ;
public class ListUploadsRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( ListUploadsRequest listUploadsRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( listUploadsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listUploadsRequest . getArn ( ) , ARN_BINDING ) ; protocolMarshaller . marshall ( listUploadsRequest . getType ( ) , TYPE_BINDING ) ; protocolMarshaller . marshall ( ...
public class Location { /** * return value tells whether the given character * has been included in location or not * for example in sequence " \ r \ n " , the character * ' \ n ' is not included in location . */ public boolean consume ( int ch ) { } }
offset ++ ; if ( ch == 0x0D ) { skipLF = true ; line ++ ; col = 0 ; return true ; } else if ( ch == 0x0A ) { if ( skipLF ) { skipLF = false ; return false ; } else { line ++ ; col = 0 ; return true ; } } else { skipLF = false ; col ++ ; return true ; }
public class PathMetadataFactory { /** * Create a new PathMetadata instance for indexed array access * @ param parent parent path * @ param index index of element * @ return array access path */ public static PathMetadata forArrayAccess ( Path < ? > parent , Expression < Integer > index ) { } }
return new PathMetadata ( parent , index , PathType . ARRAYVALUE ) ;
public class BackupManagerImpl { /** * { @ inheritDoc } */ public void restoreExistingRepository ( String repositoryBackupIdentifier , boolean asynchronous ) throws BackupOperationException , BackupConfigurationException { } }
RepositoryBackupChainLog backupChainLog = null ; for ( RepositoryBackupChainLog chainLog : getRepositoryBackupsLogs ( ) ) { if ( chainLog . getBackupId ( ) . equals ( repositoryBackupIdentifier ) ) { backupChainLog = chainLog ; break ; } } if ( backupChainLog == null ) { throw new BackupConfigurationException ( "Can no...
public class FormSpec { /** * Parses an encoded size spec and returns the size . * @ param token a token that represents a size , either bounded or plain * @ return the decoded Size */ private Size parseSize ( String token ) { } }
if ( token . startsWith ( "[" ) && token . endsWith ( "]" ) ) { return parseBoundedSize ( token ) ; } if ( token . startsWith ( "max(" ) && token . endsWith ( ")" ) ) { return parseOldBoundedSize ( token , false ) ; } if ( token . startsWith ( "min(" ) && token . endsWith ( ")" ) ) { return parseOldBoundedSize ( token ...
public class ConstructorHelper { /** * create a new instance of the class represented by the no - argument constructor provided * @ param constructor the zero argument constructor for the class * @ return a new instance of the class * @ throws InstantiationException * @ throws ClassNotPersistenceCapableExceptio...
if ( constructor == null ) { throw new ClassNotPersistenceCapableException ( "A zero argument constructor was not provided!" ) ; } Object result = null ; try { result = constructor . newInstance ( NO_ARGS ) ; } catch ( InstantiationException e ) { throw e ; } catch ( Exception e ) { throw new ClassNotPersistenceCapable...
public class CharacterTokenizer { /** * Return tokenized version of a string . Tokens are sequences * of alphanumerics , or any single punctuation character . */ public Token [ ] tokenize ( String input ) { } }
char [ ] stringChars = input . toCharArray ( ) ; List < Token > tokens = new ArrayList < Token > ( ) ; for ( char c : stringChars ) { if ( Character . isLetterOrDigit ( c ) ) { tokens . add ( internSomething ( Character . toString ( c ) ) ) ; } else if ( ! ignorePunctuation && ! Character . isWhitespace ( c ) ) { token...
public class ObjectToJsonConverter { /** * Set an value of an inner object * @ param pInner the inner object * @ param pAttribute the attribute to set * @ param pValue the value to set * @ return the old value * @ throws IllegalAccessException if the reflection code fails during setting of the value * @ thr...
// Call various handlers depending on the type of the inner object , as is extract Object Class clazz = pInner . getClass ( ) ; if ( clazz . isArray ( ) ) { return arrayExtractor . setObjectValue ( stringToObjectConverter , pInner , pAttribute , pValue ) ; } Extractor handler = getExtractor ( clazz ) ; if ( handler != ...
public class RecoveryAwareTransactionTable { /** * First moves the prepared transactions originated on the leavers into the recovery cache and then cleans up the * transactions that are not yet prepared . * @ param members The list of cluster members */ @ Override public void cleanupLeaverTransactions ( List < Addr...
Iterator < RemoteTransaction > it = getRemoteTransactions ( ) . iterator ( ) ; while ( it . hasNext ( ) ) { RecoveryAwareRemoteTransaction recTx = ( RecoveryAwareRemoteTransaction ) it . next ( ) ; recTx . computeOrphan ( members ) ; if ( recTx . isInDoubt ( ) ) { recoveryManager . registerInDoubtTransaction ( recTx ) ...
public class MapWebOperation { /** * Convert error to map * @ param e * @ return */ public static Map < String , Object > errorToMap ( Throwable e ) { } }
Map < String , Object > m = new HashMap < String , Object > ( ) ; m . put ( "requestId" , MDC . get ( "requestId" ) ) ; m . put ( "message" , e . getMessage ( ) ) ; m . put ( "errorClass" , e . getClass ( ) . getName ( ) ) ; return m ;
public class JXMapViewer { /** * Set if the tile borders should be drawn . Mainly used for debugging . * @ param drawTileBorders new value of this drawTileBorders */ public void setDrawTileBorders ( boolean drawTileBorders ) { } }
boolean old = isDrawTileBorders ( ) ; this . drawTileBorders = drawTileBorders ; firePropertyChange ( "drawTileBorders" , old , isDrawTileBorders ( ) ) ; repaint ( ) ;
public class DifferentialFunctionFactory { /** * Batch norm operation . */ public SDVariable batchNorm ( SDVariable input , SDVariable mean , SDVariable variance , SDVariable gamma , SDVariable beta , boolean applyGamma , boolean applyBeta , double epsilon , int ... axis ) { } }
BatchNorm batchNorm = BatchNorm . builder ( ) . inputFunctions ( new SDVariable [ ] { input , mean , variance , gamma , beta } ) . applyGamma ( applyGamma ) . applyBeta ( applyBeta ) . epsilon ( epsilon ) . sameDiff ( sameDiff ( ) ) . axis ( axis ) . build ( ) ; val outputVars = batchNorm . outputVariables ( ) ; return...
public class Cell { /** * Sets all constraint fields to null . */ public void clear ( ) { } }
minWidth = null ; minHeight = null ; prefWidth = null ; prefHeight = null ; maxWidth = null ; maxHeight = null ; spaceTop = null ; spaceLeft = null ; spaceBottom = null ; spaceRight = null ; padTop = null ; padLeft = null ; padBottom = null ; padRight = null ; fillX = null ; fillY = null ; align = null ; expandX = null...
public class nspbr6 { /** * Use this API to fetch all the nspbr6 resources that are configured on netscaler . * This uses nspbr6 _ args which is a way to provide additional arguments while fetching the resources . */ public static nspbr6 [ ] get ( nitro_service service , nspbr6_args args ) throws Exception { } }
nspbr6 obj = new nspbr6 ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; nspbr6 [ ] response = ( nspbr6 [ ] ) obj . get_resources ( service , option ) ; return response ;
public class WebApp40 { /** * Throw NPE if name is null * @ see com . ibm . ws . webcontainer . webapp . WebApp # getAttribute ( java . lang . String ) */ @ Override public Object getAttribute ( String name ) { } }
if ( name == null ) { logger . logp ( Level . SEVERE , CLASS_NAME , "getAttribute" , servlet40NLS . getString ( "name.is.null" ) ) ; throw new java . lang . NullPointerException ( servlet40NLS . getString ( "name.is.null" ) ) ; } return super . getAttribute ( name ) ;
public class ComputeExecutor { /** * Helper method to get the label IDs of role players in a relation * @ return a set of type label IDs */ private Set < Label > scopeTypeLabelsImplicitPlayers ( GraqlCompute query ) { } }
return scopeTypes ( query ) . filter ( Concept :: isRelationType ) . map ( Concept :: asRelationType ) . filter ( RelationType :: isImplicit ) . flatMap ( RelationType :: roles ) . flatMap ( Role :: players ) . map ( SchemaConcept :: label ) . collect ( toSet ( ) ) ;
public class ObjectFactory { /** * Create an instance of { @ link JAXBElement } { @ code < } { @ link MasterAccount } { @ code > } } */ @ XmlElementDecl ( namespace = "http://schema.intuit.com/finance/v3" , name = "MasterAccount" , substitutionHeadNamespace = "http://schema.intuit.com/finance/v3" , substitutionHeadName...
return new JAXBElement < MasterAccount > ( _MasterAccount_QNAME , MasterAccount . class , null , value ) ;
public class ParameterParser { /** * Extracts a map of name / value pairs from the given string . Names are * expected to be unique . Multiple separators may be specified and the * earliest found in the input string is used . * @ param sStr * the string that contains a sequence of name / value pairs * @ param...
if ( ArrayHelper . isEmpty ( aSeparators ) ) return new CommonsHashMap < > ( ) ; char cSep = aSeparators [ 0 ] ; if ( sStr != null ) { // Find the first separator to use int nFirstIndex = sStr . length ( ) ; for ( final char cSep2 : aSeparators ) { final int nCurIndex = sStr . indexOf ( cSep2 ) ; if ( nCurIndex != - 1 ...