signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class MariaDbConnection { /** * Retrieves this < code > Connection < / code > object ' s current transaction isolation level .
* @ return the current transaction isolation level , which will be one of the following constants :
* < code > Connection . TRANSACTION _ READ _ UNCOMMITTED < / code > ,
* < code >... | Statement stmt = createStatement ( ) ; String sql = "SELECT @@tx_isolation" ; if ( ! protocol . isServerMariaDb ( ) ) { if ( ( protocol . getMajorServerVersion ( ) >= 8 && protocol . versionGreaterOrEqual ( 8 , 0 , 3 ) ) || ( protocol . getMajorServerVersion ( ) < 8 && protocol . versionGreaterOrEqual ( 5 , 7 , 20 ) ) ... |
public class DateTimeFormatter { /** * Parses and resolves the specified text .
* This parses to a { @ code TemporalAccessor } ensuring that the text is fully parsed .
* @ param text the text to parse , not null
* @ param position the position to parse from , updated with length parsed
* and the index of any er... | ParsePosition pos = ( position != null ? position : new ParsePosition ( 0 ) ) ; DateTimeParseContext context = parseUnresolved0 ( text , pos ) ; if ( context == null || pos . getErrorIndex ( ) >= 0 || ( position == null && pos . getIndex ( ) < text . length ( ) ) ) { String abbr ; if ( text . length ( ) > 64 ) { abbr =... |
public class SubtitleChatOverlay { /** * Update the history scrollbar with the specified value . */
protected void updateHistBar ( int val ) { } } | // we may need to figure out the new history offset amount . .
if ( ! _histOffsetFinal && _history . size ( ) > _histOffset ) { Graphics2D gfx = getTargetGraphics ( ) ; if ( gfx != null ) { figureHistoryOffset ( gfx ) ; gfx . dispose ( ) ; } } // then figure out the new value and range
int oldval = Math . max ( _histOf... |
public class DaisyFilter { /** * changes the color of the image - more red and less blue
* @ return new pixel array */
private int [ ] changeColor ( ) { } } | int [ ] changedPixels = new int [ pixels . length ] ; double frequenz = 2 * Math . PI / 1020 ; for ( int i = 0 ; i < pixels . length ; i ++ ) { int argb = pixels [ i ] ; int a = ( argb >> 24 ) & 0xff ; int r = ( argb >> 16 ) & 0xff ; int g = ( argb >> 8 ) & 0xff ; int b = argb & 0xff ; r = ( int ) ( 255 * Math . sin ( ... |
public class StreamMetadataResourceImpl { /** * Implementation of createStream REST API .
* @ param scopeName The scope name of stream .
* @ param createStreamRequest The object conforming to createStream request json .
* @ param securityContext The security for API access .
* @ param asyncResponse AsyncRespons... | long traceId = LoggerHelpers . traceEnter ( log , "createStream" ) ; String streamName = createStreamRequest . getStreamName ( ) ; try { NameUtils . validateUserStreamName ( streamName ) ; } catch ( IllegalArgumentException | NullPointerException e ) { log . warn ( "Create stream failed due to invalid stream name {}" ,... |
public class FieldList { /** * init . */
public void init ( Object recordOwner ) { } } | m_recordOwner = recordOwner ; if ( m_dbOpenMode == Constants . OPEN_NORMAL ) // In case it was changed in contructor ( ) and init was called after
m_dbOpenMode = Constants . OPEN_NORMAL ; if ( this . getTask ( ) != null ) m_dbOpenMode = m_dbOpenMode | this . getTask ( ) . getDefaultLockType ( this . getDatabaseType ( )... |
public class MemcachedClient { /** * Get the values for multiple keys from the cache .
* @ param keys the keys
* @ return a map of the values ( for each value that exists )
* @ throws OperationTimeoutException if the global operation timeout is
* exceeded
* @ throws IllegalStateException in the rare circumsta... | return getBulk ( Arrays . asList ( keys ) , transcoder ) ; |
public class ConversationHelperImpl { /** * Deletes a set of messages based on their IDs in the scope
* of a specific transaction .
* @ param msgIDs
* @ param tran
* @ param priority */
public void deleteMessages ( SIMessageHandle [ ] msgHandles , SITransaction tran , int priority ) throws SISessionUnavailableE... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "deleteMessages" , new Object [ ] { msgHandles , tran , priority } ) ; if ( TraceComponent . isAnyTracingEnabled ( ) ) { CommsLightTrace . traceMessageIds ( tc , "DeleteMsgTrace" , msgHandles ) ; } if ( sessionId == 0... |
public class Field { /** * Creates a Field if it the Java Field has valid modifiers .
* @ param cl Class containing the Java field
* @ param name of the field
* @ return Field or null */
public static Field forName ( Class cl , String name ) { } } | java . lang . reflect . Field result ; try { result = cl . getDeclaredField ( name ) ; } catch ( NoSuchFieldException e ) { return null ; } return create ( result ) ; |
public class InternalContext { /** * Get a bean ' s property .
* @ param < T > bean type
* @ param bean bean
* @ param property property
* @ return value */
public < T > Object getBeanProperty ( final T bean , final Object property ) { } } | if ( bean != null ) { @ SuppressWarnings ( "unchecked" ) GetResolver < T > resolver = this . getters . unsafeGet ( bean . getClass ( ) ) ; if ( resolver != null ) { return resolver . get ( bean , property ) ; } } return this . resolverManager . get ( bean , property ) ; |
public class TextToSpeech { /** * Add custom words .
* Adds one or more words and their translations to the specified custom voice model . Adding a new translation for a
* word that already exists in a custom model overwrites the word ' s existing translation . A custom model can contain
* no more than 20,000 ent... | Validator . notNull ( addWordsOptions , "addWordsOptions cannot be null" ) ; String [ ] pathSegments = { "v1/customizations" , "words" } ; String [ ] pathParameters = { addWordsOptions . customizationId ( ) } ; RequestBuilder builder = RequestBuilder . post ( RequestBuilder . constructHttpUrl ( getEndPoint ( ) , pathSe... |
public class AbstractMessageProducer { /** * / * ( non - Javadoc )
* @ see javax . jms . MessageProducer # close ( ) */
@ Override public final void close ( ) throws JMSException { } } | externalAccessLock . readLock ( ) . lock ( ) ; try { if ( closed ) return ; closed = true ; onProducerClose ( ) ; } finally { externalAccessLock . readLock ( ) . unlock ( ) ; } |
public class TimeConverter { /** * Converts the string to a time , using the given format for parsing .
* @ param pString the string to convert .
* @ param pType the type to convert to . PropertyConverter
* implementations may choose to ignore this parameter .
* @ param pFormat the format used for parsing . Pro... | if ( StringUtil . isEmpty ( pString ) ) return null ; TimeFormat format ; try { if ( pFormat == null ) { // Use system default format
format = TimeFormat . getInstance ( ) ; } else { // Get format from cache
format = getTimeFormat ( pFormat ) ; } return format . parse ( pString ) ; } catch ( RuntimeException rte ) { th... |
public class CmsContainerpageController { /** * Checks if the page editing features should be disabled . < p >
* @ return true if the page editing features should be disabled */
public boolean isEditingDisabled ( ) { } } | return ( m_data == null ) || CmsStringUtil . isNotEmptyOrWhitespaceOnly ( m_data . getNoEditReason ( ) ) || ( m_lockStatus == LockStatus . failed ) ; |
public class Rules { /** * Create a rule : predicate ( conditions ) = > new state ( results )
* @ param conditions conditions
* @ param key key
* @ param value value
* @ return rule */
public static Rule conditionsRule ( final Set < Condition > conditions , String key , String value ) { } } | HashMap < String , String > results = new HashMap < > ( ) ; results . put ( key , value ) ; return conditionsRule ( conditions , results ) ; |
public class ReflectUtil { /** * Get the actual type arguments a child class has used to extend a generic
* base class .
* @ param baseClass
* the base class
* @ param childClass
* the child class
* @ return a list of the raw classes for the actual type arguments . */
public static < T > List < Class < ? > ... | Map < Type , Type > resolvedTypes = new HashMap < Type , Type > ( ) ; Type type = getNecessaryResolvedTypes ( baseClass , childClass , resolvedTypes ) ; // finally , for each actual type argument provided to baseClass ,
// determine ( if possible )
// the raw class for that type argument .
Type [ ] actualTypeArguments ... |
public class NativeFunction { /** * Resume execution of a suspended generator .
* @ param cx The current context
* @ param scope Scope for the parent generator function
* @ param operation The resumption operation ( next , send , etc . . )
* @ param state The generator state ( has locals , stack , etc . )
* @... | throw new EvaluatorException ( "resumeGenerator() not implemented" ) ; |
public class Query { /** * < pre >
* { field : < field > , regex : < pattern > , . . . }
* < / pre > */
public static Query regex ( String field , String pattern , boolean caseInsensitive , boolean extended , boolean multiline , boolean dotall ) { } } | Query q = new Query ( false ) ; q . add ( "field" , field ) . add ( "regex" , pattern ) . add ( "caseInsensitive" , caseInsensitive ) . add ( "extended" , extended ) . add ( "multiline" , multiline ) . add ( "dotall" , dotall ) ; return q ; |
public class ASTHelpers { /** * Implementation of unary numeric promotion rules .
* < p > < a href = " https : / / docs . oracle . com / javase / specs / jls / se9 / html / jls - 5 . html # jls - 5.6.1 " > JLS
* § 5.6.1 < / a > */
@ Nullable private static Type unaryNumericPromotion ( Type type , VisitorState state... | Type unboxed = unboxAndEnsureNumeric ( type , state ) ; switch ( unboxed . getTag ( ) ) { case BYTE : case SHORT : case CHAR : return state . getSymtab ( ) . intType ; case INT : case LONG : case FLOAT : case DOUBLE : return unboxed ; default : throw new AssertionError ( "Should not reach here: " + type ) ; } |
public class Menus { /** * Set up the screen input fields . */
public void setupFields ( ) { } } | FieldInfo field = null ; field = new FieldInfo ( this , ID , Constants . DEFAULT_FIELD_LENGTH , null , null ) ; field . setDataClass ( Integer . class ) ; field . setHidden ( true ) ; field = new FieldInfo ( this , LAST_CHANGED , Constants . DEFAULT_FIELD_LENGTH , null , null ) ; field . setDataClass ( Date . class ) ;... |
public class WebServiceTemplateBuilder { /** * Set { @ link WebServiceTemplateCustomizer WebServiceTemplateCustomizers } that should
* be applied to the { @ link WebServiceTemplate } . Customizers are applied in the order
* that they were added after builder configuration has been applied . Setting this
* value w... | Assert . notNull ( customizers , "Customizers must not be null" ) ; return customizers ( Arrays . asList ( customizers ) ) ; |
public class AWSXRayClient { /** * Updates the encryption configuration for X - Ray data .
* @ param putEncryptionConfigRequest
* @ return Result of the PutEncryptionConfig operation returned by the service .
* @ throws InvalidRequestException
* The request is missing required parameters or has invalid paramete... | request = beforeClientExecution ( request ) ; return executePutEncryptionConfig ( request ) ; |
public class SharedObjectService { /** * { @ inheritDoc } */
public boolean createSharedObject ( IScope scope , String name , boolean persistent ) { } } | boolean added = hasSharedObject ( scope , name ) ; if ( ! added ) { log . debug ( "Attempting to add shared object: {} to {}" , name , scope . getName ( ) ) ; added = scope . addChildScope ( new SharedObjectScope ( scope , name , persistent , getStore ( scope , persistent ) ) ) ; if ( ! added ) { added = hasSharedObjec... |
public class V1ListenersModel { /** * { @ inheritDoc } */
@ Override public ListenersModel addListener ( ListenerModel listener ) { } } | addChildModel ( listener ) ; _listeners . add ( listener ) ; return this ; |
public class VLLcpMonotoneMinimalPerfectHashFunction { /** * Returns the number of bits used by this structure .
* @ return the number of bits used by this structure . */
public long numBits ( ) { } } | if ( n == 0 ) return 0 ; return offsets . size64 ( ) * log2BucketSize + lcpLengths . numBits ( ) + lcp2Bucket . numBits ( ) + mph . numBits ( ) + transform . numBits ( ) ; |
public class ServiceResolver { /** * This method identifies a service implementation that implements
* the supplied interface , and returns it as a singleton , so that subsequent
* calls for the same service will get the same instance .
* @ param intf The interface
* @ return The service , or null if not found ... | T ret = null ; synchronized ( singletons ) { if ( singletons . containsKey ( intf ) ) { ret = ( T ) singletons . get ( intf ) ; } else { List < T > services = getServices ( intf ) ; if ( ! services . isEmpty ( ) ) { ret = services . get ( 0 ) ; } singletons . put ( intf , ret ) ; } } return ret ; |
public class SystemJarFinder { /** * Add and search a JRE path .
* @ param dir
* the JRE directory
* @ return true if the directory was readable . */
private static boolean addJREPath ( final File dir ) { } } | if ( dir != null && ! dir . getPath ( ) . isEmpty ( ) && FileUtils . canRead ( dir ) && dir . isDirectory ( ) ) { final File [ ] dirFiles = dir . listFiles ( ) ; if ( dirFiles != null ) { for ( final File file : dirFiles ) { final String filePath = file . getPath ( ) ; if ( filePath . endsWith ( ".jar" ) ) { final Stri... |
public class RedBlackTreeLong { /** * Remove the node containing the given key and element . The node MUST exists , else the tree won ' t be valid anymore . */
@ Override public void removeInstance ( long key , T instance ) { } } | if ( first . value == key && instance == first . element ) { removeMin ( ) ; return ; } if ( last . value == key && instance == last . element ) { removeMax ( ) ; return ; } // if both children of root are black , set root to red
if ( ( root . left == null || ! root . left . red ) && ( root . right == null || ! root . ... |
public class JobInfoPrintUtils { /** * Print properties of a specific job
* @ param jobExecutionInfoOptional */
public static void printJobProperties ( Optional < JobExecutionInfo > jobExecutionInfoOptional ) { } } | if ( ! jobExecutionInfoOptional . isPresent ( ) ) { System . err . println ( "Job not found." ) ; return ; } List < List < String > > data = new ArrayList < > ( ) ; List < String > flags = Arrays . asList ( "" , "-" ) ; List < String > labels = Arrays . asList ( "Property Key" , "Property Value" ) ; for ( Map . Entry <... |
public class LinearModel { /** * 加载模型
* @ param modelFile
* @ throws IOException */
public void load ( String modelFile ) throws IOException { } } | if ( HanLP . Config . DEBUG ) logger . start ( "加载 %s ... " , modelFile ) ; ByteArrayStream byteArray = ByteArrayStream . createByteArrayStream ( modelFile ) ; if ( ! load ( byteArray ) ) { throw new IOException ( String . format ( "%s 加载失败" , modelFile ) ) ; } if ( HanLP . Config . DEBUG ) logger . finish ( " 加载完毕\n" ... |
public class ServerView { /** * Creates the columns for the view */
@ Override public void createPartControl ( Composite parent ) { } } | Tree main = new Tree ( parent , SWT . SINGLE | SWT . FULL_SELECTION | SWT . H_SCROLL | SWT . V_SCROLL ) ; main . setHeaderVisible ( true ) ; main . setLinesVisible ( false ) ; main . setLayoutData ( new GridData ( GridData . FILL_BOTH ) ) ; TreeColumn serverCol = new TreeColumn ( main , SWT . SINGLE ) ; serverCol . set... |
public class BoxAPIResponse { /** * Gets the value of the given header field .
* @ param fieldName name of the header field .
* @ return value of the header . */
public String getHeaderField ( String fieldName ) { } } | // headers map is null for all regular response calls except when made as a batch request
if ( this . headers == null ) { if ( this . connection != null ) { return this . connection . getHeaderField ( fieldName ) ; } else { return null ; } } else { return this . headers . get ( fieldName ) ; } |
public class InnerRankUpdate_DDRB { /** * Rank N update function for a symmetric inner submatrix and only operates on the upper
* triangular portion of the submatrix . < br >
* < br >
* A = A - B < sup > T < / sup > B */
public static void symmRankNMinus_U ( int blockLength , DSubmatrixD1 A , DSubmatrixD1 B ) { }... | int heightB = B . row1 - B . row0 ; if ( heightB > blockLength ) throw new IllegalArgumentException ( "Height of B cannot be greater than the block length" ) ; int N = B . col1 - B . col0 ; if ( A . col1 - A . col0 != N ) throw new IllegalArgumentException ( "A does not have the expected number of columns based on B's ... |
public class XtraBox { /** * Removes and recreates tag using specified Date value
* @ param name Tag name to replace
* @ param date New Date value */
public void setTagValue ( String name , Date date ) { } } | removeTag ( name ) ; XtraTag tag = new XtraTag ( name ) ; tag . values . addElement ( new XtraValue ( date ) ) ; tags . addElement ( tag ) ; |
public class GpsMyLocationProvider { /** * Enable location updates and show your current location on the map . By default this will
* request location updates as frequently as possible , but you can change the frequency and / or
* distance by calling { @ link # setLocationUpdateMinTime } and / or { @ link
* # set... | mMyLocationConsumer = myLocationConsumer ; boolean result = false ; for ( final String provider : mLocationManager . getProviders ( true ) ) { if ( locationSources . contains ( provider ) ) { try { mLocationManager . requestLocationUpdates ( provider , mLocationUpdateMinTime , mLocationUpdateMinDistance , this ) ; resu... |
public class CombineFileRecordReader { /** * return progress based on the amount of data processed so far . */
public float getProgress ( ) throws IOException { } } | long subprogress = 0 ; // bytes processed in current split
if ( null != curReader ) { // idx is always one past the current subsplit ' s true index .
subprogress = ( long ) ( curReader . getProgress ( ) * split . getLength ( idx - 1 ) ) ; } return Math . min ( 1.0f , ( progress + subprogress ) / ( float ) ( split . get... |
public class BaseLevel { /** * This function checks the levels nodes and child nodes to see if it can match a spec topic for a topic database id .
* @ param targetId The topic database id
* @ param callerNode The node that called this function so that it isn ' t rechecked
* @ param checkParentNode If the function... | final SpecNode retValue = super . getClosestSpecNodeByTargetId ( targetId , callerNode , checkParentNode ) ; if ( retValue != null ) { return retValue ; } else { // Look up the metadata topics
final ContentSpec contentSpec = getContentSpec ( ) ; for ( final Node contentSpecNode : contentSpec . getNodes ( ) ) { if ( con... |
public class BasePanel { /** * Push this command onto the history stack .
* @ param strHistory The history command to push onto the stack . */
public void pushHistory ( String strHistory , boolean bPushToBrowser ) { } } | if ( m_vHistory == null ) m_vHistory = new Vector < String > ( ) ; m_vHistory . addElement ( strHistory ) ; String strHelp = Utility . fixDisplayURL ( strHistory , true , true , true , this ) ; if ( this . getAppletScreen ( ) != null ) if ( this . getAppletScreen ( ) . getScreenFieldView ( ) != null ) this . getAppletS... |
public class HandlablesImpl { /** * Add object parent super type .
* @ param object The current object to check .
* @ param type The current class level to check . */
private void addSuperClass ( Object object , Class < ? > type ) { } } | for ( final Class < ? > types : type . getInterfaces ( ) ) { addType ( types , object ) ; } final Class < ? > parent = type . getSuperclass ( ) ; if ( parent != null ) { addSuperClass ( object , parent ) ; } |
public class AWSCognitoIdentityProviderClient { /** * Lists the user pools associated with an AWS account .
* @ param listUserPoolsRequest
* Represents the request to list user pools .
* @ return Result of the ListUserPools operation returned by the service .
* @ throws InvalidParameterException
* This except... | request = beforeClientExecution ( request ) ; return executeListUserPools ( request ) ; |
public class ModeOfInheritance { /** * Get all the de novo variants identified for the proband .
* @ param member Child proband .
* @ param variantIterator Variant iterator .
* @ return A list of variants . */
public static List < Variant > deNovoVariants ( Member member , Iterator < Variant > variantIterator ) {... | List < Variant > variantList = new ArrayList < > ( ) ; while ( variantIterator . hasNext ( ) ) { Variant variant = variantIterator . next ( ) ; if ( isDeNovoVariant ( member , variant ) ) { variantList . add ( variant ) ; } } return variantList ; |
public class XBELValidator { /** * { @ inheritDoc } */
@ Override public void validate ( final File f ) throws SAXException , IOException { } } | validate ( utf8SourceForFile ( f ) , null ) ; |
public class Geoshape { /** * Returns the point at the given position . The position must be smaller than { @ link # size ( ) } .
* @ param position
* @ return */
public Point getPoint ( int position ) { } } | if ( position < 0 || position >= size ( ) ) throw new ArrayIndexOutOfBoundsException ( "Invalid position: " + position ) ; return new Point ( coordinates [ 0 ] [ position ] , coordinates [ 1 ] [ position ] ) ; |
public class JvmTypesBuilder { /** * / * @ Nullable */
@ Deprecated public JvmAnnotationReference toAnnotation ( /* @ Nullable */
EObject sourceElement , /* @ Nullable */
String annotationTypeName ) { } } | return toAnnotation ( sourceElement , annotationTypeName , null ) ; |
public class JimfsFileStore { /** * Returns an attribute view of the given type for the given file lookup callback , or { @ code null }
* if the view type is not supported . */
@ Nullable < V extends FileAttributeView > V getFileAttributeView ( FileLookup lookup , Class < V > type ) { } } | state . checkOpen ( ) ; return attributes . getFileAttributeView ( lookup , type ) ; |
public class Network { /** * Create connections between a single switch and multiple physical elements
* @ param bandwidth the maximal bandwidth for the connection
* @ param sw the switch to connect
* @ param pelts a list of physical elements to connect
* @ return a list of links */
public List < Link > connect... | List < Link > l = new ArrayList < > ( ) ; for ( PhysicalElement pe : pelts ) { l . add ( connect ( bandwidth , sw , pe ) ) ; } return l ; |
public class PostConditionException { /** * Validates that the value is greater than a limit .
* This method ensures that < code > value > limit < / code > .
* @ param identifier The name of the object .
* @ param limit The limit that the value must exceed .
* @ param value The value to be tested .
* @ throws... | if ( value > limit ) { return ; } throw new PostConditionException ( identifier + " was not greater than " + limit + ". Was: " + value ) ; |
public class CodeGenerator { /** * Generates the main class used for creating the extractor objects and later generating the insert statements .
* For each passed table a appropriate creation method will be generated that will return the new object and internally add it to the list of objects that
* will be used to... | Objects . requireNonNull ( tables ) ; // get package from the table models
final String targetPackage = ( ( TableModel ) tables . toArray ( ) [ 0 ] ) . getPackageName ( ) ; final ST template = this . stGroup . getInstanceOf ( "mainClass" ) ; LOG . debug ( "Filling main class template containing helpers for {} classes..... |
public class TargetTrackingConfigurationMarshaller { /** * Marshall the given parameter object . */
public void marshall ( TargetTrackingConfiguration targetTrackingConfiguration , ProtocolMarshaller protocolMarshaller ) { } } | if ( targetTrackingConfiguration == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( targetTrackingConfiguration . getPredefinedScalingMetricSpecification ( ) , PREDEFINEDSCALINGMETRICSPECIFICATION_BINDING ) ; protocolMarshaller . marshall ( ... |
public class RuleBasedCollator { /** * Sets the orders of lower cased characters to sort before upper cased characters , in strength TERTIARY . The
* default mode is false . If true is set , the RuleBasedCollator will sort lower cased characters before the upper
* cased ones . Otherwise , if false is set , the Rule... | checkNotFrozen ( ) ; if ( lowerfirst == isLowerCaseFirst ( ) ) { return ; } CollationSettings ownedSettings = getOwnedSettings ( ) ; ownedSettings . setCaseFirst ( lowerfirst ? CollationSettings . CASE_FIRST : 0 ) ; setFastLatinOptions ( ownedSettings ) ; |
public class FilterTargetData { /** * Create a string containing all the tags from method and class annotations
* @ param mAnnotation Method annotation
* @ param cAnnotation Class annotation
* @ return The string of tags */
private static String mergeTags ( ProbeTest mAnnotation , ProbeTestClass cAnnotation ) { }... | List < String > tags = new ArrayList < > ( ) ; if ( mAnnotation != null ) { tags . addAll ( Arrays . asList ( mAnnotation . tags ( ) ) ) ; } if ( cAnnotation != null ) { tags . addAll ( Arrays . asList ( cAnnotation . tags ( ) ) ) ; } return Arrays . toString ( tags . toArray ( new String [ tags . size ( ) ] ) ) ; |
public class JPAAuditLogService { /** * / * ( non - Javadoc )
* @ see org . jbpm . process . audit . AuditLogService # findNodeInstances ( long , java . lang . String ) */
@ Override public List < NodeInstanceLog > findNodeInstances ( long processInstanceId , String nodeId ) { } } | EntityManager em = getEntityManager ( ) ; Query query = em . createQuery ( "FROM NodeInstanceLog n WHERE n.processInstanceId = :processInstanceId AND n.nodeId = :nodeId ORDER BY date,id" ) . setParameter ( "processInstanceId" , processInstanceId ) . setParameter ( "nodeId" , nodeId ) ; return executeQuery ( query , em ... |
public class SimpleDistanceConstraint { /** * Remove an [ lb , ub ] interval between the two { @ link TimePoint } s of this constraint .
* @ param i The interval to remove .
* @ return { @ code true } if the interval was removed , { @ code false } if this was
* an attempt to remove the active constraint . */
publ... | if ( bs . remove ( i ) ) { Bounds intersection = new Bounds ( 0 , APSPSolver . INF ) ; for ( Bounds toIntersect : bs ) { // intersection = intervalIntersect ( intersection , toIntersect ) ; / / intervalIntersect ( intersection , inter ) ;
intersection = intersection . intersect ( toIntersect ) ; } minimum = intersectio... |
public class DataStoreScanStatusDAO { /** * For grandfathered in ScanStatuses that did not include a startTime attribute extrapolate it as the earliest
* time a scan range was queued . */
private Date extrapolateStartTimeFromScanRanges ( List < ScanRangeStatus > pendingScanRanges , List < ScanRangeStatus > activeScan... | Date startTime = null ; for ( ScanRangeStatus status : Iterables . concat ( pendingScanRanges , activeScanRanges , completeScanRanges ) ) { Date queuedTime = status . getScanQueuedTime ( ) ; if ( queuedTime != null && ( startTime == null || queuedTime . before ( startTime ) ) ) { startTime = queuedTime ; } } if ( start... |
public class SQLExpressions { /** * Create a new detached SQLQuery instance with the given projection
* @ param exprs distinct projection
* @ return select ( distinct exprs ) */
public static SQLQuery < Tuple > selectDistinct ( Expression < ? > ... exprs ) { } } | return new SQLQuery < Void > ( ) . select ( exprs ) . distinct ( ) ; |
public class LabelProcessor { /** * Get the first label found in the label type . This is independent of the language of the label .
* @ param label the label type which is searched for the first label
* @ return the first label found
* @ throws NotAvailableException if now label is contained in the label type . ... | for ( Label . MapFieldEntry entry : label . getEntryList ( ) ) { for ( String value : entry . getValueList ( ) ) { return value ; } } throw new NotAvailableException ( "Label" ) ; |
public class GeneratorsNameUtil { /** * Return the name of the HTML property to use for a given java { @ link Prop } field .
* @ param propName The name of the Java { @ link Prop }
* @ return The name of the HTML attribute to use for that prop */
public static String propNameToAttributeName ( String propName ) { } ... | return CaseFormat . UPPER_CAMEL . to ( CaseFormat . LOWER_HYPHEN , propName ) . toLowerCase ( ) ; |
public class ReplicationInternal { /** * Set Extra HTTP headers to be sent in all requests to the remote server . */
@ InterfaceAudience . Public public void setHeaders ( Map < String , Object > requestHeadersParam ) { } } | if ( requestHeadersParam != null && ! requestHeaders . equals ( requestHeadersParam ) ) { requestHeaders = requestHeadersParam ; } |
public class MemcachedSessionService { /** * Check if the given session id does not belong to this tomcat ( according to the
* local jvmRoute and the jvmRoute in the session id ) . If the session contains a
* different jvmRoute load if from memcached . If the session was found in memcached and
* if it ' s valid i... | if ( ! _sticky ) { return null ; } final String localJvmRoute = _manager . getJvmRoute ( ) ; if ( localJvmRoute != null && ! localJvmRoute . equals ( getSessionIdFormat ( ) . extractJvmRoute ( requestedSessionId ) ) ) { // the session might already be relocated , e . g . if some ajax calls are running concurrently .
//... |
public class PdfCell { /** * Gets the lines of a cell that can be drawn between certain limits .
* Remark : all the lines that can be drawn are removed from the object !
* @ paramtopthe top of the part of the table that can be drawn
* @ parambottomthe bottom of the part of the table that can be drawn
* @ return... | float lineHeight ; float currentPosition = Math . min ( getTop ( ) , top ) ; setTop ( currentPosition + cellspacing ) ; ArrayList result = new ArrayList ( ) ; // if the bottom of the page is higher than the top of the cell : do nothing
if ( getTop ( ) < bottom ) { return result ; } // we loop over the lines
int size = ... |
public class CategoryMap { /** * Add a category to the config map . */
final void put ( final String name , final LoggerConfig value ) { } } | LoggerConfig config = categories . get ( name ) ; if ( config != null ) { config . merge ( value ) ; } else { categories . put ( name , value ) ; } |
public class WebContainer { /** * Servlet 4.0 */
@ Reference ( cardinality = ReferenceCardinality . MANDATORY , policy = ReferencePolicy . DYNAMIC , policyOption = ReferencePolicyOption . GREEDY ) protected void setURIMatcherFactory ( URIMatcherFactory factory ) { } } | uriMatcherFactory = factory ; |
public class OidcLoginConfigImpl { /** * { @ inheritDoc } */
@ Override public ConsumerUtils getConsumerUtils ( ) { } } | if ( consumerUtils == null ) { // lazy init
SocialLoginService socialLoginService = socialLoginServiceRef . getService ( ) ; if ( socialLoginService != null ) { consumerUtils = new ConsumerUtils ( socialLoginService . getKeyStoreServiceRef ( ) ) ; } else { Tr . warning ( tc , "SERVICE_NOT_FOUND_JWT_CONSUMER_NOT_AVAILAB... |
public class V8ScriptRunner { /** * Convert a Java object to a V8 object . Register all methods of the
* Java object as functions in the created V8 object .
* @ param o the Java object
* @ return the V8 object */
private V8Object convertJavaObject ( Object o ) { } } | V8Object v8o = new V8Object ( runtime ) ; Method [ ] methods = o . getClass ( ) . getMethods ( ) ; for ( Method m : methods ) { v8o . registerJavaMethod ( o , m . getName ( ) , m . getName ( ) , m . getParameterTypes ( ) ) ; } return v8o ; |
public class NaaccrXmlDictionaryUtils { /** * Extracts the NAACCR version from an internal dictionary URI .
* @ param uri internal dictionary URI
* @ return the corresponding NAACCR version , null if it can ' t be extracted */
public static String extractVersionFromUri ( String uri ) { } } | if ( uri == null ) return null ; Matcher matcher = BASE_DICTIONARY_URI_PATTERN . matcher ( uri ) ; if ( matcher . matches ( ) ) return matcher . group ( 1 ) ; else { matcher = DEFAULT_USER_DICTIONARY_URI_PATTERN . matcher ( uri ) ; if ( matcher . matches ( ) ) return matcher . group ( 1 ) ; } return null ; |
public class HTMLReport { /** * Write string
* @ param fw The file writer
* @ param s The string
* @ exception Exception If an error occurs */
static void writeString ( FileWriter fw , String s ) throws Exception { } } | for ( int i = 0 ; i < s . length ( ) ; i ++ ) { fw . write ( ( int ) s . charAt ( i ) ) ; } |
public class LinkedBlockingQueue { /** * Returns an array containing all of the elements in this queue , in
* proper sequence ; the runtime type of the returned array is that of
* the specified array . If the queue fits in the specified array , it
* is returned therein . Otherwise , a new array is allocated with ... | fullyLock ( ) ; try { int size = count . get ( ) ; if ( a . length < size ) a = ( T [ ] ) java . lang . reflect . Array . newInstance ( a . getClass ( ) . getComponentType ( ) , size ) ; int k = 0 ; for ( Node < E > p = head . next ; p != null ; p = p . next ) a [ k ++ ] = ( T ) p . item ; if ( a . length > k ) a [ k ]... |
public class MessageWriter { /** * Writes the body by serializing the given object to XML .
* @ param bodyAsObject The body as object
* @ param < T > The object type */
public < T > void writeBodyFromObject ( T bodyAsObject , Charset charset ) { } } | @ SuppressWarnings ( "unchecked" ) Class < T > clazz = ( Class < T > ) bodyAsObject . getClass ( ) ; ByteArrayOutputStream outputStream = new ByteArrayOutputStream ( ) ; Writer outputWriter = new OutputStreamWriter ( outputStream , charset ) ; try { Marshaller marshaller = JAXBContext . newInstance ( clazz ) . createMa... |
public class IotHubResourcesInner { /** * Get the quota metrics for an IoT hub .
* Get the quota metrics for an IoT hub .
* @ param resourceGroupName The name of the resource group that contains the IoT hub .
* @ param resourceName The name of the IoT hub .
* @ throws IllegalArgumentException thrown if paramete... | return getQuotaMetricsSinglePageAsync ( resourceGroupName , resourceName ) . concatMap ( new Func1 < ServiceResponse < Page < IotHubQuotaMetricInfoInner > > , Observable < ServiceResponse < Page < IotHubQuotaMetricInfoInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < IotHubQuotaMetricInfoInner... |
public class Cursor { /** * Gets token .
* @ return the token */
public char getToken ( ) { } } | int index = getPosition ( ) ; String document = getDocument ( ) ; return index >= document . length ( ) ? NodewalkerCodec . END_OF_STRING : document . charAt ( index ) ; |
public class MavenJDOMWriter { /** * Method updateActivation .
* @ param value
* @ param element
* @ param counter
* @ param xmlTag */
protected void updateActivation ( Activation value , String xmlTag , Counter counter , Element element ) { } } | boolean shouldExist = value != null ; Element root = updateElement ( counter , element , xmlTag , shouldExist ) ; if ( shouldExist ) { Counter innerCount = new Counter ( counter . getDepth ( ) + 1 ) ; findAndReplaceSimpleElement ( innerCount , root , "activeByDefault" , ( value . isActiveByDefault ( ) == false ) ? null... |
public class ApplicationGatewaysInner { /** * Deletes the specified application gateway .
* @ param resourceGroupName The name of the resource group .
* @ param applicationGatewayName The name of the application gateway .
* @ throws IllegalArgumentException thrown if parameters fail the validation
* @ throws Cl... | beginDeleteWithServiceResponseAsync ( resourceGroupName , applicationGatewayName ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class FormLogoutExtensionProcessor { /** * Display the default logout message .
* @ param res */
private void useDefaultLogoutMsg ( HttpServletResponse res ) { } } | try { PrintWriter pw = res . getWriter ( ) ; pw . println ( DEFAULT_LOGOUT_MSG ) ; } catch ( IOException e ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , e . getMessage ( ) ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc ... |
public class Cpe { /** * Validates the CPE attributes .
* @ param vendor1 the vendor
* @ param product1 the product
* @ param version1 the version
* @ param update1 the update version
* @ param edition1 the edition
* @ param language1 the language
* @ param swEdition1 the software edition
* @ param targ... | Status status = Validate . component ( vendor1 ) ; if ( ! status . isValid ( ) ) { throw new CpeValidationException ( "Invalid vendor component: " + status . getMessage ( ) ) ; } status = Validate . component ( product1 ) ; if ( ! status . isValid ( ) ) { throw new CpeValidationException ( "Invalid product component: "... |
public class Task { /** * Terminates this task and all its running children . This method MUST be called only if this task is running . */
public final void cancel ( ) { } } | cancelRunningChildren ( 0 ) ; Status previousStatus = status ; status = Status . CANCELLED ; if ( tree . listeners != null && tree . listeners . size > 0 ) tree . notifyStatusUpdated ( this , previousStatus ) ; end ( ) ; |
public class UTF8String { /** * Parses this UTF8String to long .
* Note that , in this method we accumulate the result in negative format , and convert it to
* positive format at the end , if this string is not started with ' - ' . This is because min value
* is bigger than max value in digits , e . g . Long . MA... | if ( numBytes == 0 ) { return false ; } byte b = getByte ( 0 ) ; final boolean negative = b == '-' ; int offset = 0 ; if ( negative || b == '+' ) { offset ++ ; if ( numBytes == 1 ) { return false ; } } final byte separator = '.' ; final int radix = 10 ; final long stopValue = Long . MIN_VALUE / radix ; long result = 0 ... |
public class DefaultGroovyMethods { /** * Sums the result of apply a closure to each item returned from an iterator .
* < code > iter . sum ( closure ) < / code > is equivalent to :
* < code > iter . collect ( closure ) . sum ( ) < / code > . The iterator will become
* exhausted of elements after determining the ... | return sum ( toList ( self ) , null , closure , true ) ; |
public class ValueEnforcer { /** * Check that the passed map is neither < code > null < / code > nor empty and that
* no < code > null < / code > key or value is contained .
* @ param < T >
* Type to be checked and returned
* @ param aValue
* The map to check . May be < code > null < / code > .
* @ param aN... | if ( isEnabled ( ) ) if ( aValue != null ) { for ( final Map . Entry < ? , ? > aEntry : aValue . entrySet ( ) ) { if ( aEntry . getKey ( ) == null ) throw new IllegalArgumentException ( "A key of map '" + aName . get ( ) + "' may not be null!" ) ; if ( aEntry . getValue ( ) == null ) throw new IllegalArgumentException ... |
public class ComponentCollision { /** * Check others element .
* @ param objectA The collidable reference .
* @ param current The current group to check .
* @ param acceptedGroup The accepted group . */
private void checkOthers ( Collidable objectA , Entry < Point , Set < Collidable > > current , Integer accepted... | final Map < Point , Set < Collidable > > acceptedElements = collidables . get ( acceptedGroup ) ; final Point point = current . getKey ( ) ; if ( acceptedElements . containsKey ( point ) ) { checkPoint ( objectA , acceptedElements , point ) ; } |
public class StatsCollector { /** * Adds a { @ code host = hostname } or { @ code fqdn = full . host . name } tag .
* This uses { @ link InetAddress # getLocalHost } to find the hostname of the
* current host . If the hostname cannot be looked up , { @ code ( unknown ) }
* is used instead .
* @ param canonical ... | try { if ( canonical ) { addExtraTag ( "fqdn" , InetAddress . getLocalHost ( ) . getCanonicalHostName ( ) ) ; } else { addExtraTag ( "host" , InetAddress . getLocalHost ( ) . getHostName ( ) ) ; } } catch ( UnknownHostException x ) { LOG . error ( "WTF? Can't find hostname for localhost!" , x ) ; addExtraTag ( "host" ... |
public class PatternRuleMatcher { /** * Creates a Cartesian product of the arrays stored in the input array .
* @ param input Array of string arrays to combine .
* @ param output Work array of strings .
* @ param r Starting parameter ( use 0 to get all combinations ) .
* @ param lang Text language for adding sp... | List < String > outputList = new ArrayList < > ( ) ; if ( r == input . length ) { StringBuilder sb = new StringBuilder ( ) ; for ( int k = 0 ; k < output . length ; k ++ ) { sb . append ( output [ k ] ) ; if ( k < output . length - 1 ) { sb . append ( StringTools . addSpace ( output [ k + 1 ] , lang ) ) ; } } outputLis... |
public class ILFBuilder { /** * Passes the layout root of each of these documents to mergeChildren causing all children of
* newLayout to be merged into compositeLayout following merging protocal for distributed layout
* management .
* @ throws AuthorizationException */
public static void mergeFragment ( Document... | Element fragmentLayout = fragment . getDocumentElement ( ) ; Element fragmentRoot = ( Element ) fragmentLayout . getFirstChild ( ) ; Element compositeLayout = composite . getDocumentElement ( ) ; Element compositeRoot = ( Element ) compositeLayout . getFirstChild ( ) ; mergeChildren ( fragmentRoot , compositeRoot , ap ... |
public class HystrixPlugins { /** * Retrieve instance of { @ link HystrixMetricsPublisher } to use based on order of precedence as defined in { @ link HystrixPlugins } class header .
* Override default by using { @ link # registerMetricsPublisher ( HystrixMetricsPublisher ) } or setting property ( via Archaius ) : < ... | if ( metricsPublisher . get ( ) == null ) { // check for an implementation from Archaius first
Object impl = getPluginImplementation ( HystrixMetricsPublisher . class ) ; if ( impl == null ) { // nothing set via Archaius so initialize with default
metricsPublisher . compareAndSet ( null , HystrixMetricsPublisherDefault... |
public class InstanceClient { /** * Sets deletion protection on the instance .
* < p > Sample code :
* < pre > < code >
* try ( InstanceClient instanceClient = InstanceClient . create ( ) ) {
* ProjectZoneInstanceResourceName resource = ProjectZoneInstanceResourceName . of ( " [ PROJECT ] " , " [ ZONE ] " , " [... | SetDeletionProtectionInstanceHttpRequest request = SetDeletionProtectionInstanceHttpRequest . newBuilder ( ) . setResource ( resource ) . setDeletionProtection ( deletionProtection ) . build ( ) ; return setDeletionProtectionInstance ( request ) ; |
public class SimpleExpressionsSwitch { /** * Calls < code > caseXXX < / code > for each class of the model until one returns a non null result ; it yields that result .
* < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ return the first non - null result returned by a < code > caseXXX < / cod... | switch ( classifierID ) { case SimpleExpressionsPackage . IF_CONDITION : { IfCondition ifCondition = ( IfCondition ) theEObject ; T result = caseIfCondition ( ifCondition ) ; if ( result == null ) result = defaultCase ( theEObject ) ; return result ; } case SimpleExpressionsPackage . EXPRESSION : { Expression expressio... |
public class KunderaCriteriaBuilder { /** * ( non - Javadoc )
* @ see
* javax . persistence . criteria . CriteriaBuilder # le ( javax . persistence . criteria
* . Expression , javax . persistence . criteria . Expression ) */
@ Override public Predicate le ( Expression < ? extends Number > arg0 , Expression < ? ex... | // TODO Auto - generated method stub
return null ; |
public class CpcCompression { /** * visible for test */
static void lowLevelUncompressBytes ( final byte [ ] byteArray , // output
final int numBytesToDecode , // input ( but refers to the output )
final short [ ] decodingTable , // input
final int [ ] compressedWords , // input
final long numCompressedWords ) { } } | // input
int byteIndex = 0 ; int nextWordIndex = 0 ; long bitBuf = 0 ; int bufBits = 0 ; assert ( byteArray != null ) ; assert ( decodingTable != null ) ; assert ( compressedWords != null ) ; for ( byteIndex = 0 ; byteIndex < numBytesToDecode ; byteIndex ++ ) { // MAYBE _ FILL _ BITBUF ( compressedWords , wordIndex , 1... |
public class HDFSUtils { /** * Convenient method to check if the given URI string is a WebHDFS URL .
* See { @ link # isHdfsUri ( java . net . URI ) } for more . */
public static boolean isHdfsUri ( String uriStr ) { } } | return isHdfsUri ( URI . create ( PERCENT . matcher ( uriStr ) . replaceAll ( "" ) ) ) ; |
public class BubbleAnimationLayout { /** * Show base view */
@ SuppressWarnings ( "unused" ) public void showBaseView ( ) { } } | if ( ( mForwardAnimatorSet != null && mForwardAnimatorSet . isRunning ( ) ) || ( mAnimationView != null && mAnimationView . isPlaying ( ) ) || ( mReverseAnimatorSet != null && mReverseAnimatorSet . isRunning ( ) ) ) { return ; } if ( mBaseContainer != null ) { mBaseContainer . setVisibility ( VISIBLE ) ; } if ( mAnimat... |
public class KafkaTransporter { /** * - - - SUBSCRIBE - - - */
@ Override public Promise subscribe ( String channel ) { } } | poller . subscribe ( channel ) ; return Promise . resolve ( ) ; |
public class CancelableDiagnostician { /** * Use { @ link # checkCanceled } instead to throw a platform specific cancellation exception . */
@ Deprecated protected boolean isCanceled ( Map < Object , Object > context ) { } } | CancelIndicator indicator = getCancelIndicator ( context ) ; return indicator != null && indicator . isCanceled ( ) ; |
public class LocaleMatcher { /** * Get the best match for an individual language code .
* @ param languageCode
* @ return best matching language code and weight ( as per
* { @ link # match ( ULocale , ULocale ) } ) */
private ULocale getBestMatchInternal ( ULocale languageCode , OutputDouble outputWeight ) { } } | languageCode = canonicalize ( languageCode ) ; final ULocale maximized = addLikelySubtags ( languageCode ) ; if ( DEBUG ) { System . out . println ( "\ngetBestMatchInternal: " + languageCode + ";\t" + maximized ) ; } double bestWeight = 0 ; ULocale bestTableMatch = null ; String baseLanguage = maximized . getLanguage (... |
public class MoneyAmountStyle { /** * Gets the prototype localized style for the given locale .
* This uses { @ link DecimalFormatSymbols } and { @ link NumberFormat } .
* The method { @ code DecimalFormatSymbols . getInstance ( locale ) } will be used
* in order to allow the use of locales defined as extensions ... | MoneyAmountStyle protoStyle = LOCALIZED_CACHE . get ( locale ) ; if ( protoStyle == null ) { DecimalFormatSymbols symbols = DecimalFormatSymbols . getInstance ( locale ) ; NumberFormat format = NumberFormat . getCurrencyInstance ( locale ) ; int size = ( format instanceof DecimalFormat ? ( ( DecimalFormat ) format ) . ... |
public class ConditionalFunctions { /** * Returned expression results in first non - MISSING , non - NaN number .
* Returns MISSING or NULL if a non - number input is encountered first */
public static Expression ifNaN ( Expression expression1 , Expression expression2 , Expression ... others ) { } } | return build ( "IFNAN" , expression1 , expression2 , others ) ; |
public class PlaidClient { /** * A helper to assist with decoding unsuccessful responses .
* This is not done automatically , because an unsuccessful result may have many causes
* such as network issues , intervening HTTP proxies , load balancers , partial responses , etc ,
* which means that a response can easil... | if ( response . isSuccessful ( ) ) { throw new IllegalArgumentException ( "Response must be unsuccessful." ) ; } Converter < ResponseBody , ErrorResponse > responseBodyObjectConverter = retrofit . responseBodyConverter ( ErrorResponse . class , new Annotation [ 0 ] ) ; try { return responseBodyObjectConverter . convert... |
public class Classfile { /** * Read the class ' methods .
* @ throws IOException
* if an I / O exception occurs .
* @ throws ClassfileFormatException
* if the classfile is incorrectly formatted . */
private void readMethods ( ) throws IOException , ClassfileFormatException { } } | // Methods
final int methodCount = inputStreamOrByteBuffer . readUnsignedShort ( ) ; for ( int i = 0 ; i < methodCount ; i ++ ) { // Info on modifier flags : http : / / docs . oracle . com / javase / specs / jvms / se7 / html / jvms - 4 . html # jvms - 4.6
final int methodModifierFlags = inputStreamOrByteBuffer . readU... |
public class LastaToActionFilter { protected void viaEmbeddedFilter ( HttpServletRequest request , HttpServletResponse response , FilterChain chain ) throws IOException , ServletException { } } | routingFilter . doFilter ( request , response , prepareFinalChain ( chain ) ) ; // # to _ action |
public class DisqueClient { /** * Open a new connection to a Disque server with the supplied { @ link DisqueURI } that treats keys and values as UTF - 8
* strings . Command timeouts are applied from the given { @ link DisqueURI # getTimeout ( ) } settings .
* @ param disqueURI the disque server to connect to , must... | return connect ( new Utf8StringCodec ( ) , disqueURI , SocketAddressSupplierFactory . Factories . ROUND_ROBIN ) ; |
public class TemplateEngine { /** * Internal method that initializes the Template Engine instance . This method
* is called before the first execution of { @ link TemplateEngine # process ( String , IContext ) }
* or { @ link TemplateEngine # processThrottled ( String , IContext ) }
* in order to create all the s... | if ( ! this . initialized ) { synchronized ( this ) { if ( ! this . initialized ) { logger . debug ( "[THYMELEAF] INITIALIZING TEMPLATE ENGINE" ) ; // First of all , give subclasses the opportunity to modify the base configuration
initializeSpecific ( ) ; // We need at least one template resolver at this point - we set... |
public class SourceMapGeneratorV3 { /** * Source map field helpers . */
private static void appendFirstField ( Appendable out , String name , CharSequence value ) throws IOException { } } | appendFieldStart ( out , name , true ) ; out . append ( value ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.