signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class HpackDynamicTable { /** * Return the number of header fields in the dynamic table . */
public int length ( ) { } } | int length ; if ( head < tail ) { length = hpackHeaderFields . length - tail + head ; } else { length = head - tail ; } return length ; |
public class Polygon { /** * Return the minimal distance between this coordinate and any vertex of the geometry .
* @ return Return the minimal distance */
public double getDistance ( Coordinate coordinate ) { } } | double distance = Double . MAX_VALUE ; if ( ! isEmpty ( ) ) { for ( LinearRing interiorRing : interiorRings ) { double d = interiorRing . getDistance ( coordinate ) ; if ( d < distance ) { distance = d ; } } double d = exteriorRing . getDistance ( coordinate ) ; if ( d < distance ) { distance = d ; } } return distance ... |
public class CommerceOrderNoteLocalServiceWrapper { /** * Deletes the commerce order note from the database . Also notifies the appropriate model listeners .
* @ param commerceOrderNote the commerce order note
* @ return the commerce order note that was removed */
@ Override public com . liferay . commerce . model ... | return _commerceOrderNoteLocalService . deleteCommerceOrderNote ( commerceOrderNote ) ; |
public class OMVRBTree { /** * Associates the specified value with the specified key in this map . If the map previously contained a mapping for the key , the
* old value is replaced .
* @ param key
* key with which the specified value is to be associated
* @ param value
* value to be associated with the spec... | OMVRBTreeEntry < K , V > parentNode = null ; try { if ( root == null ) { root = createEntry ( key , value ) ; root . setColor ( BLACK ) ; setSize ( 1 ) ; modCount ++ ; return null ; } // TRY TO GET LATEST SEARCH
parentNode = getLastSearchNodeForSameKey ( key ) ; if ( parentNode != null ) { if ( lastSearchFound ) { // E... |
public class WebhooksInner { /** * Triggers a ping event to be sent to the webhook .
* @ param resourceGroupName The name of the resource group to which the container registry belongs .
* @ param registryName The name of the container registry .
* @ param webhookName The name of the webhook .
* @ throws Illegal... | return pingWithServiceResponseAsync ( resourceGroupName , registryName , webhookName ) . map ( new Func1 < ServiceResponse < EventInfoInner > , EventInfoInner > ( ) { @ Override public EventInfoInner call ( ServiceResponse < EventInfoInner > response ) { return response . body ( ) ; } } ) ; |
public class SynchronizeCommand { /** * Synchronizes all classes in the given directory tree to the server .
* @ param pkg The name of the package associated with the root of the
* directory tree .
* @ param path The < code > File < / code > indicating the root of the directory
* tree .
* @ param conf The app... | if ( ! path . isDirectory ( ) ) { throw new IllegalArgumentException ( path . getAbsolutePath ( ) . concat ( " is not a directory." ) ) ; } for ( File file : path . listFiles ( ) ) { if ( file . isDirectory ( ) ) { synchronize ( combine ( pkg , file . getName ( ) ) , file , conf ) ; } else { String fileName = file . ge... |
public class SoftTFIDFDictionary { /** * for debug */
private void showLookup ( int n ) { } } | for ( int i = 0 ; i < n ; i ++ ) { System . out . println ( result . get ( i ) ) ; } |
public class HttpLogger { /** * * * * * * Public methods * * * * * */
public static void start ( final Logger logger , final Logger auditor , final HttpServletRequest request ) { } } | start ( logger , auditor , request , null ) ; |
public class CollectionUtils { /** * Converts an { @ link Iterable } to a { @ link Set } .
* @ param iterable The iterable
* @ param < T > The generic type
* @ return The set */
public static < T > Set < T > iterableToSet ( Iterable < T > iterable ) { } } | if ( iterable == null ) { return Collections . emptySet ( ) ; } if ( iterable instanceof Set ) { return ( Set < T > ) iterable ; } Iterator < T > i = iterable . iterator ( ) ; if ( i . hasNext ( ) ) { Set < T > list = new HashSet < > ( ) ; while ( i . hasNext ( ) ) { list . add ( i . next ( ) ) ; } return list ; } retu... |
public class NumberRuleItem { /** * Gets the key value for this NumberRuleItem .
* @ return key * < span class = " constraint Required " > This field is required and
* should not be { @ code null } . < / span > */
public com . google . api . ads . adwords . axis . v201809 . rm . NumberKey getKey ( ) { } } | return key ; |
public class DefaultGroovyMethods { /** * Sprintf to a string .
* @ param self any Object
* @ param format a format string
* @ param values values referenced by the format specifiers in the format string
* @ return the resulting formatted string
* @ since 1.5.0 */
public static String sprintf ( Object self , ... | ByteArrayOutputStream outputStream = new ByteArrayOutputStream ( ) ; PrintStream out = new PrintStream ( outputStream ) ; out . printf ( format , values ) ; return outputStream . toString ( ) ; |
public class JDBCUtils { /** * Query a single record
* @ param sql
* @ param args
* @ return List < T > */
public static < T > List < T > queryForList ( String sql , Class < T > clz , Object ... args ) { } } | List < T > result = new ArrayList < T > ( ) ; Connection con = null ; PreparedStatement ps = null ; ResultSet rs = null ; try { con = getconnnection ( ) ; ps = con . prepareStatement ( sql ) ; if ( args != null ) { for ( int i = 0 ; i < args . length ; i ++ ) { ps . setObject ( ( i + 1 ) , args [ i ] ) ; } } rs = ps . ... |
public class Ifc2x3tc1PackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public EClass getIfcProjectionElement ( ) { } } | if ( ifcProjectionElementEClass == null ) { ifcProjectionElementEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( Ifc2x3tc1Package . eNS_URI ) . getEClassifiers ( ) . get ( 396 ) ; } return ifcProjectionElementEClass ; |
public class PageSourcePool { /** * clear unused pages from page pool */
public void clearUnused ( ConfigImpl config ) { } } | SystemOut . printDate ( config . getOutWriter ( ) , "PagePool: " + size ( ) + ">(" + maxSize + ")" ) ; if ( size ( ) > maxSize ) { String [ ] keys = keys ( ) ; LongKeyList list = new LongKeyList ( ) ; for ( int i = 0 ; i < keys . length ; i ++ ) { PageSource ps = getPageSource ( keys [ i ] , false ) ; long updateTime =... |
public class StatsProcInputTable { /** * Sort by total bytes out */
public int compareByInput ( ProcInputRow r1 , ProcInputRow r2 ) { } } | if ( r1 . avgIN * r1 . invocations > r2 . avgIN * r2 . invocations ) { return 1 ; } else if ( r1 . avgIN * r1 . invocations < r2 . avgIN * r2 . invocations ) { return - 1 ; } else { return 0 ; } |
public class MbrDecoder { /** * Computes the MBR variable configuration from the marginals cached in the
* inferencer , which is assumed to have already been run . The outputs are
* stored on the class , and can be queried after this call to decode . */
public void decode ( FgInferencer infLatPred , UFgExample ex )... | FactorGraph fgLatPred = ex . getFactorGraph ( ) ; mbrVarConfig = new VarConfig ( ) ; margs = new ArrayList < VarTensor > ( ) ; varMargMap = new HashMap < Var , Double > ( ) ; // Get the MBR configuration of all the latent and predicted
// variables .
if ( prm . loss == Loss . L1 || prm . loss == Loss . MSE ) { for ( in... |
public class ObjectFactory { /** * Create an instance of { @ link JAXBElement } { @ code < } { @ link EnvironmentType } { @ code > } } */
@ XmlElementDecl ( namespace = "urn:oasis:names:tc:xacml:2.0:context:schema:os" , name = "Environment" ) public JAXBElement < EnvironmentType > createEnvironment ( EnvironmentType va... | return new JAXBElement < EnvironmentType > ( _Environment_QNAME , EnvironmentType . class , null , value ) ; |
public class Mediawiki { /** * get a current IsoTimeStamp
* @ return - the current timestamp */
public String getIsoTimeStamp ( ) { } } | TimeZone tz = TimeZone . getTimeZone ( "UTC" ) ; DateFormat df = new SimpleDateFormat ( "yyyy-MM-dd'T'HH:mm:ssX" ) ; df . setTimeZone ( tz ) ; String nowAsISO = df . format ( new Date ( ) ) ; return nowAsISO ; |
public class ApiClientInternals { /** * Validates server connection and authentication .
* @ throws ApplicationUnavailableException if no connection .
* @ throws AuthenticationException if failed authentication . */
void validate ( ) throws ApplicationUnavailableException , AuthenticationException { } } | V1ConnectionValidator validator = new V1ConnectionValidator ( applicationPath , username , password , proxySettings ) ; for ( String key : customHttpHeaders . keySet ( ) ) { validator . getCustomHttpHeaders ( ) . put ( key , customHttpHeaders . get ( key ) ) ; } try { validator . checkConnection ( ) ; } catch ( Connect... |
public class ReshardingConfiguration { /** * A list of preferred availability zones for the nodes in this cluster .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setPreferredAvailabilityZones ( java . util . Collection ) } or
* { @ link # withPreferredAva... | if ( this . preferredAvailabilityZones == null ) { setPreferredAvailabilityZones ( new com . amazonaws . internal . SdkInternalList < String > ( preferredAvailabilityZones . length ) ) ; } for ( String ele : preferredAvailabilityZones ) { this . preferredAvailabilityZones . add ( ele ) ; } return this ; |
public class ReservoirLongsSketch { /** * Returns a byte array representation of this sketch
* @ return a byte array representation of this sketch */
public byte [ ] toByteArray ( ) { } } | final int preLongs , outBytes ; final boolean empty = itemsSeen_ == 0 ; final int numItems = ( int ) Math . min ( reservoirSize_ , itemsSeen_ ) ; if ( empty ) { preLongs = 1 ; outBytes = 8 ; } else { preLongs = Family . RESERVOIR . getMaxPreLongs ( ) ; outBytes = ( preLongs + numItems ) << 3 ; // for longs , we know th... |
public class ExecutionDAOFacade { /** * Removes the workflow from the data store .
* @ param workflowId the id of the workflow to be removed
* @ param archiveWorkflow if true , the workflow will be archived in the { @ link IndexDAO } after removal from { @ link ExecutionDAO } */
public void removeWorkflow ( String ... | try { Workflow workflow = getWorkflowById ( workflowId , true ) ; // remove workflow from ES
if ( archiveWorkflow ) { // Add to elasticsearch
indexDAO . updateWorkflow ( workflowId , new String [ ] { RAW_JSON_FIELD , ARCHIVED_FIELD } , new Object [ ] { objectMapper . writeValueAsString ( workflow ) , true } ) ; } else ... |
public class BootstrapHandlers { /** * Add the configuration consumer to this { @ link Bootstrap } given a unique
* configuration name . Configuration will be run on channel init .
* @ param b a bootstrap
* @ param name a configuration name
* @ param c a configuration consumer
* @ return the mutated bootstrap... | Objects . requireNonNull ( b , "bootstrap" ) ; Objects . requireNonNull ( name , "name" ) ; Objects . requireNonNull ( c , "configuration" ) ; b . handler ( updateConfiguration ( b . config ( ) . handler ( ) , name , c ) ) ; return b ; |
public class Module { /** * Tests if the package of the given name is open to the target
* in a qualified fashion . */
public boolean isOpen ( String pn , String target ) { } } | return isOpen ( pn ) || opens . containsKey ( pn ) && opens . get ( pn ) . contains ( target ) ; |
public class ConstraintNetwork { /** * Calculates and returns the maximum time distance from the start of an
* interval to the finish of an interval .
* @ return a < code > Weight < / code > object . */
synchronized Weight getMaximumDuration ( ) { } } | if ( calcMaxDuration == null ) { Weight max = WeightFactory . ZERO ; for ( int i = 0 , n = intervals . size ( ) ; i < n ; i ++ ) { Object start = intervals . get ( i ) . getStart ( ) ; Map < ? , Weight > d = BellmanFord . calcShortestDistances ( start , directedGraph , BellmanFord . Mode . SOURCE ) ; if ( d == null ) {... |
public class DurationConverter { /** * This function will return an empty string if the duration is null or less than zero . This
* function will never return null . */
static public String convertStringFromDuration ( Duration duration , DurationConverterSettings settings ) { } } | if ( ( duration == null ) || ( duration . isNegative ( ) ) ) { return "" ; } long seconds = duration . getSeconds ( ) ; HashSet < DurationUnit > usedUnits = getUsedDurationUnitSet ( settings . smallestUsedUnit , settings . largestUsedUnit ) ; if ( usedUnits . isEmpty ( ) ) { throw new RuntimeException ( "convertStringF... |
public class ByteCodeParser { /** * Reads a chunk */
public int read ( byte [ ] buffer , int offset , int length ) throws IOException { } } | int readLength = 0 ; while ( length > 0 ) { int sublen = _is . read ( buffer , offset , length ) ; if ( sublen < 0 ) return readLength == 0 ? - 1 : readLength ; offset += sublen ; length -= sublen ; readLength += sublen ; } return readLength ; |
public class SimpleRpcDispatcher { /** * Find out which method to call on the service bean . */
protected Method resolveTargetMethod ( Message message , FieldDescriptor payloadField ) { } } | Method targetMethod = fieldToMethod . get ( payloadField ) ; if ( targetMethod == null ) { // look up and cache target method ; this block is called only once
// per target method , so synchronized is ok
synchronized ( this ) { targetMethod = fieldToMethod . get ( payloadField ) ; if ( targetMethod == null ) { String n... |
public class SuffixSensitiveGISModelReader { /** * To convert between different formats of the new style .
* < p > java opennlp . maxent . io . SuffixSensitiveGISModelReader old _ model _ name new _ model _ name
* < p > For example , to convert a model called " model . bin . gz " ( which is thus
* saved in gzippe... | ch . epfl . bbp . shaded . opennlp . maxent . GISModel m = new SuffixSensitiveGISModelReader ( new File ( args [ 0 ] ) ) . getModel ( ) ; new SuffixSensitiveGISModelWriter ( m , new File ( args [ 1 ] ) ) . persist ( ) ; |
public class DynamicByteBuffer { /** * Write small double array .
* @ param values the values */
public void writeSmallDoubleArray ( double [ ] values ) { } } | int byteSize = values . length * 8 + 1 ; this . addUnsignedByte ( ( short ) values . length ) ; doWriteDoubleArray ( values , byteSize ) ; |
public class Env { /** * Get function of current template first , getting shared function if null before */
public Define getFunction ( String functionName ) { } } | Define func = functionMap . get ( functionName ) ; return func != null ? func : engineConfig . getSharedFunction ( functionName ) ; |
public class WriteSharedClass { /** * ReadFieldClass .
* Required :
* recFieldData record
* Returns :
* strFieldClass - BaseField Class to read
* strBaseClass - Base BaseField Class
* recFieldData - with the correct fields */
public ClassInfo readFieldClass ( ) { } } | try { String strBaseClass = null ; String strFieldClass = "Error-no based records" ; Record recClassInfo = this . getMainRecord ( ) ; FieldData recFieldData = ( FieldData ) this . getRecord ( FieldData . FIELD_DATA_FILE ) ; String strRecordClass = recFieldData . getField ( FieldData . FIELD_FILE_NAME ) . getString ( ) ... |
public class Matrix4f { /** * Set this matrix to represent a perspective projection equivalent to the given intrinsic camera calibration parameters .
* The resulting matrix will be suited for a right - handed coordinate system using OpenGL ' s NDC z range of < code > [ - 1 . . + 1 ] < / code > .
* See : < a href = ... | float l00 = 2.0f / imgWidth ; float l11 = 2.0f / imgHeight ; float l22 = 2.0f / ( near - far ) ; this . m00 = l00 * alphaX ; this . m01 = 0.0f ; this . m02 = 0.0f ; this . m03 = 0.0f ; this . m10 = l00 * gamma ; this . m11 = l11 * alphaY ; this . m12 = 0.0f ; this . m13 = 0.0f ; this . m20 = l00 * u0 - 1.0f ; this . m2... |
public class PoiWriterConfiguration { /** * Convenience method .
* @ param file the path to the output file */
public void addOutputFile ( String file ) { } } | if ( file != null ) { File f = new File ( file ) ; if ( f . isDirectory ( ) ) { throw new IllegalArgumentException ( "output file parameter points to a directory, must be a file" ) ; } else if ( f . exists ( ) && ! f . canWrite ( ) ) { throw new IllegalArgumentException ( "output file parameter points to a file we have... |
public class SpiroAtomCountDescriptor { /** * { @ inheritDoc } */
@ Override public DescriptorValue calculate ( IAtomContainer atomContainer ) { } } | int nSpiro = 0 ; try { IAtomContainer local = atomContainer . clone ( ) ; Cycles . markRingAtomsAndBonds ( local ) ; for ( IAtom atom : local . atoms ( ) ) { if ( getSpiroDegree ( local , atom ) != 0 ) nSpiro ++ ; } return new DescriptorValue ( getSpecification ( ) , getParameterNames ( ) , getParameters ( ) , new Inte... |
public class Transaction { /** * The priority ( coin age ) calculation doesn ' t use the regular message size , but rather one adjusted downwards
* for the number of inputs . The goal is to incentivise cleaning up the UTXO set with free transactions , if one
* can do so . */
public int getMessageSizeForPriorityCalc... | int size = getMessageSize ( ) ; for ( TransactionInput input : inputs ) { // 41 : min size of an input
// 110 : enough to cover a compressed pubkey p2sh redemption ( somewhat arbitrary ) .
int benefit = 41 + Math . min ( 110 , input . getScriptSig ( ) . getProgram ( ) . length ) ; if ( size > benefit ) size -= benefit ... |
public class SQLiteExecutor { /** * Find the records from database with the specified < code > sql , parameters < / code > and return the result set .
* @ param targetClass an entity class with getter / setter methods .
* @ param sql set < code > offset < / code > and < code > limit < / code > in sql with format : ... | return query ( targetClass , sql , 0 , Integer . MAX_VALUE , parameters ) ; |
public class MessageItem { /** * ( no persistence required - not in JsMessage ) */
public void setPreferLocal ( boolean preferLocal ) { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { SibTr . entry ( tc , "setPreferLocal" , Boolean . valueOf ( preferLocal ) ) ; SibTr . exit ( tc , "setPreferLocal" ) ; } this . preferLocal = preferLocal ; |
public class QName { /** * Returns the local name of the given node .
* @ param qname Input name
* @ return Prefix of name or empty string if none there */
public static String getPrefixPart ( String qname ) { } } | int index = qname . indexOf ( ':' ) ; return ( index >= 0 ) ? qname . substring ( 0 , index ) : "" ; |
public class Category { /** * Delegates to { @ link org . slf4j . Logger # error ( String ) } method in SLF4J . */
public void error ( Object message ) { } } | differentiatedLog ( null , CATEGORY_FQCN , LocationAwareLogger . ERROR_INT , message , null ) ; |
public class ClassUtils { /** * Create a { @ link Writer } for the given property . A property may be nested using the dot character .
* @ param clazz
* the type containing the property .
* @ param propertyName
* the name of the property .
* @ return a Writer for the property . */
public static Writer getWrit... | int splitPoint = propertyName . indexOf ( '.' ) ; if ( splitPoint > 0 ) { String firstPart = propertyName . substring ( 0 , splitPoint ) ; String secondPart = propertyName . substring ( splitPoint + 1 ) ; return new NestedWriter ( beanClass , firstPart , secondPart ) ; } return new SimpleWriter ( beanClass , propertyNa... |
public class StandardOutput { /** * Parses the string and attempts to determine where the data for the stream should be written . The following are
* the options for the value :
* < ul >
* < li > { @ code none } indicates the data for this stream will be consumed and { @ link # toString ( ) } will return the
* ... | if ( stdout == null ) { return new StandardOutput ( Target . INHERIT , null , Redirect . INHERIT , null ) ; } final Target target ; Path stdoutPath = null ; final OutputStream out ; final String value = stdout . trim ( ) . toLowerCase ( Locale . ENGLISH ) ; if ( "system.out" . equals ( value ) ) { target = Target . SYS... |
public class Collectors { /** * Returns a { @ code Collector } that performs grouping operation by given classifier .
* @ param < T > the type of the input elements
* @ param < K > the type of the keys
* @ param < A > the accumulation type
* @ param < D > the result type of downstream reduction
* @ param clas... | return Collectors . < T , K , D , A , Map < K , D > > groupingBy ( classifier , Collectors . < K , D > hashMapSupplier ( ) , downstream ) ; |
public class LiveData { /** * Returns the current value .
* Note that calling this method on a background thread does not guarantee that the latest
* value set will be received .
* @ return the current value */
@ Nullable public T getValue ( ) { } } | Object data = mData ; if ( data != NOT_SET ) { // noinspection unchecked
return ( T ) data ; } return null ; |
public class VertxCompletableFuture { /** * Returns a new CompletableFuture that is asynchronously completed by a task running in the worker thread pool of
* Vert . x
* This method is different from { @ link CompletableFuture # supplyAsync ( Supplier ) } as it does not use a fork join
* executor , but the worker ... | Objects . requireNonNull ( supplier ) ; VertxCompletableFuture < T > future = new VertxCompletableFuture < > ( context ) ; context . < T > executeBlocking ( fut -> { try { fut . complete ( supplier . get ( ) ) ; } catch ( Throwable e ) { fut . fail ( e ) ; } } , false , ar -> { if ( ar . failed ( ) ) { future . complet... |
public class AbstractXMPPConnection { /** * Establishes a connection to the XMPP server . It basically
* creates and maintains a connection to the server .
* Listeners will be preserved from a previous connection .
* @ throws XMPPException if an error occurs on the XMPP protocol level .
* @ throws SmackExceptio... | // Check if not already connected
throwAlreadyConnectedExceptionIfAppropriate ( ) ; // Reset the connection state
initState ( ) ; saslAuthentication . init ( ) ; streamId = null ; try { // Perform the actual connection to the XMPP service
connectInternal ( ) ; // If TLS is required but the server doesn ' t offer it , d... |
public class CommercePriceListAccountRelPersistenceImpl { /** * Clears the cache for the commerce price list account rel .
* The { @ link EntityCache } and { @ link FinderCache } are both cleared by this method . */
@ Override public void clearCache ( CommercePriceListAccountRel commercePriceListAccountRel ) { } } | entityCache . removeResult ( CommercePriceListAccountRelModelImpl . ENTITY_CACHE_ENABLED , CommercePriceListAccountRelImpl . class , commercePriceListAccountRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINAT... |
public class FileUtil { /** * Enhances Files . copy to directory . If both source and target are
* directories the source directory structure is copied to target . Supports
* also copying from file system to another . I . e source and target doesn ' t
* have to be from same file system .
* @ param source
* @ ... | if ( Files . isRegularFile ( target ) ) { if ( Files . isRegularFile ( target ) ) { Files . copy ( source , target , options ) ; } else { if ( Files . isDirectory ( target ) ) { Path t = target . resolve ( source . getFileName ( ) ) ; Files . copy ( source , t , options ) ; } } } else { if ( Files . isDirectory ( sourc... |
public class BufferedByteInputOutput { /** * Read data to the buffer , starting at offset off .
* Will block until data available , or the input has been closed . */
public int read ( byte [ ] buf , int off , int len ) throws IOException { } } | while ( true ) { lockR . lock ( ) ; try { int available = availableCount . get ( ) ; if ( available > 0 ) { // as long as there is available data
// serve it even if closed
final int lenToRead = Math . min ( available , len ) ; final int lenForward = Math . min ( lenToRead , length - readCursor ) ; final int lenRemaini... |
public class OutputUtil { /** * Appends the calc ( ) function arguments to a string builder .
* @ param sb the string builder to be modified
* @ param args the calc arguments
* @ return Modified < code > sb < / code > to allow chaining */
public static StringBuilder appendCalcArgs ( StringBuilder sb , CalcArgs ar... | final String astr = args . evaluate ( CalcArgs . stringEvaluator ) ; if ( ! astr . startsWith ( FUNCTION_OPENING ) ) { sb . append ( FUNCTION_OPENING ) ; sb . append ( astr ) ; sb . append ( FUNCTION_CLOSING ) ; } else { sb . append ( astr ) ; } return sb ; |
public class ListManagedSchemaArnsRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( ListManagedSchemaArnsRequest listManagedSchemaArnsRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( listManagedSchemaArnsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listManagedSchemaArnsRequest . getSchemaArn ( ) , SCHEMAARN_BINDING ) ; protocolMarshaller . marshall ( listManagedSchemaArnsRequest . getNextToken ( ) , NE... |
public class KeyrefPaser { /** * Serialize DOM node into a SAX stream .
* @ param elem element to serialize
* @ param retainElements { @ code true } to serialize elements , { @ code false } to only serialize text nodes .
* @ param swapMapClass { @ code true } to change map / to topic / in common class attributes ... | if ( retainElements ) { final AttributesImpl atts = new AttributesImpl ( ) ; final NamedNodeMap attrs = elem . getAttributes ( ) ; for ( int i = 0 ; i < attrs . getLength ( ) ; i ++ ) { final Attr a = ( Attr ) attrs . item ( i ) ; if ( a . getNodeName ( ) . equals ( ATTRIBUTE_NAME_CLASS ) && swapMapClass ) { XMLUtils .... |
public class ProxyConfigurationMarshaller { /** * Marshall the given parameter object . */
public void marshall ( ProxyConfiguration proxyConfiguration , ProtocolMarshaller protocolMarshaller ) { } } | if ( proxyConfiguration == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( proxyConfiguration . getType ( ) , TYPE_BINDING ) ; protocolMarshaller . marshall ( proxyConfiguration . getContainerName ( ) , CONTAINERNAME_BINDING ) ; protocolMars... |
public class Assert { /** * Asserts the token produced by an ANTLR tester .
* @ param expectedType the expected type of the token .
* @ param expectedText the expected text of the token .
* @ param lexerResults the result of { @ link Work # scan ( String ) } which will
* produce the token to assert . */
public ... | assertToken ( expectedType , expectedText , lexerResults . getToken ( ) ) ; |
public class Filters { /** * constructs a second filter based on a BYMINUTE rule .
* @ param seconds seconds of the minute in [ 0 , 59] */
static Predicate < DateValue > bySecondFilter ( int [ ] seconds ) { } } | long secondsByBit = 0 ; for ( int second : seconds ) { secondsByBit |= 1L << second ; } if ( ( secondsByBit & LOW_60_BITS ) == LOW_60_BITS ) { return Predicates . alwaysTrue ( ) ; } final long bitField = secondsByBit ; return new Predicate < DateValue > ( ) { public boolean apply ( DateValue date ) { if ( ! ( date inst... |
public class PubSubInputHandler { /** * msgList is a list of MessageItems */
@ Override public void deliverExpressMessage ( MessageItem msgItem , ExpressTargetStream expressTargetStream ) throws SIResourceException , SIIncorrectCallException { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "deliverExpressMessage" , new Object [ ] { msgItem } ) ; // Create transaction
LocalTransaction siTran = _txManager . createLocalTransaction ( false ) ; try { // msg is currently the last message in the list
// get it ' s ti... |
public class AbstractQueueBrowserQuery { /** * / * ( non - Javadoc )
* @ see net . timewalker . ffmq4 . network . packet . AbstractPacket # serializeTo ( net . timewalker . ffmq4 . utils . RawDataOutputStream ) */
@ Override protected void serializeTo ( RawDataBuffer out ) { } } | super . serializeTo ( out ) ; out . writeInt ( browserId . asInt ( ) ) ; |
public class SqlConnRunner { /** * 插入数据 < br >
* 此方法不会关闭Connection
* @ param conn 数据库连接
* @ param record 记录
* @ return 主键列表
* @ throws SQLException SQL执行异常 */
public List < Object > insertForGeneratedKeys ( Connection conn , Entity record ) throws SQLException { } } | checkConn ( conn ) ; if ( CollectionUtil . isEmpty ( record ) ) { throw new SQLException ( "Empty entity provided!" ) ; } PreparedStatement ps = null ; try { ps = dialect . psForInsert ( conn , record ) ; ps . executeUpdate ( ) ; return StatementUtil . getGeneratedKeys ( ps ) ; } catch ( SQLException e ) { throw e ; } ... |
public class RecurringTaskReader { /** * Reads recurring task data .
* @ param task Task instance
* @ param data recurring task data */
public void processRecurringTask ( Task task , byte [ ] data ) { } } | RecurringTask rt = task . addRecurringTask ( ) ; rt . setStartDate ( MPPUtility . getDate ( data , 6 ) ) ; rt . setFinishDate ( MPPUtility . getDate ( data , 10 ) ) ; rt . setDuration ( MPPUtility . getAdjustedDuration ( m_properties , MPPUtility . getInt ( data , 12 ) , MPPUtility . getDurationTimeUnits ( MPPUtility .... |
public class TypeMapStore { /** * Gets or creates a TypeMap . If { @ code converter } is null , the TypeMap is configured with
* implicit mappings , else the { @ code converter } is set against the TypeMap .
* @ param propertyMap to add mappings for ( nullable )
* @ param converter to set ( nullable ) */
@ Suppre... | synchronized ( lock ) { TypePair < S , D > typePair = TypePair . of ( sourceType , destinationType , typeMapName ) ; TypeMapImpl < S , D > typeMap = ( TypeMapImpl < S , D > ) typeMaps . get ( typePair ) ; if ( typeMap == null ) { typeMap = new TypeMapImpl < S , D > ( sourceType , destinationType , typeMapName , config ... |
public class XslImportScanListener { /** * ScanTemplates Method . */
public void scanTemplates ( LineNumberReader reader ) { } } | try { String string ; boolean bTemplate = false ; while ( ( string = reader . readLine ( ) ) != null ) { if ( string . indexOf ( "<xsl:template " ) != - 1 ) bTemplate = true ; if ( bTemplate ) { int iStart = string . indexOf ( "match=\"" ) + 7 ; int iEnd = string . indexOf ( '\"' , iStart ) ; if ( iStart != 6 ) if ( iE... |
public class AbstractClassicTag { /** * This method walks all of the naming chains and allows them to rewrite the < code > name < / code > parameter .
* After the naming chain processes the name , it will be passed to < code > rewriteName < / code > for final processing .
* If the naming chaing returned from < code... | assert ( name != null ) : "The name parameter may not be null" ; List namingChain = getNamingChain ( ) ; if ( namingChain == null ) return rewriteName ( name ) ; // if ( logger . isDebugEnabled ( ) )
// logger . debug ( " rewrite name \ " " + name + " \ " on tag of type \ " " + getClass ( ) . getName ( ) + " with namin... |
public class ConstantsSummaryWriterImpl { /** * { @ inheritDoc } */
public Content getContentsList ( Content contentListTree ) { } } | Content titleContent = getResource ( "doclet.Constants_Summary" ) ; Content pHeading = HtmlTree . HEADING ( HtmlConstants . TITLE_HEADING , true , HtmlStyle . title , titleContent ) ; Content div = HtmlTree . DIV ( HtmlStyle . header , pHeading ) ; Content headingContent = getResource ( "doclet.Contents" ) ; div . addC... |
public class ChronoZonedDateTimeImpl { /** * Obtains an instance from an instant using the specified time - zone .
* @ param chrono the chronology , not null
* @ param instant the instant , not null
* @ param zone the zone identifier , not null
* @ return the zoned date - time , not null */
static < R extends C... | ZoneRules rules = zone . getRules ( ) ; ZoneOffset offset = rules . getOffset ( instant ) ; Jdk8Methods . requireNonNull ( offset , "offset" ) ; // protect against bad ZoneRules
LocalDateTime ldt = LocalDateTime . ofEpochSecond ( instant . getEpochSecond ( ) , instant . getNano ( ) , offset ) ; @ SuppressWarnings ( "un... |
public class AttributeDefinition { /** * Corrects the value if the { @ link ParameterCorrector value corrector } is not { @ code null } . If the { @ link
* ParameterCorrector value corrector } is { @ code null } , the { @ code newValue } parameter is returned .
* @ param newValue the new value .
* @ param oldValu... | if ( valueCorrector != null ) { return valueCorrector . correct ( newValue , oldValue ) ; } return newValue ; |
public class SampleKoan { /** * In this exercise students will learn how to use the multiplication operator in Java */
@ Koan public void makeTheProductOfIAndJ ( ) { } } | int i = 10 ; int j = 5 ; int product = 0 ; product = i * j ; assertThat ( product , is ( 50 ) ) ; |
public class Base { /** * Extend upper bounds . */
public void extendUpperBound ( double [ ] bound ) { } } | if ( bound . length != dimension ) { throw new IllegalArgumentException ( BOUND_SIZE_DON_T_MATCH_THE_DIMENSION ) ; } boolean extend = false ; for ( int i = 0 ; i < bound . length ; i ++ ) { if ( bound [ i ] > originalUpperBound [ i ] ) { originalUpperBound [ i ] = bound [ i ] ; extend = true ; } } if ( extend ) { reset... |
public class JSONArray { /** * Construct a JSONArray from an boolean [ ] . < br >
* @ param array An boolean [ ] array . */
private static JSONArray _fromArray ( boolean [ ] array , JsonConfig jsonConfig ) { } } | if ( ! addInstance ( array ) ) { try { return jsonConfig . getCycleDetectionStrategy ( ) . handleRepeatedReferenceAsArray ( array ) ; } catch ( JSONException jsone ) { removeInstance ( array ) ; fireErrorEvent ( jsone , jsonConfig ) ; throw jsone ; } catch ( RuntimeException e ) { removeInstance ( array ) ; JSONExcepti... |
public class StaticGeneralScriptClassFactory { /** * 注册静态脚本
* @ param scriptClass */
protected final void registStaticScript ( Class < ? extends T > scriptClass ) { } } | try { boolean isAbstractOrInterface = Modifier . isAbstract ( scriptClass . getModifiers ( ) ) || Modifier . isInterface ( scriptClass . getModifiers ( ) ) ; // 是否是抽象类
if ( isAbstractOrInterface ) { throw new UnsupportedOperationException ( scriptClass + "can not newInstance" ) ; } T script = scriptClass . newInstance ... |
public class CacheInfoDAO { /** * / * ( non - Javadoc )
* @ see com . att . dao . aaf . cass . CIDAO # get ( java . lang . String , int ) */
@ Override public Date get ( AuthzTrans trans , String table , int seg ) { } } | Date [ ] dates = info . get ( table ) ; if ( dates == null ) { dates = new Date [ seg + 1 ] ; touch ( trans , table , seg ) ; } else if ( dates . length <= seg ) { Date [ ] temp = new Date [ seg + 1 ] ; System . arraycopy ( dates , 0 , temp , 0 , dates . length ) ; dates = temp ; } Date rv = dates [ seg ] ; if ( rv == ... |
public class RecordSetsInner { /** * Lists all record sets in a DNS zone .
* @ param resourceGroupName The name of the resource group .
* @ param zoneName The name of the DNS zone ( without a terminating dot ) .
* @ param top The maximum number of record sets to return . If not specified , returns up to 100 recor... | ServiceResponse < Page < RecordSetInner > > response = listByDnsZoneSinglePageAsync ( resourceGroupName , zoneName , top , recordsetnamesuffix ) . toBlocking ( ) . single ( ) ; return new PagedList < RecordSetInner > ( response . body ( ) ) { @ Override public Page < RecordSetInner > nextPage ( String nextPageLink ) { ... |
public class DebugAminoAcid { /** * { @ inheritDoc } */
@ Override public int getBondNumber ( IAtom atom1 , IAtom atom2 ) { } } | logger . debug ( "Getting bond number: atom1=" + atom1 , " atom2=" + atom2 ) ; return super . indexOf ( super . getBond ( atom1 , atom2 ) ) ; |
public class DelegatedClientAuthenticationAction { /** * Prepare the data for the login page .
* @ param context The current webflow context */
protected void prepareForLoginPage ( final RequestContext context ) { } } | val currentService = WebUtils . getService ( context ) ; val service = authenticationRequestServiceSelectionStrategies . resolveService ( currentService , WebApplicationService . class ) ; val request = WebUtils . getHttpServletRequestFromExternalWebflowContext ( context ) ; val response = WebUtils . getHttpServletResp... |
public class StorePackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public EClass getServiceMethod ( ) { } } | if ( serviceMethodEClass == null ) { serviceMethodEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( StorePackage . eNS_URI ) . getEClassifiers ( ) . get ( 61 ) ; } return serviceMethodEClass ; |
public class InvokableAPIDescriptor { /** * Check if all pre - requisites are handled correctly . This checks if all
* required headers and params are present .
* @ param aRequestScope
* The request scope to validate .
* @ param aStatusCode
* The mutable int to hold the status code to be returned in case of
... | if ( aRequestScope == null ) return false ; // Note : HTTP method was already checked in APIDescriptorList
// Check required headers
for ( final String sRequiredHeader : m_aDescriptor . requiredHeaders ( ) ) if ( aRequestScope . headers ( ) . getFirstHeaderValue ( sRequiredHeader ) == null ) { LOGGER . warn ( "Request ... |
public class Raster { /** * Get the raster value at a given col / row .
* @ param col
* @ param row
* @ return the value . */
public double valueAt ( int col , int row ) { } } | if ( isInRaster ( col , row ) ) { double value = iter . getSampleDouble ( col , row , 0 ) ; return value ; } return HMConstants . doubleNovalue ; |
public class FileTools { /** * Load a properties file looking for localized versions like ResourceBundle , using the default Locale , supporting multiple line
* values .
* @ param bundleName
* the bundle name , like < code > com . foo . MyBundle < / code > .
* @ param encoding
* the encoding of the bundle fil... | return loadResourceBundle ( bundleName , encoding , newline , Locale . getDefault ( ) ) ; |
public class ManagedPropertyPersistenceHelper { /** * Generate param serializer .
* @ param context the context
* @ param propertyName the property name
* @ param parameterTypeName the parameter type name
* @ param persistType the persist type */
public static void generateParamSerializer ( BindTypeContext cont... | propertyName = SQLiteDaoDefinition . PARAM_SERIALIZER_PREFIX + propertyName ; MethodSpec . Builder methodBuilder = MethodSpec . methodBuilder ( propertyName ) . addJavadoc ( "for param $L serialization\n" , propertyName ) . addParameter ( ParameterSpec . builder ( parameterTypeName , "value" ) . build ( ) ) ; methodBui... |
public class WebSocketHelper { /** * Sends binary data to a client asynchronously .
* @ param session the client session where the message will be sent
* @ param inputStream the binary data to send
* @ param threadPool where the job will be submitted so it can execute asynchronously */
public void sendBinaryAsync... | if ( session == null ) { return ; } if ( inputStream == null ) { throw new IllegalArgumentException ( "inputStream must not be null" ) ; } log . debugf ( "Attempting to send async binary data to client [%s]" , session . getId ( ) ) ; if ( session . isOpen ( ) ) { if ( this . asyncTimeout != null ) { // TODO : what to d... |
public class Channel { /** * transactions order */
Set < String > queryChannels ( Peer peer ) throws InvalidArgumentException , ProposalException { } } | checkPeer ( peer ) ; if ( ! isSystemChannel ( ) ) { throw new InvalidArgumentException ( "queryChannels should only be invoked on system channel." ) ; } try { TransactionContext context = getTransactionContext ( ) ; FabricProposal . Proposal q = QueryPeerChannelsBuilder . newBuilder ( ) . context ( context ) . build ( ... |
public class ModelSavingCallback { /** * This method saves model
* @ param model
* @ param filename */
protected void save ( Model model , String filename ) { } } | try { ModelSerializer . writeModel ( model , filename , true ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } |
public class Router { /** * Builds a Router from an annotated Java Object */
public static Router from ( @ NotNull final Router router , @ NotNull Object ... objs ) { } } | for ( Object o : objs ) { Processor . process ( router , o ) ; } return router ; |
public class UsbConnection { /** * pre : device = vendorId : productId */
private static boolean isKnxInterfaceId ( final String device ) { } } | boolean knownVendor = false ; boolean knownProduct = false ; final String [ ] split = device . split ( ":" , - 1 ) ; try { final int vend = Integer . parseInt ( split [ 0 ] , 16 ) ; final int prod = Integer . parseInt ( split [ 1 ] , 16 ) ; for ( final int v : vendorIds ) knownVendor |= v == vend ; for ( final int p : ... |
public class ConsumerAckWatcher { /** * 等待应答
* @ return 返回消费者groupName */
public String waitAck ( ) { } } | try { this . latch . await ( 5000 , TimeUnit . MILLISECONDS ) ; return consumerGroup ; } catch ( Exception e ) { } return null ; |
public class AbstractManagedConnectionPool { /** * Get count
* @ param type The type
* @ param listeners The listeners
* @ return The value */
protected int getCount ( int type , Collection < ConnectionListener > listeners ) { } } | int count = 0 ; for ( ConnectionListener cl : listeners ) { if ( cl . getState ( ) == type ) count ++ ; } return count ; |
public class AwardEmojiApi { /** * Get the specified award emoji for the specified merge request .
* < pre > < code > GitLab Endpoint : GET / projects / : id / merge _ requests / : merge _ request _ iid / award _ emoji / : award _ id < / code > < / pre >
* @ param projectIdOrPath id , path of the project , or a Pro... | Response response = get ( Response . Status . OK , getPageQueryParams ( 1 , getDefaultPerPage ( ) ) , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "merge_requests" , mergeRequestIid , "award_emoji" , awardId ) ; return ( response . readEntity ( AwardEmoji . class ) ) ; |
public class SlicedFileConsumer { /** * Write all the queued items to the writer . */
public final void doWrites ( ) { } } | QueuedMediaData [ ] slice = null ; writeLock . lock ( ) ; try { slice = queue . toArray ( new QueuedMediaData [ 0 ] ) ; if ( queue . removeAll ( Arrays . asList ( slice ) ) ) { log . debug ( "Queued writes transfered, count: {}" , slice . length ) ; } } finally { writeLock . unlock ( ) ; } // sort
Arrays . sort ( slice... |
public class Browser { /** * Breaks up a string , and places it into a map . ampersands ( & ) are used to
* split into key value pairs , while equals ( = ) are used to assign key vs
* values
* @ return Map : a map with values */
private Map < String , String > parseMap ( ) { } } | final Map < String , String > map = new HashMap < > ( ) ; for ( String pair : browserInput . split ( "&" ) ) { String [ ] kv = pair . split ( "=" ) ; map . put ( kv [ 0 ] , kv [ 1 ] ) ; } return map ; |
public class SvnFilesystem { public SVNRepository repository ( String urlstr ) throws SVNException { } } | ISVNAuthenticationManager authenticationManager ; String userinfo ; SVNURL url ; int idx ; String username ; String password ; url = SVNURL . parseURIEncoded ( urlstr ) ; userinfo = url . getUserInfo ( ) ; if ( userinfo != null ) { idx = userinfo . indexOf ( ':' ) ; if ( idx == - 1 ) { username = userinfo ; password = ... |
public class PoolOperations { /** * Checks whether the specified pool exists .
* @ param poolId
* The ID of the pool .
* @ param additionalBehaviors
* A collection of { @ link BatchClientBehavior } instances that are
* applied to the Batch service request .
* @ return True if the pool exists ; otherwise , f... | PoolExistsOptions options = new PoolExistsOptions ( ) ; BehaviorManager bhMgr = new BehaviorManager ( this . customBehaviors ( ) , additionalBehaviors ) ; bhMgr . applyRequestBehaviors ( options ) ; return this . parentBatchClient . protocolLayer ( ) . pools ( ) . exists ( poolId , options ) ; |
public class MP3Stream { /** * Creates an { @ code AudioFrame } object based on the given header field . If the header field contains invalid values , result is < b > null < / b > .
* @ param bits
* the header bit field
* @ return the { @ code AudioFrame } */
private static AudioFrame createHeader ( HeaderBitFiel... | if ( bits . get ( 21 , 23 ) != 7 ) { return null ; } int mpegVer = bits . get ( 19 , 20 ) ; int layer = bits . get ( 17 , 18 ) ; int bitRateCode = bits . get ( 12 , 15 ) ; int sampleRateCode = bits . get ( 10 , 11 ) ; int padding = bits . get ( 9 ) ; if ( mpegVer == 1 || layer == 0 || bitRateCode == 0 || bitRateCode ==... |
public class XFactory { /** * Create an XMethod object from the method currently being visited by the
* given PreorderVisitor .
* @ param visitor
* the PreorderVisitor
* @ return the XMethod representing the method currently being visited */
public static XMethod createXMethod ( PreorderVisitor visitor ) { } } | JavaClass javaClass = visitor . getThisClass ( ) ; Method method = visitor . getMethod ( ) ; XMethod m = createXMethod ( javaClass , method ) ; return m ; |
public class DefaultFieldMetadata { /** * Sets custom metadata to be associated with this property . A property
* change event will be fired ( from this FieldMetadata , not from the
* associated form property ) if < code > value < / code > differs from the
* current value of the specified < code > key < / code > ... | final Object old = userMetadata . put ( key , value ) ; firePropertyChange ( key , old , value ) ; |
public class HttpBase { /** * 设置一个header < br >
* 覆盖模式 , 则替换之前的值
* @ param name Header名
* @ param value Header值
* @ return T 本身 */
public T header ( Header name , String value ) { } } | return header ( name . toString ( ) , value , true ) ; |
public class JsLocalizer { /** * Modify the given localization point and tell MP . The parameter is a new
* SIBLocalizationPoint which will replace the existing object inside of this .
* This method is used by dynamic config .
* @ param lp
* New localizationPoint */
public void alterLocalizationPoint ( BaseDest... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { SibTr . entry ( tc , "alterLocalizationPoint" , lp ) ; } boolean valid = true ; DestinationDefinition dd = null ; DestinationAliasDefinition dAliasDef = null ; String key = getMasterMapKey ( lp ) ; // Update localization point in master map en... |
public class APIPermissionSet { /** * Adds the system permissions from the given SystemPermissionSet to the
* Set of system permissions provided .
* @ param permissions
* The Set to add system permissions to .
* @ param permSet
* The SystemPermissionSet containing the system permissions to add .
* @ throws ... | // Add all provided system permissions
for ( SystemPermission permission : permSet . getPermissions ( ) ) permissions . add ( permission . getType ( ) ) ; |
public class Service { /** * Get the value of the given parameter name as a Map . If no such parameter name is
* known , null is returned . If the parameter is defined but is not a Map , an
* IllegalArgumentException is thrown .
* @ param paramName Name of parameter to get value of .
* @ return Parameter value ... | Object paramValue = getParam ( paramName ) ; if ( paramValue == null ) { return null ; } if ( ! ( paramValue instanceof Map ) ) { throw new IllegalArgumentException ( "Parameter '" + paramName + "' must be a map: " + paramValue ) ; } return ( Map < String , Object > ) paramValue ; |
public class PastValidator { /** * { @ inheritDoc } */
@ Override public boolean isValid ( Date value ) { } } | if ( value != null ) { return value . before ( new Date ( ) ) ; } return true ; |
public class ArrayUtil { /** * 返回数组中指定元素所在位置 , 忽略大小写 , 未找到返回 { @ link # INDEX _ NOT _ FOUND }
* @ param array 数组
* @ param value 被检查的元素
* @ return 数组中指定元素所在位置 , 未找到返回 { @ link # INDEX _ NOT _ FOUND }
* @ since 3.1.2 */
public static int indexOfIgnoreCase ( CharSequence [ ] array , CharSequence value ) { } } | if ( null != array ) { for ( int i = 0 ; i < array . length ; i ++ ) { if ( StrUtil . equalsIgnoreCase ( array [ i ] , value ) ) { return i ; } } } return INDEX_NOT_FOUND ; |
public class JvmTypesBuilder { /** * Attaches the given documentation to the given jvmElement . */
public void setDocumentation ( /* @ Nullable */
JvmIdentifiableElement jvmElement , /* @ Nullable */
String documentation ) { } } | if ( jvmElement == null || documentation == null ) return ; DocumentationAdapter documentationAdapter = new DocumentationAdapter ( ) ; documentationAdapter . setDocumentation ( documentation ) ; jvmElement . eAdapters ( ) . add ( documentationAdapter ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.