signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class MolecularFormulaManipulator { /** * Construct an instance of IMolecularFormula , initialized with a molecular
* formula string . The string is immediately analyzed and a set of Nodes
* is built based on this analysis . The hydrogens must be implicit . Major
* isotopes are being used .
* @ param str... | return getMolecularFormula ( stringMF , true , builder ) ; |
public class CmsFlexCacheKey { /** * Parse a String in the Flex cache language and construct
* the key data structure from this . < p >
* @ param key the String to parse ( usually read from the file property " cache " ) */
private void parseFlexKey ( String key ) { } } | List < String > tokens = CmsStringUtil . splitAsList ( key , ';' , false ) ; Iterator < String > i = tokens . iterator ( ) ; try { while ( i . hasNext ( ) ) { String t = i . next ( ) ; String k = null ; String v = null ; int idx = t . indexOf ( '=' ) ; if ( idx >= 0 ) { k = t . substring ( 0 , idx ) . trim ( ) ; if ( t... |
public class TrAXFilter { /** * Parse a document .
* @ param systemId The system identifier as a fully - qualified URI .
* @ throws org . xml . sax . SAXException Any SAX exception , possibly
* wrapping another exception .
* @ throws java . io . IOException An IO exception from the parser ,
* possibly from a ... | parse ( new InputSource ( systemId ) ) ; |
public class MapFile { /** * This method attempts to fix a corrupt MapFile by re - creating its index .
* @ param fs filesystem
* @ param dir directory containing the MapFile data and index
* @ param keyClass key class ( has to be a subclass of Writable )
* @ param valueClass value class ( has to be a subclass ... | String dr = ( dryrun ? "[DRY RUN ] " : "" ) ; Path data = new Path ( dir , DATA_FILE_NAME ) ; Path index = new Path ( dir , INDEX_FILE_NAME ) ; int indexInterval = 128 ; if ( ! fs . exists ( data ) ) { // there ' s nothing we can do to fix this !
throw new Exception ( dr + "Missing data file in " + dir + ", impossible ... |
public class AtomCache { /** * Returns the representation of a { @ link ScopDomain } as a BioJava { @ link Structure } object .
* @ param domain
* a SCOP domain
* @ return a Structure object
* @ throws IOException
* @ throws StructureException */
public Structure getStructureForDomain ( ScopDomain domain ) th... | return getStructureForDomain ( domain , ScopFactory . getSCOP ( ) ) ; |
public class Scope { /** * 获取变量
* 自内向外在作用域栈中查找变量 , 返回最先找到的变量 */
public Object get ( Object key ) { } } | for ( Scope cur = this ; cur != null ; cur = cur . parent ) { // if ( cur . data ! = null & & cur . data . containsKey ( key ) ) {
// return cur . data . get ( key ) ;
if ( cur . data != null ) { Object ret = cur . data . get ( key ) ; if ( ret != null ) { return ret ; } if ( cur . data . containsKey ( key ) ) { return... |
public class PrintfFormat { /** * Format a double .
* @ param x The double to format .
* @ return The formatted String .
* @ exception IllegalArgumentException if the
* conversion character is c , C , s , S ,
* d , d , x , X , or o . */
public String sprintf ( double x ) throws IllegalArgumentException { } } | Enumeration e = vFmt . elements ( ) ; ConversionSpecification cs = null ; char c = 0 ; StringBuffer sb = new StringBuffer ( ) ; while ( e . hasMoreElements ( ) ) { cs = ( ConversionSpecification ) e . nextElement ( ) ; c = cs . getConversionCharacter ( ) ; if ( c == '\0' ) sb . append ( cs . getLiteral ( ) ) ; else if ... |
public class IonRawBinaryWriter { /** * short - hand for array of bytes - - useful for static definitions . */
private static byte [ ] bytes ( int ... vals ) { } } | final byte [ ] octets = new byte [ vals . length ] ; for ( int i = 0 ; i < vals . length ; i ++ ) { octets [ i ] = ( byte ) vals [ i ] ; } return octets ; |
public class NonTxDistributionInterceptor { /** * we ' re assuming that this function is ran on primary owner of given segments */
private Map < Address , IntSet > backupOwnersOfSegments ( ConsistentHash ch , IntSet segments ) { } } | Map < Address , IntSet > map = new HashMap < > ( ch . getMembers ( ) . size ( ) ) ; if ( ch . isReplicated ( ) ) { for ( Address member : ch . getMembers ( ) ) { map . put ( member , segments ) ; } map . remove ( rpcManager . getAddress ( ) ) ; } else { int numSegments = ch . getNumSegments ( ) ; for ( PrimitiveIterato... |
public class HeapCache { /** * Remove the entry from the hash and the replacement list .
* There is a race condition to catch : The eviction may run
* in a parallel thread and may have already selected this
* entry . */
protected boolean removeEntry ( Entry e ) { } } | int hc = extractModifiedHash ( e ) ; boolean _removed ; OptimisticLock l = hash . getSegmentLock ( hc ) ; long _stamp = l . writeLock ( ) ; try { _removed = hash . removeWithinLock ( e , hc ) ; e . setGone ( ) ; if ( _removed ) { eviction . submitWithoutEviction ( e ) ; } } finally { l . unlockWrite ( _stamp ) ; } chec... |
public class StorageManager { /** * The operation mode of the Cassandra node .
* @ return one of : NORMAL , CLIENT , JOINING , LEAVING , DECOMMISSIONED , MOVING ,
* DRAINING , or DRAINED . */
@ Override public String getOperationMode ( ) { } } | String mode = getNode ( ) . getOperationMode ( ) ; if ( mode != null && NORMAL . equals ( mode . toUpperCase ( ) ) ) { mode = NORMAL ; } return mode ; |
public class ObservableValueAssert { /** * Verifies that the actual observable has the same value as the given observable .
* @ param expectedValue the observable value to compare with the actual observables current value .
* @ return { @ code this } assertion instance . */
public ObservableValueAssert < T > hasSam... | new ObservableValueAssertions < > ( actual ) . hasSameValue ( expectedValue ) ; return this ; |
public class ResourceXMLParser { /** * Given xml Node and EntitySet , parse the entity defined in the Node
* @ param node DOM node
* @ param set entity set holder
* @ return parsed Entity object
* @ throws ResourceXMLParserException if entity definition was previously found , or another error occurs */
private ... | final Entity ent = parseResourceRef ( set , node ) ; ent . setResourceType ( node . getName ( ) ) ; parseEntProperties ( ent , node ) ; parseEntSubAttributes ( ent , node ) ; return ent ; |
public class CmsSearchStateParameters { /** * Returns the parameter key of the facet with the given name .
* @ param facet the facet ' s name .
* @ return the parameter key for the facet . */
String getFacetParamKey ( String facet ) { } } | I_CmsSearchControllerFacetField fieldFacet = m_result . getController ( ) . getFieldFacets ( ) . getFieldFacetController ( ) . get ( facet ) ; if ( fieldFacet != null ) { return fieldFacet . getConfig ( ) . getParamKey ( ) ; } I_CmsSearchControllerFacetRange rangeFacet = m_result . getController ( ) . getRangeFacets ( ... |
public class RefreshedEvent { /** * Fires a refreshed event on all registered handlers in the handler manager . If
* no such handlers exist , this method will do nothing .
* @ param source the source of the handlers */
public static void fire ( final HasRefreshedHandlers source ) { } } | if ( TYPE != null ) { RefreshedEvent event = new RefreshedEvent ( ) ; source . fireEvent ( event ) ; } |
public class DefaultSessionFactory { /** * Configures this factory to use a single identity authenticated by the
* supplied private key and pass phrase . The private key should be the path
* to a private key file in OpenSSH format . Clears out the current
* { @ link IdentityRepository } before adding this key .
... | clearIdentityRepository ( ) ; jsch . addIdentity ( privateKey , passPhrase ) ; |
public class UndertowServerEngineFactory { /** * Retrieve a previously configured HttpServerEngine for the
* given port . If none exists , this call returns null . */
public synchronized UndertowServerEngine retrieveHttpServerEngine ( int port ) { } } | UndertowServerEngine engine = null ; synchronized ( portMap ) { engine = portMap . get ( port ) ; } return engine ; |
public class StorePackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public EEnum getActionState ( ) { } } | if ( actionStateEEnum == null ) { actionStateEEnum = ( EEnum ) EPackage . Registry . INSTANCE . getEPackage ( StorePackage . eNS_URI ) . getEClassifiers ( ) . get ( 42 ) ; } return actionStateEEnum ; |
public class WellRenderer { /** * This methods generates the HTML code of the current b : well .
* < code > encodeBegin < / code > generates the start of the component . After the ,
* the JSF framework calls < code > encodeChildren ( ) < / code > to generate the
* HTML code between the beginning and the end of th... | if ( ! component . isRendered ( ) ) { return ; } Well well = ( Well ) component ; ResponseWriter rw = context . getResponseWriter ( ) ; String clientId = well . getClientId ( ) ; String sz = well . getSize ( ) ; rw . startElement ( "div" , well ) ; rw . writeAttribute ( "id" , clientId , "id" ) ; String style = well . ... |
public class Tile { /** * Gets the geographic extend of this Tile as a BoundingBox .
* @ return boundaries of this tile . */
public BoundingBox getBoundingBox ( ) { } } | if ( this . boundingBox == null ) { double minLatitude = Math . max ( MercatorProjection . LATITUDE_MIN , MercatorProjection . tileYToLatitude ( tileY + 1 , zoomLevel ) ) ; double minLongitude = Math . max ( - 180 , MercatorProjection . tileXToLongitude ( this . tileX , zoomLevel ) ) ; double maxLatitude = Math . min (... |
public class ImageLoaderEngine { /** * Submits task to execution pool */
void submit ( final LoadAndDisplayImageTask task ) { } } | taskDistributor . execute ( new Runnable ( ) { @ Override public void run ( ) { File image = configuration . diskCache . get ( task . getLoadingUri ( ) ) ; boolean isImageCachedOnDisk = image != null && image . exists ( ) ; initExecutorsIfNeed ( ) ; if ( isImageCachedOnDisk ) { taskExecutorForCachedImages . execute ( t... |
public class ReceiveMessageBuilder { /** * Expect this message payload data in received message .
* @ param payloadResource
* @ param charset
* @ return */
public T payload ( Resource payloadResource , Charset charset ) { } } | try { setPayload ( FileUtils . readToString ( payloadResource , charset ) ) ; } catch ( IOException e ) { throw new CitrusRuntimeException ( "Failed to read payload resource" , e ) ; } return self ; |
public class JobsImpl { /** * Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run .
* This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task . Th... | ServiceResponseWithHeaders < Page < JobPreparationAndReleaseTaskExecutionInformation > , JobListPreparationAndReleaseTaskStatusHeaders > response = listPreparationAndReleaseTaskStatusNextSinglePageAsync ( nextPageLink , jobListPreparationAndReleaseTaskStatusNextOptions ) . toBlocking ( ) . single ( ) ; return new Paged... |
public class CmsSecurityManager { /** * Copies a resource . < p >
* You must ensure that the destination path is an absolute , valid and
* existing VFS path . Relative paths from the source are currently not supported . < p >
* The copied resource will always be locked to the current user
* after the copy opera... | CmsDbContext dbc = m_dbContextFactory . getDbContext ( context ) ; try { checkOfflineProject ( dbc ) ; checkPermissions ( dbc , source , CmsPermissionSet . ACCESS_READ , true , CmsResourceFilter . ALL ) ; if ( source . isFolder ( ) && destination . startsWith ( source . getRootPath ( ) ) ) { throw new CmsVfsException (... |
public class FileTransferNegotiator { /** * Checks to see if all file transfer related services are enabled on the
* connection .
* @ param connection The connection to check
* @ return True if all related services are enabled , false if they are not . */
public static boolean isServiceEnabled ( final XMPPConnect... | ServiceDiscoveryManager manager = ServiceDiscoveryManager . getInstanceFor ( connection ) ; List < String > namespaces = new ArrayList < > ( ) ; namespaces . addAll ( Arrays . asList ( NAMESPACE ) ) ; namespaces . add ( DataPacketExtension . NAMESPACE ) ; if ( ! IBB_ONLY ) { namespaces . add ( Bytestream . NAMESPACE ) ... |
public class ConfigurationReader { /** * Parses the sql parameter section .
* @ param node
* Reference to the current used xml node
* @ param config
* Reference to the ConfigSettings */
private void parseSQLConfig ( final Node node , final ConfigSettings config ) { } } | String name , value ; Node nnode ; NodeList list = node . getChildNodes ( ) ; int length = list . getLength ( ) ; for ( int i = 0 ; i < length ; i ++ ) { nnode = list . item ( i ) ; name = nnode . getNodeName ( ) . toUpperCase ( ) ; if ( name . equals ( KEY_HOST ) ) { value = nnode . getChildNodes ( ) . item ( 0 ) . ge... |
public class Field { /** * Returns the set of fields indexed by soy accessor name for the given type . */
public static < T extends Field > ImmutableMap < String , T > getFieldsForType ( Descriptor descriptor , Set < FieldDescriptor > extensions , Factory < T > factory ) { } } | ImmutableMap . Builder < String , T > fields = ImmutableMap . builder ( ) ; for ( FieldDescriptor fieldDescriptor : descriptor . getFields ( ) ) { if ( ProtoUtils . shouldJsIgnoreField ( fieldDescriptor ) ) { continue ; } T field = factory . create ( fieldDescriptor ) ; fields . put ( field . getName ( ) , field ) ; } ... |
public class JCudaDriver { /** * Binds an array as a texture reference .
* < pre >
* CUresult cuTexRefSetArray (
* CUtexref hTexRef ,
* CUarray hArray ,
* unsigned int Flags )
* < / pre >
* < div >
* < p > Binds an array as a texture reference .
* Binds the CUDA array < tt > hArray < / tt > to the tex... | return checkResult ( cuTexRefSetArrayNative ( hTexRef , hArray , Flags ) ) ; |
public class XmlParser { /** * Parse XML from a String . */
public synchronized Node parse ( String xml ) throws IOException , SAXException { } } | ByteArrayInputStream is = new ByteArrayInputStream ( xml . getBytes ( ) ) ; return parse ( is ) ; |
public class Utils { /** * Throws a { @ link NullPointerException } if the given map is null or empty . */
@ NonNull public static < K , V > Map < K , V > assertNotNullOrEmpty ( Map < K , V > data , @ Nullable String name ) { } } | if ( isNullOrEmpty ( data ) ) { throw new NullPointerException ( name + " cannot be null or empty" ) ; } return data ; |
public class BinaryComparable { /** * Compare bytes from { # getBytes ( ) } .
* @ see org . apache . hadoop . io . WritableComparator # compareBytes ( byte [ ] , int , int , byte [ ] , int , int ) */
public int compareTo ( BinaryComparable other ) { } } | if ( this == other ) return 0 ; return WritableComparator . compareBytes ( getBytes ( ) , 0 , getLength ( ) , other . getBytes ( ) , 0 , other . getLength ( ) ) ; |
public class IPAddressSegment { /** * Check that the range resulting from the mask is contiguous , otherwise we cannot represent it .
* For instance , for the range 0 to 3 ( bits are 00 to 11 ) , if we mask all 4 numbers from 0 to 3 with 2 ( ie bits are 10 ) ,
* then we are left with 1 and 3 . 2 is not included . S... | if ( ! isMultiple ( ) ) { return true ; } return super . isMaskCompatibleWithRange ( maskValue , segmentPrefixLength , getNetwork ( ) . getPrefixConfiguration ( ) . allPrefixedAddressesAreSubnets ( ) ) ; |
public class Files { /** * Convert qualified name to platform specific path and add given extension . Uses { @ link # dot2path ( String ) } to convert
* < code > qualifiedName < / code > to file path then add give < code > fileExtension < / code > . Is legal for
* < code > fileExtension < / code > to start with dot... | if ( qualifiedName == null ) { return null ; } StringBuilder path = new StringBuilder ( ) ; path . append ( dot2path ( qualifiedName ) ) ; if ( fileExtension != null ) { if ( fileExtension . charAt ( 0 ) != '.' ) { path . append ( '.' ) ; } path . append ( fileExtension ) ; } return path . toString ( ) ; |
public class AmazonInspectorClient { /** * Creates a new assessment target using the ARN of the resource group that is generated by
* < a > CreateResourceGroup < / a > . If resourceGroupArn is not specified , all EC2 instances in the current AWS account
* and region are included in the assessment target . If the < ... | request = beforeClientExecution ( request ) ; return executeCreateAssessmentTarget ( request ) ; |
public class AdvancedRecyclerArrayAdapter { /** * Swaps the data , removes all existing data and replaces them with a new set of data . { @ link
* DiffUtil } will coordinate to update notifications . Make sure { @ link # getItemId ( Object ) } is
* implemented correctly .
* @ param newObjects new set of data
* ... | if ( newObjects == null ) { clear ( ) ; } else { synchronized ( mLock ) { final DiffUtil . DiffResult result = DiffUtil . calculateDiff ( new DiffUtil . Callback ( ) { @ Override public boolean areContentsTheSame ( final int oldItemPosition , final int newItemPosition ) { final T oldItem = mObjects . get ( oldItemPosit... |
public class SearchableTextComponent { /** * Add highlights with the given color to the text component for all
* the given points
* @ param points The points , containing start and end indices
* @ param color The color */
private void addHighlights ( Collection < ? extends Point > points , Color color ) { } } | removeHighlights ( points ) ; Map < Point , Object > newHighlights = JTextComponents . addHighlights ( textComponent , points , color ) ; highlights . putAll ( newHighlights ) ; |
public class AbstractRequestSingleton { /** * Get the singleton object in the current request scope , using the passed
* class . If the singleton is not yet instantiated , a new instance is created .
* @ param < T >
* The type to be returned
* @ param aClass
* The class to be used . May not be < code > null <... | return getSingleton ( _getStaticScope ( true ) , aClass ) ; |
public class Types { /** * Gets the boxed type of a class
* @ param type The type
* @ return The boxed type */
public static Type boxedType ( Type type ) { } } | if ( type instanceof Class < ? > ) { return boxedClass ( ( Class < ? > ) type ) ; } else { return type ; } |
public class ControllerRunner { /** * Injects FreeMarker tags with dependencies from Guice module . */
private void injectFreemarkerTags ( ) { } } | if ( ! tagsInjected ) { AbstractFreeMarkerConfig freeMarkerConfig = Configuration . getFreeMarkerConfig ( ) ; Injector injector = Configuration . getInjector ( ) ; tagsInjected = true ; if ( injector == null || freeMarkerConfig == null ) { return ; } freeMarkerConfig . inject ( injector ) ; } |
public class CleaneLingSolver { /** * Backward subsumes from clause .
* @ param c the clause
* @ param ignore the literal to ignore */
private void backward ( final CLClause c , final int ignore ) { } } | int minlit = 0 ; int minoccs = Integer . MAX_VALUE ; int litoccs ; this . stats . steps ++ ; for ( int i = 0 ; i < c . lits ( ) . size ( ) ; i ++ ) { final int lit = c . lits ( ) . get ( i ) ; if ( lit == ignore ) { continue ; } if ( val ( lit ) < 0 ) { continue ; } litoccs = occs ( lit ) . count ( ) ; if ( minlit != 0... |
public class SearchProductsResult { /** * The product view aggregations .
* @ return The product view aggregations . */
public java . util . Map < String , java . util . List < ProductViewAggregationValue > > getProductViewAggregations ( ) { } } | return productViewAggregations ; |
public class Factory { /** * Creates a matrix of all zeros . */
public static DenseMatrix matrix ( int nrows , int ncols ) { } } | if ( nlmatrixZeros != null ) { try { return ( DenseMatrix ) nlmatrixZeros . newInstance ( nrows , ncols ) ; } catch ( Exception e ) { logger . error ( "Failed to call NLMatrix(int, int): {}" , e ) ; } } return new JMatrix ( nrows , ncols ) ; |
public class WritingBenchmark { /** * Benchmarks writing via { @ link FileOutputStream } with using a { @ link ByteBuffer } for buffering .
* @ param configuration
* Configuration with target file
* @ throws IOException
* Failed to write to target file */
@ Benchmark @ BenchmarkMode ( Mode . AverageTime ) publi... | ByteBuffer buffer = ByteBuffer . allocate ( BUFFER_CAPACITY ) ; try ( OutputStream stream = new FileOutputStream ( configuration . file ) ) { for ( long i = 0 ; i < LINES ; ++ i ) { if ( buffer . remaining ( ) < DATA . length ) { stream . write ( buffer . array ( ) , 0 , buffer . position ( ) ) ; buffer . rewind ( ) ; ... |
public class Wxs { /** * 创建一个图文响应 */
public static WxOutMsg respNews ( String to , List < WxArticle > articles ) { } } | WxOutMsg out = new WxOutMsg ( "news" ) ; out . setArticles ( articles ) ; if ( to != null ) out . setToUserName ( to ) ; return out ; |
public class Dial { /** * Simple synchronous dial . The dial method won ' t return until the dial
* starts . Using this method will lockup your UI until the dial starts . For
* better control use the async Dial method below . */
static private void syncDial ( ) { } } | try { PBX pbx = PBXFactory . getActivePBX ( ) ; // The trunk MUST match the section header ( e . g . [ default ] ) that
// appears
// in your / etc / asterisk / sip . d file ( assuming you are using a SIP
// trunk ) .
// The trunk is used to select which SIP trunk to dial through .
Trunk trunk = pbx . buildTrunk ( "def... |
public class ConjunctionMatcher { /** * Returns a composite matcher that comprises of this matcher logically ANDed with the specified matcher .
* Note that this method returns a new matcher and does not modify this instance .
* @ param matcher
* the matcher to logically AND to this matcher
* @ return the compos... | requireNonNull ( matcher , "matcher" ) ; return new ConjunctionMatcher < > ( compositeDescription , concat ( matchers , matcher ) ) ; |
public class SolrHttpRequestHandler { /** * connection - see SOLR - 8453 and SOLR - 8683 */
private void consumeInputFully ( HttpServletRequest req ) { } } | try { ServletInputStream is = req . getInputStream ( ) ; while ( ! is . isFinished ( ) && is . read ( ) != - 1 ) { } } catch ( IOException e ) { log . info ( "Could not consume full client request" , e ) ; } |
public class cachecontentgroup { /** * Use this API to flush cachecontentgroup resources . */
public static base_responses flush ( nitro_service client , cachecontentgroup resources [ ] ) throws Exception { } } | base_responses result = null ; if ( resources != null && resources . length > 0 ) { cachecontentgroup flushresources [ ] = new cachecontentgroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { flushresources [ i ] = new cachecontentgroup ( ) ; flushresources [ i ] . name = resources [ i ] .... |
public class XmlDataProviderImpl { /** * Generates an XML string containing only the nodes filtered by the XPath expression .
* @ param document
* An XML { @ link org . dom4j . Document }
* @ param xpathExpression
* A string indicating the XPath expression to be evaluated .
* @ return A string of XML data wit... | logger . entering ( new Object [ ] { document , xpathExpression } ) ; List < Node > nodes = ( List < Node > ) document . selectNodes ( xpathExpression ) ; StringBuilder newDocument = new StringBuilder ( document . asXML ( ) . length ( ) ) ; newDocument . append ( "<root>" ) ; for ( Node n : nodes ) { newDocument . appe... |
public class MultiMap { /** * Put all contents of map .
* @ param m Map */
public void putAll ( Map m ) { } } | Iterator i = m . entrySet ( ) . iterator ( ) ; boolean multi = m instanceof MultiMap ; while ( i . hasNext ( ) ) { Map . Entry entry = ( Map . Entry ) i . next ( ) ; if ( multi ) super . put ( entry . getKey ( ) , LazyList . clone ( entry . getValue ( ) ) ) ; else put ( entry . getKey ( ) , entry . getValue ( ) ) ; } |
public class InstancesDistributor { /** * Locates a file in the temporal folder
* @ param conf
* The Hadoop Configuration .
* @ param filename
* The file name .
* @ throws IOException */
private static Path locateFileInCache ( Configuration conf , String filename ) throws IOException { } } | return new Path ( getInstancesFolder ( FileSystem . get ( conf ) , conf ) , filename ) ; |
public class AiMaterial { /** * Returns the shading mode . < p >
* If missing , defaults to { @ link AiShadingMode # FLAT }
* @ return the shading mode */
public AiShadingMode getShadingMode ( ) { } } | Property p = getProperty ( PropertyKey . SHADING_MODE . m_key ) ; if ( null == p || null == p . getData ( ) ) { return ( AiShadingMode ) m_defaults . get ( PropertyKey . SHADING_MODE ) ; } return AiShadingMode . fromRawValue ( ( Integer ) p . getData ( ) ) ; |
public class ListBackupPlanVersionsRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( ListBackupPlanVersionsRequest listBackupPlanVersionsRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( listBackupPlanVersionsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listBackupPlanVersionsRequest . getBackupPlanId ( ) , BACKUPPLANID_BINDING ) ; protocolMarshaller . marshall ( listBackupPlanVersionsRequest . getNextToken... |
public class Graph { /** * Runs a ScatterGather iteration on the graph with configuration options .
* @ param scatterFunction the scatter function
* @ param gatherFunction the gather function
* @ param maximumNumberOfIterations maximum number of iterations to perform
* @ param parameters the iteration configura... | ScatterGatherIteration < K , VV , M , EV > iteration = ScatterGatherIteration . withEdges ( edges , scatterFunction , gatherFunction , maximumNumberOfIterations ) ; iteration . configure ( parameters ) ; DataSet < Vertex < K , VV > > newVertices = this . getVertices ( ) . runOperation ( iteration ) ; return new Graph <... |
public class CommonOps_DDF5 { /** * Extracts all diagonal elements from ' input ' and places them inside the ' out ' vector . Elements
* are in sequential order .
* @ param input Matrix . Not modified .
* @ param out Vector containing diagonal elements . Modified . */
public static void diag ( DMatrix5x5 input , ... | out . a1 = input . a11 ; out . a2 = input . a22 ; out . a3 = input . a33 ; out . a4 = input . a44 ; out . a5 = input . a55 ; |
public class RoleReader { /** * Make the request to the Twilio API to perform the read .
* @ param client TwilioRestClient with which to make the request
* @ return Role ResourceSet */
@ Override public ResourceSet < Role > read ( final TwilioRestClient client ) { } } | return new ResourceSet < > ( this , client , firstPage ( client ) ) ; |
public class ParsedOptions { private static List < String > splitProperty ( String propertyString ) throws InvalidCommandException { } } | List < String > tokens = ImmutableList . copyOf ( Splitter . on ( '=' ) . limit ( 2 ) . split ( propertyString ) ) ; if ( tokens . size ( ) != 2 ) { throw new InvalidCommandException ( "no '=' found in: " + propertyString ) ; } return tokens ; |
public class ZealotKhala { /** * 生成带 " AND " 前缀 " IS NULL " 的SQL片段 .
* < p > 示例 : 传入 { " a . name " } 参数 , 生成的SQL片段为 : " AND a . name IS NULL " < / p >
* @ param field 数据库字段
* @ return ZealotKhala实例 */
public ZealotKhala andIsNull ( String field ) { } } | return this . doIsNull ( ZealotConst . AND_PREFIX , field , true , true ) ; |
public class Parallax { /** * BackgroundComponent */
@ Override public void update ( double extrp , int x , int y , double speed ) { } } | // This will avoid bug on huge speed ( lines out of screen )
final double speedWrap = 2.56 * factH / 0.0084 ; final double wrapedSpeed = UtilMath . wrapDouble ( speed , - speedWrap , speedWrap ) ; // Move each line , depending of its id and size
for ( int lineNum = 0 ; lineNum < parallaxsNumber ; lineNum ++ ) { // CHEC... |
public class ApiOvhEmaildomain { /** * Get this object properties
* REST : GET / email / domain / delegatedAccount / { email } / filter / { name }
* @ param email [ required ] Email
* @ param name [ required ] Filter name */
public OvhFilter delegatedAccount_email_filter_name_GET ( String email , String name ) th... | String qPath = "/email/domain/delegatedAccount/{email}/filter/{name}" ; StringBuilder sb = path ( qPath , email , name ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhFilter . class ) ; |
public class ForwardingTransformerHandlerBase { /** * TransformerHandler */
public void setResult ( Result result ) throws IllegalArgumentException { } } | Check . notNull ( result ) ; if ( result instanceof SAXResult ) { setTarget ( ( SAXResult ) result ) ; } else { TransformerHandler th = saxHelper . newIdentityTransformerHandler ( ) ; th . setResult ( result ) ; setTarget ( new SAXResult ( th ) ) ; } |
public class ValueDataResourceHolder { /** * Aquire ValueData resource .
* @ param resource
* Object
* @ param lockHolder
* ValueLockSupport
* @ throws InterruptedException
* if resource lock is interrupted
* @ return boolean , false - if the resource reaquired by the same user ( Thread ) , true otherwise... | final Thread myThread = Thread . currentThread ( ) ; final VDResource res = resources . get ( resource ) ; if ( res != null ) { if ( res . addUserLock ( myThread , lockHolder ) ) // resource locked in this thread ( by me )
return false ; synchronized ( res . lock ) { // resource locked , wait for unlock
res . lock . wa... |
public class ClientConnectionManager { /** * Initialises the channel framework . This must be called before any
* other method may be invoked in this class . Don ' t worry - you can call
* this multiple times without anything bad happening .
* @ throws SIResourceException */
public static synchronized void initia... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "initialise" ) ; if ( ! initialised ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "not previously initialised" ) ; // new com . ibm . ws . sib . jfapchannel . impl . Clie... |
public class CloudSnippets { /** * Example of running a query with timestamp query parameters . */
public void runQueryWithTimestampParameters ( ) throws InterruptedException { } } | // [ START bigquery _ query _ params _ timestamps ]
// BigQuery bigquery = BigQueryOptions . getDefaultInstance ( ) . getService ( ) ;
ZonedDateTime timestamp = LocalDateTime . of ( 2016 , 12 , 7 , 8 , 0 , 0 ) . atZone ( ZoneOffset . UTC ) ; String query = "SELECT TIMESTAMP_ADD(@ts_value, INTERVAL 1 HOUR);" ; // Note :... |
public class InternalXbaseWithAnnotationsParser { /** * $ ANTLR start synpred32 _ InternalXbaseWithAnnotations */
public final void synpred32_InternalXbaseWithAnnotations_fragment ( ) throws RecognitionException { } } | // InternalXbaseWithAnnotations . g : 3483:6 : ( ( ' ( ' ( ( ruleJvmFormalParameter ) ) ' : ' ) )
// InternalXbaseWithAnnotations . g : 3483:7 : ( ' ( ' ( ( ruleJvmFormalParameter ) ) ' : ' )
{ // InternalXbaseWithAnnotations . g : 3483:7 : ( ' ( ' ( ( ruleJvmFormalParameter ) ) ' : ' )
// InternalXbaseWithAnnotations ... |
public class IntegralImageOps { /** * Converts a regular image into an integral image .
* @ param input Regular image . Not modified .
* @ param transformed Integral image . If null a new image will be created . Modified .
* @ return Integral image . */
public static GrayS64 transform ( GrayS64 input , GrayS64 tr... | transformed = InputSanityCheck . checkDeclare ( input , transformed , GrayS64 . class ) ; ImplIntegralImageOps . transform ( input , transformed ) ; return transformed ; |
public class GenericsUtils { /** * Get the actual type according to the placeholder name
* @ param placeholderName the placeholder name , e . g . T , E
* @ param genericsPlaceholderAndTypeMap the result of { @ link # makeDeclaringAndActualGenericsTypeMap ( ClassNode , ClassNode ) }
* @ return the actual type */
p... | for ( Map . Entry < GenericsType , GenericsType > entry : genericsPlaceholderAndTypeMap . entrySet ( ) ) { GenericsType declaringGenericsType = entry . getKey ( ) ; if ( placeholderName . equals ( declaringGenericsType . getName ( ) ) ) { return entry . getValue ( ) . getType ( ) . redirect ( ) ; } } return null ; |
public class PubSubOutputHandler { /** * Get the set of topics associated with this OutputHandler */
public String [ ] getTopics ( ) { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getTopics" ) ; String [ ] topics = null ; if ( _subscriptionState != null ) topics = _subscriptionState . getTopics ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getTo... |
public class ApiOvhSms { /** * Delete the document from the slot
* REST : DELETE / sms / { serviceName } / receivers / { slotId }
* @ param serviceName [ required ] The internal name of your SMS offer
* @ param slotId [ required ] Slot number id */
public void serviceName_receivers_slotId_DELETE ( String serviceN... | String qPath = "/sms/{serviceName}/receivers/{slotId}" ; StringBuilder sb = path ( qPath , serviceName , slotId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; |
public class NumberMath { /** * / * package private */
static NumberMath getMath ( Number number ) { } } | if ( isLong ( number ) ) { return LongMath . INSTANCE ; } if ( isFloatingPoint ( number ) ) { return FloatingPointMath . INSTANCE ; } if ( isBigDecimal ( number ) ) { return BigDecimalMath . INSTANCE ; } if ( isBigInteger ( number ) ) { return BigIntegerMath . INSTANCE ; } if ( isInteger ( number ) || isShort ( number ... |
public class LazyUtil { /** * Check is current object was initialized
* @ param object - object , which need check
* @ return boolean value */
public static boolean isPropertyInitialized ( Object object ) { } } | Class < ? > cl = getHibernateClass ( ) ; if ( cl == null ) { return true ; } Method method = getInitializeMethod ( cl ) ; return checkInitialize ( method , object ) ; |
public class ModelMetricsHandler { /** * Score a frame with the given model and return the metrics AND the prediction frame . */
@ SuppressWarnings ( "unused" ) // called through reflection by RequestServer
public ModelMetricsListSchemaV3 predict ( int version , ModelMetricsListSchemaV3 s ) { } } | // parameters checking :
if ( s . model == null ) throw new H2OIllegalArgumentException ( "model" , "predict" , null ) ; if ( DKV . get ( s . model . name ) == null ) throw new H2OKeyNotFoundArgumentException ( "model" , "predict" , s . model . name ) ; // Aggregator doesn ' t need a Frame to ' predict '
if ( s . exemp... |
public class MtasMaximumExpandSpans { /** * Two phase current doc matches .
* @ return true , if successful
* @ throws IOException Signals that an I / O exception has occurred . */
private boolean twoPhaseCurrentDocMatches ( ) throws IOException { } } | if ( docId != subSpans . docID ( ) ) { reset ( ) ; docId = subSpans . docID ( ) ; IndexDoc doc = mtasCodecInfo . getDoc ( field , docId ) ; if ( doc != null ) { minPosition = doc . minPosition ; maxPosition = doc . maxPosition ; } else { minPosition = NO_MORE_POSITIONS ; maxPosition = NO_MORE_POSITIONS ; } } if ( docId... |
public class AbstractAmazonSQSAsync { /** * Simplified method form for invoking the GetQueueAttributes operation .
* @ see # getQueueAttributesAsync ( GetQueueAttributesRequest ) */
@ Override public java . util . concurrent . Future < GetQueueAttributesResult > getQueueAttributesAsync ( String queueUrl , java . util... | return getQueueAttributesAsync ( new GetQueueAttributesRequest ( ) . withQueueUrl ( queueUrl ) . withAttributeNames ( attributeNames ) ) ; |
public class SEPWorker { /** * realtime we have spun too much and deschedule ; if we get too far behind realtime , we reset to our initial offset */
private void maybeStop ( long stopCheck , long now ) { } } | long delta = now - stopCheck ; if ( delta <= 0 ) { // if stopCheck has caught up with present , we ' ve been spinning too much , so if we can atomically
// set it to the past again , we should stop a worker
if ( pool . stopCheck . compareAndSet ( stopCheck , now - stopCheckInterval ) ) { // try and stop ourselves ;
// ... |
public class InternalXbaseParser { /** * InternalXbase . g : 4657:1 : entryRuleXBooleanLiteral returns [ EObject current = null ] : iv _ ruleXBooleanLiteral = ruleXBooleanLiteral EOF ; */
public final EObject entryRuleXBooleanLiteral ( ) throws RecognitionException { } } | EObject current = null ; EObject iv_ruleXBooleanLiteral = null ; try { // InternalXbase . g : 4657:56 : ( iv _ ruleXBooleanLiteral = ruleXBooleanLiteral EOF )
// InternalXbase . g : 4658:2 : iv _ ruleXBooleanLiteral = ruleXBooleanLiteral EOF
{ if ( state . backtracking == 0 ) { newCompositeNode ( grammarAccess . getXBo... |
public class Routers { /** * Returns the default implementation of the { @ link Router } to find a { @ link ServiceConfig } .
* It consists of several router implementations which use one of Trie and List . It also includes
* cache mechanism to improve its performance . */
public static Router < ServiceConfig > ofV... | requireNonNull ( virtualHost , "virtualHost" ) ; requireNonNull ( configs , "configs" ) ; requireNonNull ( rejectionHandler , "rejectionHandler" ) ; final BiConsumer < PathMapping , PathMapping > rejectionConsumer = ( mapping , existingMapping ) -> { try { rejectionHandler . handleDuplicatePathMapping ( virtualHost , m... |
public class AmazonElasticLoadBalancingClient { /** * Modifies the specified rule .
* Any existing properties that you do not modify retain their current values .
* To modify the actions for the default rule , use < a > ModifyListener < / a > .
* @ param modifyRuleRequest
* @ return Result of the ModifyRule ope... | request = beforeClientExecution ( request ) ; return executeModifyRule ( request ) ; |
public class StringUtils { /** * Hashes a String using the SHA - 1 algorithm and returns the result as a
* String of hexadecimal numbers . This method is synchronized to avoid
* excessive MessageDigest object creation . If calling this method becomes
* a bottleneck in your code , you may wish to maintain a pool o... | return org . jivesoftware . smack . util . SHA1 . hex ( data ) ; |
public class PreambleUtil { /** * Returns the defined byte offset from the start of the preamble given the < i > HiField < / i >
* and the < i > Format < / i > .
* Note this can not be used to obtain the stream offsets .
* @ param format the desired < i > Format < / i >
* @ param hiField the desired preamble < ... | final int formatIdx = format . ordinal ( ) ; final int hiFieldIdx = hiField . ordinal ( ) ; final long fieldOffset = hiFieldOffset [ formatIdx ] [ hiFieldIdx ] & 0xFF ; // initially a byte
if ( fieldOffset == 0 ) { throw new SketchesStateException ( "Undefined preamble field given the Format: " + "Format: " + format . ... |
public class Statement { /** * Returns a list of all parameters contained by this statement and object .
* @ return List of parameters */
public List < Parameter > getAllParameters ( ) { } } | List < Parameter > ret = new ArrayList < Parameter > ( ) ; ret . addAll ( subject . getAllParameters ( ) ) ; if ( object != null ) { if ( object . getStatement ( ) != null ) ret . addAll ( object . getStatement ( ) . getAllParameters ( ) ) ; else ret . addAll ( object . getTerm ( ) . getAllParameters ( ) ) ; } return r... |
public class Request { /** * Set ( or overwrite ) a parameter with multiple values .
* < br >
* The parameter will be used to create a query string for GET - requests and as the body for POST - requests
* with MIME - type < code > application / x - www - form - urlencoded < / code > .
* < br >
* If you use th... | if ( params == null ) { params = new LinkedHashMap < String , Object > ( ) ; } params . put ( name , values ) ; return this ; |
public class RtcpHandler { /** * Upon joining the session , the participant initializes tp to 0 , tc to 0 , senders to 0 , pmembers to 1 , members to 1,
* we _ sent to false , rtcp _ bw to the specified fraction of the session bandwidth , initial to true , and avg _ rtcp _ size to the
* probable size of the first R... | if ( ! this . joined . get ( ) ) { // Schedule first RTCP packet
long t = this . statistics . rtcpInterval ( this . initial . get ( ) ) ; this . tn = this . statistics . getCurrentTime ( ) + t ; scheduleRtcp ( this . tn , RtcpPacketType . RTCP_REPORT ) ; // Start SSRC timeout timer
this . ssrcTaskFuture = this . schedu... |
public class WCheckBox { /** * Override handleRequest in order to perform processing for this component . This implementation checks the checkbox
* state in the request .
* @ param request the request being responded to .
* @ return true if the check box has changed */
@ Override protected boolean doHandleRequest... | boolean selected = getRequestValue ( request ) ; boolean current = getValue ( ) ; boolean changed = current != selected ; if ( changed ) { setData ( selected ) ; } return changed ; |
public class ModifyInstanceCreditSpecificationResult { /** * Information about the instances whose credit option for CPU usage was successfully modified .
* @ return Information about the instances whose credit option for CPU usage was successfully modified . */
public java . util . List < SuccessfulInstanceCreditSpe... | if ( successfulInstanceCreditSpecifications == null ) { successfulInstanceCreditSpecifications = new com . amazonaws . internal . SdkInternalList < SuccessfulInstanceCreditSpecificationItem > ( ) ; } return successfulInstanceCreditSpecifications ; |
public class DefaultRouteService { /** * Overridden */
@ Override public int analyzeRoutes ( String client ) { } } | RouteGpsCoordinates lastRouteCoordinates = findLastRouteCoordinates ( client ) ; GpsCoordinates lastCoordinates = null ; if ( lastRouteCoordinates == null ) { LOG . info ( "No GPS coordinates assigned to routes for client {}" , client ) ; } else { lastCoordinates = mongoTemplate . findById ( lastRouteCoordinates . getC... |
public class ChunkField { /** * for synthetic fields */
public void set ( int [ ] indexes , int [ ] offsets , int [ ] lengths ) { } } | m_size = indexes . length ; m_valuesCount = offsets . length ; m_offsets = offsets ; m_lengths = lengths ; m_prefixes = new int [ offsets . length ] ; m_suffixes = new int [ offsets . length ] ; m_indexes = indexes ; |
public class CassandraPojoOutputFormat { /** * Opens a Session to Cassandra and initializes the prepared statement .
* @ param taskNumber The number of the parallel instance . */
@ Override public void open ( int taskNumber , int numTasks ) { } } | this . session = cluster . connect ( ) ; MappingManager mappingManager = new MappingManager ( session ) ; this . mapper = mappingManager . mapper ( outputClass ) ; if ( mapperOptions != null ) { Mapper . Option [ ] optionsArray = mapperOptions . getMapperOptions ( ) ; if ( optionsArray != null ) { mapper . setDefaultSa... |
public class AngleAverageSeeker { /** * Returns true if average is within given delta .
* @ param delta
* @ return */
public boolean isWithin ( double delta ) { } } | readLock . lock ( ) ; try { if ( stats . count ( ) >= stats . getInitialSize ( ) ) { return ( Navis . angleDiff ( stats . getMin ( ) , stats . getMax ( ) ) < delta ) ; } else { return false ; } } finally { readLock . unlock ( ) ; } |
public class BehaviorTreeReader { /** * line 315 " BehaviorTreeReader . rl " */
private static boolean containsFloatingPointCharacters ( String value ) { } } | for ( int i = 0 , n = value . length ( ) ; i < n ; i ++ ) { switch ( value . charAt ( i ) ) { case '.' : case 'E' : case 'e' : return true ; } } return false ; |
public class TelemetryService { /** * force to flush events in the queue */
public void flush ( ) { } } | if ( ! enabled ) { return ; } if ( ! queue . isEmpty ( ) ) { // start a new thread to upload without blocking the current thread
Runnable runUpload = new TelemetryUploader ( this , exportQueueToString ( ) ) ; uploader . execute ( runUpload ) ; } |
public class Array { public static char [ ] range ( char startInclusive , final char endExclusive ) { } } | if ( startInclusive >= endExclusive ) { return N . EMPTY_CHAR_ARRAY ; } final char [ ] a = new char [ endExclusive * 1 - startInclusive ] ; for ( int i = 0 , len = a . length ; i < len ; i ++ ) { a [ i ] = startInclusive ++ ; } return a ; |
public class BoxApiAuthentication { /** * Create OAuth , to be called the first time session tries to authenticate . */
BoxCreateAuthRequest createOAuth ( String code , String clientId , String clientSecret ) { } } | BoxCreateAuthRequest request = new BoxCreateAuthRequest ( mSession , getTokenUrl ( ) , code , clientId , clientSecret ) ; return request ; |
public class Numbers { /** * Represents the given { @ link Number } exactly as an int value without any
* magnitude and precision losses ; if that ' s not possible , fails by throwing
* an exception .
* @ param number the number to represent as an int value .
* @ return an int representation of the given number... | Class clazz = number . getClass ( ) ; if ( isLongRepresentableExceptLong ( clazz ) ) { return number . intValue ( ) ; } else if ( clazz == Long . class ) { int intValue = number . intValue ( ) ; if ( number . longValue ( ) == ( long ) intValue ) { return intValue ; } } else if ( isDoubleRepresentable ( clazz ) ) { int ... |
public class MBeanSampler { /** * Adds an { @ link info . ganglia . jmxetric . MBeanAttribute } to be sampled .
* @ param mbean
* name of the mbean
* @ param attr
* attribute to be sample
* @ throws Exception */
public void addMBeanAttribute ( String mbean , MBeanAttribute attr ) throws Exception { } } | MBeanHolder mbeanHolder = mbeanMap . get ( mbean ) ; if ( mbeanHolder == null ) { mbeanHolder = new MBeanHolder ( this , process , mbean ) ; mbeanMap . put ( mbean , mbeanHolder ) ; } mbeanHolder . addAttribute ( attr ) ; log . info ( "Added attribute " + attr + " to " + mbean ) ; |
public class TenantServiceClient { /** * Retrieves specified tenant .
* < p > Sample code :
* < pre > < code >
* try ( TenantServiceClient tenantServiceClient = TenantServiceClient . create ( ) ) {
* TenantName name = TenantName . of ( " [ PROJECT ] " , " [ TENANT ] " ) ;
* Tenant response = tenantServiceClie... | GetTenantRequest request = GetTenantRequest . newBuilder ( ) . setName ( name == null ? null : name . toString ( ) ) . build ( ) ; return getTenant ( request ) ; |
public class CassandraCounter { /** * Gets all data points of a day specified by the timestamp , cache
* supported .
* @ param timestampMs
* @ return */
@ SuppressWarnings ( "unchecked" ) private Map < Long , DataPoint > _getRowWithCache ( long timestampMs ) { } } | int [ ] yyyymm_dd = toYYYYMM_DD ( timestampMs ) ; int yyyymmdd = yyyymm_dd [ 0 ] * 100 + yyyymm_dd [ 1 ] ; ICache cache = getCache ( ) ; String cacheKey = String . valueOf ( yyyymmdd ) ; Object temp = cache != null ? cache . get ( cacheKey ) : null ; Map < Long , DataPoint > result = ( Map < Long , DataPoint > ) ( temp... |
public class ThrowableExceptionMapper { /** * Maps an unhandled { @ link Throwable } to a { @ link Response } .
* @ param exception the { @ link Throwable } exception that was not handled
* @ return a { @ link Response } object with a status of 500 , content - type of ' application / json ' , and
* a { @ link Jso... | logger . error ( "An unhandled exception was thrown." , exception ) ; return Response . status ( INTERNAL_SERVER_ERROR ) . entity ( JsonError . builder ( ) . code ( INTERNAL_SERVER_ERROR . getStatusCode ( ) ) . message ( INTERNAL_SERVER_ERROR . getReasonPhrase ( ) ) . build ( ) ) . type ( MediaType . APPLICATION_JSON )... |
public class MongoHelpers { /** * Remove a column from the Document
* @ param entity the { @ link Document } with the column
* @ param column the column to remove */
public static void resetValue ( Document entity , String column ) { } } | // fast path for non - embedded case
if ( ! column . contains ( "." ) ) { entity . remove ( column ) ; } else { String [ ] path = DOT_SEPARATOR_PATTERN . split ( column ) ; Object field = entity ; int size = path . length ; for ( int index = 0 ; index < size ; index ++ ) { String node = path [ index ] ; Document parent... |
public class Environment { /** * Adds a Bean definition
* @ param bean the bean , or { @ code null } . */
void addBean ( Bean bean ) { } } | if ( bean == null ) return ; this . beans . add ( new BeanDefinition ( bean . name ( ) , bean . clazz ( ) ) ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.