signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class SetUtil { /** * set1 , set2的补集 ( 在set1或set2中 , 但不在交集中的对象 , 又叫反交集 ) 的只读view , 不复制产生新的Set对象 .
* 如果尝试写入该View会抛出UnsupportedOperationException */
public static < E > Set < E > disjointView ( final Set < ? extends E > set1 , final Set < ? extends E > set2 ) { } } | return Sets . symmetricDifference ( set1 , set2 ) ; |
public class AlipayLogger { /** * 通讯错误日志 */
public static void logCommError ( Exception e , HttpURLConnection conn , String appKey , String method , byte [ ] content ) { } } | if ( ! needEnableLogger ) { return ; } String contentString = null ; try { contentString = new String ( content , "UTF-8" ) ; logCommError ( e , conn , appKey , method , contentString ) ; } catch ( Exception e1 ) { e1 . printStackTrace ( ) ; } |
public class CMStatefulBeanO { /** * CMStatefulBeanO */
@ Override public void setEnterpriseBean ( Object bean ) { } } | super . setEnterpriseBean ( bean ) ; if ( bean instanceof SessionSynchronization ) { sessionSync = ( SessionSynchronization ) bean ; } |
public class EncryptionMarshaller { /** * Marshall the given parameter object . */
public void marshall ( Encryption encryption , ProtocolMarshaller protocolMarshaller ) { } } | if ( encryption == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( encryption . getEncryptionType ( ) , ENCRYPTIONTYPE_BINDING ) ; protocolMarshaller . marshall ( encryption . getKMSKeyId ( ) , KMSKEYID_BINDING ) ; protocolMarshaller . marsh... |
public class BeetlAntlrErrorStrategy { /** * Make sure we don ' t attempt to recover inline ; if the parser
* successfully recovers , it won ' t throw an exception . */
@ Override public Token recoverInline ( Parser recognizer ) throws RecognitionException { } } | // SINGLE TOKEN DELETION
Token matchedSymbol = singleTokenDeletion ( recognizer ) ; if ( matchedSymbol != null ) { // we have deleted the extra token .
// now , move past ttype token as if all were ok
recognizer . consume ( ) ; return matchedSymbol ; } // SINGLE TOKEN INSERTION
if ( singleTokenInsertion ( recognizer ) ... |
public class CharTrie { /** * Match end trie node .
* @ param search the search
* @ return the trie node */
public TrieNode matchEnd ( String search ) { } } | if ( search . isEmpty ( ) ) return root ( ) ; int min = 0 ; int max = search . length ( ) ; int i = Math . min ( max , 12 ) ; int winner = - 1 ; while ( max > min ) { String attempt = search . substring ( search . length ( ) - i ) ; TrieNode cursor = traverse ( attempt ) ; if ( cursor . getString ( ) . equals ( attempt... |
public class LockTable { /** * Grants an ixlock on the specified item . If any conflict lock exists when
* the method is called , then the calling thread will be placed on a wait
* list until the lock is released . If the thread remains on the wait list
* for a certain amount of time , then an exception is thrown... | Object anchor = getAnchor ( obj ) ; txWaitMap . put ( txNum , anchor ) ; synchronized ( anchor ) { Lockers lks = prepareLockers ( obj ) ; if ( hasIxLock ( lks , txNum ) ) return ; try { long timestamp = System . currentTimeMillis ( ) ; while ( ! ixLockable ( lks , txNum ) && ! waitingTooLong ( timestamp ) ) { avoidDead... |
public class PreferenceActivity { /** * Sets the start margin of specific layout params .
* @ param layoutParams
* The layout params whose margin should be set , as an instance of the class { @ link
* FrameLayout . LayoutParams } . The layout params may not be null
* @ param margin
* The start margin , which ... | if ( isRtlLayoutUsed ( ) ) { layoutParams . rightMargin = margin ; } else { layoutParams . leftMargin = margin ; } |
public class WidgetBuilder { /** * This should only be used internally if the selector is directly used by jQuery on the client .
* If PFS is used and specified by the user , { @ link # attr ( java . lang . String , java . lang . String ) } should be used
* as the users have to escape colons like @ ( myForm \ : myI... | if ( value != null ) { ResponseWriter rw = context . getResponseWriter ( ) ; rw . write ( "," ) ; rw . write ( name ) ; rw . write ( ":\"" ) ; rw . write ( ComponentUtils . escapeSelector ( value ) ) ; rw . write ( "\"" ) ; } return this ; |
public class BceHttpClient { /** * Create connection manager for http client .
* @ return The connection manager for http client . */
private HttpClientConnectionManager createHttpClientConnectionManager ( ) { } } | ConnectionSocketFactory socketFactory = PlainConnectionSocketFactory . getSocketFactory ( ) ; LayeredConnectionSocketFactory sslSocketFactory ; try { sslSocketFactory = new SSLConnectionSocketFactory ( SSLContext . getDefault ( ) , SSLConnectionSocketFactory . STRICT_HOSTNAME_VERIFIER ) ; } catch ( NoSuchAlgorithmExcep... |
public class ZapNTLMEngineImpl { /** * Creates the LMv2 Response from the given hash , client data , and Type 2
* challenge .
* @ param hash
* The NTLMv2 Hash .
* @ param clientData
* The client data ( blob or client challenge ) .
* @ param challenge
* The server challenge from the Type 2 message .
* @ ... | final HMACMD5 hmacMD5 = new HMACMD5 ( hash ) ; hmacMD5 . update ( challenge ) ; hmacMD5 . update ( clientData ) ; final byte [ ] mac = hmacMD5 . getOutput ( ) ; final byte [ ] lmv2Response = new byte [ mac . length + clientData . length ] ; System . arraycopy ( mac , 0 , lmv2Response , 0 , mac . length ) ; System . arr... |
public class Ifc2x3tc1PackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public EClass getIfcRatioMeasure ( ) { } } | if ( ifcRatioMeasureEClass == null ) { ifcRatioMeasureEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( Ifc2x3tc1Package . eNS_URI ) . getEClassifiers ( ) . get ( 728 ) ; } return ifcRatioMeasureEClass ; |
public class LengthCheckInputStream { /** * { @ inheritDoc }
* @ throws SdkClientException
* if the data length read has exceeded the expected total , or
* if the total data length is not the same as the expected
* total . */
@ Override public int read ( byte [ ] b , int off , int len ) throws IOException { } } | int readLen = super . read ( b , off , len ) ; dataLength += readLen >= 0 ? readLen : 0 ; checkLength ( readLen == - 1 ) ; return readLen ; |
public class RxBleDeviceServices { /** * Creates an observable emitting { @ link BluetoothGattCharacteristic } s with matching service UUID and characteristic UUID .
* The observable completes after first emission .
* @ param characteristicUuid Characteristic UUID to be found
* @ param serviceUuid Service UUID to... | return getService ( serviceUuid ) . map ( new Function < BluetoothGattService , BluetoothGattCharacteristic > ( ) { @ Override public BluetoothGattCharacteristic apply ( BluetoothGattService bluetoothGattService ) { final BluetoothGattCharacteristic characteristic = bluetoothGattService . getCharacteristic ( characteri... |
public class Cron4jTask { @ Override public void execute ( TaskExecutionContext context ) { } } | // e . g . error handling
debugFw ( "...Beginning the cron4j task (before run): {}" , jobType ) ; final TaskExecutionContext nativeContext ; final OptionalThing < LaunchNowOption > nowOption ; if ( context instanceof RomanticCron4jTaskExecutionContext ) { final RomanticCron4jTaskExecutionContext romantic = ( RomanticCr... |
public class Utils { /** * Returns index of maximum element in a given
* array of integers . First maximum is returned .
* @ param ints the array of integers
* @ return the index of the maximum element */
public static /* @ pure @ */
int maxIndex ( int [ ] ints ) { } } | int maximum = 0 ; int maxIndex = 0 ; for ( int i = 0 ; i < ints . length ; i ++ ) { if ( ( i == 0 ) || ( ints [ i ] > maximum ) ) { maxIndex = i ; maximum = ints [ i ] ; } } return maxIndex ; |
public class NotifdEventConsumer { private DbEventImportInfo getEventImportInfo ( String channelName , Database dbase , DeviceProxy adminDevice ) throws DevFailed { } } | DbEventImportInfo received = null ; try { if ( dbase != null ) { // Check if info have been set to the device
adminDevice = DeviceProxyFactory . get ( channelName , dbase . getUrl ( ) . getTangoHost ( ) ) ; received = adminDevice . get_evt_import_info ( ) ; if ( received == null || ! received . channel_exported ) { rec... |
public class _ARouter { /** * Be sure execute in main thread .
* @ param runnable code */
private void runInMainThread ( Runnable runnable ) { } } | if ( Looper . getMainLooper ( ) . getThread ( ) != Thread . currentThread ( ) ) { mHandler . post ( runnable ) ; } else { runnable . run ( ) ; } |
public class PublicScopes { /** * Registers a new public { @ link EventScope } for its base type . This is an
* expensive
* operation , so make sure to only call as seldom as possible .
* @ param pScope
* a event scope . */
public static < T > EventScope < T > register ( final EventScope < T > pScope ) { } } | if ( pScope . getBaseClass ( ) == null ) { throw new IllegalArgumentException ( "with public event scopes, base types are mandatory" ) ; } if ( null != get ( pScope . getBaseClass ( ) ) ) { throw new IllegalArgumentException ( "already registered to type " + pScope . getBaseClass ( ) ) ; } sScopes . put ( pScope . getB... |
public class WritableSessionCache { /** * Rolling back given transaction caused by given cause .
* @ param txn the transaction
* @ param cause roll back cause
* @ throws Exception roll back cause . */
private void rollback ( Transaction txn , Exception cause ) throws Exception { } } | try { txn . rollback ( ) ; } catch ( Exception e ) { logger . debug ( e , "Error while rolling back transaction " + txn ) ; } finally { throw cause ; } |
public class SparkLine { /** * Calculates the sparkline with all it ' s parameters . This methods
* will be called everytime a new value was added to the DATA _ LIST
* @ param WIDTH
* @ param HEIGHT */
private void calculate ( final int WIDTH , final int HEIGHT ) { } } | // Set start and stop values
start = DATA_LIST . getFirst ( ) . getValue ( ) ; stop = DATA_LIST . getLast ( ) . getValue ( ) ; // Find min and max values
lo = DATA_LIST . getFirst ( ) . getValue ( ) ; hi = DATA_LIST . getFirst ( ) . getValue ( ) ; loIndex = 0 ; hiIndex = 0 ; final int SIZE = DATA_LIST . size ( ) ; doub... |
public class JAXBUtils { /** * Generates a Java package name from a URI according to the
* algorithm outlined in Appendix D of JAXB ( 2.0 + ) .
* @ param uri the namespace URI .
* @ return the package name . */
public static String nameSpaceURIToPackage ( URI uri ) { } } | StringBuilder packageName = new StringBuilder ( ) ; String authority = uri . getAuthority ( ) ; String scheme = uri . getScheme ( ) ; if ( authority == null && "urn" . equals ( scheme ) ) { authority = uri . getSchemeSpecificPart ( ) ; } if ( null != authority && ! "" . equals ( authority ) ) { if ( "urn" . equals ( sc... |
public class HttpAuthService { /** * Creates a new HTTP authorization { @ link Service } decorator using the specified
* { @ link Authorizer } s .
* @ param authorizers the array of { @ link Authorizer } s . */
@ SafeVarargs public static Function < Service < HttpRequest , HttpResponse > , HttpAuthService > newDeco... | return newDecorator ( ImmutableList . copyOf ( requireNonNull ( authorizers , "authorizers" ) ) ) ; |
public class CmsXmlGenericWrapper { /** * Provides a type safe / generic wrapper for { @ link Element # elements ( String ) } . < p >
* @ param element the element to iterate
* @ param name the element name to match
* @ return type safe access to { @ link Element # elements ( String ) } . < p > */
@ SuppressWarni... | return element . elements ( name ) ; |
public class VersionHistoryStore { /** * Don ' t use this directly . Used for debugging only .
* @ return the base JSONArray */
public static JSONArray getBaseArray ( ) { } } | ensureLoaded ( ) ; JSONArray baseArray = new JSONArray ( ) ; for ( VersionHistoryEntry entry : versionHistoryEntries ) { baseArray . put ( entry ) ; } return baseArray ; |
public class DocBookXMLPreProcessor { /** * Takes a comma separated list of ints , and returns an array of Integers . This is used when processing custom injection
* points . */
private static List < InjectionData > processIdList ( final String list ) { } } | /* find the individual topic ids */
final String [ ] ids = list . split ( "," ) ; List < InjectionData > retValue = new ArrayList < InjectionData > ( ids . length ) ; /* clean the topic ids */
for ( final String id : ids ) { final String topicId = id . replaceAll ( OPTIONAL_MARKER , "" ) . trim ( ) ; final boolean opti... |
public class StAXSerializer { /** * { @ inheritDoc } */
@ Override public String getElementText ( ) throws XMLStreamException { } } | final long nodeKey = mAxis . getNode ( ) . getDataKey ( ) ; /* * The cursor has to move back ( once ) after determining , that a closing
* tag would be the next event ( precond : closeElement and either goBack
* or goUp is true ) . */
if ( mCloseElements && ( mGoBack || mGoUp ) ) { if ( mGoUp ) { mAxis . moveTo ( m... |
public class CmsAppWorkplaceUi { /** * Initializes client polling to avoid session expiration . < p >
* @ param component the view component */
@ SuppressWarnings ( "unused" ) private void initializeClientPolling ( Component component ) { } } | if ( component instanceof AbstractComponent ) { AbstractComponent acomp = ( AbstractComponent ) component ; for ( Extension extension : acomp . getExtensions ( ) ) { if ( extension instanceof CmsPollServerExtension ) { return ; } } new CmsPollServerExtension ( ( AbstractComponent ) component ) ; } |
public class PaymentChannelServerState { /** * Called when the client provides us with a new signature and wishes to increment total payment by size .
* Verifies the provided signature and only updates values if everything checks out .
* If the new refundSize is not the lowest we have seen , it is simply ignored . ... | stateMachine . checkState ( State . READY ) ; checkNotNull ( refundSize ) ; checkNotNull ( signatureBytes ) ; TransactionSignature signature = TransactionSignature . decodeFromBitcoin ( signatureBytes , true , false ) ; // We allow snapping to zero for the payment amount because it ' s treated specially later , but not... |
public class BackupResourceVaultConfigsInner { /** * Updates vault security config .
* @ param vaultName The name of the recovery services vault .
* @ param resourceGroupName The name of the resource group where the recovery services vault is present .
* @ param parameters resource config request
* @ param serv... | return ServiceFuture . fromResponse ( updateWithServiceResponseAsync ( vaultName , resourceGroupName , parameters ) , serviceCallback ) ; |
public class PluginWrapper { /** * Enables this plugin next time Jenkins runs . */
public void enable ( ) throws IOException { } } | if ( ! disableFile . exists ( ) ) { LOGGER . log ( Level . FINEST , "Plugin {0} has been already enabled. Skipping the enable() operation" , getShortName ( ) ) ; return ; } if ( ! disableFile . delete ( ) ) throw new IOException ( "Failed to delete " + disableFile ) ; |
public class ZeroMQNetworkService { /** * Extract data from a received envelope , and forwad it to the rest of the platform .
* @ param env
* - the evenlope received over the network , and that must be deserialize .
* @ throws Exception
* - if cannot deserialize the envelope . */
protected synchronized void rec... | this . logger . getKernelLogger ( ) . fine ( MessageFormat . format ( Messages . ZeroMQNetworkService_8 , this . validatedURI , env ) ) ; final EventDispatch dispatch = this . serializer . deserialize ( env ) ; this . logger . getKernelLogger ( ) . fine ( MessageFormat . format ( Messages . ZeroMQNetworkService_9 , dis... |
public class ScopeManager { /** * Manually destroy the passed session scope .
* @ param aSessionScope
* The session scope to be destroyed . May not be < code > null < / code > . */
public static void destroySessionScope ( @ Nonnull final ISessionScope aSessionScope ) { } } | ValueEnforcer . notNull ( aSessionScope , "SessionScope" ) ; ScopeSessionManager . getInstance ( ) . onScopeEnd ( aSessionScope ) ; |
public class GString { /** * Overloaded to implement duck typing for Strings
* so that any method that can ' t be evaluated on this
* object will be forwarded to the toString ( ) object instead . */
@ Override public Object invokeMethod ( String name , Object args ) { } } | try { return super . invokeMethod ( name , args ) ; } catch ( MissingMethodException e ) { // lets try invoke the method on the real String
return InvokerHelper . invokeMethod ( toString ( ) , name , args ) ; } |
public class DZcs_reach { /** * Finds a nonzero pattern of x = L \ b for sparse L and b .
* @ param G
* graph to search ( G . p modified , then restored )
* @ param B
* right hand side , b = B ( : , k )
* @ param k
* use kth column of B
* @ param xi
* size 2 * n , output in xi [ top . . n - 1]
* @ par... | int p , n , top , Bp [ ] , Bi [ ] , Gp [ ] ; if ( ! CS_CSC ( G ) || ! CS_CSC ( B ) || xi == null ) return ( - 1 ) ; /* check inputs */
n = G . n ; Bp = B . p ; Bi = B . i ; Gp = G . p ; top = n ; for ( p = Bp [ k ] ; p < Bp [ k + 1 ] ; p ++ ) { if ( ! CS_MARKED ( Gp , Bi [ p ] ) ) /* start a dfs at unmarked node i */
{... |
public class ScanParams { /** * @ see < a href = " https : / / redis . io / commands / scan # the - count - option " > COUNT option in Redis documentation < / a >
* @ param count
* @ return */
public ScanParams count ( final Integer count ) { } } | params . put ( COUNT , ByteBuffer . wrap ( Protocol . toByteArray ( count ) ) ) ; return this ; |
public class JobBookmarksEncryptionMarshaller { /** * Marshall the given parameter object . */
public void marshall ( JobBookmarksEncryption jobBookmarksEncryption , ProtocolMarshaller protocolMarshaller ) { } } | if ( jobBookmarksEncryption == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( jobBookmarksEncryption . getJobBookmarksEncryptionMode ( ) , JOBBOOKMARKSENCRYPTIONMODE_BINDING ) ; protocolMarshaller . marshall ( jobBookmarksEncryption . getKm... |
public class IRFactory { /** * only used for destructuring forms */
void decompilePropertyGet ( PropertyGet node ) { } } | decompile ( node . getTarget ( ) ) ; decompiler . addToken ( Token . DOT ) ; decompile ( node . getProperty ( ) ) ; |
public class ServiceInstanceUtils { /** * Validate the Service Instance address .
* It must be the ip address of the node .
* @ param address
* the address .
* @ return
* OK if match the ip pattern . */
public static ErrorCode isAddressValid ( String address ) { } } | if ( ! isMustFieldValid ( address , ipRegEx ) ) { return ErrorCode . SERVICE_INSTANCE_ADDRESS_FORMAT_ERROR ; } return ErrorCode . OK ; |
public class CmsResourceIcon { /** * Gets the resource icon for a resource for use in a CmsResourceInfo widget when used in a sitemap context . < p >
* @ param cms the CMS context
* @ param resource a resource
* @ param iconMode the icon mode
* @ return the path for the resource icon */
public static Resource g... | CmsResource defaultFile = null ; List < CmsResource > resourcesForType = Lists . newArrayList ( ) ; resourcesForType . add ( resource ) ; boolean skipDefaultFile = ( iconMode == IconMode . sitemapSelect ) && OpenCms . getResourceManager ( ) . matchResourceType ( CmsResourceTypeFolderSubSitemap . TYPE_SUBSITEMAP , resou... |
public class syslog_generic { /** * Use this API to fetch filtered set of syslog _ generic resources .
* filter string should be in JSON format . eg : " vm _ state : DOWN , name : [ a - z ] + " */
public static syslog_generic [ ] get_filtered ( nitro_service service , String filter ) throws Exception { } } | syslog_generic obj = new syslog_generic ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; syslog_generic [ ] response = ( syslog_generic [ ] ) obj . getfiltered ( service , option ) ; return response ; |
public class ApiOvhTelephony { /** * Custom events scheduled
* REST : GET / telephony / { billingAccount } / scheduler / { serviceName } / events
* @ param dateStart _ to [ required ] Filter the value of dateStart property ( < = )
* @ param dateEnd _ to [ required ] Filter the value of dateEnd property ( < = )
... | String qPath = "/telephony/{billingAccount}/scheduler/{serviceName}/events" ; StringBuilder sb = path ( qPath , billingAccount , serviceName ) ; query ( sb , "categories" , categories ) ; query ( sb , "dateEnd.from" , dateEnd_from ) ; query ( sb , "dateEnd.to" , dateEnd_to ) ; query ( sb , "dateStart.from" , dateStart_... |
public class OutSegment { /** * < pre >
* u64 sequence
* b32 key
* < / pre > */
private void fillHeader ( ) { } } | byte [ ] buffer = _indexBuffer ; Arrays . fill ( buffer , ( byte ) 0x0 ) ; int index = 0 ; BitsUtil . writeLong ( buffer , index , _segment . getSequence ( ) ) ; index += 8 ; byte [ ] tableKey = _table . tableKey ( ) ; System . arraycopy ( tableKey , 0 , buffer , index , tableKey . length ) ; index += tableKey . length... |
public class AutoPurger { /** * Print error message and show usage for command - line interface . */
public static void showUsage ( String msg ) { } } | System . err . println ( "Command: fedora-purge" ) ; System . err . println ( ) ; System . err . println ( "Summary: Purges an object from the Fedora repository." ) ; System . err . println ( ) ; System . err . println ( "Syntax:" ) ; System . err . println ( " fedora-purge host:port user password pid|fileURI protocol... |
public class BcStoreUtils { /** * Get a certificate provider for a given store and an additional certificate provider .
* @ param manager the component manager .
* @ param store the store to wrap .
* @ param certificateProvider provider of additional certificate to proceed to the verification .
* @ return a cer... | CertificateProvider provider = newCertificateProvider ( manager , store ) ; if ( certificateProvider == null ) { return provider ; } return new ChainingCertificateProvider ( provider , certificateProvider ) ; |
public class ParameterUtil { /** * Returns the names of the parameters of the supplied request in a civilized format . */
public static Iterable < String > getParameterNames ( HttpServletRequest req ) { } } | List < String > params = new ArrayList < String > ( ) ; Enumeration < ? > iter = req . getParameterNames ( ) ; while ( iter . hasMoreElements ( ) ) { params . add ( ( String ) iter . nextElement ( ) ) ; } return params ; |
public class HBaseReader { /** * Scan results .
* @ param tableName
* the table name
* @ param results
* the results
* @ return the list
* @ throws IOException
* Signals that an I / O exception has occurred . */
private List < HBaseDataWrapper > scanResults ( final String tableName , List < HBaseDataWrapp... | if ( fetchSize == null ) { for ( Result result : scanner ) { HBaseDataWrapper data = new HBaseDataWrapper ( tableName , result . getRow ( ) ) ; data . setColumns ( result . listCells ( ) ) ; results . add ( data ) ; } scanner = null ; resultsIter = null ; } return results ; |
public class BitSetConverter { /** * { @ inheritDoc } */
public Object convert ( String value , TypeLiteral < ? > toType ) { } } | BitSet bitSet = new BitSet ( ) ; int currentIndex = 0 ; StringTokenizer tokenizer = new StringTokenizer ( value , DEFAULT_SEPARATOR ) ; while ( tokenizer . hasMoreTokens ( ) ) { String current = tokenizer . nextToken ( ) . trim ( ) ; if ( current . length ( ) == 0 ) { throw new ProvisionException ( "Input '" + value + ... |
public class Actions { /** * Performs a double - click at middle of the given element . Equivalent to :
* < i > Actions . moveToElement ( element ) . doubleClick ( ) < / i >
* @ param target Element to move to .
* @ return A self reference . */
public Actions doubleClick ( WebElement target ) { } } | if ( isBuildingActions ( ) ) { action . addAction ( new DoubleClickAction ( jsonMouse , ( Locatable ) target ) ) ; } return moveInTicks ( target , 0 , 0 ) . clickInTicks ( LEFT ) . clickInTicks ( LEFT ) ; |
public class DescribeActivationsResult { /** * A list of activations for your AWS account .
* @ param activationList
* A list of activations for your AWS account . */
public void setActivationList ( java . util . Collection < Activation > activationList ) { } } | if ( activationList == null ) { this . activationList = null ; return ; } this . activationList = new com . amazonaws . internal . SdkInternalList < Activation > ( activationList ) ; |
public class Range { /** * Checks if the { @ code value } is within the bounds of this range .
* < p > A value is considered to be within this range if it ' s { @ code > = }
* the lower endpoint < i > and < / i > { @ code < = } the upper endpoint ( using the { @ link Comparable }
* interface . ) < / p >
* @ par... | if ( value == null ) throw new IllegalArgumentException ( "value must not be null" ) ; boolean gteLower = value . compareTo ( mLower ) >= 0 ; boolean lteUpper = value . compareTo ( mUpper ) <= 0 ; return gteLower && lteUpper ; |
public class CSSReaderDeclarationList { /** * Read the CSS from the passed { @ link IHasInputStream } .
* @ param aISP
* The input stream provider to use . May not be < code > null < / code > .
* @ param aCharset
* The charset to be used . May not be < code > null < / code > .
* @ param eVersion
* The CSS v... | return readFromStream ( aISP , aCharset , eVersion , null , null ) ; |
public class XNumber { /** * Cast result object to a string .
* @ return " NaN " if the number is NaN , Infinity or - Infinity if
* the number is infinite or the string value of the number . */
public String str ( ) { } } | if ( Double . isNaN ( m_val ) ) { return "NaN" ; } else if ( Double . isInfinite ( m_val ) ) { if ( m_val > 0 ) return "Infinity" ; else return "-Infinity" ; } double num = m_val ; String s = Double . toString ( num ) ; int len = s . length ( ) ; if ( s . charAt ( len - 2 ) == '.' && s . charAt ( len - 1 ) == '0' ) { s... |
public class WorkerSelectUtils { /** * Return workers not assigned to any affinity pool at all .
* @ param affinityConfig affinity config
* @ param workerMap map of worker hostname to worker info
* @ return map of worker hostname to worker info */
private static ImmutableMap < String , ImmutableWorkerInfo > getNo... | return ImmutableMap . copyOf ( Maps . filterKeys ( workerMap , workerHost -> ! affinityConfig . getAffinityWorkers ( ) . contains ( workerHost ) ) ) ; |
public class SeasonalCurve { /** * Computes annualized seasonal adjustments from given monthly realized CPI values .
* @ param realizedCPIValues An array of consecutive monthly CPI values ( minimum size is 12 * numberOfYearsToAverage ) )
* @ param lastMonth The index of the last month in the sequence of realizedCPI... | /* * Cacluate average log returns */
double [ ] averageLogReturn = new double [ 12 ] ; Arrays . fill ( averageLogReturn , 0.0 ) ; for ( int arrayIndex = 0 ; arrayIndex < 12 * numberOfYearsToAverage ; arrayIndex ++ ) { int month = ( ( ( ( ( lastMonth - 1 - arrayIndex ) % 12 ) + 12 ) % 12 ) ) ; double logReturn = Math . ... |
public class DeleteVoiceConnectorTerminationCredentialsRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( DeleteVoiceConnectorTerminationCredentialsRequest deleteVoiceConnectorTerminationCredentialsRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( deleteVoiceConnectorTerminationCredentialsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( deleteVoiceConnectorTerminationCredentialsRequest . getVoiceConnectorId ( ) , VOICECONNECTORID_BINDING ) ; protocolMarshaller . marshal... |
public class LinearSearch { /** * Search for the value in the list and return the index of the first occurrence from the
* end of the list . The run time of this algorithm depends on the
* implementation of the list . It is advised to use an array based implementation
* to achieve O ( n ) runtime .
* @ param < ... | return LinearSearch . searchLast ( list , value , 1 ) ; |
public class VoltXMLElement { /** * Given an value in the format of that returned by getUniqueName , find the
* child element which matches , if any . */
public VoltXMLElement findChild ( String uniqueName ) { } } | for ( VoltXMLElement vxe : children ) { if ( uniqueName . equals ( vxe . getUniqueName ( ) ) ) { return vxe ; } } return null ; |
public class ChunkedResponseIterator { /** * Returns { @ code true } if the iteration has more elements .
* ( In other words , returns { @ code true } if { @ link # next } would
* return an element rather than throwing an exception . )
* This method will block and wait for more data if none is immediately availab... | // Check & clear interrupted flag so we don ' t get an
// InterruptedException every time if the user
// doesn ' t clear it / deal with it .
boolean interrupted = Thread . interrupted ( ) ; Boolean dataLoaded = null ; try { while ( ! currentIteratorHasNext ( ) && dataLoaded == null ) { try { dataLoaded = tryLoadNextChu... |
public class Assert { /** * 断言给定对象是否是给定类的实例
* < pre class = " code " >
* Assert . instanceOf ( Foo . class , foo ) ;
* < / pre >
* @ param < T > 被检查对象泛型类型
* @ param type 被检查对象匹配的类型
* @ param obj 被检查对象
* @ return 被检查的对象
* @ throws IllegalArgumentException if the object is not an instance of clazz
* @ s... | return isInstanceOf ( type , obj , "Object [{}] is not instanceof [{}]" , obj , type ) ; |
public class CSRFServiceImpl { /** * Extracts the token from the request . This implementation checks in the request data , then in the CORS cookie
* if any , and finally in the session cookie . If the token is signed , it resigns it to avoid the BREACH
* vulnerability .
* @ param context the context
* @ return... | // First check the tags , this is where tokens are added if it ' s added to the current request
// In that case , the request scope contains the token
String token = ( String ) context . request ( ) . data ( ) . get ( TOKEN_KEY ) ; if ( token == null && getCookieName ( ) != null ) { // Search in a cookie
Cookie cookie ... |
public class NamedValue { /** * Evaluates by looking up the name in the VariableResolver */
public Object evaluate ( Object pContext , VariableResolver pResolver , Map functions , String defaultPrefix , Logger pLogger ) throws ELException { } } | if ( pResolver == null ) { return null ; } else { return pResolver . resolveVariable ( mName , pContext ) ; } |
public class ModificationBuilderTarget { /** * Modify a module .
* @ param moduleName the module name
* @ param slot the module slot
* @ param existingHash the existing hash
* @ param newHash the new hash of the modified content
* @ return the builder */
public T modifyModule ( final String moduleName , final... | final ContentItem item = createModuleItem ( moduleName , slot , newHash ) ; addContentModification ( createContentModification ( item , ModificationType . MODIFY , existingHash ) ) ; return returnThis ( ) ; |
public class LssClient { /** * get detail of your app by name
* @ param app app name
* @ return the response */
public GetAppResponse queryApp ( String app ) { } } | GetAppRequest request = new GetAppRequest ( ) ; request . setApp ( app ) ; return queryApp ( request ) ; |
public class AbstractParser { /** * convert an xml element in String value
* @ param reader the StAX reader
* @ param attributeName the name of the attribute
* @ param expressions The expressions
* @ return the string representing element
* @ throws XMLStreamException StAX exception */
protected Integer attri... | String attributeString = rawAttributeText ( reader , attributeName ) ; if ( attributeName != null && expressions != null && attributeString != null && attributeString . indexOf ( "${" ) != - 1 ) expressions . put ( attributeName , attributeString ) ; return attributeString != null ? Integer . valueOf ( getSubstitutionV... |
public class InstanceExtractor { protected void recursiveExtractInstances ( Area root , Instances dest ) { } } | Instance newinst = features . getAreaFeatures ( root , dest ) ; String cls = defaultClass ; for ( Tag tag : root . getTags ( ) . keySet ( ) ) { if ( tag . getType ( ) . equals ( tagType ) ) cls = tag . getValue ( ) ; } newinst . setClassValue ( cls ) ; dest . add ( newinst ) ; for ( int i = 0 ; i < root . getChildCount... |
public class SIPRegistrarSbb { /** * - - - SLEE 1.1 SBB contract */
@ Override public void setSbbContext ( SbbContext context ) { } } | // SLEE
this . tracer = context . getTracer ( "SipRegistrar" ) ; this . sbbContextExt = ( SbbContextExt ) context ; this . nullActivityContextInterfaceFactory = this . sbbContextExt . getNullActivityContextInterfaceFactory ( ) ; this . activityContextNamingFacility = this . sbbContextExt . getActivityContextNamingFacil... |
public class SpotifyApi { /** * Get a list of the albums saved in the current Spotify user ’ s " Your Music " library .
* @ return A { @ link GetCurrentUsersSavedAlbumsRequest . Builder } . */
public GetCurrentUsersSavedAlbumsRequest . Builder getCurrentUsersSavedAlbums ( ) { } } | return new GetCurrentUsersSavedAlbumsRequest . Builder ( accessToken ) . setDefaults ( httpManager , scheme , host , port ) ; |
public class CmsXmlContentDefinition { /** * Validates the given element as a complex type sequence . < p >
* @ param element the element to validate
* @ param includes the XML schema includes
* @ return a data structure containing the validated complex type sequence data
* @ throws CmsXmlException if the valid... | validateAttributesExists ( element , new String [ ] { XSD_ATTRIBUTE_NAME } , new String [ 0 ] ) ; String name = validateAttribute ( element , XSD_ATTRIBUTE_NAME , null ) ; // now check the type definition list
List < Element > mainElements = CmsXmlGenericWrapper . elements ( element ) ; if ( ( mainElements . size ( ) !... |
public class FilterMatcher { /** * Checks that args ( ) of two expressions match .
* @ param e1 first expression
* @ param e2 second expression
* @ return whether their getArgs ( ) ' s results match */
private static boolean argsMatch ( AbstractExpression e1 , AbstractExpression e2 ) { } } | final List < AbstractExpression > args1 = e1 . getArgs ( ) , args2 = e2 . getArgs ( ) ; if ( args1 == null || args2 == null ) { return args1 == args2 ; } else { return args1 . size ( ) == args2 . size ( ) && IntStream . range ( 0 , args1 . size ( ) ) . mapToObj ( index -> ( new FilterMatcher ( args1 . get ( index ) , a... |
public class JsonDBTemplate { /** * / * ( non - Javadoc )
* @ see io . jsondb . JsonDBOperations # isCollectionReadonly ( java . lang . Class ) */
@ Override public < T > boolean isCollectionReadonly ( Class < T > entityClass ) { } } | return isCollectionReadonly ( Util . determineCollectionName ( entityClass ) ) ; |
public class RelationalOperationsMatrix { /** * with the exterior of Point B . */
private void boundaryLineExteriorPoint_ ( int cluster , int id_a , int id_b , int cluster_index_a ) { } } | if ( m_matrix [ MatrixPredicate . BoundaryExterior ] == 0 ) return ; int clusterParentage = m_topo_graph . getClusterParentage ( cluster ) ; if ( ( clusterParentage & id_a ) != 0 && ( clusterParentage & id_b ) == 0 ) { int index = m_topo_graph . getClusterUserIndex ( cluster , cluster_index_a ) ; if ( index % 2 != 0 ) ... |
public class CsvBindingErrors { /** * 先頭のフィールドエラーを取得する
* @ return エラーがない場合は空のリストを返す */
public CsvFieldError getFirstFieldError ( ) { } } | for ( CsvError item : this . errors ) { if ( item instanceof CsvFieldError ) { return ( CsvFieldError ) item ; } } return null ; |
public class Command { /** * Create a CORBA Any object and insert a float array in it .
* @ param data The float array to be inserted into the Any object
* @ exception DevFailed If the Any object creation failed .
* Click < a href = " . . / . . / tango _ basic / idl _ html / Tango . html # DevFailed " > here < / ... | Any out_any = alloc_any ( ) ; DevVarFloatArrayHelper . insert ( out_any , data ) ; return out_any ; |
public class QueryParserKraken { /** * Parses a simple term . */
private ExprKraken parseSimpleTerm ( ) { } } | Token token = scanToken ( ) ; switch ( token ) { case MINUS : return new UnaryExpr ( UnaryOp . MINUS , parseSimpleTerm ( ) ) ; case LPAREN : { ExprKraken expr = parseExpr ( ) ; if ( ( token = scanToken ( ) ) != Token . RPAREN ) { throw error ( "Expected ')' at '{0}'" , token ) ; } return expr ; } case IDENTIFIER : { St... |
public class AutoValueOrOneOfProcessor { /** * Returns a string like { @ code " 1234L " } if { @ code type instanceof Serializable } and defines
* { @ code serialVersionUID = 1234L } ; otherwise { @ code " " } . */
final String getSerialVersionUID ( TypeElement type ) { } } | TypeMirror serializable = elementUtils ( ) . getTypeElement ( Serializable . class . getName ( ) ) . asType ( ) ; if ( typeUtils ( ) . isAssignable ( type . asType ( ) , serializable ) ) { List < VariableElement > fields = ElementFilter . fieldsIn ( type . getEnclosedElements ( ) ) ; for ( VariableElement field : field... |
public class TransactionIntegrationImpl { /** * { @ inheritDoc } */
public XAResourceRecovery createXAResourceRecovery ( ResourceAdapter rar , ActivationSpec as , String productName , String productVersion ) { } } | return new XAResourceRecoveryInflowImpl ( rar , as , productName , productVersion ) ; |
public class WebSocketHandler { /** * Sends a message to all the connected sessions .
* @ param message the message to send */
private void send ( String message ) { } } | if ( ! this . enabled . get ( ) ) { this . logger . finest ( "Notifications were disabled by the DM." ) ; } else if ( message == null ) { this . logger . finest ( "No message to send to web socket clients." ) ; } else synchronized ( SESSIONS ) { for ( Session session : SESSIONS ) { try { this . logger . finest ( "Sendi... |
public class NodeTypeImpl { /** * { @ inheritDoc } */
public boolean canRemoveItem ( String itemName ) { } } | try { InternalQName iname = locationFactory . parseJCRName ( itemName ) . getInternalName ( ) ; PropertyDefinitionDatas pdefs = nodeTypeDataManager . getPropertyDefinitions ( iname , nodeTypeData . getName ( ) ) ; if ( pdefs != null ) { PropertyDefinitionData pd = pdefs . getAnyDefinition ( ) ; if ( pd != null ) return... |
public class SRTPCryptoContext { /** * Compute ( guess ) the new SRTP index based on the sequence number of a
* received RTP packet .
* @ param seqNo
* sequence number of the received RTP packet
* @ return the new SRTP packet index */
private long guessIndex ( int seqNo ) { } } | if ( this . seqNum < 32768 ) { if ( seqNo - this . seqNum > 32768 ) { guessedROC = roc - 1 ; } else { guessedROC = roc ; } } else { if ( seqNum - 32768 > seqNo ) { guessedROC = roc + 1 ; } else { guessedROC = roc ; } } return ( ( long ) guessedROC ) << 16 | seqNo ; |
public class AmazonWorkDocsClient { /** * Describes the user activities in a specified time period .
* @ param describeActivitiesRequest
* @ return Result of the DescribeActivities operation returned by the service .
* @ throws UnauthorizedOperationException
* The operation is not permitted .
* @ throws Unaut... | request = beforeClientExecution ( request ) ; return executeDescribeActivities ( request ) ; |
public class StringUtils { /** * Split a quoted comma separated string to a list
* Handle < a href = " https : / / www . ietf . org / rfc / rfc4180 . txt " > rfc4180 < / a > - like
* CSV strings , with the exceptions :
* < ul >
* < li > quoted values may contain double quotes escaped with back - slash
* < li ... | if ( list == null ) list = new ArrayList < > ( ) ; CsvSplitState state = CsvSplitState . PRE_DATA ; StringBuilder out = new StringBuilder ( ) ; int last = - 1 ; while ( len > 0 ) { char ch = s . charAt ( off ++ ) ; len -- ; switch ( state ) { case PRE_DATA : if ( Character . isWhitespace ( ch ) ) continue ; if ( '"' ==... |
public class NikeFS2SwapFileManager { /** * Creates a new , empty swap file , ready for use . It is guaranteed
* that this swap file will be removed from the system either on
* JVM shutdown ( Unix platforms ) or on subsequent use of this class
* ( Win32 platforms ) .
* @ return A new swap file .
* @ throws IO... | File swapFile = createSwapFile ( SWAP_FILE_PREFIX , SWAP_FILE_SUFFIX ) ; // works reliably only on Unix platforms !
swapFile . deleteOnExit ( ) ; return swapFile ; |
public class TableUtils { /** * Create a table if it does not already exist . This is not supported by all databases . */
public static < T > int createTableIfNotExists ( ConnectionSource connectionSource , DatabaseTableConfig < T > tableConfig ) throws SQLException { } } | Dao < T , ? > dao = DaoManager . createDao ( connectionSource , tableConfig ) ; return doCreateTable ( dao , true ) ; |
public class MethodInfo { /** * Returns all the runtime invisible annotations defined for this class
* file , or an empty array if none . */
public Annotation [ ] getRuntimeInvisibleAnnotations ( ) { } } | for ( int i = mAttributes . size ( ) ; -- i >= 0 ; ) { Attribute attr = mAttributes . get ( i ) ; if ( attr instanceof RuntimeInvisibleAnnotationsAttr ) { return ( ( AnnotationsAttr ) attr ) . getAnnotations ( ) ; } } return new Annotation [ 0 ] ; |
public class NameUtil { /** * d366807.3 */
public String getDeployedPersisterClassName ( ) { } } | StringBuffer result = new StringBuffer ( ) ; String packageName = packageName ( ivBeanClass ) ; if ( packageName != null ) { result . append ( packageName ) ; result . append ( '.' ) ; } result . append ( persisterPrefix ) ; // EJSJDBCPersister
result . append ( ivBeanType ) ; // SL / SF / BMP / CMP , etc .
result . ap... |
public class CommerceOrderPaymentUtil { /** * Returns the first commerce order payment in the ordered set where commerceOrderId = & # 63 ; .
* @ param commerceOrderId the commerce order ID
* @ param orderByComparator the comparator to order the set by ( optionally < code > null < / code > )
* @ return the first m... | return getPersistence ( ) . fetchByCommerceOrderId_First ( commerceOrderId , orderByComparator ) ; |
public class QueryEngineImpl { /** * Combine two results with the cartesian product .
* @ return the combined result */
private QueryResultImpl combineResults ( QueryResultImpl a , QueryResultImpl b , boolean distinct ) { } } | QueryResultImpl result = new QueryResultImpl ( a . getQuery ( ) ) ; for ( QueryBindingImpl bindingA : a . getBindings ( ) ) { for ( QueryBindingImpl bindingB : b . getBindings ( ) ) { QueryBindingImpl binding = new QueryBindingImpl ( ) ; binding . set ( bindingA ) ; binding . set ( bindingB ) ; result . add ( binding )... |
public class MySQLMetadataDAO { /** * Use { @ link Preconditions } to check for required { @ link TaskDef } fields , throwing a Runtime exception if
* validations fail .
* @ param taskDef The { @ code TaskDef } to check . */
private void validate ( TaskDef taskDef ) { } } | Preconditions . checkNotNull ( taskDef , "TaskDef object cannot be null" ) ; Preconditions . checkNotNull ( taskDef . getName ( ) , "TaskDef name cannot be null" ) ; |
public class DescribeExpressionsRequest { /** * Limits the < code > < a > DescribeExpressions < / a > < / code > response to the specified expressions . If not specified , all
* expressions are shown .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setExpr... | if ( this . expressionNames == null ) { setExpressionNames ( new com . amazonaws . internal . SdkInternalList < String > ( expressionNames . length ) ) ; } for ( String ele : expressionNames ) { this . expressionNames . add ( ele ) ; } return this ; |
public class JspViewDeclarationLanguageBase { /** * Saves a flag in the attribute map of the FacesContext to indicate
* that the given UIViewRoot was already built with VDL . buildView ( ) .
* @ param facesContext
* @ param view */
protected void setViewBuilt ( FacesContext facesContext , UIViewRoot view ) { } } | facesContext . getAttributes ( ) . put ( view , Boolean . TRUE ) ; |
public class IconComponentDecoration { /** * Creates the dialog showing the tooltip if it is not created yet .
* We do this only here to make sure that we have a parent and to make sure that we actually have a window
* ancestor .
* If we create the dialog before having a window ancestor , it will have no owner ( ... | // Not need to create the dialog if there is not text to show
if ( ( toolTipDialog == null ) && ( toolTipText != null ) && ! toolTipText . isEmpty ( ) ) { toolTipDialog = new ToolTipDialog ( decorationPainter , anchorLinkWithToolTip ) ; toolTipDialog . addMouseListener ( toolTipVisibilityAdapter ) ; toolTipDialog . add... |
public class BundleUtils { /** * Returns a optional float array value . In other words , returns the value mapped by key if it exists and is a float array .
* The bundle argument is allowed to be { @ code null } . If the bundle is null , this method returns null .
* @ param bundle a bundle . If the bundle is null ,... | if ( bundle == null ) { return fallback ; } return bundle . getFloatArray ( key ) ; |
public class JDBCInputFormat { /** * Enters data value from the current resultSet into a Record .
* @ param pos
* Record position to be set .
* @ param type
* SQL type of the resultSet value .
* @ param record
* Target Record . */
private void retrieveTypeAndFillRecord ( int pos , int type , Record record )... | switch ( type ) { case java . sql . Types . NULL : record . setField ( pos , NullValue . getInstance ( ) ) ; break ; case java . sql . Types . BOOLEAN : record . setField ( pos , new BooleanValue ( resultSet . getBoolean ( pos + 1 ) ) ) ; break ; case java . sql . Types . BIT : record . setField ( pos , new BooleanValu... |
public class BeadledomResteasyClientBuilder { /** * Sets the default socket timeout to be used if a { @ link ClientHttpEngine } isn ' t
* specified via { @ link # setHttpEngine ( ClientHttpEngine ) } .
* < p > If a { @ link ClientHttpEngine } is specified via { @ link # setHttpEngine ( ClientHttpEngine ) } ,
* th... | long millis = timeUnit . toMillis ( socketTimeout ) ; if ( millis > Integer . MAX_VALUE || millis < 0 ) { throw new IllegalArgumentException ( "Socket timeout must be smaller than Integer.MAX_VALUE when converted to milliseconds" ) ; } return readTimeout ( ( int ) millis , TimeUnit . MILLISECONDS ) ; |
public class Interval { /** * handle case where Instant is outside the bounds of OffsetDateTime */
private static Interval parseStartExtended ( CharSequence startStr , CharSequence endStr ) { } } | Instant start = Instant . parse ( startStr ) ; if ( endStr . length ( ) > 0 ) { char c = endStr . charAt ( 0 ) ; if ( c == 'P' || c == 'p' ) { PeriodDuration amount = PeriodDuration . parse ( endStr ) ; // addition of PeriodDuration only supported by OffsetDateTime ,
// but to make that work need to move point being ad... |
public class CPTaxCategoryServiceBaseImpl { /** * Sets the cp measurement unit local service .
* @ param cpMeasurementUnitLocalService the cp measurement unit local service */
public void setCPMeasurementUnitLocalService ( com . liferay . commerce . product . service . CPMeasurementUnitLocalService cpMeasurementUnitL... | this . cpMeasurementUnitLocalService = cpMeasurementUnitLocalService ; |
public class ClassificationPlugin { private JToolBar getToolbar ( ) { } } | if ( toolbar == null ) { toolbar = new JToolBar ( "Classification" ) ; toolbar . add ( getTagsButton ( ) ) ; toolbar . add ( getClassesButton ( ) ) ; } return toolbar ; |
public class ChangeCaseCommand { /** * Undo the { @ link org . jledit . command . Command } . */
@ Override public void undo ( ) { } } | if ( ! getEditor ( ) . isReadOnly ( ) && deleted != null && Character . isLetter ( deleted ) ) { getEditor ( ) . move ( getBeforeLine ( ) , getBeforeColumn ( ) ) ; getEditor ( ) . delete ( ) ; getEditor ( ) . put ( deleted . toString ( ) ) ; getEditor ( ) . moveLeft ( 1 ) ; } |
public class AbstractOperatorNode { /** * Helper for getOperandProtectedForLowerPrec ( ) and getOperandProtectedForLowerOrEqualPrec ( ) .
* @ param index The index of the operand to get .
* @ param shouldProtectEqualPrec Whether to proect the operand if it is an operator with equal
* precedence to this operator .... | int thisOpPrec = operator . getPrecedence ( ) ; ExprNode child = getChild ( index ) ; boolean shouldProtect ; if ( child instanceof OperatorNode ) { int childOpPrec = ( ( OperatorNode ) child ) . getOperator ( ) . getPrecedence ( ) ; shouldProtect = shouldProtectEqualPrec ? childOpPrec <= thisOpPrec : childOpPrec < thi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.