signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class JMElasticsearchBulk { /** * Build delete bulk request builder bulk request builder .
* @ param deleteRequestBuilderList the delete request builder list
* @ return the bulk request builder */
public BulkRequestBuilder buildDeleteBulkRequestBuilder ( List < DeleteRequestBuilder > deleteRequestBuilderList... | BulkRequestBuilder bulkRequestBuilder = jmESClient . prepareBulk ( ) ; for ( DeleteRequestBuilder deleteRequestBuilder : deleteRequestBuilderList ) bulkRequestBuilder . add ( deleteRequestBuilder ) ; return bulkRequestBuilder ; |
public class Correlation { /** * Returns the standard deviation of the second value distribution . < br >
* The standard deviation shows the variation / dispersion from the average . < br >
* A low standard deviation indicates that the data points tend to be very close to the mean , < br >
* whereas high standard... | if ( standardDeviationB == null ) { standardDeviationB = Math . sqrt ( observationB . getMoments ( ) . get ( 2 ) ) ; } return standardDeviationB ; |
public class SimpsonIntegral { /** * Calculate the integral with the simpson method of the equation implemented in the method
* equation
* @ return
* @ throws Exception */
protected double simpson ( ) { } } | double s = 0f ; double st = 0f ; double ost = 0f ; double os = 0f ; for ( int i = 1 ; i < maxsteps ; i ++ ) { st = trapezoid ( i ) ; s = ( 4f * st - ost ) / 3f ; if ( i > 5 ) { if ( Math . abs ( s - os ) < accuracy * Math . abs ( os ) || ( s == 0f && os == 0f ) ) { return s ; } } os = s ; ost = st ; } return 0d ; |
public class SlideShowView { /** * Move to the next slide */
public void next ( ) { } } | final PlayList pl = getPlaylist ( ) ; final int previousPosition = pl . getCurrentSlide ( ) ; pl . next ( ) ; final int currentPosition = pl . getCurrentSlide ( ) ; playSlide ( currentPosition , previousPosition ) ; |
public class NoMatchException { protected static Location loc ( String s , int pos ) { } } | int line = 1 ; int lineStart = 0 ; int nl = s . indexOf ( '\n' ) ; while ( nl < pos && nl > - 1 ) { nl ++ ; if ( s . charAt ( nl ) == '\r' ) nl ++ ; lineStart = nl ; nl = s . indexOf ( '\n' , nl ) ; } if ( lineStart > pos ) { assert s . charAt ( pos ) == '\r' ; lineStart = pos ; } int col = pos - lineStart ; int lineEn... |
public class IPv6Address { /** * Create an IPv6 address from a byte array .
* @ param bytes byte array with 16 bytes ( interpreted unsigned )
* @ return IPv6 address */
public static IPv6Address fromByteArray ( final byte [ ] bytes ) { } } | if ( bytes == null ) throw new IllegalArgumentException ( "can not construct from [null]" ) ; if ( bytes . length != N_BYTES ) throw new IllegalArgumentException ( "the byte array to construct from should be 16 bytes long" ) ; ByteBuffer buf = ByteBuffer . allocate ( N_BYTES ) ; for ( byte b : bytes ) { buf . put ( b )... |
public class XHtmlEntityResolver { /** * Resolve XHtml resource entities , load from classpath resources . */
@ Override public InputSource resolveEntity ( String publicId , String systemId ) throws SAXException , IOException { } } | String filename = xhtmlResourceMap . get ( publicId ) ; if ( filename != null ) { String resourceName = resourceFolder + "/" + filename ; InputStream is = XHtmlEntityResolver . class . getResourceAsStream ( resourceName ) ; if ( is == null ) { throw new IOException ( "Resource '" + resourceName + "' not found in class ... |
public class SchemaUtil { /** * Creates a { @ link Schema } for the keys of a { @ link PartitionStrategy } based
* on an entity { @ code Schema } .
* The partition strategy and schema are assumed to be compatible and this
* will result in NullPointerExceptions if they are not .
* @ param schema an entity schema... | List < Schema . Field > partitionFields = new ArrayList < Schema . Field > ( ) ; for ( FieldPartitioner < ? , ? > fp : Accessor . getDefault ( ) . getFieldPartitioners ( strategy ) ) { partitionFields . add ( partitionField ( fp , schema ) ) ; } Schema keySchema = Schema . createRecord ( schema . getName ( ) + "KeySche... |
public class AuditLogGeneratorDriver { /** * / * ( non - Javadoc )
* @ see org . duracloud . mill . util . DriverSupport # executeImpl ( org . apache . commons . cli . CommandLine ) */
@ Override protected void executeImpl ( CommandLine cmd ) { } } | PropertyDefinitionListBuilder builder = new PropertyDefinitionListBuilder ( ) ; List < PropertyDefinition > list = builder . addAws ( ) . addMillDb ( ) . addDuracloudAuditSpace ( ) . addWorkDir ( ) . addGlobalWorkDir ( ) . build ( ) ; new PropertyVerifier ( list ) . verify ( System . getProperties ( ) ) ; SystemConfig ... |
public class MStress_Client { /** * Creates directories and files . See CreateDFSPath ( ) , the main recursive
* portion of this method .
* @ return - 1 on error , 0 on success */
private static int createDFSPaths ( ) { } } | String basePath = new String ( TEST_BASE_DIR ) + "/" + hostName_ + "_" + processName_ ; try { long startTime = System . nanoTime ( ) ; Boolean ret = dfsClient_ . mkdirs ( basePath ) ; timingMkdirs_ . add ( new Double ( ( System . nanoTime ( ) - startTime ) / ( 1E9 ) ) ) ; if ( ! ret ) { System . out . printf ( "Error: ... |
public class SiliCompressor { /** * Gets a valid path from the supply contentURI
* @ param contentURI
* @ return A validPath of the image */
private String getRealPathFromURI ( String contentURI ) { } } | Uri contentUri = Uri . parse ( contentURI ) ; Cursor cursor = mContext . getContentResolver ( ) . query ( contentUri , null , null , null , null ) ; if ( cursor == null ) { return contentUri . getPath ( ) ; } else { cursor . moveToFirst ( ) ; int index = cursor . getColumnIndex ( MediaStore . Images . ImageColumns . DA... |
public class ProvFactory { /** * A factory method to create an instance of a delegation { @ link ActedOnBehalfOf }
* @ param id identifier for the delegation association between delegate and responsible
* @ param delegate identifier for the agent associated with an activity , acting on behalf of the responsible age... | ActedOnBehalfOf res = of . createActedOnBehalfOf ( ) ; res . setId ( id ) ; res . setActivity ( activity ) ; res . setDelegate ( delegate ) ; res . setResponsible ( responsible ) ; return res ; |
public class RedisRealm { /** * Execute a script .
* @ param scriptUrl */
protected void executeScript ( URL scriptUrl ) { } } | log . debug ( "Executing script '{}'" , scriptUrl ) ; final Jedis jedis = pool . getResource ( ) ; try ( BufferedReader reader = new BufferedReader ( new InputStreamReader ( scriptUrl . openStream ( ) , StandardCharsets . UTF_8 ) ) ) { reader . lines ( ) . filter ( line -> ! Strings . isNullOrEmpty ( line ) && line . c... |
public class Whitebox { /** * Invoke a private or inner class method . This might be useful to test
* private methods . */
public static synchronized < T > T invokeMethod ( Object instance , String methodToExecute , Object ... arguments ) throws Exception { } } | return WhiteboxImpl . invokeMethod ( instance , methodToExecute , arguments ) ; |
public class DelimiterWriterFactory { /** * Convenience method to add a series of cols in one go .
* @ param columnTitles
* @ return this
* @ since 4.0 */
public DelimiterWriterFactory addColumnTitles ( final Collection < String > columnTitles ) { } } | if ( columnTitles != null ) { for ( final String columnTitle : columnTitles ) { addColumnTitle ( columnTitle ) ; } } return this ; |
public class PatreonAPI { /** * Get the user object of the creator
* @ param optionalFields A list of optional fields to request , or null . See { @ link User . UserField }
* @ return the current user
* @ throws IOException Thrown when the GET request failed */
public JSONAPIDocument < User > fetchUser ( Collecti... | URIBuilder pathBuilder = new URIBuilder ( ) . setPath ( "current_user" ) . addParameter ( "include" , "pledges" ) ; if ( optionalFields != null ) { Set < User . UserField > optionalAndDefaultFields = new HashSet < > ( optionalFields ) ; optionalAndDefaultFields . addAll ( User . UserField . getDefaultFields ( ) ) ; add... |
public class AdminClient { /** * Retrieve a Gobblin job by its id .
* @ param id Id of the job to retrieve
* @ return JobExecutionInfo representing the job */
public Optional < JobExecutionInfo > queryByJobId ( String id ) throws RemoteInvocationException { } } | JobExecutionQuery query = new JobExecutionQuery ( ) ; query . setIdType ( QueryIdTypeEnum . JOB_ID ) ; query . setId ( JobExecutionQuery . Id . create ( id ) ) ; query . setLimit ( 1 ) ; List < JobExecutionInfo > results = executeQuery ( query ) ; return getFirstFromQueryResults ( results ) ; |
public class Rule { /** * Whether this rule can be used for text in the given language .
* Since LanguageTool 2.6 , this also works { @ link org . languagetool . rules . patterns . PatternRule } s
* ( before , it used to always return { @ code false } for those ) . */
public boolean supportsLanguage ( Language lang... | try { List < Class < ? extends Rule > > relevantRuleClasses = new ArrayList < > ( ) ; UserConfig config = new UserConfig ( ) ; List < Rule > relevantRules = new ArrayList < > ( language . getRelevantRules ( JLanguageTool . getMessageBundle ( ) , config , null , Collections . emptyList ( ) ) ) ; // empty UserConfig has ... |
public class SerialArrayList { /** * Add serial array list .
* @ param right the right
* @ return the serial array list */
public SerialArrayList < U > add ( SerialArrayList < U > right ) { } } | return new SerialArrayList < U > ( factory , this , right ) ; |
public class ParseLong { /** * { @ inheritDoc }
* @ throws SuperCsvCellProcessorException
* if value is null , isn ' t a Long or String , or can ' t be parsed as a Long */
public Object execute ( final Object value , final CsvContext context ) { } } | validateInputNotNull ( value , context ) ; final Long result ; if ( value instanceof Long ) { result = ( Long ) value ; } else if ( value instanceof String ) { try { result = Long . parseLong ( ( String ) value ) ; } catch ( final NumberFormatException e ) { throw new SuperCsvCellProcessorException ( String . format ( ... |
public class JumblrClient { /** * Follow a given blog
* @ param blogName The name of the blog to follow */
public void follow ( String blogName ) { } } | Map < String , String > map = new HashMap < String , String > ( ) ; map . put ( "url" , JumblrClient . blogUrl ( blogName ) ) ; requestBuilder . post ( "/user/follow" , map ) ; |
public class ExpressionInfoValueRenderer { /** * Returns a string representation of a value , or < tt > null < / tt > if
* the value should not be shown ( because it does not add any valuable
* information ) . Note that the method may also change rendered values
* of child expression .
* @ param expr the expres... | Object value = expr . getValue ( ) ; if ( value == null ) return "null" ; if ( "" . equals ( value ) ) return "\"\"" ; // value . equals ( ) might throw exception , so we use " " . equals ( ) instead
String str ; try { str = doRenderValue ( expr ) ; } catch ( Exception e ) { return String . format ( "%s (renderer threw... |
public class AbstractFacade { /** * { @ inheritDoc } */
@ Override public < E extends R > boolean exists ( final Class < E > clazz , final Object ... keyPart ) { } } | return exists ( Key . create ( clazz , keyPart ) ) ; |
public class Parser { /** * Parses the math expression ( complicated formula ) and stores the result
* @ param expression < code > String < / code > input expression ( math formula )
* @ throws < code > ParseException < / code > if the input expression is not
* correct
* @ since 3.0 */
protected void parse ( St... | /* cleaning stacks */
stackOperations . clear ( ) ; stackRPN . clear ( ) ; QScanner scanner = new QScanner ( expression ) ; /* loop for handling each token - shunting - yard algorithm */
String stringToken , prevToken = null ; while ( ( stringToken = scanner . readNext ( ) ) != null ) { if ( isSeparator ( stringToken )... |
public class JADT { /** * Create a dummy configged jADT based on the provided syntaxErrors , semanticErrors , testSrcInfo , and sink factory
* Useful for testing */
public static JADT createDummyJADT ( List < SyntaxError > syntaxErrors , List < SemanticError > semanticErrors , String testSrcInfo , SinkFactoryFactory ... | final SourceFactory sourceFactory = new StringSourceFactory ( TEST_STRING ) ; final Doc doc = new Doc ( TEST_SRC_INFO , Pkg . _Pkg ( NO_COMMENTS , "pkg" ) , Util . < Imprt > list ( ) , Util . < DataType > list ( ) ) ; final ParseResult parseResult = new ParseResult ( doc , syntaxErrors ) ; final DocEmitter docEmitter =... |
public class TrainingsImpl { /** * Get iterations for the project .
* @ param projectId The project id
* @ throws IllegalArgumentException thrown if parameters fail the validation
* @ return the observable to the List & lt ; Iteration & gt ; object */
public Observable < List < Iteration > > getIterationsAsync ( ... | return getIterationsWithServiceResponseAsync ( projectId ) . map ( new Func1 < ServiceResponse < List < Iteration > > , List < Iteration > > ( ) { @ Override public List < Iteration > call ( ServiceResponse < List < Iteration > > response ) { return response . body ( ) ; } } ) ; |
public class ErrorPageHandler { public void handle ( String pathInContext , String pathParams , HttpRequest request , HttpResponse response ) throws HttpException , IOException { } } | response . setContentType ( HttpFields . __TextHtml ) ; ByteArrayISO8859Writer writer = new ByteArrayISO8859Writer ( 2048 ) ; writeErrorPage ( request , writer , response . getStatus ( ) , response . getReason ( ) ) ; writer . flush ( ) ; response . setContentLength ( writer . size ( ) ) ; writer . writeTo ( response .... |
public class MtasToken { /** * Gets the postfix from value .
* @ param value the value
* @ return the postfix from value */
public static String getPostfixFromValue ( String value ) { } } | String postfix = "" ; Matcher m = patternPrePostFix . matcher ( value ) ; if ( m . find ( ) ) { postfix = m . group ( 2 ) ; } return postfix ; |
public class audit_stats { /** * < pre >
* converts nitro response into object and returns the object array in case of get request .
* < / pre > */
protected base_resource [ ] get_nitro_response ( nitro_service service , String response ) throws Exception { } } | audit_stats [ ] resources = new audit_stats [ 1 ] ; audit_response result = ( audit_response ) service . get_payload_formatter ( ) . string_to_resource ( audit_response . class , response ) ; if ( result . errorcode != 0 ) { if ( result . errorcode == 444 ) { service . clear_session ( ) ; } if ( result . severity != nu... |
public class App { /** * Select a frame by its ( zero - based ) index . That is , if a page has three
* frames , the first frame would be at index 0 , the second at index 1 and
* the third at index 2 . Once the frame has been selected , all subsequent
* calls on the WebDriver interface are made to that frame .
... | String action = "Switching to frame <b>" + frameNumber + "</b>" ; String expected = FRAME + frameNumber + AVAILABLE ; try { driver . switchTo ( ) . frame ( frameNumber ) ; } catch ( Exception e ) { reporter . fail ( action , expected , FRAME + frameNumber + NOT_SELECTED + ". " + e . getMessage ( ) ) ; log . warn ( e ) ... |
public class Utils { /** * Avoid using this method for constant reads , use it only for one time only reads from resources in the classpath */
public static String readFileToString ( @ NotNull String resource ) { } } | try { try ( Reader r = new BufferedReader ( new InputStreamReader ( new FileInputStream ( resource ) , "UTF-8" ) ) ) { Writer writer = new StringWriter ( ) ; char [ ] buffer = new char [ 1024 ] ; int n ; while ( ( n = r . read ( buffer ) ) != - 1 ) { writer . write ( buffer , 0 , n ) ; } return writer . toString ( ) ; ... |
public class DBFDriverFunction { /** * Return SQL Columns declaration
* @ param header DBAse file header
* @ param isH2Database true if H2 database
* @ return Array of columns ex : [ " id INTEGER " , " len DOUBLE " ]
* @ throws IOException */
public static String getSQLColumnTypes ( DbaseFileHeader header , boo... | StringBuilder stringBuilder = new StringBuilder ( ) ; for ( int idColumn = 0 ; idColumn < header . getNumFields ( ) ; idColumn ++ ) { if ( idColumn > 0 ) { stringBuilder . append ( ", " ) ; } String fieldName = TableLocation . capsIdentifier ( header . getFieldName ( idColumn ) , isH2Database ) ; stringBuilder . append... |
public class CountedCompleter { /** * If this task does not have a completer , invokes { @ link ForkJoinTask # quietlyComplete } and
* returns { @ code null } . Or , if the completer ' s pending count is non - zero , decrements that pending
* count and returns { @ code null } . Otherwise , returns the completer . T... | CountedCompleter < ? > p ; if ( ( p = completer ) != null ) return p . firstComplete ( ) ; else { quietlyComplete ( ) ; return null ; } |
public class AbstractCopyDependenciesMojo { /** * Copies dependencies to / target / dependency or to target / { outputSubdirectory } if the outputSubdirectory parameter is
* provided */
protected void copyDependencies ( String outputSubdirectory ) throws MojoExecutionException { } } | outputDirectory = project . getBuild ( ) . getDirectory ( ) ; baseDirectory = project . getBasedir ( ) . getAbsolutePath ( ) ; String outputDirectory = outputSubdirectory == null ? this . outputDirectory + "/dependency" : this . outputDirectory + "/" + outputSubdirectory ; executeMojo ( plugin ( groupId ( "org.apache.m... |
public class CmsFlexCache { /** * Clears all entries from offline projects in the cache . < p >
* The keys from the offline projects are not cleared .
* Cached resources from the online project are not touched . < p >
* Only users with administrator permissions are allowed
* to perform this operation . < p > */... | if ( ! isEnabled ( ) ) { return ; } if ( LOG . isInfoEnabled ( ) ) { LOG . info ( Messages . get ( ) . getBundle ( ) . key ( Messages . LOG_FLEXCACHE_CLEAR_OFFLINE_ENTRIES_0 ) ) ; } clearAccordingToSuffix ( CACHE_OFFLINESUFFIX , true ) ; |
public class EJSWrapperCommon { /** * d419704 - rewrote for new WrapperId fields and remove the todo . */
public BusinessRemoteWrapper getRemoteBusinessWrapper ( WrapperId wrapperId ) { } } | int remoteIndex = wrapperId . ivInterfaceIndex ; BusinessRemoteWrapper wrapper = null ; String wrapperInterfaceName = "" ; if ( remoteIndex < ivBusinessRemote . length ) { wrapper = ivBusinessRemote [ remoteIndex ] ; wrapperInterfaceName = ivBMD . ivBusinessRemoteInterfaceClasses [ remoteIndex ] . getName ( ) ; } // Is... |
public class IntervalST { /** * Get the value associated with the given key ( Interval ) . Interval must match exactly .
* @ return null if no such key */
public Node < K , V > get ( Interval1D < K > interval ) { } } | return get ( root , interval ) ; |
public class DataSiftClient { /** * Compile a CSDL string to a stream hash to which you can later subscribe and receive interactions from
* @ param csdl the CSDL to compile
* @ return a stream object representing the DataSift compiled CSDL , use { @ link com . datasift . client . core
* . Stream # hash ( ) }
* ... | FutureData < Stream > future = new FutureData < Stream > ( ) ; URI uri = newParams ( ) . forURL ( config . newAPIEndpointURI ( COMPILE ) ) ; POST request = config . http ( ) . POST ( uri , new PageReader ( newRequestCallback ( future , new Stream ( ) , config ) ) ) . form ( "csdl" , csdl ) ; performRequest ( future , r... |
public class EventMapper { /** * convert Event bean to EventType manually .
* @ param event the event
* @ return the event type */
public static EventType map ( Event event ) { } } | EventType eventType = new EventType ( ) ; eventType . setTimestamp ( Converter . convertDate ( event . getTimestamp ( ) ) ) ; eventType . setEventType ( convertEventType ( event . getEventType ( ) ) ) ; OriginatorType origType = mapOriginator ( event . getOriginator ( ) ) ; eventType . setOriginator ( origType ) ; Mess... |
public class ExcelItemWriter { /** * getTitleStyle .
* @ return a { @ link org . apache . poi . hssf . usermodel . HSSFCellStyle } object . */
protected HSSFCellStyle getTitleStyle ( ) { } } | HSSFCellStyle style = workbook . createCellStyle ( ) ; style . setAlignment ( HorizontalAlignment . CENTER ) ; // 左右居中
style . setVerticalAlignment ( VerticalAlignment . CENTER ) ; // 上下居中
style . setFillPattern ( FillPatternType . SOLID_FOREGROUND ) ; style . setFillForegroundColor ( HSSFColorPredefined . GREY_25_PERC... |
public class MarketplaceListing { /** * Return a JSON representation of this object
* @ return JSONObject */
public JSONObject jsonify ( ) { } } | JSONObject ret = new JSONObject ( ) ; ret . put ( "title" , getTitle ( ) ) ; ret . put ( "category" , getCategory ( ) ) ; ret . put ( "subcategory" , getSubCategory ( ) ) ; ret . put ( "description" , getDescription ( ) ) ; if ( null != this . _extraAttributes && ! this . _extraAttributes . isEmpty ( ) ) { ret . putAll... |
public class DefaultPlatformManager { /** * Locates all modules in the local repository . */
private List < File > locateModules ( ) { } } | File [ ] files = modRoot . listFiles ( ) ; List < File > modFiles = new ArrayList < > ( ) ; for ( File file : files ) { if ( file . isDirectory ( ) ) { // Check to determine whether the directory is a valid module directory .
boolean isValid = true ; try { new ModuleIdentifier ( file . getName ( ) ) ; } catch ( Excepti... |
public class MinguoDate { /** * Obtains a { @ code MinguoDate } representing a date in the Minguo calendar
* system from the proleptic - year , month - of - year and day - of - month fields .
* This returns a { @ code MinguoDate } with the specified fields .
* The day must be valid for the year and month , otherw... | return MinguoChronology . INSTANCE . date ( prolepticYear , month , dayOfMonth ) ; |
public class AtomContainer { /** * { @ inheritDoc } */
@ Override public Order getMinimumBondOrder ( IAtom atom ) { } } | IBond . Order min = null ; for ( IBond bond : bonds ( ) ) { if ( ! bond . contains ( atom ) ) continue ; if ( min == null || bond . getOrder ( ) . numeric ( ) < min . numeric ( ) ) { min = bond . getOrder ( ) ; } } if ( min == null ) { if ( ! contains ( atom ) ) throw new NoSuchAtomException ( "Atom does not belong to ... |
public class PeasyRecyclerView { /** * Present as Horizontal List View
* Execute { @ link # resetItemDecorations ( ) }
* Execute { @ link # resetItemAnimator ( ) }
* @ return LinearLayoutManager */
public LinearLayoutManager asHorizontalListView ( ) { } } | this . presentation = PeasyPresentation . HorizontalList ; final LinearLayoutManager layoutManager = PeasyRecyclerView . HorizontalList . newLayoutManager ( getContext ( ) ) ; getRecyclerView ( ) . setLayoutManager ( layoutManager ) ; getRecyclerView ( ) . addItemDecoration ( new DividerItemDecoration ( getContext ( ) ... |
public class task_command_log { /** * < pre >
* Performs generic data validation for the operation to be performed
* < / pre > */
protected void validate ( String operationType ) throws Exception { } } | super . validate ( operationType ) ; MPSString id_validator = new MPSString ( ) ; id_validator . setConstraintIsReq ( MPSConstants . ADD_CONSTRAINT , true ) ; id_validator . setConstraintIsReq ( MPSConstants . MODIFY_CONSTRAINT , true ) ; id_validator . validate ( operationType , id , "\"id\"" ) ; MPSString task_device... |
public class AnnotationExtensions { /** * Gets all the classes from the class loader that belongs to the given package path .
* @ param packagePath
* the package path
* @ param annotationClasses
* the annotation classes
* @ return the all classes
* @ throws ClassNotFoundException
* occurs if a given class... | return getAllAnnotatedClassesFromSet ( packagePath , annotationClasses ) ; |
public class CompareFilter { /** * @ see org . springframework . ldap . filter . AbstractFilter # encode ( java . lang . StringBuffer ) */
public StringBuffer encode ( StringBuffer buff ) { } } | buff . append ( '(' ) ; buff . append ( attribute ) . append ( getCompareString ( ) ) . append ( encodedValue ) ; buff . append ( ')' ) ; return buff ; |
public class ResourceInjection { /** * Determines the injection target { @ link Resource } by its lookup name
* @ param lookup
* the lookup name for the resoure
* @ return this { @ link ResourceInjection } */
public ResourceInjection byLookup ( final String lookup ) { } } | final ResourceLiteral resource = new ResourceLiteral ( ) ; resource . setLookup ( lookup ) ; matchingResources . add ( resource ) ; return this ; |
public class STRtreeJGT { /** * Queries the tree and returns { @ link org . locationtech . jts . index . strtree . ItemBoundable } s instead of only the values .
* < p > Also builds the tree , if necessary . < / p >
* @ param searchBounds the bounds to search for .
* @ return the list of { @ link org . locationte... | build ( ) ; ArrayList matches = new ArrayList ( ) ; if ( isEmpty ( ) ) { // Assert . isTrue ( root . getBounds ( ) = = null ) ;
return matches ; } if ( getIntersectsOp ( ) . intersects ( root . getBounds ( ) , searchBounds ) ) { queryBoundables ( searchBounds , root , matches ) ; } return matches ; |
public class lbvserver_dnspolicy64_binding { /** * Use this API to fetch lbvserver _ dnspolicy64 _ binding resources of given name . */
public static lbvserver_dnspolicy64_binding [ ] get ( nitro_service service , String name ) throws Exception { } } | lbvserver_dnspolicy64_binding obj = new lbvserver_dnspolicy64_binding ( ) ; obj . set_name ( name ) ; lbvserver_dnspolicy64_binding response [ ] = ( lbvserver_dnspolicy64_binding [ ] ) obj . get_resources ( service ) ; return response ; |
public class CmsJspTagContainer { /** * Sets the setting presets . < p >
* @ param presets a map with string keys and values , or null */
@ SuppressWarnings ( "unchecked" ) public void setSettings ( Object presets ) { } } | if ( presets == null ) { m_settingPresets = null ; } else if ( ! ( presets instanceof Map ) ) { throw new IllegalArgumentException ( "cms:container -- value of 'settings' attribute should be a map, but is " + ClassUtils . getCanonicalName ( presets ) ) ; } else { m_settingPresets = new HashMap < > ( ( Map < String , S... |
public class TokenReader { /** * read string like " a encoded \ u0098 \ " str " */
String readString ( ) throws IOException { } } | StringBuilder sb = new StringBuilder ( 50 ) ; // first char must be " :
char ch = reader . next ( ) ; if ( ch != '\"' ) { throw new JsonParseException ( "Expected \" but actual is: " + ch , reader . readed ) ; } for ( ; ; ) { ch = reader . next ( ) ; if ( ch == '\\' ) { // escape : \ " \ \ \ / \ b \ f \ n \ r \ t
char ... |
public class TemporaryFileScanWriter { /** * Blocks until the number of open shards is equal to or less than the provided threshold or the current time
* is after the timeout timestamp . */
private boolean blockUntilOpenShardsAtMost ( int maxOpenShards , @ Nullable TransferKey permittedKey , Instant timeout ) throws ... | Stopwatch stopWatch = Stopwatch . createStarted ( ) ; Instant now ; _lock . lock ( ) ; try { while ( ! _closed && maxOpenShardsGreaterThan ( maxOpenShards , permittedKey ) && ( now = Instant . now ( ) ) . isBefore ( timeout ) ) { // Stop blocking if there is an exception
propagateExceptionIfPresent ( ) ; // Wait no lon... |
public class SmileConverter { /** * Returns a dataset where the response column is numeric . E . g . to be used for a regression */
public AttributeDataset numericDataset ( int responseColIndex , int ... variablesColIndices ) { } } | return dataset ( table . numberColumn ( responseColIndex ) , AttributeType . NUMERIC , table . columns ( variablesColIndices ) ) ; |
public class SqlBuilder { /** * 配合JOIN的 ON语句 , 多表关联的条件语句 < br >
* 只支持单一的逻辑运算符 ( 例如多个条件之间 )
* @ param logicalOperator 逻辑运算符
* @ param conditions 条件
* @ return 自己 */
public SqlBuilder on ( LogicalOperator logicalOperator , Condition ... conditions ) { } } | if ( ArrayUtil . isNotEmpty ( conditions ) ) { if ( null != wrapper ) { // 包装字段名
conditions = wrapper . wrap ( conditions ) ; } on ( buildCondition ( logicalOperator , conditions ) ) ; } return this ; |
public class Jsr250Utils { /** * Checks if the passed in method already exists in the list of methods . Checks for equality by the name of the method .
* @ param method
* @ param methods
* @ return */
private static boolean containsMethod ( Method method , List < Method > methods ) { } } | if ( methods != null ) { for ( Method aMethod : methods ) { if ( method . getName ( ) . equals ( aMethod . getName ( ) ) ) { return true ; } } } return false ; |
public class XMLSystemProperties { /** * Limit the number of entity expansions . < br >
* This setting only takes effect if a parser with < b > explicitly < / b > disabled
* " Secure processing " feature is used . Otherwise this setting has no effect !
* @ param sEntityExpansionLimit
* A positive integer as a S... | SystemProperties . setPropertyValue ( SYSTEM_PROPERTY_ENTITY_EXPANSION_LIMIT , sEntityExpansionLimit ) ; SystemProperties . setPropertyValue ( SYSTEM_PROPERTY_JDX_XML_ENTITY_EXPANSION_LIMIT , sEntityExpansionLimit ) ; _onSystemPropertyChange ( ) ; |
public class YearPage { /** * Sets the graphic node on the display mode button based on the current display
* mode ( column or grid ) . */
private void updateDisplayModeIcon ( ) { } } | FontAwesomeIcon icon = FontAwesomeIcon . CALENDAR ; if ( getDisplayMode ( ) . equals ( DisplayMode . GRID ) ) { icon = FontAwesomeIcon . CALENDAR_ALT ; } final Text graphic = FontAwesomeIconFactory . get ( ) . createIcon ( icon ) ; graphic . getStyleClass ( ) . addAll ( "button-icon" , "display-mode-icon" ) ; displayMo... |
public class JKAbstractContext { /** * Sets the application map .
* @ param applicationMap the application map */
public void setApplicationMap ( final Map < String , Object > applicationMap ) { } } | JKThreadLocal . setValue ( JKContextConstants . APPLICATION_MAP , applicationMap ) ; |
public class NoSonarFilter { /** * Register lines in a file that contains the NOSONAR flag .
* @ param inputFile
* @ param noSonarLines Line number starts at 1 in a file
* @ since 5.0
* @ since 7.6 the method can be called multiple times by different sensors , and NOSONAR lines are merged */
public NoSonarFilte... | ( ( DefaultInputFile ) inputFile ) . noSonarAt ( noSonarLines ) ; return this ; |
public class EDBConverter { /** * Adds to the EDBObject special entries which mark that a model is referring to other models through
* OpenEngSBForeignKey annotations */
private void fillEDBObjectWithEngineeringObjectInformation ( EDBObject object , OpenEngSBModel model ) throws IllegalAccessException { } } | if ( ! new AdvancedModelWrapper ( model ) . isEngineeringObject ( ) ) { return ; } for ( Field field : model . getClass ( ) . getDeclaredFields ( ) ) { OpenEngSBForeignKey annotation = field . getAnnotation ( OpenEngSBForeignKey . class ) ; if ( annotation == null ) { continue ; } String value = ( String ) FieldUtils .... |
public class Statistics { /** * Returns the mode value of the array of doubles */
public static double mode ( double [ ] values ) { } } | if ( values . length == 0 ) throw new IllegalArgumentException ( "No mode in an empty array" ) ; Counter < Double > c = new ObjectCounter < Double > ( ) ; for ( double d : values ) c . count ( d ) ; return c . max ( ) ; |
public class CommonOps_DDF3 { /** * Changes the sign of every element in the vector . < br >
* < br >
* a < sub > i < / sub > = - a < sub > i < / sub >
* @ param a A vector . Modified . */
public static void changeSign ( DMatrix3 a ) { } } | a . a1 = - a . a1 ; a . a2 = - a . a2 ; a . a3 = - a . a3 ; |
public class StandardTypeMerger { /** * Determine if the given typecode refers to a reference type . This
* implementation just checks that the type code is T _ OBJECT , T _ ARRAY ,
* T _ NULL , or T _ EXCEPTION . Subclasses should override this if they have
* defined new object types with different type codes . ... | return type == Const . T_OBJECT || type == Const . T_ARRAY || type == T_NULL || type == T_EXCEPTION ; |
public class FSDataset { /** * Try to update an old block to a new block .
* If there are ongoing create threads running for the old block ,
* the threads will be returned without updating the block .
* @ return ongoing create threads if there is any . Otherwise , return null . */
private List < Thread > tryUpdat... | lock . writeLock ( ) . lock ( ) ; try { // check ongoing create threads
ArrayList < Thread > activeThreads = getActiveThreads ( namespaceId , oldblock ) ; if ( activeThreads != null ) { return activeThreads ; } DatanodeBlockInfo binfo = volumeMap . get ( namespaceId , oldblock ) ; if ( binfo == null ) { throw new IOExc... |
public class BaseMessageTransport { /** * Get this Property for this key .
* Override this to do something other than return the parent ' s property .
* @ param strProperty The key to lookup .
* @ return The value for this key . */
public String getProperty ( String strProperty ) { } } | if ( m_propTransport != null ) if ( m_propTransport . get ( strProperty ) != null ) return ( String ) m_propTransport . get ( strProperty ) ; return super . getProperty ( strProperty ) ; |
public class FilterFileSystem { /** * { @ inheritDoc } */
@ Override public void setOwner ( Path p , String username , String groupname ) throws IOException { } } | fs . setOwner ( p , username , groupname ) ; |
public class GeometryService { /** * Get the index of the ( smallest ) linear ring of the geometry that contains this coordinate .
* @ param geometry
* @ param c
* @ return the index ( empty array indicates no containment )
* @ since 1.3.0 */
public static GeometryIndex getLinearRingIndex ( Geometry geometry , ... | if ( Geometry . LINEAR_RING . equals ( geometry . getGeometryType ( ) ) ) { IndexedLinearRing ring = helper . createLinearRing ( geometry ) ; if ( ring . containsCoordinate ( c ) ) { return ring . getIndex ( ) ; } } else if ( Geometry . POLYGON . equals ( geometry . getGeometryType ( ) ) ) { IndexedPolygon polygon = he... |
public class FilePath { /** * Place the data from { @ link FileItem } into the file location specified by this { @ link FilePath } object . */
public void copyFrom ( FileItem file ) throws IOException , InterruptedException { } } | if ( channel == null ) { try { file . write ( writing ( new File ( remote ) ) ) ; } catch ( IOException e ) { throw e ; } catch ( Exception e ) { throw new IOException ( e ) ; } } else { try ( InputStream i = file . getInputStream ( ) ; OutputStream o = write ( ) ) { org . apache . commons . io . IOUtils . copy ( i , o... |
public class EnumHelper { /** * Creates a lookup array based on the " value " associated with an MpxjEnum .
* @ param < E > target enumeration
* @ param c enumeration class
* @ return lookup array */
public static final < E extends Enum < E > > E [ ] createTypeArray ( Class < E > c ) { } } | return createTypeArray ( c , 0 ) ; |
public class CommerceDiscountPersistenceImpl { /** * Returns all the commerce discounts where groupId = & # 63 ; .
* @ param groupId the group ID
* @ return the matching commerce discounts */
@ Override public List < CommerceDiscount > findByGroupId ( long groupId ) { } } | return findByGroupId ( groupId , QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; |
public class Promises { /** * Gets { @ code Promise } s from provided { @ code AsyncSupplier } s ,
* end executes them consequently , discarding their results . */
@ NotNull public static Promise < Void > sequence ( @ NotNull AsyncSupplier < Void > promise1 , @ NotNull AsyncSupplier < Void > promise2 ) { } } | return promise1 . get ( ) . then ( $ -> sequence ( promise2 ) ) ; |
public class FPGrowth { /** * Build a forward map , item id ( dimension ) to frequency position
* @ param counts Item counts
* @ param positions Position index ( output )
* @ param minsupp Minimum support
* @ return Forward index */
private int [ ] buildIndex ( final int [ ] counts , int [ ] positions , int min... | // Count the number of frequent items :
int numfreq = 0 ; for ( int i = 0 ; i < counts . length ; i ++ ) { if ( counts [ i ] >= minsupp ) { ++ numfreq ; } } // Build the index table
int [ ] idx = new int [ numfreq ] ; for ( int i = 0 , j = 0 ; i < counts . length ; i ++ ) { if ( counts [ i ] >= minsupp ) { idx [ j ++ ]... |
public class DefaultAccumulatorInfoSupplier { /** * only for testing */
public int accumulatorInfoCountOfMap ( String mapName ) { } } | ConcurrentMap < String , AccumulatorInfo > accumulatorInfo = cacheInfoPerMap . get ( mapName ) ; if ( accumulatorInfo == null ) { return 0 ; } else { return accumulatorInfo . size ( ) ; } |
public class OptionalUtils { /** * Throws an { @ link IllegalStateException } if it is not true that exactly one of the provided
* { @ link Optional } s { @ link Optional # isPresent ( ) } . */
public static < T > void exactlyOnePresentOrIllegalState ( Iterable < ? extends Optional < ? extends T > > optionals , final... | if ( numPresent ( optionals ) != 1 ) { throw new IllegalStateException ( msg ) ; } |
public class AbstractRedisStorage { /** * Determine if the given job is blocked by an active instance
* @ param jobHashKey the job in question
* @ param jedis a thread - safe Redis connection
* @ return true if the given job is blocked by an active instance */
protected boolean isBlockedJob ( String jobHashKey , ... | JobKey jobKey = redisSchema . jobKey ( jobHashKey ) ; return jedis . sismember ( redisSchema . blockedJobsSet ( ) , jobHashKey ) && isActiveInstance ( jedis . get ( redisSchema . jobBlockedKey ( jobKey ) ) , jedis ) ; |
public class ApacheHTTPClient { /** * This function creates a multi part type request entity and populates it
* with the data from the provided HTTP request .
* @ param httpRequest
* The HTTP request
* @ param httpMethodClient
* The apache HTTP method
* @ return The request entity */
protected RequestEntity... | RequestEntity requestEntity = null ; ContentPart < ? > [ ] contentParts = httpRequest . getContentAsParts ( ) ; if ( contentParts != null ) { int partsAmount = contentParts . length ; if ( partsAmount > 0 ) { // init array
Part [ ] parts = new Part [ partsAmount ] ; ContentPart < ? > contentPart = null ; String name = ... |
public class HList { /** * Static factory method for creating a 6 - element HList .
* @ param _ 1 the head element
* @ param _ 2 the second element
* @ param _ 3 the third element
* @ param _ 4 the fourth element
* @ param _ 5 the fifth element
* @ param _ 6 the sixth element
* @ param < _ 1 > the head el... | return tuple ( _2 , _3 , _4 , _5 , _6 ) . cons ( _1 ) ; |
public class IOManager { /** * Creates a block channel writer that writes to the given channel . The writer adds the
* written segment to its return - queue afterwards ( to allow for asynchronous implementations ) .
* @ param channelID The descriptor for the channel to write to .
* @ return A block channel writer... | return createBlockChannelWriter ( channelID , new LinkedBlockingQueue < MemorySegment > ( ) ) ; |
public class WeekDay { /** * Returns a weekday / offset representation of the specified calendar .
* @ param cal a calendar ( java . util )
* @ return a weekday instance representing the specified calendar */
public static WeekDay getMonthlyOffset ( final Calendar cal ) { } } | return new WeekDay ( getDay ( cal . get ( Calendar . DAY_OF_WEEK ) ) , cal . get ( Calendar . DAY_OF_WEEK_IN_MONTH ) ) ; |
public class AWSRoboMakerClient { /** * Returns a list of simulation jobs . You can optionally provide filters to retrieve specific simulation jobs .
* @ param listSimulationJobsRequest
* @ return Result of the ListSimulationJobs operation returned by the service .
* @ throws InvalidParameterException
* A param... | request = beforeClientExecution ( request ) ; return executeListSimulationJobs ( request ) ; |
public class ContentTypeEngines { /** * Registers a content type engine if no other engine has been registered
* for the content type .
* @ param engineClass
* @ return the engine instance , if it is registered */
public ContentTypeEngine registerContentTypeEngine ( Class < ? extends ContentTypeEngine > engineCla... | ContentTypeEngine engine ; try { engine = engineClass . newInstance ( ) ; } catch ( Exception e ) { throw new PippoRuntimeException ( e , "Failed to instantiate '{}'" , engineClass . getName ( ) ) ; } if ( ! engines . containsKey ( engine . getContentType ( ) ) ) { setContentTypeEngine ( engine ) ; return engine ; } el... |
public class CommerceWishListItemUtil { /** * Returns an ordered range of all the commerce wish list items where commerceWishListId = & # 63 ; and CProductId = & # 63 ; .
* Useful when paginating results . Returns a maximum of < code > end - start < / code > instances . < code > start < / code > and < code > end < / ... | return getPersistence ( ) . findByCW_CP ( commerceWishListId , CProductId , start , end , orderByComparator ) ; |
public class ClassDelegate { /** * Subprocess activityBehaviour */
@ Override public void completing ( DelegateExecution execution , DelegateExecution subProcessInstance ) throws Exception { } } | if ( activityBehaviorInstance == null ) { activityBehaviorInstance = getActivityBehaviorInstance ( ) ; } if ( activityBehaviorInstance instanceof SubProcessActivityBehavior ) { ( ( SubProcessActivityBehavior ) activityBehaviorInstance ) . completing ( execution , subProcessInstance ) ; } else { throw new ActivitiExcept... |
public class EnumConverter { /** * Converts an { @ link Object } of { @ link Class type S } into an { @ link Object } of { @ link Class type T } .
* @ param value { @ link Object } of { @ link Class type S } to convert .
* @ return the converted { @ link Object } of { @ link Class type T } .
* @ throws Conversion... | try { Enum enumInstance = Enum . valueOf ( enumType , value ) ; return enumType . cast ( enumInstance ) ; } catch ( Exception cause ) { throw newConversionException ( cause , "[%1$s] is not a valid enumerated value of Enum [%2$s]" , value , enumType . getName ( ) ) ; } |
public class ConverterRegistry { /** * 转换值为指定类型
* @ param < T > 转换的目标类型 ( 转换器转换到的类型 )
* @ param type 类型目标
* @ param value 被转换值
* @ param defaultValue 默认值
* @ param isCustomFirst 是否自定义转换器优先
* @ return 转换后的值
* @ throws ConvertException 转换器不存在 */
@ SuppressWarnings ( "unchecked" ) public < T > T convert ( Ty... | if ( TypeUtil . isUnknow ( type ) && null == defaultValue ) { // 对于用户不指定目标类型的情况 , 返回原值
return ( T ) value ; } if ( ObjectUtil . isNull ( value ) ) { return defaultValue ; } if ( TypeUtil . isUnknow ( type ) ) { type = defaultValue . getClass ( ) ; } // 标准转换器
final Converter < T > converter = getConverter ( type , isCus... |
public class PDFBoxTree { /** * Transforms a position according to the current transformation matrix and current page transformation .
* @ param x
* @ param y
* @ return */
protected float [ ] transformPosition ( float x , float y ) { } } | Point2D . Float point = super . transformedPoint ( x , y ) ; AffineTransform pageTransform = createCurrentPageTransformation ( ) ; Point2D . Float transformedPoint = ( Point2D . Float ) pageTransform . transform ( point , null ) ; return new float [ ] { ( float ) transformedPoint . getX ( ) , ( float ) transformedPoint... |
public class WrappedFuture { /** * { @ inheritDoc } */
@ Override public Object get ( ) throws InterruptedException , ExecutionException { } } | Future < ? > wrapped = ( Future < ? > ) future . get ( ) ; return wrapped . get ( ) ; |
public class Expressions { /** * Create a new Template expression
* @ param cl type of expression
* @ param template template
* @ param args template parameters
* @ return template expression */
public static < T > DslTemplate < T > dslTemplate ( Class < ? extends T > cl , String template , List < ? > args ) { ... | return dslTemplate ( cl , createTemplate ( template ) , args ) ; |
public class CommerceWishListItemPersistenceImpl { /** * Returns the last commerce wish list item in the ordered set where commerceWishListId = & # 63 ; and CProductId = & # 63 ; .
* @ param commerceWishListId the commerce wish list ID
* @ param CProductId the c product ID
* @ param orderByComparator the comparat... | CommerceWishListItem commerceWishListItem = fetchByCW_CP_Last ( commerceWishListId , CProductId , orderByComparator ) ; if ( commerceWishListItem != null ) { return commerceWishListItem ; } StringBundler msg = new StringBundler ( 6 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "commerceWishListId=" ) ;... |
public class JSEnum { /** * Format for printing . */
public void format ( StringBuffer fmt , Set done , Set todo , int indent ) { } } | formatName ( fmt , indent ) ; fmt . append ( "Enum" ) ; if ( enumerators != null ) { fmt . append ( "{{" ) ; String delim = "" ; for ( int i = 0 ; i < enumerators . length ; i ++ ) { fmt . append ( delim ) . append ( enumerators [ i ] ) ; delim = "," ; } fmt . append ( "}}" ) ; } |
public class EndpointHelpDto { /** * Creates an endpoint help DTO from a resource class .
* @ param resourceClass The resource class .
* @ return The endpoint help DTO . */
public static EndpointHelpDto fromResourceClass ( Class < ? extends AbstractResource > resourceClass ) { } } | Path path = resourceClass . getAnnotation ( Path . class ) ; Description description = resourceClass . getAnnotation ( Description . class ) ; if ( path != null && description != null ) { EndpointHelpDto result = new EndpointHelpDto ( ) ; result . setDescription ( description . value ( ) ) ; result . setEndpoint ( path... |
public class RowBuilder { /** * identity valued column .
* @ param name the column name */
public RowBuilder identityCol ( String name ) { } } | Column column = new ColumnIdentity ( _columns . size ( ) , name , _offset ) ; _offset += column . length ( ) ; _columns . add ( column ) ; return this ; |
public class OutputConfigMarshaller { /** * Marshall the given parameter object . */
public void marshall ( OutputConfig outputConfig , ProtocolMarshaller protocolMarshaller ) { } } | if ( outputConfig == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( outputConfig . getS3OutputLocation ( ) , S3OUTPUTLOCATION_BINDING ) ; protocolMarshaller . marshall ( outputConfig . getTargetDevice ( ) , TARGETDEVICE_BINDING ) ; } catch ... |
public class FilesImpl { /** * Returns the content of the specified task file .
* @ param jobId The ID of the job that contains the task .
* @ param taskId The ID of the task whose file you want to retrieve .
* @ param filePath The path to the task file that you want to get the content of .
* @ param fileGetFro... | return getFromTaskWithServiceResponseAsync ( jobId , taskId , filePath , fileGetFromTaskOptions ) . map ( new Func1 < ServiceResponseWithHeaders < InputStream , FileGetFromTaskHeaders > , InputStream > ( ) { @ Override public InputStream call ( ServiceResponseWithHeaders < InputStream , FileGetFromTaskHeaders > respons... |
public class SearchResult { /** * The requested facet information .
* @ return The requested facet information . */
public java . util . Map < String , BucketInfo > getFacets ( ) { } } | if ( facets == null ) { facets = new com . amazonaws . internal . SdkInternalMap < String , BucketInfo > ( ) ; } return facets ; |
public class MutableViewData { /** * Constructs a new { @ link MutableViewData } .
* @ param view the { @ code View } linked with this { @ code MutableViewData } .
* @ param start the start { @ code Timestamp } .
* @ return a { @ code MutableViewData } . */
static MutableViewData create ( final View view , final ... | return view . getWindow ( ) . match ( new CreateCumulative ( view , start ) , new CreateInterval ( view , start ) , Functions . < MutableViewData > throwAssertionError ( ) ) ; |
public class BeanRepository { /** * Returns a new created Object with the given { @ code creator } . This equates to a { @ code prototype } Bean . It is
* not required to configure a { @ code prototype } Bean in the BeanRepository before . This Method can be used
* to pass Parameters to the Constructor of an Object... | final PrototypeProvider provider = new PrototypeProvider ( name , creator ) ; return provider . getBean ( this , dryRun ) ; |
public class BatchListObjectPoliciesResponse { /** * A list of policy < code > ObjectIdentifiers < / code > , that are attached to the object .
* @ param attachedPolicyIds
* A list of policy < code > ObjectIdentifiers < / code > , that are attached to the object . */
public void setAttachedPolicyIds ( java . util .... | if ( attachedPolicyIds == null ) { this . attachedPolicyIds = null ; return ; } this . attachedPolicyIds = new java . util . ArrayList < String > ( attachedPolicyIds ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.