signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class ProtobufIOUtil { /** * Parses the { @ code messages } ( delimited ) from the { @ link InputStream }
* using the given { @ code schema } .
* @ return the list containing the messages . */
public static Vector parseListFrom ( InputStream in , Schema schema ) throws IOException { } } | final Vector list = new Vector ( ) ; byte [ ] buf = null ; int biggestLen = 0 ; LimitedInputStream lin = null ; for ( int size = in . read ( ) ; size != - 1 ; size = in . read ( ) ) { final Object message = schema . newMessage ( ) ; list . addElement ( message ) ; final int len = size < 0x80 ? size : CodedInput . readR... |
public class Types { /** * Returns type information for Java arrays of primitive type ( such as < code > byte [ ] < / code > ) . The array
* must not be null .
* @ param elementType element type of the array ( e . g . Types . BOOLEAN , Types . INT , Types . DOUBLE ) */
public static TypeInformation < ? > PRIMITIVE_... | if ( elementType == BOOLEAN ) { return PrimitiveArrayTypeInfo . BOOLEAN_PRIMITIVE_ARRAY_TYPE_INFO ; } else if ( elementType == BYTE ) { return PrimitiveArrayTypeInfo . BYTE_PRIMITIVE_ARRAY_TYPE_INFO ; } else if ( elementType == SHORT ) { return PrimitiveArrayTypeInfo . SHORT_PRIMITIVE_ARRAY_TYPE_INFO ; } else if ( elem... |
public class QueryCompileErrorLocationMarshaller { /** * Marshall the given parameter object . */
public void marshall ( QueryCompileErrorLocation queryCompileErrorLocation , ProtocolMarshaller protocolMarshaller ) { } } | if ( queryCompileErrorLocation == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( queryCompileErrorLocation . getStartCharOffset ( ) , STARTCHAROFFSET_BINDING ) ; protocolMarshaller . marshall ( queryCompileErrorLocation . getEndCharOffset (... |
public class PropertyValuesHolder { /** * Internal function ( called from ObjectAnimator ) to set up the setter and getter
* prior to running the animation . If the setter has not been manually set for this
* object , it will be derived automatically given the property name , target object , and
* types of values... | if ( mProperty != null ) { // check to make sure that mProperty is on the class of target
try { Object testValue = mProperty . get ( target ) ; for ( Keyframe kf : mKeyframeSet . mKeyframes ) { if ( ! kf . hasValue ( ) ) { kf . setValue ( mProperty . get ( target ) ) ; } } return ; } catch ( ClassCastException e ) { Lo... |
public class ColorPository { /** * Adds a fully configured color class record to the pository . This is only called by the XML
* parsing code , so pay it no mind . */
public void addClass ( ClassRecord record ) { } } | // validate the class id
if ( record . classId > 255 ) { log . warning ( "Refusing to add class; classId > 255 " + record + "." ) ; } else { _classes . put ( record . classId , record ) ; } |
public class CommerceOrderUtil { /** * Returns the commerce order where uuid = & # 63 ; and groupId = & # 63 ; or throws a { @ link NoSuchOrderException } if it could not be found .
* @ param uuid the uuid
* @ param groupId the group ID
* @ return the matching commerce order
* @ throws NoSuchOrderException if a... | return getPersistence ( ) . findByUUID_G ( uuid , groupId ) ; |
public class ThemeUtil { /** * Obtains the float value , which corresponds to a specific resource id , from a context ' s
* theme .
* @ param context
* The context , which should be used , as an instance of the class { @ link Context } . The
* context may not be null
* @ param resourceId
* The resource id o... | return getFloat ( context , - 1 , resourceId , defaultValue ) ; |
public class Response { /** * 设定返回给客户端的Cookie < br >
* Path : " / " < br >
* No Domain
* @ param name cookie名
* @ param value cookie值
* @ param maxAgeInSeconds - 1 : 关闭浏览器清除Cookie . 0 : 立即清除Cookie . n > 0 : Cookie存在的秒数 . */
public final static void addCookie ( String name , String value , int maxAgeInSeconds ... | addCookie ( name , value , maxAgeInSeconds , "/" , null ) ; |
public class SelectStatement { /** * Get alias .
* @ param name name or alias
* @ return alias */
public Optional < String > getAlias ( final String name ) { } } | if ( containStar ) { return Optional . absent ( ) ; } String rawName = SQLUtil . getExactlyValue ( name ) ; for ( SelectItem each : items ) { if ( SQLUtil . getExactlyExpression ( rawName ) . equalsIgnoreCase ( SQLUtil . getExactlyExpression ( SQLUtil . getExactlyValue ( each . getExpression ( ) ) ) ) ) { return each .... |
public class StitchingFromMotion2D { /** * Specifies size of stitch image and the location of the initial coordinate system .
* @ param widthStitch Width of the image being stitched into
* @ param heightStitch Height of the image being stitched into
* @ param worldToInit ( Option ) Used to change the location of ... | this . worldToInit = ( IT ) worldToCurr . createInstance ( ) ; if ( worldToInit != null ) this . worldToInit . set ( worldToInit ) ; this . widthStitch = widthStitch ; this . heightStitch = heightStitch ; |
public class Sendinblue { /** * Delete your campaigns .
* @ param { Object } data contains json objects as a key value pair from HashMap .
* @ options data { Integer } id : Id of campaign to be deleted [ Mandatory ] */
public String delete_campaign ( Map < String , Object > data ) { } } | String id = data . get ( "id" ) . toString ( ) ; return delete ( "campaign/" + id , EMPTY_STRING ) ; |
public class AbstractIncrementalDFADAGBuilder { /** * Returns ( and possibly creates ) the canonical state for the given signature .
* @ param sig
* the signature
* @ return the canonical state for the given signature */
protected State replaceOrRegister ( StateSignature sig ) { } } | State state = register . get ( sig ) ; if ( state != null ) { return state ; } state = new State ( sig ) ; register . put ( sig , state ) ; for ( int i = 0 ; i < sig . successors . array . length ; i ++ ) { State succ = sig . successors . array [ i ] ; if ( succ != null ) { succ . increaseIncoming ( ) ; } } return stat... |
public class DefaultNamingStrategy { public static String underscoreSeparated ( String camelCaseName ) { } } | return StringUtils . lowerCase ( Arrays . stream ( StringUtils . split ( camelCaseName , SubFacet . SEPARATOR ) ) . flatMap ( component -> Arrays . stream ( StringUtils . splitByCharacterTypeCamelCase ( component ) ) ) . collect ( Collectors . joining ( "_" ) ) ) ; |
public class AbstractExcelWriter { /** * 创建一个自定义颜色 , 仅适用于XLSX类型Excel文件 。
* 你可以使用 { @ link XSSFCellStyle # setFillForegroundColor ( XSSFColor ) }
* 来使用自定义颜色
* @ param r red
* @ param g green
* @ param b blue
* @ return 一个新的自定义颜色
* @ throws WriteExcelException 异常
* @ see # createXLSXCellStyle ( )
* @ se... | return this . createXLSXColor ( r , g , b , 255 ) ; |
public class SecurityPolicyClient { /** * Deletes a rule at the specified priority .
* < p > Sample code :
* < pre > < code >
* try ( SecurityPolicyClient securityPolicyClient = SecurityPolicyClient . create ( ) ) {
* Integer priority = 0;
* ProjectGlobalSecurityPolicyName securityPolicy = ProjectGlobalSecuri... | RemoveRuleSecurityPolicyHttpRequest request = RemoveRuleSecurityPolicyHttpRequest . newBuilder ( ) . setPriority ( priority ) . setSecurityPolicy ( securityPolicy ) . build ( ) ; return removeRuleSecurityPolicy ( request ) ; |
public class MappingIDTreeModelFilter { /** * A helper method to check a match */
public static boolean match ( String keyword , String mappingId ) { } } | if ( mappingId . indexOf ( keyword ) != - 1 ) { // match found !
return true ; } return false ; |
public class WebSiteManagementClientImpl { /** * Gets the source controls available for Azure websites .
* Gets the source controls available for Azure websites .
* @ param serviceCallback the async ServiceCallback to handle successful and failed responses .
* @ throws IllegalArgumentException thrown if parameter... | return AzureServiceFuture . fromPageResponse ( listSourceControlsSinglePageAsync ( ) , new Func1 < String , Observable < ServiceResponse < Page < SourceControlInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < SourceControlInner > > > call ( String nextPageLink ) { return listSourceControlsNext... |
public class SecurityDomainJBossASClient { /** * send a : flush - cache operation to the passed security domain
* @ param domain simple name of the domain
* @ throws Exception any error */
public void flushSecurityDomainCache ( String domain ) throws Exception { } } | Address addr = Address . root ( ) . add ( SUBSYSTEM , SUBSYSTEM_SECURITY , SECURITY_DOMAIN , domain ) ; ModelNode request = createRequest ( "flush-cache" , addr ) ; ModelNode result = execute ( request ) ; if ( ! isSuccess ( result ) ) { log . warn ( "Flushing " + domain + " failed - principals may be longer cached tha... |
public class RestHandlerExceptionResolverBuilder { /** * The default content type that will be used as a fallback when the requested content type is
* not supported . */
public RestHandlerExceptionResolverBuilder defaultContentType ( String mediaType ) { } } | defaultContentType ( hasText ( mediaType ) ? MediaType . parseMediaType ( mediaType ) : null ) ; return this ; |
public class UnionNodeImpl { /** * Projects away variables only for child construction nodes */
private IQTree projectAwayUnnecessaryVariables ( IQTree child , IQProperties currentIQProperties ) { } } | if ( child . getRootNode ( ) instanceof ConstructionNode ) { ConstructionNode constructionNode = ( ConstructionNode ) child . getRootNode ( ) ; AscendingSubstitutionNormalization normalization = normalizeAscendingSubstitution ( constructionNode . getSubstitution ( ) , projectedVariables ) ; Optional < ConstructionNode ... |
public class ASTHelpers { /** * Given a TreePath , finds the first enclosing node of the given type and returns the path from
* the enclosing node to the top - level { @ code CompilationUnitTree } . */
public static < T > TreePath findPathFromEnclosingNodeToTopLevel ( TreePath path , Class < T > klass ) { } } | if ( path != null ) { do { path = path . getParentPath ( ) ; } while ( path != null && ! ( klass . isInstance ( path . getLeaf ( ) ) ) ) ; } return path ; |
public class SubscriptionService { /** * Temporary pauses a subscription . < br >
* < br >
* < strong > NOTE < / strong > < br >
* Pausing is permitted until one day ( 24 hours ) before the next charge date .
* @ param subscription
* the subscription
* @ return the updated subscription */
public Subscriptio... | ParameterMap < String , String > params = new ParameterMap < String , String > ( ) ; params . add ( "pause" , String . valueOf ( true ) ) ; return RestfulUtils . update ( SubscriptionService . PATH , subscription , params , false , Subscription . class , super . httpClient ) ; |
public class DefaultRewriteContentHandler { /** * URL - decode value if required .
* @ param value Probably encoded value .
* @ return Decoded value */
private String decodeIfEncoded ( String value ) { } } | if ( StringUtils . contains ( value , "%" ) ) { try { return URLDecoder . decode ( value , CharEncoding . UTF_8 ) ; } catch ( UnsupportedEncodingException ex ) { throw new RuntimeException ( ex ) ; } } return value ; |
public class AnnotatedTypeBuilder { /** * Reads the annotations from an existing java type . If overwrite is true
* then existing annotations will be overwritten
* @ param type the type to read from
* @ param overwrite if true , the read annotation will replace any existing
* annotation */
public AnnotatedTypeB... | if ( type == null ) { throw log . parameterMustNotBeNull ( "type" ) ; } if ( javaClass == null || overwrite ) { this . javaClass = type ; } for ( Annotation annotation : type . getAnnotations ( ) ) { if ( overwrite || ! typeAnnotations . isAnnotationPresent ( annotation . annotationType ( ) ) ) { typeAnnotations . add ... |
public class CodedOutputStream { /** * Write part of a byte string . */
public void writeRawBytes ( final ByteString value , int offset , int length ) throws IOException { } } | if ( limit - position >= length ) { // We have room in the current buffer .
value . copyTo ( buffer , offset , position , length ) ; position += length ; } else { // Write extends past current buffer . Fill the rest of this buffer and
// flush .
final int bytesWritten = limit - position ; value . copyTo ( buffer , offs... |
public class TransformProcess { /** * Infer the categories for the given record reader for
* a particular set of columns ( this is more efficient than
* { @ link # inferCategories ( RecordReader , int ) }
* if you have more than one column you plan on inferring categories for )
* Note that each " column index "... | if ( columnIndices == null || columnIndices . length < 1 ) { return Collections . emptyMap ( ) ; } Map < Integer , List < String > > categoryMap = new HashMap < > ( ) ; Map < Integer , Set < String > > categories = new HashMap < > ( ) ; for ( int i = 0 ; i < columnIndices . length ; i ++ ) { categoryMap . put ( columnI... |
public class StaticCATXATransaction { /** * Calls commit ( ) on the SIXAResource .
* Fields :
* BIT16 XAResourceId
* The XID Structure
* BYTE OnePhase ( 0x00 = false , 0x01 = true )
* @ param request
* @ param conversation
* @ param requestNumber
* @ param allocatedFromBufferPool
* @ param partOfExcha... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "rcvXACommit" , new Object [ ] { request , conversation , "" + requestNumber , "" + allocatedFromBufferPool , "" + partOfExchange } ) ; ConversationState convState = ( ConversationState ) conversation . getAttachment ( ) ; S... |
public class Document { /** * Purges this document from the database ;
* this is more than deletion , it forgets entirely about it .
* The purge will NOT be replicated to other databases .
* @ throws CouchbaseLiteException */
@ InterfaceAudience . Public public void purge ( ) throws CouchbaseLiteException { } } | Map < String , List < String > > docsToRevs = new HashMap < String , List < String > > ( ) ; List < String > revs = new ArrayList < String > ( ) ; revs . add ( "*" ) ; docsToRevs . put ( documentId , revs ) ; database . purgeRevisions ( docsToRevs ) ; database . removeDocumentFromCache ( this ) ; |
public class HexEncoder { /** * Encodes a single octet into two nibbles .
* @ param input the input byte array
* @ param inoff the offset in the input array
* @ param output the array to which each encoded nibbles are written .
* @ param outoff the offset in the output array . */
public static void encodeSingle... | if ( input == null ) { throw new NullPointerException ( "input" ) ; } if ( inoff < 0 ) { throw new IllegalArgumentException ( "inoff(" + inoff + ") < 0" ) ; } if ( inoff >= input . length ) { throw new IllegalArgumentException ( "inoff(" + inoff + ") >= input.length(" + input . length + ")" ) ; } encodeSingle ( input [... |
public class StreamScanner { /** * Note : this is the base implementation used for implementing
* < code > ValidationContext < / code > */
@ Override public void reportValidationProblem ( XMLValidationProblem prob ) throws XMLStreamException { } } | // ! ! ! TBI : Fail - fast vs . deferred modes ?
/* For now let ' s implement basic functionality : warnings get
* reported via XMLReporter , errors and fatal errors result in
* immediate exceptions . */
/* 27 - May - 2008 , TSa : [ WSTX - 153 ] Above is incorrect : as per Stax
* javadocs for XMLReporter , both w... |
public class DescribeScheduledInstancesRequest { /** * The Scheduled Instance IDs .
* @ param scheduledInstanceIds
* The Scheduled Instance IDs . */
public void setScheduledInstanceIds ( java . util . Collection < String > scheduledInstanceIds ) { } } | if ( scheduledInstanceIds == null ) { this . scheduledInstanceIds = null ; return ; } this . scheduledInstanceIds = new com . amazonaws . internal . SdkInternalList < String > ( scheduledInstanceIds ) ; |
public class AWSCodeCommitClient { /** * Deletes a repository . If a specified repository was already deleted , a null repository ID will be returned .
* < important >
* Deleting a repository also deletes all associated objects and metadata . After a repository is deleted , all future
* push calls to the deleted ... | request = beforeClientExecution ( request ) ; return executeDeleteRepository ( request ) ; |
public class AccessPathNullnessPropagation { /** * If node represents a local , field access , or method call we can track , set it to be non - null in
* the updates */
private void setNonnullIfAnalyzeable ( Updates updates , Node node ) { } } | AccessPath ap = AccessPath . getAccessPathForNodeWithMapGet ( node , types ) ; if ( ap != null ) { updates . set ( ap , NONNULL ) ; } |
public class UsageRecordReader { /** * Make the request to the Twilio API to perform the read .
* @ param client TwilioRestClient with which to make the request
* @ return UsageRecord ResourceSet */
@ Override public ResourceSet < UsageRecord > read ( final TwilioRestClient client ) { } } | return new ResourceSet < > ( this , client , firstPage ( client ) ) ; |
public class NamespaceNotifierClient { /** * Called by the ConnectionManager when the connection state changed .
* The connection lock is hold when calling this method , so no
* other methods from the ConnectionManager should be called here .
* @ param newState the new state
* @ return when the new state is DIS... | switch ( newState ) { case ConnectionManager . CONNECTED : LOG . info ( listeningPort + ": Switched to CONNECTED state." ) ; // Try to resubscribe all the watched events
try { return resubscribe ( ) ; } catch ( Exception e ) { LOG . error ( listeningPort + ": Resubscribing failed" , e ) ; return false ; } case Connecti... |
public class ConstructorFromUnmarshaller { /** * / * @ Override */
public S unmarshal ( T object ) { } } | if ( object != null && ! targetClass . isAssignableFrom ( object . getClass ( ) ) ) { throw new IllegalArgumentException ( "Supplied object was not instance of target class" ) ; } try { return unmarshal . newInstance ( object ) ; } catch ( IllegalAccessException ex ) { throw new IllegalStateException ( "Constructor is ... |
public class Image { /** * Draw this image as part of a collection of images
* @ param x The x location to draw the image at
* @ param y The y location to draw the image at
* @ param width The width to render the image at
* @ param height The height to render the image at */
public void drawEmbedded ( float x ,... | init ( ) ; if ( corners == null ) { GL . glTexCoord2f ( textureOffsetX , textureOffsetY ) ; GL . glVertex3f ( x , y , 0 ) ; GL . glTexCoord2f ( textureOffsetX , textureOffsetY + textureHeight ) ; GL . glVertex3f ( x , y + height , 0 ) ; GL . glTexCoord2f ( textureOffsetX + textureWidth , textureOffsetY + textureHeight ... |
public class TypedInstanceToGraphMapper { /** * * * * * * PRIMITIVES * * * * * */
private void mapPrimitiveOrEnumToVertex ( ITypedInstance typedInstance , AtlasVertex instanceVertex , AttributeInfo attributeInfo ) throws AtlasException { } } | Object attrValue = typedInstance . get ( attributeInfo . name ) ; final String vertexPropertyName = GraphHelper . getQualifiedFieldName ( typedInstance , attributeInfo ) ; Object propertyValue = null ; if ( attrValue == null ) { propertyValue = null ; } else if ( attributeInfo . dataType ( ) == DataTypes . STRING_TYPE ... |
public class Standby { /** * Creates image validation thread .
* @ param imageFile
* @ throws IOException on error , or when standby quiesce was invoked */
private void createImageValidation ( File imageFile ) throws IOException { } } | synchronized ( imageValidatorLock ) { InjectionHandler . processEvent ( InjectionEvent . STANDBY_VALIDATE_CREATE ) ; if ( ! running ) { // fails the checkpoint
InjectionHandler . processEvent ( InjectionEvent . STANDBY_VALIDATE_CREATE_FAIL ) ; throw new IOException ( "Standby: standby is quiescing" ) ; } imageValidator... |
public class LatentDirichletAllocation { /** * { @ inheritDoc } */
@ Override protected void _fit ( Dataframe trainingData ) { } } | ModelParameters modelParameters = knowledgeBase . getModelParameters ( ) ; modelParameters . setD ( trainingData . xColumnSize ( ) ) ; int d = modelParameters . getD ( ) ; TrainingParameters trainingParameters = knowledgeBase . getTrainingParameters ( ) ; // get model parameters
int k = trainingParameters . getK ( ) ; ... |
public class Convolution3DUtils { /** * Get top and left padding for same mode only for 3d convolutions
* @ param outSize
* @ param inSize
* @ param kernel
* @ param strides
* @ return */
public static int [ ] get3DSameModeTopLeftPadding ( int [ ] outSize , int [ ] inSize , int [ ] kernel , int [ ] strides , ... | int [ ] eKernel = effectiveKernelSize ( kernel , dilation ) ; int [ ] outPad = new int [ 3 ] ; outPad [ 0 ] = ( ( outSize [ 0 ] - 1 ) * strides [ 0 ] + eKernel [ 0 ] - inSize [ 0 ] ) / 2 ; outPad [ 1 ] = ( ( outSize [ 1 ] - 1 ) * strides [ 1 ] + eKernel [ 1 ] - inSize [ 1 ] ) / 2 ; outPad [ 2 ] = ( ( outSize [ 2 ] - 1 ... |
public class ResourceUtil { /** * This method will find resources as a file , resources and test / resources are found on class loader paths e . g .
* file1 . csv
* @ param resourceName resource name
* @ return < code > File < / code > resource file */
public static File getResourceFile ( String resourceName ) th... | URL url = ResourceUtil . class . getClassLoader ( ) . getResource ( resourceName ) ; assert url != null : resourceName ; return new File ( url . toURI ( ) ) ; |
public class GeneratorRegistry { /** * Returns true if the generator associated to the binary resource path is
* an Image generator .
* @ param resourcePath
* the binary resource path
* @ return true if the generator associated to the binary resource path is
* an Image generator . */
public boolean isGenerate... | boolean isGeneratedImage = false ; ResourceGenerator generator = resolveResourceGenerator ( resourcePath ) ; if ( generator != null && binaryResourceGeneratorRegistry . contains ( generator ) ) { isGeneratedImage = true ; } return isGeneratedImage ; |
public class CronMapper { /** * Creates a Function that returns a On instance with zero value .
* @ param name - Cron field name
* @ return new CronField - > CronField instance , never null */
@ VisibleForTesting static Function < CronField , CronField > returnOnZeroExpression ( final CronFieldName name ) { } } | return field -> { final FieldConstraints constraints = FieldConstraintsBuilder . instance ( ) . forField ( name ) . createConstraintsInstance ( ) ; return new CronField ( name , new On ( new IntegerFieldValue ( 0 ) ) , constraints ) ; } ; |
public class ComponentLoader { /** * do not change , method is used in flex extension */
public static ComponentImpl loadComponent ( PageContext pc , Page page , String callPath , boolean isRealPath , boolean silent , boolean isExtendedComponent , boolean executeConstr ) throws PageException { } } | CIPage cip = toCIPage ( page , callPath ) ; if ( silent ) { // TODO is there a more direct way
BodyContent bc = pc . pushBody ( ) ; try { return _loadComponent ( pc , cip , callPath , isRealPath , isExtendedComponent , executeConstr ) ; } finally { BodyContentUtil . clearAndPop ( pc , bc ) ; } } return _loadComponent (... |
public class GoogleDriveFileSystem { /** * org . apache . hadoop . fs . Path assumes that there separator in file system naming and " / " is the separator .
* When org . apache . hadoop . fs . Path sees " / " in path String , it splits into parent and name . As fileID is a random
* String determined by Google and i... | if ( p . isRoot ( ) ) { return "" ; } final String format = "%s" + Path . SEPARATOR + "%s" ; if ( p . getParent ( ) != null && StringUtils . isEmpty ( p . getParent ( ) . getName ( ) ) ) { return p . getName ( ) ; } return String . format ( format , toFileId ( p . getParent ( ) ) , p . getName ( ) ) ; |
public class Middlewares { /** * Returns the default middlewares applied by Apollo to routes supplied by a { @ link RouteProvider } . */
public static Middleware < AsyncHandler < ? > , AsyncHandler < Response < ByteString > > > apolloDefaults ( ) { } } | return serialize ( new AutoSerializer ( ) ) . and ( Middlewares :: httpPayloadSemantics ) ; |
public class CPOptionValuePersistenceImpl { /** * Returns the last cp option value in the ordered set where uuid = & # 63 ; and companyId = & # 63 ; .
* @ param uuid the uuid
* @ param companyId the company ID
* @ param orderByComparator the comparator to order the set by ( optionally < code > null < / code > )
... | CPOptionValue cpOptionValue = fetchByUuid_C_Last ( uuid , companyId , orderByComparator ) ; if ( cpOptionValue != null ) { return cpOptionValue ; } StringBundler msg = new StringBundler ( 6 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "uuid=" ) ; msg . append ( uuid ) ; msg . append ( ", companyId=" )... |
public class AbstractNativeElementContext { /** * visible for testing */
protected static List < AndroidElement > searchViews ( AbstractNativeElementContext context , View root , Predicate predicate , boolean findJustOne ) { } } | List < AndroidElement > elements = new ArrayList < AndroidElement > ( ) ; if ( root == null ) { return elements ; } ArrayDeque < View > queue = new ArrayDeque < View > ( ) ; queue . add ( root ) ; while ( ! queue . isEmpty ( ) ) { View view = queue . pop ( ) ; if ( predicate . apply ( view ) ) { elements . add ( contex... |
public class QueryParserKraken { /** * Parses the create . */
private QueryBuilderKraken parseCreate ( ) { } } | Token token ; // TableBuilderKraken factory = null ; / / = _ database . createTableFactory ( ) ;
if ( ( token = scanToken ( ) ) != Token . TABLE ) throw error ( "expected TABLE at '{0}'" , token ) ; if ( ( token = scanToken ( ) ) != Token . IDENTIFIER ) throw error ( "expected identifier at '{0}'" , token ) ; String na... |
public class ThreadPoolController { /** * Evaluates a ThroughputDistribution for possible removal from the historical dataset .
* @ param priorStats - ThroughputDistribution under evaluation
* @ param forecast - expected throughput at the current poolSize
* @ return - true if priorStats should be removed */
priva... | boolean prune = false ; // if forecast tput is much greater or much smaller than priorStats , we suspect
// priorStats is no longer relevant , so prune it
double tputRatio = forecast / priorStats . getMovingAverage ( ) ; if ( tputRatio > tputRatioPruneLevel || tputRatio < ( 1 / tputRatioPruneLevel ) ) { prune = true ; ... |
public class Project { /** * TODO : we should have a central place for enum types */
public Set < EnumType > getEnumTypes ( ) { } } | Set < EnumType > ret = Sets . newTreeSet ( ) ; for ( Entity entity : getEntities ( ) . getList ( ) ) { for ( Attribute attribute : entity . getAttributes ( ) . getList ( ) ) { if ( attribute . isEnum ( ) ) { ret . add ( attribute . getEnumType ( ) ) ; } } } return ret ; |
public class ResourceCollection { /** * Add a resource created within the analyzed method .
* @ param location
* the location
* @ param resource
* the resource created at that location */
public void addCreatedResource ( Location location , Resource resource ) { } } | resourceList . add ( resource ) ; locationToResourceMap . put ( location , resource ) ; |
public class Api { /** * Update access mode of one or more resources by prefix
* @ param accessMode The new access mode , " public " or " authenticated "
* @ param prefix The prefix by which to filter applicable resources
* @ param options additional options
* < ul >
* < li > resource _ type - ( default " ima... | return updateResourcesAccessMode ( accessMode , "prefix" , prefix , options ) ; |
public class UpdateAccountSettingsRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( UpdateAccountSettingsRequest updateAccountSettingsRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( updateAccountSettingsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateAccountSettingsRequest . getAccountId ( ) , ACCOUNTID_BINDING ) ; protocolMarshaller . marshall ( updateAccountSettingsRequest . getAccountSettings ( ... |
public class PoiWorkSheet { /** * Create cell cell .
* @ param obj the obj
* @ return the cell */
public Cell createCell ( Object obj ) { } } | Cell cell = this . getNextCell ( CellType . STRING ) ; cell . setCellValue ( String . valueOf ( obj ) ) ; cell . setCellStyle ( this . style . getStringCs ( ) ) ; return cell ; |
public class DifferenceCalculator { /** * This Java function computes the difference between the sum of the cubes of the first ' num ' natural numbers and the sum of these numbers .
* @ param num A natural number .
* @ return An integer that represents the difference .
* Examples :
* compute _ difference ( 3 ) ... | int sumNumbers = ( num * ( num + 1 ) ) / 2 ; int result = ( sumNumbers * ( sumNumbers - 1 ) ) ; return result ; |
public class CmsLinkManager { /** * Returns a link < i > from < / i > the URI stored in the provided OpenCms user context
* < i > to < / i > the given < code > link < / code > , for use on web pages . < p >
* A number of tests are performed with the < code > link < / code > in order to find out how to create the li... | return substituteLinkForUnknownTarget ( cms , link , false ) ; |
public class CSSModuleBuilder { /** * Replace < code > url ( & lt ; < i > relative - path < / i > & gt ; ) < / code > references in the
* input CSS with
* < code > url ( data : & lt ; < i > mime - type < / i > & gt ; ; & lt ; < i > base64 - encoded - data < / i > & gt ; < / code >
* ) . The conversion is controll... | if ( imageSizeThreshold == 0 && inlinedImageIncludeList . size ( ) == 0 ) { // nothing to do
return css ; } // In - lining of imports can be disabled by request parameter for debugging
if ( ! TypeUtil . asBoolean ( req . getParameter ( INLINEIMAGES_REQPARAM_NAME ) , true ) ) { return css ; } StringBuffer buf = new Stri... |
public class LayerCacheImpl { /** * / * ( non - Javadoc )
* @ see com . ibm . jaggr . service . layer . ILayerCache # dump ( java . io . Writer , java . util . regex . Pattern ) */
@ Override public void dump ( Writer writer , Pattern filter ) throws IOException { } } | String linesep = System . getProperty ( "line.separator" ) ; // $ NON - NLS - 1 $
for ( Map . Entry < String , ILayer > entry : cacheMap . entrySet ( ) ) { if ( filter != null ) { Matcher m = filter . matcher ( entry . getKey ( ) ) ; if ( ! m . find ( ) ) continue ; } writer . append ( "ILayer key: " ) . append ( entry... |
public class ElementImpl { /** * { @ inheritDoc } */
public Attr getAttributeNode ( String name ) { } } | return ( attributes == null ) ? null : ( Attr ) ( attributes . getNamedItem ( name ) ) ; |
public class NewChunk { /** * Slow - path append string */
private void append2slowstr ( ) { } } | // In case of all NAs and then a string , convert NAs to string NAs
if ( _xs != null ) { _xs = null ; _ms = null ; alloc_str_indices ( _sparseLen ) ; Arrays . fill ( _is , - 1 ) ; } if ( _is != null && _is . length > 0 ) { // Check for sparseness
if ( _id == null ) { int nzs = 0 ; // assume one non - null for the eleme... |
public class StatefulKnowledgeSessionImpl { /** * This class is not thread safe , changes to the working memory during
* iteration may give unexpected results */
public Iterator iterateObjects ( org . kie . api . runtime . ObjectFilter filter ) { } } | return getObjectStore ( ) . iterateObjects ( filter ) ; |
public class NativeSystemCall { /** * Execute a native system command as if it were run from the given path .
* @ param command the system command to execute
* @ param parms the command parameters
* @ param out a print writer to which command output will be streamed
* @ param path the path from which to execute... | Assert . notNull ( command , "Command must not be null." ) ; Assert . notNull ( path , "Directory path must not be null." ) ; Assert . notNull ( out , "OutputStream must not be null." ) ; try { String [ ] commandTokens = parms == null ? new String [ 1 ] : new String [ parms . length + 1 ] ; commandTokens [ 0 ] = comman... |
public class ModelsImpl { /** * Update an entity role for a given entity .
* @ param appId The application ID .
* @ param versionId The version ID .
* @ param cEntityId The composite entity extractor ID .
* @ param roleId The entity role ID .
* @ param updateCompositeEntityRoleOptionalParameter the object rep... | return ServiceFuture . fromResponse ( updateCompositeEntityRoleWithServiceResponseAsync ( appId , versionId , cEntityId , roleId , updateCompositeEntityRoleOptionalParameter ) , serviceCallback ) ; |
public class BusinessProcess { /** * Associate with the provided execution . This starts a unit of work .
* @ param executionId
* the id of the execution to associate with .
* @ throw ProcessEngineCdiException
* if no such execution exists */
public void associateExecutionById ( String executionId ) { } } | Execution execution = processEngine . getRuntimeService ( ) . createExecutionQuery ( ) . executionId ( executionId ) . singleResult ( ) ; if ( execution == null ) { throw new ProcessEngineCdiException ( "Cannot associate execution by id: no execution with id '" + executionId + "' found." ) ; } associationManager . setE... |
public class GroupBy { /** * Create a new aggregating min expression
* @ param expression expression for which the minimum value will be used in the group by projection
* @ return wrapper expression */
public static < E extends Comparable < ? super E > > AbstractGroupExpression < E , E > min ( Expression < E > expr... | return new GMin < E > ( expression ) ; |
public class XMLUtils { /** * Removes leading XML declaration from xml if present .
* @ param xml
* @ return */
public static String omitXmlDeclaration ( String xml ) { } } | if ( xml . startsWith ( "<?xml" ) && xml . contains ( "?>" ) ) { return xml . substring ( xml . indexOf ( "?>" ) + 2 ) . trim ( ) ; } return xml ; |
public class AbstractQuotaPersister { /** * { @ inheritDoc } */
public boolean isNodeQuotaOrGroupOfNodesQuotaAsync ( String repositoryName , String workspaceName , String nodePath ) throws UnknownQuotaLimitException { } } | try { return isNodeQuotaAsync ( repositoryName , workspaceName , nodePath ) ; } catch ( UnknownQuotaLimitException e ) { String patternPath = getAcceptableGroupOfNodesQuota ( repositoryName , workspaceName , nodePath ) ; if ( patternPath != null ) { return isGroupOfNodesQuotaAsync ( repositoryName , workspaceName , pat... |
public class ResourceServerEntity { /** * Creates request for delete resource server by it ' s ID
* See < a href = https : / / auth0 . com / docs / api / management / v2 # ! / Resource _ Servers / delete _ resource _ servers _ by _ id > API documentation < / a >
* @ param resourceServerId { @ link ResourceServer # ... | Asserts . assertNotNull ( resourceServerId , "Resource server ID" ) ; HttpUrl . Builder builder = baseUrl . newBuilder ( ) . addPathSegments ( "api/v2/resource-servers" ) . addPathSegment ( resourceServerId ) ; String url = builder . build ( ) . toString ( ) ; VoidRequest request = new VoidRequest ( client , url , "DEL... |
public class Boot { /** * Add a JVM shutdown hook . */
public Boot addShutdownHook ( ) { } } | Runtime . getRuntime ( ) . addShutdownHook ( new Thread ( ) { @ Override public void run ( ) { Boot . this . stop ( ) ; } } ) ; return this ; |
public class BDXImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public Object eGet ( int featureID , boolean resolve , boolean coreType ) { } } | switch ( featureID ) { case AfplibPackage . BDX__DMX_NAME : return getDMXName ( ) ; } return super . eGet ( featureID , resolve , coreType ) ; |
public class QueryTreeNode { /** * Evaluate the query directly on a byte buffer rather than on materialized objects .
* @ param pos position in byte buffer
* @ param dds DataDeSerializer
* @ return Whether the object is a match . */
public boolean evaluate ( DataDeSerializerNoClass dds , long pos ) { } } | boolean first = ( n1 != null ? n1 . evaluate ( dds , pos ) : t1 . evaluate ( dds , pos ) ) ; // do we have a second part ?
if ( op == null ) { return first ; } if ( ! first && op == LOG_OP . AND ) { return false ; } if ( first && op == LOG_OP . OR ) { return true ; } return ( n2 != null ? n2 . evaluate ( dds , pos ) : ... |
public class SDMath { /** * Index of the min absolute value : argmin ( abs ( in ) )
* @ see SameDiff # argmin ( String , SDVariable , boolean , int . . . ) */
public SDVariable iamin ( String name , SDVariable in , int ... dimensions ) { } } | return iamin ( name , in , false , dimensions ) ; |
public class ClassFileMetaData { /** * Checks if the constant pool contains the provided int constant , which implies the constant is used somewhere in the code .
* NB : compile - time constant expressions are evaluated at compile time . */
public boolean containsInteger ( int value ) { } } | for ( int i = 1 ; i < maxPoolSize ; i ++ ) { if ( types [ i ] == INTEGER && readInteger ( i ) == value ) return true ; } return false ; |
public class Vector4f { /** * Read this vector from the supplied { @ link ByteBuffer } starting at the specified
* absolute buffer position / index .
* This method will not increment the position of the given ByteBuffer .
* @ param index
* the absolute position into the ByteBuffer
* @ param buffer
* values ... | MemUtil . INSTANCE . get ( this , index , buffer ) ; return this ; |
public class CmsAccountInfo { /** * Returns the account info value for the given user . < p >
* @ param user the user
* @ return the value */
public String getValue ( CmsUser user ) { } } | String value = null ; if ( isAdditionalInfo ( ) ) { value = ( String ) user . getAdditionalInfo ( getAddInfoKey ( ) ) ; } else { try { PropertyUtilsBean propUtils = new PropertyUtilsBean ( ) ; value = ( String ) propUtils . getProperty ( user , getField ( ) . name ( ) ) ; } catch ( IllegalAccessException | InvocationTa... |
public class FeatureCallAsTypeLiteralHelper { /** * / * @ Nullable */
public List < String > getTypeNameSegmentsFromConcreteSyntax ( XMemberFeatureCall featureCall ) { } } | List < INode > nodes = NodeModelUtils . findNodesForFeature ( featureCall , XbasePackage . Literals . XMEMBER_FEATURE_CALL__MEMBER_CALL_TARGET ) ; List < String > prefix = getTypeNameSegmentsFromConcreteSyntax ( nodes , featureCall . isExplicitStatic ( ) ) ; return prefix ; |
public class MediaApi { /** * Create the interaction in UCS database
* Create the interaction in UCS database
* @ param mediatype media - type of interaction ( required )
* @ param id id of the interaction ( required )
* @ param addContentData ( optional )
* @ return ApiResponse & lt ; ApiSuccessResponse & gt... | com . squareup . okhttp . Call call = addContentValidateBeforeCall ( mediatype , id , addContentData , null , null ) ; Type localVarReturnType = new TypeToken < ApiSuccessResponse > ( ) { } . getType ( ) ; return apiClient . execute ( call , localVarReturnType ) ; |
public class dnsaction64 { /** * Use this API to unset the properties of dnsaction64 resources .
* Properties that need to be unset are specified in args array . */
public static base_responses unset ( nitro_service client , dnsaction64 resources [ ] , String [ ] args ) throws Exception { } } | base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnsaction64 unsetresources [ ] = new dnsaction64 [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { unsetresources [ i ] = new dnsaction64 ( ) ; unsetresources [ i ] . actionname = resources [ i ] . actionname ... |
public class SchemaTool { /** * Prepare the Table descriptor for the given entity Schema */
private HTableDescriptor prepareTableDescriptor ( String tableName , String entitySchemaString ) { } } | HTableDescriptor descriptor = new HTableDescriptor ( Bytes . toBytes ( tableName ) ) ; AvroEntitySchema entitySchema = parser . parseEntitySchema ( entitySchemaString ) ; Set < String > familiesToAdd = entitySchema . getColumnMappingDescriptor ( ) . getRequiredColumnFamilies ( ) ; familiesToAdd . add ( new String ( Con... |
public class ExampleOneClientModule { /** * Overriding the default BeadledomClientConfiguration */
@ Provides @ ResourceOneFeature BeadledomClientConfiguration provideClientConfig ( ) { } } | return BeadledomClientConfiguration . builder ( ) . maxPooledPerRouteSize ( 60 ) . socketTimeoutMillis ( 60 ) . connectionTimeoutMillis ( 60 ) . ttlMillis ( 60 ) . connectionPoolSize ( 60 ) . build ( ) ; |
public class LBiObjIntFunctionBuilder { /** * One of ways of creating builder . This might be the only way ( considering all _ functional _ builders ) that might be utilize to specify generic params only once . */
@ Nonnull public static < T1 , T2 , R > LBiObjIntFunctionBuilder < T1 , T2 , R > biObjIntFunction ( Consum... | return new LBiObjIntFunctionBuilder ( consumer ) ; |
public class ObjectFactory { /** * Create an instance of { @ link JAXBElement } { @ code < } { @ link Object } { @ code > }
* @ param value
* Java instance representing xml element ' s value .
* @ return
* the new instance of { @ link JAXBElement } { @ code < } { @ link Object } { @ code > } */
@ XmlElementDecl... | return new JAXBElement < Object > ( __GenericApplicationPropertyOfSite_QNAME , Object . class , null , value ) ; |
public class AponReader { /** * Converts to a Parameters object from a character - input stream .
* @ param reader the character - input stream
* @ return the Parameters object
* @ throws AponParseException if reading APON format document fails */
public static Parameters parse ( Reader reader ) throws AponParseE... | if ( reader == null ) { throw new IllegalArgumentException ( "reader must not be null" ) ; } AponReader aponReader = new AponReader ( reader ) ; return aponReader . read ( ) ; |
public class Util { /** * Sets a blob parameter for the prepared statement .
* @ param ps
* @ param i
* @ param o
* @ param cls
* @ throws SQLException */
private static void setBlob ( PreparedStatement ps , int i , Object o , Class < ? > cls ) throws SQLException { } } | final InputStream is ; if ( o instanceof byte [ ] ) { is = new ByteArrayInputStream ( ( byte [ ] ) o ) ; |
public class NumberUtil { /** * 提供 ( 相对 ) 精确的除法运算 , 当发生除不尽的情况的时候 , 精确到小数点后10位 , 后面的四舍五入
* @ param v1 被除数
* @ param v2 除数
* @ return 两个参数的商 */
public static BigDecimal div ( String v1 , String v2 ) { } } | return div ( v1 , v2 , DEFAUT_DIV_SCALE ) ; |
public class NBTMapper { /** * Takes in an NBT tag , sanely checks null status , and then returns it value . This method will return null if the value cannot be cast to the given class .
* @ param t Tag to get the value from
* @ param clazz the return type to use
* @ return the value as an onbject of the same typ... | Object o = toTagValue ( t ) ; if ( o == null ) { return null ; } try { return clazz . cast ( o ) ; } catch ( ClassCastException e ) { return null ; } |
public class SequenceTools { /** * Cyclically permute the characters in { @ code string } < em > forward < / em > by { @ code n } elements .
* @ param string The string to permute
* @ param n The number of characters to permute by ; can be positive or negative ; values greater than the length of the array are accep... | // single letters are char [ ] ; full names are Character [ ]
Character [ ] permuted = new Character [ string . length ( ) ] ; char [ ] c = string . toCharArray ( ) ; Character [ ] charArray = new Character [ c . length ] ; for ( int i = 0 ; i < c . length ; i ++ ) { charArray [ i ] = c [ i ] ; } permuteCyclic ( charAr... |
public class A_CmsListTab { /** * Generates a button to create new external link resources . < p >
* @ param parentPath the parent folder site path
* @ return the button widget */
protected CmsPushButton createNewExternalLinkButton ( final String parentPath ) { } } | final CmsResourceTypeBean typeInfo = getTabHandler ( ) . getTypeInfo ( CmsEditExternalLinkDialog . POINTER_RESOURCE_TYPE_NAME ) ; CmsPushButton createNewButton = null ; if ( typeInfo != null ) { createNewButton = new CmsPushButton ( I_CmsButton . ADD_SMALL ) ; createNewButton . setTitle ( org . opencms . gwt . client .... |
public class HttpPostEmitter { /** * Called from { @ link Batch } only once for each Batch in existence . */
void onSealExclusive ( Batch batch , long elapsedTimeMillis ) { } } | try { doOnSealExclusive ( batch , elapsedTimeMillis ) ; } catch ( Throwable t ) { try { if ( ! concurrentBatch . compareAndSet ( batch , batch . batchNumber ) ) { log . error ( "Unexpected failure to set currentBatch to the failed Batch.batchNumber" ) ; } log . error ( t , "Serious error during onSealExclusive(), set c... |
public class WSJobRepositoryImpl { /** * { @ inheritDoc } */
@ Override public List < WSJobInstance > getJobInstances ( IJPAQueryHelper queryHelper , int page , int pageSize ) throws NoSuchJobExecutionException , JobSecurityException { } } | if ( authService == null || authService . isAdmin ( ) || authService . isMonitor ( ) ) { return new ArrayList < WSJobInstance > ( persistenceManagerService . getJobInstances ( queryHelper , page , pageSize ) ) ; } else if ( authService . isGroupAdmin ( ) || authService . isGroupMonitor ( ) ) { queryHelper . setGroups (... |
public class ServerOperations { /** * Creates an address from the consecutive pairs . If there is an odd number of arguments the last argument will be
* a wildcard ( { @ code * } ) .
* @ param pairs the name / value pairs to create the address for
* @ return the address for the arguments */
public static ModelNod... | final ModelNode address = new ModelNode ( ) . setEmptyList ( ) ; final int len = pairs . length ; for ( int i = 0 ; i < len ; i ++ ) { final String key = pairs [ i ] ; final String name = ( ++ i < len ) ? pairs [ i ] : "*" ; address . add ( key , name ) ; } return address ; |
public class DatabasesInner { /** * Exports a database .
* @ 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 serverName The name of the server .
* @ param databaseName The name of the databa... | return ServiceFuture . fromResponse ( beginExportWithServiceResponseAsync ( resourceGroupName , serverName , databaseName , parameters ) , serviceCallback ) ; |
public class ResourceLoader { /** * Get the contents of a URL as a String
* @ param requestingClass the java . lang . Class object of the class that is attempting to load the
* resource
* @ param resource a String describing the full or partial URL of the resource whose contents to
* load
* @ return the actua... | String line = null ; BufferedReader in = null ; StringBuffer sbText = null ; try { in = new BufferedReader ( new InputStreamReader ( getResourceAsStream ( requestingClass , resource ) , UTF_8 ) ) ; sbText = new StringBuffer ( 1024 ) ; while ( ( line = in . readLine ( ) ) != null ) sbText . append ( line ) . append ( "\... |
public class Main { /** * input from command line
* @ return Definition definition from input
* @ throws IOException ioException */
private static Definition inputFromCommandLine ( ) throws IOException { } } | BufferedReader in = new BufferedReader ( new InputStreamReader ( System . in ) ) ; Definition def = new Definition ( ) ; Set < String > classes = new HashSet < String > ( ) ; // profile version
String version ; do { System . out . print ( rb . getString ( "profile.version" ) + " " + rb . getString ( "profile.version.va... |
public class DisableDirectoryRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( DisableDirectoryRequest disableDirectoryRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( disableDirectoryRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( disableDirectoryRequest . getDirectoryArn ( ) , DIRECTORYARN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to ... |
public class ExceptionUtils { /** * < p > stackTrace . < / p >
* @ param t a { @ link java . lang . Throwable } object .
* @ param separator a { @ link java . lang . String } object .
* @ param depth a int .
* @ return a { @ link java . lang . String } object . */
public static String stackTrace ( Throwable t ,... | if ( GreenPepper . isDebugEnabled ( ) ) depth = FULL ; StringWriter sw = new StringWriter ( ) ; sw . append ( t . toString ( ) ) ; for ( int i = 0 ; i < t . getStackTrace ( ) . length && i <= depth ; i ++ ) { StackTraceElement element = t . getStackTrace ( ) [ i ] ; sw . append ( separator ) . append ( element . toStri... |
public class GeometricDoubleBondEncoderFactory { /** * Create a stereo encoder for all potential 2D and 3D double bond stereo
* configurations .
* @ param container an atom container
* @ param graph adjacency list representation of the container
* @ return a new encoder for tetrahedral elements */
@ Override pu... | List < StereoEncoder > encoders = new ArrayList < StereoEncoder > ( 5 ) ; for ( IBond bond : container . bonds ( ) ) { // if double bond and not E or Z query bond
if ( DOUBLE . equals ( bond . getOrder ( ) ) && ! E_OR_Z . equals ( bond . getStereo ( ) ) ) { IAtom left = bond . getBegin ( ) ; IAtom right = bond . getEnd... |
public class CmsEditableGroup { /** * Sets the error message . < p >
* @ param errorMessage the error message */
public void setErrorMessage ( String errorMessage ) { } } | m_errorMessage = errorMessage ; m_errorLabel . setValue ( errorMessage != null ? errorMessage : "" ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.