signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class NonplanarBonds { /** * Locates double bonds to mark as unspecified stereochemistry . * @ return set of double bonds */ private List < IBond > findUnspecifiedDoubleBonds ( int [ ] [ ] adjList ) { } }
List < IBond > unspecifiedDoubleBonds = new ArrayList < > ( ) ; for ( IBond bond : container . bonds ( ) ) { // non - double bond , ignore it if ( bond . getOrder ( ) != DOUBLE ) continue ; final IAtom aBeg = bond . getBegin ( ) ; final IAtom aEnd = bond . getEnd ( ) ; final int beg = atomToIndex . get ( aBeg ) ; final...
public class LargeBlockManager { /** * Release all the blocks that are on disk , and delete them from the * map that tracks them . * @ throws IOException */ private void releaseAllBlocks ( ) throws IOException { } }
synchronized ( m_accessLock ) { Set < Map . Entry < BlockId , Path > > entries = m_blockPathMap . entrySet ( ) ; while ( ! entries . isEmpty ( ) ) { Map . Entry < BlockId , Path > entry = entries . iterator ( ) . next ( ) ; Files . delete ( entry . getValue ( ) ) ; m_blockPathMap . remove ( entry . getKey ( ) ) ; entri...
public class OrthologizedKam { /** * Wrap a { @ link KamEdge } as an { @ link OrthologousEdge } to allow conversion * of the edge label by the { @ link SpeciesDialect } . The edge ' s * { @ link KamNode } s are also wrapped . * @ param kamEdge { @ link KamEdge } * @ return the wrapped kam edge , * < ol > * ...
if ( kamEdge == null ) { return null ; } TermParameter param = etp . get ( kamEdge . getId ( ) ) ; if ( param != null ) { return new OrthologousEdge ( kamEdge , param ) ; } return kamEdge ;
public class FnBoolean { /** * Takes a boolean function ( < tt > Function & lt ; ? , Boolean & gt ; < / tt > ) as a * parameter and returns another one which returns true if the specified function * returns false , and false if the function returns true . * @ param function the function to be negated * @ return...
return new Not < T > ( function ) ;
public class ListUtils { /** * Returns a random element of the given list . * @ param < T > * Type of list elements * @ param list * List * @ return Random element of < code > list < / code > */ public static < T > T getRandomItem ( List < T > list ) { } }
return list . get ( rand . nextInt ( list . size ( ) ) ) ;
public class WebAppConfigurator { /** * Obtain an attribute value as a mapping . Create and return a new empty mapping * if one is not yet present . * Once obtained as a mapping , the attribute value must always be obtained * as a mapping . A subsequent attempt to obtain the value as a set will fail * with a cl...
Map < String , ConfigItem < T > > configItemMap = ( Map < String , ConfigItem < T > > ) attributes . get ( key ) ; if ( configItemMap == null ) { configItemMap = new HashMap < String , ConfigItem < T > > ( ) ; attributes . put ( key , configItemMap ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnable...
public class ObservationTree { /** * Initialize the observation tree with initial hypothesis state . Usually used during { @ link * de . learnlib . api . algorithm . LearningAlgorithm # startLearning ( ) } * @ param state * the initial state of the hypothesis */ public void initialize ( final S state ) { } }
final FastMealyState < O > init = this . observationTree . addInitialState ( ) ; this . nodeToObservationMap . put ( state , init ) ;
public class OllieProvider { /** * Create a Uri for a model row . * @ param type The model type . * @ param id The row Id . * @ return The Uri for the model row . */ public static Uri createUri ( Class < ? extends Model > type , Long id ) { } }
final StringBuilder uri = new StringBuilder ( ) ; uri . append ( "content://" ) ; uri . append ( sAuthority ) ; uri . append ( "/" ) ; uri . append ( Ollie . getTableName ( type ) . toLowerCase ( ) ) ; if ( id != null ) { uri . append ( "/" ) ; uri . append ( id . toString ( ) ) ; } return Uri . parse ( uri . toString ...
public class InputRenderer { /** * Adds " aria - invalid " if the component is invalid . * @ param context the { @ link FacesContext } * @ param component the { @ link UIInput } component to add attributes for * @ throws IOException if any error occurs writing the response */ protected void renderARIAInvalid ( Fa...
if ( ! component . isValid ( ) ) { ResponseWriter writer = context . getResponseWriter ( ) ; writer . writeAttribute ( HTML . ARIA_INVALID , "true" , null ) ; }
public class SimpleULogger { /** * This is our internal implementation for logging regular ( non - parameterized ) * log messages . * @ param level level * @ param message message * @ param t throwable */ private void log ( final String level , final String message , final Throwable t ) { } }
StringBuffer buf = new StringBuffer ( ) ; long millis = System . currentTimeMillis ( ) ; buf . append ( millis - startTime ) ; buf . append ( " [" ) ; buf . append ( Thread . currentThread ( ) . getName ( ) ) ; buf . append ( "] " ) ; buf . append ( level ) ; buf . append ( " " ) ; buf . append ( loggerName ) ; buf . a...
public class S3FileSystem { /** * FileStatus for S3 file systems . */ @ Override public FileStatus getFileStatus ( Path f ) throws IOException { } }
INode inode = store . retrieveINode ( makeAbsolute ( f ) ) ; if ( inode == null ) { throw new FileNotFoundException ( f + ": No such file or directory." ) ; } return new S3FileStatus ( f . makeQualified ( this ) , inode ) ;
public class XMLMaskHelper { /** * Get the entity reference for the specified character . This returns e . g . * & amp ; lt ; for ' & lt ; ' etc . This method has special handling for & lt ; , & gt ; , * & amp ; , & quot ; and ' . All other chars are encoded by their numeric value ( e . g . * & amp ; # 200 ; ) ...
if ( c == LT ) return "&lt;" ; if ( c == GT ) return "&gt;" ; if ( c == AMPERSAND ) return "&amp;" ; if ( c == DOUBLE_QUOTE ) return "&quot;" ; if ( c == APOS ) return "&apos;" ; return getXMLNumericReference ( c ) ;
public class AnalysisScreen { /** * Move the source key fields to the destinataion keys . * @ param mxKeyFields The key fields to move . */ public void setupSummaryKey ( BaseField [ ] [ ] mxKeyFields ) { } }
for ( int i = 0 ; i < mxKeyFields . length ; i ++ ) { mxKeyFields [ i ] [ SUMMARY ] . moveFieldToThis ( mxKeyFields [ i ] [ BASIS ] ) ; }
public class DefaultRetryClient { /** * On timeout , retry the request until the maximum number of allowed retries * is reached . * @ param face the { @ link Face } on which to retry requests * @ param interest the { @ link Interest } to retry * @ param onData the application ' s success callback * @ param on...
RetryContext context = new RetryContext ( face , interest , onData , onTimeout ) ; retryInterest ( context ) ;
public class ProtoLexer { /** * $ ANTLR start " UINT64" */ public final void mUINT64 ( ) throws RecognitionException { } }
try { int _type = UINT64 ; int _channel = DEFAULT_TOKEN_CHANNEL ; // com / dyuproject / protostuff / parser / ProtoLexer . g : 167:5 : ( ' uint64 ' ) // com / dyuproject / protostuff / parser / ProtoLexer . g : 167:9 : ' uint64' { match ( "uint64" ) ; } state . type = _type ; state . channel = _channel ; } finally { }
public class DateUtils { /** * Converts an ISO 8601 formatted Date String to a Java Date ISO 8601 format : * yyyy - MM - dd ' T ' HH : mm : ss * @ param iso8601FormattedDate * @ return Date * @ throws com . fasterxml . jackson . databind . exc . InvalidFormatException */ public static Date fromISO8601DateString...
SimpleDateFormat iso8601Format = new SimpleDateFormat ( "yyyy-MM-dd'T'HH:mm:ss" ) ; // set UTC time zone iso8601Format . setTimeZone ( TimeZone . getTimeZone ( "UTC" ) ) ; try { return iso8601Format . parse ( iso8601FormattedDate ) ; } catch ( ParseException e ) { throw new InvalidFormatException ( "Error parsing as da...
public class DwgUtil { /** * Read a double value from a group of unsigned bytes * @ param data Array of unsigned bytes obtained from the DWG binary file * @ param offset The current bit offset where the value begins * @ throws Exception If an unexpected bit value is found in the DWG file . Occurs * when we are ...
Vector v = new Vector ( ) ; int type = ( ( Integer ) getBits ( data , 2 , offset ) ) . intValue ( ) ; int read = 2 ; double val = 0.0 ; if ( type == 0x00 ) { byte [ ] bytes = ( byte [ ] ) getBits ( data , 64 , ( offset + 2 ) ) ; ByteBuffer bb = ByteBuffer . wrap ( bytes ) ; bb . order ( ByteOrder . LITTLE_ENDIAN ) ; va...
public class TagsApi { /** * Get the tag list for a given photo . * This method does not require authentication . * @ return tags list for the photo . Required . * @ throws JinxException if required parameter is missing , or if there are any errors . * @ see < a href = " https : / / www . flickr . com / service...
JinxUtils . validateParams ( photoId ) ; Map < String , String > params = new TreeMap < > ( ) ; params . put ( "method" , "flickr.tags.getListPhoto" ) ; params . put ( "photo_id" , photoId ) ; return jinx . flickrGet ( params , PhotoTagList . class , false ) ;
public class ArgumentsBuilder { /** * Converts boot classpath library options into corresponding arguments ( - - bcp / a , - - bcp / p ) . * @ param libraries boot classpath libraries * @ return converted Pax Runner collection of arguments */ private Collection < String > extractArguments ( final BootClasspathLibra...
final List < String > arguments = new ArrayList < String > ( ) ; for ( BootClasspathLibraryOption library : libraries ) { if ( library . isBeforeFramework ( ) ) { arguments . add ( "--bcp/p=" + library . getLibraryUrl ( ) . getURL ( ) ) ; } else { arguments . add ( "--bcp/a=" + library . getLibraryUrl ( ) . getURL ( ) ...
public class IDDImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ public EList < Triplet > getSDFS ( ) { } }
if ( sdfs == null ) { sdfs = new EObjectContainmentEList . Resolving < Triplet > ( Triplet . class , this , AfplibPackage . IDD__SDFS ) ; } return sdfs ;
public class JsonArray { /** * Convenient method providing a few alternate ways of extracting elements * from a JsonArray . * @ param label label * @ return the first element in the array matching the label or the n - th * element if the label is an integer and the element an object or * an array . */ public ...
int i = 0 ; try { for ( JsonElement e : this ) { if ( e . isPrimitive ( ) && e . asPrimitive ( ) . asString ( ) . equals ( label ) ) { return e ; } else if ( ( e . isObject ( ) || e . isArray ( ) ) && Integer . valueOf ( label ) . equals ( i ) ) { return e ; } i ++ ; } } catch ( NumberFormatException e ) { // fail grac...
public class Response { /** * Converts the given Java object to JSON object using Jackson ObjectMapper , * and responds it . * If you just want to respond a text with " application / json " as content type , * use respondJsonText ( text ) . * Content - Type header is set to " application / json " . * " text /...
final String json = jsonObjectMapper . writeValueAsString ( ref ) ; return respondText ( json , "application/json" ) ;
public class ContentsDao { /** * { @ inheritDoc } * Verify optional tables have been created */ @ Override public Contents createIfNotExists ( Contents contents ) throws SQLException { } }
verifyCreate ( contents ) ; return super . createIfNotExists ( contents ) ;
public class SensorEvent { /** * Use this method to return a { @ link SensorEvent } for use . * @ return the { @ link SensorEvent } object . */ static SensorEvent obtain ( ) { } }
final SensorEvent event ; synchronized ( recyclerLock ) { event = recyclerTop ; if ( event == null ) { return new SensorEvent ( ) ; } recyclerTop = event . next ; recyclerUsed -= 1 ; } event . next = null ; return event ;
public class JScoreComponent { /** * Highlights the given elements in the score . * If item ( s ) was previously selected , it is unselected . * @ param elements A collection of score element to be highlighted in the * score . < TT > null < / TT > or empty collection can be specified to remove * highlighting . ...
if ( m_selectedItems != null ) { for ( Object m_selectedItem : m_selectedItems ) { ( ( JScoreElement ) m_selectedItem ) . setColor ( null ) ; } m_selectedItems = null ; } if ( ( elements != null ) && ( elements . size ( ) > 0 ) ) { m_selectedItems = elements ; for ( Object m_selectedItem : m_selectedItems ) { ( ( JScor...
public class PeanoSpatialSorter { /** * Sort by Peano curve . * @ param objs Objects * @ param start Start index * @ param end End * @ param mms Minmax values * @ param dims Dimensions index * @ param depth Dimension * @ param bits Bit set for inversions * @ param desc Current ordering */ protected void...
final int numdim = ( dims != null ) ? dims . length : ( mms . length >> 1 ) ; final int edim = ( dims != null ) ? dims [ depth ] : depth ; // Find the splitting points . final double min = mms [ 2 * edim ] , max = mms [ 2 * edim + 1 ] ; final double tfirst = ( min + min + max ) / 3. ; final double tsecond = ( min + max...
public class FileSystemUtils { /** * Convenience method for { @ code # persistAndWait ( fs , uri , - 1 ) } . i . e . wait for an indefinite period * of time to persist . This will block for an indefinite period of time if the path is never * persisted . Use with care . * @ param fs { @ link FileSystem } to carry ...
persistAndWait ( fs , uri , - 1 ) ;
public class TokenManagerImpl { /** * { @ inheritDoc } */ public Token createToken ( String tokenType , Map < String , Object > tokenData ) throws TokenCreationFailedException { } }
try { TokenService tokenService = getTokenServiceForType ( tokenType ) ; return tokenService . createToken ( tokenData ) ; } catch ( IllegalArgumentException e ) { throw new TokenCreationFailedException ( e . getMessage ( ) , e ) ; }
public class Base64Encoder { /** * base64编码 * @ param source 被编码的base64字符串 * @ param charset 字符集 * @ return 被加密后的字符串 */ public static String encode ( byte [ ] source , String charset ) { } }
return StrUtil . str ( encode ( source , false ) , charset ) ;
public class HudsonHomeDiskUsageMonitor { /** * Depending on whether the user said " yes " or " no " , send him to the right place . */ @ RequirePOST public HttpResponse doAct ( @ QueryParameter String no ) throws IOException { } }
if ( no != null ) { disable ( true ) ; return HttpResponses . redirectViaContextPath ( "/manage" ) ; } else { return HttpResponses . redirectToDot ( ) ; }
public class TupleToAvroRecordConverter { /** * Moves data between a Tuple and an Avro Record */ @ SuppressWarnings ( { } }
"unchecked" , "rawtypes" } ) public Record toRecord ( ITuple tuple , Record reuse ) throws IOException { Record record = reuse ; if ( record == null ) { record = new Record ( avroSchema ) ; } if ( schemaValidation && ! tuple . getSchema ( ) . equals ( pangoolSchema ) ) { throw new IOException ( "Tuple '" + tuple + "' "...
public class AbstractRegionPainter { /** * Decodes and returns a color , which is derived from a offset between two * other colors . * @ param color1 The first color * @ param color2 The second color * @ param midPoint The offset between color 1 and color 2 , a value of 0.0 * is color 1 and 1.0 is color 2; ...
return new Color ( deriveARGB ( color1 , color2 , midPoint ) ) ;
public class GroovyScript2RestLoader { /** * Check is specified source < code > script < / code > contains valid Groovy source * code . * @ param name script name . This name will be used by GroovyClassLoader to * identify script , e . g . specified name will be used in error * message in compilation of Groovy ...
if ( name != null && name . length ( ) > 0 && name . startsWith ( "/" ) ) { name = name . substring ( 1 ) ; } groovyPublisher . validateResource ( script , name , src , files ) ;
public class CodeWriter { /** * Returns the class named { @ code simpleName } when nested in the class at { @ code stackDepth } . */ private ClassName stackClassName ( int stackDepth , String simpleName ) { } }
ClassName className = ClassName . get ( packageName , typeSpecStack . get ( 0 ) . name ) ; for ( int i = 1 ; i <= stackDepth ; i ++ ) { className = className . nestedClass ( typeSpecStack . get ( i ) . name ) ; } return className . nestedClass ( simpleName ) ;
public class AbstractProfileProfileAligner { /** * Sets the target { @ link Profile } . * @ param target the second { @ link Profile } of the pair to align */ public void setTarget ( Profile < S , C > target ) { } }
this . target = target ; targetFuture = null ; reset ( ) ;
public class BasicEquivalencer { /** * { @ code equivalent } relies on { @ link java . lang . Object # equals ( Object ) equals } * to tell whether two objects are equivalent or not . When both arguments are * { @ code null } , it returns { @ code true } . When one is { @ code null } and the * other is not { @ co...
if ( x == null && y == null ) return true ; if ( x == null || y == null ) return false ; return x . equals ( y ) ;
public class CloudTasksClient { /** * Pauses the queue . * < p > If a queue is paused then the system will stop dispatching tasks until the queue is resumed * via [ ResumeQueue ] [ google . cloud . tasks . v2 . CloudTasks . ResumeQueue ] . Tasks can still be added when * the queue is paused . A queue is paused if...
PauseQueueRequest request = PauseQueueRequest . newBuilder ( ) . setName ( name == null ? null : name . toString ( ) ) . build ( ) ; return pauseQueue ( request ) ;
public class PosixAPI { /** * Load the JNR implementation of the POSIX APIs for the current platform . * Runtime exceptions will be of type { @ link PosixException } . * { @ link IllegalStateException } will be thrown for methods not implemented on this platform . * @ return some implementation ( even on Windows ...
if ( posix == null ) { posix = POSIXFactory . getPOSIX ( new DefaultPOSIXHandler ( ) { @ Override public void error ( Errno error , String extraData ) { throw new PosixException ( "native error " + error . description ( ) + " " + extraData , convert ( error ) ) ; } @ Override public void error ( Errno error , String me...
public class TmdbMovies { /** * This method is used to retrieve a list of the available translations for a specific movie . * @ param movieId * @ return * @ throws MovieDbException */ public ResultList < Translation > getMovieTranslations ( int movieId ) throws MovieDbException { } }
TmdbParameters parameters = new TmdbParameters ( ) ; parameters . add ( Param . ID , movieId ) ; URL url = new ApiUrl ( apiKey , MethodBase . MOVIE ) . subMethod ( MethodSub . TRANSLATIONS ) . buildUrl ( parameters ) ; String webpage = httpTools . getRequest ( url ) ; try { WrapperTranslations wrapper = MAPPER . readVa...
public class PathOverrideService { /** * Called right now when we add an entry to the path _ profile table * Then we update the table to add a new string that contains the old groups * and the new group ( followed by a comma ) * @ param profileId ID of profile * @ param pathId ID of path * @ param groupNum Gr...
logger . info ( "adding group_id={}, to pathId={}" , groupNum , pathId ) ; String oldGroups = getGroupIdsInPathProfile ( profileId , pathId ) ; // make sure the old groups does not contain the current group we want // to add if ( ! intArrayContains ( Utils . arrayFromStringOfIntegers ( oldGroups ) , groupNum ) ) { if (...
public class PipelinePauseStateSettingsMarshaller { /** * Marshall the given parameter object . */ public void marshall ( PipelinePauseStateSettings pipelinePauseStateSettings , ProtocolMarshaller protocolMarshaller ) { } }
if ( pipelinePauseStateSettings == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( pipelinePauseStateSettings . getPipelineId ( ) , PIPELINEID_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request t...
public class DualMessageQueue { /** * Get the message sender . */ public BaseMessageSender createMessageSender ( ) { } }
RemoteTask server = ( RemoteTask ) ( ( Application ) this . getMessageManager ( ) . getApplication ( ) ) . getRemoteTask ( null ) ; try { return new DualMessageSender ( server , this ) ; } catch ( RemoteException ex ) { ex . printStackTrace ( ) ; } return null ;
public class LoggingOutputStream { /** * Writes the specified byte to this output stream . The general contract for * < code > write < / code > is that one byte is written to the output stream . The * byte to be written is the eight low - order bits of the argument * < code > b < / code > . The 24 high - order bi...
if ( hasBeenClosed ) { throw new IOException ( "The stream has been closed." ) ; } byte [ ] bytes = new byte [ 1 ] ; bytes [ 0 ] = ( byte ) ( b & 0xff ) ; String s = new String ( bytes ) ; if ( s . equals ( "\n" ) ) { flush ( ) ; } else { buffer . append ( s ) ; }
public class _SharedRendererUtils { /** * Iterates through the SelectItems with the given Iterator and tries to obtain * a by - class - converter based on the Class of SelectItem . getValue ( ) . * @ param iterator * @ param facesContext * @ return The first suitable Converter for the given SelectItems or null ...
// Attention ! // This code is duplicated in jsfapi component package . // If you change something here please do the same in the other class ! Converter converter = null ; while ( converter == null && iterator . hasNext ( ) ) { SelectItem item = iterator . next ( ) ; if ( item instanceof SelectItemGroup ) { Iterator <...
public class TrieNode { /** * Gets children . * @ return the children */ public Stream < ? extends TrieNode > getChildren ( ) { } }
if ( getData ( ) . firstChildIndex >= 0 ) { return IntStream . range ( 0 , getData ( ) . numberOfChildren ) . mapToObj ( i -> new TrieNode ( this . trie , getData ( ) . firstChildIndex + i , TrieNode . this ) ) ; } else { return Stream . empty ( ) ; }
public class ApiOvhDedicatedserver { /** * Get this object properties * REST : GET / dedicated / server / { serviceName } / serviceMonitoring / { monitoringId } / alert / email / { alertId } * @ param serviceName [ required ] The internal name of your dedicated server * @ param monitoringId [ required ] This moni...
String qPath = "/dedicated/server/{serviceName}/serviceMonitoring/{monitoringId}/alert/email/{alertId}" ; StringBuilder sb = path ( qPath , serviceName , monitoringId , alertId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhEmailAlert . class ) ;
public class PhaseOneApplication { /** * Stage one validation of the file , returning the converted document or * { @ code null } . * @ param file XBEL file * @ return Document */ private Document stage1 ( final File file ) { } }
beginStage ( PHASE1_STAGE1_HDR , "1" , NUM_PHASES ) ; final StringBuilder bldr = new StringBuilder ( ) ; stageOutput ( "Validating " + file ) ; long t1 = currentTimeMillis ( ) ; final Stage1Output output ; if ( isBELScript ( file ) ) { output = p1 . stage1BELValidation ( file ) ; } else { output = p1 . stage1XBELValida...
public class JtsBinaryParser { /** * Return the { @ link org . postgis . binary . ValueGetter } for the endian from the given * { @ link org . postgis . binary . ByteGetter } . * @ param bytes { @ link org . postgis . binary . ByteGetter } to read . * @ return The { @ link org . postgis . binary . ValueGetter } f...
if ( bytes . get ( 0 ) == 0 ) { return new ValueGetter . XDR ( bytes ) ; } else if ( bytes . get ( 0 ) == 1 ) { return new ValueGetter . NDR ( bytes ) ; } else { throw new IllegalArgumentException ( "Unknown Endian type:" + bytes . get ( 0 ) ) ; }
public class WindowsRegistry { /** * Checks if a given key exists . * @ param keyName Key name to check for existence . * @ return < code > true < / code > if the key exists , otherwise * < code > false < / code > . * @ throws RegistryException */ public static boolean existsKey ( String keyName ) throws Regist...
String [ ] keyNameParts = keyName . split ( REG_PATH_SEPARATOR_REGEX ) ; // first part must be valid hive if ( Hive . getHive ( keyNameParts [ 0 ] ) == null ) { return false ; } for ( int i = 1 ; i < keyNameParts . length ; i ++ ) { // build path StringBuilder path = new StringBuilder ( ) ; for ( int j = 0 ; j < i ; j ...
public class DateUtils { /** * Get how many days between two date . * @ param date1 date to be tested . * @ param date2 date to be tested . * @ return how many days between two date . */ public static long subDays ( final Date date1 , final Date date2 ) { } }
return subTime ( date1 , date2 , DatePeriod . DAY ) ;
public class Edge { /** * Get numeric edge type from string representation . */ public static @ Type int stringToEdgeType ( String s ) { } }
s = s . toUpperCase ( Locale . ENGLISH ) ; if ( "FALL_THROUGH" . equals ( s ) ) { return FALL_THROUGH_EDGE ; } else if ( "IFCMP" . equals ( s ) ) { return IFCMP_EDGE ; } else if ( "SWITCH" . equals ( s ) ) { return SWITCH_EDGE ; } else if ( "SWITCH_DEFAULT" . equals ( s ) ) { return SWITCH_DEFAULT_EDGE ; } else if ( "J...
public class ServletUtil { /** * Extract the parameters and file items allowing for multi part form fields . * @ param request the request being processed * @ param parameters the map to store non - file request parameters in . * @ param files the map to store the uploaded file parameters in . */ public static vo...
if ( isMultipart ( request ) ) { ServletFileUpload upload = new ServletFileUpload ( ) ; upload . setFileItemFactory ( new DiskFileItemFactory ( ) ) ; try { List fileItems = upload . parseRequest ( request ) ; uploadFileItems ( fileItems , parameters , files ) ; } catch ( FileUploadException ex ) { throw new SystemExcep...
public class ReflectionUtils { /** * Invoke the given callback on all fields in the target class , going up the * class hierarchy to get all declared fields . * @ param clazz the target class to analyze * @ param fc the callback to invoke for each field */ public static void doWithFields ( Class < ? > clazz , Fie...
doWithFields ( clazz , fc , null ) ;
public class Transition { /** * Force the transition to move to its end state , ending all the animators . */ void forceToEnd ( @ Nullable ViewGroup sceneRoot ) { } }
ArrayMap < Animator , AnimationInfo > runningAnimators = getRunningAnimators ( ) ; int numOldAnims = runningAnimators . size ( ) ; if ( sceneRoot != null ) { Object windowId = ViewUtils . getWindowId ( sceneRoot ) ; for ( int i = numOldAnims - 1 ; i >= 0 ; i -- ) { AnimationInfo info = runningAnimators . valueAt ( i ) ...
public class BitsyTransactionContext { /** * This method is called to remove an edge through the IEdgeRemover */ private IEdge removeEdgeOnVertexDelete ( UUID edgeId ) throws BitsyException { } }
// This is called from remove on adjMap , which means that the edge was added in this Tx BitsyEdge edge = changedEdges . remove ( edgeId ) ; // Only an edge that is present in this Tx can be removed by the IEdgeRemover assert ( edge != null ) ; return edge ;
public class ObjectFactory { /** * Create an instance of { @ link JAXBElement } { @ code < } { @ link AbstractBridgeType } { @ code > } * @ param value * Java instance representing xml element ' s value . * @ return * the new instance of { @ link JAXBElement } { @ code < } { @ link AbstractBridgeType } { @ code...
return new JAXBElement < AbstractBridgeType > ( __AbstractBridge_QNAME , AbstractBridgeType . class , null , value ) ;
public class Ifc2x3tc1FactoryImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ public IfcConstraintEnum createIfcConstraintEnumFromString ( EDataType eDataType , String initialValue ) { } }
IfcConstraintEnum result = IfcConstraintEnum . get ( initialValue ) ; if ( result == null ) throw new IllegalArgumentException ( "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType . getName ( ) + "'" ) ; return result ;
public class PolyLabel { /** * Re - projection functions */ private static double latitudeToY ( double latitude ) { } }
double sinLatitude = Math . sin ( latitude * ( Math . PI / 180 ) ) ; return 0.5 - Math . log ( ( 1 + sinLatitude ) / ( 1 - sinLatitude ) ) / ( 4 * Math . PI ) ;
public class LdapIdentityStoreDefinitionWrapper { /** * Evaluate and return the groupMemberOfAttribute . * @ param immediateOnly If true , only return a non - null value if the setting is either an * immediate EL expression or not set by an EL expression . If false , return the * value regardless of where it is e...
try { return elHelper . processString ( "groupMemberOfAttribute" , this . idStoreDefinition . groupMemberOfAttribute ( ) , immediateOnly ) ; } catch ( IllegalArgumentException e ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isWarningEnabled ( ) ) { Tr . warning ( tc , "JAVAEESEC_WARNING_IDSTORE_CONFIG" , ne...
public class GoogleCloudStorageImpl { /** * Helper for converting a StorageResourceId + StorageObject into a GoogleCloudStorageItemInfo . */ public static GoogleCloudStorageItemInfo createItemInfoForStorageObject ( StorageResourceId resourceId , StorageObject object ) { } }
Preconditions . checkArgument ( resourceId != null , "resourceId must not be null" ) ; Preconditions . checkArgument ( object != null , "object must not be null" ) ; Preconditions . checkArgument ( resourceId . isStorageObject ( ) , "resourceId must be a StorageObject. resourceId: %s" , resourceId ) ; Preconditions . c...
public class UserDataManager { /** * Get the URL to the passed UDO object . * @ param aRequestScope * The request web scope to be used . Required for cookie - less handling . * May not be < code > null < / code > . * @ param aUDO * The UDO object to get the URL from . * @ return The URL to the user data obj...
return new SimpleURL ( getURLPath ( aRequestScope , aUDO ) ) ;
public class RelationMetadataProcessorFactory { /** * Gets the relation metadata processor . * @ param relationField * the relation field * @ return the relation metadata processor */ public static RelationMetadataProcessor getRelationMetadataProcessor ( Field relationField , KunderaMetadata kunderaMetadata ) { }...
RelationMetadataProcessor relProcessor = null ; // OneToOne if ( relationField . isAnnotationPresent ( OneToOne . class ) ) { relProcessor = new OneToOneRelationMetadataProcessor ( kunderaMetadata ) ; } // OneToMany else if ( relationField . isAnnotationPresent ( OneToMany . class ) ) { relProcessor = new OneToManyRela...
public class BaseSelectProvider { /** * 查询总数 * @ param ms * @ return */ public String selectCount ( MappedStatement ms ) { } }
Class < ? > entityClass = getEntityClass ( ms ) ; StringBuilder sql = new StringBuilder ( ) ; sql . append ( SqlHelper . selectCount ( entityClass ) ) ; sql . append ( SqlHelper . fromTable ( entityClass , tableName ( entityClass ) ) ) ; sql . append ( SqlHelper . whereAllIfColumns ( entityClass , isNotEmpty ( ) ) ) ; ...
public class DecodingResource { /** * Returns a DecodingResource that wraps an existing resource with a decompressor for the given * Content - Encoding . * @ param contentEncoding the value of the Content - Encoding header * @ param source the resource to wrap * @ return the new resource or null if the contentE...
InputStream stream = decodingStream ( contentEncoding , source ) ; if ( stream == null ) { return null ; } return new DecodingResource ( source , stream ) ;
public class EnvironmentsInner { /** * Resets the user password on an environment This operation can take a while to complete . * @ param resourceGroupName The name of the resource group . * @ param labAccountName The name of the lab Account . * @ param labName The name of the lab . * @ param environmentSetting...
return beginResetPasswordWithServiceResponseAsync ( resourceGroupName , labAccountName , labName , environmentSettingName , environmentName , resetPasswordPayload ) . map ( new Func1 < ServiceResponse < Void > , Void > ( ) { @ Override public Void call ( ServiceResponse < Void > response ) { return response . body ( ) ...
public class RRFedNonFedBudget10V1_1Generator { /** * This method gets ParticipantTraineeSupportCosts details in BudgetYearDataType such as TuitionFeeHealthInsurance * Stipends , Subsistence , Travel , Other , ParticipantTraineeNumber and TotalCost based on the BudgetPeriodInfo for the * RRFedNonFedBudget . * @ p...
ParticipantTraineeSupportCosts traineeSupportCosts = ParticipantTraineeSupportCosts . Factory . newInstance ( ) ; if ( periodInfo != null ) { TotalDataType totalTution = TotalDataType . Factory . newInstance ( ) ; if ( periodInfo . getPartTuition ( ) != null ) { totalTution . setFederal ( periodInfo . getPartTuition ( ...
public class LatexStringRepresentation { /** * Returns the latex string for a variable name * @ param name the name * @ return the matching UTF8 symbol */ private static String latexName ( final String name ) { } }
final Matcher matcher = pattern . matcher ( name ) ; if ( ! matcher . matches ( ) ) return name ; if ( matcher . group ( 2 ) . isEmpty ( ) ) return matcher . group ( 1 ) ; return matcher . group ( 1 ) + "_{" + matcher . group ( 2 ) + "}" ;
public class AbstractPipe { /** * Connect provider to this pipe . Doesn ' t allow to connect one provider twice . Does register event listeners if instance of IPipeConnectionListener is given . * @ param provider * Provider * @ param paramMap * Parameters passed with connection , used in concrete pipe implement...
boolean success = providers . addIfAbsent ( provider ) ; // register event listener if given and just added if ( success && provider instanceof IPipeConnectionListener ) { listeners . addIfAbsent ( ( IPipeConnectionListener ) provider ) ; } return success ;
public class AddPrimaryKeyGeneratorMSSQL { /** * The extension ' s implementation is essentially a copy / paste of the default implementation , with the following changes : * 1 ) Removed other database platform specific logic other than MSSQL ( purely to simplify ) * 2 ) Added support for setting fillFactor * @ p...
String sql ; if ( statement . getConstraintName ( ) == null ) { sql = "ALTER TABLE " + database . escapeTableName ( statement . getCatalogName ( ) , statement . getSchemaName ( ) , statement . getTableName ( ) ) + " ADD PRIMARY KEY (" + database . escapeColumnNameList ( statement . getColumnNames ( ) ) + ")" ; } else {...
public class sslservice { /** * Use this API to fetch filtered set of sslservice resources . * filter string should be in JSON format . eg : " port : 80 , servicetype : HTTP " . */ public static sslservice [ ] get_filtered ( nitro_service service , String filter ) throws Exception { } }
sslservice obj = new sslservice ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; sslservice [ ] response = ( sslservice [ ] ) obj . getfiltered ( service , option ) ; return response ;
public class AssetFileDef { /** * < pre > * The tensor to bind the asset filename to . * < / pre > * < code > optional . tensorflow . TensorInfo tensor _ info = 1 ; < / code > */ public org . tensorflow . framework . TensorInfo getTensorInfo ( ) { } }
return tensorInfo_ == null ? org . tensorflow . framework . TensorInfo . getDefaultInstance ( ) : tensorInfo_ ;
public class JKAbstractCacheManager { /** * ( non - Javadoc ) * @ see com . jk . cache . CacheManager # clear ( java . lang . Class ) */ @ Override public void clear ( final Class < ? > clas ) { } }
this . logger . debug ( "@clear:" . concat ( clas . getName ( ) ) ) ; getCachableMap ( clas ) . clear ( ) ;
public class AWSIotClient { /** * Lists the targets ( thing groups ) associated with a given Device Defender security profile . * @ param listTargetsForSecurityProfileRequest * @ return Result of the ListTargetsForSecurityProfile operation returned by the service . * @ throws InvalidRequestException * The reque...
request = beforeClientExecution ( request ) ; return executeListTargetsForSecurityProfile ( request ) ;
public class ApiOvhMsServices { /** * Get active licenses for specific period of time * REST : GET / msServices / { serviceName } / sync / license * @ param period [ required ] Period of time used to determine sync account license statistics * @ param license [ required ] License type * @ param serviceName [ re...
String qPath = "/msServices/{serviceName}/sync/license" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "license" , license ) ; query ( sb , "period" , period ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ;
public class SimpleTimeZone { /** * { @ inheritDoc } */ @ Override public void setID ( String ID ) { } }
if ( isFrozen ( ) ) { throw new UnsupportedOperationException ( "Attempt to modify a frozen SimpleTimeZone instance." ) ; } super . setID ( ID ) ; transitionRulesInitialized = false ;
public class DateUtils { /** * Convert an Object of type Class to an Object . */ public static Object toObject ( Class < ? > clazz , Object value ) throws ParseException { } }
if ( value == null ) { return null ; } if ( clazz == null ) { return value ; } if ( java . sql . Date . class . isAssignableFrom ( clazz ) ) { return toDate ( value ) ; } if ( java . sql . Time . class . isAssignableFrom ( clazz ) ) { return toTime ( value ) ; } if ( java . sql . Timestamp . class . isAssignableFrom ( ...
public class SearchResult { /** * A list of < code > SearchResult < / code > objects . * @ param results * A list of < code > SearchResult < / code > objects . */ public void setResults ( java . util . Collection < SearchRecord > results ) { } }
if ( results == null ) { this . results = null ; return ; } this . results = new java . util . ArrayList < SearchRecord > ( results ) ;
public class HistogramAggregationIterator { /** * Cotr . * @ param spans The spans that join the aggregation * @ param start _ time Any data point strictly before this timestamp will be ignored . * @ param end _ time Any data point strictly after this timestamp will be ignored . * @ param aggregation The aggreg...
final int size = spans . size ( ) ; final HistogramSeekableView [ ] iterators = new HistogramSeekableView [ size ] ; for ( int i = 0 ; i < size ; i ++ ) { HistogramSeekableView it ; if ( downsampler == DownsamplingSpecification . NO_DOWNSAMPLER ) { it = spans . get ( i ) . spanIterator ( ) ; } else { it = spans . get (...
public class CommerceDiscountUsageEntryPersistenceImpl { /** * Creates a new commerce discount usage entry with the primary key . Does not add the commerce discount usage entry to the database . * @ param commerceDiscountUsageEntryId the primary key for the new commerce discount usage entry * @ return the new comme...
CommerceDiscountUsageEntry commerceDiscountUsageEntry = new CommerceDiscountUsageEntryImpl ( ) ; commerceDiscountUsageEntry . setNew ( true ) ; commerceDiscountUsageEntry . setPrimaryKey ( commerceDiscountUsageEntryId ) ; commerceDiscountUsageEntry . setCompanyId ( companyProvider . getCompanyId ( ) ) ; return commerce...
public class PrimaveraXERFileReader { /** * Process tasks . */ private void processTasks ( ) { } }
List < Row > wbs = getRows ( "projwbs" , "proj_id" , m_projectID ) ; List < Row > tasks = getRows ( "task" , "proj_id" , m_projectID ) ; // List < Row > wbsmemos = getRows ( " wbsmemo " , " proj _ id " , m _ projectID ) ; // List < Row > taskmemos = getRows ( " taskmemo " , " proj _ id " , m _ projectID ) ; Collections...
public class GitConfigMonitor { /** * check whether the file has the proper naming and hierarchy * @ param configFilePath the relative path from the repo root * @ return false if the file does not conform */ private boolean checkConfigFilePath ( String configFilePath ) { } }
// The config needs to stored at configDir / flowGroup / flowName . ( pull | job | json | conf ) Path configFile = new Path ( configFilePath ) ; String fileExtension = Files . getFileExtension ( configFile . getName ( ) ) ; if ( configFile . depth ( ) != CONFIG_FILE_DEPTH || ! configFile . getParent ( ) . getParent ( )...
public class ClassParser { /** * Read a constant from the constant pool . Return null for * @ return a StaticConstant * @ throws InvalidClassFileFormatException * @ throws IOException */ private Constant readConstant ( ) throws InvalidClassFileFormatException , IOException { } }
int tag = in . readUnsignedByte ( ) ; if ( tag < 0 || tag >= CONSTANT_FORMAT_MAP . length ) { throw new InvalidClassFileFormatException ( expectedClassDescriptor , codeBaseEntry ) ; } String format = CONSTANT_FORMAT_MAP [ tag ] ; if ( format == null ) { throw new InvalidClassFileFormatException ( expectedClassDescripto...
public class AbstractConnectProtocol { /** * Set ssl socket cipher according to options . * @ param sslSocket current ssl socket * @ throws SQLException if a cipher isn ' t known */ private void enabledSslCipherSuites ( SSLSocket sslSocket ) throws SQLException { } }
if ( options . enabledSslCipherSuites != null ) { List < String > possibleCiphers = Arrays . asList ( sslSocket . getSupportedCipherSuites ( ) ) ; String [ ] ciphers = options . enabledSslCipherSuites . split ( "[,;\\s]+" ) ; for ( String cipher : ciphers ) { if ( ! possibleCiphers . contains ( cipher ) ) { throw new S...
public class CheckedExceptionsFactory { /** * Constructs and initializes a new { @ link IOException } with the given { @ link String message } * formatted with the given { @ link Object [ ] arguments } . * @ param message { @ link String } describing the { @ link IOException exception } . * @ param args { @ link ...
return newIOException ( null , message , args ) ;
public class OTxSegment { /** * Appends a log entry */ public void addLog ( final byte iOperation , final int iTxId , final int iClusterId , final long iClusterOffset , final byte iRecordType , final int iRecordVersion , final byte [ ] iRecordContent , int dataSegmentId ) throws IOException { } }
final int contentSize = iRecordContent != null ? iRecordContent . length : 0 ; final int size = OFFSET_RECORD_CONTENT + contentSize ; lock . acquireExclusiveLock ( ) ; try { int offset = file . allocateSpace ( size ) ; file . writeByte ( offset , STATUS_COMMITTING ) ; offset += OBinaryProtocol . SIZE_BYTE ; file . writ...
public class IntArrayFunctionsND { /** * Applies the given unary operator to the elements from the given array , * and stores the result in the given result array . < br > * < br > * If the given result array is < code > null < / code > , then a new array * will be created and returned . < br > * < br > * T...
MutableIntArrayND finalResult = validate ( a0 , result ) ; finalResult . coordinates ( ) . parallel ( ) . forEach ( t -> { int operand0 = a0 . get ( t ) ; int r = op . applyAsInt ( operand0 ) ; finalResult . set ( t , r ) ; } ) ; return finalResult ;
public class MapModel { /** * Paintable implementation . First let the PainterVisitor paint this object , then if recursive is true , painter the * layers in order . */ public void accept ( PainterVisitor visitor , Object group , Bbox bounds , boolean recursive ) { } }
// Paint the MapModel itself ( see MapModelPainter ) : visitor . visit ( this , group ) ; // Paint the layers : if ( recursive ) { for ( Layer < ? > layer : layers ) { if ( layer . isShowing ( ) ) { layer . accept ( visitor , group , bounds , recursive ) ; } else { // JDM : paint the top part of the layer , if not we l...
public class JCusparse { /** * If the given result is < strong > equal < / strong > to * cusparseStatus . JCUSPARSE _ STATUS _ INTERNAL _ ERROR * and exceptions have been enabled , this method will throw a * CudaException with an error message that corresponds to the * given result code . Otherwise , the given ...
if ( exceptionsEnabled && result == cusparseStatus . JCUSPARSE_STATUS_INTERNAL_ERROR ) { throw new CudaException ( cusparseStatus . stringFor ( result ) ) ; } return result ;
public class ProjectCalendar { /** * This private method allows the caller to determine if a given date is a * working day . This method takes account of calendar exceptions . It assumes * that the caller has already calculated the day of the week on which * the given day falls . * @ param date Date to be teste...
ProjectCalendarDateRanges ranges = getRanges ( date , null , day ) ; return ranges . getRangeCount ( ) != 0 ;
public class DynamicAccessImpl { /** * Maybe these methods ' exposure needs to be re - thought ? */ public MIMETypedStream getDatastreamDissemination ( Context context , String PID , String dsID , Date asOfDateTime ) throws ServerException { } }
return null ;
public class OutHttpApp { /** * Writes a chunk of bytes to the stream . */ @ Override public void write ( byte [ ] buffer , int offset , int length ) { } }
if ( isClosed ( ) || isHead ( ) ) { return ; } int byteLength = _offset ; while ( true ) { int sublen = Math . min ( length , SIZE - byteLength ) ; System . arraycopy ( buffer , offset , _buffer , byteLength , sublen ) ; offset += sublen ; length -= sublen ; byteLength += sublen ; if ( length <= 0 ) { break ; } _offset...
public class EcodInstallation { /** * Set an alternate download location for files * @ param cacheLocation */ public void setCacheLocation ( String cacheLocation ) { } }
if ( cacheLocation . equals ( this . cacheLocation ) ) { return ; // no change } // update location domainsFileLock . writeLock ( ) . lock ( ) ; logger . trace ( "LOCK writelock" ) ; this . cacheLocation = cacheLocation ; logger . trace ( "UNLOCK writelock" ) ; domainsFileLock . writeLock ( ) . unlock ( ) ;
public class MemberSummaryBuilder { /** * Build the summary for the fields . */ public void buildPropertiesSummary ( XMLNode node , Content memberSummaryTree ) { } }
MemberSummaryWriter writer = memberSummaryWriters [ VisibleMemberMap . PROPERTIES ] ; VisibleMemberMap visibleMemberMap = visibleMemberMaps [ VisibleMemberMap . PROPERTIES ] ; addSummary ( writer , visibleMemberMap , true , memberSummaryTree ) ;
public class PrimaryBackupServiceContext { /** * Resets the current index to the given index and timestamp . * @ param index the index to which to reset the current index * @ param timestamp the timestamp to which to reset the current timestamp */ public void resetIndex ( long index , long timestamp ) { } }
currentOperation = OperationType . COMMAND ; operationIndex = index ; currentIndex = index ; currentTimestamp = timestamp ; setCommitIndex ( index ) ; service . tick ( new WallClockTimestamp ( currentTimestamp ) ) ;
public class CPDefinitionVirtualSettingPersistenceImpl { /** * Returns the last cp definition virtual setting in the ordered set where uuid = & # 63 ; . * @ param uuid the uuid * @ param orderByComparator the comparator to order the set by ( optionally < code > null < / code > ) * @ return the last matching cp de...
CPDefinitionVirtualSetting cpDefinitionVirtualSetting = fetchByUuid_Last ( uuid , orderByComparator ) ; if ( cpDefinitionVirtualSetting != null ) { return cpDefinitionVirtualSetting ; } StringBundler msg = new StringBundler ( 4 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "uuid=" ) ; msg . append ( uu...
public class LogGammaDistribution { /** * Compute probit ( inverse cdf ) for LogGamma distributions . * @ param p Probability * @ param k k , alpha aka . " shape " parameter * @ param theta Theta = 1.0 / Beta aka . " scaling " parameter * @ param shift Shift parameter * @ return Probit for Gamma distribution ...
return FastMath . exp ( GammaDistribution . quantile ( p , k , theta ) ) + shift ;
public class CommerceShippingFixedOptionRelUtil { /** * Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = & # 63 ; . * Useful when paginating results . Returns a maximum of < code > end - start < / code > instances . < code > start < / code > and < code > en...
return getPersistence ( ) . findByCommerceShippingFixedOptionId ( commerceShippingFixedOptionId , start , end , orderByComparator ) ;
public class WebAgentFeatureCache { /** * A testing hook to set the cached suites to have predictable keys */ public void setSuiteIdsUsingZeroBasedIndex ( ) { } }
synchronized ( cachedSuites ) { List < WebAgentTestSuite > s = new ArrayList < > ( cachedSuites . values ( ) ) ; cachedSuites . clear ( ) ; for ( int index = 0 ; index < s . size ( ) ; index ++ ) { WebAgentTestSuite suite = s . get ( index ) ; cachedSuites . put ( suite . getTestSuiteName ( ) + "-" + index , suite ) ; ...
public class SupportVectorLearner { /** * Performs a kernel evaluation of the a ' th and b ' th vectors in the * { @ link # vecs } array . * @ param a the first vector index * @ param b the second vector index * @ return the kernel evaluation of k ( a , b ) */ protected double kEval ( int a , int b ) { } }
if ( cacheMode == CacheMode . FULL ) { if ( a > b ) { int tmp = a ; a = b ; b = tmp ; } double val = fullCache [ a ] [ b - a ] ; if ( Double . isNaN ( val ) ) // lazy init return fullCache [ a ] [ b - a ] = k ( a , b ) ; return val ; } else if ( cacheMode == CacheMode . ROWS ) { double [ ] cache ; if ( specific_row_cac...
public class DeliveryDelayManager { /** * Add an DeliveryDelayable reference for an item to the deliveryDelay index . The reference will be * added to the index in order of delivery delay time ( which must be set within the DeliveryDelayable ) . * Once added to the index , it will become eligible for unlock process...
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { SibTr . entry ( tc , "addDeliveryDelayable" , "objId=" + ( deliveryDelayable == null ? "null" : String . valueOf ( deliveryDelayable . deliveryDelayableGetID ( ) ) ) + " addEnabled=" + addEnabled ) ; } boolean reply = false ; // Ignore this en...