signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class RemoteMessageReceiver { /** * Update this filter with this new information . * Override this to do something if there is a remote version of this filter . * @ param messageFilter The message filter I am updating . * @ param properties New filter information ( ie , bookmark = 345 ) . */ public void se...
super . setNewFilterProperties ( messageFilter , mxProperties , propFilter ) ; // Does nothing . try { if ( messageFilter . isUpdateRemoteFilter ( ) ) // Almost always true if ( messageFilter . getRemoteFilterID ( ) != null ) // If the remote filter exists m_receiveQueue . updateRemoteFilterProperties ( messageFilter ,...
public class AppsImpl { /** * Updates the name or description of the application . * @ param appId The application ID . * @ param applicationUpdateObject A model containing Name and Description of the application . * @ throws IllegalArgumentException thrown if parameters fail the validation * @ throws ErrorResp...
return updateWithServiceResponseAsync ( appId , applicationUpdateObject ) . toBlocking ( ) . single ( ) . body ( ) ;
public class JavaLexer { /** * $ ANTLR start " T _ _ 90" */ public final void mT__90 ( ) throws RecognitionException { } }
try { int _type = T__90 ; int _channel = DEFAULT_TOKEN_CHANNEL ; // src / main / resources / org / drools / compiler / semantics / java / parser / Java . g : 71:7 : ( ' insert ' ) // src / main / resources / org / drools / compiler / semantics / java / parser / Java . g : 71:9 : ' insert ' { match ( "insert" ) ; } stat...
public class BackwardTypeQualifierDataflowFactoryFactory { /** * ( non - Javadoc ) * @ see * edu . umd . cs . findbugs . classfile . IAnalysisEngine # analyze ( edu . umd . cs . findbugs * . classfile . IAnalysisCache , java . lang . Object ) */ @ Override public BackwardTypeQualifierDataflowFactory analyze ( IAn...
return new BackwardTypeQualifierDataflowFactory ( descriptor ) ;
public class SimpleEncrypt { /** * 混合加密 * @ param string { @ link String } * @ param key { @ link Integer } * @ return { @ link String } */ public static String mix ( String string , int key ) { } }
return ascii ( JavaEncrypt . base64 ( xor ( string , key ) ) , key ) ;
public class nsrpcnode { /** * Use this API to fetch nsrpcnode resource of given name . */ public static nsrpcnode get ( nitro_service service , String ipaddress ) throws Exception { } }
nsrpcnode obj = new nsrpcnode ( ) ; obj . set_ipaddress ( ipaddress ) ; nsrpcnode response = ( nsrpcnode ) obj . get_resource ( service ) ; return response ;
public class Es6RewriteBlockScopedDeclaration { /** * Whether n is inside a loop . If n is inside a function which is inside a loop , we do not * consider it to be inside a loop . */ private boolean inLoop ( Node n ) { } }
Node enclosingNode = NodeUtil . getEnclosingNode ( n , isLoopOrFunction ) ; return enclosingNode != null && ! enclosingNode . isFunction ( ) ;
public class GenerateBuildInfoMojo { /** * Important : parameter type must match member type ! */ public void setSelectedSystemProperties ( final Set < String > aCollection ) { } }
selectedSystemProperties = new HashSet < > ( ) ; if ( aCollection != null ) { for ( final String sName : aCollection ) if ( StringHelper . hasText ( sName ) ) if ( ! selectedSystemProperties . add ( sName ) ) getLog ( ) . warn ( "The selected system property '" + sName + "' is contained more than once" ) ; } if ( ! sel...
public class LaunchConfigurationConfigurator { /** * Change the main java class within the given configuration . * @ param wc the configuration to change . * @ param name the qualified name of the main Java class . * @ since 0.7 */ protected static void setMainJavaClass ( ILaunchConfigurationWorkingCopy wc , Stri...
wc . setAttribute ( IJavaLaunchConfigurationConstants . ATTR_MAIN_TYPE_NAME , name ) ;
public class ByteArrayISO8859Writer { private void writeEncoded ( char [ ] ca , int offset , int length ) throws IOException { } }
if ( _bout == null ) { _bout = new ByteArrayOutputStream2 ( 2 * length ) ; _writer = new OutputStreamWriter ( _bout , StringUtil . __ISO_8859_1 ) ; } else _bout . reset ( ) ; _writer . write ( ca , offset , length ) ; _writer . flush ( ) ; ensureSpareCapacity ( _bout . getCount ( ) ) ; System . arraycopy ( _bout . getB...
public class AdductFormula { /** * Returns a List for looping over all isotopes in this adduct formula . * @ return A List with the isotopes in this adduct formula */ private List < IIsotope > isotopesList ( ) { } }
List < IIsotope > isotopes = new ArrayList < IIsotope > ( ) ; Iterator < IMolecularFormula > componentIterator = components . iterator ( ) ; while ( componentIterator . hasNext ( ) ) { Iterator < IIsotope > compIsotopes = componentIterator . next ( ) . isotopes ( ) . iterator ( ) ; while ( compIsotopes . hasNext ( ) ) ...
public class Builder { /** * Returns a new { @ link BitemporalMapper } . * @ param vtFrom the column name containing the valid time start * @ param vtTo the column name containing the valid time stop * @ param ttFrom the column name containing the transaction time start * @ param ttTo the column name containing...
return new BitemporalMapper ( vtFrom , vtTo , ttFrom , ttTo ) ;
public class ErdosRenyiRelationshipGenerator { /** * Improved implementation of Erdos - Renyi generator based on bijection from * edge labels to edge realisations . Works very well for large number of nodes , * but is slow with increasing number of edges . Best for denser networks , with * a clear giant component...
final int numberOfNodes = getConfiguration ( ) . getNumberOfNodes ( ) ; final int numberOfEdges = getConfiguration ( ) . getNumberOfEdges ( ) ; final long maxEdges = numberOfNodes * ( numberOfNodes - 1 ) / 2 ; final List < Pair < Integer , Integer > > edges = new LinkedList < > ( ) ; for ( Long index : edgeIndices ( nu...
public class HistQuotesRequest { /** * Put everything smaller than days at 0 * @ param cal calendar to be cleaned */ private Calendar cleanHistCalendar ( Calendar cal ) { } }
cal . set ( Calendar . MILLISECOND , 0 ) ; cal . set ( Calendar . SECOND , 0 ) ; cal . set ( Calendar . MINUTE , 0 ) ; cal . set ( Calendar . HOUR , 0 ) ; return cal ;
public class PluginClassLoader { /** * Extracts a resource from the plugin artifact ZIP and saves it to the work * directory . If the resource has already been extracted ( we ' re re - using the * work directory ) then this simply returns what is already there . * @ param zipEntry a ZIP file entry * @ throws IO...
File resourceWorkDir = new File ( workDir , "resources" ) ; if ( ! resourceWorkDir . exists ( ) ) { resourceWorkDir . mkdirs ( ) ; } File resourceFile = new File ( resourceWorkDir , zipEntry . getName ( ) ) ; if ( ! resourceFile . isFile ( ) ) { resourceFile . getParentFile ( ) . mkdirs ( ) ; File tmpFile = File . crea...
public class ContextManager { /** * THIS ASSUMES THAT IT IS CALLED ON A THREAD HOLDING THE LOCK ON THE HeartBeatManager . */ private void handleTaskException ( final TaskClientCodeException e ) { } }
LOG . log ( Level . SEVERE , "TaskClientCodeException" , e ) ; final ByteString exception = ByteString . copyFrom ( this . exceptionCodec . toBytes ( e . getCause ( ) ) ) ; final ReefServiceProtos . TaskStatusProto taskStatus = ReefServiceProtos . TaskStatusProto . newBuilder ( ) . setContextId ( e . getContextId ( ) )...
public class FacebookRestClient { /** * Adds several tags to a photo . * @ param photoId The photo id of the photo to be tagged . * @ param tags A list of PhotoTags . * @ return a list of booleans indicating whether the tag was successfully added . */ public T photos_addTags ( Long photoId , Collection < PhotoTag...
assert ( photoId > 0 ) ; assert ( null != tags && ! tags . isEmpty ( ) ) ; JSONArray jsonTags = new JSONArray ( ) ; for ( PhotoTag tag : tags ) { jsonTags . add ( tag . jsonify ( ) ) ; } return this . callMethod ( FacebookMethod . PHOTOS_ADD_TAG , new Pair < String , CharSequence > ( "pid" , photoId . toString ( ) ) , ...
public class CmsPdfResourceHandler { /** * Handles a request for a PDF thumbnail . < p > * @ param cms the current CMS context * @ param request the servlet request * @ param response the servlet response * @ param uri the current uri * @ throws Exception if something goes wrong */ private void handleThumbnai...
String options = request . getParameter ( CmsPdfThumbnailLink . PARAM_OPTIONS ) ; if ( CmsStringUtil . isEmptyOrWhitespaceOnly ( options ) ) { options = "w:64" ; } CmsPdfThumbnailLink linkObj = new CmsPdfThumbnailLink ( cms , uri , options ) ; CmsResource pdf = linkObj . getPdfResource ( ) ; CmsFile pdfFile = cms . rea...
public class POIUtils { /** * 指定した書式のインデックス番号を取得する 。 シートに存在しない場合は 、 新しく作成する 。 * @ param sheet シート * @ param pattern 作成する書式のパターン * @ return 書式のインデックス番号 。 * @ throws IllegalArgumentException { @ literal sheet = = null . } * @ throws IllegalArgumentException { @ literal pattern = = null | | pattern . isEmpty ...
ArgUtils . notNull ( sheet , "sheet" ) ; ArgUtils . notEmpty ( pattern , "pattern" ) ; return sheet . getWorkbook ( ) . getCreationHelper ( ) . createDataFormat ( ) . getFormat ( pattern ) ;
public class CiModelInterpolator { /** * Empirical data from 3 . x , actual = 40 */ public Model interpolateModel ( Model model , File projectDir , ModelBuildingRequest config , ModelProblemCollector problems ) { } }
interpolateObject ( model , model , projectDir , config , problems ) ; return model ;
public class TwitterEndpointServices { /** * Per { @ link https : / / dev . twitter . com / oauth / overview / creating - signatures } , a signature for an authorized request takes the * following form : * [ HTTP Method ] + " & " + [ Percent encoded URL ] + " & " + [ Percent encoded parameter string ] * - HTTP Me...
if ( requestMethod == null || ( ! requestMethod . equalsIgnoreCase ( "GET" ) && ! requestMethod . equalsIgnoreCase ( "POST" ) ) ) { if ( tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Request method was not an expected value (GET or POST) so defaulting to POST" ) ; } requestMethod = "POST" ; } String cleanedUrl = remov...
public class DRL5Lexer { /** * $ ANTLR start " FLOAT " */ public final void mFLOAT ( ) throws RecognitionException { } }
try { int _type = FLOAT ; int _channel = DEFAULT_TOKEN_CHANNEL ; // src / main / resources / org / drools / compiler / lang / DRL5Lexer . g : 88:5 : ( ( ' 0 ' . . ' 9 ' ) + ' . ' ( ' 0 ' . . ' 9 ' ) * ( Exponent ) ? ( FloatTypeSuffix ) ? | ' . ' ( ' 0 ' . . ' 9 ' ) + ( Exponent ) ? ( FloatTypeSuffix ) ? | ( ' 0 ' . . '...
public class AbstractMultipartUtility { /** * Adds a upload file section to the request * @ param fieldName name attribute in & lt ; input type = " file " name = " . . . " / & gt ; * @ param uploadFile a File to be uploaded * @ throws IOException if problems */ public void addFilePart ( final String fieldName , f...
String fileName = uploadFile . getName ( ) ; addFilePart ( fieldName , new FileInputStream ( uploadFile ) , fileName , URLConnection . guessContentTypeFromName ( fileName ) ) ;
public class DeleteCorsPolicyRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( DeleteCorsPolicyRequest deleteCorsPolicyRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( deleteCorsPolicyRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( deleteCorsPolicyRequest . getContainerName ( ) , CONTAINERNAME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request t...
public class GlobalProperties { /** * Sets the partitioning property for the global properties . * @ param partitioning The new partitioning to set . * @ param partitionedFields */ public void setHashPartitioned ( FieldList partitionedFields ) { } }
this . partitioning = PartitioningProperty . HASH_PARTITIONED ; this . partitioningFields = partitionedFields ; this . ordering = null ;
public class ClassScaner { /** * 加载类 * @ param className 类名 * @ return 加载的类 */ private Class < ? > loadClass ( String className ) { } }
Class < ? > clazz = null ; try { clazz = Class . forName ( className , this . initialize , ClassUtil . getClassLoader ( ) ) ; } catch ( NoClassDefFoundError e ) { // 由于依赖库导致的类无法加载 , 直接跳过此类 } catch ( UnsupportedClassVersionError e ) { // 版本导致的不兼容的类 , 跳过 } catch ( Exception e ) { throw new RuntimeException ( e ) ; // Con...
public class FSDirectory { /** * Verify quota for adding or moving a new INode with required * namespace and diskspace to a given position . * This functiuon assumes that the nsQuotaStartPos is less or equal than the dsQuotaStartPos * @ param inodes INodes corresponding to a path * @ param dsQuotaStartPos the s...
if ( ! ready ) { // Do not check quota if edits log is still being processed return ; } if ( endPos > inodes . length ) { endPos = inodes . length ; } int i = endPos - 1 ; Assert . assertTrue ( "nsQuotaStartPos shall be less or equal than the dsQuotaStartPos" , ( nsQuotaStartPos <= dsQuotaStartPos ) ) ; try { // check ...
public class CommerceVirtualOrderItemPersistenceImpl { /** * Caches the commerce virtual order item in the entity cache if it is enabled . * @ param commerceVirtualOrderItem the commerce virtual order item */ @ Override public void cacheResult ( CommerceVirtualOrderItem commerceVirtualOrderItem ) { } }
entityCache . putResult ( CommerceVirtualOrderItemModelImpl . ENTITY_CACHE_ENABLED , CommerceVirtualOrderItemImpl . class , commerceVirtualOrderItem . getPrimaryKey ( ) , commerceVirtualOrderItem ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceVirtualOrderItem . getUuid ( ) , commer...
public class GitHubProjectMojo { /** * Log given message at info level * @ param message */ protected void info ( String message ) { } }
final Log log = getLog ( ) ; if ( log != null ) log . info ( message ) ;
public class BufferedDiskCache { /** * Removes the item from the disk cache and the staging area . */ public Task < Void > remove ( final CacheKey key ) { } }
Preconditions . checkNotNull ( key ) ; mStagingArea . remove ( key ) ; try { return Task . call ( new Callable < Void > ( ) { @ Override public Void call ( ) throws Exception { try { if ( FrescoSystrace . isTracing ( ) ) { FrescoSystrace . beginSection ( "BufferedDiskCache#remove" ) ; } mStagingArea . remove ( key ) ; ...
public class TypeSimplifier { /** * Returns the name of the given type , including any enclosing types but not the package . */ static String classNameOf ( TypeElement type ) { } }
String name = type . getQualifiedName ( ) . toString ( ) ; String pkgName = packageNameOf ( type ) ; return pkgName . isEmpty ( ) ? name : name . substring ( pkgName . length ( ) + 1 ) ;
public class AsyncQueue { /** * Invoke { @ code function } with up to { @ code maxSize } elements removed from the head of the queue , * and insert elements in the return value to the tail of the queue . * If no element is currently available , invocation of { @ code function } will be deferred until some * eleme...
checkArgument ( maxSize >= 0 , "maxSize must be at least 0" ) ; ListenableFuture < List < T > > borrowedListFuture ; synchronized ( this ) { List < T > list = getBatch ( maxSize ) ; if ( ! list . isEmpty ( ) ) { borrowedListFuture = immediateFuture ( list ) ; borrowerCount ++ ; } else if ( finishing && borrowerCount ==...
public class KAMStoreSchemaServiceImpl { /** * { @ inheritDoc } */ @ Override public boolean deleteKAMStoreSchema ( DBConnection dbc , String schemaName ) throws IOException { } }
boolean deleteSchemas = getSchemaManagementStatus ( dbc ) ; if ( deleteSchemas ) { runScripts ( dbc , "/" + dbc . getType ( ) + DELETE_KAM_SQL_PATH , schemaName , deleteSchemas ) ; } else { // Truncate the schema instead of deleting it . InputStream sqlStream = null ; if ( dbc . isMysql ( ) ) { sqlStream = getClass ( )...
public class ThriftDocServicePlugin { /** * Methods related with extracting documentation strings . */ @ Override public Map < String , String > loadDocStrings ( Set < ServiceConfig > serviceConfigs ) { } }
return serviceConfigs . stream ( ) . flatMap ( c -> c . service ( ) . as ( THttpService . class ) . get ( ) . entries ( ) . values ( ) . stream ( ) ) . flatMap ( entry -> entry . interfaces ( ) . stream ( ) . map ( Class :: getClassLoader ) ) . flatMap ( loader -> docstringExtractor . getAllDocStrings ( loader ) . entr...
public class SourceFile { /** * setter for author - sets * @ generated * @ param v value to set into the feature */ public void setAuthor ( String v ) { } }
if ( SourceFile_Type . featOkTst && ( ( SourceFile_Type ) jcasType ) . casFeat_author == null ) jcasType . jcas . throwFeatMissing ( "author" , "de.julielab.jules.types.ace.SourceFile" ) ; jcasType . ll_cas . ll_setStringValue ( addr , ( ( SourceFile_Type ) jcasType ) . casFeatCode_author , v ) ;
public class TurfAssertions { /** * Enforce expectations about types of { @ link Feature } inputs for Turf . Internally this uses * { @ link Feature # type ( ) } to judge geometry types . * @ param feature with an expected geometry type * @ param type type expected GeoJson type * @ param name name of calling fu...
if ( name == null || name . length ( ) == 0 ) { throw new TurfException ( ".featureOf() requires a name" ) ; } if ( feature == null || ! feature . type ( ) . equals ( "Feature" ) || feature . geometry ( ) == null ) { throw new TurfException ( String . format ( "Invalid input to %s, Feature with geometry required" , nam...
public class GetRequestValidatorsRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( GetRequestValidatorsRequest getRequestValidatorsRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( getRequestValidatorsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getRequestValidatorsRequest . getRestApiId ( ) , RESTAPIID_BINDING ) ; protocolMarshaller . marshall ( getRequestValidatorsRequest . getPosition ( ) , POSITI...
public class DynamoDBConstraint { public Condition asCondition ( ) { } }
Condition condition = new Condition ( ) . withComparisonOperator ( operator . getComparisonOperator ( ) ) ; int argumentCount = operator . getArgumentCount ( ) ; if ( argumentCount == 1 ) { condition . withAttributeValueList ( ConversionUtil . toAttributeValue ( values [ 0 ] ) ) ; } else if ( argumentCount == 2 ) { con...
public class ServiceNameToTraceIds { /** * Returns service names orphaned by removing the trace ID */ Set < String > removeServiceIfTraceId ( String lowTraceId ) { } }
Set < String > result = new LinkedHashSet < > ( ) ; for ( Map . Entry < String , Collection < String > > entry : delegate . entrySet ( ) ) { Collection < String > lowTraceIds = entry . getValue ( ) ; if ( lowTraceIds . remove ( lowTraceId ) && lowTraceIds . isEmpty ( ) ) { result . add ( entry . getKey ( ) ) ; } } dele...
public class Interruptibles { /** * Sleep for the length of time . */ public static void sleep ( long length , TimeUnit unit ) { } }
try { unit . sleep ( length ) ; } catch ( InterruptedException e ) { Thread . currentThread ( ) . interrupt ( ) ; }
public class ActionModeHelper { /** * updates the title to reflect the current selected items or to show a user defined title * @ param selected number of selected items */ private void updateTitle ( int selected ) { } }
if ( mActionMode != null ) { if ( mTitleProvider != null ) mActionMode . setTitle ( mTitleProvider . getTitle ( selected ) ) ; else mActionMode . setTitle ( String . valueOf ( selected ) ) ; }
public class TranspilationPasses { /** * Adds transpilation passes that should run after all checks are done . */ public static void addPostCheckTranspilationPasses ( List < PassFactory > passes , CompilerOptions options ) { } }
if ( options . needsTranspilationFrom ( FeatureSet . ES_NEXT ) ) { passes . add ( rewriteCatchWithNoBinding ) ; } if ( options . needsTranspilationFrom ( ES2018 ) ) { passes . add ( rewriteAsyncIteration ) ; passes . add ( rewriteObjectSpread ) ; } if ( options . needsTranspilationFrom ( ES8 ) ) { // Trailing commas in...
public class Matchers { /** * Returns a Matcher that matches all nodes that are function calls that match the provided name . * @ param name The name of the function to match . For non - static functions , this must be the fully * qualified name that includes the type of the object . For instance : { @ code * ns ...
return new Matcher ( ) { @ Override public boolean matches ( Node node , NodeMetadata metadata ) { // TODO ( mknichel ) : Handle the case when functions are applied through . call or . apply . return node . isCall ( ) && propertyAccess ( name ) . matches ( node . getFirstChild ( ) , metadata ) ; } } ;
public class DependencyGraph { /** * Returns whether elem1 is designated to depend on elem2. */ public boolean dependsOn ( T elem1 , T elem2 ) { } }
DependencyNode < T > node1 = _nodes . get ( elem1 ) ; DependencyNode < T > node2 = _nodes . get ( elem2 ) ; List < DependencyNode < T > > nodesToCheck = new ArrayList < DependencyNode < T > > ( ) ; List < DependencyNode < T > > nodesAlreadyChecked = new ArrayList < DependencyNode < T > > ( ) ; nodesToCheck . addAll ( n...
public class LNGHeap { /** * Rebuilds the heap from a given vector of elements . * @ param ns the vector of elements */ public void build ( final LNGIntVector ns ) { } }
for ( int i = 0 ; i < this . heap . size ( ) ; i ++ ) this . indices . set ( this . heap . get ( i ) , - 1 ) ; this . heap . clear ( ) ; for ( int i = 0 ; i < ns . size ( ) ; i ++ ) { this . indices . set ( ns . get ( i ) , i ) ; this . heap . push ( ns . get ( i ) ) ; } for ( int i = this . heap . size ( ) / 2 - 1 ; i...
public class ImageExtensions { /** * Converts the given BufferedImage to a byte array . * @ param bi * the bi * @ param formatName * the format name * @ return the byte [ ] * @ throws IOException * Signals that an I / O exception has occurred . */ public static byte [ ] toByteArray ( final BufferedImage b...
try ( ByteArrayOutputStream baos = new ByteArrayOutputStream ( ) ) { ImageIO . write ( bi , formatName , baos ) ; baos . flush ( ) ; final byte [ ] byteArray = baos . toByteArray ( ) ; return byteArray ; }
public class CmsLoginForm { /** * Sets visibility of ' advanced ' options . < p > * @ param optionsVisible true if the options should be shown , false if not */ public void setOptionsVisible ( boolean optionsVisible ) { } }
m_optionsVisible = optionsVisible ; boolean ousVisible = optionsVisible && ! m_ouSelect . isAlwaysHidden ( ) ; m_ouSelect . setVisible ( ousVisible ) ; m_forgotPasswordButton . setVisible ( optionsVisible ) ; String optionsMessage = CmsVaadinUtils . getMessageText ( optionsVisible ? Messages . GUI_LOGIN_OPTIONS_HIDE_0 ...
public class EmbeddedHandler { /** * Acquires an IP address among available ones . * @ param parameters the target parameters * @ param machineId the machine ID * @ return The acquired IP address */ protected String acquireIpAddress ( TargetHandlerParameters parameters , String machineId ) { } }
// Load IP addresses on demand ( that ' s the case if we are in this method ) . // This implementation is compliant with a same IP address being used in // several " target . properties " files . String result = null ; String ips = parameters . getTargetProperties ( ) . get ( IP_ADDRESSES ) ; ips = ips == null ? "" : i...
public class CommonOps_DDF3 { /** * Performs an element by element scalar division . Scalar denominator . < br > * < br > * b < sub > i < / sub > = a < sub > i < / sub > / & alpha ; * @ param alpha the amount each element is divided by . * @ param a The vector whose elements are to be divided . Not modified . ...
b . a1 = a . a1 / alpha ; b . a2 = a . a2 / alpha ; b . a3 = a . a3 / alpha ;
public class ClockInterval { /** * / * [ deutsch ] * < p > Erzeugt einen { @ code Stream } , der jeweils eine Uhrzeit als Vielfaches der Dauer angewandt auf * den Start und bis zum Ende geht . < / p > * < p > Diese statische Methode vermeidet die Kosten der Intervallerzeugung . Die Gr & ouml ; & szlig ; e des *...
if ( ! duration . isPositive ( ) ) { throw new IllegalArgumentException ( "Duration must be positive: " + duration ) ; } int comp = start . compareTo ( end ) ; if ( comp > 0 ) { throw new IllegalArgumentException ( "Start after end: " + start + "/" + end ) ; } else if ( comp == 0 ) { return Stream . empty ( ) ; } doubl...
public class ArrayList { /** * Returns a list iterator over the elements in this list ( in proper * sequence ) , starting at the specified position in the list . * The specified index indicates the first element that would be * returned by an initial call to { @ link ListIterator # next next } . * An initial ca...
if ( index < 0 || index > size ) throw new IndexOutOfBoundsException ( "Index: " + index ) ; return new ListItr ( index ) ;
public class JaxbUtils { /** * Converts the contents of the string to a List with objects of the given class . * @ param cl Type to be used * @ param s Input string * @ return List with objects of the given type */ public static < T > List < T > unmarshalCollection ( Class < T > cl , String s ) throws JAXBExcepti...
return unmarshalCollection ( cl , new StringReader ( s ) ) ;
public class AttributeMapper { /** * Return the attribute identifier from the variable - id * @ param variableId * @ return * @ throws MIDDParsingException */ public String getAttributeId ( int variableId ) throws MIDDParsingException { } }
if ( ! attributeMapper . containsValue ( variableId ) ) { throw new MIDDParsingException ( "Variable identifier '" + variableId + "' not found" ) ; } for ( String attrId : attributeMapper . keySet ( ) ) { if ( attributeMapper . get ( attrId ) == variableId ) { return attrId ; } } throw new MIDDParsingException ( "Varia...
public class CpnlElFunctions { /** * Builds the URL for a repository path using the LinkUtil . getURL ( ) method . * @ param request the current request ( domain host hint ) * @ param path the repository path * @ return the URL built in the context of the requested domain host */ public static String url ( SlingH...
return LinkUtil . getUrl ( request , path ) ;
public class ReportDefinition { /** * A list of manifests that you want Amazon Web Services to create for this report . * @ param additionalArtifacts * A list of manifests that you want Amazon Web Services to create for this report . * @ return Returns a reference to this object so that method calls can be chaine...
java . util . ArrayList < String > additionalArtifactsCopy = new java . util . ArrayList < String > ( additionalArtifacts . length ) ; for ( AdditionalArtifact value : additionalArtifacts ) { additionalArtifactsCopy . add ( value . toString ( ) ) ; } if ( getAdditionalArtifacts ( ) == null ) { setAdditionalArtifacts ( ...
public class AbstractStateMachine { /** * Creates named state with functional interface . * @ param name * @ param enter Called when state is entered . */ public void addState ( String name , Runnable enter ) { } }
addState ( name , ( S ) new AdhocState ( name , enter , null , null ) ) ;
public class ApiInvoker { /** * Serialize an Object . * @ param host the targeted host * @ param path the targeted rest endpoint * @ param method the HTTP method * @ param queryParams the query parameters * @ param body the obligatory body of a post * @ param headerParams the HTTP header parameters * @ pa...
Client client = getClient ( host ) ; StringBuilder b = new StringBuilder ( ) ; for ( String key : queryParams . keySet ( ) ) { String value = queryParams . get ( key ) ; if ( value != null ) { if ( b . toString ( ) . length ( ) == 0 ) b . append ( "?" ) ; else b . append ( "&" ) ; b . append ( escapeString ( key ) ) . ...
public class BinaryHeapPriorityQueue { /** * Demotes a key in the queue , adding it if it wasn ' t there already . If the specified priority is better than the current priority , nothing happens . If you decrease the priority on a non - present key , it will get added , but at it ' s old implicit priority of Double . N...
Entry < E > entry = getEntry ( key ) ; if ( entry == null ) { entry = makeEntry ( key ) ; } if ( compare ( priority , entry . priority ) >= 0 ) { return false ; } entry . priority = priority ; heapifyDown ( entry ) ; return true ;
public class XLSReader { /** * Main HSSFListener method , processes events , and outputs the * CSV as the file is processed . * 开始解析Excel文档 */ public void process ( ) throws ReadExcelException { } }
MissingRecordAwareHSSFListener listener = new MissingRecordAwareHSSFListener ( this ) ; formatListener = new FormatTrackingHSSFListenerPlus ( listener ) ; HSSFEventFactory factory = new HSSFEventFactory ( ) ; HSSFRequest request = new HSSFRequest ( ) ; if ( outputFormulaValues ) { request . addListenerForAllRecords ( f...
public class Extensions { /** * Get the extension name with the author prefix removed * @ param extensionName * extension name * @ return extension name , no author * @ since 1.1.0 */ public static String getExtensionNameNoAuthor ( String extensionName ) { } }
String value = null ; if ( extensionName != null ) { value = extensionName . substring ( extensionName . indexOf ( EXTENSION_NAME_DIVIDER ) + 1 , extensionName . length ( ) ) ; } return value ;
public class WsdlToDll { /** * Search for the wsdl command and execute it when it is found */ private void wsdlCommand ( ) throws MojoExecutionException { } }
String cmd = findWsdlCommand ( ) ; int i = 0 ; for ( String location : wsdlLocations ) { String outputFilename = new File ( outputDirectory , namespace + ( i ++ ) + ".cs" ) . getAbsolutePath ( ) ; String [ ] command = new String [ ] { cmd , serverParameter , "/n:" + namespace , location , "/out:" + outputFilename } ; P...
public class JsHdrsImpl { /** * Get the value of the Reliability field from the message header . * Javadoc description supplied by SIBusMessage interface . */ public final Reliability getReliability ( ) { } }
// If the transient is not set , get the int value from the message then // obtain the corresponding Reliability instance and cache it . if ( cachedReliability == null ) { Byte rType = ( Byte ) getHdr2 ( ) . getField ( JsHdr2Access . RELIABILITY ) ; cachedReliability = Reliability . getReliability ( rType ) ; } // Retu...
public class NewRelicManager { /** * Synchronise the server configuration with the cache . * @ param cache The provider cache * @ return < CODE > true < / CODE > if the operation was successful */ public boolean syncServers ( NewRelicCache cache ) { } }
boolean ret = true ; if ( apiClient == null ) throw new IllegalArgumentException ( "null API client" ) ; // Get the server configuration using the REST API if ( cache . isServersEnabled ( ) ) { ret = false ; logger . info ( "Getting the servers" ) ; cache . servers ( ) . add ( apiClient . servers ( ) . list ( ) ) ; cac...
public class AccessorSyntheticField { /** * Get field value . * @ param object object which contains the field . * @ return field value * @ throws IllegalAccessException illegal access * @ throws IllegalArgumentException illegal argument */ public Object get ( Object object ) throws IllegalAccessException , Ill...
if ( null != getter ) { try { return getter . invoke ( object ) ; } catch ( InvocationTargetException ite ) { if ( ite . getCause ( ) instanceof RuntimeException && ! ( ite . getCause ( ) instanceof JTransfoException ) ) { throw ( RuntimeException ) ite . getCause ( ) ; } throw new JTransfoException ( String . format (...
public class CustomerConnectorInfoMarshaller { /** * Marshall the given parameter object . */ public void marshall ( CustomerConnectorInfo customerConnectorInfo , ProtocolMarshaller protocolMarshaller ) { } }
if ( customerConnectorInfo == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( customerConnectorInfo . getActiveConnectors ( ) , ACTIVECONNECTORS_BINDING ) ; protocolMarshaller . marshall ( customerConnectorInfo . getHealthyConnectors ( ) , H...
public class StyleCounter { /** * Obtains the most frequent style . If there are multiple styles with the same frequency then * only one of them is returned . * @ return The most frequent style or { @ code null } when the counter is empty . */ public T getMostFrequent ( ) { } }
T ret = null ; int freq = 0 ; for ( Map . Entry < T , Integer > entry : styles . entrySet ( ) ) { if ( entry . getValue ( ) > freq ) { ret = entry . getKey ( ) ; freq = entry . getValue ( ) ; } } return ret ;
public class SOS { /** * Estimate beta from the distances in a row . * This lacks a thorough mathematical argument , but is a handcrafted heuristic * to avoid numerical problems . The average distance is usually too large , so * we scale the average distance by 2 * N / perplexity . Then estimate beta as 1 / x . ...
double sum = 0. ; int size = 0 ; for ( it . seek ( 0 ) ; it . valid ( ) ; it . advance ( ) ) { if ( DBIDUtil . equal ( ignore , it ) ) { continue ; } sum += it . doubleValue ( ) < Double . POSITIVE_INFINITY ? it . doubleValue ( ) : 0. ; ++ size ; } // In degenerate cases , simply return 1. return ( sum > 0. && sum < Do...
public class Attachment { /** * Creates a non - binary attachment from the given file . * @ throws IOException if an I / O error occurs * @ throws java . lang . IllegalArgumentException if mediaType is either binary or has no specified charset */ public static Attachment fromTextFile ( File file , MediaType mediaTy...
return fromText ( Files . toString ( file , mediaType . getCharset ( ) ) , mediaType ) ;
public class BigComplex { /** * Returns a complex number with the specified real and imaginary { @ code double } parts . * @ param real the real { @ code double } part * @ param imaginary the imaginary { @ code double } part * @ return the complex number */ public static BigComplex valueOf ( double real , double ...
return valueOf ( BigDecimal . valueOf ( real ) , BigDecimal . valueOf ( imaginary ) ) ;
public class DifferenceEngine { /** * The number of attributes not related to namespace declarations * and / or Schema location . */ private Integer getNonSpecialAttrLength ( NamedNodeMap attributes ) { } }
int length = 0 , maxLength = attributes . getLength ( ) ; for ( int i = 0 ; i < maxLength ; ++ i ) { Attr a = ( Attr ) attributes . item ( i ) ; if ( ! isXMLNSAttribute ( a ) && ! isRecognizedXMLSchemaInstanceAttribute ( a ) ) { ++ length ; } } return new Integer ( length ) ;
public class ChronicleMapBuilder { /** * { @ inheritDoc } * < p > For example , if your keys are Git commit hashes : < pre > { @ code * Map < byte [ ] , String > gitCommitMessagesByHash = * ChronicleMapBuilder . of ( byte [ ] . class , String . class ) * . constantKeySizeBySample ( new byte [ 20 ] ) * . creat...
this . sampleKey = sampleKey ; averageKey = null ; averageKeySize = UNDEFINED_DOUBLE_CONFIG ; return this ;
public class EventProducerInterceptor { /** * / * ( non - Javadoc ) * @ see org . apache . cxf . interceptor . Interceptor # handleMessage ( org . apache . cxf . message . Message ) */ @ Override public void handleMessage ( Message message ) throws Fault { } }
// ignore the messages from SAM Server service itself BindingOperationInfo boi = message . getExchange ( ) . getBindingOperationInfo ( ) ; if ( null != boi ) { String operationName = boi . getName ( ) . toString ( ) ; if ( SAM_OPERATION . equals ( operationName ) ) { return ; } } if ( isRestWadlRequest ( message ) ) { ...
public class GraphicAwt { /** * Graphic */ @ Override public void clear ( int x , int y , int width , int height ) { } }
g . clearRect ( x , y , width , height ) ;
public class Transfer { /** * Method declaration * @ param t */ private void displayTable ( TransferTable t ) { } }
tCurrent = t ; if ( t == null ) { return ; } tSourceTable . setText ( t . Stmts . sSourceTable ) ; tDestTable . setText ( t . Stmts . sDestTable ) ; tDestDrop . setText ( t . Stmts . sDestDrop ) ; tDestCreateIndex . setText ( t . Stmts . sDestCreateIndex ) ; tDestDropIndex . setText ( t . Stmts . sDestDropIndex ) ; tDe...
public class EntityInfo { /** * 拼接UPDATE给字段赋值的SQL片段 * @ param col 表字段名 * @ param attr Attribute * @ param cv ColumnValue * @ return CharSequence */ protected CharSequence formatSQLValue ( String col , Attribute < T , Serializable > attr , final ColumnValue cv ) { } }
if ( cv == null ) return null ; Object val = cv . getValue ( ) ; CryptHandler handler = attr . attach ( ) ; if ( handler != null ) val = handler . encrypt ( val ) ; switch ( cv . getExpress ( ) ) { case INC : return new StringBuilder ( ) . append ( col ) . append ( " + " ) . append ( val ) ; case MUL : return new Strin...
public class Links { /** * / * all local pids get notified about broken connection */ synchronized OtpErlangPid [ ] localPids ( ) { } }
OtpErlangPid [ ] ret = null ; if ( count != 0 ) { ret = new OtpErlangPid [ count ] ; for ( int i = 0 ; i < count ; i ++ ) { ret [ i ] = links [ i ] . local ( ) ; } } return ret ;
public class RepositoryConfigUtils { /** * Finds the repository properties file location * @ return the location of the repo properties */ public static String getRepoPropertiesFileLocation ( ) { } }
String installDirPath = Utils . getInstallDir ( ) . getAbsolutePath ( ) ; String overrideLocation = System . getProperty ( InstallConstants . OVERRIDE_PROPS_LOCATION_ENV_VAR ) ; // Gets the repository properties file path from the default location if ( overrideLocation == null ) { return installDirPath + InstallConstan...
public class GlobalizationPreferences { /** * Set an explicit date format . Overrides the locale priority list for * a particular combination of dateStyle and timeStyle . DF _ NONE should * be used if for the style , where only the date or time format individually * is being set . * @ param dateStyle DF _ FULL ...
if ( isFrozen ( ) ) { throw new UnsupportedOperationException ( "Attempt to modify immutable object" ) ; } if ( dateFormats == null ) { dateFormats = new DateFormat [ DF_LIMIT ] [ DF_LIMIT ] ; } dateFormats [ dateStyle ] [ timeStyle ] = ( DateFormat ) format . clone ( ) ; // for safety return this ;
public class QSufSort { /** * Subroutine for { @ link # select _ sort _ split ( int , int ) } and * { @ link # sort _ split ( int , int ) } . Sets group numbers for a group whose lowest position * in { @ link # I } is < code > pl < / code > and highest position is < code > pm < / code > . */ private void update_gro...
int g ; g = pm ; /* group number . */ V [ start + I [ pl ] ] = g ; /* update group number of first position . */ if ( pl == pm ) I [ pl ] = - 1 ; /* one element , sorted group . */ else do /* more than one element , unsorted group . */ V [ start + I [ ++ pl ] ] = g ; /* update group numbers . */ while ( pl < pm ) ;
public class RandomVariableDifferentiableAAD { /** * Returns the gradient of this random variable with respect to all its leaf nodes . * The method calculated the map \ ( v \ mapsto \ frac { d u } { d v } \ ) where \ ( u \ ) denotes < code > this < / code > . * Performs a backward automatic differentiation . * @ ...
// The map maintaining the derivatives id - > derivative Map < Long , RandomVariable > derivatives = new HashMap < > ( ) ; // Put derivative of this node w . r . t . itself derivatives . put ( getID ( ) , getFactory ( ) . createRandomVariableNonDifferentiable ( Double . NEGATIVE_INFINITY , 1.0 ) ) ; // The set maintain...
public class DatabaseAccountsInner { /** * Changes the failover priority for the Azure Cosmos DB database account . A failover priority of 0 indicates a write region . The maximum value for a failover priority = ( total number of regions - 1 ) . Failover priority values must be unique for each of the regions in which t...
beginFailoverPriorityChangeWithServiceResponseAsync ( resourceGroupName , accountName , failoverPolicies ) . toBlocking ( ) . single ( ) . body ( ) ;
public class Fu { /** * Query by context . getContentResolver ( ) . * @ param targetClass entity class with getter / setting method . * @ param uri * @ param projection * @ param selection * @ param selectionArgs * @ param sortOrder * @ return */ public static < T > List < T > query ( Class < T > targetCl...
return query ( targetClass , uri , projection , selection , selectionArgs , sortOrder , null ) ;
public class ModelHelper { /** * This method translates the REST request object CreateStreamRequest into internal object StreamConfiguration . * @ param createStreamRequest An object conforming to the createStream REST API json * @ return StreamConfiguration internal object */ public static final StreamConfiguratio...
ScalingPolicy scalingPolicy ; if ( createStreamRequest . getScalingPolicy ( ) . getType ( ) == ScalingConfig . TypeEnum . FIXED_NUM_SEGMENTS ) { scalingPolicy = ScalingPolicy . fixed ( createStreamRequest . getScalingPolicy ( ) . getMinSegments ( ) ) ; } else if ( createStreamRequest . getScalingPolicy ( ) . getType ( ...
public class Cache { /** * Return a new memory cache with the specified maximum size , unlimited * lifetime for entries , with the values held by standard references . */ public static < K , V > Cache < K , V > newHardMemoryCache ( int size ) { } }
return new MemoryCache < > ( false , size ) ;
public class ClassDelegateActivityBehavior { /** * Activity Behavior */ @ Override public void execute ( final ActivityExecution execution ) throws Exception { } }
this . executeWithErrorPropagation ( execution , new Callable < Void > ( ) { @ Override public Void call ( ) throws Exception { getActivityBehaviorInstance ( execution ) . execute ( execution ) ; return null ; } } ) ;
public class MembershipHandlerImpl { /** * Use this method to find all the memberships of an user in a group . */ private Collection < Membership > findMembershipsByUserAndGroup ( Session session , Node refUserNode , Node groupNode ) throws Exception { } }
List < Membership > memberships = new ArrayList < Membership > ( ) ; NodeIterator refTypes = refUserNode . getNodes ( ) ; while ( refTypes . hasNext ( ) ) { Node refTypeNode = refTypes . nextNode ( ) ; String id = utils . composeMembershipId ( groupNode , refUserNode , refTypeNode ) ; String groupId = utils . getGroupI...
public class AsteriskChannelImpl { /** * Sets dateOfRemoval , hangupCause and hangupCauseText and changes state to * { @ link ChannelState # HUNGUP } . Fires a PropertyChangeEvent for state . * @ param dateOfRemoval date the channel was hung up * @ param hangupCause cause for hangup * @ param hangupCauseText te...
this . dateOfRemoval = dateOfRemoval ; this . hangupCause = hangupCause ; this . hangupCauseText = hangupCauseText ; // update state and fire PropertyChangeEvent stateChanged ( dateOfRemoval , ChannelState . HUNGUP ) ;
public class ConfluenceGreenPepper { /** * Verifies if the specification can be Implemented . * @ param page a { @ link com . atlassian . confluence . pages . Page } object . * @ return true if the specification can be Implemented . */ public boolean canBeImplemented ( Page page ) { } }
Integer implementedVersion = getImplementedVersion ( page ) ; return implementedVersion == null || page . getVersion ( ) != implementedVersion ;
public class BusStop { @ Override protected void checkPrimitiveValidity ( ) { } }
BusPrimitiveInvalidity invalidityReason = null ; if ( this . position == null ) { invalidityReason = new BusPrimitiveInvalidity ( BusPrimitiveInvalidityType . NO_STOP_POSITION , null ) ; } else { final BusNetwork busNetwork = getBusNetwork ( ) ; if ( busNetwork == null ) { invalidityReason = new BusPrimitiveInvalidity ...
public class PersistenceContextRefTypeImpl { /** * If not already created , a new < code > persistence - property < / code > element will be created and returned . * Otherwise , the first existing < code > persistence - property < / code > element will be returned . * @ return the instance defined for the element <...
List < Node > nodeList = childNode . get ( "persistence-property" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new PropertyTypeImpl < PersistenceContextRefType < T > > ( this , "persistence-property" , childNode , nodeList . get ( 0 ) ) ; } return createPersistenceProperty ( ) ;
public class ServerModule { /** * Override this method to provide your own Jackson provider . * @ return ObjectMapper provider for Jackson */ protected Provider < ObjectMapper > getJacksonProvider ( ) { } }
return new Provider < ObjectMapper > ( ) { @ Override public ObjectMapper get ( ) { final ObjectMapper mapper = new ObjectMapper ( ) ; mapper . registerModule ( new JodaModule ( ) ) ; mapper . disable ( SerializationFeature . WRITE_DATES_AS_TIMESTAMPS ) ; return mapper ; } } ;
public class StructrHttpServiceConfig { /** * - - - - - private methods - - - - - */ private Class loadClass ( final String name ) { } }
ClassLoader loader = NodeExtender . getClassLoader ( ) ; Class loadedClass = null ; if ( loader == null ) { loader = getClass ( ) . getClassLoader ( ) ; } try { loadedClass = Class . forName ( name , true , loader ) ; } catch ( Throwable ignore ) { } if ( loadedClass == null ) { try { loadedClass = Class . forName ( na...
public class BasicDistributionSummary { /** * { @ inheritDoc } */ @ Override public Long getValue ( int pollerIndex ) { } }
final long cnt = count . getCurrentCount ( pollerIndex ) ; final long total = totalAmount . getCurrentCount ( pollerIndex ) ; final long value = ( long ) ( ( double ) total / cnt ) ; return ( cnt == 0 ) ? 0L : value ;
public class DeviceImpl { /** * Initializes the device : < br > * < ul > * < li > reloads device and class properties < / li > * < li > applies memorized value to attributes < / li > * < li > restarts polling < / li > * < li > calls delete method { @ link Delete } * < li > * < li > calls init method { @ l...
MDC . setContextMap ( contextMap ) ; xlogger . entry ( ) ; if ( stateImpl == null ) { stateImpl = new StateImpl ( businessObject , null , null ) ; } if ( statusImpl == null ) { statusImpl = new StatusImpl ( businessObject , null , null ) ; } if ( initImpl == null ) { buildInit ( null , false ) ; } doInit ( ) ; try { pu...
public class InvertedIndex { /** * Query list . * @ param keys the keys * @ param filter the filter * @ return the list */ public Set < DOCUMENT > query ( @ NonNull Iterable < KEY > keys , @ NonNull Predicate < ? super DOCUMENT > filter ) { } }
return Streams . asParallelStream ( keys ) . flatMap ( key -> index . get ( key ) . stream ( ) ) . map ( documents :: get ) . filter ( filter ) . collect ( Collectors . toSet ( ) ) ;
public class IdentityDescription { /** * The provider names . * @ param logins * The provider names . */ public void setLogins ( java . util . Collection < String > logins ) { } }
if ( logins == null ) { this . logins = null ; return ; } this . logins = new java . util . ArrayList < String > ( logins ) ;
public class ArchiveRepositoriesResource { /** * Get a list of all of the repository summaries */ @ GET @ Path ( "/repositorysummaries" ) public List < RepositorySummary > getRepositorySummaries ( ) { } }
List < RepositorySummary > result = new ArrayList < RepositorySummary > ( repositories . size ( ) ) ; for ( String repositoryId : repositories . keySet ( ) ) { RepositorySummary repositorySummary = getScriptRepo ( repositoryId ) . getRepositorySummary ( ) ; result . add ( repositorySummary ) ; } return result ;
public class Elements { /** * Inserts the specified element into the parent of the after element if not already present . If parent already * contains child , this method does nothing . */ public static void lazyInsertAfter ( Element newElement , Element after ) { } }
if ( ! after . parentNode . contains ( newElement ) ) { after . parentNode . insertBefore ( newElement , after . nextSibling ) ; }
public class SubscriptionClientChildSbb { public void onTimerEvent ( TimerEvent event , ActivityContextInterface aci ) { } }
// time to refresh : ) if ( getSubscribeRequestTypeCMP ( ) != null ) { return ; } try { DialogActivity da = ( DialogActivity ) aci . getActivity ( ) ; Request refreshSubscribe = createRefresh ( da , getSubscriptionData ( ) ) ; setSubscribeRequestTypeCMP ( SubscribeRequestType . REFRESH ) ; da . sendRequest ( refreshSub...
public class ComThread { /** * Kills this { @ link ComThread } gracefully * and blocks until a thread dies . */ public void kill ( ) { } }
die = true ; lock . activate ( ) ; // wake up the sleeping thread . // wait for it to die . if someone interrupts us , process that later . try { join ( ) ; } catch ( InterruptedException e ) { Thread . currentThread ( ) . interrupt ( ) ; }