signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class SmartCache { /** * Add a new value to the cache . The value will expire in accordance with the cache ' s expiration * timeout value which was set when the cache was created . * @ param key the key , typically a String * @ param value the value * @ return the previous value of the specified key in t...
ValueWrapper valueWrapper = new ValueWrapper ( value ) ; return super . put ( key , valueWrapper ) ;
public class Heritrix3Wrapper { /** * Creates a new job and initialises it with the default cxml file which must be modified before launch . * @ param jobname name of the new job * @ return engine state and a list of registered jobs */ public EngineResult createNewJob ( String jobname ) { } }
HttpPost postRequest = new HttpPost ( baseUrl ) ; List < NameValuePair > nvp = new LinkedList < NameValuePair > ( ) ; nvp . add ( new BasicNameValuePair ( "action" , "create" ) ) ; nvp . add ( new BasicNameValuePair ( "createpath" , jobname ) ) ; StringEntity postEntity = null ; try { postEntity = new UrlEncodedFormEnt...
public class EntryStream { /** * Return a new { @ link EntryStream } containing all the nodes of tree - like * data structure in entry values along with the corresponding tree depths * in entry keys , in depth - first order . * The keys of the returned stream are non - negative integer numbers . 0 is * used for...
TreeSpliterator < T , Entry < Integer , T > > spliterator = new TreeSpliterator . Depth < > ( root , mapper ) ; return new EntryStream < > ( spliterator , StreamContext . SEQUENTIAL . onClose ( spliterator :: close ) ) ;
public class SofaRegistry { /** * 添加额外的属性 * @ param subscriberRegistration 注册或者订阅对象 * @ param group 分组 */ private void addAttributes ( SubscriberRegistration subscriberRegistration , String group ) { } }
// if group = = null ; group = " DEFAULT _ GROUP " if ( StringUtils . isNotEmpty ( group ) ) { subscriberRegistration . setGroup ( group ) ; } subscriberRegistration . setScopeEnum ( ScopeEnum . global ) ;
public class LocalDateTime { /** * Compares this date - time to another date - time . * The comparison is primarily based on the date - time , from earliest to latest . * It is " consistent with equals " , as defined by { @ link Comparable } . * If all the date - times being compared are instances of { @ code Loc...
if ( other instanceof LocalDateTime ) { return compareTo0 ( ( LocalDateTime ) other ) ; } return super . compareTo ( other ) ;
public class BMOImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ @ Override public boolean eIsSet ( int featureID ) { } }
switch ( featureID ) { case AfplibPackage . BMO__OVLY_NAME : return OVLY_NAME_EDEFAULT == null ? ovlyName != null : ! OVLY_NAME_EDEFAULT . equals ( ovlyName ) ; case AfplibPackage . BMO__TRIPLETS : return triplets != null && ! triplets . isEmpty ( ) ; } return super . eIsSet ( featureID ) ;
public class ChainingXmlWriter { /** * Registers the data type of a non - standard parameter . Non - standard * parameters use the " unknown " data type by default . * @ param parameterName the parameter name ( e . g . " x - foo " ) * @ param dataType the data type * @ return this */ public ChainingXmlWriter re...
parameterDataTypes . put ( parameterName , dataType ) ; return this ;
public class HarFileSystem { /** * this method returns the path * inside the har filesystem . * this is relative path inside * the har filesystem . * @ param path the fully qualified path in the har filesystem . * @ return relative path in the filesystem . */ public Path getPathInHar ( Path path ) { } }
Path harPath = new Path ( path . toUri ( ) . getPath ( ) ) ; if ( archivePath . compareTo ( harPath ) == 0 ) return new Path ( Path . SEPARATOR ) ; Path tmp = new Path ( harPath . getName ( ) ) ; Path parent = harPath . getParent ( ) ; while ( ! ( parent . compareTo ( archivePath ) == 0 ) ) { if ( parent . toString ( )...
public class SetUtils { /** * Generates a new Powerset out of the given set . * @ param < T > * Type of set elements * @ param hashSet * Underlying set of elements * @ return Powerset of < code > set < / code > */ public static < T > PowerSet < T > getPowerSet ( Set < T > hashSet ) { } }
Validate . notNull ( hashSet ) ; if ( hashSet . isEmpty ( ) ) throw new IllegalArgumentException ( "set size 0" ) ; HashList < T > hashList = new HashList < > ( hashSet ) ; PowerSet < T > result = new PowerSet < > ( hashList . size ( ) ) ; for ( int i = 0 ; i < Math . pow ( 2 , hashList . size ( ) ) ; i ++ ) { int setS...
public class CPRulePersistenceImpl { /** * Caches the cp rule in the entity cache if it is enabled . * @ param cpRule the cp rule */ @ Override public void cacheResult ( CPRule cpRule ) { } }
entityCache . putResult ( CPRuleModelImpl . ENTITY_CACHE_ENABLED , CPRuleImpl . class , cpRule . getPrimaryKey ( ) , cpRule ) ; cpRule . resetOriginalValues ( ) ;
public class CodeGenBase { /** * Unregistration of the { @ link # irObserver } . */ @ Override public void unregisterIrObs ( IREventObserver obs ) { } }
if ( obs != null && irObserver == obs ) { irObserver = null ; }
public class DefaultGroovyMethods { /** * Sorts the given iterator items using the comparator . The * original iterator will become exhausted of elements after completing this method call . * A new iterator is produced that traverses the items in sorted order . * @ param self the Iterator to be sorted * @ param...
return toSorted ( toList ( self ) , comparator ) . listIterator ( ) ;
public class ResourceHandler { /** * < p class = " changed _ added _ 2_2 " > Return { @ code true } if the argument { @ code url } * contains the string given by the value of the constant * { @ link ResourceHandler # RESOURCE _ IDENTIFIER } , false otherwise . < / p > * @ param url the url to inspect for the pres...
boolean result = false ; if ( null == url ) { throw new NullPointerException ( "null url" ) ; } result = url . contains ( ResourceHandler . RESOURCE_IDENTIFIER ) ; return result ;
public class FTPClient { /** * Renames remote directory . */ public void rename ( String oldName , String newName ) throws IOException , ServerException { } }
if ( oldName == null || newName == null ) { throw new IllegalArgumentException ( "Required argument missing" ) ; } Command cmd = new Command ( "RNFR" , oldName ) ; try { Reply reply = controlChannel . exchange ( cmd ) ; if ( ! Reply . isPositiveIntermediate ( reply ) ) { throw new UnexpectedReplyCodeException ( reply )...
public class SpatialViewQuery { /** * Proactively load the full document for the row returned . * This only works if reduce is false , since with reduce the original document ID is not included anymore . * @ param includeDocs if it should be enabled or not . * @ param target the custom document type target . * ...
this . includeDocs = includeDocs ; this . includeDocsTarget = target ; return this ;
public class Job { /** * Trigger a parameterized build with file parameters * @ param params the job parameters * @ param fileParams the job file parameters * @ return { @ link QueueReference } for further analysis of the queued build . * @ throws IOException in case of an error . */ public QueueReference build...
return build ( params , fileParams , false ) ;
public class AWS3Signer { /** * Signs the specified request with the AWS3 signing protocol by using the * AWS account credentials specified when this object was constructed and * adding the required AWS3 headers to the request . * @ param request * The request to sign . */ @ Override public void sign ( Signable...
// annonymous credentials , don ' t sign if ( credentials instanceof AnonymousAWSCredentials ) { return ; } AWSCredentials sanitizedCredentials = sanitizeCredentials ( credentials ) ; SigningAlgorithm algorithm = SigningAlgorithm . HmacSHA256 ; String nonce = UUID . randomUUID ( ) . toString ( ) ; int timeOffset = requ...
public class AsyncSocketChannelHelper { /** * Create the delayed timeout work item for this request . * @ param future * @ param delay * @ param isRead */ private void createTimeout ( IAbstractAsyncFuture future , long delay , boolean isRead ) { } }
if ( AsyncProperties . disableTimeouts ) { return ; } // create the timeout time , while not holding the lock long timeoutTime = ( System . currentTimeMillis ( ) + delay + Timer . timeoutRoundup ) & Timer . timeoutResolution ; synchronized ( future . getCompletedSemaphore ( ) ) { // make sure it didn ' t complete while...
public class NodeSet { /** * Add the node into a vector of nodes where it should occur in * document order . * @ param node The node to be added . * @ param support The XPath runtime context . * @ return The index where it was inserted . * @ throws RuntimeException thrown if this NodeSet is not of * a mutab...
if ( ! m_mutable ) throw new RuntimeException ( XSLMessages . createXPATHMessage ( XPATHErrorResources . ER_NODESET_NOT_MUTABLE , null ) ) ; // " This NodeSet is not mutable ! " ) ; return addNodeInDocOrder ( node , true , support ) ;
public class AnnotationConstraintValidator { /** * This method ensures that any control property value assignment satisfies * all property constraints . This method should be called by control * property setters to ensure values assigned to properties at runtime are * validated . * @ param key * The property ...
validate ( key . getAnnotations ( ) , value ) ;
public class SharedByteArray { /** * Responds to memory pressure by simply ' discarding ' the local byte array if it is not used * at the moment . * @ param trimType kind of trimming to perform ( ignored ) */ @ Override public void trim ( MemoryTrimType trimType ) { } }
if ( ! mSemaphore . tryAcquire ( ) ) { return ; } try { mByteArraySoftRef . clear ( ) ; } finally { mSemaphore . release ( ) ; }
public class FctBnAccEntitiesProcessors { /** * < p > Get purchase return good line utility . < / p > * @ param pAddParam additional param * @ return purchase return good line utility * @ throws Exception - an exception */ protected final UtlInvLine < RS , PurchaseReturn , PurchaseReturnLine , PurchaseReturnTaxLi...
UtlInvLine < RS , PurchaseReturn , PurchaseReturnLine , PurchaseReturnTaxLine , PurchaseReturnGoodsTaxLine > utlInvLn = this . utlPurRetGdLn ; if ( utlInvLn == null ) { utlInvLn = new UtlInvLine < RS , PurchaseReturn , PurchaseReturnLine , PurchaseReturnTaxLine , PurchaseReturnGoodsTaxLine > ( ) ; utlInvLn . setUtlInvB...
public class TunnelingFeature { /** * Creates a new tunneling feature - response service . * @ param channelId tunneling connection channel identifier * @ param seq tunneling connection send sequence number * @ param featureId interface feature to respond to * @ param result result of processing the correspondi...
return new TunnelingFeature ( KNXnetIPHeader . TunnelingFeatureResponse , channelId , seq , featureId , result , featureValue ) ;
public class TasksImpl { /** * Adds a task to the specified job . * The maximum lifetime of a task from addition to completion is 180 days . If a task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time . * @ param jobId The I...
if ( this . client . batchUrl ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.batchUrl() is required and cannot be null." ) ; } if ( jobId == null ) { throw new IllegalArgumentException ( "Parameter jobId is required and cannot be null." ) ; } if ( task == null ) { throw new IllegalArgumentE...
public class CreateAliasRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( CreateAliasRequest createAliasRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( createAliasRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createAliasRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( createAliasRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshall...
public class VdmUILabelProvider { /** * ( non - Javadoc ) * @ see ILabelProvider # getText */ public String getText ( Object element ) { } }
String result = VdmElementLabels . getTextLabel ( element , evaluateTextFlags ( element ) ) ; // if ( result . length ( ) = = 0 & & ( element instanceof IStorage ) ) { // result = fStorageLabelProvider . getText ( element ) ; return decorateText ( result , element ) ;
public class GroovyScript2RestLoader { /** * Remove node that contains groovy script . * @ param repository repository name * @ param workspace workspace name * @ param path JCR path to node that contains script * @ LevelAPI Provisional */ @ POST @ Path ( "delete/{repository}/{workspace}/{path:.*}" ) public Res...
Session ses = null ; try { ses = sessionProviderService . getSessionProvider ( null ) . getSession ( workspace , repositoryService . getRepository ( repository ) ) ; ses . getItem ( "/" + path ) . remove ( ) ; ses . save ( ) ; return Response . status ( Response . Status . NO_CONTENT ) . build ( ) ; } catch ( PathNotFo...
public class CustomDictionary { /** * 热更新 ( 重新加载 ) < br > * 集群环境 ( 或其他IOAdapter ) 需要自行删除缓存文件 ( 路径 = HanLP . Config . CustomDictionaryPath [ 0 ] + Predefine . BIN _ EXT ) * @ return 是否加载成功 */ public static boolean reload ( ) { } }
String path [ ] = HanLP . Config . CustomDictionaryPath ; if ( path == null || path . length == 0 ) return false ; IOUtil . deleteFile ( path [ 0 ] + Predefine . BIN_EXT ) ; // 删掉缓存 return loadMainDictionary ( path [ 0 ] ) ;
public class CertificateValidatorBuilder { /** * Builds an Openssl - style certificate validator configured as specified in * the parameters * @ param trustAnchorsDir * the directory where trust anchors are loaded from * @ param validationErrorListener * the listener that will receive notification about valid...
CertificateValidatorBuilder builder = new CertificateValidatorBuilder ( ) ; return builder . trustAnchorsDir ( trustAnchorsDir ) . validationErrorListener ( validationErrorListener ) . storeUpdateListener ( storeUpdateListener ) . trustAnchorsUpdateInterval ( updateInterval ) . namespaceChecks ( namespaceChecks ) . crl...
public class PhoenixReader { /** * For a given activity , retrieve a map of the activity code values which have been assigned to it . * @ param activity target activity * @ return map of activity code value UUIDs */ Map < UUID , UUID > getActivityCodes ( Activity activity ) { } }
Map < UUID , UUID > map = m_activityCodeCache . get ( activity ) ; if ( map == null ) { map = new HashMap < UUID , UUID > ( ) ; m_activityCodeCache . put ( activity , map ) ; for ( CodeAssignment ca : activity . getCodeAssignment ( ) ) { UUID code = getUUID ( ca . getCodeUuid ( ) , ca . getCode ( ) ) ; UUID value = get...
public class XFunctionTypeRefImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ public JvmType getType ( ) { } }
if ( type != null && type . eIsProxy ( ) ) { InternalEObject oldType = ( InternalEObject ) type ; type = ( JvmType ) eResolveProxy ( oldType ) ; if ( type != oldType ) { if ( eNotificationRequired ( ) ) eNotify ( new ENotificationImpl ( this , Notification . RESOLVE , XtypePackage . XFUNCTION_TYPE_REF__TYPE , oldType ,...
public class BasePanel { /** * Process the " Add " toolbar command . * @ return true If command was handled */ public boolean onAdd ( ) { } }
Record record = this . getMainRecord ( ) ; if ( record == null ) return false ; try { if ( record . isModified ( false ) ) { if ( record . getEditMode ( ) == Constants . EDIT_IN_PROGRESS ) record . set ( ) ; else if ( record . getEditMode ( ) == Constants . EDIT_ADD ) record . add ( ) ; } record . addNew ( ) ; this . c...
public class ScanningQueryEngine { /** * Create a node sequence for the given source . * @ param originalQuery the original query command ; may not be null * @ param context the context in which the query is to be executed ; may not be null * @ param sourceNode the { @ link Type # SOURCE } plan node for one part ...
// The indexes should already be in the correct order , from lowest cost to highest cost . . . for ( PlanNode indexNode : sourceNode . getChildren ( ) ) { if ( indexNode . getType ( ) != Type . INDEX ) continue ; IndexPlan index = indexNode . getProperty ( Property . INDEX_SPECIFICATION , IndexPlan . class ) ; NodeSequ...
public class ArraysUtil { /** * Concatenate the arrays . * @ param array First array . * @ param array2 Second array . * @ return Concatenate between first and second array . */ public static int [ ] Concatenate ( int [ ] array , int [ ] array2 ) { } }
int [ ] all = new int [ array . length + array2 . length ] ; int idx = 0 ; // First array for ( int i = 0 ; i < array . length ; i ++ ) all [ idx ++ ] = array [ i ] ; // Second array for ( int i = 0 ; i < array2 . length ; i ++ ) all [ idx ++ ] = array2 [ i ] ; return all ;
public class TombstoneImpl { /** * Check if the node has a fedora : tombstone mixin * @ param node the node * @ return true if the node has the fedora object mixin */ public static boolean hasMixin ( final Node node ) { } }
try { return node . isNodeType ( FEDORA_TOMBSTONE ) ; } catch ( final RepositoryException e ) { throw new RepositoryRuntimeException ( e ) ; }
public class WebAppMonitorListener { /** * 19@539186A */ public void checkAppCounters ( ) { } }
if ( appPmiState != APP_PMI_WEB ) { synchronized ( this ) { if ( appPmiState != APP_PMI_WEB ) { appPmi = new WebAppModule ( getAppName ( ) , true ) ; appPmiState = APP_PMI_WEB ; } } }
public class Matrix4f { /** * / * ( non - Javadoc ) * @ see org . joml . Matrix4fc # normalize3x3 ( org . joml . Matrix4f ) */ public Matrix4f normalize3x3 ( Matrix4f dest ) { } }
float invXlen = ( float ) ( 1.0 / Math . sqrt ( m00 * m00 + m01 * m01 + m02 * m02 ) ) ; float invYlen = ( float ) ( 1.0 / Math . sqrt ( m10 * m10 + m11 * m11 + m12 * m12 ) ) ; float invZlen = ( float ) ( 1.0 / Math . sqrt ( m20 * m20 + m21 * m21 + m22 * m22 ) ) ; dest . _m00 ( m00 * invXlen ) ; dest . _m01 ( m01 * invX...
public class StorageSnippets { /** * Example of how to generate a GET V4 Signed URL */ public URL generateV4GetObjectSignedUrl ( String bucketName , String objectName ) throws StorageException { } }
// [ START storage _ generate _ signed _ url _ v4] // Instantiate a Google Cloud Storage client Storage storage = StorageOptions . getDefaultInstance ( ) . getService ( ) ; // The name of a bucket , e . g . " my - bucket " // String bucketName = " my - bucket " ; // The name of an object , e . g . " my - object " // St...
public class BaseCheckBox { /** * < b > Affected Elements : < / b > * < ul > * < li > - label = label next to checkbox . < / li > * < / ul > * @ see UIObject # onEnsureDebugId ( String ) */ @ Override protected void onEnsureDebugId ( String baseID ) { } }
super . onEnsureDebugId ( baseID ) ; ensureDebugId ( labelElem , baseID , "label" ) ; ensureDebugId ( inputElem , baseID , "input" ) ; labelElem . setHtmlFor ( inputElem . getId ( ) ) ;
public class FileLogHolder { /** * This method will get an instance of TraceComponent * @ return */ private static TraceComponent getTc ( ) { } }
if ( tc == null ) { tc = Tr . register ( FileLogHolder . class , null , "com.ibm.ws.logging.internal.resources.LoggingMessages" ) ; } return tc ;
public class MtasSpanNotSpans { /** * Go to next doc . * @ return true , if successful * @ throws IOException Signals that an I / O exception has occurred . */ private boolean goToNextDoc ( ) throws IOException { } }
if ( docId == NO_MORE_DOCS ) { return true ; } else { docId = spans1 . spans . nextDoc ( ) ; if ( docId == NO_MORE_DOCS ) { return true ; } else { int spans2DocId = spans2 . spans . docID ( ) ; if ( spans2DocId < docId ) { spans2DocId = spans2 . spans . advance ( docId ) ; } if ( docId != spans2DocId ) { return spans1 ...
public class TextureAtlas { /** * Sets the image data of the provided { @ link Texture } with the image data found in this { @ link TextureAtlas } . This should be called after all textures have been added to the { @ link * TextureAtlas } . * @ param texture Texture to set image data */ public void attachTo ( Textu...
final int width = image . getWidth ( ) ; final int height = image . getHeight ( ) ; texture . setImageData ( CausticUtil . getImageData ( image , Format . RGBA ) , width , height ) ;
public class MessageToast { /** * Adds new link label below toast message . * @ param text link label text * @ param labelListener will be called upon label click . Note that toast won ' t be closed automatically so { @ link Toast # fadeOut ( ) } * must be called */ public void addLinkLabel ( String text , LinkLa...
LinkLabel label = new LinkLabel ( text ) ; label . setListener ( labelListener ) ; linkLabelTable . add ( label ) . spaceRight ( 12 ) ;
public class TextUtil { /** * Format the given double value . * @ param amount the value to convert . * @ param decimalCount is the maximal count of decimal to put in the string . * @ return a string representation of the given value . */ @ Pure public static String formatDouble ( double amount , int decimalCount...
final int dc = ( decimalCount < 0 ) ? 0 : decimalCount ; final StringBuilder str = new StringBuilder ( "#0" ) ; // $ NON - NLS - 1 $ if ( dc > 0 ) { str . append ( '.' ) ; for ( int i = 0 ; i < dc ; ++ i ) { str . append ( '0' ) ; } } final DecimalFormat fmt = new DecimalFormat ( str . toString ( ) ) ; return fmt . for...
public class SSLWriteServiceContext { /** * Handle common activity of write and writeAsynch involving the encryption of the * current buffers . The caller will have the responsibility of writing them to the * device side channel . * @ return SSLEngineResult * @ throws IOException */ private SSLEngineResult encr...
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { Tr . entry ( tc , "encryptMessage" ) ; } // Get the application buffer used as input to the encryption algorithm . // Extract the app buffers containing data to be written . final WsByteBuffer [ ] appBuffers = getBuffers ( ) ; SSLEngineResult ...
public class Watch { /** * Applies a document add to the document tree . Returns the corresponding DocumentChange event . */ private DocumentChange addDoc ( QueryDocumentSnapshot newDocument ) { } }
ResourcePath resourcePath = newDocument . getReference ( ) . getResourcePath ( ) ; documentSet = documentSet . add ( newDocument ) ; int newIndex = documentSet . indexOf ( resourcePath ) ; return new DocumentChange ( newDocument , Type . ADDED , - 1 , newIndex ) ;
public class ConvertBufferedImage { /** * Converts the buffered image into an { @ link Planar } image of the specified ype . * @ param src Input image . Not modified . * @ param dst Output . The converted image is written to . If null a new unsigned image is created . * @ param orderRgb If applicable , should it ...
if ( src == null ) throw new IllegalArgumentException ( "src is null!" ) ; if ( dst != null ) { dst . reshape ( src . getWidth ( ) , src . getHeight ( ) ) ; } try { WritableRaster raster = src . getRaster ( ) ; int numBands ; if ( ! isKnownByteFormat ( src ) ) numBands = 3 ; else numBands = raster . getNumBands ( ) ; i...
public class TableFunctions { /** * Given 2 fields , if the first is null then return the second field * In the config file use : * fieldName = " func ( IFNULL ( field1 , field2 ) ) " */ private String ifNull ( int rowIndex ) { } }
if ( params . length != 2 ) { throw new IllegalArgumentException ( "Wrong number of Parameters for if null expression" ) ; } final RecordList . Record currentRecord = recordList . getRecords ( ) . get ( rowIndex ) ; final String field1 = currentRecord . getValueByFieldName ( params [ 0 ] ) ; if ( ! field1 . isEmpty ( )...
public class ClaimsUtils { /** * Converts the value for the specified claim into a String list . */ @ FFDCIgnore ( { } }
MalformedClaimException . class } ) private void convertToList ( String claimName , JwtClaims claimsSet ) { List < String > list = null ; try { list = claimsSet . getStringListClaimValue ( claimName ) ; } catch ( MalformedClaimException e ) { try { String value = claimsSet . getStringClaimValue ( claimName ) ; if ( val...
public class TcpSocketServer { /** * Starts the I / O of a socket server . After creation , a socket server does * not accept connections until started . This allows listeners to be * registered between creation and start call . * @ throws IllegalStateException if closed or already started */ public void start ( ...
if ( isClosed ( ) ) throw new IllegalStateException ( "TcpSocketServer is closed" ) ; synchronized ( lock ) { if ( serverSocket != null ) throw new IllegalStateException ( ) ; executors . getUnbounded ( ) . submit ( new Runnable ( ) { @ Override public void run ( ) { try { if ( isClosed ( ) ) throw new SocketException ...
public class AssetServicesImpl { /** * Returns all the assets for the specified package . * Does not use the AssetCache . */ public PackageAssets getAssets ( String packageName , boolean withVcsInfo ) throws ServiceException { } }
try { PackageDir pkgDir = getPackageDir ( packageName ) ; if ( pkgDir == null ) { pkgDir = getGhostPackage ( packageName ) ; if ( pkgDir == null ) throw new DataAccessException ( "Missing package metadata directory: " + packageName ) ; } List < AssetInfo > assets = new ArrayList < > ( ) ; if ( ! DiffType . MISSING . eq...
public class MvpDialogFragment { /** * * Get the mvp delegate . This is internally used for creating presenter , attaching and * detaching view from presenter . * < b > Please note that only one instance of mvp delegate should be used per fragment * instance < / b > . * Only override this method if you really k...
if ( mvpDelegate == null ) { mvpDelegate = new FragmentMvpDelegateImpl < > ( this , this , true , true ) ; } return mvpDelegate ;
public class SQSMessageProducer { /** * Sends a message to a queue . * @ param queue * the queue destination to send this message to * @ param message * the message to send * @ throws InvalidDestinationException * If a client uses this method with a destination other than * SQS queue destination . * @ t...
if ( ! ( queue instanceof SQSQueueDestination ) ) { throw new InvalidDestinationException ( "Incompatible implementation of Queue. Please use SQSQueueDestination implementation." ) ; } checkIfDestinationAlreadySet ( ) ; sendInternal ( ( SQSQueueDestination ) queue , message ) ;
public class ModuleFactory { /** * parse module load config * @ param moduleLoadList alias of all config modules * @ param moduleName the module name * @ return need load */ static boolean needLoad ( String moduleLoadList , String moduleName ) { } }
String [ ] activatedModules = StringUtils . splitWithCommaOrSemicolon ( moduleLoadList ) ; boolean match = false ; for ( String activatedModule : activatedModules ) { if ( StringUtils . ALL . equals ( activatedModule ) ) { match = true ; } else if ( activatedModule . equals ( moduleName ) ) { match = true ; } else if (...
public class NodeIdRepresentation { /** * This method serializes requested resource with an access type . * @ param resource * The requested resource * @ param nodeId * The node id of the requested resource . * @ param revision * The revision of the requested resource . * @ param doNodeId * Specifies wh...
if ( mDatabase . existsResource ( resource ) ) { ISession session = null ; INodeReadTrx rtx = null ; try { session = mDatabase . getSession ( new SessionConfiguration ( resource , StandardSettings . KEY ) ) ; if ( revision == null ) { rtx = new NodeReadTrx ( session . beginBucketRtx ( session . getMostRecentVersion ( )...
public class JMThread { /** * New max queue thread pool executor service . * @ param numWorkerThreads the num worker threads * @ param waitingMillis the waiting millis * @ param maxQueue the max queue * @ return the executor service */ public static ExecutorService newMaxQueueThreadPool ( int numWorkerThreads ,...
return new ThreadPoolExecutor ( numWorkerThreads , numWorkerThreads , 0L , TimeUnit . MILLISECONDS , waitingMillis > 0 ? getWaitingLimitedBlockingQueue ( waitingMillis , maxQueue ) : getLimitedBlockingQueue ( maxQueue ) ) ;
public class Parser { /** * A { @ link Parser } that runs { @ code op } for 0 or more times greedily , then runs { @ code this } . * The { @ link Function } objects returned from { @ code op } are applied from right to left to the * return value of { @ code p } . * < p > { @ code p . prefix ( op ) } is equivalent...
return Parsers . sequence ( op . many ( ) , this , Parser :: applyPrefixOperators ) ;
public class ARGBColorUtil { /** * Gets a color composed of the specified channels . All values must be between 0 and 255 , both inclusive * @ param alpha The alpha channel [ 0-255] * @ param red The red channel [ 0-255] * @ param green The green channel [ 0-255] * @ param blue The blue channel [ 0-255] * @ r...
return ( alpha << ALPHA_SHIFT ) | ( red << RED_SHIFT ) | ( green << GREEN_SHIFT ) | blue ;
public class CreateWSDL11 { /** * AddTypeType Method . */ public void addTypeType ( String version , TTypes TTypes , MessageProcessInfo recMessageProcessInfo ) { } }
// Create the types ( import the OTA specs ) MessageInfo recMessageInfo = this . getMessageIn ( recMessageProcessInfo ) ; if ( recMessageInfo != null ) { String name = this . fixName ( recMessageInfo . getField ( MessageInfo . DESCRIPTION ) . toString ( ) ) ; if ( this . isNewType ( name ) ) { this . addSchema ( versio...
public class MessageFieldUtil { /** * Returns a field converter class name for proto repeated enum field . */ public static String getRepeatedEnumConverterName ( Field field ) { } }
if ( field . isRepeated ( ) ) { return "__" + Formatter . toCamelCase ( field . getName ( ) ) + "Converter" ; } throw new IllegalArgumentException ( field . toString ( ) ) ;
public class RemoteMongoCollectionImpl { /** * Finds a document in the collection and delete it . * @ param filter the query filter * @ param options A RemoteFindOneAndModifyOptions struct * @ return the resulting document */ public DocumentT findOneAndDelete ( final Bson filter , final RemoteFindOneAndModifyOpti...
return proxy . findOneAndDelete ( filter , options ) ;
public class Input { /** * Fills the buffer with at least the number of bytes specified , if possible . * @ param optional Must be > 0. * @ return the number of bytes remaining , but not more than optional , or - 1 if { @ link # fill ( byte [ ] , int , int ) } is unable to * provide more bytes . */ protected int ...
int remaining = limit - position ; if ( remaining >= optional ) return optional ; optional = Math . min ( optional , capacity ) ; int count ; // Try to fill the buffer . count = fill ( buffer , limit , capacity - limit ) ; if ( count == - 1 ) return remaining == 0 ? - 1 : Math . min ( remaining , optional ) ; remaining...
public class AmazonTextractClient { /** * Starts asynchronous analysis of an input document for relationships between detected items such as key and value * pairs , tables , and selection elements . * < code > StartDocumentAnalysis < / code > can analyze text in documents that are in JPG , PNG , and PDF format . Th...
request = beforeClientExecution ( request ) ; return executeStartDocumentAnalysis ( request ) ;
public class BasicStreamReader { /** * Support for SAX XMLReader implementation */ public void fireSaxStartElement ( ContentHandler h , Attributes attrs ) throws SAXException { } }
if ( h != null ) { // First ; any ns declarations ? int nsCount = mElementStack . getCurrentNsCount ( ) ; for ( int i = 0 ; i < nsCount ; ++ i ) { String prefix = mElementStack . getLocalNsPrefix ( i ) ; String uri = mElementStack . getLocalNsURI ( i ) ; h . startPrefixMapping ( ( prefix == null ) ? "" : prefix , uri )...
public class ExcelReader { /** * 增加标题别名 * @ param header 标题 * @ param alias 别名 * @ return this */ public ExcelReader addHeaderAlias ( String header , String alias ) { } }
this . headerAlias . put ( header , alias ) ; return this ;
public class AsyncChannelFuture { /** * Throws the receiver ' s exception in its correct class . * This assumes that the exception is not null . * @ throws InterruptedException * @ throws IOException */ protected void throwException ( ) throws InterruptedException , IOException { } }
if ( this . exception instanceof IOException ) { throw ( IOException ) this . exception ; } if ( this . exception instanceof InterruptedException ) { throw ( InterruptedException ) this . exception ; } if ( this . exception instanceof RuntimeException ) { throw ( RuntimeException ) this . exception ; } throw new Runtim...
public class DatastoreHelper { /** * Gets the project ID from the Compute Engine metadata server . Returns { @ code null } if the * project ID cannot be determined ( because , for instance , the code is not running on Compute * Engine ) . */ @ Nullable public static String getProjectIdFromComputeEngine ( ) { } }
String cachedProjectId = projectIdFromComputeEngine . get ( ) ; return cachedProjectId != null ? cachedProjectId : queryProjectIdFromComputeEngine ( ) ;
public class CmsContentService { /** * Returns the value that has to be set for the dynamic attribute . * @ param file the file where the current content is stored * @ param value the content value that is represented by the attribute * @ param attributeName the attribute ' s name * @ param editedLocalEntity th...
if ( ( null != editedLocalEntity ) && ( editedLocalEntity . getAttribute ( attributeName ) != null ) ) { getSessionCache ( ) . setDynamicValue ( attributeName , editedLocalEntity . getAttribute ( attributeName ) . getSimpleValue ( ) ) ; } String currentValue = getSessionCache ( ) . getDynamicValue ( attributeName ) ; i...
public class AdapterMap { /** * Convert java object to its corresponding PyObject representation . * @ param o Java object * @ return PyObject */ public static PyObject adapt ( Object o ) { } }
if ( o instanceof PyObject ) { return ( PyObject ) o ; } return Py . java2py ( o ) ;
public class ClassFields { /** * Set up the key areas . */ public void setupKeys ( ) { } }
KeyAreaInfo keyArea = null ; keyArea = new KeyAreaInfo ( this , Constants . UNIQUE , ID_KEY ) ; keyArea . addKeyField ( ID , Constants . ASCENDING ) ; keyArea = new KeyAreaInfo ( this , Constants . NOT_UNIQUE , CLASS_INFO_CLASS_NAME_KEY ) ; keyArea . addKeyField ( CLASS_INFO_CLASS_NAME , Constants . ASCENDING ) ; keyAr...
public class ConventionPackageProvider { /** * generator default results by method name * @ param clazz * @ return */ protected List < ResultConfig > buildResultConfigs ( Class < ? > clazz , PackageConfig . Builder pcb ) { } }
List < ResultConfig > configs = CollectUtils . newArrayList ( ) ; // load annotation results Result [ ] results = new Result [ 0 ] ; Results rs = clazz . getAnnotation ( Results . class ) ; if ( null == rs ) { org . beangle . struts2 . annotation . Action an = clazz . getAnnotation ( org . beangle . struts2 . annotatio...
public class UBTree { /** * Returns all supersets of a given set in this UBTree . * @ param set the set to search for * @ return all supersets of the given set */ public Set < SortedSet < T > > allSupersets ( final SortedSet < T > set ) { } }
final Set < SortedSet < T > > supersets = new LinkedHashSet < > ( ) ; allSupersets ( set , this . rootNodes , supersets ) ; return supersets ;
public class InetAddressPredicates { /** * Returns a { @ link Predicate } which returns { @ code true } if the given { @ link InetAddress } equals to * the specified { @ code address } . * @ param address the expected IP address string , e . g . { @ code 10.0.0.1} */ public static Predicate < InetAddress > ofExact ...
requireNonNull ( address , "address" ) ; try { final InetAddress inetAddress = InetAddress . getByName ( address ) ; return ofExact ( inetAddress ) ; } catch ( UnknownHostException e ) { throw new IllegalArgumentException ( "Invalid address: " + address , e ) ; }
public class AWSGreengrassClient { /** * Returns a list of bulk deployments . * @ param listBulkDeploymentsRequest * @ return Result of the ListBulkDeployments operation returned by the service . * @ throws BadRequestException * invalid request * @ sample AWSGreengrass . ListBulkDeployments * @ see < a href...
request = beforeClientExecution ( request ) ; return executeListBulkDeployments ( request ) ;
public class IterableELResolver { /** * Like { @ link ListELResolver } , returns { @ code null } for an illegal index . */ @ Override public Object getValue ( ELContext context , Object base , Object property ) throws NullPointerException , PropertyNotFoundException , ELException { } }
Iterator < ? > pos ; try { pos = seek ( context , base , property ) ; } catch ( PropertyNotFoundException e ) { pos = null ; } return pos == null ? null : pos . next ( ) ;
public class BSHPrimarySuffix { /** * Array index or bracket expression implementation . * @ param obj array or list instance * @ param toLHS whether to return an LHS instance * @ param callstack the evaluation call stack * @ param interpreter the evaluation interpreter * @ return data as per index expression...
"rawtypes" , "unchecked" } ) private Object doIndex ( Object obj , boolean toLHS , CallStack callstack , Interpreter interpreter ) throws EvalError { // Map or Entry index access not applicable to strict java if ( ! interpreter . getStrictJava ( ) ) { // allow index access for maps if ( Types . isPropertyTypeMap ( obj ...
public class BsfUtils { /** * Resolve the search expression * @ param refItem * @ return */ public static String resolveSearchExpressions ( String refItem ) { } }
if ( refItem != null ) { if ( refItem . contains ( "@" ) || refItem . contains ( "*" ) ) { refItem = ExpressionResolver . getComponentIDs ( FacesContext . getCurrentInstance ( ) , FacesContext . getCurrentInstance ( ) . getViewRoot ( ) , refItem ) ; } } return refItem ;
public class VMCommandLine { /** * Run a new VM with the class path of the current VM . * @ param classToLaunch is the class to launch . * @ param additionalParams is the list of additional parameters * @ return the process that is running the new virtual machine , neither < code > null < / code > * @ throws IO...
VMCommandLine . class } , statementExpression = true ) public static Process launchVM ( String classToLaunch , String ... additionalParams ) throws IOException { return launchVMWithClassPath ( classToLaunch , System . getProperty ( "java.class.path" ) , // $ NON - NLS - 1 $ additionalParams ) ;
public class ScriptableObject { /** * Seal this object . * It is an error to add properties to or delete properties from * a sealed object . It is possible to change the value of an * existing property . Once an object is sealed it may not be unsealed . * @ since 1.4R3 */ public void sealObject ( ) { } }
if ( ! isSealed ) { final long stamp = slotMap . readLock ( ) ; try { for ( Slot slot : slotMap ) { Object value = slot . value ; if ( value instanceof LazilyLoadedCtor ) { LazilyLoadedCtor initializer = ( LazilyLoadedCtor ) value ; try { initializer . init ( ) ; } finally { slot . value = initializer . getValue ( ) ; ...
public class CmsStringUtil { /** * Checks if a given name is composed only of the characters < code > a . . . z , A . . . Z , 0 . . . 9 < / code > * and the provided < code > constraints < / code > . < p > * If the check fails , an Exception is generated . The provided bundle and key is * used to generate the Exc...
int l = name . length ( ) ; for ( int i = 0 ; i < l ; i ++ ) { char c = name . charAt ( i ) ; if ( ( ( c < 'a' ) || ( c > 'z' ) ) && ( ( c < '0' ) || ( c > '9' ) ) && ( ( c < 'A' ) || ( c > 'Z' ) ) && ( constraints . indexOf ( c ) < 0 ) ) { throw new CmsIllegalArgumentException ( bundle . container ( key , new Object [...
public class Graph { /** * Creates a graph from a DataSet of edges . * Vertices are created automatically and their values are set to * NullValue . * @ param edges a DataSet of edges . * @ param context the flink execution environment . * @ return the newly created graph . */ public static < K , EV > Graph < ...
DataSet < Vertex < K , NullValue > > vertices = edges . flatMap ( new EmitSrcAndTarget < > ( ) ) . name ( "Source and target IDs" ) . distinct ( ) . name ( "IDs" ) ; return new Graph < > ( vertices , edges , context ) ;
public class SiteMapIndexServlet { /** * Gets all the books that contain at least one accessible view / page combo . * Also provides the last modified time , if known , for the book . */ private static List < Tuple2 < Book , ReadableInstant > > getSitemapBooks ( final ServletContext servletContext , HttpServletReques...
SemanticCMS semanticCMS = SemanticCMS . getInstance ( servletContext ) ; HtmlRenderer htmlRenderer = HtmlRenderer . getInstance ( servletContext ) ; final SortedSet < View > views = htmlRenderer . getViews ( ) ; List < Book > books ; { // Filter published and accessible only Collection < Book > values = semanticCMS . g...
public class RpcLookout { /** * Record the number of calls and time consuming . * @ param mixinMetric MixinMetric * @ param model information model */ private void recordCounterAndTimer ( MixinMetric mixinMetric , RpcAbstractLookoutModel model ) { } }
Counter totalCounter = mixinMetric . counter ( "total_count" ) ; Timer totalTimer = mixinMetric . timer ( "total_time" ) ; Long elapsedTime = model . getElapsedTime ( ) ; totalCounter . inc ( ) ; if ( elapsedTime != null ) { totalTimer . record ( elapsedTime , TimeUnit . MILLISECONDS ) ; } if ( ! model . getSuccess ( )...
public class SqlTableAlert { /** * / * ( non - Javadoc ) * @ see org . parosproxy . paros . db . paros . TableAlert # read ( int ) */ @ Override public synchronized RecordAlert read ( int alertId ) throws DatabaseException { } }
SqlPreparedStatementWrapper psRead = null ; try { psRead = DbSQL . getSingleton ( ) . getPreparedStatement ( "alert.ps.read" ) ; psRead . getPs ( ) . setInt ( 1 , alertId ) ; try ( ResultSet rs = psRead . getPs ( ) . executeQuery ( ) ) { return build ( rs ) ; } } catch ( Exception e ) { throw new DatabaseException ( e ...
public class ReviewsImpl { /** * Get the Job Details for a Job Id . * @ param teamName Your Team Name . * @ param jobId Id of the job . * @ throws IllegalArgumentException thrown if parameters fail the validation * @ throws APIErrorException thrown if the request is rejected by server * @ throws RuntimeExcept...
return getJobDetailsWithServiceResponseAsync ( teamName , jobId ) . toBlocking ( ) . single ( ) . body ( ) ;
public class FluentWebElements { /** * These are as they would be in the WebElement API */ public FluentWebElements sendKeys ( final CharSequence ... keysToSend ) { } }
Context ctx = Context . singular ( context , "sendKeys" , charSeqArrayAsHumanString ( keysToSend ) ) ; executeAndWrapReThrowIfNeeded ( new SendKeys ( keysToSend ) , ctx ) ; return makeFluentWebElements ( this , ctx , monitor ) ;
public class BasicHttpTaf { /** * Note : BasicHttp works for either Carbon Based ( Humans ) or Silicon Based ( machine ) Lifeforms . * @ see Taf */ public TafResp validate ( Taf . LifeForm reading , HttpServletRequest req , HttpServletResponse resp ) { } }
// See if Request implements BasicCred ( aka CadiWrap or other ) , and if User / Pass has already been set separately if ( req instanceof BasicCred ) { BasicCred bc = ( BasicCred ) req ; if ( bc . getUser ( ) != null ) { // CadiWrap , if set , makes sure User & Password are both valid , or both null if ( DenialOfServic...
public class StopWatchFactory { /** * Returns an uninitialized stopwatch instance . * @ return An uninitialized stopwatch instance . Will be null if the factory has not been * initialized . */ public static IStopWatch create ( ) { } }
if ( factory == null ) { throw new IllegalStateException ( "No stopwatch factory registered." ) ; } try { return factory . clazz . newInstance ( ) ; } catch ( Exception e ) { throw new RuntimeException ( "Could not create stopwatch instance." , e ) ; }
public class CommercePriceListAccountRelUtil { /** * Returns the commerce price list account rel where commerceAccountId = & # 63 ; and commercePriceListId = & # 63 ; or returns < code > null < / code > if it could not be found , optionally using the finder cache . * @ param commerceAccountId the commerce account ID ...
return getPersistence ( ) . fetchByC_C ( commerceAccountId , commercePriceListId , retrieveFromCache ) ;
public class EmbeddedChannel { /** * Read data from the outbound . This may return { @ code null } if nothing is readable . */ @ SuppressWarnings ( "unchecked" ) public < T > T readOutbound ( ) { } }
T message = ( T ) poll ( outboundMessages ) ; if ( message != null ) { ReferenceCountUtil . touch ( message , "Caller of readOutbound() will handle the message from this point." ) ; } return message ;
public class Property { /** * Sets property value , even if private . * < br / > * Swallows JaversException . MISSING _ PROPERTY * @ param target invocation target * @ param value value to be set */ public void set ( Object target , Object value ) { } }
try { member . setEvenIfPrivate ( target , value ) ; } catch ( JaversException e ) { if ( e . getCode ( ) == JaversExceptionCode . MISSING_PROPERTY ) { return ; // swallowed } throw e ; }
public class Cache { /** * 这个命令和 EXPIRE 命令的作用类似 , 但是它以毫秒为单位设置 key 的生存时间 , 而不像 EXPIRE 命令那样 , 以秒为单位 。 */ public Long pexpire ( Object key , long milliseconds ) { } }
Jedis jedis = getJedis ( ) ; try { return jedis . pexpire ( keyToBytes ( key ) , milliseconds ) ; } finally { close ( jedis ) ; }
public class CreateGrantRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( CreateGrantRequest createGrantRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( createGrantRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createGrantRequest . getKeyId ( ) , KEYID_BINDING ) ; protocolMarshaller . marshall ( createGrantRequest . getGranteePrincipal ( ) , GRANTEEPRINCIPAL_BINDING ) ; prot...
public class DPTXlator64BitSigned { /** * / * ( non - Javadoc ) * @ see tuwien . auto . calimero . dptxlator . DPTXlator # toDPT ( java . lang . String , short [ ] , int ) */ @ Override protected void toDPT ( final String value , final short [ ] dst , final int index ) throws KNXFormatException { } }
try { toDPT ( Long . decode ( removeUnit ( value ) ) . longValue ( ) , dst , index ) ; } catch ( final NumberFormatException e ) { throw newException ( "wrong value format" , value ) ; }
public class Proxy { /** * Apply any applicable header overrides to request * @ param httpMethodProxyRequest * @ throws Exception */ private void processRequestHeaderOverrides ( HttpMethod httpMethodProxyRequest ) throws Exception { } }
RequestInformation requestInfo = requestInformation . get ( ) ; for ( EndpointOverride selectedPath : requestInfo . selectedRequestPaths ) { List < EnabledEndpoint > points = selectedPath . getEnabledEndpoints ( ) ; for ( EnabledEndpoint endpoint : points ) { if ( endpoint . getOverrideId ( ) == Constants . PLUGIN_REQU...
public class GeometryCoordinateDimension { /** * Force the dimension of the MultiLineString and update correctly the coordinate * dimension * @ param multiLineString * @ param dimension * @ return */ public static MultiLineString convert ( MultiLineString multiLineString , int dimension ) { } }
int nb = multiLineString . getNumGeometries ( ) ; final LineString [ ] ls = new LineString [ nb ] ; for ( int i = 0 ; i < nb ; i ++ ) { ls [ i ] = GeometryCoordinateDimension . convert ( ( LineString ) multiLineString . getGeometryN ( i ) , dimension ) ; } return gf . createMultiLineString ( ls ) ;
public class HadoopConfigurationInjector { /** * Writes out the XML configuration file that will be injected by the client * as a configuration resource . * This file will include a series of links injected by Azkaban as well as * any job properties that begin with the designated injection prefix . * @ param pr...
try { Configuration conf = new Configuration ( false ) ; // First , inject a series of Azkaban links . These are equivalent to // CommonJobProperties . [ EXECUTION , WORKFLOW , JOB , JOBEXEC , ATTEMPT ] _ LINK addHadoopProperties ( props ) ; // Next , automatically inject any properties that begin with the // designate...
public class CRLDistributionPointRevocationChecker { /** * Adds the url to the list . * Build URI by components to facilitate proper encoding of querystring . * e . g . http : / / example . com : 8085 / ca ? action = crl & issuer = CN = CAS Test User CA * < p > If { @ code uriString } is encoded , it will be deco...
try { try { val url = new URL ( URLDecoder . decode ( uriString , StandardCharsets . UTF_8 . name ( ) ) ) ; list . add ( new URI ( url . getProtocol ( ) , url . getAuthority ( ) , url . getPath ( ) , url . getQuery ( ) , null ) ) ; } catch ( final MalformedURLException e ) { list . add ( new URI ( uriString ) ) ; } } c...
public class Utils { /** * Returns an instance of ThreadPoolExecutor using an bounded queue and blocking when the worker queue is full . * @ param nThreads thread pool size * @ param queueSize workers queue size * @ return thread pool executor */ public static ExecutorService newBlockingFixedThreadPoolExecutor ( ...
BlockingQueue < Runnable > blockingQueue = new ArrayBlockingQueue < > ( queueSize ) ; RejectedExecutionHandler blockingRejectedExecutionHandler = new RejectedExecutionHandler ( ) { @ Override public void rejectedExecution ( Runnable task , ThreadPoolExecutor executor ) { try { executor . getQueue ( ) . put ( task ) ; }...
public class TranscoderService { /** * Deserialize session data that was serialized using { @ link # serialize ( MemcachedBackupSession ) } * ( or a combination of { @ link # serializeAttributes ( MemcachedBackupSession , ConcurrentMap ) } and * { @ link # serialize ( MemcachedBackupSession , byte [ ] ) } ) . * N...
if ( data == null ) { return null ; } try { final DeserializationResult deserializationResult = deserializeSessionFields ( data , manager ) ; final byte [ ] attributesData = deserializationResult . getAttributesData ( ) ; final ConcurrentMap < String , Object > attributes = deserializeAttributes ( attributesData ) ; fi...