signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class DSClientFactory { /** * Gets the custom retry policy .
* @ param props
* the props
* @ return the custom retry policy
* @ throws ClassNotFoundException
* @ throws IllegalAccessException
* @ throws NoSuchMethodException
* @ throws InvocationTargetException
* @ throws Exception
* the except... | String customRetryPolicy = ( String ) props . get ( CUSTOM_RETRY_POLICY ) ; Class < ? > clazz = null ; Method getter = null ; try { clazz = Class . forName ( customRetryPolicy ) ; com . datastax . driver . core . policies . RetryPolicy retryPolicy = ( com . datastax . driver . core . policies . RetryPolicy ) KunderaCor... |
public class AmazonElasticFileSystemClient { /** * Enables lifecycle management by creating a new < code > LifecycleConfiguration < / code > object . A
* < code > LifecycleConfiguration < / code > object defines when files in an Amazon EFS file system are automatically
* transitioned to the lower - cost EFS Infrequ... | request = beforeClientExecution ( request ) ; return executePutLifecycleConfiguration ( request ) ; |
public class FastUnsafeOffHeapMemoryInitialiser { /** * protected for test purposes ( this is also why the method cannot be static ) */
protected void unsafeZeroMemoryOptimisedForSmallBuffer ( long address , long sizeInBytes ) { } } | long endAddress = address + sizeInBytes ; long endOfLastLong = address + ( ( sizeInBytes >> 3 ) << 3 ) ; for ( long i = address ; i < endOfLastLong ; i += 8L ) { UNSAFE . putLong ( i , 0L ) ; } for ( long i = endOfLastLong ; i < endAddress ; i ++ ) { UNSAFE . putByte ( i , ( byte ) 0 ) ; } |
public class ServiceStatistics { /** * Returns < code > true < / code > if the given < code > throwable < / code > or one of
* its cause is an instance of one of the given < code > throwableTypes < / code > . */
public static boolean containsThrowableOfType ( Throwable throwable , Class < ? > ... throwableTypes ) { }... | List < Throwable > alreadyProcessedThrowables = new ArrayList < Throwable > ( ) ; while ( true ) { if ( throwable == null ) { // end of the list of causes
return false ; } else if ( alreadyProcessedThrowables . contains ( throwable ) ) { // infinite loop in causes
return false ; } else { for ( Class < ? > throwableType... |
public class PriorityQueue { /** * Reconstitutes the { @ code PriorityQueue } instance from a stream
* ( that is , deserializes it ) .
* @ param s the stream
* @ throws ClassNotFoundException if the class of a serialized object
* could not be found
* @ throws java . io . IOException if an I / O error occurs *... | // Read in size , and any hidden stuff
s . defaultReadObject ( ) ; // Read in ( and discard ) array length
s . readInt ( ) ; queue = new Object [ size ] ; // Read in all elements .
for ( int i = 0 ; i < size ; i ++ ) queue [ i ] = s . readObject ( ) ; // Elements are guaranteed to be in " proper order " , but the
// sp... |
public class CmsClientSitemapEntry { /** * Updates all entry properties apart from it ' s position - info and sub - entries . < p >
* @ param source the source entry to update from */
public void update ( CmsClientSitemapEntry source ) { } } | copyMembers ( source ) ; // position values < 0 are considered as not set
if ( source . getPosition ( ) >= 0 ) { setPosition ( source . getPosition ( ) ) ; } |
public class PrcCheckOut { /** * < p > Retrieve new orders to redone . < / p >
* @ param pRqVs request scoped vars
* @ param pBur buyer
* @ return purchase with new orders to redone
* @ throws Exception - an exception */
public final Purch retNewOrds ( final Map < String , Object > pRqVs , final OnlineBuyer pBu... | Set < String > ndFl = new HashSet < String > ( ) ; ndFl . add ( "itsId" ) ; ndFl . add ( "itsVersion" ) ; String tbn = CustOrder . class . getSimpleName ( ) ; pRqVs . put ( tbn + "neededFields" , ndFl ) ; List < CustOrder > orders = getSrvOrm ( ) . retrieveListWithConditions ( pRqVs , CustOrder . class , "where STAT=0 ... |
public class Vector3d { /** * / * ( non - Javadoc )
* @ see org . joml . Vector3dc # reflect ( org . joml . Vector3dc , org . joml . Vector3d ) */
public Vector3d reflect ( Vector3dc normal , Vector3d dest ) { } } | return reflect ( normal . x ( ) , normal . y ( ) , normal . z ( ) , dest ) ; |
public class InitReactorRunner { /** * Aggregates all the listeners into one and returns it .
* At this point plugins are not loaded yet , so we fall back to the META - INF / services look up to discover implementations .
* As such there ' s no way for plugins to participate into this process . */
private ReactorLi... | List < ReactorListener > r = Lists . newArrayList ( ServiceLoader . load ( InitReactorListener . class , Thread . currentThread ( ) . getContextClassLoader ( ) ) ) ; r . add ( new ReactorListener ( ) { final Level level = Level . parse ( Configuration . getStringConfigParameter ( "initLogLevel" , "FINE" ) ) ; public vo... |
public class ProjectFile { /** * Find the earliest task start date . We treat this as the
* start date for the project .
* @ return start date */
public Date getStartDate ( ) { } } | Date startDate = null ; for ( Task task : m_tasks ) { // If a hidden " summary " task is present we ignore it
if ( NumberHelper . getInt ( task . getUniqueID ( ) ) == 0 ) { continue ; } // Select the actual or forecast start date . Note that the
// behaviour is different for milestones . The milestone end date
// is al... |
public class KDTree { /** * Assigns instances to centers using KDTree .
* @ param centersthe current centers
* @ param assignmentsthe centerindex for each instance
* @ param pcthe threshold value for pruning .
* @ throws Exception If there is some problem
* assigning instances to centers . */
public void cent... | int [ ] centList = new int [ centers . numInstances ( ) ] ; for ( int i = 0 ; i < centers . numInstances ( ) ; i ++ ) centList [ i ] = i ; determineAssignments ( m_Root , centers , centList , assignments , pc ) ; |
public class ELKIServiceRegistry { /** * Try loading alternative names .
* @ param restrictionClass Context class , for prepending a package name .
* @ param value Class name requested
* @ param e Cache entry , may be null
* @ param < C > Generic type
* @ return Class , or null */
private static < C > Class <... | StringBuilder buf = new StringBuilder ( value . length ( ) + 100 ) ; // Try with FACTORY _ POSTFIX first :
Class < ? > clazz = tryLoadClass ( buf . append ( value ) . append ( FACTORY_POSTFIX ) . toString ( ) ) ; if ( clazz != null ) { return clazz ; } clazz = tryLoadClass ( value ) ; // Without FACTORY _ POSTFIX .
if ... |
public class BinaryJedis { /** * Set a timeout on the specified key . After the timeout the key will be automatically deleted by
* the server . A key with an associated timeout is said to be volatile in Redis terminology .
* Volatile keys are stored on disk like the other keys , the timeout is persistent too like a... | checkIsInMultiOrPipeline ( ) ; client . pexpire ( key , milliseconds ) ; return client . getIntegerReply ( ) ; |
public class TheMovieDbApi { /** * Get the images that have been tagged with a specific person id .
* We return all of the image results with a media object mapped for each
* image .
* @ param personId personId
* @ param page page
* @ param language language
* @ return
* @ throws com . omertron . themovie... | return tmdbPeople . getPersonTaggedImages ( personId , page , language ) ; |
public class AipFace { /** * 获取用户列表接口
* @ param groupId - 用户组id ( 由数字 、 字母 、 下划线组成 ) , 长度限制128B
* @ param options - 可选参数对象 , key : value都为string类型
* options - options列表 :
* start 默认值0 , 起始序号
* length 返回数量 , 默认值100 , 最大值1000
* @ return JSONObject */
public JSONObject getGroupUsers ( String groupId , HashMap ... | AipRequest request = new AipRequest ( ) ; preOperation ( request ) ; request . addBody ( "group_id" , groupId ) ; if ( options != null ) { request . addBody ( options ) ; } request . setUri ( FaceConsts . GROUP_GETUSERS ) ; request . setBodyFormat ( EBodyFormat . RAW_JSON ) ; postOperation ( request ) ; return requestS... |
public class SmileIOUtil { /** * Creates a { @ link SmileParser } from the inputstream with the supplied buf { @ code inBuffer } to use . */
public static SmileParser newSmileParser ( InputStream in , byte [ ] buf , int offset , int limit ) throws IOException { } } | return newSmileParser ( in , buf , offset , limit , false , new IOContext ( DEFAULT_SMILE_FACTORY . _getBufferRecycler ( ) , in , false ) ) ; |
public class StampedCommonCache { /** * { @ inheritDoc } */
@ Override public V get ( final Object key ) { } } | return doWithReadLock ( c -> c . get ( key ) ) ; |
public class LineNumberingClassAdapter { /** * Visits the specified method , adding line numbering . */
@ Override public MethodVisitor visitMethod ( int access , final String name , String desc , String signature , String [ ] exceptions ) { } } | MethodVisitor mv = cv . visitMethod ( access | Opcodes . ACC_SYNTHETIC , name , desc , signature , exceptions ) ; return new LineNumberingMethodAdapter ( mv , access | Opcodes . ACC_SYNTHETIC , name , desc ) { @ Override protected void onMethodEnter ( ) { this . lineNumbers = LineNumberingClassAdapter . this . lineNumb... |
public class ReduceOps { /** * Constructs a { @ code TerminalOp } that implements a mutable reduce on
* { @ code double } values .
* @ param < R > the type of the result
* @ param supplier a factory to produce a new accumulator of the result type
* @ param accumulator a function to incorporate an int into an
... | Objects . requireNonNull ( supplier ) ; Objects . requireNonNull ( accumulator ) ; Objects . requireNonNull ( combiner ) ; class ReducingSink extends Box < R > implements AccumulatingSink < Double , R , ReducingSink > , Sink . OfDouble { @ Override public void begin ( long size ) { state = supplier . get ( ) ; } @ Over... |
public class DataSource { /** * Returns the { @ link org . apache . flink . api . java . io . SplitDataProperties } for the
* { @ link org . apache . flink . core . io . InputSplit } s of this DataSource
* for configurations .
* < p > SplitDataProperties can help to generate more efficient execution plans .
* <... | if ( this . splitDataProperties == null ) { this . splitDataProperties = new SplitDataProperties < OUT > ( this ) ; } return this . splitDataProperties ; |
public class MongoDBCallback { /** * / * tests :
* names at different depths
* maps w / other objects as keys
* relatedMongoObjectMap relatedMongoObjectMap Map < >
* relatedMongoObjectMap . foo relatedMongoObjectMap . RelatedObject
* nestedSimpleMongoObject nestedSimpleMongoObject SimpleObject
* nestedSimpl... | Class containerClass ; if ( path . equals ( lastPathPart ) ) { containerClass = rootClass ; } else { containerClass = classCache . get ( rootClass . getSimpleName ( ) + "." + path . substring ( 0 , path . lastIndexOf ( '.' ) ) ) ; } if ( containerClass != null && DBObject . class . isAssignableFrom ( containerClass ) )... |
public class CorporationApi { /** * Get all corporation ALSC logs ( asynchronously ) Returns logs recorded in
* the past seven days from all audit log secure containers ( ALSC ) owned by
* a given corporation - - - This route is cached for up to 600 seconds - - -
* Requires one of the following EVE corporation ro... | com . squareup . okhttp . Call call = getCorporationsCorporationIdContainersLogsValidateBeforeCall ( corporationId , datasource , ifNoneMatch , page , token , callback ) ; Type localVarReturnType = new TypeToken < List < CorporationContainersLogsResponse > > ( ) { } . getType ( ) ; apiClient . executeAsync ( call , loc... |
public class LBufferAPI { /** * Read the given source byte array , then overwrite this buffer ' s contents
* @ param src source byte array
* @ param srcOffset offset in source byte array to read from
* @ param destOffset offset in this buffer to read to
* @ param length max number of bytes to read
* @ return ... | int readLen = ( int ) Math . min ( src . length - srcOffset , Math . min ( size ( ) - destOffset , length ) ) ; ByteBuffer b = toDirectByteBuffer ( destOffset , readLen ) ; b . position ( 0 ) ; b . put ( src , srcOffset , readLen ) ; return readLen ; |
public class HumanTaskConfig { /** * Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task .
* @ param taskKeywords
* Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task . */
public void setTaskKeywords ( java . util . Colle... | if ( taskKeywords == null ) { this . taskKeywords = null ; return ; } this . taskKeywords = new java . util . ArrayList < String > ( taskKeywords ) ; |
public class system { /** * Toggles the SoftKeyboard Input be careful where you call this from as if you want to
* hide the keyboard and its already hidden it will be shown */
public static void toggleKeyboard ( ) { } } | InputMethodManager imm = ( ( InputMethodManager ) QuickUtils . getContext ( ) . getSystemService ( Context . INPUT_METHOD_SERVICE ) ) ; imm . toggleSoftInput ( 0 , 0 ) ; |
public class LocalizationMessages { /** * Unknown parameter ( s ) for { 0 } . { 1 } method annotated with @ OnError annotation : { 2 } . This method will be ignored . */
public static String ENDPOINT_UNKNOWN_PARAMS ( Object arg0 , Object arg1 , Object arg2 ) { } } | return localizer . localize ( localizableENDPOINT_UNKNOWN_PARAMS ( arg0 , arg1 , arg2 ) ) ; |
public class FuncSystemProperty { /** * Retrieve a propery bundle from a specified file
* @ param file The string name of the property file . The name
* should already be fully qualified as path / filename
* @ param target The target property bag the file will be placed into . */
public void loadPropertyFile ( St... | try { // Use SecuritySupport class to provide priveleged access to property file
SecuritySupport ss = SecuritySupport . getInstance ( ) ; InputStream is = ss . getResourceAsStream ( ObjectFactory . findClassLoader ( ) , file ) ; // get a buffered version
BufferedInputStream bis = new BufferedInputStream ( is ) ; target... |
public class ModuleDepInfo { /** * A return value of null means that the associated module should be included in the expanded
* dependency list unconditionally . A return value consisting of an empty list means that it
* should not be included at all .
* If the list is not empty , then the list elements are the h... | formula = formula . simplify ( formulaCache ) ; if ( formula . isTrue ( ) ) { return null ; } if ( formula . isFalse ( ) ) { return Collections . emptySet ( ) ; } Set < String > result = new HashSet < String > ( ) ; for ( BooleanTerm term : formula ) { StringBuffer sb = new StringBuffer ( pluginName ) . append ( "!" ) ... |
public class MockHttpSession { /** * Serialize the attributes of this session into an object that can be turned
* into a byte array with standard Java serialization .
* @ return a representation of this session ' s serialized state */
@ Nonnull public Serializable serializeState ( ) { } } | final ICommonsMap < String , Object > aState = new CommonsHashMap < > ( ) ; for ( final Map . Entry < String , Object > entry : m_aAttributes . entrySet ( ) ) { final String sName = entry . getKey ( ) ; final Object aValue = entry . getValue ( ) ; if ( aValue instanceof Serializable ) { aState . put ( sName , aValue ) ... |
public class DatabaseStoreService { /** * Declarative Services method for setting the ResourceConfigFactory service reference
* @ param ref reference to service object ; type of service object is verified */
protected void setResourceConfigFactory ( ServiceReference < ResourceConfigFactory > ref ) { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && LoggingUtil . SESSION_LOGGER_WAS . isLoggable ( Level . FINE ) ) { LoggingUtil . SESSION_LOGGER_WAS . logp ( Level . FINE , methodClassName , "setResourceConfigFactory" , "setting " + ref ) ; } resourceConfigFactoryRef . setReference ( ref ) ; |
public class RemoteQueueSession { /** * ( non - Javadoc )
* @ see javax . jms . QueueSession # createReceiver ( javax . jms . Queue , java . lang . String ) */
@ Override public QueueReceiver createReceiver ( Queue queue , String messageSelector ) throws JMSException { } } | externalAccessLock . readLock ( ) . lock ( ) ; try { checkNotClosed ( ) ; RemoteQueueReceiver receiver = new RemoteQueueReceiver ( idProvider . createID ( ) , this , DestinationTools . asRef ( queue ) , messageSelector ) ; registerConsumer ( receiver ) ; receiver . remoteInit ( ) ; return receiver ; } finally { externa... |
public class Interval { /** * A { @ link Comparator } that only considers the end points of the intervals . It can not and must
* not be used as a standalone { @ link Comparator } . It only serves to create a more readable and
* modular code . */
private int compareEnds ( Interval < T > other ) { } } | if ( end == null && other . end == null ) return 0 ; if ( end == null ) return 1 ; if ( other . end == null ) return - 1 ; int compare = end . compareTo ( other . end ) ; if ( compare != 0 ) return compare ; if ( isEndInclusive ^ other . isEndInclusive ) return isEndInclusive ? 1 : - 1 ; return 0 ; |
public class AmazonECSWaiters { /** * Builds a TasksRunning waiter by using custom parameters waiterParameters and other parameters defined in the
* waiters specification , and then polls until it determines whether the resource entered the desired state or not ,
* where polling criteria is bound by either default ... | return new WaiterBuilder < DescribeTasksRequest , DescribeTasksResult > ( ) . withSdkFunction ( new DescribeTasksFunction ( client ) ) . withAcceptors ( new TasksRunning . IsSTOPPEDMatcher ( ) , new TasksRunning . IsMISSINGMatcher ( ) , new TasksRunning . IsRUNNINGMatcher ( ) ) . withDefaultPollingStrategy ( new Pollin... |
public class GeometryMergeService { private void merge ( final GeometryFunction callback ) { } } | GeometryOperationService operationService = new GeometryOperationServiceImpl ( ) ; UnionInfo unionInfo = new UnionInfo ( ) ; unionInfo . setUsePrecisionAsBuffer ( true ) ; unionInfo . setPrecision ( precision ) ; operationService . union ( geometries , unionInfo , new Callback < Geometry , Throwable > ( ) { public void... |
public class Operation { /** * Returns an identity matrix */
public static Info eye ( final Variable A , ManagerTempVariables manager ) { } } | Info ret = new Info ( ) ; final VariableMatrix output = manager . createMatrix ( ) ; ret . output = output ; if ( A instanceof VariableMatrix ) { ret . op = new Operation ( "eye-m" ) { @ Override public void process ( ) { DMatrixRMaj mA = ( ( VariableMatrix ) A ) . matrix ; output . matrix . reshape ( mA . numRows , mA... |
public class Assignment { /** * Deserializes an assignment string
* e . g . [ din ] str1 - > inStr , [ din ] inStrConst = TheString , [ dout ] outStr1 - > str1
* @ param sAssignment
* @ return Assignment */
public static Assignment deserialize ( AssignmentData assignmentData , String sAssignment ) { } } | if ( sAssignment == null || sAssignment . isEmpty ( ) ) { return null ; } // Parse the assignment string
VariableType assignmentType = null ; if ( sAssignment . startsWith ( INPUT_ASSIGNMENT_PREFIX ) ) { assignmentType = VariableType . INPUT ; sAssignment = sAssignment . substring ( INPUT_ASSIGNMENT_PREFIX . length ( )... |
public class BaseProfile { /** * generate ant build . xml
* @ param def Definition
* @ param outputDir output directory */
void generateAntXml ( Definition def , String outputDir ) { } } | try { FileWriter antfw = Utils . createFile ( "build.xml" , outputDir ) ; BuildXmlGen bxGen = new BuildXmlGen ( ) ; bxGen . generate ( def , antfw ) ; antfw . close ( ) ; } catch ( IOException ioe ) { ioe . printStackTrace ( ) ; } |
public class CPOptionCategoryPersistenceImpl { /** * Returns all the cp option categories .
* @ return the cp option categories */
@ Override public List < CPOptionCategory > findAll ( ) { } } | return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; |
public class ResourceBundleMessageSource { /** * Build the cache used to store resolved messages .
* @ return The cache . */
@ Nonnull protected Map < MessageKey , Optional < String > > buildMessageCache ( ) { } } | return new ConcurrentLinkedHashMap . Builder < MessageKey , Optional < String > > ( ) . maximumWeightedCapacity ( 100 ) . build ( ) ; |
public class Logger { /** * Logs a message and stack trace if DEBUG logging is enabled
* or a formatted message and exception description if WARN logging is enabled .
* @ param cause an exception to print stack trace of if DEBUG logging is enabled
* @ param message a message */
public final void warnDebug ( final... | logDebug ( Level . WARN , cause , message ) ; |
public class ArrayUtils { /** * Checks if the given array contains the specified value . < br >
* This method works with strict reference comparison .
* @ param < T >
* Type of array elements and < code > value < / code >
* @ param array
* Array to examine
* @ param value
* Value to search
* @ return < ... | for ( int i = 0 ; i < array . length ; i ++ ) { if ( array [ i ] == value ) { return true ; } } return false ; |
public class AnnotationTypeWriterImpl { /** * Add gap between navigation bar elements .
* @ param liNav the content tree to which the gap will be added */
protected void addNavGap ( Content liNav ) { } } | liNav . addContent ( getSpace ( ) ) ; liNav . addContent ( "|" ) ; liNav . addContent ( getSpace ( ) ) ; |
public class BigtableDataGrpcClient { /** * { @ inheritDoc } */
@ Override public ReadModifyWriteRowResponse readModifyWriteRow ( ReadModifyWriteRowRequest request ) { } } | if ( shouldOverrideAppProfile ( request . getAppProfileId ( ) ) ) { request = request . toBuilder ( ) . setAppProfileId ( clientDefaultAppProfileId ) . build ( ) ; } return createUnaryListener ( request , readWriteModifyRpc , request . getTableName ( ) ) . getBlockingResult ( ) ; |
public class AuthenticationAPIClient { /** * Creates a user in a DB connection using < a href = " https : / / auth0 . com / docs / api / authentication # signup " > ' / dbconnections / signup ' endpoint < / a >
* Example usage :
* < pre >
* { @ code
* client . createUser ( " { email } " , " { password } " , " {... | HttpUrl url = HttpUrl . parse ( auth0 . getDomainUrl ( ) ) . newBuilder ( ) . addPathSegment ( DB_CONNECTIONS_PATH ) . addPathSegment ( SIGN_UP_PATH ) . build ( ) ; final Map < String , Object > parameters = ParameterBuilder . newBuilder ( ) . set ( USERNAME_KEY , username ) . set ( EMAIL_KEY , email ) . set ( PASSWORD... |
public class ConfigUtils { /** * Method is used to return an array of bytes representing the password stored in the config .
* @ param config Config to read from
* @ param key Key to read from
* @ return byte array containing the password */
public static byte [ ] passwordBytes ( AbstractConfig config , String ke... | return passwordBytes ( config , key , Charsets . UTF_8 ) ; |
public class IntList { /** * Creates and returns an unmodifiable view of the given int array that
* requires only a small object allocation .
* @ param array the array to wrap into an unmodifiable list
* @ param length the number of values of the array to use , starting from zero
* @ return an unmodifiable list... | return Collections . unmodifiableList ( view ( array , length ) ) ; |
public class Logo { /** * { @ inheritDoc } */
@ Override public void deserialize ( String jsonString ) { } } | final GsonBuilder builder = new GsonBuilder ( ) ; builder . excludeFieldsWithoutExposeAnnotation ( ) ; final Gson gson = builder . create ( ) ; Logo w = gson . fromJson ( jsonString , Logo . class ) ; this . nid = w . nid ; this . brand = w . brand ; |
public class AmazonConnectClient { /** * Returns a < code > UserHierarchyGroupSummaryList < / code > , which is an array of < code > HierarchyGroupSummary < / code >
* objects that contain information about the hierarchy groups in your instance .
* @ param listUserHierarchyGroupsRequest
* @ return Result of the L... | request = beforeClientExecution ( request ) ; return executeListUserHierarchyGroups ( request ) ; |
public class Collectors { /** * Collect to hash set
* @ param < T > Streaming type
* @ return Hash set */
public static < T > Collector < T , Set < T > > toSet ( ) { } } | return new Collector < T , Set < T > > ( ) { @ Override public Set < T > collect ( Stream < ? extends T > stream ) { return Sets . newHashSet ( stream . iterator ( ) ) ; } } ; |
public class MolecularFormulaManipulator { /** * Occurrences of a given element from an isotope in a molecular formula .
* @ param formula the formula
* @ param isotope isotope of an element
* @ return number of the times the element occurs
* @ see # getElementCount ( IMolecularFormula , IElement ) */
public st... | return getElementCount ( formula , formula . getBuilder ( ) . newInstance ( IElement . class , isotope ) ) ; |
public class FunctionArgumentInjector { /** * We consider an expression trivial if it doesn ' t contain a conditional expression or
* a function . */
static boolean mayHaveConditionalCode ( Node n ) { } } | for ( Node c = n . getFirstChild ( ) ; c != null ; c = c . getNext ( ) ) { switch ( c . getToken ( ) ) { case FUNCTION : case AND : case OR : case HOOK : return true ; default : break ; } if ( mayHaveConditionalCode ( c ) ) { return true ; } } return false ; |
public class MercadoBitcoinAdapters { /** * Adapts a Transaction [ ] to a Trades Object
* @ param transactions The Mercado Bitcoin transactions
* @ param currencyPair ( e . g . BTC / BRL or LTC / BRL )
* @ return The XChange Trades */
public static Trades adaptTrades ( MercadoBitcoinTransaction [ ] transactions ,... | List < Trade > trades = new ArrayList < > ( ) ; long lastTradeId = 0 ; for ( MercadoBitcoinTransaction tx : transactions ) { final long tradeId = tx . getTid ( ) ; if ( tradeId > lastTradeId ) { lastTradeId = tradeId ; } trades . add ( new Trade ( toOrderType ( tx . getType ( ) ) , tx . getAmount ( ) , currencyPair , t... |
public class responderpolicy { /** * Use this API to rename a responderpolicy resource . */
public static base_response rename ( nitro_service client , responderpolicy resource , String new_name ) throws Exception { } } | responderpolicy renameresource = new responderpolicy ( ) ; renameresource . name = resource . name ; return renameresource . rename_resource ( client , new_name ) ; |
public class Static { /** * Creates a new array instance in a type safe way .
* @ param template The original array
* @ param length The length of the new array
* @ param < T > The base type of the new array
* @ return The new array */
@ SuppressWarnings ( "unchecked" ) public static < T > T [ ] newArrayInstanc... | return newArrayInstance ( ( Class < T > ) template . getClass ( ) . getComponentType ( ) , length ) ; |
public class MultipleEpochsIterator { /** * Resets the iterator back to the beginning */
@ Override public void reset ( ) { } } | if ( ! iter . resetSupported ( ) ) { throw new IllegalStateException ( "Cannot reset MultipleEpochsIterator with base iter that does not support reset" ) ; } epochs = 0 ; lastBatch = batch ; batch = 0 ; iterationsCounter . set ( 0 ) ; iter . reset ( ) ; |
public class DatabaseAccountsInner { /** * Changes the failover priority for the Azure Cosmos DB database account . A failover priority of 0 indicates a write region . The maximum value for a failover priority = ( total number of regions - 1 ) . Failover priority values must be unique for each of the regions in which t... | if ( this . client . subscriptionId ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.subscriptionId() is required and cannot be null." ) ; } if ( resourceGroupName == null ) { throw new IllegalArgumentException ( "Parameter resourceGroupName is required and cannot be null." ) ; } if ( account... |
public class PathBasedCacheExpirationFilter { /** * / * ( non - Javadoc )
* @ see org . springframework . web . filter . GenericFilterBean # initFilterBean ( ) */
@ Override protected void initFilterBean ( ) throws ServletException { } } | if ( this . resourcesElementsProvider == null ) { final ServletContext servletContext = this . getServletContext ( ) ; this . resourcesElementsProvider = ResourcesElementsProviderUtils . getOrCreateResourcesElementsProvider ( servletContext ) ; } |
public class XMLFormatter { /** * Removes both XML declaration and trims all elements .
* @ param xml XML to trim .
* @ return trimmed version . */
public static String trim ( String xml ) { } } | String content = removeDeclaration ( xml ) ; return trimElements ( content ) ; |
public class FunctionalType { /** * Returns the functional types accepted by { @ code methodName } on { @ code type } . */
public static List < FunctionalType > functionalTypesAcceptedByMethod ( DeclaredType type , String methodName , Elements elements , Types types ) { } } | TypeElement typeElement = asElement ( type ) ; return methodsOn ( typeElement , elements , errorType -> { } ) . stream ( ) . filter ( method -> method . getSimpleName ( ) . contentEquals ( methodName ) && method . getParameters ( ) . size ( ) == 1 ) . flatMap ( method -> { ExecutableType methodType = ( ExecutableType )... |
public class InterfaceService { /** * Resizes the current view , if present .
* @ param width new width of the screen .
* @ param height new height of the screen . */
public void resize ( final int width , final int height ) { } } | if ( currentController != null ) { currentController . resize ( width , height ) ; } messageDispatcher . postMessage ( AutumnMessage . GAME_RESIZED ) ; |
public class IndexElasticsearchUpdater { /** * Update index settings in Elasticsearch . Read also _ update _ settings . json if exists .
* @ param client Elasticsearch client
* @ param root dir within the classpath
* @ param index Index name
* @ throws Exception if the elasticsearch API call is failing */
@ Dep... | String settings = IndexSettingsReader . readUpdateSettings ( root , index ) ; updateIndexWithSettingsInElasticsearch ( client , index , settings ) ; |
public class JmsConnectionImpl { /** * Remove a TemporaryDestination from the list of temporary destinations
* created by sessions under this connection
* @ param tempDest - the temporary destination to be removed from the List */
protected void removeTemporaryDestination ( JmsTemporaryDestinationInternal tempDest ... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "removeTemporaryDestination" , System . identityHashCode ( tempDest ) ) ; synchronized ( temporaryDestinations ) { // synchronize against addTemporaryDestination
temporaryDestinations . remove ( tempDest ) ; } if ( Tr... |
public class GenericCollectionTypeResolver { /** * Extract the generic type from the given Type object .
* @ param type the Type to check
* @ param source the source collection / map Class that we check
* @ param typeIndex the index of the actual type argument
* @ param nestingLevel the nesting level of the tar... | Type resolvedType = type ; if ( type instanceof TypeVariable && typeVariableMap != null ) { Type mappedType = typeVariableMap . get ( type ) ; if ( mappedType != null ) { resolvedType = mappedType ; } } if ( resolvedType instanceof ParameterizedType ) { return extractTypeFromParameterizedType ( ( ParameterizedType ) re... |
public class ClassDocImpl { /** * Return inner classes within this class .
* @ param filter include only the included inner classes if filter = = true .
* @ return an array of ClassDocImpl for representing the visible
* classes defined in this class . Anonymous and local classes
* are not included . */
public C... | ListBuffer < ClassDocImpl > innerClasses = new ListBuffer < > ( ) ; for ( Symbol sym : tsym . members ( ) . getSymbols ( NON_RECURSIVE ) ) { if ( sym != null && sym . kind == TYP ) { ClassSymbol s = ( ClassSymbol ) sym ; if ( ( s . flags_field & Flags . SYNTHETIC ) != 0 ) continue ; if ( ! filter || env . isVisible ( s... |
public class Buffer { /** * Get next data bytes with length encoded prefix .
* @ return the raw binary data */
public byte [ ] getLengthEncodedBytes ( ) { } } | int type = this . buf [ this . position ++ ] & 0xff ; int length ; switch ( type ) { case 251 : return null ; case 252 : length = 0xffff & readShort ( ) ; break ; case 253 : length = 0xffffff & read24bitword ( ) ; break ; case 254 : length = ( int ) ( ( buf [ position ++ ] & 0xff ) + ( ( long ) ( buf [ position ++ ] & ... |
public class ConfigFactory { /** * Sets a converter for the given type . Setting a converter via this method will override any default converters
* but not { @ link Config . ConverterClass } annotations .
* @ param type the type for which to set a converter .
* @ param converter the converter class to use for the... | INSTANCE . setTypeConverter ( type , converter ) ; |
public class DiscountCurveInterpolation { /** * Returns the zero rate for a given maturity , i . e . , - ln ( df ( T ) ) / T where T is the given maturity and df ( T ) is
* the discount factor at time $ T $ .
* @ param maturity The given maturity .
* @ return The zero rate . */
public double getZeroRate ( double ... | if ( maturity == 0 ) { return this . getZeroRate ( 1.0E-14 ) ; } return - Math . log ( getDiscountFactor ( null , maturity ) ) / maturity ; |
public class InsertDependsAction { /** * Get result .
* @ return result */
@ Override public String getResult ( ) { } } | final List < String > result = new ArrayList < > ( ) ; for ( final Value t : value ) { final String token = t . value . trim ( ) ; // Pieces which are surrounded with braces are extension points .
if ( token . startsWith ( "{" ) && token . endsWith ( "}" ) ) { final String extension = token . substring ( 1 , token . le... |
public class AbstractSessionHandler { /** * Create an entirely new Session .
* @ param id identity of session to create
* @ return the new session object */
@ Override public Session newSession ( String id ) { } } | long created = System . currentTimeMillis ( ) ; Session session = sessionCache . newSession ( id , created , ( defaultMaxIdleSecs > 0 ? defaultMaxIdleSecs * 1000L : - 1 ) ) ; try { sessionCache . put ( id , session ) ; sessionsCreatedStats . increment ( ) ; for ( SessionListener listener : sessionListeners ) { listener... |
public class ARCWriter { /** * Write out the ARCMetaData .
* < p > Generate ARC file meta data . Currently we only do version 1 of the
* ARC file formats or version 1.1 when metadata has been supplied ( We
* write it into the body of the first record in the arc file ) .
* < p > Version 1 metadata looks roughly ... | if ( date != null && date . length ( ) > 14 ) { date = date . substring ( 0 , 14 ) ; } int metadataBodyLength = getMetadataLength ( ) ; // If metadata body , then the minor part of the version is ' 1 ' rather
// than ' 0 ' .
String metadataHeaderLinesTwoAndThree = getMetadataHeaderLinesTwoAndThree ( "1 " + ( ( metadata... |
public class XMLSocketReceiver { /** * Does the actual shutting down by closing the server socket
* and any connected sockets that have been created . */
private synchronized void doShutdown ( ) { } } | active = false ; getLogger ( ) . debug ( "{} doShutdown called" , getName ( ) ) ; // close the server socket
closeServerSocket ( ) ; // close all of the accepted sockets
closeAllAcceptedSockets ( ) ; if ( advertiseViaMulticastDNS ) { zeroConf . unadvertise ( ) ; } |
public class RateLimitingDecoratorFactoryFunction { /** * Creates a new decorator with the specified { @ code parameter } . */
@ Override public Function < Service < HttpRequest , HttpResponse > , ? extends Service < HttpRequest , HttpResponse > > newDecorator ( RateLimitingDecorator parameter ) { } } | return ThrottlingHttpService . newDecorator ( new RateLimitingThrottlingStrategy < > ( parameter . value ( ) , DefaultValues . isSpecified ( parameter . name ( ) ) ? parameter . name ( ) : null ) ) ; |
public class LazyCanvasResizer { /** * React to a component resize event . */
@ Override public void componentResized ( ComponentEvent e ) { } } | if ( e . getComponent ( ) == component ) { double newRatio = getCurrentRatio ( ) ; if ( Math . abs ( newRatio - activeRatio ) > threshold ) { activeRatio = newRatio ; executeResize ( newRatio ) ; } } |
public class DefaultGroovyMethods { /** * Sorts all array members into groups determined by the supplied mapping closure .
* The closure should return the key that this item should be grouped by . The returned
* LinkedHashMap will have an entry for each distinct key returned from the closure ,
* with each value b... | return groupBy ( ( Iterable < T > ) Arrays . asList ( self ) , closure ) ; |
public class CmsPropertyTable { /** * Filters the table according to given search string . < p >
* @ param search string to be looked for . */
public void filterTable ( String search ) { } } | m_container . removeAllContainerFilters ( ) ; if ( CmsStringUtil . isNotEmptyOrWhitespaceOnly ( search ) ) { m_container . addContainerFilter ( new Or ( new SimpleStringFilter ( TableColumn . Name , search , true , false ) ) ) ; } |
public class ByteArrayWrapper { /** * Ensure that the internal byte array is at least of length capacity .
* If the byte array is null or its length is less than capacity , a new
* byte array of length capacity will be allocated .
* The contents of the array ( between 0 and size ) remain unchanged .
* @ param c... | if ( bytes == null || bytes . length < capacity ) { byte [ ] newbytes = new byte [ capacity ] ; if ( bytes != null ) { copyBytes ( bytes , 0 , newbytes , 0 , size ) ; } bytes = newbytes ; } return this ; |
public class GridFTPClient { /** * Sets the checksum values ahead of the transfer
* @ param algorithm the checksume algorithm
* @ param value the checksum value as hexadecimal number
* @ exception ServerException if an error occured . */
public void setChecksum ( ChecksumAlgorithm algorithm , String value ) throw... | String arguments = algorithm . toFtpCmdArgument ( ) + " " + value ; Command cmd = new Command ( "SCKS" , arguments ) ; try { controlChannel . execute ( cmd ) ; } catch ( UnexpectedReplyCodeException urce ) { throw ServerException . embedUnexpectedReplyCodeException ( urce ) ; } catch ( FTPReplyParseException rpe ) { th... |
public class SimpleHadoopFilesystemConfigStore { /** * A helper to resolve System properties and Environment variables in includes paths
* The method loads the list of unresolved < code > includes < / code > into an in - memory { @ link Config } object and reolves
* with a fallback on { @ link ConfigFactory # defau... | // Create a TypeSafe Config object with Key INCLUDES _ KEY _ NAME and value an array of includes
StringBuilder includesBuilder = new StringBuilder ( ) ; for ( String include : includes ) { // Skip comments
if ( StringUtils . isNotBlank ( include ) && ! StringUtils . startsWith ( include , "#" ) ) { includesBuilder . ap... |
public class CommonRangeBoundaries { /** * Search the range index of input record . */
private int binarySearch ( T record ) { } } | int low = 0 ; int high = this . boundaries . length - 1 ; typeComparator . extractKeys ( record , keys , 0 ) ; while ( low <= high ) { final int mid = ( low + high ) >>> 1 ; final int result = compareKeys ( flatComparators , keys , this . boundaries [ mid ] ) ; if ( result > 0 ) { low = mid + 1 ; } else if ( result < 0... |
public class MtasSolrCollectionCache { /** * Verify .
* @ param version the version
* @ param time the time
* @ return true , if successful */
private boolean verify ( String version , Long time ) { } } | if ( versionToItem . containsKey ( version ) ) { Path path = collectionCachePath . resolve ( version ) ; File file = path . toFile ( ) ; if ( file . exists ( ) && file . canRead ( ) && file . canWrite ( ) ) { if ( time != null ) { if ( ! file . setLastModified ( time ) ) { log . debug ( "couldn't change filetime " + fi... |
public class ThirdPartyAudienceSegment { /** * Sets the licenseType value for this ThirdPartyAudienceSegment .
* @ param licenseType * Specifies the license type of the external segment . This attribute
* is read - only . */
public void setLicenseType ( com . google . api . ads . admanager . axis . v201811 . Licens... | this . licenseType = licenseType ; |
public class Completable { /** * < strong > This method requires advanced knowledge about building operators , please consider
* other standard composition methods first ; < / strong >
* Returns a { @ code Completable } which , when subscribed to , invokes the { @ link CompletableOperator # apply ( CompletableObser... | ObjectHelper . requireNonNull ( onLift , "onLift is null" ) ; return RxJavaPlugins . onAssembly ( new CompletableLift ( this , onLift ) ) ; |
public class ApiOvhTelephony { /** * Reinitialize the phone configuration
* REST : POST / telephony / { billingAccount } / line / { serviceName } / phone / resetConfig
* @ param ip [ required ] The public ip phone allowed for reset
* @ param billingAccount [ required ] The name of your billingAccount
* @ param ... | String qPath = "/telephony/{billingAccount}/line/{serviceName}/phone/resetConfig" ; StringBuilder sb = path ( qPath , billingAccount , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ip" , ip ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return ... |
public class AgentRegistrationInformationsInner { /** * Regenerate a primary or secondary agent registration key .
* @ param resourceGroupName Name of an Azure Resource group .
* @ param automationAccountName The name of the automation account .
* @ param parameters The name of the agent registration key to be re... | return ServiceFuture . fromResponse ( regenerateKeyWithServiceResponseAsync ( resourceGroupName , automationAccountName , parameters ) , serviceCallback ) ; |
public class StreamTransactionMetadataTasks { /** * Initializes stream writers for commit and abort streams .
* This method should be called immediately after creating StreamTransactionMetadataTasks object .
* @ param clientFactory Client factory reference .
* @ param config Controller event processor configurati... | if ( ! commitWriterFuture . isDone ( ) ) { commitWriterFuture . complete ( clientFactory . createEventWriter ( config . getCommitStreamName ( ) , ControllerEventProcessors . COMMIT_EVENT_SERIALIZER , EventWriterConfig . builder ( ) . build ( ) ) ) ; } if ( ! abortWriterFuture . isDone ( ) ) { abortWriterFuture . comple... |
public class ClassUtil { /** * Returns an immutable entity property name List by the specified class .
* @ param cls
* @ return */
public static List < String > getPropNameList ( final Class < ? > cls ) { } } | List < String > propNameList = entityDeclaredPropNameListPool . get ( cls ) ; if ( propNameList == null ) { loadPropGetSetMethodList ( cls ) ; propNameList = entityDeclaredPropNameListPool . get ( cls ) ; } return propNameList ; |
public class AnonymousOdsDocument { /** * Create a new anonymous ODS document .
* @ param logger the logger
* @ param xmlUtil a util for XML writing
* @ param odsElements the ods elements ( file entries in zip archive ) */
static AnonymousOdsDocument create ( final Logger logger , final XMLUtil xmlUtil , final Od... | return new AnonymousOdsDocument ( logger , xmlUtil , odsElements , new CommonOdsDocument ( odsElements ) ) ; |
public class druidGParser { /** * druidG . g : 71:1 : deleteStmnt returns [ DeleteMeta dMeta ] : DELETE WS FROM WS ( id = ID WS ) WHERE WS i = intervalClause ; */
public final DeleteMeta deleteStmnt ( ) throws RecognitionException { } } | DeleteMeta dMeta = null ; Token id = null ; List < Interval > i = null ; dMeta = new DeleteMeta ( ) ; try { // druidG . g : 73:2 : ( DELETE WS FROM WS ( id = ID WS ) WHERE WS i = intervalClause )
// druidG . g : 73:3 : DELETE WS FROM WS ( id = ID WS ) WHERE WS i = intervalClause
{ match ( input , DELETE , FOLLOW_DELETE... |
public class BuildsInner { /** * Patch the build properties .
* @ param resourceGroupName The name of the resource group to which the container registry belongs .
* @ param registryName The name of the container registry .
* @ param buildId The build ID .
* @ throws IllegalArgumentException thrown if parameters... | return beginUpdateWithServiceResponseAsync ( resourceGroupName , registryName , buildId ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class StreamEx { /** * Returns a new { @ code StreamEx } of { @ code int [ ] } arrays containing all the possible combinations of length { @ code
* k } consisting of numbers from 0 to { @ code n - 1 } in lexicographic order .
* Example : { @ code StreamEx . ofCombinations ( 3 , 2 ) } returns the stream of th... | checkNonNegative ( "k" , k ) ; checkNonNegative ( "n" , n ) ; if ( k > n ) { return StreamEx . empty ( ) ; } if ( k == 0 ) { return StreamEx . of ( new int [ 0 ] ) ; } long size = CombinationSpliterator . cnk ( n , k ) ; int [ ] value = new int [ k ] ; for ( int i = 0 ; i < k ; i ++ ) { value [ i ] = i ; } return Strea... |
public class UniqueKeyRangeManager { /** * Request an immediate update to the persistent state
* @ param generator to be updated
* @ return the value that was stored prior to the update
* @ throws PersistenceException */
public long updateEntry ( UniqueKeyGenerator generator ) throws PersistenceException { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "updateEntry" , "GeneratorName=" + generator . getName ( ) ) ; long currentLimit = 0L ; // Do we know of this generator ?
if ( _generators . containsKey ( generator . getName ( ) ) ) { Transaction transaction = null ; try { ... |
public class BRGImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public boolean eIsSet ( int featureID ) { } } | switch ( featureID ) { case AfplibPackage . BRG__RGRP_NAME : return RGRP_NAME_EDEFAULT == null ? rGrpName != null : ! RGRP_NAME_EDEFAULT . equals ( rGrpName ) ; case AfplibPackage . BRG__TRIPLETS : return triplets != null && ! triplets . isEmpty ( ) ; } return super . eIsSet ( featureID ) ; |
public class Inflector { /** * Returns a copy of the input with the first character converted to uppercase and the remainder to lowercase .
* @ param words the word to be capitalized
* @ return the string with the first character capitalized and the remaining characters lowercased */
public String capitalize ( Stri... | if ( words == null ) return null ; String result = words . trim ( ) ; if ( result . length ( ) == 0 ) return "" ; if ( result . length ( ) == 1 ) return result . toUpperCase ( ) ; return "" + Character . toUpperCase ( result . charAt ( 0 ) ) + result . substring ( 1 ) . toLowerCase ( ) ; |
public class NetworkMessageEntity { /** * Add an action .
* @ param element The action type .
* @ param value The action value . */
public void addAction ( M element , double value ) { } } | actions . put ( element , Double . valueOf ( value ) ) ; |
public class REWildcardStringParser { /** * Converts wildcard string mask to regular expression .
* This method should reside in som utility class , but I don ' t know how proprietary the regular expression format is . . .
* @ return the corresponding regular expression or { @ code null } if an error occurred . */
... | if ( pWildcardExpression == null ) { if ( mDebugging ) { out . println ( DebugUtil . getPrefixDebugMessage ( this ) + "wildcard expression is null - also returning null as regexp!" ) ; } return null ; } StringBuilder regexpBuffer = new StringBuilder ( ) ; boolean convertingError = false ; for ( int i = 0 ; i < pWildcar... |
public class Oracle9iLobHandler { /** * Frees the temporary LOBs when an exception is raised in the application
* or when the LOBs are no longer needed . If the LOBs are not freed , the
* space used by these LOBs are not reclaimed .
* @ param clob CLOB - wrapper to free or null
* @ param blob BLOB - wrapper to ... | try { if ( clob != null ) { // If the CLOB is open , close it
if ( clob . isOpen ( ) ) { clob . close ( ) ; } // Free the memory used by this CLOB
clob . freeTemporary ( ) ; } if ( blob != null ) { // If the BLOB is open , close it
if ( blob . isOpen ( ) ) { blob . close ( ) ; } // Free the memory used by this BLOB
blo... |
public class AbstractFacetAndHighlightQueryDecorator { /** * ( non - Javadoc )
* @ see org . springframework . data . solr . core . query . HighlightQuery # setHighlightOptions ( org . springframework . data . solr . core . query . HighlightOptions ) */
@ Override public < T extends SolrDataQuery > T setHighlightOpti... | return query . setHighlightOptions ( highlightOptions ) ; |
public class StringUtil { /** * Get the item after one char delim if the delim is found ( else null ) .
* This operation is a simplified and optimized
* version of { @ link String # split ( String , int ) } . */
public static String substringAfter ( String value , char delim ) { } } | int pos = value . indexOf ( delim ) ; if ( pos >= 0 ) { return value . substring ( pos + 1 ) ; } return null ; |
public class DefaultDOManager { /** * Update the registry and deployment cache to reflect the latest state of
* reality .
* @ param obj
* DOReader of a service deployment object */
private synchronized void updateDeploymentMap ( DigitalObject obj , Connection c , boolean isPurge ) throws SQLException { } } | String sDep = obj . getPid ( ) ; Set < RelationshipTuple > sDefs = obj . getRelationships ( Constants . MODEL . IS_DEPLOYMENT_OF , null ) ; Set < RelationshipTuple > models = obj . getRelationships ( Constants . MODEL . IS_CONTRACTOR_OF , null ) ; /* Read in the new deployment map from the object */
Set < ServiceContex... |
public class HTTP { /** * Pushes request data to the open http connection
* @ param connection - the open connection of the http call
* @ param request - the parameters to be passed to the endpoint for the service
* call */
private void writeJsonDataRequest ( HttpURLConnection connection , Request request ) { } } | try ( OutputStreamWriter wr = new OutputStreamWriter ( connection . getOutputStream ( ) ) ) { wr . write ( request . getJsonPayload ( ) . toString ( ) ) ; wr . flush ( ) ; } catch ( IOException e ) { log . error ( e ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.