signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class DiscordApiBuilderDelegateImpl { /** * Compile pre - registered listeners into proper collections for DiscordApi creation . */
@ SuppressWarnings ( "unchecked" ) private void prepareListeners ( ) { } } | if ( preparedListeners != null && preparedUnspecifiedListeners != null ) { // Already created , skip
return ; } preparedListeners = new ConcurrentHashMap < > ( ) ; Stream < Class < ? extends GloballyAttachableListener > > eventTypes = Stream . concat ( listeners . keySet ( ) . stream ( ) , Stream . concat ( listenerSup... |
public class BinaryString { /** * < p > Splits the provided text into an array , separator string specified . < / p >
* < p > The separator is not included in the returned String array .
* Adjacent separators are treated as separators for empty tokens . < / p >
* < p > A { @ code null } separator splits on whites... | ensureMaterialized ( ) ; final int len = sizeInBytes ; if ( len == 0 ) { return EMPTY_STRING_ARRAY ; } if ( separator == null || EMPTY_UTF8 . equals ( separator ) ) { // Split on whitespace .
return splitByWholeSeparatorPreserveAllTokens ( fromString ( " " ) ) ; } separator . ensureMaterialized ( ) ; final int separato... |
public class XMLMessageTransport { /** * From this external message , figure out the message type .
* @ externalMessage The external message just received .
* @ return The message type for this kind of message ( transport specific ) . */
public String getMessageCode ( BaseMessage externalMessage ) { } } | if ( ! ( externalMessage . getExternalMessage ( ) instanceof XmlTrxMessageIn ) ) return null ; if ( ! ( externalMessage . getExternalMessage ( ) . getRawData ( ) instanceof String ) ) return null ; String strXML = ( String ) externalMessage . getExternalMessage ( ) . getRawData ( ) ; int beginIndex = 0 ; while ( beginI... |
public class OrderAwarePluginRegistry { /** * Creates a new { @ link OrderAwarePluginRegistry } with the given { @ link Plugin } s and the order of the { @ link Plugin } s
* reverted .
* @ param plugins must not be { @ literal null } .
* @ return
* @ deprecated since 2.0 , for removal in 2.1 . Prefer { @ link O... | return of ( plugins , DEFAULT_REVERSE_COMPARATOR ) ; |
public class ORBManager { /** * Shutdown the ORB */
public static void shutdown ( ) { } } | if ( orbStart != null ) { orbStart . shutdown ( ) ; } if ( orb != null ) { orb . shutdown ( true ) ; LOGGER . debug ( "ORB shutdown" ) ; } |
public class FileCLA { /** * { @ inheritDoc } */
@ Override protected void exportCommandLineData ( final StringBuilder out , final int occ ) { } } | uncompileQuoter ( out , getValue ( occ ) . getAbsolutePath ( ) ) ; |
public class SpotsDialog { private void initMessage ( ) { } } | if ( message != null && message . length ( ) > 0 ) { ( ( TextView ) findViewById ( R . id . dmax_spots_title ) ) . setText ( message ) ; } |
public class CommerceShipmentLocalServiceUtil { /** * Deletes the commerce shipment from the database . Also notifies the appropriate model listeners .
* @ param commerceShipment the commerce shipment
* @ return the commerce shipment that was removed */
public static com . liferay . commerce . model . CommerceShipm... | return getService ( ) . deleteCommerceShipment ( commerceShipment ) ; |
public class URLUtil { /** * 通过一个字符串形式的URL地址创建URL对象
* @ param url URL
* @ param handler { @ link URLStreamHandler }
* @ return URL对象
* @ since 4.1.1 */
public static URL url ( String url , URLStreamHandler handler ) { } } | Assert . notNull ( url , "URL must not be null" ) ; // 兼容Spring的ClassPath路径
if ( url . startsWith ( CLASSPATH_URL_PREFIX ) ) { url = url . substring ( CLASSPATH_URL_PREFIX . length ( ) ) ; return ClassLoaderUtil . getClassLoader ( ) . getResource ( url ) ; } try { return new URL ( null , url , handler ) ; } catch ( Mal... |
public class UtilMath { /** * Wrap value ( keep value between min and max ) . Useful to keep an angle between 0 and 360 for example .
* @ param value The input value .
* @ param min The minimum value ( included ) .
* @ param max The maximum value ( excluded ) .
* @ return The wrapped value . */
public static do... | double newValue = value ; final double step = max - min ; if ( Double . compare ( newValue , max ) >= 0 ) { while ( Double . compare ( newValue , max ) >= 0 ) { newValue -= step ; } } else if ( newValue < min ) { while ( newValue < min ) { newValue += step ; } } return newValue ; |
public class SingleColumnValueFilterAdapter { /** * { @ inheritDoc } */
@ Override public FilterSupportStatus isFilterSupported ( FilterAdapterContext context , SingleColumnValueFilter filter ) { } } | return delegateAdapter . isFilterSupported ( context , new ValueFilter ( filter . getOperator ( ) , filter . getComparator ( ) ) ) ; |
public class DownloadTask { /** * Get the breakpoint info of this task .
* @ return { @ code null } Only if there isn ' t any info for this task yet , otherwise you can get
* the info for the task . */
@ Nullable public BreakpointInfo getInfo ( ) { } } | if ( info == null ) info = OkDownload . with ( ) . breakpointStore ( ) . get ( id ) ; return info ; |
public class RSTImpl { /** * Checks , if there exists an SRelation which targets a SToken . */
private boolean isSegment ( SNode currNode ) { } } | List < SRelation < SNode , SNode > > edges = currNode . getGraph ( ) . getOutRelations ( currNode . getId ( ) ) ; if ( edges != null && edges . size ( ) > 0 ) { for ( SRelation < SNode , SNode > edge : edges ) { if ( edge . getTarget ( ) instanceof SToken ) { return true ; } } } return false ; |
public class RxUtil { /** * Returns a { @ link Func1 } that returns an empty { @ link Observable } .
* @ return */
public static < T > Func1 < T , Observable < Object > > toEmpty ( ) { } } | return Functions . constant ( Observable . < Object > empty ( ) ) ; |
public class CsvWriter { /** * Add formatted CSV cells to a builder
* @ param builder the string builder
* @ param cells the cells to format as CSV cells in a row */
public static void addCells ( StringBuilder builder , String ... cells ) { } } | if ( builder == null || cells == null || cells . length == 0 ) return ; for ( String cell : cells ) { addCell ( builder , cell ) ; } |
public class ESigItem { /** * Adds an issue to the signature item .
* @ param severity Severity of the issue .
* @ param description Description of the issue .
* @ return The added issue . */
public ESigItemIssue addIssue ( ESigItemIssueSeverity severity , String description ) { } } | ESigItemIssue issue = new ESigItemIssue ( severity , description ) ; if ( issues == null ) { issues = new ArrayList < ESigItemIssue > ( ) ; sortIssues = false ; } else { int i = issues . indexOf ( issue ) ; if ( i >= 0 ) { return issues . get ( i ) ; } sortIssues = true ; } issues . add ( issue ) ; return issue ; |
public class RuleBasedBreakIterator { /** * Get the status ( tag ) values from the break rule ( s ) that determined the most
* recently returned break position . The values appear in the rule source
* within brackets , { 123 } , for example . The default status value for rules
* that do not explicitly provide one... | makeRuleStatusValid ( ) ; int numStatusVals = fRData . fStatusTable [ fLastRuleStatusIndex ] ; if ( fillInArray != null ) { int numToCopy = Math . min ( numStatusVals , fillInArray . length ) ; for ( int i = 0 ; i < numToCopy ; i ++ ) { fillInArray [ i ] = fRData . fStatusTable [ fLastRuleStatusIndex + i + 1 ] ; } } re... |
public class ApiOvhIp { /** * Generate a migration token
* REST : POST / ip / { ip } / migrationToken
* @ param customerId [ required ] destination customer ID
* @ param ip [ required ] */
public OvhIpMigrationToken ip_migrationToken_POST ( String ip , String customerId ) throws IOException { } } | String qPath = "/ip/{ip}/migrationToken" ; StringBuilder sb = path ( qPath , ip ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "customerId" , customerId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhIpMigrationToken . class ) ; |
public class StreamTask { /** * Execute { @ link StreamOperator # close ( ) } of each operator in the chain of this
* { @ link StreamTask } . Closing happens from < b > head to tail < / b > operator in the chain ,
* contrary to { @ link StreamOperator # open ( ) } which happens < b > tail to head < / b >
* ( see ... | // We need to close them first to last , since upstream operators in the chain might emit
// elements in their close methods .
StreamOperator < ? > [ ] allOperators = operatorChain . getAllOperators ( ) ; for ( int i = allOperators . length - 1 ; i >= 0 ; i -- ) { StreamOperator < ? > operator = allOperators [ i ] ; if... |
public class NodeSlicerCommand { /** * Do it . */
public void sliceNode ( final List < Node > nodes , final WaveBase wave ) { } } | final Node node = nodes . get ( 0 ) ; final long start = System . currentTimeMillis ( ) ; if ( node != null ) { if ( node instanceof ImageView ) { this . imageProperty . set ( ( ( ImageView ) node ) . getImage ( ) ) ; } else { final WritableImage wi = node . snapshot ( new SnapshotParameters ( ) , null ) ; this . image... |
public class Temporals { /** * Converts an amount from one unit to another .
* This works on the units in { @ code ChronoUnit } and { @ code IsoFields } .
* The { @ code DAYS } and { @ code WEEKS } units are handled as exact multiple of 24 hours .
* The { @ code ERAS } and { @ code FOREVER } units are not support... | Objects . requireNonNull ( fromUnit , "fromUnit" ) ; Objects . requireNonNull ( toUnit , "toUnit" ) ; validateUnit ( fromUnit ) ; validateUnit ( toUnit ) ; if ( fromUnit . equals ( toUnit ) ) { return new long [ ] { amount , 0 } ; } // precise - based
if ( isPrecise ( fromUnit ) && isPrecise ( toUnit ) ) { long fromNan... |
public class ServiceCall { /** * Issues fire - and - forget request .
* @ param request request message to send .
* @ return mono publisher completing normally or with error . */
public Mono < Void > oneWay ( ServiceMessage request ) { } } | return Mono . defer ( ( ) -> requestOne ( request , Void . class ) . then ( ) ) ; |
public class Ifc2x3tc1PackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public EClass getIfcDimensionalExponents ( ) { } } | if ( ifcDimensionalExponentsEClass == null ) { ifcDimensionalExponentsEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( Ifc2x3tc1Package . eNS_URI ) . getEClassifiers ( ) . get ( 153 ) ; } return ifcDimensionalExponentsEClass ; |
public class Contract { /** * Checks that an array is of a given length
* @ param array the array
* @ param length the desired length of the array
* @ param arrayName the name of the array
* @ throws IllegalArgumentException if the array is null or if the array ' s length is not as expected */
public static voi... | notNull ( array , arrayName ) ; notNegative ( length , "length" ) ; if ( array . length != length ) { throw new IllegalArgumentException ( "expecting " + maskNullArgument ( arrayName ) + " to be of length " + length + "." ) ; } |
public class HttpMediaType { /** * Sets the ( main ) media type , for example { @ code " text " } .
* @ param type main / major media type */
public HttpMediaType setType ( String type ) { } } | Preconditions . checkArgument ( TYPE_REGEX . matcher ( type ) . matches ( ) , "Type contains reserved characters" ) ; this . type = type ; cachedBuildResult = null ; return this ; |
public class JmxCallbackExample { /** * Entry point to the JMX Callback Example .
* @ param args unused
* @ throws Exception whatever may happen in this crazy world */
@ SuppressWarnings ( "InfiniteLoopStatement" ) public static void main ( String [ ] args ) throws Exception { } } | SimonManager . callback ( ) . addCallback ( new JmxRegisterCallback ( "org.javasimon.examples.jmx.JmxCallbackExample" ) ) ; Counter counter = SimonManager . getCounter ( "org.javasimon.examples.jmx.counter" ) ; Stopwatch stopwatch = SimonManager . getStopwatch ( "org.javasimon.examples.jmx.stopwatch" ) ; // these creat... |
public class ImageModerationsImpl { /** * Fuzzily match an image against one of your custom Image Lists . You can create and manage your custom image lists using & lt ; a href = " / docs / services / 578ff44d2703741568569ab9 / operations / 578ff7b12703741568569abe " & gt ; this & lt ; / a & gt ; API .
* Returns ID an... | if ( this . client . baseUrl ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.baseUrl() is required and cannot be null." ) ; } final String listId = matchMethodOptionalParameter != null ? matchMethodOptionalParameter . listId ( ) : null ; final Boolean cacheImage = matchMethodOptionalParamete... |
public class NearCachedClientCacheProxy { /** * Publishes value got from remote or deletes reserved record when remote value is { @ code null } .
* @ param key key to update in Near Cache
* @ param remoteValue fetched value from server
* @ param reservationId reservation ID for this key
* @ param deserialize de... | assert remoteValue != NOT_CACHED ; // caching null value is not supported for ICache Near Cache
if ( remoteValue == null ) { // needed to delete reserved record
invalidateNearCache ( key ) ; return null ; } Object cachedValue = null ; if ( reservationId != NOT_RESERVED ) { cachedValue = nearCache . tryPublishReserved (... |
public class SeaGlassIcon { /** * Returns the icon ' s height . This is a cover method for < code >
* getIconHeight ( null ) < / code > .
* @ param context the SynthContext describing the component / region , the
* style , and the state .
* @ return an int specifying the fixed height of the icon . */
@ Override... | if ( context == null ) { return height ; } JComponent c = context . getComponent ( ) ; if ( c instanceof JToolBar ) { JToolBar toolbar = ( JToolBar ) c ; if ( toolbar . getOrientation ( ) == JToolBar . HORIZONTAL ) { // we only do the - 1 hack for UIResource borders , assuming
// that the border is probably going to be... |
public class Matrix { /** * Runs a { @ link ParametrizedFunction } for each element of the matrix , using these arguments :
* < ol >
* < li > X Coordinate in the matrix < / li >
* < li > Y Coordinate in the matrix < / li >
* < li > { @ code args } , at the end < / li >
* < / ol >
* @ param function The Para... | Matrix < R > ret ; try { ret = new Matrix < > ( this . columns . size ( ) , this . columns . get ( 0 ) . size ( ) ) ; } catch ( Exception ignored ) { ret = new Matrix < > ( ) ; } for ( int x = 0 ; x < this . columns . size ( ) ; x ++ ) { ArrayList < E > col = this . columns . get ( x ) ; for ( int y = 0 ; y < col . siz... |
public class WebPage { /** * Compare WebPage first by priority ( in descending order - higher priority is first ) , then by shortName ( in ascending order ) .
* Priority and / or shortName can be null . WebPages with null priority are at the end .
* @ param o Other WebPage
* @ return - 1 , 0 , 1 */
public int com... | int result ; // first compare by priority
result = PRIORITY_COMPARATOR . compare ( this . getPriority ( ) , o . getPriority ( ) ) ; // next compare by shortName
if ( result == 0 ) { result = SHORT_NAME_COMPARATOR . compare ( this . getShortName ( ) , o . getShortName ( ) ) ; } return result ; |
public class AfplibFactoryImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public String convertIOBYoaOrentToString ( EDataType eDataType , Object instanceValue ) { } } | return instanceValue == null ? null : instanceValue . toString ( ) ; |
public class BluetoothLeScannerImplJB { /** * This method goes through registered callbacks and sets the power rest and scan intervals
* to next lowest value . */
private void setPowerSaveSettings ( ) { } } | long minRest = Long . MAX_VALUE , minScan = Long . MAX_VALUE ; synchronized ( wrappers ) { for ( final ScanCallbackWrapper wrapper : wrappers . values ( ) ) { final ScanSettings settings = wrapper . scanSettings ; if ( settings . hasPowerSaveMode ( ) ) { if ( minRest > settings . getPowerSaveRest ( ) ) { minRest = sett... |
public class DuplicationTaskProcessor { /** * Retrieve the content listing for a space
* @ param store the storage provider in which the space exists
* @ param spaceId space from which to retrieve listing
* @ return */
private Iterator < String > getSpaceListing ( final StorageProvider store , final String spaceI... | try { return new Retrier ( ) . execute ( new Retriable ( ) { @ Override public Iterator < String > retry ( ) throws Exception { // The actual method being executed
return store . getSpaceContents ( spaceId , null ) ; } } ) ; } catch ( Exception e ) { String msg = "Error attempting to retrieve space listing: " + e . get... |
public class ThreadDumpper { /** * 打印全部的stack , 重新实现threadInfo的toString ( ) 函数 , 因为默认最多只打印8层的stack . 同时 , 不再打印lockedMonitors和lockedSynchronizers . */
private String dumpThreadInfo ( Thread thread , StackTraceElement [ ] stackTrace , StringBuilder sb ) { } } | sb . append ( '\"' ) . append ( thread . getName ( ) ) . append ( "\" Id=" ) . append ( thread . getId ( ) ) . append ( ' ' ) . append ( thread . getState ( ) ) ; sb . append ( '\n' ) ; int i = 0 ; for ( ; i < Math . min ( maxStackLevel , stackTrace . length ) ; i ++ ) { StackTraceElement ste = stackTrace [ i ] ; sb . ... |
public class HtmlPageUtil { /** * Creates a { @ link HtmlPage } from a given { @ link URL } that points to the HTML code for that page .
* @ param url { @ link URL } that points to the HTML code
* @ return { @ link HtmlPage } for this { @ link URL } */
public static HtmlPage toHtmlPage ( URL url ) { } } | try { return ( HtmlPage ) new WebClient ( ) . getPage ( url ) ; } catch ( IOException e ) { throw new RuntimeException ( "Error creating HtmlPage from URL." , e ) ; } |
public class YggdrasilAuthenticator { /** * Creates a < code > YggdrasilAuthenticator < / code > with a customized
* { @ link AuthenticationService } and initializes it with a token .
* @ param clientToken the client token
* @ param accessToken the access token
* @ param service the customized { @ link Authenti... | Objects . requireNonNull ( clientToken ) ; Objects . requireNonNull ( accessToken ) ; Objects . requireNonNull ( service ) ; YggdrasilAuthenticator auth = new YggdrasilAuthenticator ( service ) ; auth . refreshWithToken ( clientToken , accessToken ) ; return auth ; |
public class DeleteSmsChannelRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( DeleteSmsChannelRequest deleteSmsChannelRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( deleteSmsChannelRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( deleteSmsChannelRequest . getApplicationId ( ) , APPLICATIONID_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request t... |
public class Stripe { /** * Blocking method to create a { @ link Token } for a { @ link BankAccount } . Do not call this on
* the UI thread or your app will crash .
* This method uses the default publishable key for this { @ link Stripe } instance .
* @ param bankAccount the { @ link Card } to use for this token ... | return createBankAccountTokenSynchronous ( bankAccount , mDefaultPublishableKey ) ; |
public class CommerceRegionUtil { /** * Returns the first commerce region in the ordered set where commerceCountryId = & # 63 ; .
* @ param commerceCountryId the commerce country ID
* @ param orderByComparator the comparator to order the set by ( optionally < code > null < / code > )
* @ return the first matching... | return getPersistence ( ) . fetchByCommerceCountryId_First ( commerceCountryId , orderByComparator ) ; |
public class DomainResource { /** * syntactic sugar */
public DomainResource addExtension ( Extension t ) { } } | if ( t == null ) return this ; if ( this . extension == null ) this . extension = new ArrayList < Extension > ( ) ; this . extension . add ( t ) ; return this ; |
public class ContextsClient { /** * Creates a context .
* < p > If the specified context already exists , overrides the context .
* < p > Sample code :
* < pre > < code >
* try ( ContextsClient contextsClient = ContextsClient . create ( ) ) {
* SessionName parent = SessionName . of ( " [ PROJECT ] " , " [ SES... | CreateContextRequest request = CreateContextRequest . newBuilder ( ) . setParent ( parent ) . setContext ( context ) . build ( ) ; return createContext ( request ) ; |
public class AbstractIdConfig { /** * Gets id .
* @ return the id */
public String getId ( ) { } } | if ( id == null ) { synchronized ( this ) { if ( id == null ) { id = "rpc-cfg-" + ID_GENERATOR . getAndIncrement ( ) ; } } } return id ; |
public class MetaClassImpl { /** * Retrieves the value of an attribute ( field ) . This method is to support the Groovy runtime and not for general client API usage .
* @ param sender The class of the object that requested the attribute
* @ param object The instance the attribute is to be retrieved from
* @ param... | checkInitalised ( ) ; boolean isStatic = theClass != Class . class && object instanceof Class ; if ( isStatic && object != theClass ) { MetaClass mc = registry . getMetaClass ( ( Class ) object ) ; return mc . getAttribute ( sender , object , attribute , useSuper ) ; } MetaProperty mp = getMetaProperty ( sender , attri... |
public class SimpleAntlrFactoryImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public EObject create ( EClass eClass ) { } } | switch ( eClass . getClassifierID ( ) ) { case SimpleAntlrPackage . ANTLR_GRAMMAR : return createAntlrGrammar ( ) ; case SimpleAntlrPackage . OPTIONS : return createOptions ( ) ; case SimpleAntlrPackage . OPTION_VALUE : return createOptionValue ( ) ; case SimpleAntlrPackage . RULE : return createRule ( ) ; case SimpleA... |
public class ToArrayList { /** * Returns a method that can be used with { @ link solid . stream . Stream # collect ( Func1 ) }
* to convert a stream into a { @ link List } .
* Use this method instead of { @ link # toArrayList ( ) } for better performance on
* streams that can have more than 12 items .
* @ param... | return new Func1 < Iterable < T > , ArrayList < T > > ( ) { @ Override public ArrayList < T > call ( Iterable < T > iterable ) { ArrayList < T > list = new ArrayList < > ( initialCapacity ) ; for ( T value : iterable ) list . add ( value ) ; return list ; } } ; |
public class MeteorAuthCommands { /** * Logs in using username / password
* @ param username username / email
* @ param password password */
public void login ( String username , String password ) { } } | Object [ ] methodArgs = new Object [ 1 ] ; if ( username != null && username . indexOf ( '@' ) > 1 ) { EmailAuth emailpass = new EmailAuth ( username , password ) ; methodArgs [ 0 ] = emailpass ; } else { UsernameAuth userpass = new UsernameAuth ( username , password ) ; methodArgs [ 0 ] = userpass ; } getDDP ( ) . cal... |
public class RegisteredResources { /** * Distribute forget flow to given resource .
* Used internally when resource indicates a heuristic condition .
* May result in retries if resource cannot be contacted .
* @ param resource - the resource to issue forget to
* @ param index - the index of this resource in the... | if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "forgetResource" , resource ) ; boolean result = false ; // indicates whether retry necessary
boolean auditing = false ; try { boolean informResource = true ; auditing = _transaction . auditSendForget ( resource ) ; if ( xaFlowCallbackEnabled ) { informResource = XAFlowC... |
public class Call { /** * Performs a delete http call and writes the call and response information
* to the output file
* @ param endpoint - the endpoint of the service under test
* @ param params - the parameters to be passed to the endpoint for the service
* call
* @ param file - an input file to be provide... | return call ( Method . DELETE , endpoint , params , file ) ; |
public class PumpStreamHandler { /** * Override this to customize how the background task is created .
* @ param task the task to be run in the background
* @ return the runnable of the wrapped task */
protected Runnable wrapTask ( Runnable task ) { } } | // Preserve the MDC context of the caller thread .
Map contextMap = MDC . getCopyOfContextMap ( ) ; if ( contextMap != null ) { return new MDCRunnableAdapter ( task , contextMap ) ; } return task ; |
public class JsonArraySerializer { /** * Method that can be called to ask implementation to serialize
* values of type this serializer handles .
* @ param value Value to serialize ; can < b > not < / b > be null .
* @ param gen Generator used to output resulting Json content
* @ param serializers Provider that ... | gen . writeObject ( value . getList ( ) ) ; |
public class SftpSubsystemChannel { /** * Recurse through a hierarchy of directories creating them as necessary .
* @ param path
* @ throws SftpStatusException
* , SshException */
public void recurseMakeDirectory ( String path ) throws SftpStatusException , SshException { } } | SftpFile file ; if ( path . trim ( ) . length ( ) > 0 ) { try { file = openDirectory ( path ) ; file . close ( ) ; } catch ( SshException ioe ) { int idx = 0 ; do { idx = path . indexOf ( '/' , idx ) ; String tmp = ( idx > - 1 ? path . substring ( 0 , idx + 1 ) : path ) ; try { file = openDirectory ( tmp ) ; file . clo... |
public class AbstractHPELConfigService { /** * { @ inheritDoc } */
@ SuppressWarnings ( "unchecked" ) @ Override public void updated ( Dictionary < String , ? > properties ) throws ConfigurationException { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) Tr . event ( tc , "HPEL properties updated for pid " + pid + ", properties=" + properties ) ; if ( properties == null ) return ; Map < String , Object > newMap = null ; if ( properties instanceof Map < ? , ? > ) { newMap = ( Map < String , Objec... |
public class ResourceReaderImpl { /** * / * ( non - Javadoc )
* @ see net . crowmagnumb . util . ResourceReader # getStringList ( java . lang . String , java . util . List ) */
@ Override public List < String > getStringList ( final String key , final List < String > defaultValue ) { } } | return getStringList ( key , DEFAULT_LIST_DELIMITER , defaultValue ) ; |
public class HamtPMap { /** * Returns an empty map . */
@ SuppressWarnings ( "unchecked" ) // Empty immutable collection is safe to cast .
public static < K , V > HamtPMap < K , V > empty ( ) { } } | return ( HamtPMap < K , V > ) EMPTY ; |
public class WaitPageInterceptor { /** * Create a wait context to execute event in background .
* @ param executionContext execution context
* @ param annotation wait page annotation
* @ return redirect redirect user so that wait page appears
* @ throws IOException could not create background request */
private... | // Create context used to call the event in background .
Context context = this . createContext ( executionContext ) ; context . actionBean = executionContext . getActionBean ( ) ; context . eventHandler = executionContext . getHandler ( ) ; context . annotation = annotation ; context . resolution = new ForwardResoluti... |
public class AzureAffinityGroupSupport { /** * Modifies details of the specified affinity group
* @ param affinityGroupId the ID of the affinity group to be modified
* @ param options the options containing the modified data
* @ return the newly modified Dasein AffinityGroup object
* @ throws org . dasein . clo... | if ( affinityGroupId == null || affinityGroupId . isEmpty ( ) ) throw new InternalException ( "Cannot modify an affinity group: affinityGroupId cannot be null or empty" ) ; if ( options == null || options . getDescription ( ) == null ) throw new InternalException ( "Cannot create AffinityGroup. Create options or affini... |
public class VisualizeStereoDisparity { /** * Active and deactivates different GUI configurations */
private void changeGuiActive ( final boolean error , final boolean reverse ) { } } | SwingUtilities . invokeLater ( new Runnable ( ) { public void run ( ) { control . setActiveGui ( error , reverse ) ; } } ) ; |
public class VerifyMappingsTask { /** * Returns the Class object of the class specified in the OJB . properties
* file for the " PersistentFieldClass " property .
* @ return Class The Class object of the " PersistentFieldClass " class
* specified in the OJB . properties file . */
public Class getPersistentFieldCl... | if ( m_persistenceClass == null ) { Properties properties = new Properties ( ) ; try { this . logWarning ( "Loading properties file: " + getPropertiesFile ( ) ) ; properties . load ( new FileInputStream ( getPropertiesFile ( ) ) ) ; } catch ( IOException e ) { this . logWarning ( "Could not load properties file '" + ge... |
public class XPathParser { /** * Retrieve the previous token from the command and
* store it in m _ token string . */
private final void prevToken ( ) { } } | if ( m_queueMark > 0 ) { m_queueMark -- ; m_token = ( String ) m_ops . m_tokenQueue . elementAt ( m_queueMark ) ; m_tokenChar = m_token . charAt ( 0 ) ; } else { m_token = null ; m_tokenChar = 0 ; } |
public class BinConverter { /** * converts a binhex string back into a byte array ( invalid codes will be skipped )
* @ param sBinHex binhex string
* @ param data the target array
* @ param nSrcPos from which character in the string the conversion should begin , remember that
* ( nSrcPos modulo 2 ) should equal... | // check for correct ranges
int nStrLen = sBinHex . length ( ) ; int nAvailBytes = ( nStrLen - nSrcPos ) >> 1 ; if ( nAvailBytes < nNumOfBytes ) nNumOfBytes = nAvailBytes ; int nOutputCapacity = data . length - nDstPos ; if ( nNumOfBytes > nOutputCapacity ) nNumOfBytes = nOutputCapacity ; // convert now
int nResult = 0... |
public class CompactCalendarController { /** * it returns 0-6 where 0 is Sunday instead of 1 */
int getDayOfWeek ( Calendar calendar ) { } } | int dayOfWeek = calendar . get ( Calendar . DAY_OF_WEEK ) - firstDayOfWeekToDraw ; dayOfWeek = dayOfWeek < 0 ? 7 + dayOfWeek : dayOfWeek ; return dayOfWeek ; |
public class JavaSrcTextBuffer { /** * Formatted print .
* @ param text format string
* @ param args arguments for formatted string
* @ return this instance
* @ see String # format ( String , Object . . . ) */
public JavaSrcTextBuffer printf ( final String text , final Object ... args ) { } } | this . buffer . append ( String . format ( text , args ) ) ; return this ; |
public class CmsSolrDocument { /** * Adds the given document dependency to this document . < p >
* @ param cms the current CmsObject
* @ param resDeps the dependency */
public void addDocumentDependency ( CmsObject cms , CmsDocumentDependency resDeps ) { } } | if ( resDeps != null ) { m_doc . addField ( CmsSearchField . FIELD_DEPENDENCY_TYPE , resDeps . getType ( ) ) ; if ( ( resDeps . getMainDocument ( ) != null ) && ( resDeps . getType ( ) != null ) ) { m_doc . addField ( CmsSearchField . FIELD_PREFIX_DEPENDENCY + resDeps . getType ( ) . toString ( ) , resDeps . getMainDoc... |
public class LocationApi { /** * Build call for getCharactersCharacterIdShip
* @ param characterId
* An EVE character ID ( required )
* @ param datasource
* The server name you would like data from ( optional , default to
* tranquility )
* @ param ifNoneMatch
* ETag from a previous request . A 304 will be... | Object localVarPostBody = new Object ( ) ; // create path and map variables
String localVarPath = "/v1/characters/{character_id}/ship/" . replaceAll ( "\\{" + "character_id" + "\\}" , apiClient . escapeString ( characterId . toString ( ) ) ) ; List < Pair > localVarQueryParams = new ArrayList < Pair > ( ) ; List < Pair... |
public class Handler { /** * pop command from stack and put it to one of collections */
@ Override public void endElement ( String namespaceURI , String localeName , String tagName ) throws SAXException { } } | Command cmd = stack . pop ( ) ; // cmd . setTabCount ( tabCount ) ;
// find if command works in context
if ( ! stack . isEmpty ( ) ) { Command ctx = stack . peek ( ) ; ctx . addChild ( cmd ) ; } // upper level commands
if ( stack . size ( ) == 1 && cmd . isExecutable ( ) ) { commands . add ( cmd ) ; } // store referenc... |
public class JQMPage { /** * Sets the header element , overriding an existing header if any . */
public void setHeader ( HasJqmHeader header ) { } } | removeHeader ( ) ; this . header = header ; if ( this . header == null ) return ; addLogical ( header . getHeaderStage ( ) ) ; if ( panel == null ) { getElement ( ) . insertBefore ( header . getJqmHeader ( ) . getElement ( ) , getElement ( ) . getFirstChild ( ) ) ; } else { getElement ( ) . insertAfter ( header . getJq... |
public class ImmutableTable { /** * Returns a new builder . The generated builder is equivalent to the builder
* created by the { @ link Builder # ImmutableTable . Builder ( ) } constructor . */
public static < R , C , V > Builder < R , C , V > builder ( ) { } } | return new Builder < R , C , V > ( ) ; |
public class UrlCopy { /** * Returns input stream based on the source url */
protected GlobusInputStream getInputStream ( ) throws Exception { } } | GlobusInputStream in = null ; String fromP = srcUrl . getProtocol ( ) ; String fromFile = srcUrl . getPath ( ) ; if ( fromP . equalsIgnoreCase ( "file" ) ) { fromFile = URLDecoder . decode ( fromFile ) ; in = new GlobusFileInputStream ( fromFile ) ; } else if ( fromP . equalsIgnoreCase ( "ftp" ) ) { fromFile = URLDecod... |
public class MarshallUtil { /** * Unmarshall arrays .
* @ param in { @ link ObjectInput } to read .
* @ param builder { @ link ArrayBuilder } to build the array .
* @ param < E > Array type .
* @ return The populated array .
* @ throws IOException If any of the usual Input / Output related exceptions occur . ... | final int size = unmarshallSize ( in ) ; if ( size == NULL_VALUE ) { return null ; } final E [ ] array = Objects . requireNonNull ( builder , "ArrayBuilder must be non-null" ) . build ( size ) ; for ( int i = 0 ; i < size ; ++ i ) { // noinspection unchecked
array [ i ] = ( E ) in . readObject ( ) ; } return array ; |
public class FileUtilsV2_2 { /** * Moves a file .
* When the destination file is on another file system , do a " copy and delete " .
* @ param srcFile the file to be moved
* @ param destFile the destination file
* @ throws NullPointerException if source or destination is < code > null < / code >
* @ throws Fi... | if ( srcFile == null ) { throw new NullPointerException ( "Source must not be null" ) ; } if ( destFile == null ) { throw new NullPointerException ( "Destination must not be null" ) ; } if ( ! srcFile . exists ( ) ) { throw new FileNotFoundException ( "Source '" + srcFile + "' does not exist" ) ; } if ( srcFile . isDir... |
public class AbstractClusterBuilder { /** * Calculates the initial clusters randomly , this could be replaced with a better algorithm
* @ param values
* @ param numClusters
* @ return */
protected Cluster [ ] calculateInitialClusters ( List < ? extends Clusterable > values , int numClusters ) { } } | Cluster [ ] clusters = new Cluster [ numClusters ] ; // choose centers and create the initial clusters
Random random = new Random ( 1 ) ; Set < Integer > clusterCenters = new HashSet < Integer > ( ) ; for ( int i = 0 ; i < numClusters ; i ++ ) { int index = random . nextInt ( values . size ( ) ) ; while ( clusterCenter... |
public class JobFlowInstancesConfig { /** * A list of additional Amazon EC2 security group IDs for the core and task nodes .
* @ return A list of additional Amazon EC2 security group IDs for the core and task nodes . */
public java . util . List < String > getAdditionalSlaveSecurityGroups ( ) { } } | if ( additionalSlaveSecurityGroups == null ) { additionalSlaveSecurityGroups = new com . amazonaws . internal . SdkInternalList < String > ( ) ; } return additionalSlaveSecurityGroups ; |
public class URLRewriterService { /** * Print out information about the chain of URLRewriters in this request .
* @ param request the current HttpServletRequest .
* @ param output a PrintStream to output chain of URLRewriters in this request .
* If < code > null < / null > , < code > System . err < / code > is us... | ArrayList /* < URLRewriter > */
rewriters = getRewriters ( request ) ; if ( output == null ) output = System . err ; output . println ( "*** List of URLRewriter objects: " + rewriters ) ; if ( rewriters != null ) { int count = 0 ; for ( Iterator i = rewriters . iterator ( ) ; i . hasNext ( ) ; ) { URLRewriter rewriter ... |
public class AbstractReadableInstantFieldProperty { /** * Compare this field to the same field on another partial instant .
* The comparison is based on the value of the same field type , irrespective
* of any difference in chronology . Thus , if this property represents the
* hourOfDay field , then the hourOfDay... | if ( partial == null ) { throw new IllegalArgumentException ( "The partial must not be null" ) ; } int thisValue = get ( ) ; int otherValue = partial . get ( getFieldType ( ) ) ; if ( thisValue < otherValue ) { return - 1 ; } else if ( thisValue > otherValue ) { return 1 ; } else { return 0 ; } |
public class ST_AsGeoJSON { /** * Coordinates of a MultiPolygon are an array of Polygon coordinate arrays .
* Syntax :
* { " type " : " MultiPolygon " , " coordinates " : [ [ [ [ 102.0 , 2.0 ] , [ 103.0 , 2.0 ] ,
* [ 103.0 , 3.0 ] , [ 102.0 , 3.0 ] , [ 102.0 , 2.0 ] ] ] , [ [ [ 100.0 , 0.0 ] , [ 101.0 , 0.0 ] ,
... | sb . append ( "{\"type\":\"MultiPolygon\",\"coordinates\":[" ) ; for ( int i = 0 ; i < multiPolygon . getNumGeometries ( ) ; i ++ ) { Polygon p = ( Polygon ) multiPolygon . getGeometryN ( i ) ; sb . append ( "[" ) ; // Process exterior ring
toGeojsonCoordinates ( p . getExteriorRing ( ) . getCoordinates ( ) , sb ) ; //... |
public class VodClient { /** * Transcode the media again . Only status is FAILED or PUBLISHED media can use .
* @ param mediaId The unique ID for each media resource
* @ return */
public ReTranscodeResponse reTranscode ( String mediaId ) { } } | ReTranscodeRequest request = new ReTranscodeRequest ( ) . withMediaId ( mediaId ) ; return reTranscode ( request ) ; |
public class BNFHeadersImpl { /** * Utility method for parsing a header value out of the input buffer .
* @ param buff
* @ return boolean ( false if need more data , true otherwise )
* @ throws MalformedMessageException */
private boolean parseHeaderValueExtract ( WsByteBuffer buff ) throws MalformedMessageExcept... | // 295178 - don ' t log sensitive information
// log value contents based on the header key ( if known )
int log = LOG_FULL ; HeaderKeys key = this . currentElem . getKey ( ) ; if ( null != key && ! key . shouldLogValue ( ) ) { // this header key wants to block the entire thing
log = LOG_NONE ; } TokenCodes tcRC = pars... |
public class RMIImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public void eUnset ( int featureID ) { } } | switch ( featureID ) { case AfplibPackage . RMI__INCRMENT : setINCRMENT ( INCRMENT_EDEFAULT ) ; return ; } super . eUnset ( featureID ) ; |
public class CmsSiteManagerImpl { /** * Returns < code > true < / code > if the given site matcher matches the current site . < p >
* @ param cms the current OpenCms user context
* @ param matcher the site matcher to match the site with
* @ return < code > true < / code > if the matcher matches the current site *... | return m_siteMatcherSites . get ( matcher ) == getCurrentSite ( cms ) ; |
public class PromisesArray { /** * Create PromisesArray from collection
* @ param collection Source collection
* @ param < T > type of array
* @ return array */
@ SuppressWarnings ( "unchecked" ) public static < T > PromisesArray < T > of ( Collection < T > collection ) { } } | final ArrayList < Promise < T > > res = new ArrayList < > ( ) ; for ( T t : collection ) { res . add ( Promise . success ( t ) ) ; } final Promise [ ] promises = res . toArray ( new Promise [ res . size ( ) ] ) ; return new PromisesArray < > ( ( PromiseFunc < Promise < T > [ ] > ) executor -> { executor . result ( prom... |
public class IndexBuilder { /** * Sort the index map . Traverse the index map for all it ' s elements and
* sort each element which is a list . */
protected void sortIndexMap ( ) { } } | for ( List < Doc > docs : indexmap . values ( ) ) { Collections . sort ( docs , configuration . utils . makeComparatorForIndexUse ( ) ) ; } |
public class BindTypeContext { /** * Gets the bind mapper name .
* @ param context the context
* @ param typeName the type name
* @ return the bind mapper name */
public String getBindMapperName ( BindTypeContext context , TypeName typeName ) { } } | Converter < String , String > format = CaseFormat . UPPER_CAMEL . converterTo ( CaseFormat . LOWER_CAMEL ) ; TypeName bindMapperName = TypeUtility . mergeTypeNameWithSuffix ( typeName , BindTypeBuilder . SUFFIX ) ; String simpleName = format . convert ( TypeUtility . simpleName ( bindMapperName ) ) ; if ( ! alreadyGene... |
public class U { /** * Documented , # object */
public static < K , V > List < Tuple < K , V > > object ( final List < K > keys , final List < V > values ) { } } | return map ( keys , new Function < K , Tuple < K , V > > ( ) { private int index ; @ Override public Tuple < K , V > apply ( K key ) { return Tuple . create ( key , values . get ( index ++ ) ) ; } } ) ; |
public class CommonOps_DDF5 { /** * < p > Performs an element by element multiplication operation : < br >
* < br >
* c < sub > ij < / sub > = a < sub > ij < / sub > * b < sub > ij < / sub > < br >
* @ param a The left matrix in the multiplication operation . Not modified .
* @ param b The right matrix in the m... | c . a11 = a . a11 * b . a11 ; c . a12 = a . a12 * b . a12 ; c . a13 = a . a13 * b . a13 ; c . a14 = a . a14 * b . a14 ; c . a15 = a . a15 * b . a15 ; c . a21 = a . a21 * b . a21 ; c . a22 = a . a22 * b . a22 ; c . a23 = a . a23 * b . a23 ; c . a24 = a . a24 * b . a24 ; c . a25 = a . a25 * b . a25 ; c . a31 = a . a31 * ... |
public class MessageItem { /** * Sets both the cached version of the reliability and the
* reliability in the underlying message .
* Called by the AbstractInputHandler to update the message
* reliability to that of the destination .
* @ param reliability */
public void setReliability ( Reliability reliability )... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "setReliability" , reliability ) ; JsMessage localMsg = getJSMessage ( true ) ; msgReliability = reliability ; localMsg . setReliability ( msgReliability ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEnt... |
public class ListStatistics { /** * Defect 510343.1 */
public final void incrementAvailable ( int sizeInBytes ) throws SevereMessageStoreException { } } | boolean doCallback = false ; synchronized ( this ) { _countAvailable ++ ; doCallback = _incrementTotal ( sizeInBytes ) ; } if ( doCallback ) { _owningStreamLink . eventWatermarkBreached ( ) ; } |
public class Distill { /** * Convert the dot notation entity bean packages to slash notation .
* @ param packages entity bean packages */
static DetectQueryBean convert ( Collection < String > packages ) { } } | String [ ] asArray = packages . toArray ( new String [ packages . size ( ) ] ) ; for ( int i = 0 ; i < asArray . length ; i ++ ) { asArray [ i ] = convert ( asArray [ i ] ) ; } return new DetectQueryBean ( asArray ) ; |
public class ClassUtils { /** * Loads the Class object for the specified , fully qualified class name using the provided ClassLoader and the option
* to initialize the class ( calling any static initializers ) once loaded .
* @ param < T > { @ link Class } type of T .
* @ param fullyQualifiedClassName a String in... | try { return ( Class < T > ) Class . forName ( fullyQualifiedClassName , initialize , classLoader ) ; } catch ( ClassNotFoundException | NoClassDefFoundError cause ) { throw new TypeNotFoundException ( String . format ( "Class [%s] was not found" , fullyQualifiedClassName ) , cause ) ; } |
public class RuntimeSchema { /** * Generates a schema from the given class with the exclusion of certain fields . */
public static < T > RuntimeSchema < T > createFrom ( Class < T > typeClass , String [ ] exclusions , IdStrategy strategy ) { } } | HashSet < String > set = new HashSet < String > ( ) ; for ( String exclusion : exclusions ) set . add ( exclusion ) ; return createFrom ( typeClass , set , strategy ) ; |
public class DescribeAssociationExecutionTargetsRequest { /** * Filters for the request . You can specify the following filters and values .
* Status ( EQUAL )
* ResourceId ( EQUAL )
* ResourceType ( EQUAL )
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link... | if ( this . filters == null ) { setFilters ( new com . amazonaws . internal . SdkInternalList < AssociationExecutionTargetsFilter > ( filters . length ) ) ; } for ( AssociationExecutionTargetsFilter ele : filters ) { this . filters . add ( ele ) ; } return this ; |
public class AbstractResult { /** * Computes the minimum .
* @ param meter the meter of the mean
* @ return the minimum result value . */
public final double min ( final AbstractMeter meter ) { } } | checkIfMeterExists ( meter ) ; final AbstractUnivariateStatistic min = new Min ( ) ; final CollectionDoubleCollection doubleColl = new CollectionDoubleCollection ( this . meterResults . get ( meter ) ) ; return min . evaluate ( doubleColl . toArray ( ) , 0 , doubleColl . toArray ( ) . length ) ; |
public class OpValidation { /** * Returns a list of classes that are not gradient checkable .
* An operation may not be gradient checkable due to , for example :
* ( a ) Having no real - valued arguments < br >
* ( b ) Having random output ( dropout , for example ) < br >
* Note that hawving non - real - valued... | List list = Arrays . asList ( // Exclude misc
DynamicCustomOp . class , EqualsWithEps . class , ConfusionMatrix . class , Eye . class , OneHot . class , BinaryMinimalRelativeError . class , BinaryMinimalRelativeError . class , Histogram . class , InvertPermutation . class , // Uses integer indices
ConfusionMatrix . cla... |
public class FileTransferNegotiator { /** * Returns a new , unique , stream ID to identify a file transfer .
* @ return Returns a new , unique , stream ID to identify a file transfer . */
public static String getNextStreamID ( ) { } } | StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( STREAM_INIT_PREFIX ) ; buffer . append ( randomGenerator . nextInt ( Integer . MAX_VALUE ) + randomGenerator . nextInt ( Integer . MAX_VALUE ) ) ; return buffer . toString ( ) ; |
public class KnowledgeBasesClient { /** * Deletes the specified knowledge base .
* < p > Sample code :
* < pre > < code >
* try ( KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient . create ( ) ) {
* KnowledgeBaseName name = KnowledgeBaseName . of ( " [ PROJECT ] " , " [ KNOWLEDGE _ BASE ] " ) ;
... | DeleteKnowledgeBaseRequest request = DeleteKnowledgeBaseRequest . newBuilder ( ) . setName ( name == null ? null : name . toString ( ) ) . build ( ) ; deleteKnowledgeBase ( request ) ; |
public class ClassSpecRegistry { /** * SQL */
private static String getColumnName ( ColumnAnn ann , Field field ) { } } | String name = ann . name ; if ( isEmpty ( name ) ) { name = field . getName ( ) ; if ( isEntity ( field . getType ( ) ) && ! name . endsWith ( ID_AFFIX ) ) { name += ID_AFFIX ; } } return name ; |
public class JsiiClient { /** * Creates a remote jsii object .
* @ param fqn The fully - qualified - name of the class .
* @ param initializerArgs Constructor arguments .
* @ return A jsii object reference . */
public JsiiObjectRef createObject ( final String fqn , final List < Object > initializerArgs ) { } } | return createObject ( fqn , initializerArgs , Collections . emptyList ( ) ) ; |
public class LinkedBlockingQueue { /** * Removes a node from head of queue .
* @ return the node */
private E dequeue ( ) { } } | // assert takeLock . isHeldByCurrentThread ( ) ;
// assert head . item = = null ;
Node < E > h = head ; Node < E > first = h . next ; h . next = sentinel ( ) ; // help GC
head = first ; E x = first . item ; first . item = null ; return x ; |
public class DeploymentsInner { /** * Deploys resources to a resource group .
* You can provide the template and parameters directly in the request or link to JSON files .
* @ param resourceGroupName The name of the resource group to deploy the resources to . The name is case insensitive . The resource group must a... | return ServiceFuture . fromResponse ( beginCreateOrUpdateWithServiceResponseAsync ( resourceGroupName , deploymentName , properties ) , serviceCallback ) ; |
public class QueryParserBase { /** * Get the mapped field name using meta information derived from the given domain type .
* @ param field
* @ param domainType
* @ return
* @ since 4.0 */
protected String getMappedFieldName ( Field field , @ Nullable Class < ? > domainType ) { } } | return getMappedFieldName ( field . getName ( ) , domainType ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.