signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class BitcoinSerializer { /** * Make an inventory message from the payload . Extension point for alternative
* serialization format support . */
@ Override public InventoryMessage makeInventoryMessage ( byte [ ] payloadBytes , int length ) throws ProtocolException { } } | return new InventoryMessage ( params , payloadBytes , this , length ) ; |
public class AbstractProfileService { /** * Define the attributes to read in the storage .
* @ return the attributes */
protected List < String > defineAttributesToRead ( ) { } } | final List < String > names = new ArrayList < > ( ) ; names . add ( getIdAttribute ( ) ) ; names . add ( LINKEDID ) ; // legacy mode : ' getIdAttribute ( ) ' + linkedid + username + attributes
if ( isLegacyMode ( ) ) { names . add ( getUsernameAttribute ( ) ) ; names . addAll ( Arrays . asList ( attributeNames ) ) ; } ... |
public class CmsForm { /** * Updates the model validation status . < p >
* @ param modelId the model id
* @ param result the validation result */
protected void updateModelValidationStatus ( String modelId , CmsValidationResult result ) { } } | Collection < I_CmsFormField > fields = getFieldsByModelId ( modelId ) ; for ( I_CmsFormField field : fields ) { updateFieldValidationStatus ( field , result ) ; } |
public class DFSInputStream { /** * Seek to given position on a node other than the current node . If
* a node other than the current node is found , then returns true .
* If another node could not be found , then returns false . */
public synchronized boolean seekToNewSource ( long targetPos , boolean throwWhenNot... | boolean markedDead = deadNodes . containsKey ( currentNode ) ; addToDeadNodes ( currentNode ) ; DatanodeInfo oldNode = currentNode ; DatanodeInfo newNode = blockSeekTo ( targetPos , throwWhenNotFound ) ; if ( ! markedDead ) { /* remove it from deadNodes . blockSeekTo could have cleared
* deadNodes and added currentNo... |
public class CmsJspResourceWrapper { /** * Returns < code > true < / code > in case this resource is an XML content . < p >
* @ return < code > true < / code > in case this resource is an XML content */
public boolean getIsXml ( ) { } } | if ( m_isXml == null ) { m_isXml = Boolean . valueOf ( CmsResourceTypeXmlPage . isXmlPage ( this ) || CmsResourceTypeXmlContent . isXmlContent ( this ) ) ; } return m_isXml . booleanValue ( ) ; |
public class HttpContext { public static String canonicalContextPathSpec ( String contextPathSpec ) { } } | // check context path
if ( contextPathSpec == null || contextPathSpec . indexOf ( ',' ) >= 0 || contextPathSpec . startsWith ( "*" ) ) throw new IllegalArgumentException ( "Illegal context spec:" + contextPathSpec ) ; if ( ! contextPathSpec . startsWith ( "/" ) ) contextPathSpec = '/' + contextPathSpec ; if ( contextPa... |
public class DateUtils { /** * Zaokrągla przekazaną datę do pełnego dnia .
* @ param date Data do zaokrąglenia .
* @ return Obiekt { @ link Timestamp } reprezentujący zaokrągloną datę . */
public static Date getDayDate ( Date date ) { } } | Calendar calendar = getCalendar ( ) ; calendar . setTime ( date ) ; return getDayDate ( calendar ) ; |
public class VoltSystemProcedure { /** * Produce work units , possibly on all sites , for a list of plan fragments .
* The final plan fragment must aggregate intermediate results and produce a
* single output dependency . This aggregate output is returned as the
* result .
* @ param pfs
* an array of synthesi... | MpTransactionState txnState = ( MpTransactionState ) m_runner . getTxnState ( ) ; assert ( txnState != null ) ; int fragmentIndex = 0 ; for ( SynthesizedPlanFragment pf : pfs ) { assert ( pf . parameters != null ) ; FragmentTaskMessage task = FragmentTaskMessage . createWithOneFragment ( txnState . initiatorHSId , m_si... |
public class PreconditionExcerpts { /** * Negates { @ code conditionTemplate } , removing unnecessary brackets and double - negatives if
* possible . */
private static String negate ( String conditionTemplate ) { } } | if ( conditionTemplate . startsWith ( "!" ) && ! BOOLEAN_BINARY_OPERATOR . matcher ( conditionTemplate ) . find ( ) ) { return conditionTemplate . substring ( 1 ) ; } else if ( ANY_OPERATOR . matcher ( conditionTemplate ) . find ( ) ) { // The condition might already enclosed in a bracket , but we can ' t simply check ... |
public class SdkHttpUtils { /** * Append the given path to the given baseUri .
* @ param baseUri The URI to append to ( required , may be relative )
* @ param path The path to append ( may be null or empty ) . Path should be pre - encoded .
* @ param escapeDoubleSlash Whether double - slash in the path should be ... | String resultUri = baseUri ; if ( path != null && path . length ( ) > 0 ) { if ( path . startsWith ( "/" ) ) { // trim the trailing slash in baseUri , since the path already starts with a slash
if ( resultUri . endsWith ( "/" ) ) { resultUri = resultUri . substring ( 0 , resultUri . length ( ) - 1 ) ; } } else if ( ! r... |
public class CheckRequestInfo { /** * Returns the { @ link CheckRequest } instance corresponding to this instance .
* The service name , operation ID and operation Name must all be set
* @ param clock is used to determine the current timestamp
* @ return a { @ link CheckRequest }
* @ throws java . lang . Illega... | Preconditions . checkState ( ! Strings . isNullOrEmpty ( getServiceName ( ) ) , "a service name must be set" ) ; Preconditions . checkState ( ! Strings . isNullOrEmpty ( getOperationId ( ) ) , "an operation ID must be set" ) ; Preconditions . checkState ( ! Strings . isNullOrEmpty ( getOperationName ( ) ) , "an operati... |
public class ImportJobsResponse { /** * A list of import jobs for the application .
* @ param item
* A list of import jobs for the application . */
public void setItem ( java . util . Collection < ImportJobResponse > item ) { } } | if ( item == null ) { this . item = null ; return ; } this . item = new java . util . ArrayList < ImportJobResponse > ( item ) ; |
public class DigestFactory { /** * This method creates an < code > IDigest < / code > instance of the given type .
* @ param digestName The name of the digest type .
* @ return The < code > IDigest < / code > instance of the given type . */
public final IDigest create ( final String digestName ) { } } | IDigest digest ; if ( digestName . compareTo ( "None" ) == 0 ) { digest = new NullDigest ( ) ; } else if ( digestName . compareTo ( "CRC32C" ) == 0 ) { digest = new CRC32CDigest ( ) ; } else { throw new IllegalArgumentException ( "Digest Type (" + digestName + ") is unknown." ) ; } return digest ; |
public class PJsonArray { /** * Get the element at the index as a json array .
* @ param i the index of the element to access */
public final PJsonArray getJSONArray ( final int i ) { } } | JSONArray val = this . array . optJSONArray ( i ) ; final String context = "[" + i + "]" ; if ( val == null ) { throw new ObjectMissingException ( this , context ) ; } return new PJsonArray ( this , val , context ) ; |
public class TimeSeriesMetricDeltaSet { /** * Apply a single - argument function to the set .
* @ param fn A function that takes a TimeSeriesMetricDelta and returns a TimeSeriesMetricDelta .
* @ return The mapped TimeSeriesMetricDelta from this set . */
public TimeSeriesMetricDeltaSet map ( Function < ? super Metri... | return values_ . map ( fn , ( x ) -> x . entrySet ( ) . stream ( ) . map ( ( entry ) -> apply_fn_ ( entry , fn ) ) ) . mapCombine ( TimeSeriesMetricDeltaSet :: new , TimeSeriesMetricDeltaSet :: new ) ; |
public class ContentPackageProperties { /** * Get properties of AEM package .
* @ param packageFile AEM package file .
* @ return Map with properties or empty map if none found .
* @ throws IOException I / O exception */
public static Map < String , Object > get ( File packageFile ) throws IOException { } } | ZipFile zipFile = null ; try { zipFile = new ZipFile ( packageFile ) ; ZipArchiveEntry entry = zipFile . getEntry ( ZIP_ENTRY_PROPERTIES ) ; if ( entry != null && ! entry . isDirectory ( ) ) { Map < String , Object > props = getPackageProperties ( zipFile , entry ) ; return new TreeMap < > ( transformPropertyTypes ( pr... |
public class DRL5Expressions { /** * $ ANTLR start synpred7 _ DRL5Expressions */
public final void synpred7_DRL5Expressions_fragment ( ) throws RecognitionException { } } | // src / main / resources / org / drools / compiler / lang / DRL5Expressions . g : 323:6 : ( not _ key in _ key )
// src / main / resources / org / drools / compiler / lang / DRL5Expressions . g : 323:7 : not _ key in _ key
{ pushFollow ( FOLLOW_not_key_in_synpred7_DRL5Expressions1547 ) ; not_key ( ) ; state . _fsp -- ... |
public class Base { /** * Opens a new connection in case additional driver - specific parameters need to be passed in .
* @ param driver driver class name
* @ param url JDBC URL
* @ param props connection properties */
public static DB open ( String driver , String url , Properties props ) { } } | return new DB ( DB . DEFAULT_NAME ) . open ( driver , url , props ) ; |
public class KeyVaultClientBaseImpl { /** * Lists the deleted keys in the specified vault .
* Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key . This operation includes deletion - specific information . The Get Deleted Keys operation is applicable ... | return getDeletedKeysSinglePageAsync ( vaultBaseUrl ) . concatMap ( new Func1 < ServiceResponse < Page < DeletedKeyItem > > , Observable < ServiceResponse < Page < DeletedKeyItem > > > > ( ) { @ Override public Observable < ServiceResponse < Page < DeletedKeyItem > > > call ( ServiceResponse < Page < DeletedKeyItem > >... |
public class HostMessenger { /** * Convenience method for doing the verbose COW insert into the map */
private void putForeignHost ( int hostId , ForeignHost fh ) { } } | synchronized ( m_mapLock ) { m_foreignHosts = ImmutableMultimap . < Integer , ForeignHost > builder ( ) . putAll ( m_foreignHosts ) . put ( hostId , fh ) . build ( ) ; } |
public class BDDKernel { /** * Restricts the variables in the BDD { @ code r } to constants true or false . The restriction is submitted in the BDD
* { @ code var } .
* @ param r the BDD to be restricted
* @ param var the variable mapping as a BDD
* @ return the restricted BDD */
public int restrict ( final int... | final int res ; if ( var < 2 ) return r ; varset2svartable ( var ) ; initRef ( ) ; res = restrictRec ( r , ( var << 3 ) | CACHEID_RESTRICT ) ; return res ; |
public class RedBlackTreeInteger { /** * are black , make h . right or one of its children red . */
private Node < T > moveRedRight ( Node < T > h ) { } } | // assert ( h ! = null ) ;
// assert isRed ( h ) & & ! isRed ( h . right ) & & ! isRed ( h . right . left ) ;
flipColors ( h ) ; if ( h . left . left != null && h . left . left . red ) { h = rotateRight ( h ) ; flipColors ( h ) ; } return h ; |
public class BannedDependencies { /** * Checks the set of dependencies against the list of patterns .
* @ param thePatterns the patterns
* @ param dependencies the dependencies
* @ return a set containing artifacts matching one of the patterns or < code > null < / code >
* @ throws EnforcerRuleException the enf... | Set < Artifact > foundMatches = null ; if ( thePatterns != null && thePatterns . size ( ) > 0 ) { for ( String pattern : thePatterns ) { String [ ] subStrings = pattern . split ( ":" ) ; subStrings = StringUtils . stripAll ( subStrings ) ; for ( Artifact artifact : dependencies ) { if ( compareDependency ( subStrings ,... |
public class CPDefinitionPersistenceImpl { /** * Returns an ordered range of all the cp definitions where CPTaxCategoryId = & # 63 ; .
* Useful when paginating results . Returns a maximum of < code > end - start < / code > instances . < code > start < / code > and < code > end < / code > are not primary keys , they a... | return findByCPTaxCategoryId ( CPTaxCategoryId , start , end , orderByComparator , true ) ; |
public class SocketIOWithTimeout { /** * Performs one IO and returns number of bytes read or written .
* It waits up to the specified timeout . If the channel is
* not read before the timeout , SocketTimeoutException is thrown .
* @ param buf buffer for IO
* @ param ops Selection Ops used for waiting . Suggeste... | /* For now only one thread is allowed . If user want to read or write
* from multiple threads , multiple streams could be created . In that
* case multiple threads work as well as underlying channel supports it . */
if ( ! buf . hasRemaining ( ) ) { throw new IllegalArgumentException ( "Buffer has no data left." ) ... |
public class ScreenPrinter { /** * Print this page . */
public int print ( Graphics g , PageFormat pageFormat , int pageIndex ) { } } | Graphics2D g2d = ( Graphics2D ) g ; if ( firstTime ) { m_componentPrint = new ComponentPrint ( null ) ; m_componentPrint . surveyComponents ( m_component ) ; m_paperPrint = new PaperPrint ( null ) ; m_paperPrint . surveyPage ( pageFormat , g2d , m_bPrintHeader ) ; firstTime = false ; } // Print this page
int pageHeight... |
public class ParserRuleImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public Object eGet ( int featureID , boolean resolve , boolean coreType ) { } } | switch ( featureID ) { case XtextPackage . PARSER_RULE__DEFINES_HIDDEN_TOKENS : return isDefinesHiddenTokens ( ) ; case XtextPackage . PARSER_RULE__HIDDEN_TOKENS : return getHiddenTokens ( ) ; case XtextPackage . PARSER_RULE__PARAMETERS : return getParameters ( ) ; case XtextPackage . PARSER_RULE__FRAGMENT : return isF... |
public class NativeString { /** * See ECMA 15.5.4.7 */
private static int js_lastIndexOf ( String target , Object [ ] args ) { } } | String search = ScriptRuntime . toString ( args , 0 ) ; double end = ScriptRuntime . toNumber ( args , 1 ) ; if ( end != end || end > target . length ( ) ) end = target . length ( ) ; else if ( end < 0 ) end = 0 ; return target . lastIndexOf ( search , ( int ) end ) ; |
public class CmsVfsTab { /** * Checks the check boxes for the selected folders . < p >
* @ param folders the folders for which to check the check boxes */
public void checkFolders ( Set < String > folders ) { } } | if ( folders != null ) { for ( String folder : folders ) { CmsLazyTreeItem item = m_itemsByPath . get ( folder ) ; if ( ( item != null ) && ( item . getCheckBox ( ) != null ) ) { item . getCheckBox ( ) . setChecked ( true ) ; } } } |
public class BeanUtil { /** * 判断Bean中是否有值为null的字段
* @ param bean Bean
* @ return 是否有值为null的字段 */
public static boolean hasNull ( Object bean ) { } } | final Field [ ] fields = ClassUtil . getDeclaredFields ( bean . getClass ( ) ) ; Object fieldValue = null ; for ( Field field : fields ) { field . setAccessible ( true ) ; try { fieldValue = field . get ( bean ) ; } catch ( Exception e ) { // ignore
} if ( null == fieldValue ) { return true ; } } return false ; |
public class SimpleBeanTreeTableDataModel { /** * { @ inheritDoc } */
@ Override public int [ ] sort ( final int col , final boolean ascending ) { } } | if ( ! isSortable ( col ) ) { throw new IllegalStateException ( "Attempted to sort on column " + col + ", which is not sortable" ) ; } // Obtains the list of top level nodes , sorts them & re - add them in order
TableTreeNode root = getRootNode ( ) ; List < TableTreeNode > topLevelNodes = new ArrayList < > ( root . get... |
public class Ifc2x3tc1FactoryImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public String convertIfcDuctFittingTypeEnumToString ( EDataType eDataType , Object instanceValue ) { } } | return instanceValue == null ? null : instanceValue . toString ( ) ; |
public class CommsByteBuffer { /** * Put a < String , String > Map object into the transmission buffer */
public void putMap ( Map < String , String > map ) { } } | // SIB0163 . comms . 1
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "putMap" , "map=" + map ) ; if ( map != null ) { final Set < String > keys = map . keySet ( ) ; putShort ( keys . size ( ) ) ; // Number of entries
for ( String k : keys ) { putString ( k ) ; pu... |
public class UserManagedCacheBuilder { /** * Adds a { @ link CacheLoaderWriter } to the returned builder .
* @ param loaderWriter the cache loader writer to use
* @ return a new builder with the added cache loader writer */
public UserManagedCacheBuilder < K , V , T > withLoaderWriter ( CacheLoaderWriter < K , V > ... | if ( loaderWriter == null ) { throw new NullPointerException ( "Null loaderWriter" ) ; } UserManagedCacheBuilder < K , V , T > otherBuilder = new UserManagedCacheBuilder < > ( this ) ; otherBuilder . cacheLoaderWriter = loaderWriter ; return otherBuilder ; |
public class DoubleStream { /** * Takes elements while the predicate returns { @ code false } .
* Once predicate condition is satisfied by an element , the stream
* finishes with this element .
* < p > This is an intermediate operation .
* < p > Example :
* < pre >
* stopPredicate : ( a ) - & gt ; a & gt ; ... | return new DoubleStream ( params , new DoubleTakeUntil ( iterator , stopPredicate ) ) ; |
public class CmsVfsSitemapService { /** * Adds a function detail element to a container page . < p >
* @ param cms the current CMS context
* @ param page the container page which should be changed
* @ param containerName the name of the container which should be used for function detail elements
* @ param eleme... | CmsContainerPageBean bean = page . getContainerPage ( cms ) ; List < CmsContainerBean > containerBeans = new ArrayList < CmsContainerBean > ( ) ; Collection < CmsContainerBean > originalContainers = bean . getContainers ( ) . values ( ) ; if ( ( containerName == null ) && ! originalContainers . isEmpty ( ) ) { CmsConta... |
public class ConsonantUtil { /** * * * * * * BEGINNING OF FUNCTION * * * * * */
/ * / public static boolean is_savarna ( String str1 , String str2 ) { } } | // Log . logInfo ( " in is _ savarna " ) ;
if ( is_kavarganta ( str1 ) && is_kavargadi ( str2 ) ) return true ; if ( is_chavarganta ( str1 ) && is_chavargadi ( str2 ) ) return true ; if ( is_Tavarganta ( str1 ) && is_Tavargadi ( str2 ) ) return true ; if ( is_tavarganta ( str1 ) && is_tavargadi ( str2 ) ) return true ;... |
public class Authentication { /** * Attempts to authenticate a given IPerson based on a set of principals and credentials
* @ param principals
* @ param credentials
* @ param person
* @ exception PortalSecurityException */
public void authenticate ( HttpServletRequest request , Map < String , String > principal... | // Retrieve the security context for the user
final ISecurityContext securityContext = person . getSecurityContext ( ) ; // Set the principals and credentials for the security context chain
this . configureSecurityContextChain ( principals , credentials , securityContext , BASE_CONTEXT_NAME ) ; // NOTE : PortalPreAuthe... |
public class SignatureFileVerifier { /** * convert a byte array to a hex string for debugging purposes
* @ param data the binary data to be converted to a hex string
* @ return an ASCII hex string */
static String toHex ( byte [ ] data ) { } } | StringBuffer sb = new StringBuffer ( data . length * 2 ) ; for ( int i = 0 ; i < data . length ; i ++ ) { sb . append ( hexc [ ( data [ i ] >> 4 ) & 0x0f ] ) ; sb . append ( hexc [ data [ i ] & 0x0f ] ) ; } return sb . toString ( ) ; |
public class Jenkins { /** * Returns the enabled and activated administrative monitors .
* @ since 2.64 */
public List < AdministrativeMonitor > getActiveAdministrativeMonitors ( ) { } } | return administrativeMonitors . stream ( ) . filter ( m -> m . isEnabled ( ) && m . isActivated ( ) ) . collect ( Collectors . toList ( ) ) ; |
public class BundleRepositoryRegistry { /** * Add the default repositories for the product
* @ param serverName If set to a serverName , a cache will be created in that server ' s workarea . A null value disables caching .
* @ param useMsgs This setting is passed on to the held ContentLocalBundleRepositories . */
p... | allUseMsgs = useMsgs ; cacheServerName = serverName ; addBundleRepository ( Utils . getInstallDir ( ) . getAbsolutePath ( ) , ExtensionConstants . CORE_EXTENSION ) ; addBundleRepository ( new File ( Utils . getUserDir ( ) , "/extension/" ) . getAbsolutePath ( ) , ExtensionConstants . USER_EXTENSION ) ; |
public class JMThread { /** * Run with schedule at fixed rate scheduled future .
* @ param initialDelayMillis the initial delay millis
* @ param periodMillis the period millis
* @ param runnable the runnable
* @ return the scheduled future */
public static ScheduledFuture < ? > runWithScheduleAtFixedRate ( long... | return runWithScheduleAtFixedRate ( initialDelayMillis , periodMillis , "runWithScheduleAtFixedRate" , runnable ) ; |
public class IbvPd { /** * - - - - - oo - verbs */
public SVCRegMr regMr ( ByteBuffer buffer , int access ) throws IOException { } } | return verbs . regMr ( this , buffer , access ) ; |
public class SQLiteConnection { /** * Collects statistics about database connection memory usage , in the case where the
* caller might not actually own the connection .
* @ return The statistics object , never null . */
void collectDbStatsUnsafe ( ArrayList < com . couchbase . lite . internal . database . sqlite .... | dbStatsList . add ( getMainDbStatsUnsafe ( 0 , 0 , 0 ) ) ; |
public class BuildEvaluator { /** * Calculates Audit Response for a given dashboard
* @ param beginDate
* @ param endDate
* @ return BuildAuditResponse for the build job for a given dashboard , begin and end date */
private BuildAuditResponse getBuildJobAuditResponse ( CollectorItem buildItem , long beginDate , l... | BuildAuditResponse buildAuditResponse = new BuildAuditResponse ( ) ; List < CollectorItemConfigHistory > jobConfigHists = collItemConfigHistoryRepository . findByCollectorItemIdAndTimestampIsBetweenOrderByTimestampDesc ( buildItem . getId ( ) , beginDate - 1 , endDate + 1 ) ; // Check Jenkins Job config log to validate... |
public class JournalNodeJournalSyncer { /** * Recovers a single segment
* @ param elf
* descriptor of the segment to be recovered
* @ param task
* contains journal description
* @ throws IOException */
void recoverSegments ( SyncTask task ) throws IOException { } } | // obtain the list of segments that are valid
if ( ! prepareRecovery ( task ) ) { return ; } // iterate through all nodes
for ( InetSocketAddress jn : journalNodes ) { if ( isLocalIpAddress ( jn . getAddress ( ) ) && jn . getPort ( ) == journalNode . getPort ( ) ) { // we do not need to talk to ourselves
continue ; } t... |
public class RestartableSequence { /** * Load all of the remaining rows from the supplied sequence into the buffer . */
protected void loadRemaining ( ) { } } | if ( ! loadedAll ) { // Put all of the batches from the sequence into the buffer
assert targetNumRowsInMemory >= 0L ; assert batchSize != null ; Batch batch = original . nextBatch ( ) ; boolean loadIntoMemory = inMemoryBatches != null && actualNumRowsInMemory < targetNumRowsInMemory ; while ( batch != null ) { long row... |
public class GeometryUtilities { /** * Calculates the azimuth in degrees given two { @ link Coordinate } composing a line .
* Note that the coords order is important and will differ of 180.
* @ param c1 first coordinate ( used as origin ) .
* @ param c2 second coordinate .
* @ return the azimuth angle . */
publ... | // vertical
if ( c1 . x == c2 . x ) { if ( c1 . y == c2 . y ) { // same point
return Double . NaN ; } else if ( c1 . y < c2 . y ) { return 0.0 ; } else if ( c1 . y > c2 . y ) { return 180.0 ; } } // horiz
if ( c1 . y == c2 . y ) { if ( c1 . x < c2 . x ) { return 90.0 ; } else if ( c1 . x > c2 . x ) { return 270.0 ; } }... |
public class ST_AddZ { /** * Add a z with to the existing value ( do the sum ) . NaN values are not
* updated .
* @ param geometry
* @ param z
* @ return
* @ throws java . sql . SQLException */
public static Geometry addZ ( Geometry geometry , double z ) throws SQLException { } } | if ( geometry == null ) { return null ; } geometry . apply ( new AddZCoordinateSequenceFilter ( z ) ) ; return geometry ; |
public class CacheManager { /** * Download in background all tiles of the specified area in osmdroid cache .
* @ param ctx
* @ param pTiles
* @ param zoomMin
* @ param zoomMax */
public CacheManagerTask downloadAreaAsync ( Context ctx , List < Long > pTiles , final int zoomMin , final int zoomMax ) { } } | final CacheManagerTask task = new CacheManagerTask ( this , getDownloadingAction ( ) , pTiles , zoomMin , zoomMax ) ; task . addCallback ( getDownloadingDialog ( ctx , task ) ) ; return execute ( task ) ; |
public class NetworkWatchersInner { /** * Get network configuration diagnostic .
* @ param resourceGroupName The name of the resource group .
* @ param networkWatcherName The name of the network watcher .
* @ param parameters Parameters to get network configuration diagnostic .
* @ throws IllegalArgumentExcepti... | return getNetworkConfigurationDiagnosticWithServiceResponseAsync ( resourceGroupName , networkWatcherName , parameters ) . toBlocking ( ) . last ( ) . body ( ) ; |
public class WPartialDateField { /** * Set the WPartialDateField with the given day , month and year . Each of the day , month and year parameters that
* make up the partial date are optional .
* @ param day A number from 1 to 31 or null if unknown .
* @ param month A number from 1 to 12 , or null if unknown .
... | // Validate Year
if ( ! isValidYear ( year ) ) { throw new IllegalArgumentException ( "Setting invalid partial year value (" + year + "). Year should be between " + YEAR_MIN + " to " + YEAR_MAX + "." ) ; } // Validate Month
if ( ! isValidMonth ( month ) ) { throw new IllegalArgumentException ( "Setting invalid partial ... |
public class FilmlistenSuchen { /** * Add our default full list servers . */
private void insertDefaultActiveServers ( ) { } } | listeFilmlistenUrls_akt . add ( new DatenFilmlisteUrl ( "http://m.picn.de/f/Filmliste-akt.xz" , DatenFilmlisteUrl . SERVER_ART_AKT ) ) ; listeFilmlistenUrls_akt . add ( new DatenFilmlisteUrl ( "http://m1.picn.de/f/Filmliste-akt.xz" , DatenFilmlisteUrl . SERVER_ART_AKT ) ) ; listeFilmlistenUrls_akt . add ( new DatenFilm... |
public class JsMainAdminServiceImpl { /** * This method is only used to populate destination of type Alias
* Some properties even though not there in config it is set
* to maintain backward compatibility with the runtime code .
* @ param properties
* @ param destinationList
* @ param meName
* @ param config... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { SibTr . entry ( tc , "populateAliasDestinations" , new Object [ ] { properties , destinationList , configAdmin } ) ; } String [ ] aliasDestinations = ( String [ ] ) properties . get ( JsAdminConstants . ALIAS ) ; if ( aliasDestinations != null... |
public class ExceptionUtil { /** * This rethrow the exception providing an allowed Exception in first priority , even it is a Runtime exception */
public static < T extends Throwable > RuntimeException rethrowAllowedTypeFirst ( final Throwable t , Class < T > allowedType ) throws T { } } | rethrowIfError ( t ) ; if ( allowedType . isAssignableFrom ( t . getClass ( ) ) ) { throw ( T ) t ; } else { throw peel ( t ) ; } |
public class JsonWriter { /** * Inserts any necessary separators and whitespace before a name . Also
* adjusts the stack to expect the name ' s value . */
private void beforeName ( ) throws IOException { } } | int context = peek ( ) ; if ( context == NONEMPTY_OBJECT ) { // first in object
out . write ( ',' ) ; } else if ( context != EMPTY_OBJECT ) { // not in an object !
throw new IllegalStateException ( "Nesting problem." ) ; } newline ( ) ; replaceTop ( DANGLING_NAME ) ; |
public class GVRPose { /** * Gets the local rotation for a bone given its index .
* @ param boneindexzero based index of bone whose rotation is wanted .
* @ return local rotation for the designated bone as a quaternion .
* @ see # setLocalRotation
* @ see # setWorldRotations
* @ see # setWorldMatrix
* @ see... | Bone bone = mBones [ boneindex ] ; if ( ( bone . Changed & ( WORLD_POS | WORLD_ROT ) ) != 0 ) { calcLocal ( bone , mSkeleton . getParentBoneIndex ( boneindex ) ) ; } bone . LocalMatrix . getUnnormalizedRotation ( q ) ; q . normalize ( ) ; |
public class JdbcCpoTrxAdapter { /** * DOCUMENT ME !
* @ return DOCUMENT ME !
* @ throws CpoException DOCUMENT ME ! */
@ Override protected Connection getReadConnection ( ) throws CpoException { } } | Connection connection = getStaticConnection ( ) ; setConnectionBusy ( connection ) ; return connection ; |
public class LineMap { /** * Maps a destination line to an error location .
* @ param buf CharBuffer to write the error location
* @ param line generated source line to convert . */
private void convertError ( CharBuffer buf , int line ) { } } | String srcFilename = null ; int destLine = 0 ; int srcLine = 0 ; int srcTailLine = Integer . MAX_VALUE ; for ( int i = 0 ; i < _lines . size ( ) ; i ++ ) { Line map = ( Line ) _lines . get ( i ) ; if ( map . _dstLine <= line && line <= map . getLastDestinationLine ( ) ) { srcFilename = map . _srcFilename ; destLine = m... |
public class AmazonRDSClient { /** * Enables ingress to a DBSecurityGroup using one of two forms of authorization . First , EC2 or VPC security groups
* can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances .
* Second , IP ranges are available if the applicatio... | request = beforeClientExecution ( request ) ; return executeAuthorizeDBSecurityGroupIngress ( request ) ; |
public class HttpURL { /** * Whether this URL uses the default port for the protocol . The default
* port is 80 for " http " protocol , and 443 for " https " . Other protocols
* are not supported and this method will always return false
* for them .
* @ return < code > true < / code > if the URL is using the de... | return ( PROTOCOL_HTTPS . equalsIgnoreCase ( protocol ) && port == DEFAULT_HTTPS_PORT ) || ( PROTOCOL_HTTP . equalsIgnoreCase ( protocol ) && port == DEFAULT_HTTP_PORT ) ; |
public class DynamicMessage { /** * Change option name to its fully qualified name . */
public void normalizeName ( Key key , String fullyQualifiedName ) { } } | Value value = fields . remove ( key ) ; if ( value == null ) { throw new IllegalStateException ( "Could not find option for key=" + key ) ; } Key newKey ; if ( fullyQualifiedName . startsWith ( "." ) ) { // TODO : we should not use format with leading dot internally
newKey = Key . extension ( fullyQualifiedName . subst... |
public class ProcedureRunner { /** * Batch up pre - planned fragments , but handle ad hoc independently . */
private VoltTable [ ] fastPath ( List < QueuedSQL > batch , final boolean finalTask ) { } } | final int batchSize = batch . size ( ) ; Object [ ] params = new Object [ batchSize ] ; long [ ] fragmentIds = new long [ batchSize ] ; String [ ] sqlTexts = new String [ batchSize ] ; boolean [ ] isWriteFrag = new boolean [ batchSize ] ; int [ ] sqlCRCs = new int [ batchSize ] ; int succeededFragmentsCount = 0 ; int i... |
public class DoubleTuples { /** * Returns the geometric mean of the given tuple
* @ param t The input tuple
* @ return The mean */
public static double geometricMean ( DoubleTuple t ) { } } | double product = DoubleTupleFunctions . reduce ( t , 1.0 , ( a , b ) -> ( a * b ) ) ; return Math . pow ( product , 1.0 / t . getSize ( ) ) ; |
public class XmlMapper { /** * 创建Marshaller并设定encoding ( 可为null ) .
* 线程不安全 , 需要每次创建或pooling 。 */
public static Marshaller createMarshaller ( Class clazz , String encoding ) { } } | try { JAXBContext jaxbContext = getJaxbContext ( clazz ) ; Marshaller marshaller = jaxbContext . createMarshaller ( ) ; marshaller . setProperty ( Marshaller . JAXB_FORMATTED_OUTPUT , Boolean . TRUE ) ; if ( StringUtils . isNotBlank ( encoding ) ) { marshaller . setProperty ( Marshaller . JAXB_ENCODING , encoding ) ; }... |
public class ModeShapeRestClient { /** * Returns a repository which has the given name or { @ code null } .
* @ param name the name of a repository ; may not be null
* @ return a { @ link Repositories . Repository } instace or { @ code null } */
public Repositories . Repository getRepository ( String name ) { } } | JSONRestClient . Response response = jsonRestClient . doGet ( ) ; if ( ! response . isOK ( ) ) { throw new RuntimeException ( JdbcI18n . invalidServerResponse . text ( jsonRestClient . url ( ) , response . asString ( ) ) ) ; } return new Repositories ( response . json ( ) ) . getRepository ( name ) ; |
public class FctBnTradeEntitiesProcessors { /** * < p > Get PrcItemSpecificsSave ( create and put into map ) . < / p >
* @ param pAddParam additional param
* @ return requested PrcItemSpecificsSave
* @ throws Exception - an exception */
protected final PrcItemSpecificsSave < RS , IHasIdLongVersion , AItemSpecific... | String beanName = PrcItemSpecificsSave . class . getSimpleName ( ) ; @ SuppressWarnings ( "unchecked" ) PrcItemSpecificsSave < RS , IHasIdLongVersion , AItemSpecificsId < IHasIdLongVersion > > proc = ( PrcItemSpecificsSave < RS , IHasIdLongVersion , AItemSpecificsId < IHasIdLongVersion > > ) this . processorsMap . get ... |
public class NamespaceConverter { /** * { @ inheritDoc } */
@ Override public XBELNamespace convert ( Namespace source ) { } } | if ( source == null ) return null ; String prefix = source . getPrefix ( ) ; String resourceLocation = source . getResourceLocation ( ) ; XBELNamespace xn = new XBELNamespace ( ) ; xn . setPrefix ( prefix ) ; xn . setResourceLocation ( resourceLocation ) ; return xn ; |
public class JsonWebKey { /** * Get the RSA Private Key Parameter value .
* @ return the RSA Private Key Parameter value . */
@ JsonProperty ( "dq" ) @ JsonSerialize ( using = Base64UrlJsonSerializer . class ) @ JsonDeserialize ( using = Base64UrlJsonDeserializer . class ) public byte [ ] dq ( ) { } } | return ByteExtensions . clone ( this . dq ) ; |
public class CDIServiceUtils { /** * And removes the last " . < number . < number > " */
@ Trivial public static String getSymbolicNameWithoutMinorOrMicroVersionPart ( String symbolicName ) { } } | if ( symbolicName . matches ( ".*\\d+\\.\\d+\\.\\d+$" ) ) { return symbolicName . replaceAll ( "\\.\\d+\\.\\d+$" , "" ) ; } else { return symbolicName ; } |
public class SerializationUtils { /** * Deserialize an object .
* @ param < T > the type parameter
* @ param inputStream The stream to be deserialized
* @ param clazz the clazz
* @ return the object
* @ since 5.0.0 */
@ SneakyThrows public static < T > T deserialize ( final InputStream inputStream , final Cla... | try ( val in = new ObjectInputStream ( inputStream ) ) { val obj = in . readObject ( ) ; if ( ! clazz . isAssignableFrom ( obj . getClass ( ) ) ) { throw new ClassCastException ( "Result [" + obj + " is of type " + obj . getClass ( ) + " when we were expecting " + clazz ) ; } return ( T ) obj ; } |
public class RangeTombstone { /** * This tombstone supersedes another one if it is more recent and cover a
* bigger range than rt . */
public boolean supersedes ( RangeTombstone rt , Comparator < Composite > comparator ) { } } | if ( rt . data . markedForDeleteAt > data . markedForDeleteAt ) return false ; return comparator . compare ( min , rt . min ) <= 0 && comparator . compare ( max , rt . max ) >= 0 ; |
public class AbstractQuery { private void check ( ) throws CouchbaseLiteException { } } | synchronized ( lock ) { if ( c4query != null ) { return ; } database = ( Database ) from . getSource ( ) ; final String json = encodeAsJson ( ) ; Log . v ( DOMAIN , "Query encoded as %s" , json ) ; if ( json == null ) { throw new CouchbaseLiteException ( "Failed to generate JSON query." ) ; } if ( columnNames == null )... |
public class Mutations { /** * Inverts mutations , so that they reflect difference from seq2 to seq1 . < p / > E . g . for mutations generated with
* < pre >
* NucleotideSequence ref = randomSequence ( 300 ) ;
* int [ ] mutations = Mutations . generateMutations ( ref ,
* MutationModels . getEmpiricalNucleotideM... | if ( mutations . length == 0 ) return this ; int [ ] newMutations = new int [ mutations . length ] ; int delta = 0 ; for ( int i = 0 ; i < mutations . length ; i ++ ) { int from = getFrom ( mutations [ i ] ) ; int to = getTo ( mutations [ i ] ) ; int pos = getPosition ( mutations [ i ] ) ; int type = getRawTypeCode ( m... |
public class GenericsUtils { /** * Generics declaration may contain type ' s generics together with outer class generics ( if type is inner class ) .
* Return map itself for not inner class ( or if no extra generics present in map ) .
* In case when type ' s generic is not mentioned in map - it will be resolved fro... | // assuming generics map always contains correct generics and may include only outer
// so if we call it with outer type and outer only generics it will correctly detect it
final boolean enoughGenerics = type . getTypeParameters ( ) . length == generics . size ( ) ; if ( enoughGenerics ) { return generics ; } final Lin... |
public class Jpa2ResponseStore { /** * { @ inheritDoc } */
@ Override public Collection < Response > findResponses ( SearchCriteria criteria ) { } } | Collection < Response > responsesAllTimestamps = responseRepository . find ( criteria ) ; // timestamp stored as string not queryable in DB , all timestamps come back , still need to filter this subset
return findResponses ( criteria , responsesAllTimestamps ) ; |
public class AVPush { /** * A helper method to concisely send a push to a query . This method is equivalent to
* < pre >
* AVPush push = new AVPush ( ) ;
* push . setData ( data ) ;
* push . setQuery ( query ) ;
* push . sendInBackground ( callback ) ;
* < / pre >
* @ param data The entire data of the pus... | AVPush push = new AVPush ( ) ; push . setData ( data ) ; push . setQuery ( query ) ; push . sendInBackground ( callback ) ; |
public class FormatUtils { /** * Is a a subclass of b ? Strict . */
public static boolean isSubclass ( Class a , Class b ) { } } | if ( a == b ) return false ; if ( ! ( b . isAssignableFrom ( a ) ) ) return false ; return true ; |
public class IdentityConverter { /** * / * ( non - Javadoc )
* @ see org . opoo . press . Converter # getOutputFileExtension ( org . opoo . press . Source ) */
@ Override public String getOutputFileExtension ( Source src ) { } } | String name = src . getOrigin ( ) . getName ( ) ; return "." + FilenameUtils . getExtension ( name ) ; |
public class ShareSheetStyle { /** * Exclude items from the ShareSheet by package name array .
* @ param packageName { @ link String [ ] } package name to be excluded .
* @ return this Builder object to allow for chaining of calls to set methods . */
public ShareSheetStyle excludeFromShareSheet ( @ NonNull String [... | excludeFromShareSheet . addAll ( Arrays . asList ( packageName ) ) ; return this ; |
public class DynamicLegacyProgram { /** * Generate MBean parameter info for all Program field annotated with @ In
* @ return an array of MBeanParameterInfo */
private MBeanParameterInfo [ ] createMBeanParameterInfos ( ) { } } | final int lenght = this . remoteProgram . getArguments ( ) != null ? this . remoteProgram . getArguments ( ) . size ( ) : 0 ; int cpt = 0 ; MBeanParameterInfo [ ] result = new MBeanParameterInfo [ lenght ] ; if ( this . remoteProgram . getArguments ( ) != null ) { for ( Argument arg : this . remoteProgram . getArgument... |
public class Base64 { /** * Decode the byte array .
* @ param aEncodedBytes
* The encoded byte array .
* @ param nOfs
* The offset of where to begin decoding
* @ param nLen
* The number of characters to decode
* @ param nOptions
* Decoding options .
* @ return < code > null < / code > if decoding fail... | if ( aEncodedBytes != null ) try { return decode ( aEncodedBytes , nOfs , nLen , nOptions ) ; } catch ( final IOException | IllegalArgumentException ex ) { // fall through
} return null ; |
public class ConfigUtil { /** * - - - - - Other Methods */
public static void updateKey ( String key , String value ) { } } | if ( PROPERTIES . containsKey ( key + ENC_SUFFIX ) ) { if ( value != null ) { PROPERTIES . setProperty ( key + ENC_SUFFIX , StringEncryptorUtil . encrypt ( value ) ) ; } } else { PROPERTIES . setProperty ( key , value != null ? value : "" ) ; } |
public class DefaultNullnessAnnotations { /** * Add default NullnessAnnotations to given INullnessAnnotationDatabase .
* @ param database
* an INullnessAnnotationDatabase */
public static void addDefaultNullnessAnnotations ( INullnessAnnotationDatabase database ) { } } | if ( AnnotationDatabase . IGNORE_BUILTIN_ANNOTATIONS ) { return ; } boolean missingClassWarningsSuppressed = AnalysisContext . currentAnalysisContext ( ) . setMissingClassWarningsSuppressed ( true ) ; database . addDefaultAnnotation ( AnnotationDatabase . Target . METHOD , Values . DOTTED_JAVA_LANG_STRING , NullnessAnn... |
public class Assert { /** * Asserts that the given { @ link Object } is an instance of the specified { @ link Class type } .
* The assertion holds if and only if the { @ link Object } is not { @ literal null } and is an instance of
* the specified { @ link Class type } . This assertion functions exactly the same as... | if ( isNotInstanceOf ( obj , type ) ) { throw new IllegalTypeException ( message . get ( ) ) ; } |
public class CPFriendlyURLEntryUtil { /** * Returns the first cp friendly url entry in the ordered set where uuid = & # 63 ; .
* @ param uuid the uuid
* @ param orderByComparator the comparator to order the set by ( optionally < code > null < / code > )
* @ return the first matching cp friendly url entry , or < c... | return getPersistence ( ) . fetchByUuid_First ( uuid , orderByComparator ) ; |
public class FastSet { /** * { @ inheritDoc } */
@ Override public boolean add ( int i ) { } } | int wordIndex = wordIndex ( i ) ; expandTo ( wordIndex ) ; int before = words [ wordIndex ] ; words [ wordIndex ] |= ( 1 << i ) ; if ( before != words [ wordIndex ] ) { if ( size >= 0 ) { size ++ ; } return true ; } return false ; |
public class GLImplementation { /** * Loads the implementation , making it accessible .
* @ param implementation The implementation to load
* @ return Whether or not the loading succeeded */
@ SuppressWarnings ( "unchecked" ) public static boolean load ( GLImplementation implementation ) { } } | try { final Constructor < ? > constructor = Class . forName ( implementation . getContextName ( ) ) . getDeclaredConstructor ( ) ; constructor . setAccessible ( true ) ; implementations . put ( implementation , ( Constructor < Context > ) constructor ) ; return true ; } catch ( ClassNotFoundException | NoSuchMethodExce... |
public class BitmexTradeServiceRaw { /** * See { @ link Bitmex # getOrders }
* @ return List of { @ link BitmexPrivateOrder } s . */
public List < BitmexPrivateOrder > getBitmexOrders ( ) throws ExchangeException { } } | return getBitmexOrders ( null , null , null , null , null ) ; |
public class BaseWordsi { /** * { @ inheritDoc } */
public boolean acceptWord ( String word ) { } } | return acceptedWords == null || acceptedWords . isEmpty ( ) || acceptedWords . contains ( word ) ; |
public class CollectAccumulator { /** * / * ( non - Javadoc )
* @ see org . kie . spi . Accumulator # accumulate ( java . lang . Object , org . kie . spi . Tuple , org . kie . common . InternalFactHandle , org . kie . rule . Declaration [ ] , org . kie . rule . Declaration [ ] , org . kie . WorkingMemory ) */
public ... | Object value = this . unwrapHandle ? ( ( LeftTuple ) handle . getObject ( ) ) . getFactHandle ( ) . getObject ( ) : handle . getObject ( ) ; ( ( CollectContext ) context ) . result . add ( value ) ; |
public class SignatureUtils { /** * converts a primitive type code to a signature
* @ param typeCode
* the raw JVM type value
* @ return the signature of the type */
public static String getTypeCodeSignature ( int typeCode ) { } } | String signature = Values . PRIMITIVE_TYPE_CODE_SIGS . get ( ( byte ) typeCode ) ; return signature == null ? Values . SIG_JAVA_LANG_OBJECT : signature ; |
public class DOTranslationUtility { /** * Reads the state attribute from a DigitalObject .
* Null or empty strings are interpteted as " Active " .
* @ param obj Object that potentially contains object state data .
* @ return String containing full state value ( Active , Inactive , or Deleted )
* @ throws Object... | if ( obj . getState ( ) == null || obj . getState ( ) . isEmpty ( ) ) { return MODEL . ACTIVE . localName ; } else { switch ( obj . getState ( ) . charAt ( 0 ) ) { case 'D' : return MODEL . DELETED . localName ; case 'I' : return MODEL . INACTIVE . localName ; case 'A' : return MODEL . ACTIVE . localName ; default : th... |
public class JSONTableSawRESTDataProvider { /** * Invoke a GET call on the web target and return the result as a TabularResult ( parsed CSV ) . Throws a QuandlUnprocessableEntityException
* if Quandl returned a response code that indicates a nonsensical request Throws a QuandlTooManyRequestsException if Quandl return... | return getResponse ( target , TABLE_SAW_RESPONSE_PROCESSOR , request ) ; |
public class LogoutRequestParser { /** * { @ inheritDoc } */
@ Override protected final void checkIntegrity ( ) throws InternetSCSIException { } } | String exceptionMessage ; do { Utils . isReserved ( logicalUnitNumber ) ; if ( reasonCode == LogoutReasonCode . CLOSE_SESSION && connectionID != 0 ) { exceptionMessage = "The CID field must be zero, if close session is requested." ; break ; } if ( protocolDataUnit . getBasicHeaderSegment ( ) . getTotalAHSLength ( ) != ... |
public class ClassResourceGridScreen { /** * SetupSFields Method . */
public void setupSFields ( ) { } } | this . getRecord ( ClassResource . CLASS_RESOURCE_FILE ) . getField ( ClassResource . SEQUENCE_NO ) . setupDefaultView ( this . getNextLocation ( ScreenConstants . NEXT_LOGICAL , ScreenConstants . ANCHOR_DEFAULT ) , this , ScreenConstants . DEFAULT_DISPLAY ) ; this . getRecord ( ClassResource . CLASS_RESOURCE_FILE ) . ... |
public class AtomContainerManipulator { /** * Convenience method to perceive atom types for all < code > IAtom < / code > s in the
* < code > IAtomContainer < / code > , using the < code > CDKAtomTypeMatcher < / code > . If the
* matcher finds a matching atom type , the < code > IAtom < / code > will be configured ... | CDKAtomTypeMatcher matcher = CDKAtomTypeMatcher . getInstance ( container . getBuilder ( ) ) ; for ( IAtom atom : container . atoms ( ) ) { IAtomType matched = matcher . findMatchingAtomType ( container , atom ) ; if ( matched != null ) AtomTypeManipulator . configure ( atom , matched ) ; } |
public class Client { /** * Gets a list of the Privileges created in an account .
* @ return List of Privilege
* @ throws OAuthSystemException - if there is a IOException reading parameters of the httpURLConnection
* @ throws OAuthProblemException - if there are errors validating the OneloginOAuthJSONResourceResp... | cleanError ( ) ; prepareToken ( ) ; URIBuilder url = new URIBuilder ( settings . getURL ( Constants . LIST_PRIVILEGES_URL ) ) ; OneloginURLConnectionClient httpClient = new OneloginURLConnectionClient ( ) ; OAuthClient oAuthClient = new OAuthClient ( httpClient ) ; OAuthClientRequest bearerRequest = new OAuthBearerClie... |
public class SimpleTable { /** * Adds content to this object .
* @ param element
* @ throws BadElementException */
public void addElement ( SimpleCell element ) throws BadElementException { } } | if ( ! element . isCellgroup ( ) ) { throw new BadElementException ( "You can't add cells to a table directly, add them to a row first." ) ; } content . add ( element ) ; |
public class FileSystemStorage { /** * Executes the given Callable and returns its result , while translating any Exceptions bubbling out of it into
* StreamSegmentExceptions .
* @ param segmentName Full name of the StreamSegment .
* @ param operation The function to execute .
* @ param < R > Return type of the... | Exceptions . checkNotClosed ( this . closed . get ( ) , this ) ; try { return operation . call ( ) ; } catch ( Exception e ) { return throwException ( segmentName , e ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.