signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class CPDisplayLayoutPersistenceImpl { /** * Returns the cp display layout where classNameId = & # 63 ; and classPK = & # 63 ; or returns < code > null < / code > if it could not be found , optionally using the finder cache . * @ param classNameId the class name ID * @ param classPK the class pk * @ param ...
Object [ ] finderArgs = new Object [ ] { classNameId , classPK } ; Object result = null ; if ( retrieveFromCache ) { result = finderCache . getResult ( FINDER_PATH_FETCH_BY_C_C , finderArgs , this ) ; } if ( result instanceof CPDisplayLayout ) { CPDisplayLayout cpDisplayLayout = ( CPDisplayLayout ) result ; if ( ( clas...
public class GroupHandlerImpl { /** * Adds child group . */ private void addChild ( Session session , GroupImpl parent , GroupImpl child , boolean broadcast ) throws Exception { } }
Node parentNode = utils . getGroupNode ( session , parent ) ; Node groupNode = parentNode . addNode ( child . getGroupName ( ) , JCROrganizationServiceImpl . JOS_HIERARCHY_GROUP_NODETYPE ) ; String parentId = parent == null ? null : parent . getId ( ) ; child . setParentId ( parentId ) ; child . setInternalId ( groupNo...
public class GeometryService { /** * We assume neither is null or empty . */ private static boolean intersectsPoint ( Geometry point , Geometry geometry ) { } }
if ( geometry . getGeometries ( ) != null ) { for ( Geometry child : geometry . getGeometries ( ) ) { if ( intersectsPoint ( point , child ) ) { return true ; } } } if ( geometry . getCoordinates ( ) != null ) { Coordinate coordinate = point . getCoordinates ( ) [ 0 ] ; if ( geometry . getCoordinates ( ) . length == 1 ...
public class Collection { /** * Requests i ' th page from UserVoice . Thread - safe and makes one HTTP * connection . * @ param i * and index between 1 . . ( 1 / PER _ PAGE ) + 1 * @ return The page in a JSONArray * @ throws APIError * if something unexpected happened * @ throws Unauthorized * if the us...
if ( pages == null || pages . get ( i ) == null ) { String url ; if ( path . contains ( "?" ) ) { url = path + "&" ; } else { url = path + "?" ; } // System . out . println ( url ) ; JSONObject result = client . get ( url + "per_page=" + perPage + "&page=" + i ) ; // System . out . println ( result ) ; if ( result != n...
public class YQueue { /** * unsynchronised thread . */ public void unpush ( ) { } }
// First , move ' back ' one position backwards . if ( backPos > 0 ) { -- backPos ; } else { backPos = size - 1 ; backChunk = backChunk . prev ; } // Now , move ' end ' position backwards . Note that obsolete end chunk // is not used as a spare chunk . The analysis shows that doing so // would require free and atomic o...
public class MjdbcConfig { /** * Creates new { @ link Overrider } implementation instance based on default statement handler * implementation class set via { @ link # setDefaultOverrider ( Class ) } * @ return new { @ link Overrider } instance */ public static Overrider getDefaultOverrider ( ) { } }
Overrider result = null ; Class < Overrider > clazz = instance ( ) . defaultOverrider ; try { result = clazz . newInstance ( ) ; } catch ( InstantiationException e ) { throw new MjdbcRuntimeException ( ERROR_OR_INIT_FAILED , e ) ; } catch ( IllegalAccessException e ) { throw new MjdbcRuntimeException ( ERROR_OR_INIT_FA...
public class BackupManagerImpl { /** * Get parameters which passed from the file . * @ throws RepositoryConfigurationException */ private void readParamsFromFile ( ) { } }
PropertiesParam pps = initParams . getPropertiesParam ( BACKUP_PROPERTIES ) ; backupDir = pps . getProperty ( BACKUP_DIR ) ; // full backup type can be not defined . Using default . fullBackupType = pps . getProperty ( FULL_BACKUP_TYPE ) == null ? DEFAULT_VALUE_FULL_BACKUP_TYPE : pps . getProperty ( FULL_BACKUP_TYPE ) ...
public class PostgreSqlExceptionTranslator { /** * Package private for testability * @ param pSqlException PostgreSQL exception * @ return translated validation exception */ static MolgenisValidationException translateInvalidIntegerException ( PSQLException pSqlException ) { } }
ServerErrorMessage serverErrorMessage = pSqlException . getServerErrorMessage ( ) ; String message = serverErrorMessage . getMessage ( ) ; Matcher matcher = Pattern . compile ( "invalid input syntax for \\b(?:type )?\\b(.+?): \"(.*?)\"" ) . matcher ( message ) ; boolean matches = matcher . matches ( ) ; if ( ! matches ...
public class ObjectNameAddressUtil { /** * Straight conversion from an ObjectName to a PathAddress . * There may not necessarily be a Resource at this path address ( if that correspond to a pattern ) but it must * match a model in the registry . * @ param domain the name of the caller ' s JMX domain * @ param r...
if ( ! name . getDomain ( ) . equals ( domain ) ) { return PathAddress . EMPTY_ADDRESS ; } if ( name . equals ( ModelControllerMBeanHelper . createRootObjectName ( domain ) ) ) { return PathAddress . EMPTY_ADDRESS ; } final Hashtable < String , String > properties = name . getKeyPropertyList ( ) ; return searchPathAddr...
public class JavaDocument { /** * Override to apply syntax highlighting after the document has been updated */ @ Override public void insertString ( int offset , String str , AttributeSet a ) throws BadLocationException { } }
switch ( str ) { case "(" : str = addParenthesis ( ) ; break ; case "\n" : str = addWhiteSpace ( offset ) ; break ; case "\"" : str = addMatchingQuotationMark ( ) ; break ; case "{" : str = addMatchingBrace ( offset ) ; break ; } super . insertString ( offset , str , a ) ; processChangedLines ( offset , str . length ( ...
public class TypicalLoginAssist { @ Override public boolean checkUserLoginable ( LoginCredential credential ) { } }
final CredentialChecker checker = new CredentialChecker ( credential ) ; checkCredential ( checker ) ; if ( ! checker . isChecked ( ) ) { handleUnknownLoginCredential ( credential ) ; } return checker . isLoginable ( ) ;
public class ComputeNodeListHeaders { /** * Set the time at which the resource was last modified . * @ param lastModified the lastModified value to set * @ return the ComputeNodeListHeaders object itself . */ public ComputeNodeListHeaders withLastModified ( DateTime lastModified ) { } }
if ( lastModified == null ) { this . lastModified = null ; } else { this . lastModified = new DateTimeRfc1123 ( lastModified ) ; } return this ;
public class SynchroReader { /** * Extract calendar data . */ private void processCalendars ( ) throws IOException { } }
CalendarReader reader = new CalendarReader ( m_data . getTableData ( "Calendars" ) ) ; reader . read ( ) ; for ( MapRow row : reader . getRows ( ) ) { processCalendar ( row ) ; } m_project . setDefaultCalendar ( m_calendarMap . get ( reader . getDefaultCalendarUUID ( ) ) ) ;
public class PreferenceActivity { /** * Notifies all registered listeners , that a navigation preference has been removed from the * activity . * @ param navigationPreference * The navigation preference , which has been removed , as an instance of the class { @ link * NavigationPreference } . The navigation pre...
for ( NavigationListener listener : navigationListeners ) { listener . onNavigationPreferenceRemoved ( navigationPreference ) ; }
public class GenericTypeExtractor { /** * Extract generic type of root class either from the target base class or from target base interface . * Examples : * 1 . Foo implements IFoo [ Integer ] : * genericTypeOf ( Foo . class , Object . class , IFoo . class ) returns Integer * 2 . Foo extends BaseFoo [ String ]...
// looking for candidates in the hierarchy of rootClass Class < ? > match = rootClass ; while ( match != Object . class ) { // check the super class first if ( match . getSuperclass ( ) == targetBaseClass ) { return extractGeneric ( match . getGenericSuperclass ( ) ) ; } // check the interfaces ( recursively ) Type gen...
public class StandardBullhornData { /** * Makes the api call to delete a file attached to an entity . * @ param type * @ param entityId * @ param fileId * @ return */ protected FileApiResponse handleDeleteFile ( Class < ? extends FileEntity > type , Integer entityId , Integer fileId ) { } }
Map < String , String > uriVariables = restUriVariablesFactory . getUriVariablesDeleteFile ( BullhornEntityInfo . getTypesRestEntityName ( type ) , entityId , fileId ) ; String url = restUrlFactory . assembleDeleteFileUrl ( ) ; StandardFileApiResponse fileApiResponse = this . performCustomRequest ( url , null , Standar...
public class ActiveMQQueueJmxStats { /** * Return a new queue stats structure with the total of the stats from this structure and the one given . Returning * a new structure keeps all three structures unchanged , in the manner of immutability , to make it easier to have * safe usage under concurrency . Note that no...
ActiveMQQueueJmxStats result = new ActiveMQQueueJmxStats ( resultBrokerName , this . queueName ) ; result . setCursorPercentUsage ( this . getCursorPercentUsage ( ) ) ; result . setDequeueCount ( this . getDequeueCount ( ) + other . getDequeueCount ( ) ) ; result . setEnqueueCount ( this . getEnqueueCount ( ) + other ....
public class SQLManager { /** * Builds SQL SELECT to retrieve single row from a table based on type of database * @ param databaseType * @ param table * @ param columns * @ return String SQL SELECT statement */ static String buildSelectSingleRowSql ( String databaseType , String table , String columns ) { } }
switch ( databaseType ) { case SQL_SERVER_DB_TYPE : // syntax supported since SQLServer 2008 return "SELECT TOP(1) " + columns + " FROM " + table ; case ORACLE_DB_TYPE : return "SELECT " + columns + " FROM " + table + " FETCH NEXT 1 ROWS ONLY" ; case TERADATA_DB_TYPE : return "SELECT TOP 1 " + columns + " FROM " + tabl...
public class AccountCRCAlgs { /** * TODO : more tests */ public static boolean alg_52 ( int [ ] blz , int [ ] number ) { } }
boolean ok ; if ( number [ 0 ] == 9 ) { ok = alg_20 ( blz , number ) ; } else { // Kontonummer muss 8 - stellig sein ( mgl : number [ 2 ] darf 0 sein , d . h . Kontonummer faengt mit 0 an if ( number [ 0 ] != 0 || number [ 1 ] != 0 || number [ 2 ] == 0 ) { ok = false ; } else { int [ ] weights = new int [ ] { 4 , 2 , 1...
public class BooleanUtil { /** * Determines if the specified string contains ' true ' or ' 1' * @ param value a String representation of a boolean to convert * @ return a boolean * @ since 1.0.0 */ public static boolean valueOf ( String value ) { } }
return ( value != null ) && ( value . trim ( ) . equalsIgnoreCase ( "true" ) || value . trim ( ) . equals ( "1" ) ) ;
public class DefaultGroovyMethods { /** * Allows the closure to be called for the object reference self . * Any method invoked inside the closure will first be invoked on the * self reference . For example , the following method calls to the append ( ) * method are invoked on the StringBuilder instance and then ,...
@ SuppressWarnings ( "unchecked" ) final Closure < V > clonedClosure = ( Closure < V > ) closure . clone ( ) ; clonedClosure . setResolveStrategy ( Closure . DELEGATE_FIRST ) ; clonedClosure . setDelegate ( self ) ; V result = clonedClosure . call ( self ) ; return returning ? self : result ;
public class SQLTemplates { /** * template method for SELECT serialization * @ param metadata * @ param forCountRow * @ param context */ public void serialize ( QueryMetadata metadata , boolean forCountRow , SQLSerializer context ) { } }
context . serializeForQuery ( metadata , forCountRow ) ; if ( ! metadata . getFlags ( ) . isEmpty ( ) ) { context . serialize ( Position . END , metadata . getFlags ( ) ) ; }
public class EsaResourceImpl { /** * This generates the string that should be displayed on the website to indicate * the supported Java versions . The requirements come from the bundle manifests . * The mapping between the two is non - obvious , as it is the intersection between * the Java EE requirement and the ...
WlpInformation wlp = _asset . getWlpInformation ( ) ; JavaSEVersionRequirements reqs = wlp . getJavaSEVersionRequirements ( ) ; if ( reqs == null ) { return ; } String minVersion = reqs . getMinVersion ( ) ; // Null means no requirements specified which is fine if ( minVersion == null ) { return ; } String minJava11 = ...
public class CookieConverter { /** * Converts Selenium cookie to Apache http client . * @ param browserCookie selenium cookie . * @ return http client format . */ protected ClientCookie convertCookie ( Cookie browserCookie ) { } }
BasicClientCookie cookie = new BasicClientCookie ( browserCookie . getName ( ) , browserCookie . getValue ( ) ) ; String domain = browserCookie . getDomain ( ) ; if ( domain != null && domain . startsWith ( "." ) ) { // http client does not like domains starting with ' . ' , it always removes it when it receives them d...
public class CreateDeviceDefinitionRequest { /** * Tag ( s ) to add to the new resource * @ param tags * Tag ( s ) to add to the new resource * @ return Returns a reference to this object so that method calls can be chained together . */ public CreateDeviceDefinitionRequest withTags ( java . util . Map < String ,...
setTags ( tags ) ; return this ;
public class EndpointService { /** * Works only before { @ link # start ( ) } or after { @ link # stop ( ) } . * @ param listener to add */ public void addInventoryListener ( InventoryListener listener ) { } }
this . inventoryListenerSupport . inventoryListenerRWLock . writeLock ( ) . lock ( ) ; try { status . assertInitialOrStopped ( getClass ( ) , "addInventoryListener()" ) ; this . inventoryListenerSupport . inventoryListeners . add ( listener ) ; LOG . debugf ( "Added inventory listener [%s] for endpoint [%s]" , listener...
public class ProtectedFunctionMapper { /** * Stores a mapping from the given EL function prefix and name to * the given Java method . * @ param prefix The EL function prefix * @ param fnName The EL function name * @ param c The class containing the Java method * @ param methodName The name of the Java method ...
// 192474 start // We can get in to this method with null parameters if a JSP was compiled against the jsp - 2.3 feature but running in a jsp - 2.2 server . // This check is needed for the temporary JspClassInformation created in AbstractJSPExtensionServletWrapper class . if ( fnName == null ) { return ; } // 192474 en...
public class ResponseCreationSupport { /** * Shorthand for invoking * { @ link # sendStaticContent ( HttpRequest , IOSubchannel , Function , MaxAgeCalculator ) } * with the { @ link HttpRequest } from the event . Also sets the result * of the event to ` true ` and invokes { @ link Event # stop ( ) } * if a resp...
if ( sendStaticContent ( event . httpRequest ( ) , channel , resolver , maxAgeCalculator ) ) { event . setResult ( true ) ; event . stop ( ) ; return true ; } return false ;
public class StreamingEndpointsInner { /** * List StreamingEndpoints . * Lists the StreamingEndpoints in the account . * @ param nextPageLink The NextLink from the previous successful call to List operation . * @ throws IllegalArgumentException thrown if parameters fail the validation * @ return the observable ...
return listNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < StreamingEndpointInner > > , Page < StreamingEndpointInner > > ( ) { @ Override public Page < StreamingEndpointInner > call ( ServiceResponse < Page < StreamingEndpointInner > > response ) { return response . body ( ) ...
public class NumberFormat { /** * Sets the maximum number of digits allowed in the fraction portion of a * number . maximumFractionDigits must be > = minimumFractionDigits . If the * new value for maximumFractionDigits is less than the current value * of minimumFractionDigits , then minimumFractionDigits will als...
maximumFractionDigits = Math . max ( 0 , newValue ) ; if ( maximumFractionDigits < minimumFractionDigits ) { minimumFractionDigits = maximumFractionDigits ; }
public class SharedFlowController { /** * Store information about recent pages displayed . This is a framework - invoked method that should not normally be * called directly . */ public void savePreviousPageInfo ( ActionForward forward , ActionForm form , ActionMapping mapping , HttpServletRequest request , ServletCo...
// Special case : if the given forward has a path to a page in the current pageflow , let that pageflow save // the info on this page . Otherwise , don ' t ever save any info on what we ' re forwarding to . if ( ! isSpecialForward && forward != null ) // i . e . , it ' s a straight Forward to a path , not a navigateTo ...
public class KafkaMsgConsumer { /** * Commit the specified offsets for the last consumed message . * @ param msg * @ return { @ code true } if the topic is in subscription list , { @ code false } * otherwise * @ since 1.3.2 */ public boolean commit ( KafkaMessage msg ) { } }
KafkaConsumer < String , byte [ ] > consumer = _getConsumer ( msg . topic ( ) ) ; synchronized ( consumer ) { Set < String > subscription = consumer . subscription ( ) ; if ( subscription == null || ! subscription . contains ( msg . topic ( ) ) ) { // this consumer has not subscribed to the topic return false ; } else ...
public class RaftSessionConnection { /** * Sends a metadata request to the given node . * @ param request the request to send * @ return a future to be completed with the response */ public CompletableFuture < MetadataResponse > metadata ( MetadataRequest request ) { } }
CompletableFuture < MetadataResponse > future = new CompletableFuture < > ( ) ; if ( context . isCurrentContext ( ) ) { sendRequest ( request , protocol :: metadata , future ) ; } else { context . execute ( ( ) -> sendRequest ( request , protocol :: metadata , future ) ) ; } return future ;
public class Type { /** * Getter method for instance variable { @ link # classifiedByTypes } . * The method retrieves lazy the Classification Types . * @ return value of instance variable { @ link # classifiedByTypes } * @ throws EFapsException on error */ public Set < Classification > getClassifiedByTypes ( ) th...
if ( ! this . checked4classifiedBy ) { final QueryBuilder attrQueryBldr = new QueryBuilder ( CIAdminDataModel . TypeClassifies ) ; attrQueryBldr . addWhereAttrEqValue ( CIAdminDataModel . TypeClassifies . To , getId ( ) ) ; final AttributeQuery attrQuery = attrQueryBldr . getAttributeQuery ( CIAdminDataModel . TypeClas...
public class UploadCallable { /** * Uploads the given request in a single chunk and returns the result . */ private UploadResult uploadInOneChunk ( ) { } }
PutObjectResult putObjectResult = s3 . putObject ( origReq ) ; UploadResult uploadResult = new UploadResult ( ) ; uploadResult . setBucketName ( origReq . getBucketName ( ) ) ; uploadResult . setKey ( origReq . getKey ( ) ) ; uploadResult . setETag ( putObjectResult . getETag ( ) ) ; uploadResult . setVersionId ( putOb...
public class DataNode { /** * { @ inheritDoc } */ public LocatedBlock recoverBlock ( Block block , boolean keepLength , DatanodeInfo [ ] targets ) throws IOException { } }
// old client : use default namespace return recoverBlock ( getAllNamespaces ( ) [ 0 ] , block , keepLength , targets ) ;
public class Preconditions { /** * Ensures the value is not null . * @ param value value to be validated . * @ param errorMessage error message thrown if value is null . * @ param < T > type of value . * @ return value passed in if not null . */ @ Nonnull public static < T > T checkNotNull ( T value , @ Nonnull...
if ( value == null ) { throw new NullPointerException ( errorMessage ) ; } return value ;
public class CookieDeviceFingerprintComponentExtractor { /** * Create device finger print cookie . * @ param context the context * @ param request the request * @ param cookieValue the cookie value */ protected void createDeviceFingerPrintCookie ( final RequestContext context , final HttpServletRequest request , ...
val response = WebUtils . getHttpServletResponseFromExternalWebflowContext ( context ) ; cookieGenerator . addCookie ( request , response , cookieValue ) ;
public class GrailsNameUtils { /** * Returns a property name equivalent for the given setter name or null if it is not a valid setter . If not null * or empty the setter name is assumed to be a valid identifier . * @ param setterName The setter name , must be null or empty or a valid identifier name * @ return Th...
if ( setterName == null || setterName . length ( ) == 0 ) return null ; if ( setterName . startsWith ( "set" ) ) { String prop = setterName . substring ( 3 ) ; return convertValidPropertyMethodSuffix ( prop ) ; } return null ;
public class TransformerIdentityImpl { /** * Receive notification of the end of an element . * < p > By default , do nothing . Application writers may override this * method in a subclass to take specific actions at the end of * each element ( such as finalising a tree node or writing * output to a file ) . < /...
m_resultContentHandler . endElement ( uri , localName , qName ) ;
public class LogScribe { /** * Creates the default line prepend for a message . */ protected String createPrepend ( LogEvent e ) { } }
StringBuffer pre = new StringBuffer ( 80 ) ; String code = "??" ; switch ( e . getType ( ) ) { case LogEvent . DEBUG_TYPE : code = " D" ; break ; case LogEvent . INFO_TYPE : code = " I" ; break ; case LogEvent . WARN_TYPE : code = "*W" ; break ; case LogEvent . ERROR_TYPE : code = "*E" ; break ; } pre . append ( code )...
public class ClassUtils { /** * Get a certain annotation parameter of a { @ link TypeElement } . * See < a href = " https : / / stackoverflow . com / a / 10167558 " > stackoverflow . com < / a > for more information . * @ param typeElement the type element , that contains the requested annotation * @ param annota...
AnnotationMirror annotationMirror = getAnnotationMirror ( typeElement , annotationClass ) ; return ( annotationMirror != null ) ? getAnnotationValue ( annotationMirror , annotationParameter ) : null ;
public class IOUtil { /** * 加载词典 , 词典必须遵守HanLP核心词典格式 * @ param pathArray 词典路径 , 可以有任意个 。 每个路径支持用空格表示默认词性 , 比如 “ 全国地名大全 . txt ns ” * @ return 一个储存了词条的map * @ throws IOException 异常表示加载失败 */ public static TreeMap < String , CoreDictionary . Attribute > loadDictionary ( String ... pathArray ) throws IOException { } }
TreeMap < String , CoreDictionary . Attribute > map = new TreeMap < String , CoreDictionary . Attribute > ( ) ; for ( String path : pathArray ) { File file = new File ( path ) ; String fileName = file . getName ( ) ; int natureIndex = fileName . lastIndexOf ( ' ' ) ; Nature defaultNature = Nature . n ; if ( natureIndex...
public class DefaultThemeController { /** * Removes all link tags in the head if not initialized . */ private void removeCssLinks ( ) { } }
if ( this . isInit ) { return ; } this . isInit = true ; // Remove all existing link element NodeList < Element > links = this . getHead ( ) . getElementsByTagName ( LinkElement . TAG ) ; int size = links . getLength ( ) ; for ( int i = 0 ; i < size ; i ++ ) { LinkElement elem = LinkElement . as ( links . getItem ( 0 )...
public class DevUtils { /** * Log a warning message to the logger ' org . archive . util . DevUtils ' made of * the passed ' note ' and a stack trace based off passed exception . * @ param ex Exception we print a stacktrace on . * @ param note Message to print ahead of the stacktrace . */ public static void warnH...
logger . warning ( TextUtils . exceptionToString ( note , ex ) ) ;
public class SwipeLayout { /** * bind a view with a specific * { @ link com . daimajia . swipe . SwipeLayout . OnRevealListener } * @ param childId the view id . * @ param l the target * { @ link com . daimajia . swipe . SwipeLayout . OnRevealListener } */ public void addRevealListener ( int childId , OnRevealL...
View child = findViewById ( childId ) ; if ( child == null ) { throw new IllegalArgumentException ( "Child does not belong to SwipeListener." ) ; } if ( ! mShowEntirely . containsKey ( child ) ) { mShowEntirely . put ( child , false ) ; } if ( mRevealListeners . get ( child ) == null ) mRevealListeners . put ( child , ...
public class Type2Message { /** * Returns the default flags for a Type - 2 message created in response * to the given Type - 1 message in the current environment . * @ return An < code > int < / code > containing the default flags . */ public static int getDefaultFlags ( Type1Message type1 ) { } }
if ( type1 == null ) return DEFAULT_FLAGS ; int flags = NTLMSSP_NEGOTIATE_NTLM ; int type1Flags = type1 . getFlags ( ) ; flags |= ( ( type1Flags & NTLMSSP_NEGOTIATE_UNICODE ) != 0 ) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM ; if ( ( type1Flags & NTLMSSP_REQUEST_TARGET ) != 0 ) { String domain = getDefaultDoma...
public class XDSRepositoryAuditor { /** * Audits an ITI - 42 Register Document Set - b event for XDS . b Document Repository actors . * @ param eventOutcome The event outcome indicator * @ param registryEndpointUri The endpoint of the registry in this transaction * @ param submissionSetUniqueId The UniqueID of th...
if ( ! isAuditorEnabled ( ) ) { return ; } auditRegisterEvent ( new IHETransactionEventTypeCodes . RegisterDocumentSetB ( ) , eventOutcome , repositoryUserId , userName , registryEndpointUri , submissionSetUniqueId , patientId , purposesOfUse , userRoles ) ;
public class ArtifactoryCollectorTask { /** * Clean up unused artifactory collector items * @ param collector the { @ link ArtifactoryCollector } */ private void clean ( ArtifactoryCollector collector , List < ArtifactoryRepo > existingRepos ) { } }
// find the server url ' s to collect from Set < String > serversToBeCollected = new HashSet < > ( ) ; serversToBeCollected . addAll ( collector . getArtifactoryServers ( ) ) ; // find the repos to collect from each server url above List < Set < String > > repoNamesToBeCollected = new ArrayList < Set < String > > ( ) ;...
public class SelectByMinFunction { /** * Reduce implementation , returns smaller tuple or value1 if both tuples are * equal . Comparison highly depends on the order and amount of fields chosen * as indices . All given fields ( at construction time ) are checked in the same * order as defined ( at construction tim...
"unchecked" , "rawtypes" } ) @ Override public T reduce ( T value1 , T value2 ) throws Exception { for ( int position : fields ) { // Save position of compared key // Get both values - both implement comparable Comparable comparable1 = value1 . getFieldNotNull ( position ) ; Comparable comparable2 = value2 . getFieldNo...
public class ListWebACLsResult { /** * An array of < a > WebACLSummary < / a > objects . * @ param webACLs * An array of < a > WebACLSummary < / a > objects . */ public void setWebACLs ( java . util . Collection < WebACLSummary > webACLs ) { } }
if ( webACLs == null ) { this . webACLs = null ; return ; } this . webACLs = new java . util . ArrayList < WebACLSummary > ( webACLs ) ;
public class CmsRemoteShellClient { /** * Updates the internal client state based on the state received from the server . < p > * @ param result the result of the last shell command execution */ private void updateState ( CmsShellCommandResult result ) { } }
m_errorCode = result . getErrorCode ( ) ; m_prompt = result . getPrompt ( ) ; m_exitCalled = result . isExitCalled ( ) ; m_hasError = result . hasError ( ) ; m_echo = result . hasEcho ( ) ;
public class AmazonLightsailClient { /** * Returns information about a specific instance snapshot . * @ param getInstanceSnapshotRequest * @ return Result of the GetInstanceSnapshot operation returned by the service . * @ throws ServiceException * A general service exception . * @ throws InvalidInputException...
request = beforeClientExecution ( request ) ; return executeGetInstanceSnapshot ( request ) ;
public class MultipleInvocationListener { /** * { @ inheritDoc } */ public void willInvoke ( Method method , List < JsonNode > arguments ) { } }
for ( InvocationListener invocationListener : invocationListeners ) { invocationListener . willInvoke ( method , arguments ) ; }
public class Mealy2ETFWriterIO { /** * Write ETF parts specific for Mealy machines with IO semantics . * Writes : * - the initial state , * - the valuations for the state ids , * - the transitions , * - the input alphabet ( for the input labels on edges ) , * - the output alphabet ( for the output labels on...
writeETFInternal ( pw , mealy , inputs ) ;
public class StatefulBeanO { /** * Remove this < code > SessionBeanO < / code > instance . < p > */ @ Override public final synchronized void remove ( ) throws RemoteException , RemoveException { } }
final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "remove: " + this ) ; // It ' s debatable whether a session bean whose ejbRemove fails // should be kept around or whether the container should // unilaterally destroy it . For now , allow ...
public class GetInstanceStateRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( GetInstanceStateRequest getInstanceStateRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( getInstanceStateRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getInstanceStateRequest . getInstanceName ( ) , INSTANCENAME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to ...
public class NotDependsOn { /** * { @ inheritDoc } */ public final String toDebugString ( ) { } }
final StringBuilder sb = new StringBuilder ( ) ; sb . append ( "packageName=" + getPackageName ( ) + ", " ) ; sb . append ( "includeSubPackages=" + isIncludeSubPackages ( ) + ", " ) ; sb . append ( "comment=" + comment ) ; return sb . toString ( ) ;
public class GenericCollectionTypeResolver { /** * Determine the generic key type of the given Map class * ( if it declares one through a generic superclass or generic interface ) . * @ param mapClass the map class to introspect * @ return the generic type , or { @ code null } if none */ @ SuppressWarnings ( "raw...
return ResolvableType . forClass ( mapClass ) . asMap ( ) . resolveGeneric ( 0 ) ;
public class EpubMetadata { /** * Parse the container file to get the list of all rootfile packages . */ private List < String > getRootfiles ( ZipInputStream zipStream ) throws Exception { } }
List < String > rootfiles = new ArrayList < > ( ) ; ZipEntry entry = null ; while ( ( entry = zipStream . getNextEntry ( ) ) != null ) { String entryName = entry . getName ( ) ; if ( entryName . endsWith ( "META-INF/container.xml" ) ) { ByteArrayOutputStream content = getZipEntryContent ( zipStream , entry ) ; Document...
public class DescribeScalingActivitiesResult { /** * A list of scaling activity objects . * @ param scalingActivities * A list of scaling activity objects . */ public void setScalingActivities ( java . util . Collection < ScalingActivity > scalingActivities ) { } }
if ( scalingActivities == null ) { this . scalingActivities = null ; return ; } this . scalingActivities = new java . util . ArrayList < ScalingActivity > ( scalingActivities ) ;
public class TargetingIdeaServiceLocator { /** * For the given interface , get the stub implementation . * If this service has no port for the given interface , * then ServiceException is thrown . */ public java . rmi . Remote getPort ( Class serviceEndpointInterface ) throws javax . xml . rpc . ServiceException { ...
try { if ( com . google . api . ads . adwords . axis . v201809 . o . TargetingIdeaServiceInterface . class . isAssignableFrom ( serviceEndpointInterface ) ) { com . google . api . ads . adwords . axis . v201809 . o . TargetingIdeaServiceSoapBindingStub _stub = new com . google . api . ads . adwords . axis . v201809 . o...
public class CollectionUtil { /** * Remove element from a list if it matches a predicate . * < b > Note : < / b > the list must implement { @ link java . util . RandomAccess } to be efficient . * @ param values to be iterated over . * @ param predicate to test the value against * @ param < T > type of the value...
int size = values . size ( ) ; int total = 0 ; for ( int i = 0 ; i < size ; ) { final T value = values . get ( i ) ; if ( predicate . test ( value ) ) { values . remove ( i ) ; total ++ ; size -- ; } else { i ++ ; } } return total ;
public class StringUtils { /** * Check whether the given { @ code CharSequence } contains any whitespace characters . * @ param str the { @ code CharSequence } to check ( may be { @ code null } ) * @ return { @ code true } if the { @ code CharSequence } is not empty and contains at least 1 * whitespace character ...
if ( ! StringUtils . hasLength ( str ) ) { return false ; } final int strLen = str . length ( ) ; for ( int i = 0 ; i < strLen ; i ++ ) { if ( Character . isWhitespace ( str . charAt ( i ) ) ) { return true ; } } return false ;
public class CLI { /** * Connect to the server using a specified host and port . * @ param controllerHost The host name . * @ param controllerPort The port . * @ param username The user name for logging in . * @ param password The password for logging in . */ public void connect ( String controllerHost , int co...
connect ( "remote+http" , controllerHost , controllerPort , username , password , null ) ;
public class Selector { /** * Gets the ordering value for this Selector . * @ return ordering * The fields on which you want to sort , and the sort order . The * order in the list is * significant : The first element in the list indicates * the primary sort order , the next * specifies the secondary sort orde...
return ordering ;
public class TemplateParser { /** * In some cases we want to skip expression processing for optimization . This is when we are sure * the expression is valid and there is no need to create a Java method for it . * @ param expressionString The expression to asses * @ return true if we can skip the expression */ pr...
// We don ' t skip if it ' s a component prop as we want Java validation // We don ' t optimize String expression , as we want GWT to convert Java values // to String for us ( Enums , wrapped primitives . . . ) return currentProp == null && ! String . class . getCanonicalName ( ) . equals ( currentExpressionReturnType ...
public class MUCScorer { /** * Returns absent if the score is undefined ( e . g . one side is all singletons ) . */ public Optional < FMeasureInfo > score ( final Iterable < ? extends Iterable < ? > > predicted , final Iterable < ? extends Iterable < ? > > gold ) { } }
final List < Set < Object > > predictedAsSets = CorefScorerUtils . toSets ( predicted ) ; final List < Set < Object > > goldAsSets = CorefScorerUtils . toSets ( gold ) ; final Map < Object , Set < Object > > predictedItemToGroup = CollectionUtils . makeElementsToContainersMap ( predictedAsSets ) ; final Map < Object , ...
public class JsJmsTextMessageImpl { /** * Return a DOM Document representation of the message payload . * Javadoc description supplied by the JsApiMessageImpl superclass . */ final Document getPayloadDocument ( ) throws ParserConfigurationException , IOException , UnsupportedEncodingException { } }
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "getPayloadDocument" ) ; Document domDoc = null ; // If we already have a Document cached we don ' t need to build it again if ( softRefToDocument != null ) { domDoc = softRefToDocument . get ( ) ; } // Otherwise we '...
public class HTTaxinvoiceServiceImp { /** * ( non - Javadoc ) * @ see com . popbill . api . HTTaxinvoiceService # GetXML ( java . lang . String , java . lang . String , java . lang . String ) */ @ Override public HTTaxinvoiceXMLResponse getXML ( String CorpNum , String NTSConfirmNum , String UserID ) throws PopbillEx...
if ( NTSConfirmNum . length ( ) != 24 ) throw new PopbillException ( - 99999999 , "국세청승인번호가 올바르지 않았습니다." ) ; return httpget ( "/HomeTax/Taxinvoice/" + NTSConfirmNum + "?T=xml" , CorpNum , UserID , HTTaxinvoiceXMLResponse . class ) ;
public class StringUtil { /** * Get the stack trace of the supplied exception . * @ param throwable the exception for which the stack trace is to be returned * @ return the stack trace , or null if the supplied exception is null */ public static String getStackTrace ( Throwable throwable ) { } }
if ( throwable == null ) return null ; final ByteArrayOutputStream bas = new ByteArrayOutputStream ( ) ; final PrintWriter pw = new PrintWriter ( bas ) ; throwable . printStackTrace ( pw ) ; pw . close ( ) ; return bas . toString ( ) ;
public class ApiOvhSms { /** * Sms sent associated to the sms account * REST : GET / sms / { serviceName } / virtualNumbers / { number } / outgoing * @ param sender [ required ] Filter the value of sender property ( = ) * @ param receiver [ required ] Filter the value of receiver property ( = ) * @ param tag [ ...
String qPath = "/sms/{serviceName}/virtualNumbers/{number}/outgoing" ; StringBuilder sb = path ( qPath , serviceName , number ) ; query ( sb , "creationDatetime.from" , creationDatetime_from ) ; query ( sb , "creationDatetime.to" , creationDatetime_to ) ; query ( sb , "deliveryReceipt" , deliveryReceipt ) ; query ( sb ...
public class CenterLossOutputLayer { /** * Compute the score for each example individually , after labels and input have been set . * @ param fullNetRegTerm Regularization term for the entire network ( or , 0.0 to not include regularization ) * @ return A column INDArray of shape [ numExamples , 1 ] , where entry i...
if ( input == null || labels == null ) throw new IllegalStateException ( "Cannot calculate score without input and labels " + layerId ( ) ) ; INDArray preOut = preOutput2d ( false , workspaceMgr ) ; // calculate the intra - class score component INDArray centers = params . get ( CenterLossParamInitializer . CENTER_KEY ...
public class PortletPreferencesJsonDaoImpl { /** * Read the specified portlet preference and parse it as a JSON string into the specified type . * If the preference is null returns null . * @ param prefs Preferences to read from * @ param key Preference key to read from * @ param type The class type parse the J...
final String prefValue = StringUtils . trimToNull ( prefs . getValue ( key , null ) ) ; if ( prefValue == null ) { return null ; } return mapper . readValue ( prefValue , type ) ;
public class XGMMLUtility { /** * Write the XGMML start using the { @ code graphName } as the label . * @ param name { @ link String } , the name of the XGMML graph * @ param writer { @ link PrintWriter } , the writer */ public static void writeStart ( String name , PrintWriter writer ) { } }
StringBuilder sb = new StringBuilder ( ) ; sb . append ( "<graph xmlns='http://www.cs.rpi.edu/XGMML' " ) . append ( "xmlns:ns2='http://www.w3.org/1999/xlink' " ) . append ( "xmlns:cy='http://www.cytoscape.org' " ) . append ( "Graphic='1' label='" ) . append ( name ) . append ( "' directed='1'>\n" ) ; writer . write ( s...
public class TeaToolsUtils { /** * Loads and returns the runtime context classes specified by the * ContextClassEntry array . * @ return a 2 element Object array : < br > * < pre > * index [ 0 ] is the Class [ ] containing the context classes . * index [ 1 ] is the String [ ] containing the context prefix nam...
if ( loader == null ) { throw new IllegalArgumentException ( "ClassLoader is null" ) ; } if ( contextClasses == null || contextClasses . length == 0 ) { throw new IllegalArgumentException ( "No Context Classes" ) ; } Vector < Class < ? > > classVector = new Vector < Class < ? > > ( contextClasses . length ) ; String [ ...
public class Model { /** * 获得特征所在权重数组 * @ param featureStr * @ return */ public float [ ] getFeature ( char ... chars ) { } }
if ( chars == null ) { return null ; } SmartForest < float [ ] > sf = featureTree ; sf = sf . getBranch ( chars ) ; if ( sf == null || sf . getParam ( ) == null ) { return null ; } return sf . getParam ( ) ;
public class rewritepolicy_rewritepolicylabel_binding { /** * Use this API to fetch filtered set of rewritepolicy _ rewritepolicylabel _ binding resources . * filter string should be in JSON format . eg : " port : 80 , servicetype : HTTP " . */ public static rewritepolicy_rewritepolicylabel_binding [ ] get_filtered (...
rewritepolicy_rewritepolicylabel_binding obj = new rewritepolicy_rewritepolicylabel_binding ( ) ; obj . set_name ( name ) ; options option = new options ( ) ; option . set_filter ( filter ) ; rewritepolicy_rewritepolicylabel_binding [ ] response = ( rewritepolicy_rewritepolicylabel_binding [ ] ) obj . getfiltered ( ser...
public class Matrix4d { /** * Apply an arcball view transformation to this matrix with the given < code > radius < / code > and < code > center < / code > * position of the arcball and the specified X and Y rotation angles . * This method is equivalent to calling : < code > translate ( 0 , 0 , - radius ) . rotateX ...
return arcball ( radius , center . x ( ) , center . y ( ) , center . z ( ) , angleX , angleY , this ) ;
public class AsynchronousRequest { /** * For more info on Finishers API go < a href = " https : / / wiki . guildwars2 . com / wiki / API : 2 / finishers " > here < / a > < br / > * Give user the access to { @ link Callback # onResponse ( Call , Response ) } and { @ link Callback # onFailure ( Call , Throwable ) } met...
gw2API . getAllFinisherIDs ( ) . enqueue ( callback ) ;
public class BidiagonalDecompositionRow_DDRM { /** * Sets up internal data structures and creates a copy of the input matrix . * @ param A The input matrix . Not modified . */ protected void init ( DMatrixRMaj A ) { } }
UBV = A ; m = UBV . numRows ; n = UBV . numCols ; min = Math . min ( m , n ) ; int max = Math . max ( m , n ) ; if ( b . length < max + 1 ) { b = new double [ max + 1 ] ; u = new double [ max + 1 ] ; } if ( gammasU . length < m ) { gammasU = new double [ m ] ; } if ( gammasV . length < n ) { gammasV = new double [ n ] ...
public class OperationSupport { /** * Create a resource . * @ param resource resource provided * @ param outputType resource type you want as output * @ param < T > template argument for output type * @ param < I > template argument for resource * @ return returns de - serialized version of apiserver response...
RequestBody body = RequestBody . create ( JSON , JSON_MAPPER . writeValueAsString ( resource ) ) ; Request . Builder requestBuilder = new Request . Builder ( ) . post ( body ) . url ( getNamespacedUrl ( checkNamespace ( resource ) ) ) ; return handleResponse ( requestBuilder , outputType , Collections . < String , Stri...
public class FpKit { /** * Concatenates ( appends ) a single elements to an existing list * @ param l the list onto which to append the element * @ param t the element to append * @ param < T > the type of elements of the list * @ return a < strong > new < / strong > list componsed of the first list elements an...
return concat ( l , singletonList ( t ) ) ;
public class AfplibFactoryImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ public BDDUBASE createBDDUBASEFromString ( EDataType eDataType , String initialValue ) { } }
BDDUBASE result = BDDUBASE . get ( initialValue ) ; if ( result == null ) throw new IllegalArgumentException ( "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType . getName ( ) + "'" ) ; return result ;
public class WebAppTypeImpl { /** * If not already created , a new < code > session - config < / code > element will be created and returned . * Otherwise , the first existing < code > session - config < / code > element will be returned . * @ return the instance defined for the element < code > session - config < ...
List < Node > nodeList = childNode . get ( "session-config" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new SessionConfigTypeImpl < WebAppType < T > > ( this , "session-config" , childNode , nodeList . get ( 0 ) ) ; } return createSessionConfig ( ) ;
public class AppDescriptor { /** * Deserialize an ` AppDescriptor ` from byte array * @ param bytes * the byte array * @ return * an ` AppDescriptor ` instance */ public static AppDescriptor deserializeFrom ( byte [ ] bytes ) { } }
try { ByteArrayInputStream bais = new ByteArrayInputStream ( bytes ) ; ObjectInputStream ois = new ObjectInputStream ( bais ) ; return ( AppDescriptor ) ois . readObject ( ) ; } catch ( IOException e ) { throw E . ioException ( e ) ; } catch ( ClassNotFoundException e ) { throw E . unexpected ( e ) ; }
public class JBasePanel { /** * Get the sub - component with this name . * @ param strName The name I ' m looking for . * @ param parent The container to start the search from . * @ return The component with this name ( or null ) . */ public Component getComponentByName ( String strName , Container parent ) { } }
for ( int i = 0 ; i < parent . getComponentCount ( ) ; i ++ ) { Component component = parent . getComponent ( i ) ; if ( strName . equals ( component . getName ( ) ) ) return component ; if ( component instanceof Container ) { component = this . getComponentByName ( strName , ( Container ) component ) ; if ( component ...
public class nspbr6_stats { /** * Use this API to fetch the statistics of all nspbr6 _ stats resources that are configured on netscaler . */ public static nspbr6_stats [ ] get ( nitro_service service , options option ) throws Exception { } }
nspbr6_stats obj = new nspbr6_stats ( ) ; nspbr6_stats [ ] response = ( nspbr6_stats [ ] ) obj . stat_resources ( service , option ) ; return response ;
public class DeleteLambdaMojo { /** * The entry point into the AWS lambda function . */ public void execute ( ) throws MojoExecutionException { } }
super . execute ( ) ; try { lambdaFunctions . forEach ( context -> { try { deleteTriggers . andThen ( deleteFunction ) . apply ( context . withFunctionArn ( lambdaClient . getFunction ( new GetFunctionRequest ( ) . withFunctionName ( context . getFunctionName ( ) ) ) . getConfiguration ( ) . getFunctionArn ( ) ) ) ; } ...
public class Example { /** * Constructs an example from the given { @ code inputVar } and { @ code outputVar } * @ param inputVar * @ param outputVar */ public static < I , O > Example < I , O > create ( I input , O output ) { } }
return new Example < I , O > ( input , output ) ;
public class JaxbUtils { /** * Convert a string to an object of a given class . * @ param cl Type of object * @ param s Input string * @ return Object of the given type */ public static < T > T unmarshal ( Class < T > cl , String s ) throws JAXBException { } }
return unmarshal ( cl , new StringReader ( s ) ) ;
public class AmazonWorkspacesClient { /** * Creates an IP access control group . * An IP access control group provides you with the ability to control the IP addresses from which users are allowed * to access their WorkSpaces . To specify the CIDR address ranges , add rules to your IP access control group and * t...
request = beforeClientExecution ( request ) ; return executeCreateIpGroup ( request ) ;
public class FuzzyActivityDomain { /** * Add one or more sensor events to this { @ link MetaConstraint } . * @ param events The events to add . */ public void addFuzzySensorEvents ( FuzzySensorEvent ... events ) { } }
for ( FuzzySensorEvent e : events ) updateSensorData ( e ) ; for ( int i = 0 ; i < solver . getVariables ( ) . length ; i ++ ) { groundActivity . add ( ( FuzzyActivity ) solver . getVariables ( ) [ i ] ) ; } setCrispCons ( ) ;
public class DB { /** * Updates a post meta value if it exists or inserts if it does not . * @ param postId The post id . * @ param metaKey The key . * @ param metaValue The value . * @ throws SQLException on database error . */ public void updatePostMetaValue ( final long postId , final String metaKey , final ...
Meta currMeta = selectPostMetaValue ( postId , metaKey ) ; if ( currMeta == null ) { Connection conn = null ; PreparedStatement stmt = null ; Timer . Context ctx = metrics . setPostMetaTimer . time ( ) ; try { conn = connectionSupplier . getConnection ( ) ; stmt = conn . prepareStatement ( insertPostMetaSQL ) ; stmt . ...
public class LinuxUtils { /** * Checks if the given extension is already registered . * @ param fileTypeExtension File extension with leading dot , e . g . * < code > . bar < / code > . * @ return < code > true < / code > if extension is registered , < code > false < / code > * otherwise . * @ throws OSExcept...
try { getFileExtension ( fileTypeExtension ) ; return true ; } catch ( OSException e ) { return false ; }
public class ColorPickerDialog { /** * region Presets Picker */ View createPresetsView ( ) { } }
View contentView = View . inflate ( getActivity ( ) , R . layout . cpv_dialog_presets , null ) ; shadesLayout = ( LinearLayout ) contentView . findViewById ( R . id . shades_layout ) ; transparencySeekBar = ( SeekBar ) contentView . findViewById ( R . id . transparency_seekbar ) ; transparencyPercText = ( TextView ) co...
public class GLINERGImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ public void setXPOS ( Integer newXPOS ) { } }
Integer oldXPOS = xpos ; xpos = newXPOS ; if ( eNotificationRequired ( ) ) eNotify ( new ENotificationImpl ( this , Notification . SET , AfplibPackage . GLINERG__XPOS , oldXPOS , xpos ) ) ;
public class PreconditionRequired { /** * Returns a static PreconditionRequired instance and set the { @ link # payload } thread local * with cause specified . * When calling the instance on { @ link # getMessage ( ) } method , it will return whatever * stored in the { @ link # payload } thread local * @ param ...
if ( _localizedErrorMsg ( ) ) { return of ( cause , defaultMessage ( PRECONDITION_REQUIRED ) ) ; } else { touchPayload ( ) . cause ( cause ) ; return _INSTANCE ; }
public class CDBFactory { /** * Used by iSCSI transport layer to decode CDB data off the wire . * @ param input * @ return * @ throws BufferUnderflowException * @ throws IOException */ @ SuppressWarnings ( "unchecked" ) public CDB decode ( ByteBuffer input ) throws IOException { } }
byte [ ] opcode = new byte [ 1 ] ; input . duplicate ( ) . get ( opcode ) ; // Read in the operation code without changing the position DataInputStream in = new DataInputStream ( new ByteArrayInputStream ( opcode ) ) ; int operationCode = in . readUnsignedByte ( ) ; if ( ! _cdbs . containsKey ( operationCode ) ) { thro...
public class ApiOvhDedicatedCloud { /** * Change Private Cloud user properties * REST : POST / dedicatedCloud / { serviceName } / user / { userId } / changeProperties * @ param fullAdminRo [ required ] Defines if the user is a full admin in readonly * @ param canManageNetwork [ required ] Defines if the user can ...
String qPath = "/dedicatedCloud/{serviceName}/user/{userId}/changeProperties" ; StringBuilder sb = path ( qPath , serviceName , userId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "canManageIpFailOvers" , canManageIpFailOvers ) ; addBody ( o , "canManageNetwork" , canManageNet...