signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class CreateNetworkProfileRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( CreateNetworkProfileRequest createNetworkProfileRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( createNetworkProfileRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createNetworkProfileRequest . getProjectArn ( ) , PROJECTARN_BINDING ) ; protocolMarshaller . marshall ( createNetworkProfileRequest . getName ( ) , NAME_BIN... |
public class Trigger { /** * Perform the action if trigger condition is met */
@ Override public void run ( ) { } } | if ( isTriggerExpired ( ) ) { logger . info ( this + " expired" ) ; return ; } final boolean isTriggerConditionMet = this . triggerCondition . isMet ( ) ; if ( isTriggerConditionMet ) { logger . info ( "Condition " + this . triggerCondition . getExpression ( ) + " met" ) ; for ( final TriggerAction action : this . acti... |
public class MapComposedElement { /** * Replies the group index inside which the point is located at the specified index .
* @ param pointIndex is the global index of the point .
* @ return the index of the group .
* This value is between < code > 0 < / code > and < code > this . getGroupCount ( ) < / code >
* ... | if ( this . pointCoordinates == null || pointIndex < 0 || pointIndex >= this . pointCoordinates . length ) { throw new IndexOutOfBoundsException ( ) ; } if ( this . partIndexes == null ) { return 0 ; } for ( int i = 0 ; i < this . partIndexes . length ; ++ i ) { if ( pointIndex < this . partIndexes [ i ] ) { return i ;... |
public class HashMapImpl { /** * Put the item in the best location available in the hash table . */
private void refillEntries ( int hash ) { } } | for ( int count = _size ; count >= 0 ; count -- ) { hash = ( hash + 1 ) & _mask ; if ( _values [ hash ] == null ) return ; refillEntry ( hash ) ; } |
public class HttpServer { /** * Define a virtual host alias .
* All requests to the alias are handled the same as request for
* the virtualHost .
* @ deprecated Use HttpContext . addVirtualHost
* @ param virtualHost Host name or IP
* @ param alias Alias hostname or IP */
public void addHostAlias ( String virt... | log . warn ( "addHostAlias is deprecated. Use HttpContext.addVirtualHost" ) ; Object contextMap = _virtualHostMap . get ( virtualHost ) ; if ( contextMap == null ) throw new IllegalArgumentException ( "No Such Host: " + virtualHost ) ; _virtualHostMap . put ( alias , contextMap ) ; |
public class HttpAuthServiceBuilder { /** * Adds an OAuth2 { @ link Authorizer } . */
public HttpAuthServiceBuilder addOAuth2 ( Authorizer < ? super OAuth2Token > authorizer ) { } } | return addTokenAuthorizer ( AuthTokenExtractors . OAUTH2 , requireNonNull ( authorizer , "authorizer" ) ) ; |
public class SoyElementPass { /** * See go / soy - element - keyed - roots for reasoning on why this is disallowed . */
private void validateNoKey ( HtmlOpenTagNode firstTagNode ) { } } | for ( SoyNode child : firstTagNode . getChildren ( ) ) { if ( child instanceof KeyNode ) { errorReporter . report ( firstTagNode . getSourceLocation ( ) , ROOT_HAS_KEY_NODE ) ; } } |
public class MisoScenePanel { /** * Moves the scene such that the specified tile is in the center . */
public void centerOnTile ( int tx , int ty ) { } } | Rectangle trect = MisoUtil . getTilePolygon ( _metrics , tx , ty ) . getBounds ( ) ; int nx = trect . x + trect . width / 2 - _vbounds . width / 2 ; int ny = trect . y + trect . height / 2 - _vbounds . height / 2 ; // Log . info ( " Centering on t : " + StringUtil . coordsToString ( tx , ty ) +
// " b : " + StringUtil ... |
public class RaftServiceManager { /** * Applies an initialize entry .
* Initialize entries are used only at the beginning of a new leader ' s term to force the commitment of entries from
* prior terms , therefore no logic needs to take place . */
private CompletableFuture < Void > applyInitialize ( Indexed < Initia... | for ( RaftServiceContext service : raft . getServices ( ) ) { service . keepAliveSessions ( entry . index ( ) , entry . entry ( ) . timestamp ( ) ) ; } return CompletableFuture . completedFuture ( null ) ; |
public class ProviderRest { /** * Gets the information of an specific provider If the provider it is not in
* the database , it returns 404 with empty payload
* < pre >
* GET / providers / { uuid }
* Request :
* GET / providers HTTP / 1.1
* Response :
* { @ code
* < ? xml version = " 1.0 " encoding = " ... | logger . debug ( "StartOf getProviderByUuid - REQUEST for /providers/" + provider_uuid ) ; try { ProviderHelper providerRestService = getProviderHelper ( ) ; String serializedProvider = providerRestService . getProviderByUUID ( provider_uuid ) ; if ( serializedProvider != null ) { logger . debug ( "EndOf getProviderByU... |
public class Metrics { /** * Tracks a monotonically increasing value .
* @ param name The base metric name
* @ param tags MUST be an even number of arguments representing key / value pairs of tags .
* @ return A new or existing counter . */
public static Counter counter ( String name , String ... tags ) { } } | return globalRegistry . counter ( name , tags ) ; |
public class Tuple14 { /** * Skip 8 degrees from this tuple . */
public final Tuple6 < T9 , T10 , T11 , T12 , T13 , T14 > skip8 ( ) { } } | return new Tuple6 < > ( v9 , v10 , v11 , v12 , v13 , v14 ) ; |
public class CmsDynamicFunctionFormatWrapper { /** * Gets the parameters for this dynamic function format . < p >
* @ return the map of parameters for the dynamic function */
public Map < String , String > getParameters ( ) { } } | if ( m_format != null ) { return m_format . getParameters ( ) ; } return Collections . emptyMap ( ) ; |
public class PropertiesConfigurationProducer { /** * Satisfies injection for java . util . Properties
* @ param injectionPoint EE6 injection point
* @ return the java . util . Properties loaded from the
* configuration files ( if found ) */
@ Produces @ Configuration public Properties getProperties ( InjectionPoi... | // properties should be stored here
Properties properties = new Properties ( ) ; // locate configurations
ConfigurationWrapper configuration = this . getConfigurationWrapper ( injectionPoint ) ; List < ISource > found = this . locate ( configuration ) ; // input stream list is immutable , copy so we can reverse
// if i... |
public class AmortizedSparseVector { /** * { @ inheritDoc } */
public double magnitude ( ) { } } | double m = 0 ; for ( IndexValue v : values ) m += v . value * v . value ; return Math . sqrt ( m ) ; |
public class BpmnParse { /** * Parses the end events of a certain level in the process ( process ,
* subprocess or another scope ) .
* @ param parentElement
* The ' parent ' element that contains the end events ( process ,
* subprocess ) .
* @ param scope
* The { @ link ScopeImpl } to which the end events m... | for ( Element endEventElement : parentElement . elements ( "endEvent" ) ) { ActivityImpl activity = createActivityOnScope ( endEventElement , scope ) ; Element errorEventDefinition = endEventElement . element ( ERROR_EVENT_DEFINITION ) ; Element cancelEventDefinition = endEventElement . element ( CANCEL_EVENT_DEFINITIO... |
public class DifferentialEvolutionSelection { /** * Execute ( ) method */
@ Override public List < DoubleSolution > execute ( List < DoubleSolution > solutionSet ) { } } | if ( null == solutionSet ) { throw new JMetalException ( "Parameter is null" ) ; } else if ( ( solutionListIndex < 0 ) || ( solutionListIndex > solutionSet . size ( ) ) ) { throw new JMetalException ( "Index value invalid: " + solutionListIndex ) ; } else if ( solutionSet . size ( ) < 4 ) { throw new JMetalException ( ... |
public class SimulationJobSummary { /** * A list of simulation job robot application names .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setRobotApplicationNames ( java . util . Collection ) } or
* { @ link # withRobotApplicationNames ( java . util . Co... | if ( this . robotApplicationNames == null ) { setRobotApplicationNames ( new java . util . ArrayList < String > ( robotApplicationNames . length ) ) ; } for ( String ele : robotApplicationNames ) { this . robotApplicationNames . add ( ele ) ; } return this ; |
public class PersistentTimerTaskHandlerImpl { @ Override public Map < String , String > getExecutionProperties ( ) { } } | String taskOwner = j2eeName . getApplication ( ) + "/" + j2eeName . getModule ( ) + "/" + j2eeName . getComponent ( ) ; BeanMetaData bmd = getBeanMetaData ( ) ; HashMap < String , String > props = new HashMap < String , String > ( ) ; // Value for TaskName column that may be queried .
props . put ( ManagedTask . IDENTI... |
public class ProcessAssert { /** * Asserts the task with the provided id is pending completion .
* @ param taskId
* the task ' s id to check for . May not be < code > null < / code > */
public static final void assertTaskUncompleted ( final String taskId ) { } } | Validate . notNull ( taskId ) ; apiCallback . debug ( LogMessage . TASK_2 , taskId ) ; try { getTaskInstanceAssertable ( ) . taskIsUncompleted ( taskId ) ; } catch ( final AssertionError ae ) { apiCallback . fail ( ae , LogMessage . ERROR_TASK_2 , taskId ) ; } |
public class ViSearch { /** * Get insert status by insert trans id , and get errors page .
* @ param transId the id of the insert transaction .
* @ param errorPage page number of the error list
* @ param errorLimit per page limit number of the error list
* @ return the insert transaction */
@ Override public In... | return dataOperations . insertStatus ( transId , errorPage , errorLimit ) ; |
public class PackageManagerUtils { /** * Checks if the device has an app widget feature .
* @ param manager the package manager .
* @ return { @ code true } if the device has an app widget feature . */
@ TargetApi ( Build . VERSION_CODES . JELLY_BEAN_MR2 ) public static boolean hasAppWidgetFeature ( PackageManager ... | return manager . hasSystemFeature ( PackageManager . FEATURE_APP_WIDGETS ) ; |
public class BaseDestinationHandler { /** * Do we have a remote localisation ? */
public void setRemote ( boolean hasRemote ) { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "setRemote" , Boolean . valueOf ( hasRemote ) ) ; getLocalisationManager ( ) . setRemote ( hasRemote ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "setRemote" ) ; |
public class ValueEnforcer { /** * Check that the passed iterable contains no < code > null < / code > value . But the
* whole iterable can be < code > null < / code > or empty .
* @ param < T >
* Type to be checked and returned
* @ param aValue
* The collection to check . May be < code > null < / code > .
... | if ( isEnabled ( ) ) return noNullValue ( aValue , ( ) -> sName ) ; return aValue ; |
public class WritableAuthorizerConfiguration { /** * Adds a new role to the list of defined roles .
* @ param roleName - The name of the role being added . */
public synchronized void addRoleMapping ( final String roleName ) { } } | HashMap < String , RoleMappingImpl > newRoles = new HashMap < String , RoleMappingImpl > ( roleMappings ) ; if ( newRoles . containsKey ( roleName ) == false ) { newRoles . put ( roleName , new RoleMappingImpl ( roleName ) ) ; roleMappings = Collections . unmodifiableMap ( newRoles ) ; } |
public class Line { /** * TODO use Util # skipSpaces */
public boolean skipSpaces ( ) { } } | while ( this . pos < this . value . length ( ) && this . value . charAt ( this . pos ) == ' ' ) { this . pos ++ ; } return this . pos < this . value . length ( ) ; |
public class ListDomainsResult { /** * Information about the domains .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setDomains ( java . util . Collection ) } or { @ link # withDomains ( java . util . Collection ) } if you want to override
* the existing ... | if ( this . domains == null ) { setDomains ( new java . util . ArrayList < DomainSummary > ( domains . length ) ) ; } for ( DomainSummary ele : domains ) { this . domains . add ( ele ) ; } return this ; |
public class ExtendedJTATransactionFactory { /** * Get the singleton instance of ExtendedJTATransaction */
public static ExtendedJTATransaction getExtendedJTATransaction ( ) { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "getExtendedJTATransaction" , instance ) ; } return instance ; |
public class DescribeVolumesModificationsResult { /** * Information about the volume modifications .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setVolumesModifications ( java . util . Collection ) } or { @ link # withVolumesModifications ( java . util . ... | if ( this . volumesModifications == null ) { setVolumesModifications ( new com . amazonaws . internal . SdkInternalList < VolumeModification > ( volumesModifications . length ) ) ; } for ( VolumeModification ele : volumesModifications ) { this . volumesModifications . add ( ele ) ; } return this ; |
public class WindowsFaxClientSpiHelper { /** * This function extracts the native resources ( the fax4j . exe and fax4j . dll )
* and pushes them to the fax4j temporary directory . */
public static void extractNativeResources ( ) { } } | synchronized ( WindowsFaxClientSpiHelper . NATIVE_LOCK ) { // get target directory
File directory = IOHelper . getFax4jInternalTemporaryDirectory ( ) ; // extract resources
String [ ] names = new String [ ] { "fax4j.dll" , "fax4j.exe" } ; int amount = names . length ; String name = null ; File file = null ; InputStream... |
public class PAbstractObject { /** * Get a property as a string or throw an exception .
* @ param key the property name */
@ Override public final String getString ( final String key ) { } } | String result = optString ( key ) ; if ( result == null ) { throw new ObjectMissingException ( this , key ) ; } return result ; |
public class ClassIndex { /** * Retrieves a list of classes annotated by given annotation .
* The annotation must be annotated with { @ link IndexAnnotated } for annotated classes
* to be indexed at compile - time by { @ link org . atteo . classindex . processor . ClassIndexProcessor } .
* @ param annotation anno... | Iterable < String > entries = getAnnotatedNames ( annotation , classLoader ) ; Set < Class < ? > > classes = new HashSet < > ( ) ; findClasses ( classLoader , classes , entries ) ; return classes ; |
public class HashBasedPrimaryElection { /** * Handles a cluster membership event . */
private void handleClusterMembershipEvent ( ClusterMembershipEvent event ) { } } | if ( event . type ( ) == ClusterMembershipEvent . Type . MEMBER_ADDED || event . type ( ) == ClusterMembershipEvent . Type . MEMBER_REMOVED ) { recomputeTerm ( groupMembershipService . getMembership ( partitionId . group ( ) ) ) ; } |
public class ApiClient { /** * Download file from the given response .
* @ param response An instance of the Response object
* @ throws ApiException If fail to read file content from response and write to disk
* @ return Downloaded file */
public File downloadFileFromResponse ( Response response ) throws ApiExcep... | try { File file = prepareDownloadFile ( response ) ; BufferedSink sink = Okio . buffer ( Okio . sink ( file ) ) ; sink . writeAll ( response . body ( ) . source ( ) ) ; sink . close ( ) ; return file ; } catch ( IOException e ) { throw new ApiException ( e ) ; } |
public class DatabaseInformationFull { /** * Retrieves a < code > Table < / code > object describing all visible
* sessions . ADMIN users see * all * sessions
* while non - admin users see only their own session . < p >
* Each row is a session state description with the following columns : < p >
* < pre class =... | Table t = sysTables [ SYSTEM_SESSIONS ] ; if ( t == null ) { t = createBlankTable ( sysTableHsqlNames [ SYSTEM_SESSIONS ] ) ; addColumn ( t , "SESSION_ID" , CARDINAL_NUMBER ) ; addColumn ( t , "CONNECTED" , TIME_STAMP ) ; addColumn ( t , "USER_NAME" , SQL_IDENTIFIER ) ; addColumn ( t , "IS_ADMIN" , Type . SQL_BOOLEAN )... |
public class Ftp { /** * check if a file exists or not
* @ return FTPCLient
* @ throws IOException
* @ throws PageException */
private AFTPClient actionExistsFile ( ) throws PageException , IOException { } } | required ( "remotefile" , remotefile ) ; AFTPClient client = getClient ( ) ; FTPFile file = existsFile ( client , remotefile , true ) ; Struct cfftp = writeCfftp ( client ) ; cfftp . setEL ( RETURN_VALUE , Caster . toBoolean ( file != null && file . isFile ( ) ) ) ; cfftp . setEL ( SUCCEEDED , Boolean . TRUE ) ; stopon... |
public class Project { /** * Returns the generator set for this project . */
public IGeneratorSet getGenerators ( ) { } } | if ( generatorSet_ == null && generatorSetRef_ != null ) { try ( GeneratorSetResource resource = GeneratorSetResource . at ( urlFor ( generatorSetRef_ ) ) ) { generatorSet_ = resource . getGeneratorSet ( ) ; } catch ( Exception e ) { throw new GeneratorSetException ( String . format ( "Can't read resource at %s" , gene... |
public class PmiRegistry { /** * returns all children if recursive = true */
public static StatDescriptor [ ] listStatMembers ( StatDescriptor sd , boolean recursive ) { } } | if ( disabled ) return null ; ModuleItem module = null ; if ( sd == null ) module = moduleRoot ; // root
else module = findModuleItem ( sd . getPath ( ) ) ; if ( module == null ) return null ; else { ArrayList list = module . listChildStatDescriptors ( recursive ) ; int n = list . size ( ) ; StatDescriptor [ ] ret = ne... |
public class StructuredQueryBuilder { /** * Identifies a parent element with child latitude and longitude attributes
* to match with a geospatial query .
* @ param parent the parent of the element with the coordinates
* @ param lat the attribute with the latitude coordinate
* @ param lon the attribute with the ... | return new GeoAttributePairImpl ( parent , lat , lon ) ; |
public class LongColumn { /** * Returns a DateTimeColumn where each value is the LocalDateTime represented by the values in this column
* The values in this column must be longs that represent the time in milliseconds from the epoch as in standard
* Java date / time calculations
* @ param offset The ZoneOffset to... | DateTimeColumn column = DateTimeColumn . create ( name ( ) + ": date time" ) ; for ( int i = 0 ; i < size ( ) ; i ++ ) { column . append ( Instant . ofEpochMilli ( getLong ( i ) ) . atZone ( offset ) . toLocalDateTime ( ) ) ; } return column ; |
public class ChatBalloon { /** * 没有箭头 */
private Path gotNoneArrowPath ( int width , int height ) { } } | Path path = new Path ( ) ; RectF rectF ; int diameter ; if ( cornerSizeLeftTop > 0 ) { // 左上角圆角起点
diameter = cornerSizeLeftTop * 2 ; path . moveTo ( 0 , cornerSizeLeftTop ) ; rectF = new RectF ( 0 , 0 , diameter , diameter ) ; path . arcTo ( rectF , 180 , 90 ) ; } else { path . moveTo ( 0 , 0 ) ; } if ( cornerSizeRight... |
public class WorkflowTemplateServiceClient { /** * Instantiates a template and begins execution .
* < p > The returned Operation can be used to track execution of workflow by polling
* [ operations . get ] [ google . longrunning . Operations . GetOperation ] . The Operation will complete when
* entire workflow is... | InstantiateWorkflowTemplateRequest request = InstantiateWorkflowTemplateRequest . newBuilder ( ) . setName ( name == null ? null : name . toString ( ) ) . build ( ) ; return instantiateWorkflowTemplateAsync ( request ) ; |
public class StyleSet { /** * 定义所有单元格的边框类型
* @ param borderSize 边框粗细 { @ link BorderStyle } 枚举
* @ param colorIndex 颜色的short值
* @ return this
* @ since 4.0.0 */
public StyleSet setBorder ( BorderStyle borderSize , IndexedColors colorIndex ) { } } | StyleUtil . setBorder ( this . headCellStyle , borderSize , colorIndex ) ; StyleUtil . setBorder ( this . cellStyle , borderSize , colorIndex ) ; StyleUtil . setBorder ( this . cellStyleForNumber , borderSize , colorIndex ) ; StyleUtil . setBorder ( this . cellStyleForDate , borderSize , colorIndex ) ; return this ; |
public class Variant { /** * Generates an String representation of this Variant that can be parsed .
* @ return A parsable String representation of this Variant */
public String getParseableString ( ) { } } | // TODO expand this
switch ( this . getType ( ) ) { case VT_I1 : case VT_I2 : case VT_I4 : case VT_INT : return Integer . toString ( this . intValue ( ) ) ; case VT_I8 : return Long . toString ( this . longValue ( ) ) ; case VT_R4 : return Float . toString ( this . floatValue ( ) ) ; case VT_R8 : return Double . toStri... |
public class TimeoutStepExecutor { /** * Run a task on the scheduled executor so that we can try to interrupt it and time out if it fails */
void runWithinPeriod ( Runnable runnable , ExecuteStepMessage executeStepMessage , int timeout , TimeUnit unit ) { } } | if ( ! isRunningAStep . getAndSet ( true ) ) { this . currentlyExecutingStep = executeStepMessage ; Future < String > future = null ; try { future = scheduledExecutorService . submit ( runStepAndResetIsRunning ( runnable ) , "OK" ) ; future . get ( timeout , unit ) ; } catch ( TimeoutException e ) { // Timed out waitin... |
public class InternalXtextParser { /** * InternalXtext . g : 1045:1 : entryRuleParenthesizedElement : ruleParenthesizedElement EOF ; */
public final void entryRuleParenthesizedElement ( ) throws RecognitionException { } } | try { // InternalXtext . g : 1046:1 : ( ruleParenthesizedElement EOF )
// InternalXtext . g : 1047:1 : ruleParenthesizedElement EOF
{ before ( grammarAccess . getParenthesizedElementRule ( ) ) ; pushFollow ( FollowSets000 . FOLLOW_1 ) ; ruleParenthesizedElement ( ) ; state . _fsp -- ; after ( grammarAccess . getParenth... |
public class ClassUtils { /** * < p > searchProperty . < / p >
* @ param leftParameter a { @ link java . lang . Object } object .
* @ param name a { @ link java . lang . String } object .
* @ return a { @ link java . lang . Object } object .
* @ throws java . lang . Exception if any . */
@ SuppressWarnings ( "u... | Class < ? > leftClass = leftParameter . getClass ( ) ; Object result ; if ( leftParameter . getClass ( ) . isArray ( ) && "length" . equals ( name ) ) { result = Array . getLength ( leftParameter ) ; } else if ( leftParameter instanceof Map ) { result = ( ( Map < Object , Object > ) leftParameter ) . get ( name ) ; } e... |
public class QueryGroupTreeElement { /** * Removes a query from the group and returns the removed query , or null if
* the query was not found in this group . */
public QueryTreeElement removeQuery ( String query_id ) { } } | for ( QueryTreeElement query : queries ) { if ( query . getID ( ) . equals ( query_id ) ) { queries . remove ( query ) ; return query ; } } return null ; |
public class Hipster { /** * Instantiates a IDA * algorithm given a problem definition .
* @ param components
* search problem definition with the components of the algorithm
* @ param < A >
* type of the actions
* @ param < S >
* type of the states
* @ param < C >
* type of the cost
* @ param < N >
... | return new IDAStar < A , S , C , N > ( components . getInitialNode ( ) , components . getExpander ( ) ) ; |
public class GenericLogicDiscoverer { /** * Discover the operations that are classified by some ( i . e . , at least one ) of the types given . That is , all those
* that have some level of matching with respect to at least one entity provided in the model references .
* @ param modelReferences the classifications ... | return findServicesClassifiedBySome ( modelReferences , LogicConceptMatchType . Subsume ) ; |
public class DailyCalendar { /** * Checks the specified values for validity as a set of time values .
* @ param hourOfDay
* the hour of the time to check ( in military ( 24 - hour ) time )
* @ param minute
* the minute of the time to check
* @ param second
* the second of the time to check
* @ param milli... | if ( hourOfDay < 0 || hourOfDay > 23 ) { throw new IllegalArgumentException ( invalidHourOfDay + hourOfDay ) ; } if ( minute < 0 || minute > 59 ) { throw new IllegalArgumentException ( invalidMinute + minute ) ; } if ( second < 0 || second > 59 ) { throw new IllegalArgumentException ( invalidSecond + second ) ; } if ( ... |
public class DisassociateFleetRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( DisassociateFleetRequest disassociateFleetRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( disassociateFleetRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( disassociateFleetRequest . getFleetName ( ) , FLEETNAME_BINDING ) ; protocolMarshaller . marshall ( disassociateFleetRequest . getStackName ( ) , STACKNAME_BIND... |
public class SimpleMMcifConsumer { /** * initiate new group , either Hetatom , Nucleotide , or AminoAcid */
private Group getNewGroup ( String recordName , Character aminoCode1 , long seq_id , String groupCode3 ) { } } | Group g = ChemCompGroupFactory . getGroupFromChemCompDictionary ( groupCode3 ) ; if ( g != null && ! g . getChemComp ( ) . isEmpty ( ) ) { if ( g instanceof AminoAcidImpl ) { AminoAcidImpl aa = ( AminoAcidImpl ) g ; aa . setId ( seq_id ) ; } else if ( g instanceof NucleotideImpl ) { NucleotideImpl nuc = ( NucleotideImp... |
public class nstimeout { /** * Use this API to fetch all the nstimeout resources that are configured on netscaler . */
public static nstimeout get ( nitro_service service ) throws Exception { } } | nstimeout obj = new nstimeout ( ) ; nstimeout [ ] response = ( nstimeout [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; |
public class Session { /** * SEQUENCE current values */
void logSequences ( ) { } } | OrderedHashSet set = sessionData . sequenceUpdateSet ; if ( set == null || set . isEmpty ( ) ) { return ; } for ( int i = 0 , size = set . size ( ) ; i < size ; i ++ ) { NumberSequence sequence = ( NumberSequence ) set . get ( i ) ; database . logger . writeSequenceStatement ( this , sequence ) ; } sessionData . sequen... |
public class SignalRsInner { /** * Get the access keys of the SignalR resource .
* @ param resourceGroupName The name of the resource group that contains the resource . You can obtain this value from the Azure Resource Manager API or the portal .
* @ param resourceName The name of the SignalR resource .
* @ param... | return ServiceFuture . fromResponse ( listKeysWithServiceResponseAsync ( resourceGroupName , resourceName ) , serviceCallback ) ; |
public class ForwardingClient { /** * Get the active tunnels for a remote forwarding listener .
* @ param key
* @ return ActiveTunnel [ ]
* @ throws IOException */
public ActiveTunnel [ ] getRemoteForwardingTunnels ( String key ) throws IOException { } } | synchronized ( incomingtunnels ) { if ( incomingtunnels . containsKey ( key ) ) { Vector < ActiveTunnel > v = incomingtunnels . get ( key ) ; ActiveTunnel [ ] t = new ActiveTunnel [ v . size ( ) ] ; v . copyInto ( t ) ; return t ; } } if ( ! remoteforwardings . containsKey ( key ) ) { throw new IOException ( key + " is... |
public class ExecutionVertex { /** * Assigns the execution vertex with an { @ link AllocatedResource } .
* @ param allocatedResource
* the resources which are supposed to be allocated to this vertex */
public void setAllocatedResource ( final AllocatedResource allocatedResource ) { } } | if ( allocatedResource == null ) { throw new IllegalArgumentException ( "Argument allocatedResource must not be null" ) ; } final AllocatedResource previousResource = this . allocatedResource . getAndSet ( allocatedResource ) ; if ( previousResource != null ) { previousResource . removeVertexFromResource ( this ) ; } a... |
public class Numbers { /** * Represents the given { @ link Number } exactly as a long value without any
* magnitude and precision losses ; if that ' s not possible , fails by throwing
* an exception .
* @ param number the number to represent as a long value .
* @ return a long representation of the given number... | Class clazz = number . getClass ( ) ; if ( isLongRepresentable ( clazz ) ) { return number . longValue ( ) ; } else if ( isDoubleRepresentable ( clazz ) ) { long longValue = number . longValue ( ) ; if ( equalDoubles ( number . doubleValue ( ) , ( double ) longValue ) ) { return longValue ; } } throw new IllegalArgumen... |
public class SecStrucCalc { /** * Conditions to extend a ladder with a given beta Bridge :
* < li > The bridge and ladder are of the same type .
* < li > The smallest bridge residue is sequential to the first
* strand ladder .
* < li > The second bridge residue is either sequential ( parallel )
* or previous ... | // Only extend if they are of the same type
boolean sameType = b . type . equals ( ladder . btype ) ; if ( ! sameType ) return false ; // Only extend if residue 1 is sequential to ladder strand
boolean sequential = ( b . partner1 == ladder . to + 1 ) ; if ( ! sequential ) return false ; switch ( b . type ) { case paral... |
public class AppServiceEnvironmentsInner { /** * Get usage metrics for a multi - role pool of an App Service Environment .
* Get usage metrics for a multi - role pool of an App Service Environment .
* @ param nextPageLink The NextLink from the previous successful call to List operation .
* @ throws IllegalArgumen... | ServiceResponse < Page < UsageInner > > response = listMultiRoleUsagesNextSinglePageAsync ( nextPageLink ) . toBlocking ( ) . single ( ) ; return new PagedList < UsageInner > ( response . body ( ) ) { @ Override public Page < UsageInner > nextPage ( String nextPageLink ) { return listMultiRoleUsagesNextSinglePageAsync ... |
public class EsperListenerParser { /** * Parses out a set of configured esper statement listeners .
* @ param element
* the esper listeners element
* @ param parserContext
* the parser ' s current context
* @ return a list of configured esper statement listeners */
@ SuppressWarnings ( "unchecked" ) public Ma... | ManagedSet listeners = new ManagedSet ( ) ; NodeList childNodes = element . getChildNodes ( ) ; for ( int i = 0 ; i < childNodes . getLength ( ) ; i ++ ) { Node child = childNodes . item ( i ) ; if ( child . getNodeType ( ) == Node . ELEMENT_NODE ) { Element childElement = ( Element ) child ; String localName = child .... |
public class OkRequest { /** * Write the key and value in the entry as form data to the request body
* The pair specified will be URL - encoded and sent with the
* ' application / x - www - form - urlencoded ' content - type
* @ param entry
* @ param charset
* @ return this request */
public OkRequest < T > f... | return form ( entry . getKey ( ) , entry . getValue ( ) , charset ) ; |
public class StrUtil { /** * not deprecated because this allows vargs */
public static final String join ( CharSequence delimiter , CharSequence ... strs ) { } } | return StringUtils . join ( strs , delimiter . toString ( ) ) ; |
public class PubSubMessageItemStream { /** * < p > This method deletes the messages with no references . Previously these messages
* were deleted during ME startup in reconstitute method . This method is called from
* DeletePubSubMsgsThread context < / p >
* < p > This function gracefully exits in case if ME is s... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "deleteMsgsWithNoReferences" ) ; NonLockingCursor cursor = null ; try { if ( deleteMessageslock . tryLock ( 0 , TimeUnit . SECONDS ) ) { // trying with tryLock as incase if there is lock contention , then
// removeAllItemsWi... |
public class BeanToBean { /** * get the bean property type
* @ param clazz
* @ param propertyName
* @ param originalType
* @ return */
protected TypeReference < ? > getBeanPropertyType ( Class < ? > clazz , String propertyName , TypeReference < ? > originalType ) { } } | TypeReference < ? > propertyDestinationType = null ; if ( beanDestinationPropertyTypeProvider != null ) { propertyDestinationType = beanDestinationPropertyTypeProvider . getPropertyType ( clazz , propertyName , originalType ) ; } if ( propertyDestinationType == null ) { propertyDestinationType = originalType ; } return... |
public class FileUtilImpl { /** * This method gets the singleton instance of this { @ link FileUtilImpl } . < br >
* < b > ATTENTION : < / b > < br >
* Please prefer dependency - injection instead of using this method .
* @ return the singleton instance . */
public static FileUtil getInstance ( ) { } } | if ( instance == null ) { synchronized ( FileUtilImpl . class ) { if ( instance == null ) { FileUtilImpl util = new FileUtilImpl ( ) ; util . initialize ( ) ; instance = util ; } } } return instance ; |
public class ClassUtils { /** * Check whether the given class is loadable in the given ClassLoader .
* @ param clazz the class to check ( typically an interface )
* @ param classLoader the ClassLoader to check against
* @ return true if the given class is loadable ; otherwise false
* @ since 6.0.0 */
private st... | try { return ( clazz == classLoader . loadClass ( clazz . getName ( ) ) ) ; // Else : different class with same name found
} catch ( ClassNotFoundException ex ) { // No corresponding class found at all
return false ; } |
public class GenericTypeImpl { /** * Initializes this class . */
protected final void init ( ) { } } | Type genericComponentType = null ; Type genericKeyType = null ; if ( this . type instanceof GenericArrayType ) { GenericArrayType arrayType = ( GenericArrayType ) this . type ; genericComponentType = arrayType . getGenericComponentType ( ) ; } if ( genericComponentType == null ) { TypeVariable < ? > keyTypeVariable = n... |
public class Asset { /** * This is one - way ( not unique ) */
public static Map < String , String > getLanguageToExtension ( ) { } } | if ( languageToExtension == null ) { languageToExtension = new HashMap < String , String > ( ) ; // TODO map should be driven from properties
languageToExtension . put ( "Groovy" , ".groovy" ) ; languageToExtension . put ( "GROOVY" , ".groovy" ) ; languageToExtension . put ( "Kotlin" , ".kt" ) ; languageToExtension . p... |
public class Tools { /** * Checks if a string is a valid long
* @ param number The string to check
* @ return True if the string is a valid long else false . */
public static boolean isLong ( String number ) { } } | boolean result = false ; try { Long . parseLong ( number ) ; result = true ; } catch ( NumberFormatException e ) { } return result ; |
public class JobPullMachine { /** * 发送Job pull 请求 */
private void sendRequest ( ) throws RemotingCommandFieldCheckException { } } | int availableThreads = appContext . getRunnerPool ( ) . getAvailablePoolSize ( ) ; if ( LOGGER . isDebugEnabled ( ) ) { LOGGER . debug ( "current availableThreads:{}" , availableThreads ) ; } if ( availableThreads == 0 ) { return ; } JobPullRequest requestBody = appContext . getCommandBodyWrapper ( ) . wrapper ( new Jo... |
public class LTriFunctionBuilder { /** * One of ways of creating builder . This is possibly the least verbose way where compiler should be able to guess the generic parameters . */
@ Nonnull public static < T1 , T2 , T3 , R > LTriFunction < T1 , T2 , T3 , R > triFunctionFrom ( Consumer < LTriFunctionBuilder < T1 , T2 ,... | LTriFunctionBuilder builder = new LTriFunctionBuilder ( ) ; buildingFunction . accept ( builder ) ; return builder . build ( ) ; |
public class MapFuncSup { /** * define a function to deal with each element in the map
* @ param predicate a function takes in each element from map and returns
* true or false ( or null )
* @ param func a function takes in each element from map and returns
* ' last loop info '
* @ return return ' last loop v... | return forThose ( predicate , Style . $ ( func ) ) ; |
public class XTable { /** * Read the data into the table . */
public void readData ( FieldTable table ) throws DBException { } } | if ( this . getLookupKey ( ) instanceof String ) { try { FieldList record = table . getRecord ( ) ; String strFilePath = ( String ) this . getLookupKey ( ) ; String strFilePathName = this . getPDatabase ( ) . getFilename ( strFilePath , false ) ; File file = new File ( strFilePathName ) ; if ( file . exists ( ) ) { Xml... |
public class PathProcessor { /** * Process the points in a polygon definition
* @ param element The XML element being read
* @ param tokens The tokens representing the path
* @ return The number of points found
* @ throws ParsingException Indicates an invalid token in the path */
private static Path processPoly... | int count = 0 ; ArrayList pts = new ArrayList ( ) ; boolean moved = false ; boolean reasonToBePath = false ; Path path = null ; while ( tokens . hasMoreTokens ( ) ) { try { String nextToken = tokens . nextToken ( ) ; if ( nextToken . equals ( "L" ) ) { float x = Float . parseFloat ( tokens . nextToken ( ) ) ; float y =... |
public class JdbcDatabase { /** * Open the physical database .
* @ exception DBException On open errors . */
public boolean setupDataSourceConnection ( String strDataSource ) throws DBException { } } | if ( m_JDBCConnection != null ) return true ; if ( ( DBConstants . TRUE . equalsIgnoreCase ( this . getProperty ( DBParams . SERVLET ) ) ) || ( ( this . getDatabaseOwner ( ) != null ) && ( DBConstants . TRUE . equalsIgnoreCase ( this . getDatabaseOwner ( ) . getEnvironment ( ) . getProperty ( DBParams . SERVLET ) ) ) )... |
public class ClassPathBuilder { /** * Attempt to parse data of given resource in order to divine the real name
* of the class contained in the resource .
* @ param entry
* the resource */
private void parseClassName ( ICodeBaseEntry entry ) { } } | DataInputStream in = null ; try { InputStream resourceIn = entry . openResource ( ) ; if ( resourceIn == null ) { throw new NullPointerException ( "Got null resource" ) ; } in = new DataInputStream ( resourceIn ) ; ClassParserInterface parser = new ClassParser ( in , null , entry ) ; ClassNameAndSuperclassInfo . Builde... |
public class SSOAuthenticator { /** * Create an authentication data for ltpaToken
* @ param ssoToken
* @ return authenticationData */
private AuthenticationData createAuthenticationData ( HttpServletRequest req , HttpServletResponse res , String token , String oid ) { } } | AuthenticationData authenticationData = new WSAuthenticationData ( ) ; authenticationData . set ( AuthenticationData . HTTP_SERVLET_REQUEST , req ) ; authenticationData . set ( AuthenticationData . HTTP_SERVLET_RESPONSE , res ) ; if ( oid . equals ( LTPA_OID ) ) { authenticationData . set ( AuthenticationData . TOKEN64... |
public class HttpRequestMessageImpl { /** * @ see com . ibm . ws . genericbnf . internal . BNFHeadersImpl # filterAdd ( com . ibm . wsspi .
* genericbnf . HeaderKeys , byte [ ] ) */
@ Override protected boolean filterAdd ( HeaderKeys key , byte [ ] value ) { } } | boolean rc = super . filterAdd ( key , value ) ; if ( HttpHeaderKeys . isWasPrivateHeader ( key . getName ( ) ) ) { rc = isPrivateHeaderTrusted ( key ) ; } return rc ; |
public class TreeMap { /** * Returns the number of key - value mappings in this map , which ara available to
* the transaction .
* @ param transaction which sees the tree as this size .
* @ return the number of key - value mappings in this map .
* @ exception ObjectManagerException
* @ see com . ibm . ws . ob... | // No trace because this is used by toString ( ) , and hence by trace itself ;
long sizeFound ; // For return ;
synchronized ( this ) { sizeFound = availableSize ; // Move through the map adding in any extra available entries .
if ( transaction != null ) { Entry entry = firstEntry ( transaction ) ; while ( entry != nul... |
public class AmazonRDSClient { /** * Deletes automated backups based on the source instance ' s < code > DbiResourceId < / code > value or the restorable
* instance ' s resource ID .
* @ param deleteDBInstanceAutomatedBackupRequest
* Parameter input for the < code > DeleteDBInstanceAutomatedBackup < / code > oper... | request = beforeClientExecution ( request ) ; return executeDeleteDBInstanceAutomatedBackup ( request ) ; |
public class STIXSchema { /** * Validate XML text retrieved from URL
* @ param url
* The URL object for the XML to be validated .
* @ return boolean True If the xmlText validates against the schema
* @ throws SAXException
* If the a validation ErrorHandler has not been set , and
* validation throws a SAXExc... | String xmlText = null ; try { xmlText = IOUtils . toString ( url . openStream ( ) ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } return validate ( xmlText ) ; |
public class TileBoundingBoxUtils { /** * Get the latitude from the pixel location , bounding box , and image height
* @ param height
* height
* @ param boundingBox
* bounding box
* @ param pixel
* pixel
* @ return latitude */
public static double getLatitudeFromPixel ( long height , BoundingBox boundingB... | return getLatitudeFromPixel ( height , boundingBox , boundingBox , pixel ) ; |
public class SocketChannelListener { /** * @ see org . browsermob . proxy . jetty . http . HttpListener # isOutOfResources ( ) */
public boolean isOutOfResources ( ) { } } | boolean out = getThreads ( ) == getMaxThreads ( ) && getIdleThreads ( ) == 0 ; if ( out && ! _isOut ) { log . warn ( "OUT OF THREADS: " + this ) ; _warned = System . currentTimeMillis ( ) ; _isLow = true ; _isOut = true ; } return out ; |
public class Avicenna { /** * Adds a direct mapping between a type and an object .
* @ param clazz Class type which should be injected .
* @ param dependency Dependency reference which should be copied to injection targets . */
public static < T > void defineDependency ( Class < T > clazz , T dependency ) { } } | defineDependency ( clazz , null , dependency ) ; |
public class Nfs3 { /** * Read data from a file handle
* @ param path
* the path of the file
* @ param fileHandle
* file handle of the file
* @ param offset
* offset of the file to read
* @ param length
* the length of the data buffer
* @ param data
* the data to be returned
* @ param eof
* is a... | Nfs3ReadRequest request = new Nfs3ReadRequest ( fileHandle , offset , length , _credential ) ; NfsResponseHandler < Nfs3ReadResponse > responseHandler = new NfsResponseHandler < Nfs3ReadResponse > ( ) { /* ( non - Javadoc )
* @ see com . emc . ecs . nfsclient . rpc . RpcResponseHandler # makeNewResponse ( ) */
protec... |
public class ClientDatabase { /** * Get this property .
* @ param strProperty The key to lookup .
* @ return The return value . */
public String getProperty ( String strProperty ) { } } | String value = super . getProperty ( strProperty ) ; if ( value == null ) if ( ( BaseDatabase . STARTING_ID . equalsIgnoreCase ( strProperty ) ) || ( BaseDatabase . ENDING_ID . equalsIgnoreCase ( strProperty ) ) ) value = this . getRemoteProperty ( strProperty , true ) ; return value ; |
public class IndexMigration { /** * Checks if the given < code > index < / code > needs to be migrated .
* @ param index the index to check and migration if needed .
* @ param directoryManager the directory manager .
* @ throws IOException if an error occurs while migrating the index . */
public static void migra... | Directory indexDir = index . getDirectory ( ) ; log . debug ( "Checking {} ..." , indexDir ) ; ReadOnlyIndexReader reader = index . getReadOnlyIndexReader ( ) ; try { if ( IndexFormatVersion . getVersion ( reader ) . getVersion ( ) >= IndexFormatVersion . V3 . getVersion ( ) ) { // index was created with Jackrabbit 1.5... |
public class SibRaEndpointActivation { /** * Called to indicate that a messaging engine is stopping . Removes it from
* the set of active messaging engines and closes any open connection .
* @ param messagingEngine
* the messaging engine that is stopping
* @ param mode
* the stop mode */
public void messaging... | final String methodName = "messagingEngineStopping" ; if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . entry ( this , TRACE , methodName , new Object [ ] { messagingEngine , mode } ) ; } closeConnection ( messagingEngine ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE .... |
public class PassiveState { /** * Performs a local query . */
protected CompletableFuture < QueryResponse > queryLocal ( QueryEntry entry ) { } } | CompletableFuture < QueryResponse > future = new CompletableFuture < > ( ) ; sequenceQuery ( entry , future ) ; return future ; |
public class RtfWriter2 { /** * Adds an Element to the Document
* @ param element The element to be added
* @ return < code > false < / code >
* @ throws DocumentException */
public boolean add ( Element element ) throws DocumentException { } } | if ( pause ) { return false ; } RtfBasicElement [ ] rtfElements = rtfDoc . getMapper ( ) . mapElement ( element ) ; if ( rtfElements . length != 0 ) { for ( int i = 0 ; i < rtfElements . length ; i ++ ) { if ( rtfElements [ i ] != null ) { rtfDoc . add ( rtfElements [ i ] ) ; } } return true ; } else { return false ; } |
public class MultivaluedPersonAttributeUtils { /** * Convert the & lt ; String , Object & gt ; map to a & lt ; String , List & lt ; Object & gt ; & gt ; map by simply wrapping
* each value in a singleton ( read - only ) List
* @ param seed Map of objects
* @ return Map where each value is a List with the value in... | Validate . notNull ( seed , "seed can not be null" ) ; final Map < String , List < Object > > multiSeed = new LinkedHashMap < > ( seed . size ( ) ) ; for ( final Map . Entry < String , Object > seedEntry : seed . entrySet ( ) ) { final String seedName = seedEntry . getKey ( ) ; final Object seedValue = seedEntry . getV... |
public class MinerAdapter { /** * Gets the first position of the modification feature .
* @ param mf modification feature
* @ return first location */
public int getPositionStart ( ModificationFeature mf ) { } } | Set vals = SITE_ACC . getValueFromBean ( mf ) ; if ( ! vals . isEmpty ( ) ) { return ( ( Integer ) vals . iterator ( ) . next ( ) ) ; } vals = INTERVAL_BEGIN_ACC . getValueFromBean ( mf ) ; if ( ! vals . isEmpty ( ) ) { return ( ( Integer ) vals . iterator ( ) . next ( ) ) ; } return - 1 ; |
public class RedisMock { /** * / * IRedisKeys implementations */
@ Override public synchronized Long del ( final String ... keys ) { } } | long deleted = 0L ; String key ; for ( int idx = 0 ; idx < keys . length ; idx += 1 ) { key = keys [ idx ] ; timers . remove ( key ) ; expirations . remove ( key ) ; for ( IRedisCache cache : caches ) { if ( cache . exists ( key ) ) { cache . remove ( key ) ; keyModified ( key ) ; deleted += 1L ; break ; } } } return d... |
public class SleUtility { /** * Sorts a list of values based on a given sort field using a selection sort .
* @ param values List of values ( implements Extendable ) to sort .
* @ param sort The sort field to sort on .
* @ param ascending Sort ascending / descending .
* @ return Sorted list of values */
public ... | final SortableList < T > list = getSortableList ( values ) ; list . sortOnProperty ( sort , ascending , new SortStrategy ( ) ) ; return list ; |
public class BigDecimalMath { /** * Calculates { @ link BigDecimal } x to the power of the integer value y ( x < sup > y < / sup > ) .
* < p > The value y MUST be an integer value . < / p >
* @ param x the { @ link BigDecimal } value to take to the power
* @ param integerY the { @ link BigDecimal } < strong > int... | if ( fractionalPart ( integerY ) . signum ( ) != 0 ) { throw new IllegalArgumentException ( "Not integer value: " + integerY ) ; } if ( integerY . signum ( ) < 0 ) { return ONE . divide ( powInteger ( x , integerY . negate ( ) , mathContext ) , mathContext ) ; } MathContext mc = new MathContext ( Math . max ( mathConte... |
public class sslpolicylabel_sslpolicy_binding { /** * Use this API to fetch sslpolicylabel _ sslpolicy _ binding resources of given name . */
public static sslpolicylabel_sslpolicy_binding [ ] get ( nitro_service service , String labelname ) throws Exception { } } | sslpolicylabel_sslpolicy_binding obj = new sslpolicylabel_sslpolicy_binding ( ) ; obj . set_labelname ( labelname ) ; sslpolicylabel_sslpolicy_binding response [ ] = ( sslpolicylabel_sslpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; |
public class CryptoPrimitives { /** * Return PrivateKey from pem bytes .
* @ param pemKey pem - encoded private key
* @ return */
public PrivateKey bytesToPrivateKey ( byte [ ] pemKey ) throws CryptoException { } } | PrivateKey pk = null ; CryptoException ce = null ; try { PemReader pr = new PemReader ( new StringReader ( new String ( pemKey ) ) ) ; PemObject po = pr . readPemObject ( ) ; PEMParser pem = new PEMParser ( new StringReader ( new String ( pemKey ) ) ) ; if ( po . getType ( ) . equals ( "PRIVATE KEY" ) ) { pk = new JcaP... |
public class SQLMergeClause { /** * Execute the clause and return the generated key with the type of the given path .
* If no rows were created , null is returned , otherwise the key of the first row is returned .
* @ param < T >
* @ param path path for key
* @ return generated key */
@ SuppressWarnings ( "unch... | return executeWithKey ( ( Class < T > ) path . getType ( ) , path ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.