signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class XTimeBoundsImpl { /** * / * ( non - Javadoc )
* @ see org . deckfour . xes . summary . XTimeBoundaries # isWithin ( java . util . Date ) */
public boolean isWithin ( Date date ) { } } | if ( first == null ) { return false ; } else if ( date . equals ( first ) ) { return true ; } else if ( date . equals ( last ) ) { return true ; } else if ( date . after ( first ) && date . before ( last ) ) { return true ; } else { return false ; } |
public class ArrayUtilities { /** * Convert Collection to a Java ( typed ) array [ ] .
* @ param classToCastTo array type ( Object [ ] , Person [ ] , etc . )
* @ param c Collection containing items to be placed into the array .
* @ param < T > Type of the array
* @ return Array of the type ( T ) containing the ... | T [ ] array = ( T [ ] ) c . toArray ( ( T [ ] ) Array . newInstance ( classToCastTo , c . size ( ) ) ) ; Iterator i = c . iterator ( ) ; int idx = 0 ; while ( i . hasNext ( ) ) { Array . set ( array , idx ++ , i . next ( ) ) ; } return array ; |
public class LiteralType { /** * Accept .
* @ param < R > the generic type
* @ param < P > the generic type
* @ param v the v
* @ param p the p
* @ return the r */
public < R , P > R accept ( TypeVisitor < R , P > v , P p ) { } } | return null ; |
public class SettingsInMemory { /** * Get a Settings property as an Integer object .
* @ param key the Key Name of the numeric property to be returned .
* @ return Value of the property as an Integer or null if no property found . */
public Integer getInteger ( String key ) { } } | Integer iVal = null ; String sVal = getText ( key ) ; if ( ( sVal != null ) && ( sVal . length ( ) > 0 ) ) { iVal = Integer . valueOf ( sVal ) ; } return iVal ; |
public class VariableResolver { /** * Returns a set of references variables .
* @ param value
* Value to parse - May be < code > null < / code > .
* @ return Referenced variable names - Never < code > null < / code > , but may be empty . */
public static Set < String > references ( final String value ) { } } | final HashSet < String > names = new HashSet < String > ( ) ; if ( ( value == null ) || ( value . length ( ) == 0 ) ) { return names ; } int end = - 1 ; int from = 0 ; int start = - 1 ; while ( ( start = value . indexOf ( "${" , from ) ) > - 1 ) { end = value . indexOf ( '}' , start + 1 ) ; if ( end == - 1 ) { // No cl... |
public class DescribeProvisioningParametersResult { /** * Information about the TagOptions associated with the resource .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setTagOptions ( java . util . Collection ) } or { @ link # withTagOptions ( java . util .... | if ( this . tagOptions == null ) { setTagOptions ( new java . util . ArrayList < TagOptionSummary > ( tagOptions . length ) ) ; } for ( TagOptionSummary ele : tagOptions ) { this . tagOptions . add ( ele ) ; } return this ; |
public class ICUResourceBundleReader { /** * See res _ init ( ) in ICU4C / source / common / uresdata . c . */
private void init ( ByteBuffer inBytes ) throws IOException { } } | dataVersion = ICUBinary . readHeader ( inBytes , DATA_FORMAT , IS_ACCEPTABLE ) ; int majorFormatVersion = inBytes . get ( 16 ) ; bytes = ICUBinary . sliceWithOrder ( inBytes ) ; int dataLength = bytes . remaining ( ) ; if ( DEBUG ) System . out . println ( "The ByteBuffer is direct (memory-mapped): " + bytes . isDirect... |
public class PropertiesEscape { /** * Perform a ( configurable ) Java Properties Value < strong > escape < / strong > operation on a < tt > String < / tt > input .
* This method will perform an escape operation according to the specified
* { @ link org . unbescape . properties . PropertiesValueEscapeLevel } argumen... | if ( level == null ) { throw new IllegalArgumentException ( "The 'level' argument cannot be null" ) ; } return PropertiesValueEscapeUtil . escape ( text , level ) ; |
public class RandomMatrices_DSCC { /** * Creates a triangular matrix where the amount of fill is randomly selected too .
* @ param upper true for upper triangular and false for lower
* @ param N number of rows and columns
* er * @ param minFill minimum fill fraction
* @ param maxFill maximum fill fraction
* @... | int nz = ( int ) ( ( ( N - 1 ) * ( N - 1 ) / 2 ) * ( rand . nextDouble ( ) * ( maxFill - minFill ) + minFill ) ) + N ; if ( upper ) { return triangleUpper ( N , 0 , nz , - 1 , 1 , rand ) ; } else { return triangleLower ( N , 0 , nz , - 1 , 1 , rand ) ; } |
public class EntityDescFactory { /** * エンティティ記述を作成します 。
* @ param tableMeta テーブルメタデータ
* @ param entityPrefix エンティティクラスのプリフィックス
* @ param entitySuffix エンティティクラスのサフィックス
* @ return エンティティ記述 */
public EntityDesc createEntityDesc ( TableMeta tableMeta , String entityPrefix , String entitySuffix ) { } } | String name = StringUtil . fromSnakeCaseToCamelCase ( tableMeta . getName ( ) ) ; return createEntityDesc ( tableMeta , entityPrefix , entitySuffix , StringUtil . capitalize ( name ) ) ; |
public class SignerBuilder { /** * Builds and returns the { @ link Signer } instance . If signing client isn ' t configured , { @ link NullPointerException } is thrown . */
public Signer build ( ) { } } | Util . notNull ( signingService , "KSI signing service" ) ; if ( defaultHashAlgorithm == null ) { this . defaultHashAlgorithm = HashAlgorithm . SHA2_256 ; } defaultHashAlgorithm . checkExpiration ( ) ; if ( policy == null ) { this . policy = ContextAwarePolicyAdapter . createInternalPolicy ( ) ; } KSISignatureComponent... |
public class RetryingHttpClientBuilder { /** * Returns a newly - created { @ link RetryingHttpClient } based on the properties of this builder . */
@ Override public RetryingHttpClient build ( Client < HttpRequest , HttpResponse > delegate ) { } } | if ( needsContentInStrategy ) { return new RetryingHttpClient ( delegate , retryStrategyWithContent ( ) , maxTotalAttempts ( ) , responseTimeoutMillisForEachAttempt ( ) , useRetryAfter , contentPreviewLength ) ; } return new RetryingHttpClient ( delegate , retryStrategy ( ) , maxTotalAttempts ( ) , responseTimeoutMilli... |
public class JDayChooser { /** * Draws the day names of the day columnes . */
private void drawDayNames ( ) { } } | int firstDayOfWeek = calendar . getFirstDayOfWeek ( ) ; DateFormatSymbols dateFormatSymbols = new DateFormatSymbols ( locale ) ; dayNames = dateFormatSymbols . getShortWeekdays ( ) ; int day = firstDayOfWeek ; for ( int i = 0 ; i < 7 ; i ++ ) { if ( maxDayCharacters > 0 && maxDayCharacters < 5 ) { if ( dayNames [ day ]... |
public class SessionUtils { /** * Are we to support AngularDart instead of AngularJS ?
* @ return true if AngularDart is used */
public static boolean isDartControllerActive ( ) { } } | Map < String , Object > sessionMap = FacesContext . getCurrentInstance ( ) . getExternalContext ( ) . getSessionMap ( ) ; if ( sessionMap . containsKey ( DART_CONTROLLER ) ) { return "true" . equals ( sessionMap . get ( DART_CONTROLLER ) ) ; } return false ; |
public class Router { /** * Pushes a new { @ link Controller } to the backstack
* @ param transaction The transaction detailing what should be pushed , including the { @ link Controller } ,
* and its push and pop { @ link ControllerChangeHandler } , and its tag . */
@ UiThread public void pushController ( @ NonNull... | ThreadUtils . ensureMainThread ( ) ; RouterTransaction from = backstack . peek ( ) ; pushToBackstack ( transaction ) ; performControllerChange ( transaction , from , true ) ; |
public class StringUtils { /** * < p > Checks if the CharSequence contains only Unicode digits .
* A decimal point is not a Unicode digit and returns false .
* < p > { @ code null } will return { @ code false } .
* An empty CharSequence ( length ( ) = 0 ) will return { @ code false } .
* < p > Note that the met... | if ( Strings . isNullOrEmpty ( cs ) ) { return false ; } final int sz = cs . length ( ) ; for ( int i = 0 ; i < sz ; i ++ ) { if ( ! Character . isDigit ( cs . charAt ( i ) ) ) { return false ; } } return true ; |
public class PeepholeRemoveDeadCode { /** * Remove try blocks without catch blocks and with empty or not
* existent finally blocks .
* Or , only leave the finally blocks if try body blocks are empty
* @ return the replacement node , if changed , or the original if not */
private Node tryFoldTry ( Node n ) { } } | checkState ( n . isTry ( ) , n ) ; Node body = n . getFirstChild ( ) ; Node catchBlock = body . getNext ( ) ; Node finallyBlock = catchBlock . getNext ( ) ; // Removes TRYs that had its CATCH removed and / or empty FINALLY .
if ( ! catchBlock . hasChildren ( ) && ( finallyBlock == null || ! finallyBlock . hasChildren (... |
public class AnnotatedElementMap { /** * Overrides the standard Serialization readObject implementation to reassociated with the
* target AnnotatedElement after deserialization . */
private void readObject ( java . io . ObjectInputStream in ) throws IOException , ClassNotFoundException { } } | in . defaultReadObject ( ) ; if ( _elemDesc == null ) // element is a Class
_annotElem = _elemClass ; else { int argsIndex = _elemDesc . indexOf ( '(' ) ; if ( argsIndex < 0 ) // element is a Field
{ try { _annotElem = _elemClass . getDeclaredField ( _elemDesc ) ; } catch ( NoSuchFieldException nsfe ) { throw new IOExc... |
public class SquareCrossClustersIntoGrids { /** * Converts the list of rows into a grid . Since it is a chessboard pattern some of the grid
* elements will be null . */
private SquareGrid assembleGrid ( List < List < SquareNode > > listRows ) { } } | SquareGrid grid = grids . grow ( ) ; grid . reset ( ) ; List < SquareNode > row0 = listRows . get ( 0 ) ; List < SquareNode > row1 = listRows . get ( 1 ) ; int offset = row0 . get ( 0 ) . getNumberOfConnections ( ) == 1 ? 0 : 1 ; grid . columns = row0 . size ( ) + row1 . size ( ) ; grid . rows = listRows . size ( ) ; /... |
public class MapLens { /** * A lens that focuses on a value at a key in a map , as a { @ link Maybe } , and produces a subtype < code > M < / code > on
* the way back out .
* @ param < M > the map subtype
* @ param < K > the key type
* @ param < V > the value type
* @ param k the key to focus on
* @ param c... | return lens ( m -> maybe ( m . get ( k ) ) , ( m , maybeV ) -> maybeV . < Fn1 < M , IO < M > > > fmap ( v -> alter ( updated -> updated . put ( k , v ) ) ) . orElse ( alter ( updated -> updated . remove ( k ) ) ) . apply ( copyFn . apply ( m ) ) . unsafePerformIO ( ) ) ; |
public class QueryControllerTreeModel { /** * Inserts a new node group or query into the Tree */
public void elementAdded ( QueryControllerEntity element ) { } } | if ( element instanceof QueryControllerGroup ) { QueryControllerGroup group = ( QueryControllerGroup ) element ; QueryGroupTreeElement ele = new QueryGroupTreeElement ( group . getID ( ) ) ; insertNodeInto ( ele , ( DefaultMutableTreeNode ) root , root . getChildCount ( ) ) ; nodeStructureChanged ( root ) ; } else if (... |
public class AbstractJavaMetadata { /** * Process together modifiers and variables of a { @ link FieldDeclaration } .
* @ param fieldDeclaration - the field declaration instance .
* @ param arrayTypeFieldMetadata - the meta data . */
private void processModifiersAndVariablesOfFieldDeclaration ( FieldDeclaration fie... | processModifiersOfFieldDeclaration ( fieldDeclaration , arrayTypeFieldMetadata ) ; processVariablesOfVariableDeclarationFragment ( fieldDeclaration , arrayTypeFieldMetadata ) ; |
public class EhCacheWrapper { /** * ( non - Javadoc )
* @ see javax . persistence . Cache # evict ( java . lang . Class , java . lang . Object ) */
@ Override public void evict ( Class arg0 , Object arg1 ) { } } | // TODO Can we use Class with ehcache
if ( isAlive ( ) ) ehcache . remove ( arg1 ) ; |
public class LdapUtils { /** * Load a LDAP definition from the Yaml config ( IdentityProviderBootstrap ) */
public static LdapIdentityProviderDefinition fromConfig ( Map < String , Object > ldapConfig ) { } } | Assert . notNull ( ldapConfig ) ; LdapIdentityProviderDefinition definition = new LdapIdentityProviderDefinition ( ) ; if ( ldapConfig == null || ldapConfig . isEmpty ( ) ) { return definition ; } if ( ldapConfig . get ( LdapIdentityProviderDefinition . LDAP_STORE_CUSTOM_ATTRIBUTES ) != null ) { definition . setStoreCu... |
public class JIRAController { /** * Creating a configuration */
@ RequestMapping ( value = "configurations/create" , method = RequestMethod . POST ) public JIRAConfiguration newConfiguration ( @ RequestBody JIRAConfiguration configuration ) { } } | return jiraConfigurationService . newConfiguration ( configuration ) ; |
public class JKIOUtil { /** * Gets the files in folder .
* @ param folder the folder
* @ param ext the ext
* @ return the files in folder */
public static List < String > getFilesInFolder ( String folder , String ext ) { } } | // tryto find using normal file system lookup
List < String > files = new Vector < > ( ) ; File dir = new File ( folder ) ; if ( dir . exists ( ) && dir . isDirectory ( ) ) { String [ ] list = dir . list ( ) ; for ( String file : list ) { if ( file . endsWith ( ext ) ) { files . add ( file ) ; } } } return files ; |
public class BeanELResolverEx { /** * Invokes the method considering the base ' s BeanInfo class ' MethodDescriptors . Resolves method
* overloads by looking at the MethodDescriptors first and only then the base ' s class itself ,
* choosing the most specific candidate . */
@ Override public Object invoke ( final E... | if ( ( base == null ) || ( method == null ) ) { return null ; } final MethodDescriptor [ ] methodDescriptors = getMethodDescriptors ( context , base ) ; if ( methodDescriptors != null ) { final Method m = findMethodOrThrow ( method . toString ( ) , paramTypes , params , false , methodDescriptors ) ; paramTypes = m . ge... |
public class ZookeeperUtil { /** * Parses chroot section of Zookeeper connection string
* @ param zookeepers Zookeeper connection string
* @ return Returns root path or " / " if none found */
public static String parseRoot ( String zookeepers ) { } } | int slashIndex = zookeepers . indexOf ( "/" ) ; if ( slashIndex != - 1 ) { return zookeepers . substring ( slashIndex ) . trim ( ) ; } return "/" ; |
public class WriteClass { /** * Read the class with this name . */
public boolean readThisClass ( String strClassName ) { } } | try { Record recClassInfo = this . getMainRecord ( ) ; recClassInfo . getField ( ClassInfo . CLASS_NAME ) . setString ( strClassName ) ; recClassInfo . setKeyArea ( ClassInfo . CLASS_NAME_KEY ) ; return recClassInfo . seek ( "=" ) ; // Get this class record back
} catch ( DBException ex ) { ex . printStackTrace ( ) ; r... |
public class FileInputFormat { /** * Opens an input stream to the file defined in the input format .
* The stream is positioned at the beginning of the given split .
* The stream is actually opened in an asynchronous thread to make sure any interruptions to the thread
* working on the input format do not reach th... | this . currentSplit = fileSplit ; this . splitStart = fileSplit . getStart ( ) ; this . splitLength = fileSplit . getLength ( ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Opening input split " + fileSplit . getPath ( ) + " [" + this . splitStart + "," + this . splitLength + "]" ) ; } // open the split in an asy... |
public class IoUtil { /** * 按行读取数据 , 针对每行的数据做处理
* @ param in { @ link InputStream }
* @ param charset { @ link Charset } 编码
* @ param lineHandler 行处理接口 , 实现handle方法用于编辑一行的数据后入到指定地方
* @ throws IORuntimeException IO异常
* @ since 3.0.9 */
public static void readLines ( InputStream in , Charset charset , LineHandl... | readLines ( getReader ( in , charset ) , lineHandler ) ; |
public class DataUtil { /** * little - endian or intel format . */
public static long readLongLittleEndian ( InputStream io ) throws IOException { } } | long value = io . read ( ) ; if ( value < 0 ) throw new EOFException ( ) ; int i = io . read ( ) ; if ( i < 0 ) throw new EOFException ( ) ; value |= i << 8 ; i = io . read ( ) ; if ( i < 0 ) throw new EOFException ( ) ; value |= i << 16 ; i = io . read ( ) ; if ( i < 0 ) throw new EOFException ( ) ; value |= ( ( long ... |
public class SwingWrapper { /** * Repaint the XChartPanel given the provided index .
* @ param index */
public void repaintChart ( int index ) { } } | chartPanels . get ( index ) . revalidate ( ) ; chartPanels . get ( index ) . repaint ( ) ; |
public class JSONObject { /** * Get an optional string associated with a key . It returns the defaultValue if there is no such key .
* @ param key
* A key string .
* @ param defaultValue
* The default .
* @ return A string which is the value . */
public String optString ( String key , String defaultValue ) { ... | Object o = opt ( key ) ; return o != null ? o . toString ( ) : defaultValue ; |
public class EDMImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public void eSet ( int featureID , Object newValue ) { } } | switch ( featureID ) { case AfplibPackage . EDM__DM_NAME : setDMName ( ( String ) newValue ) ; return ; } super . eSet ( featureID , newValue ) ; |
public class Config { /** * Determines if the value of the given property is a script or not
* @ param propertyName The name of the property to check
* @ return True if the property exists and its value is a script */
public static boolean valueIsScript ( String propertyName ) { } } | return ( getInstance ( ) . properties . containsKey ( propertyName ) && getInstance ( ) . properties . get ( propertyName ) . startsWith ( SCRIPT_PROPERTY ) ) ; |
public class FaultRootCauseEntity { /** * The types and messages of the exceptions .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setExceptions ( java . util . Collection ) } or { @ link # withExceptions ( java . util . Collection ) } if you want to
* ov... | if ( this . exceptions == null ) { setExceptions ( new java . util . ArrayList < RootCauseException > ( exceptions . length ) ) ; } for ( RootCauseException ele : exceptions ) { this . exceptions . add ( ele ) ; } return this ; |
public class Printer { /** * Prints the given string tree .
* @ param pw
* the writer to be used to print the tree .
* @ param l
* a string tree , i . e . , a string list that can contain other
* string lists , and so on recursively . */
static void printList ( final PrintWriter pw , final List < ? > l ) { } ... | for ( int i = 0 ; i < l . size ( ) ; ++ i ) { Object o = l . get ( i ) ; if ( o instanceof List ) { printList ( pw , ( List < ? > ) o ) ; } else { pw . print ( o . toString ( ) ) ; } } |
public class InstanceTimelineMarshaller { /** * Marshall the given parameter object . */
public void marshall ( InstanceTimeline instanceTimeline , ProtocolMarshaller protocolMarshaller ) { } } | if ( instanceTimeline == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( instanceTimeline . getCreationDateTime ( ) , CREATIONDATETIME_BINDING ) ; protocolMarshaller . marshall ( instanceTimeline . getReadyDateTime ( ) , READYDATETIME_BINDIN... |
public class ApiOvhLicenseplesk { /** * Get this object properties
* REST : GET / license / plesk / { serviceName } / option / { label }
* @ param serviceName [ required ] The name of your Plesk license
* @ param label [ required ] This option designation */
public OvhOption serviceName_option_label_GET ( String ... | String qPath = "/license/plesk/{serviceName}/option/{label}" ; StringBuilder sb = path ( qPath , serviceName , label ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhOption . class ) ; |
public class ComplexFloatFFT_Mixed { /** * / * _ _ _ _ _ */
void pass_7 ( int fi , float in [ ] , int in0 , int istride , float out [ ] , int out0 , int ostride , int sign , int product ) { } } | int k , k1 ; int factor = 7 ; int m = n / factor ; int q = n / product ; int p_1 = product / factor ; int jump = ( factor - 1 ) * p_1 ; float c1 = ( float ) Math . cos ( 1.0 * 2.0 * PI / 7.0 ) ; float c2 = ( float ) Math . cos ( 2.0 * 2.0 * PI / 7.0 ) ; float c3 = ( float ) Math . cos ( 3.0 * 2.0 * PI / 7.0 ) ; float s... |
public class CEDescrBuilderImpl { /** * { @ inheritDoc } */
public AccumulateDescrBuilder < CEDescrBuilder < P , T > > accumulate ( ) { } } | // here we have to do a trick as a top level accumulate is just an accumulate
// whose result pattern is Object [ ]
// create a linked Object [ ] pattern and set it to query false
PatternDescrBuilder < CEDescrBuilder < P , T > > pdb = pattern ( "Object[]" ) . isQuery ( false ) ; // create the accumulate builder with th... |
public class ByteArray { /** * 将array的内容引用复制给本对象
* @ param array ByteArray */
public void directFrom ( ByteArray array ) { } } | if ( array != null ) { this . content = array . content ; this . count = array . count ; } |
public class appfwxmlcontenttype { /** * Use this API to fetch all the appfwxmlcontenttype resources that are configured on netscaler . */
public static appfwxmlcontenttype [ ] get ( nitro_service service ) throws Exception { } } | appfwxmlcontenttype obj = new appfwxmlcontenttype ( ) ; appfwxmlcontenttype [ ] response = ( appfwxmlcontenttype [ ] ) obj . get_resources ( service ) ; return response ; |
public class EntityDataModelUtil { /** * Gets the names of the properties that are part of the key of an entity type .
* @ param entityType The entity type .
* @ return A { @ code Set } containing the names of the key properties of the entity type . */
public static Set < String > getKeyPropertyNames ( EntityType e... | Set < String > keyPropertyNames = entityType . getKey ( ) . getPropertyRefs ( ) . stream ( ) . map ( PropertyRef :: getPath ) . collect ( Collectors . toSet ( ) ) ; return keyPropertyNames ; |
public class AndroidPermissions { /** * Requests the missing permissions .
* The activity from which this method is called has to implement
* { @ link Activity # onRequestPermissionsResult ( int , String [ ] , int [ ] ) }
* and then , inside it , it has to call the method
* { @ link AndroidPermissions # areAllR... | String [ ] request = mPermissionsToRequest . toArray ( new String [ mPermissionsToRequest . size ( ) ] ) ; StringBuilder log = new StringBuilder ( ) ; log . append ( "Requesting permissions:\n" ) ; for ( String permission : request ) { log . append ( permission ) . append ( "\n" ) ; } Log . i ( getClass ( ) . getSimple... |
public class AmazonSNSClient { /** * Returns the settings for sending SMS messages from your account .
* These settings are set with the < code > SetSMSAttributes < / code > action .
* @ param getSMSAttributesRequest
* The input for the < code > GetSMSAttributes < / code > request .
* @ return Result of the Get... | request = beforeClientExecution ( request ) ; return executeGetSMSAttributes ( request ) ; |
public class SchedulerProvider { /** * Sets the { @ code TriggerListener } s .
* @ param triggerListeners The { @ code TriggerListener } s
* @ throws SchedulerException If any error occurs */
@ Inject ( optional = true ) public void addTriggerListeners ( Set < TriggerListener > triggerListeners ) throws SchedulerEx... | for ( TriggerListener triggerListener : triggerListeners ) { scheduler . getListenerManager ( ) . addTriggerListener ( triggerListener ) ; } |
public class autoscaleprofile { /** * Use this API to update autoscaleprofile . */
public static base_response update ( nitro_service client , autoscaleprofile resource ) throws Exception { } } | autoscaleprofile updateresource = new autoscaleprofile ( ) ; updateresource . name = resource . name ; updateresource . url = resource . url ; updateresource . apikey = resource . apikey ; updateresource . sharedsecret = resource . sharedsecret ; return updateresource . update_resource ( client ) ; |
public class AbstractCommand { /** * Set the id . In most cases , this is provided by the constructor or through
* the beanId provided in the applicationContext .
* @ param id */
protected void setId ( String id ) { } } | if ( ! StringUtils . hasText ( id ) ) { id = null ; } this . id = id ; |
public class AliPayApi { /** * 统一收单交易退款查询
* @ param model
* { AlipayTradeFastpayRefundQueryModel }
* @ return { AlipayTradeFastpayRefundQueryResponse }
* @ throws { AlipayApiException } */
public static AlipayTradeFastpayRefundQueryResponse tradeRefundQueryToResponse ( AlipayTradeFastpayRefundQueryModel model )... | AlipayTradeFastpayRefundQueryRequest request = new AlipayTradeFastpayRefundQueryRequest ( ) ; request . setBizModel ( model ) ; return AliPayApiConfigKit . getAliPayApiConfig ( ) . getAlipayClient ( ) . execute ( request ) ; |
public class ClientInterface { /** * Move partition leader from one host to another .
* find a partition leader from a host which hosts the most partition leaders
* and find the host which hosts the partition replica and the least number of partition leaders .
* send MigratePartitionLeaderMessage to the host with... | RealVoltDB voltDB = ( RealVoltDB ) VoltDB . instance ( ) ; final int hostId = CoreUtils . getHostIdFromHSId ( m_siteId ) ; Pair < Integer , Integer > target = null ; if ( prepareStopNode ) { target = m_cartographer . getPartitionLeaderMigrationTargetForStopNode ( hostId ) ; } else { if ( voltDB . isClusterComplete ( ) ... |
public class CurseFilter { /** * Configure the words that will stop . */
protected void configureStopWords ( String stopWords ) { } } | List < String > patterns = Lists . newArrayList ( ) ; for ( StringTokenizer st = new StringTokenizer ( stopWords ) ; st . hasMoreTokens ( ) ; ) { patterns . add ( getStopWordRegexp ( st . nextToken ( ) ) ) ; } String pattern = patterns . isEmpty ( ) ? ".\\A" // matches nothing
: "(" + Joiner . on ( '|' ) . join ( patte... |
public class Parser { /** * * * * * * INLINES * * * * * */
public Rule Inlines ( ) { } } | return NodeSequence ( InlineOrIntermediateEndline ( ) , push ( new SuperNode ( popAsNode ( ) ) ) , ZeroOrMore ( InlineOrIntermediateEndline ( ) , addAsChild ( ) ) , Optional ( Endline ( ) , drop ( ) ) ) ; |
public class TileBoundingBoxUtils { /** * Get the tile grid
* @ param totalBox
* total bounding box
* @ param matrixWidth
* matrix width
* @ param matrixHeight
* matrix height
* @ param boundingBox
* bounding box
* @ return tile grid */
public static TileGrid getTileGrid ( BoundingBox totalBox , long ... | long minColumn = getTileColumn ( totalBox , matrixWidth , boundingBox . getMinLongitude ( ) ) ; long maxColumn = getTileColumn ( totalBox , matrixWidth , boundingBox . getMaxLongitude ( ) ) ; if ( minColumn < matrixWidth && maxColumn >= 0 ) { if ( minColumn < 0 ) { minColumn = 0 ; } if ( maxColumn >= matrixWidth ) { ma... |
public class POIUtils { /** * 任意の列のセルを全て取得する 。
* < p > { @ literal jxl . Seet . getColumn ( int col ) } < / p >
* @ param sheet
* @ param col 列番号 ( 0から始まる )
* @ return 列レコード ( 行の集合 ) 。
* ただし 、 シートの最大行数以下の場合 、 空のセルを補完する 。
* @ throws IllegalArgumentException { @ literal sheet = = null } */
public static Cel... | ArgUtils . notNull ( sheet , "sheet" ) ; int maxRow = getRows ( sheet ) ; Cell [ ] cells = new Cell [ maxRow ] ; for ( int i = 0 ; i < maxRow ; i ++ ) { Row rows = sheet . getRow ( i ) ; if ( rows == null ) { rows = sheet . createRow ( i ) ; } Cell cell = rows . getCell ( col ) ; if ( cell == null ) { cell = rows . cre... |
public class MergeableManifest2 { /** * Add the set with given bundles to the " Require - Bundle " main attribute .
* @ param requiredBundles The set with all bundles to add . */
public void addRequiredBundles ( Set < String > requiredBundles ) { } } | addRequiredBundles ( requiredBundles . toArray ( new String [ requiredBundles . size ( ) ] ) ) ; |
public class ModelsImpl { /** * Create an entity role for an entity in the application .
* @ param appId The application ID .
* @ param versionId The version ID .
* @ param entityId The entity model ID .
* @ param createCustomPrebuiltEntityRoleOptionalParameter the object representing the optional parameters to... | return createCustomPrebuiltEntityRoleWithServiceResponseAsync ( appId , versionId , entityId , createCustomPrebuiltEntityRoleOptionalParameter ) . map ( new Func1 < ServiceResponse < UUID > , UUID > ( ) { @ Override public UUID call ( ServiceResponse < UUID > response ) { return response . body ( ) ; } } ) ; |
public class ValidatorMap { /** * Returns a list of { @ link XMLValidator } s applicable to the given
* { @ link ValidationContext } , as determined by the { @ link Predicate } used to
* build this map . The validators are returned in the order in which they have
* been added to the builder .
* < code > XMLVali... | return FluentIterable . from ( validators . entrySet ( ) ) . transform ( new Function < Entry < XMLValidators , Predicate < ? super ValidationContext > > , XMLValidator > ( ) { @ Override public XMLValidator apply ( Entry < XMLValidators , Predicate < ? super ValidationContext > > entry ) { return entry . getValue ( ) ... |
public class TreeCache { /** * Return the current data for the given path . There are no guarantees of accuracy . This is
* merely the most recent view of the data . If there is no node at the given path ,
* { @ code null } is returned .
* @ param fullPath full path to the node to check
* @ return data if the n... | TreeNode node = find ( fullPath ) ; if ( node == null || node . nodeState != NodeState . LIVE ) { return null ; } ChildData result = node . childData ; // Double - check liveness after retreiving data .
return node . nodeState == NodeState . LIVE ? result : null ; |
public class Menu { /** * Returns for given parameter < i > _ id < / i > the instance of class { @ link Menu }
* @ param _ id id to search in the cache
* @ return instance of class { @ link Menu }
* @ throws CacheReloadException on error */
public static Menu get ( final long _id ) throws CacheReloadException { }... | return AbstractUserInterfaceObject . < Menu > get ( _id , Menu . class , CIAdminUserInterface . Menu . getType ( ) ) ; |
public class MapComposedElement { /** * Check if point p is contained in this coordinates collections .
* @ param point the point to compare with this coordinates
* @ param groupIndex into look for
* @ return true if p is already part of coordinates */
@ Pure public boolean containsPoint ( Point2D < ? , ? > point... | final int grpCount = getGroupCount ( ) ; if ( groupIndex < 0 ) { throw new IndexOutOfBoundsException ( groupIndex + "<0" ) ; // $ NON - NLS - 1 $
} if ( groupIndex > grpCount ) { throw new IndexOutOfBoundsException ( groupIndex + ">" + grpCount ) ; // $ NON - NLS - 1 $
} if ( point == null ) { return false ; } for ( in... |
public class FileOperations { /** * Copies the source file to the target file .
* @ param aSourceFile
* The source file to use . May not be < code > null < / code > . Needs to be an
* existing file .
* @ param aTargetFile
* The destination files . May not be < code > null < / code > and may not be
* an exis... | ValueEnforcer . notNull ( aSourceFile , "SourceFile" ) ; ValueEnforcer . notNull ( aTargetFile , "TargetFile" ) ; // Does the source file exist ?
if ( ! FileHelper . existsFile ( aSourceFile ) ) return EFileIOErrorCode . SOURCE_DOES_NOT_EXIST . getAsIOError ( EFileIOOperation . COPY_FILE , aSourceFile ) ; // Are source... |
public class RLEDecoder { /** * even if this will make the output larger . */
public int decode ( final InputStream stream , final ByteBuffer buffer ) throws IOException { } } | while ( buffer . remaining ( ) >= 64 ) { int val = stream . read ( ) ; if ( val < 0 ) { break ; // EOF
} if ( ( val & COMPRESSED_RUN_MASK ) == COMPRESSED_RUN_MASK ) { int count = val & ~ COMPRESSED_RUN_MASK ; int pixel = stream . read ( ) ; if ( pixel < 0 ) { break ; // EOF
} for ( int i = 0 ; i < count ; i ++ ) { buff... |
public class AnalyzeJourneyByMethodAction { /** * { @ inheritDoc } */
@ Override public ActionCommand execute ( ActionMapping mapping , FormBean formBean , HttpServletRequest req , HttpServletResponse res ) throws APIException { } } | String journeyName = req . getParameter ( PARAM_JOURNEY_NAME ) ; req . setAttribute ( "journeyName" , journeyName ) ; // add totals to the journey list on top .
AnalyzedJourneyAO analyzedJourney = getJourneyAPI ( ) . analyzeJourneyByMethod ( journeyName ) ; List < AnalyzedProducerCallsMapAO > callsInJourny = analyzedJo... |
public class FilePublisher { /** * Notifies all file subscribers registered to { @ code reloadableFile }
* @ param reloadableFile the ReloadableFile object for which to notify all pertaining file subscribers */
public synchronized void notifyFileSubscribers ( ReloadableFile reloadableFile ) { } } | notifyDefaultFileSubscribers ( ) ; IdentificationSet < FileSubscriber > subList = fileSubscribers . get ( reloadableFile ) ; if ( subList == null ) { return ; } for ( FileSubscriber sub : subList ) { CompletableFuture . runAsync ( sub :: update , main . getThreadPoolManager ( ) . getAddOnsThreadPool ( ) ) ; } |
public class Strings { /** * Copy the given Enumeration into a String array .
* The Enumeration must contain String elements only .
* @ param enumeration the Enumeration to copy
* @ return the String array ( < code > null < / code > if the passed - in
* Enumeration was < code > null < / code > ) */
public stati... | if ( enumeration == null ) { return null ; } List < String > list = java . util . Collections . list ( enumeration ) ; return list . toArray ( new String [ list . size ( ) ] ) ; |
public class ImportDialog { /** * < / editor - fold > / / GEN - END : initComponents */
private void btCancelActionPerformed ( java . awt . event . ActionEvent evt ) // GEN - FIRST : event _ btCancelActionPerformed
{ } } | // GEN - HEADEREND : event _ btCancelActionPerformed
if ( isImporting ) { worker . cancel ( true ) ; statementController . cancelStatements ( ) ; } setVisible ( false ) ; |
public class DisksInner { /** * Revokes access to a disk .
* @ param resourceGroupName The name of the resource group .
* @ param diskName The name of the managed disk that is being created . The name can ' t be changed after the disk is created . Supported characters for the name are a - z , A - Z , 0-9 and _ . Th... | return revokeAccessWithServiceResponseAsync ( resourceGroupName , diskName ) . map ( new Func1 < ServiceResponse < OperationStatusResponseInner > , OperationStatusResponseInner > ( ) { @ Override public OperationStatusResponseInner call ( ServiceResponse < OperationStatusResponseInner > response ) { return response . b... |
public class KeyVaultClientBaseImpl { /** * Deletes the creation operation for a specific certificate .
* Deletes the creation operation for a specified certificate that is in the process of being created . The certificate is no longer created . This operation requires the certificates / update permission .
* @ par... | return deleteCertificateOperationWithServiceResponseAsync ( vaultBaseUrl , certificateName ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class BasePanel { /** * Get the command string that will restore this screen .
* Override in Screen , GridScreen , MenuScreen .
* @ param strOldURL The URL to add this param to .
* @ param strParam The new param .
* @ param strData The new data for this param .
* @ return The new URL .
* @ see Utilit... | return Utility . addURLParam ( strOldURL , strParam , strData ) ; |
public class WebServiceCommunication { /** * Issues HTTP POST request , returns response body as string .
* @ param endpoint endpoint of request url
* @ param json request body
* @ return response body
* @ throws IOException in case of any IO related issue */
public String postJson ( String endpoint , JSONObjec... | return this . postJson ( endpoint , "" , json ) ; |
public class ExtensionHistory { /** * This method initializes resendDialog
* @ return org . parosproxy . paros . extension . history . ResendDialog */
public ManualRequestEditorDialog getResendDialog ( ) { } } | if ( resendDialog == null ) { resendDialog = new ManualHttpRequestEditorDialog ( true , "resend" , "ui.dialogs.manreq" ) ; resendDialog . setTitle ( Constant . messages . getString ( "manReq.dialog.title" ) ) ; // ZAP : i18n
} return resendDialog ; |
public class TemplCommand { /** * Invoke the command execution method given at object creation time .
* This method is automatically called by the TANGO core classes when the
* associated command is requested by a client .
* @ param dev The device on which the command must be executed
* @ param in _ any The inc... | // Execute the command associated method
try { java . lang . Object [ ] meth_param = new java . lang . Object [ 0 ] ; exe_method . invoke ( dev , meth_param ) ; } catch ( InvocationTargetException e ) { throw ( DevFailed ) ( e . getTargetException ( ) ) ; } catch ( IllegalArgumentException e ) { StringBuffer mess = new... |
public class CoverageUtilities { /** * Creates a { @ link WritableRandomIter } .
* < p > It is important to use this method since it supports also
* large GRASS rasters .
* < p > If the size would throw an integer overflow , a { @ link GrassLegacyRandomIter }
* will be proposed to try to save the saveable .
*... | if ( doesOverFlow ( width , height ) ) { GrassLegacyRandomIter iter = new GrassLegacyRandomIter ( new double [ height ] [ width ] ) ; return iter ; } WritableRaster pitRaster = CoverageUtilities . createWritableRaster ( width , height , null , null , null ) ; WritableRandomIter iter = RandomIterFactory . createWritable... |
public class GDeferredRequest { @ Override public void resolve ( final Response < T > response ) { } } | if ( ! isPending ( ) ) { throw new IllegalStateException ( "Deferred object already finished, cannot resolve again" ) ; } state = State . RESOLVED ; resolveResult = response . getPayload ( ) ; try { triggerDone ( response ) ; } finally { triggerAlways ( resolveResult , null ) ; } |
public class AbstractWComponent { /** * { @ inheritDoc } */
@ Override public void setIdName ( final String idName ) { } } | // Not allow empty or null
if ( Util . empty ( idName ) ) { throw new IllegalArgumentException ( "idName cannot be null or empty" ) ; } // Must start with a letter and followed by letters , digits and or underscores
Matcher matcher = ID_PATTERN . matcher ( idName ) ; if ( ! matcher . matches ( ) ) { throw new IllegalAr... |
public class Resources { /** * Retrieve a char from bundle .
* @ param key the key of resource
* @ return the resource char
* @ throws MissingResourceException if the requested key is unknown */
public char getChar ( String key ) throws MissingResourceException { } } | ResourceBundle bundle = getBundle ( ) ; String value = bundle . getString ( key ) ; if ( 1 == value . length ( ) ) { return value . charAt ( 0 ) ; } else { throw new MissingResourceException ( "Expecting a char value but got " + value , "java.lang.String" , key ) ; } |
public class Datamodel { /** * Creates a { @ link TimeValue } for a given date . The precision is
* automatically set to { @ link TimeValue # PREC _ DAY } .
* @ param year
* a year number , where 0 refers to 1BCE
* @ param month
* a month number between 1 and 12
* @ param day
* a day number between 1 and ... | return factory . getTimeValue ( year , month , day , ( byte ) 0 , ( byte ) 0 , ( byte ) 0 , TimeValue . PREC_DAY , 0 , 0 , 0 , calendarModel ) ; |
public class HikariCPDataSources { /** * Gets the set of data sources ( name - > data source ) .
* It contains the available data sources only .
* @ return the map of name - > data source , empty if none . */
@ Override public Map < String , DataSource > getDataSources ( ) { } } | HashMap < String , DataSource > map = new HashMap < > ( ) ; for ( Map . Entry < String , HikariDataSource > entry : sources . entrySet ( ) ) { if ( entry . getValue ( ) != null ) { map . put ( entry . getKey ( ) , entry . getValue ( ) ) ; } } return map ; |
public class FnInterval { /** * It converts the input { @ link String } elements into an { @ link Interval } .
* The target { @ link String } elements represent the start and end of the { @ link Interval } .
* The accepted input String [ ] are :
* < ul >
* < li > year , month , day , year , month , day < / li >... | return new StringFieldArrayToInterval ( pattern , dateTimeZone ) ; |
public class JRDF { /** * Tells whether the given resources are equivalent .
* Two resources are equivalent if their URIs match .
* @ param u1
* first resource .
* @ param u2
* second resource .
* @ return true if equivalent , false otherwise . */
public static boolean sameResource ( URIReference u1 , URIRe... | return sameResource ( u1 , u2 . getURI ( ) . toString ( ) ) ; |
public class AWSRDSDataClient { /** * Executes any SQL statement on the target database synchronously
* @ param executeSqlRequest
* Execute SQL Request
* @ return Result of the ExecuteSql operation returned by the service .
* @ throws BadRequestException
* Invalid Request exception
* @ throws ForbiddenExcep... | request = beforeClientExecution ( request ) ; return executeExecuteSql ( request ) ; |
public class Stream { /** * Returns { @ code Stream } with distinct elements ( as determined by { @ code hashCode }
* and { @ code equals } methods ) according to the given classifier function .
* < p > This is a stateful intermediate operation .
* < p > Example :
* < pre >
* classifier : ( str ) - & gt ; str... | return new Stream < T > ( params , new ObjDistinctBy < T , K > ( iterator , classifier ) ) ; |
public class EntryViewBase { /** * Makes the entry view " bounce " by applying a scale transition . This is a
* good way to make an entry stand out , e . g . when it receives the keyboard
* focus . */
public final void bounce ( ) { } } | ScaleTransition transition = new ScaleTransition ( Duration . millis ( 200 ) , this ) ; setCache ( true ) ; setCacheHint ( CacheHint . SCALE ) ; transition . setAutoReverse ( true ) ; transition . setFromX ( 1 ) ; transition . setToX ( .8 ) ; transition . setFromY ( 1 ) ; transition . setToY ( .8 ) ; transition . setCy... |
public class ProblemTypeValidator { /** * Validate the parameter .
* @ param name The name of the parameter ( e . g . " - host " ) .
* @ param value The value of the parameter that we need to validate
* @ throws ParameterException Thrown if the value of the parameter is invalid . */
@ Override public void validat... | if ( ! value . equals ( ArbiterCliGenerator . REGRESSION ) || value . equals ( ArbiterCliGenerator . CLASSIFICIATION ) ) { throw new ParameterException ( "Problem type can only be " + ArbiterCliGenerator . REGRESSION + " or " + ArbiterCliGenerator . CLASSIFICIATION ) ; } |
public class CascadeDeleteRepositoryDecorator { /** * Guarantee that referenced entities for attributes with cascade delete are loaded , e . g . in case
* entity is a lazy or partial entity . */
private void prepareCascadeDeletes ( Entity entity ) { } } | getCascadeDeleteAttributes ( ) . forEach ( attr -> entity . get ( attr . getName ( ) ) ) ; |
public class Workdiary { /** * Get Workdiary
* @ param company Company ID
* @ param date Date
* @ param params ( Optional ) Parameters
* @ throwsJSONException If error occurred
* @ return { @ link JSONObject } */
public JSONObject get ( String company , String date , HashMap < String , String > params ) throw... | return oClient . get ( "/team/v3/workdiaries/companies/" + company + "/" + date , params ) ; |
public class HistoryServerStaticFileServerHandler { @ Override public void channelRead0 ( ChannelHandlerContext ctx , RoutedRequest routedRequest ) throws Exception { } } | String requestPath = routedRequest . getPath ( ) ; respondWithFile ( ctx , routedRequest . getRequest ( ) , requestPath ) ; |
public class ServerStopEndpoint { /** * Stops the server .
* @ return The message */
@ Write ( consumes = { } } | } ) public Object stop ( ) { try { return message ; } finally { Thread thread = new Thread ( this :: stopServer ) ; thread . setContextClassLoader ( getClass ( ) . getClassLoader ( ) ) ; thread . start ( ) ; } |
public class MemoryData { /** * todo default to root ? */
public MemoryFileAttributes addDir ( EightyPath dir , Principals principals ) { } } | if ( content . get ( dir ) . isPresent ( ) ) { throw new IllegalArgumentException ( "path exists already" ) ; } if ( ! dir . isAbsolute ( ) || dir . getParent ( ) == null ) { throw new IllegalArgumentException ( "path not absolute or without parent" ) ; } PathContent parentContent = content . getOrThrow ( childGetParen... |
public class AxisDeserializer { /** * 设置json , typeOfT , context值
* @ param json
* @ param typeOfT
* @ param context */
@ Override public Axis deserialize ( JsonElement json , Type typeOfT , JsonDeserializationContext context ) throws JsonParseException { } } | final JsonObject jsonObject = json . getAsJsonObject ( ) ; String _type = jsonObject . get ( "type" ) . getAsString ( ) ; AxisType type = AxisType . valueOf ( _type ) ; Axis axis = null ; switch ( type ) { case category : axis = context . deserialize ( jsonObject , CategoryAxis . class ) ; break ; case value : axis = c... |
public class SeLionBuildInfo { /** * Returns values for build time info
* @ param property
* The { @ link SeLionBuildProperty } of interest
* @ return The build time value . < / br > < / br > The fall back value which can be obtained via
* { @ link SeLionBuildProperty # getFallBackValue ( ) } if the build time ... | return getInfo ( ) . getProperty ( property . getPropertyValue ( ) , property . getFallBackValue ( ) ) ; |
public class Database { /** * Adds the default account ( used by Firefox ) .
* @ throws Exception on exception */
public void addDefaultAccount ( ) throws Exception { } } | Account defaultAccount = new Account ( ) ; defaultAccount . setName ( "Defaults" ) ; defaultAccount . setId ( Account . DEFAULT_ACCOUNT_URI ) ; defaultAccount . setDesc ( "Default settings for URLs not elsewhere in this list" ) ; defaultAccount . setUrlComponents ( EnumSet . of ( UrlComponents . Domain ) ) ; addAccount... |
public class JCalendarDualField { /** * Handle action listener ( button press ) .
* If they press the button , display the calendar popup .
* @ param e The actionevent . */
public void actionPerformed ( ActionEvent e ) { } } | if ( ( m_button != null ) && ( e . getSource ( ) == m_button ) ) { JCalendarPopup popup = JCalendarPopup . createCalendarPopup ( ( Date ) this . getControlValue ( ) , m_button ) ; popup . addPropertyChangeListener ( this ) ; } else if ( ( m_buttonTime != null ) && ( e . getSource ( ) == m_buttonTime ) ) { JTimePopup po... |
public class MiscUtil { /** * Does the given column name ends with one of pattern given in parameter . Not case sensitive */
public static boolean endsWithIgnoreCase ( String name , Iterable < String > patterns ) { } } | String nameUpper = name . toUpperCase ( ) ; for ( String pattern : patterns ) { String patternUpper = pattern . toUpperCase ( ) ; if ( nameUpper . equals ( patternUpper ) || nameUpper . endsWith ( patternUpper ) ) { return true ; } } return false ; |
public class ClassReader { /** * Creates a label without the Label . DEBUG flag set , for the given offset .
* The label is created with a call to { @ link # readLabel } and its
* Label . DEBUG flag is cleared .
* @ param offset
* a bytecode offset in a method .
* @ param labels
* the already created labels... | Label label = readLabel ( offset , labels ) ; label . status &= ~ Label . DEBUG ; return label ; |
public class CleverTapInstanceConfig { /** * convenience to construct the internal only default config */
@ SuppressWarnings ( { } } | "unused" , "WeakerAccess" } ) protected static CleverTapInstanceConfig createDefaultInstance ( Context context , @ NonNull String accountId , @ NonNull String accountToken , String accountRegion ) { return new CleverTapInstanceConfig ( context , accountId , accountToken , accountRegion , true ) ; |
public class PollTcpManagerNio { /** * Returns a jni select manager . */
public static PollTcpManagerNio create ( ) { } } | synchronized ( _nioSelectManager ) { if ( _nioSelectManager . get ( ) == null ) { PollTcpManagerNio selectManager = new PollTcpManagerNio ( ) ; if ( selectManager . start ( ) ) { _nioSelectManager . set ( selectManager ) ; } } return _nioSelectManager . get ( ) ; } |
public class PicketBoxSecurityContext { /** * { @ inheritDoc } */
public String [ ] getRoles ( ) { } } | String [ ] roles = null ; org . jboss . security . identity . RoleGroup pbRoles = delegator . getUtil ( ) . getRoles ( ) ; if ( pbRoles != null ) { List < String > l = new ArrayList < String > ( pbRoles . getRoles ( ) . size ( ) ) ; for ( org . jboss . security . identity . Role role : pbRoles . getRoles ( ) ) { l . ad... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.