signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class HessianDebugOutputStream { /** * closes the stream . */
@ Override public void close ( ) throws IOException { } } | OutputStream os = _os ; _os = null ; if ( os != null ) { _state . next ( - 1 ) ; os . close ( ) ; } _state . println ( ) ; |
public class EnumUtils { /** * < p > Creates a long bit vector representation of the given array of Enum values . < / p >
* < p > This generates a value that is usable by { @ link EnumUtils # processBitVector } . < / p >
* < p > Do not use this method if you have more than 64 values in your Enum , as this
* would... | Validate . noNullElements ( values ) ; return generateBitVector ( enumClass , Arrays . asList ( values ) ) ; |
public class ObjectInputStream { /** * Reads a new proxy class descriptor from the receiver . It is assumed the
* proxy class descriptor has not been read yet ( not a cyclic reference ) .
* Return the proxy class descriptor read .
* @ return The { @ code Class } read from the stream .
* @ throws IOException
*... | int count = input . readInt ( ) ; String [ ] interfaceNames = new String [ count ] ; for ( int i = 0 ; i < count ; i ++ ) { interfaceNames [ i ] = input . readUTF ( ) ; } Class < ? > proxy = resolveProxyClass ( interfaceNames ) ; // Consume unread class annotation data and TC _ ENDBLOCKDATA
discardData ( ) ; return pro... |
public class Document { /** * Resets the header of this document . */
public void resetHeader ( ) { } } | this . header = null ; DocListener listener ; for ( Iterator iterator = listeners . iterator ( ) ; iterator . hasNext ( ) ; ) { listener = ( DocListener ) iterator . next ( ) ; listener . resetHeader ( ) ; } |
public class Namespace { /** * Returns a namespace entity using the provided namespace qualifier .
* @ param em The entity manager . Cannot be null .
* @ param qualifier The qualifier . Cannot be null or empty .
* @ return The namespace or null if no corresponding namespace is found . */
public static Namespace f... | SystemAssert . requireArgument ( em != null , "EntityManager cannot be null." ) ; SystemAssert . requireArgument ( qualifier != null && ! qualifier . isEmpty ( ) , "Namespace qualifier cannot be null or empty." ) ; TypedQuery < Namespace > query = em . createNamedQuery ( "Namespace.findByQualifier" , Namespace . class ... |
public class RestTool { /** * Makes a call to the MangoPay API .
* This generic method handles calls targeting collections of
* < code > Dto < / code > instances . In order to process single objects ,
* use < code > request < / code > method instead .
* @ param < T > Type on behalf of which the request is being... | this . requestType = requestType ; this . requestData = requestData ; List < T > responseResult = this . doRequestList ( classOfT , classOfTItem , urlMethod , pagination , additionalUrlParams ) ; if ( pagination != null ) { pagination = this . pagination ; } return responseResult ; |
public class ObjectUtility { /** * Return true if the object are NOT equals . < br / >
* This method is NullPointerException - proof
* @ param object1 first object to compare
* @ param object2 second object to compare
* @ return true if the object are NOT equals */
public static boolean notEquals ( final Object... | return object1 != null && ! object1 . equals ( object2 ) || object1 == null && object2 != null ; |
public class Parser { /** * SourceElement */
private ParseTree parseScriptElement ( ) { } } | if ( peekImportDeclaration ( ) ) { return parseImportDeclaration ( ) ; } if ( peekExportDeclaration ( ) ) { return parseExportDeclaration ( false ) ; } if ( peekInterfaceDeclaration ( ) ) { return parseInterfaceDeclaration ( ) ; } if ( peekEnumDeclaration ( ) ) { return parseEnumDeclaration ( ) ; } if ( peekTypeAlias (... |
public class AbstractListPreference { /** * Return the index of the entry , a specific value corresponds to .
* @ param value
* The value of the entry , whose index should be returned , as an instance of the type
* { @ link CharSequence }
* @ return The index of the entry , the given value corresponds to , as a... | if ( value != null && getEntryValues ( ) != null ) { for ( int i = getEntryValues ( ) . length - 1 ; i >= 0 ; i -- ) { if ( getEntryValues ( ) [ i ] . equals ( value ) ) { return i ; } } } return - 1 ; |
public class Streams { /** * Group data in a Stream using knowledge of the current batch and the next entry to determing grouping limits
* @ see Traversable # groupedUntil ( BiPredicate )
* @ param stream Stream to group
* @ param predicate Predicate to determine grouping
* @ return Stream grouped into Lists de... | return StreamSupport . stream ( new GroupedStatefullySpliterator < > ( stream . spliterator ( ) , ( ) -> Seq . of ( ) , Function . identity ( ) , predicate . negate ( ) ) , stream . isParallel ( ) ) ; |
public class nsconnectiontable { /** * Use this API to fetch all the nsconnectiontable resources that are configured on netscaler . */
public static nsconnectiontable [ ] get ( nitro_service service ) throws Exception { } } | nsconnectiontable obj = new nsconnectiontable ( ) ; nsconnectiontable [ ] response = ( nsconnectiontable [ ] ) obj . get_resources ( service ) ; return response ; |
public class UpdateAcceleratorAttributesRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( UpdateAcceleratorAttributesRequest updateAcceleratorAttributesRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( updateAcceleratorAttributesRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateAcceleratorAttributesRequest . getAcceleratorArn ( ) , ACCELERATORARN_BINDING ) ; protocolMarshaller . marshall ( updateAcceleratorAttributesReq... |
public class Expression { /** * Return results that match either < code > Dimension < / code > object .
* @ param or
* Return results that match either < code > Dimension < / code > object . */
public void setOr ( java . util . Collection < Expression > or ) { } } | if ( or == null ) { this . or = null ; return ; } this . or = new java . util . ArrayList < Expression > ( or ) ; |
public class Wikipedia { /** * Gets the pages or redirects with a name similar to the pattern .
* Calling this method is quite costly , as similarity is computed for all names .
* @ param pPattern The pattern .
* @ param pSize The maximum size of the result list . Only the most similar results will be included . ... | Title title = new Title ( pPattern ) ; String pattern = title . getWikiStyleTitle ( ) ; // a mapping of the most similar pages and their similarity values
// It is returned by this method .
Map < Page , Double > pageMap = new HashMap < Page , Double > ( ) ; // holds a mapping of the best distance values to page IDs
Map... |
public class BaseSynthesizer { /** * Get a form of a given AnalyzedToken , where the form is defined by a
* part - of - speech tag .
* @ param token AnalyzedToken to be inflected .
* @ param posTag The desired part - of - speech tag .
* @ return inflected words , or an empty array if no forms were found */
@ Ov... | List < String > wordForms = new ArrayList < > ( ) ; lookup ( token . getLemma ( ) , posTag , wordForms ) ; return wordForms . toArray ( new String [ 0 ] ) ; |
public class GolangGenerator { /** * Recursively traverse groups to create the group properties */
private void generateGroupProperties ( final StringBuilder sb , final List < Token > tokens , final String prefix ) { } } | for ( int i = 0 , size = tokens . size ( ) ; i < size ; i ++ ) { final Token token = tokens . get ( i ) ; if ( token . signal ( ) == Signal . BEGIN_GROUP ) { final String propertyName = formatPropertyName ( token . name ( ) ) ; generateId ( sb , prefix , propertyName , token ) ; generateSinceActingDeprecated ( sb , pre... |
public class AssetsApi { /** * Get character asset names ( asynchronously ) Return names for a set of item
* ids , which you can get from character assets endpoint . Typically used for
* items that can customize names , like containers or ships . - - - SSO Scope :
* esi - assets . read _ assets . v1
* @ param c... | com . squareup . okhttp . Call call = postCharactersCharacterIdAssetsNamesValidateBeforeCall ( characterId , requestBody , datasource , token , callback ) ; Type localVarReturnType = new TypeToken < List < CharacterAssetsNamesResponse > > ( ) { } . getType ( ) ; apiClient . executeAsync ( call , localVarReturnType , ca... |
public class DisksInner { /** * Creates or updates a disk .
* @ param resourceGroupName The name of the resource group .
* @ param diskName The name of the managed disk that is being created . The name can ' t be changed after the disk is created . Supported characters for the name are a - z , A - Z , 0-9 and _ . T... | return ServiceFuture . fromResponse ( beginCreateOrUpdateWithServiceResponseAsync ( resourceGroupName , diskName , disk ) , serviceCallback ) ; |
public class AbstractResources { /** * List resources using Smartsheet REST API .
* Exceptions :
* IllegalArgumentException : if any argument is null , or path is empty string
* InvalidRequestException : if there is any problem with the REST API request
* AuthorizationException : if there is any problem with th... | Util . throwIfNull ( path , objectClass ) ; Util . throwIfEmpty ( path ) ; HttpRequest request ; request = createHttpRequest ( smartsheet . getBaseURI ( ) . resolve ( path ) , HttpMethod . GET ) ; List < T > obj = null ; try { HttpResponse response = this . smartsheet . getHttpClient ( ) . request ( request ) ; switch ... |
public class EphemeralKafkaBroker { /** * Get the path to the Kafka log directory
* @ return An Optional that will only contain a value if the broker is running */
public Optional < String > getLogDir ( ) { } } | return brokerStarted ? Optional . of ( kafkaLogDir . toString ( ) ) : Optional . empty ( ) ; |
public class GeneralizedOrssSeed { /** * Selects { @ code k } rows of { @ code dataPoints } , weighted by the specified
* amount , to be seeds of a < i > k < / i > - means instance . If more seeds are
* requested than are available , all possible rows are returned .
* @ param dataPoints a matrix whose rows are to... | IntSet selected = new TroveIntSet ( ) ; int rows = dataPoints . rows ( ) ; // Edge case for where the user has requested more seeds than are
// available . In this case , just return indices for all the rows
if ( rows <= k ) { DoubleVector [ ] arr = new DoubleVector [ rows ] ; for ( int i = 0 ; i < rows ; ++ i ) arr [ ... |
public class MockStringResourceLoader { /** * Registers a mock resource with the first argument as the location and the second as the contents
* of the resource .
* @ param location The location
* @ param contents The contents of the resource */
public void registerMockResource ( String location , byte [ ] conten... | mockResources . put ( location , new GrailsByteArrayResource ( contents , location ) ) ; |
public class AttributeDimensionMarshaller { /** * Marshall the given parameter object . */
public void marshall ( AttributeDimension attributeDimension , ProtocolMarshaller protocolMarshaller ) { } } | if ( attributeDimension == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( attributeDimension . getAttributeType ( ) , ATTRIBUTETYPE_BINDING ) ; protocolMarshaller . marshall ( attributeDimension . getValues ( ) , VALUES_BINDING ) ; } catch ... |
public class PerspectiveManager { /** * Returns the current perspective , or the NullPerspective instance if
* no current perspective is defined . */
public Perspective getCurrentPerspective ( ) { } } | String key = MessageFormat . format ( CURRENT_PERSPECTIVE_KEY , new Object [ ] { pageName } ) ; String id = prefs . get ( key , DEFAULT_PERSPECTIVE_KEY ) ; Iterator it = perspectives . iterator ( ) ; while ( it . hasNext ( ) ) { Perspective perspective = ( Perspective ) it . next ( ) ; if ( id . equals ( perspective . ... |
public class ThrottlingRpcService { /** * Invoked when { @ code req } is throttled . By default , this method responds with a
* { @ link HttpStatusException } with { @ code 503 Service Unavailable } . */
@ Override protected RpcResponse onFailure ( ServiceRequestContext ctx , RpcRequest req , @ Nullable Throwable cau... | return RpcResponse . ofFailure ( HttpStatusException . of ( HttpStatus . SERVICE_UNAVAILABLE ) ) ; |
public class RandomMngrImpl { /** * Picks up port among the available ones in the allowed range ( > 9999 ) .
* Once picked up , it is set as an overridden export on the instance .
* This method should be called only when { @ link # acknowledgePort ( Application , Instance , String ) }
* returned < code > false < ... | List < Integer > forbiddenPorts = new ArrayList < > ( ) ; // Forbidden ports specified in the preferences
String preferences = this . preferencesMngr . get ( IPreferencesMngr . FORBIDDEN_RANDOM_PORTS , "" ) ; for ( String s : Utils . splitNicely ( preferences , "," ) ) { if ( Utils . isEmptyOrWhitespaces ( s ) ) contin... |
public class MessageBirdServiceImpl { /** * Create a HttpURLConnection connection object
* @ param serviceUrl URL that needs to be requested
* @ param postData PostDATA , must be not null for requestType is POST
* @ param requestType Request type POST requests without a payload will generate a exception
* @ ret... | if ( requestType == null || ! REQUEST_METHODS . contains ( requestType ) ) { throw new IllegalArgumentException ( String . format ( REQUEST_METHOD_NOT_ALLOWED , requestType ) ) ; } if ( postData == null && "POST" . equals ( requestType ) ) { throw new IllegalArgumentException ( "POST detected without a payload, please ... |
public class ZipUtil { /** * Unwraps a ZIP file to the given directory shaving of root dir .
* If there are multiple root dirs or entries in the root of zip ,
* ZipException is thrown .
* The output directory must not be a file .
* @ param is
* inputstream for ZIP file .
* @ param outputDir
* output direc... | unwrap ( is , outputDir , IdentityNameMapper . INSTANCE ) ; |
public class OkCoinMarketDataServiceRaw { /** * 获取交割预估价
* @ param currencyPair
* @ return
* @ throws IOException */
public OkCoinFutureComment getFutureEstimatedPrice ( CurrencyPair currencyPair ) throws IOException { } } | return okCoin . getFutureEstimatedPrice ( "1" , OkCoinAdapters . adaptSymbol ( currencyPair ) ) ; |
public class ProxiedTrash { /** * Move the path to trash as the owner of the path .
* @ param path { @ link org . apache . hadoop . fs . Path } to move .
* @ return true if the move succeeded .
* @ throws IOException */
public boolean moveToTrashAsOwner ( Path path ) throws IOException { } } | String owner = this . fs . getFileStatus ( path ) . getOwner ( ) ; return moveToTrashAsUser ( path , owner ) ; |
public class SVGRenderer { public void startElementContents ( ElementBox elem ) { } } | if ( elem instanceof BlockBox && ( ( BlockBox ) elem ) . getOverflowX ( ) != BlockBox . OVERFLOW_VISIBLE ) { // for blocks with overflow ! = visible generate a clipping group
Rectangle cb = elem . getClippedContentBounds ( ) ; String clip = "cssbox-clip-" + idcounter ; out . print ( "<clipPath id=\"" + clip + "\">" ) ;... |
public class TmdbAccount { /** * Get the list of rated movies ( and associated rating ) for an account .
* @ param sessionId
* @ param accountId
* @ param page
* @ param sortBy
* @ param language
* @ return
* @ throws MovieDbException */
public ResultList < MovieBasic > getRatedMovies ( String sessionId ,... | TmdbParameters parameters = new TmdbParameters ( ) ; parameters . add ( Param . SESSION_ID , sessionId ) ; parameters . add ( Param . ID , accountId ) ; parameters . add ( Param . PAGE , page ) ; parameters . add ( Param . SORT_BY , sortBy ) ; parameters . add ( Param . LANGUAGE , language ) ; URL url = new ApiUrl ( ap... |
public class TeaToolsUtils { /** * Returns true if the specified fileName ends with the specified
* file extension . */
public boolean compareFileExtension ( String fileName , String extension ) { } } | if ( fileName == null || extension == null ) { return false ; } fileName = fileName . toLowerCase ( ) . trim ( ) ; extension = extension . toLowerCase ( ) ; return ( fileName . endsWith ( extension ) ) ; |
public class AmazonKinesisAnalyticsV2Client { /** * Deletes an < a > InputProcessingConfiguration < / a > from an input .
* @ param deleteApplicationInputProcessingConfigurationRequest
* @ return Result of the DeleteApplicationInputProcessingConfiguration operation returned by the service .
* @ throws ResourceNot... | request = beforeClientExecution ( request ) ; return executeDeleteApplicationInputProcessingConfiguration ( request ) ; |
public class DataDirEntry { /** * more convenient use of the API */
public Optional < SectionHeader > maybeGetSectionTableEntry ( SectionTable table ) { } } | checkArgument ( table != null , "table must not be null" ) ; List < SectionHeader > sections = table . getSectionHeaders ( ) ; // loop through all section headers to check if entry is within section
for ( SectionHeader header : sections ) { long vSize = header . getAlignedVirtualSize ( ) ; // corkami : " a section can ... |
public class IndexResolverReplacer { /** * dnfof */
public boolean replace ( final TransportRequest request , boolean retainMode , String ... replacements ) { } } | return getOrReplaceAllIndices ( request , new IndicesProvider ( ) { @ Override public String [ ] provide ( String [ ] original , Object request , boolean supportsReplace ) { if ( supportsReplace ) { if ( retainMode && ! isAllWithNoRemote ( original ) ) { final Resolved resolved = resolveRequest ( request ) ; final List... |
public class ElasticPoolActivitiesInner { /** * Returns elastic pool activities .
* @ param resourceGroupName The name of the resource group that contains the resource . You can obtain this value from the Azure Resource Manager API or the portal .
* @ param serverName The name of the server .
* @ param elasticPoo... | return listByElasticPoolWithServiceResponseAsync ( resourceGroupName , serverName , elasticPoolName ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class DrawerBuilder { /** * Defines a Adapter which wraps the main Adapter used in the RecyclerView to allow extended navigation and other stuff
* @ param adapterWrapper
* @ return */
public DrawerBuilder withAdapterWrapper ( @ NonNull RecyclerView . Adapter adapterWrapper ) { } } | if ( mAdapter == null ) { throw new RuntimeException ( "this adapter has to be set in conjunction to a normal adapter which is used inside this wrapper adapter" ) ; } this . mAdapterWrapper = adapterWrapper ; return this ; |
public class CmsSolrSpellchecker { /** * Performs the actual spell check query using Solr .
* @ param request the spell check request
* @ return Results of the Solr spell check of type SpellCheckResponse or null if something goes wrong . */
private SpellCheckResponse performSpellcheckQuery ( CmsSpellcheckingRequest... | if ( ( null == request ) || ! request . isInitialized ( ) ) { return null ; } final String [ ] wordsToCheck = request . m_wordsToCheck ; final ModifiableSolrParams params = new ModifiableSolrParams ( ) ; params . set ( "spellcheck" , "true" ) ; params . set ( "spellcheck.dictionary" , request . m_dictionaryToUse ) ; pa... |
public class DeepSparkContext { /** * Creates a JavaRDD of SparkSQL rows
* @ param cellsRDD RDD of cells for transforming .
* @ return Java RDD of SparkSQL rows
* @ throws UnsupportedDataTypeException */
public static JavaRDD < Row > createJavaRowRDD ( JavaRDD < Cells > cellsRDD ) throws UnsupportedDataTypeExcept... | JavaRDD < Row > result = cellsRDD . map ( new Function < Cells , Row > ( ) { @ Override public Row call ( Cells cells ) throws Exception { return CellsUtils . getRowFromCells ( cells ) ; } } ) ; return result ; |
public class ClientFactory { /** * Asynchronously creates a message receiver to the entity using the client settings in PeekLock mode
* @ param namespaceName namespace of entity
* @ param entityPath path of entity
* @ param clientSettings client settings
* @ return a CompletableFuture representing the pending c... | return createMessageReceiverFromEntityPathAsync ( namespaceName , entityPath , clientSettings , DEFAULTRECEIVEMODE ) ; |
public class SchemaTypeAdapter { /** * Constructs { @ link Schema . Type # MAP MAP } type schema from the json input .
* @ param reader The { @ link JsonReader } for streaming json input tokens .
* @ param knownRecords Set of record name already encountered during the reading .
* @ return A { @ link Schema } of t... | return Schema . mapOf ( readInnerSchema ( reader , "keys" , knownRecords ) , readInnerSchema ( reader , "values" , knownRecords ) ) ; |
public class ServerStatusTool { /** * Watch the status file and print details to standard output until the
* STOPPED or STOPPED _ WITH _ ERR state is encountered . If there are any
* problems reading the status file , a timeout is reached , or
* STOPPED _ WITH _ ERR is encountered , this will throw an exception .... | if ( ! _statusFile . exists ( ) ) { _statusFile . append ( ServerState . STOPPING , "WARNING: Server status file did not exist; re-created" ) ; } // use this for timeout checks later
long startTime = System . currentTimeMillis ( ) ; ServerStatusMessage [ ] messages = getAllMessages ( ) ; ServerStatusMessage lastMessage... |
public class UTF16 { /** * Shifts offset16 by the argument number of codepoints
* @ param source string
* @ param offset16 UTF16 position to shift
* @ param shift32 number of codepoints to shift
* @ return new shifted offset16
* @ exception IndexOutOfBoundsException if the new offset16 is out of bounds . */
p... | int result = offset16 ; int size = source . length ( ) ; int count ; char ch ; if ( offset16 < 0 || offset16 > size ) { throw new StringIndexOutOfBoundsException ( offset16 ) ; } if ( shift32 > 0 ) { if ( shift32 + offset16 > size ) { throw new StringIndexOutOfBoundsException ( offset16 ) ; } count = shift32 ; while ( ... |
public class SRTServletResponse { /** * Adds a header field with the specified string value . If this is
* called more than once , the current value will replace the previous value .
* @ param name The header field name .
* @ param s The field ' s string value . */
public void setHeader ( String name , String s )... | if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { // 306998.15
logger . logp ( Level . FINE , CLASS_NAME , "setHeader" , " name --> " + name + " value --> " + PasswordNullifier . nullifyParams ( s ) , "[" + this + "]" ) ; } // Begin : 248739
// Add methods... |
public class FairSchedulerAdmissionControlServlet { /** * Print a view of not admitted jobs to the given output writer .
* @ param out Where to dump the oiutput
* @ param userFilterSet Only show jobs from these users if not null
* @ param poolFilterSet Only show jobs from these pools if not null */
private void s... | out . print ( "<h2>Not Admitted Jobs</h2>\n" ) ; out . print ( "<b>Filter</b> " + "<input type=\"text\" onkeyup=\"filterTables(this.value)\" " + "id=\"NotAdmittedJobsTableFilter\">" + "<input type=\"checkbox\" id=\"SubmittedTimeFilterToggle\" " + "onChange=\"filterTables(inputRJF.value)\" checked>Submitted Time " + "<i... |
public class ServletHttpRequest { /** * Unwrap a ServletRequest .
* @ see javax . servlet . ServletRequestWrapper
* @ see javax . servlet . http . HttpServletRequestWrapper
* @ param request
* @ return The core ServletHttpRequest which must be the
* underlying request object */
public static ServletHttpReques... | while ( ! ( request instanceof ServletHttpRequest ) ) { if ( request instanceof ServletRequestWrapper ) { ServletRequestWrapper wrapper = ( ServletRequestWrapper ) request ; request = wrapper . getRequest ( ) ; } else throw new IllegalArgumentException ( "Does not wrap ServletHttpRequest" ) ; } return ( ServletHttpRequ... |
public class JavaColonNamespaceBindings { /** * Return the context
* @ param name
* @ return */
static String getContextName ( String name ) { } } | int index = name . lastIndexOf ( '/' ) ; return index == - 1 ? "" : name . substring ( 0 , index ) ; |
public class AdminParserUtils { /** * Checks if there ' s at most one option that exists among all opts .
* @ param parser OptionParser to checked
* @ param opt1 Optional option to check
* @ param opt2 Optional option to check
* @ throws VoldemortException */
public static void checkOptional ( OptionSet options... | List < String > opts = Lists . newArrayList ( ) ; opts . add ( opt1 ) ; opts . add ( opt2 ) ; checkOptional ( options , opts ) ; |
public class ShanksAgentBayesianReasoningCapability { /** * Add information to the Bayesian network to reason with it .
* @ param bn
* @ param nodeName
* @ param status
* @ throws ShanksException */
public static void addEvidence ( Network bn , String nodeName , String status ) throws ShanksException { } } | if ( bn == null || nodeName == null || status == null ) { throw new ShanksException ( "Null parameter in addEvidence method." ) ; } try { if ( ! bn . isPropagatedEvidence ( nodeName ) ) { if ( bn . isRealEvidence ( nodeName ) ) { bn . clearEvidence ( nodeName ) ; } bn . setEvidence ( nodeName , status ) ; bn . updateBe... |
public class PortletDefinitionImporterExporter { /** * Check that a permission type from the XML file matches with a real permission .
* @ param system The name of the permission manager
* @ param activity The name of the permission to search for .
* @ return the permission type string to use
* @ throws Illegal... | ExternalPermissionDefinition def = ExternalPermissionDefinition . find ( system , activity ) ; if ( def != null ) { return def ; } String delim = "" ; StringBuilder buffer = new StringBuilder ( ) ; for ( ExternalPermissionDefinition perm : ExternalPermissionDefinition . values ( ) ) { buffer . append ( delim ) ; buffer... |
public class PgBinaryWriter { /** * Writes primitive float to the output stream
* @ param value value to write */
public void writeFloat ( float value ) { } } | try { buffer . writeInt ( 4 ) ; buffer . writeFloat ( value ) ; } catch ( Exception e ) { throw new BinaryWriteFailedException ( e ) ; } |
public class Reflect { /** * Compile a class at runtime and reflect on it .
* For example :
* < code > < pre >
* Supplier & lt ; String > supplier = Reflect . compile (
* " org . joor . Test " ,
* " package org . joor ; \ n " +
* " class Test implements java . util . function . Supplier & lt ; String > { \ ... | return onClass ( Compile . compile ( name , content , options ) ) ; |
public class KAFDocument { /** * Creates a factualitylayer object and add it to the document
* @ param term the Term of the coreference .
* @ return a new factuality . */
public Factvalue newFactvalue ( WF wf , String prediction ) { } } | Factvalue factuality = new Factvalue ( wf , prediction ) ; annotationContainer . add ( factuality , Layer . FACTUALITY_LAYER , AnnotationType . FACTVALUE ) ; return factuality ; |
public class Maybe { /** * { @ inheritDoc } */
@ Override public final < B > Maybe < B > discardL ( Applicative < B , Maybe < ? > > appB ) { } } | return Monad . super . discardL ( appB ) . coerce ( ) ; |
public class AbstractJoynrServletModule { /** * Sets up filters that are annotated with the { @ link WebFilter } annotation .
* Every class in the classpath is searched for the annotation . */
@ SuppressWarnings ( "unchecked" ) private void bindAnnotatedFilters ( ) { } } | String appsPackages = null ; if ( System . getProperties ( ) . containsKey ( IO_JOYNR_APPS_PACKAGES ) ) { logger . info ( "Using property {} from system properties" , IO_JOYNR_APPS_PACKAGES ) ; appsPackages = System . getProperty ( IO_JOYNR_APPS_PACKAGES ) ; } else { Properties servletProperties = PropertyLoader . load... |
public class ClientSecurityContextStore { /** * { @ inheritDoc } */
@ Override public Principal getCurrentPrincipal ( ) { } } | Principal principal = null ; // Get hold of the current subject
Subject subject = null ; try { subject = WSSubject . getCallerSubject ( ) ; if ( tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Current subject: " , subject ) ; } } catch ( WSSecurityException e ) { if ( tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Faile... |
public class AbstractSerializerCollection { /** * Register the given serializer if it has a name .
* @ param from
* @ param serializer */
protected void registerIfNamed ( Class < ? > from , Serializer < ? > serializer ) { } } | if ( from . isAnnotationPresent ( Named . class ) ) { Named named = from . getAnnotation ( Named . class ) ; QualifiedName key = new QualifiedName ( named . namespace ( ) , named . name ( ) ) ; nameToSerializer . put ( key , serializer ) ; serializerToName . put ( serializer , key ) ; } |
public class FibonacciHeap { /** * Utility function which , given two pointers into disjoint circularly -
* linked lists , merges the two lists together into one circularly - linked
* list in O ( 1 ) time . Because the lists may be empty , the return value
* is the only pointer that ' s guaranteed to be to an ele... | /* There are four cases depending on whether the lists are null or not .
* We consider each separately . */
if ( one == null && two == null ) { // Both null , resulting list is null .
return null ; } else if ( one != null && two == null ) { // Two is null , result is one .
return one ; } else if ( one == null && two ... |
public class AvroFactory { /** * Creates Avro Writer and Reader for a specific type .
* < p > Given an input type , and possible the current schema , and a previously known schema ( also known as writer
* schema ) create will deduce the best way to initalize a reader and writer according to the following rules :
... | final ClassLoader cl = Thread . currentThread ( ) . getContextClassLoader ( ) ; if ( SpecificRecord . class . isAssignableFrom ( type ) ) { return fromSpecific ( type , cl , Optional . ofNullable ( previousSchema ) ) ; } if ( GenericRecord . class . isAssignableFrom ( type ) ) { return fromGeneric ( cl , currentSchema ... |
public class MarkdownHelper { /** * Extracts the tag from an XML element .
* @ param in
* Input String .
* @ return XML tag name */
@ Nonnull public static String getXMLTag ( final String in ) { } } | final StringBuilder aSB = new StringBuilder ( ) ; int pos = 1 ; if ( in . charAt ( 1 ) == '/' ) pos ++ ; while ( Character . isLetterOrDigit ( in . charAt ( pos ) ) ) aSB . append ( in . charAt ( pos ++ ) ) ; return aSB . toString ( ) . toLowerCase ( Locale . US ) ; |
public class JdbcQueue { /** * { @ inheritDoc } */
@ Override public boolean queue ( IQueueMessage < ID , DATA > msg ) { } } | if ( msg == null ) { return false ; } try { try ( Connection conn = jdbcHelper . getConnection ( ) ) { return _queueWithRetries ( conn , msg . clone ( ) , 0 , this . maxRetries ) ; } } catch ( Exception e ) { final String logMsg = "(queue) Exception [" + e . getClass ( ) . getName ( ) + "]: " + e . getMessage ( ) ; LOG... |
public class EntityListenersIntrospector { /** * Validates and registers the given callback method .
* @ param method
* the callback method
* @ param callbackType
* the callback type */
private void validateExternalCallback ( Method method , CallbackType callbackType ) { } } | Class < ? > [ ] parameters = method . getParameterTypes ( ) ; if ( ! parameters [ 0 ] . isAssignableFrom ( entityClass ) ) { String message = String . format ( "Method %s in class %s is not valid for entity %s" , method . getName ( ) , method . getDeclaringClass ( ) . getName ( ) , entityClass . getName ( ) ) ; throw n... |
public class CreateAppRequest { /** * Custom rewrite / redirect rules for an Amplify App .
* @ param customRules
* Custom rewrite / redirect rules for an Amplify App . */
public void setCustomRules ( java . util . Collection < CustomRule > customRules ) { } } | if ( customRules == null ) { this . customRules = null ; return ; } this . customRules = new java . util . ArrayList < CustomRule > ( customRules ) ; |
public class Logger { /** * Print a log in a new line .
* @ param logLevel the log level of the printing log
* @ param format the format of the printing log , null if just need to concat arguments
* @ param args the arguments of the printing log */
private void println ( int logLevel , String format , Object ... ... | if ( logLevel < logConfiguration . logLevel ) { return ; } printlnInternal ( logLevel , formatArgs ( format , args ) ) ; |
public class ApacheHTTPSender { /** * { @ inheritDoc } */
public HTTPResponse send ( final CMSessionParams params , final AbstractBody body ) { } } | HttpClient mClient ; BOSHClientConfig mCfg ; lock . lock ( ) ; try { if ( httpClient == null ) { httpClient = initHttpClient ( cfg ) ; } mClient = httpClient ; mCfg = cfg ; } finally { lock . unlock ( ) ; } return new ApacheHTTPResponse ( mClient , mCfg , params , body ) ; |
public class HttpUtils { /** * Execute get http response .
* @ param url the url
* @ param basicAuthUsername the basic auth username
* @ param basicAuthPassword the basic auth password
* @ param parameters the parameters
* @ param headers the headers
* @ return the http response */
public static HttpRespons... | try { return execute ( url , HttpMethod . GET . name ( ) , basicAuthUsername , basicAuthPassword , parameters , headers ) ; } catch ( final Exception e ) { LOGGER . error ( e . getMessage ( ) , e ) ; } return null ; |
public class ClassTypeInformation { /** * Little helper to allow us to create a generified map , actually just to satisfy the compiler .
* @ param type must not be { @ literal null } .
* @ return */
private static Map < TypeVariable < ? > , Type > getTypeVariableMap ( Class < ? > type ) { } } | return getTypeVariableMap ( type , new HashSet < Type > ( ) ) ; |
public class MathExpressions { /** * Create a { @ code tan ( num ) } expression
* < p > Returns the tangent of an angle of num radians . < / p >
* @ param num numeric expression
* @ return tan ( num ) */
public static < A extends Number & Comparable < ? > > NumberExpression < Double > tan ( Expression < A > num )... | return Expressions . numberOperation ( Double . class , Ops . MathOps . TAN , num ) ; |
public class CmsJspTagScaleImage { /** * Handles the Start tag , checks some parameters , uses the CmsImageScaler to create a scaled
* version of the image ( and hi - DPI variants if necessary ) , stores all information in a
* image bean and stores it as a request attribute ( the name for this attribute is given
... | ServletRequest req = pageContext . getRequest ( ) ; // this will always be true if the page is called through OpenCms
if ( CmsFlexController . isCmsRequest ( req ) ) { try { CmsJspImageBean scaledImage = null ; try { CmsFlexController controller = CmsFlexController . getController ( req ) ; CmsObject cms = controller .... |
public class MethodWriterImpl { /** * { @ inheritDoc } */
public Content getMethodDocTreeHeader ( MethodDoc method , Content methodDetailsTree ) { } } | String erasureAnchor ; if ( ( erasureAnchor = getErasureAnchor ( method ) ) != null ) { methodDetailsTree . addContent ( writer . getMarkerAnchor ( ( erasureAnchor ) ) ) ; } methodDetailsTree . addContent ( writer . getMarkerAnchor ( writer . getAnchor ( method ) ) ) ; Content methodDocTree = writer . getMemberTreeHead... |
public class FlashImpl { /** * Returns the value of a previous call to setKeepMessages ( ) from this
* request . If there was no call yet , false is returned . */
@ Override public boolean isKeepMessages ( ) { } } | FacesContext facesContext = FacesContext . getCurrentInstance ( ) ; ExternalContext externalContext = facesContext . getExternalContext ( ) ; Map < String , Object > requestMap = externalContext . getRequestMap ( ) ; Boolean keepMessages = ( Boolean ) requestMap . get ( FLASH_KEEP_MESSAGES ) ; return ( keepMessages == ... |
public class FieldDefinition { /** * Get the { @ link FieldDefinition } of this field ' s inverse link definition . This field
* must be a link field . Null is returned if either the inverse table or inverse link
* have not been defined in this application .
* @ return { @ link FieldDefinition } of this link fiel... | assert isLinkType ( ) ; TableDefinition inverseTableDef = getInverseTableDef ( ) ; if ( inverseTableDef == null ) { return null ; } return inverseTableDef . getFieldDef ( m_linkInverse ) ; |
public class JTBJavaCCMojo { /** * Creates a new facade to invoke JTB . Most options for the invocation are
* derived from the current values of the corresponding mojo parameters . The
* caller is responsible to set the input file , output directories and
* packages on the returned facade .
* @ return The facad... | final JTB jtb = new JTB ( ) ; jtb . setLog ( getLog ( ) ) ; jtb . setDescriptiveFieldNames ( this . descriptiveFieldNames ) ; jtb . setJavadocFriendlyComments ( this . javadocFriendlyComments ) ; jtb . setNodeParentClass ( this . nodeParentClass ) ; jtb . setParentPointers ( this . parentPointers ) ; jtb . setPrinter (... |
public class WalkerFactory { /** * Create a StepPattern that is contained within a LocationPath .
* @ param compiler The compiler that holds the syntax tree / op map to
* construct from .
* @ param stepOpCodePos The current op code position within the opmap .
* @ param mpi The MatchPatternIterator to which the ... | int stepType = compiler . getOp ( opPos ) ; boolean simpleInit = false ; boolean prevIsOneStepDown = true ; int whatToShow = compiler . getWhatToShow ( opPos ) ; StepPattern ai = null ; int axis , predicateAxis ; switch ( stepType ) { case OpCodes . OP_VARIABLE : case OpCodes . OP_EXTFUNCTION : case OpCodes . OP_FUNCTI... |
public class Decoder { /** * Return the old code id to construct a old decoder */
private String getOldCodeId ( FileStatus srcStat ) throws IOException { } } | if ( codec . id . equals ( "xor" ) || codec . id . equals ( "rs" ) ) { return codec . id ; } else { // Search for xor / rs parity files
if ( ParityFilePair . getParityFile ( Codec . getCodec ( "xor" ) , srcStat , this . conf ) != null ) return "xor" ; if ( ParityFilePair . getParityFile ( Codec . getCodec ( "rs" ) , sr... |
public class CmsListItemWidget { /** * Adds a widget to the front of the button panel . < p >
* @ param w the widget to add */
public void addButtonToFront ( Widget w ) { } } | m_buttonPanel . insert ( w , 0 ) ; if ( CmsCoreProvider . get ( ) . isIe7 ( ) ) { m_buttonPanel . getElement ( ) . getStyle ( ) . setWidth ( m_buttonPanel . getWidgetCount ( ) * 22 , Unit . PX ) ; } |
public class ModelsImpl { /** * Gets information about the prebuilt entity models .
* @ param appId The application ID .
* @ param versionId The version ID .
* @ param listPrebuiltsOptionalParameter the object representing the optional parameters to be set before calling this API
* @ param serviceCallback the a... | return ServiceFuture . fromResponse ( listPrebuiltsWithServiceResponseAsync ( appId , versionId , listPrebuiltsOptionalParameter ) , serviceCallback ) ; |
public class PngtasticFilterHandler { /** * { @ inheritDoc } */
@ Override public void deFilter ( byte [ ] line , byte [ ] previousLine , int sampleBitCount ) throws PngException { } } | PngFilterType filterType = PngFilterType . forValue ( line [ 0 ] ) ; line [ 0 ] = 0 ; PngFilterType previousFilterType = PngFilterType . forValue ( previousLine [ 0 ] ) ; previousLine [ 0 ] = 0 ; switch ( filterType ) { case SUB : { int previous = - ( Math . max ( 1 , sampleBitCount / 8 ) - 1 ) ; for ( int x = 1 , a = ... |
public class LocationApi { /** * Get current ship ( asynchronously ) Get the current ship type , name and id
* - - - This route is cached for up to 5 seconds SSO Scope :
* esi - location . read _ ship _ type . v1
* @ param characterId
* An EVE character ID ( required )
* @ param datasource
* The server name... | com . squareup . okhttp . Call call = getCharactersCharacterIdShipValidateBeforeCall ( characterId , datasource , ifNoneMatch , token , callback ) ; Type localVarReturnType = new TypeToken < CharacterShipResponse > ( ) { } . getType ( ) ; apiClient . executeAsync ( call , localVarReturnType , callback ) ; return call ; |
public class PortTcp { /** * Starts the port listening . */
public void bind ( ServerSocketBar ss ) throws IOException { } } | Objects . requireNonNull ( ss ) ; _isBind . set ( true ) ; if ( _protocol == null ) throw new IllegalStateException ( L . l ( "'{0}' must have a configured protocol before starting." , this ) ) ; if ( _throttle == null ) _throttle = new ThrottleSocket ( ) ; _serverSocket = ss ; String scheme = _protocol . name ( ) ; if... |
public class ObjectUtil { /** * 已知属性名 , 得出get方法 , 如属性名是name , get方法是getName
* 遵循javabean规范
* @ param attrName
* @ return
* @ deprecated 并不遵循java规范 */
public static String getGetMethod ( String attrName ) { } } | StringBuilder mbuffer = new StringBuilder ( "get" ) ; mbuffer . append ( attrName . substring ( 0 , 1 ) . toUpperCase ( ) ) . append ( attrName . substring ( 1 ) ) ; return mbuffer . toString ( ) ; |
public class MenuScreen { /** * Set the current menu .
* @ param strMenu If null , get the current property from the current parameters . */
public void setMenuProperty ( String strMenu ) { } } | if ( ( strMenu == null ) || ( strMenu . length ( ) == 0 ) || ( strMenu == DEFAULT ) ) { if ( m_strMenuObjectID != null ) return ; // It ' s already set to the default
if ( strMenu != DEFAULT ) strMenu = this . getProperty ( DBParams . MENU ) ; if ( ( strMenu == null ) || ( strMenu . length ( ) == 0 ) || ( strMenu == DE... |
public class TaskExecutor { /** * Submit a { @ link Task } to run .
* @ param task { @ link Task } to be submitted
* @ return a { @ link java . util . concurrent . Future } for the submitted { @ link Task } */
public Future < ? > submit ( Task task ) { } } | LOG . info ( String . format ( "Submitting task %s" , task . getTaskId ( ) ) ) ; return this . taskExecutor . submit ( new TrackingTask ( task ) ) ; |
public class FileUtils { /** * Unzip a zip file in a directory that has the same name as the zip file .
* For example if the zip file is { @ code my - plugin . zip } then the resulted directory
* is { @ code my - plugin } .
* @ param filePath the file to evaluate
* @ return Path of unzipped folder or original p... | if ( ! isZipFile ( filePath ) ) { return filePath ; } FileTime pluginZipDate = Files . getLastModifiedTime ( filePath ) ; String fileName = filePath . getFileName ( ) . toString ( ) ; Path pluginDirectory = filePath . resolveSibling ( fileName . substring ( 0 , fileName . lastIndexOf ( "." ) ) ) ; if ( ! Files . exists... |
public class TelegramBot { /** * Use this method to kick a user from a group or a supergroup . In the case of supergroups , the user will not be
* able to return to the group on their own using invite links , etc . , unless unbanned first . The bot must be
* an administrator in the group for this to work
* @ para... | HttpResponse < String > response ; JSONObject jsonResponse ; try { MultipartBody request = Unirest . post ( getBotAPIUrl ( ) + "kickChatMember" ) . field ( "chat_id" , chatId , "application/json; charset=utf8;" ) . field ( "user_id" , userId ) ; response = request . asString ( ) ; jsonResponse = Utils . processResponse... |
public class PortType { /** * ONLY used by WsClientBinding */
public static PortType createPortType ( StringType namespace , StringType name , StringType address ) { } } | PortType endpointType = new PortType ( ) ; endpointType . namespace = namespace ; endpointType . name = name ; endpointType . address = address ; return endpointType ; |
public class WebFacesConfigDescriptorImpl { /** * If not already created , a new < code > referenced - bean < / code > element will be created and returned .
* Otherwise , the first existing < code > referenced - bean < / code > element will be returned .
* @ return the instance defined for the element < code > ref... | List < Node > nodeList = model . get ( "referenced-bean" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new FacesConfigReferencedBeanTypeImpl < WebFacesConfigDescriptor > ( this , "referenced-bean" , model , nodeList . get ( 0 ) ) ; } return createReferencedBean ( ) ; |
public class Matchers { /** * Matches if the given tree is inside a loop . */
public static < T extends Tree > Matcher < T > inLoop ( ) { } } | return new Matcher < T > ( ) { @ Override public boolean matches ( Tree tree , VisitorState state ) { TreePath path = state . getPath ( ) . getParentPath ( ) ; Tree node = path . getLeaf ( ) ; while ( path != null ) { switch ( node . getKind ( ) ) { case METHOD : case CLASS : return false ; case WHILE_LOOP : case FOR_L... |
public class PipelinedTernaryConsumer { /** * Performs every composed consumer .
* @ param first the first element
* @ param second the second element
* @ param third the third element */
@ Override public void accept ( E1 first , E2 second , E3 third ) { } } | for ( TriConsumer < E1 , E2 , E3 > consumer : consumers ) { consumer . accept ( first , second , third ) ; } |
public class CompareToBuilder { /** * < p > Appends to the < code > builder < / code > the comparison of
* two < code > Object < / code > s . < / p >
* < ol >
* < li > Check if < code > lhs = = rhs < / code > < / li >
* < li > Check if either < code > lhs < / code > or < code > rhs < / code > is < code > null <... | if ( comparison != 0 ) { return this ; } if ( lhs == rhs ) { return this ; } if ( lhs == null ) { comparison = - 1 ; return this ; } if ( rhs == null ) { comparison = + 1 ; return this ; } if ( lhs . getClass ( ) . isArray ( ) ) { // switch on type of array , to dispatch to the correct handler
// handles multi dimensio... |
public class Compass { /** * < editor - fold defaultstate = " collapsed " desc = " Image related " > */
private BufferedImage create_BIG_ROSE_POINTER_Image ( final int WIDTH ) { } } | final BufferedImage IMAGE = UTIL . createImage ( ( int ) ( WIDTH * 0.0546875f ) , ( int ) ( WIDTH * 0.2f ) , java . awt . Transparency . TRANSLUCENT ) ; final Graphics2D G2 = IMAGE . createGraphics ( ) ; G2 . setRenderingHint ( RenderingHints . KEY_ANTIALIASING , RenderingHints . VALUE_ANTIALIAS_ON ) ; G2 . setRenderin... |
public class XSplitter { /** * Determine the common split dimensions from a list of entries .
* @ param node node for which to determine the common split
* dimensions
* @ return common split dimensions */
private IntIterator getCommonSplitDimensions ( N node ) { } } | Collection < SplitHistory > splitHistories = new ArrayList < > ( node . getNumEntries ( ) ) ; for ( int i = 0 ; i < node . getNumEntries ( ) ; i ++ ) { SpatialEntry entry = node . getEntry ( i ) ; if ( ! ( entry instanceof XTreeDirectoryEntry ) ) { throw new RuntimeException ( "Wrong entry type to derive split dimensio... |
public class LocalTime { /** * Obtains an instance of { @ code LocalTime } from an hour , minute , second and nanosecond .
* This returns a { @ code LocalTime } with the specified hour , minute , second and nanosecond .
* @ param hour the hour - of - day to represent , from 0 to 23
* @ param minute the minute - o... | HOUR_OF_DAY . checkValidValue ( hour ) ; MINUTE_OF_HOUR . checkValidValue ( minute ) ; SECOND_OF_MINUTE . checkValidValue ( second ) ; NANO_OF_SECOND . checkValidValue ( nanoOfSecond ) ; return create ( hour , minute , second , nanoOfSecond ) ; |
public class MockSubnetController { /** * Create the mock Subnet .
* @ param cidrBlock VPC cidr block .
* @ param vpcId vpc Id for subnet .
* @ return mock Subnet . */
public MockSubnet createSubnet ( final String cidrBlock , final String vpcId ) { } } | MockSubnet ret = new MockSubnet ( ) ; ret . setCidrBlock ( cidrBlock ) ; ret . setSubnetId ( "subnet-" + UUID . randomUUID ( ) . toString ( ) . substring ( 0 , SUBNET_ID_POSTFIX_LENGTH ) ) ; ret . setVpcId ( vpcId ) ; allMockSubnets . put ( ret . getSubnetId ( ) , ret ) ; return ret ; |
public class PolicyTargetSummaryMarshaller { /** * Marshall the given parameter object . */
public void marshall ( PolicyTargetSummary policyTargetSummary , ProtocolMarshaller protocolMarshaller ) { } } | if ( policyTargetSummary == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( policyTargetSummary . getTargetId ( ) , TARGETID_BINDING ) ; protocolMarshaller . marshall ( policyTargetSummary . getArn ( ) , ARN_BINDING ) ; protocolMarshaller . ... |
public class IllegalValueTypeException { /** * < p > Creates the message to be used in
* { @ link # IllegalValueTypeException ( Class , Class , Set , Class , Field ) } .
* @ since 1.0.0 */
private static final String createMessage ( Class < ? extends IckleActivity > injectorActivity , Class < ? extends Annotation >... | StringBuilder stringBuilder = new StringBuilder ( ) ; stringBuilder . append ( "Annotation " ) ; stringBuilder . append ( annotation . getName ( ) ) ; stringBuilder . append ( " is illegally used on field " ) ; stringBuilder . append ( field . getName ( ) ) ; stringBuilder . append ( " of type " ) ; stringBuilder . app... |
public class ThriftClient { /** * Returns a new client for the specified host .
* @ param host the Cassandra host address .
* @ param port the Cassandra host RPC port .
* @ return a new client for the specified host .
* @ throws TException if there is any problem with the { @ code set _ keyspace } call . */
pub... | return build ( host , port , null ) ; |
public class ZapNTLMEngineImpl { /** * Creates the type 3 message using the given server nonce . The type 3
* message includes all the information for authentication , host , domain ,
* username and the result of encrypting the nonce sent by the server using
* the user ' s password as the key .
* @ param user
... | return new Type3Message ( domain , host , user , password , nonce , type2Flags , target , targetInformation , peerServerCertificate , type1Message , type2Message ) . getResponse ( ) ; |
public class KunderaCriteriaBuilder { /** * ( non - Javadoc )
* @ see
* javax . persistence . criteria . CriteriaBuilder # construct ( java . lang . Class ,
* javax . persistence . criteria . Selection < ? > [ ] ) */
@ Override public < Y > CompoundSelection < Y > construct ( Class < Y > arg0 , Selection < ? > ..... | return new DefaultCompoundSelection < Y > ( Arrays . asList ( arg1 ) , arg0 ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.