signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class ConfigurationMetadataRepositoryJsonBuilder { /** * Create a new builder instance using { @ link StandardCharsets # UTF _ 8 } as the default
* charset and the specified json resource .
* @ param inputStreams the source input streams
* @ return a new { @ link ConfigurationMetadataRepositoryJsonBuilder ... | ConfigurationMetadataRepositoryJsonBuilder builder = create ( ) ; for ( InputStream inputStream : inputStreams ) { builder = builder . withJsonResource ( inputStream ) ; } return builder ; |
public class RtfDestinationShppict { /** * / * ( non - Javadoc )
* @ see com . lowagie . text . rtf . direct . RtfDestination # handleGroupEnd ( ) */
public boolean handleCloseGroup ( ) { } } | this . onCloseGroup ( ) ; // event handler
if ( this . rtfParser . isImport ( ) ) { if ( this . buffer . length ( ) > 0 ) { writeBuffer ( ) ; } if ( dataOS != null ) { addImage ( ) ; dataOS = null ; } this . writeText ( "}" ) ; return true ; } if ( this . rtfParser . isConvert ( ) ) { if ( dataOS != null ) { addImage (... |
public class SipResourceAdaptor { /** * ( non - Javadoc )
* @ see javax . slee . resource . ResourceAdaptor # raInactive ( ) */
public synchronized void raInactive ( ) { } } | this . provider . removeSipListener ( this ) ; ListeningPoint [ ] listeningPoints = this . provider . getListeningPoints ( ) ; for ( int i = 0 ; i < listeningPoints . length ; i ++ ) { ListeningPoint lp = listeningPoints [ i ] ; for ( int k = 0 ; k < 10 ; k ++ ) { try { this . sipStack . deleteListeningPoint ( lp ) ; t... |
public class LSrtSupplierBuilder { /** * Builds the functional interface implementation and if previously provided calls the consumer . */
@ Nonnull public final LSrtSupplier build ( ) { } } | final LSrtSupplier eventuallyFinal = this . eventually ; LSrtSupplier retval ; final Case < LBoolSupplier , LSrtSupplier > [ ] casesArray = cases . toArray ( new Case [ cases . size ( ) ] ) ; retval = LSrtSupplier . srtSup ( ( ) -> { try { for ( Case < LBoolSupplier , LSrtSupplier > aCase : casesArray ) { if ( aCase . ... |
public class DatalogDependencyGraphGenerator { /** * Updates the { @ link # predicateDependencyGraph } by the input rule .
* It adds all the edges < rule . head . pred , p > to
* { @ link # predicateDependencyGraph } , for all the p in the predicates of the
* rule body
* @ param rule */
private void updatePredi... | List < Predicate > dependencyList = new LinkedList < > ( ) ; for ( Function bodyAtom : rule . getBody ( ) ) { if ( bodyAtom . isDataFunction ( ) ) { dependencyList . add ( bodyAtom . getFunctionSymbol ( ) ) ; } else if ( bodyAtom . isAlgebraFunction ( ) || bodyAtom . isOperation ( ) ) { updatePredicateDependencyGraph_t... |
public class StringUtils { /** * Generates a random string of a given length
* @ param length The length of the string
* @ param min The min character in the string
* @ param max The max character in the string
* @ param validChar CharPredicate that must match for a character to be returned in the string
* @ ... | if ( length <= 0 ) { return EMPTY ; } Random random = new Random ( ) ; int maxRandom = max - min ; char [ ] array = new char [ length ] ; for ( int i = 0 ; i < array . length ; i ++ ) { char c ; do { c = ( char ) ( random . nextInt ( maxRandom ) + min ) ; } while ( Character . isLowSurrogate ( c ) || Character . isHigh... |
public class BinTrie { /** * 保存到二进制输出流
* @ param out
* @ return */
public boolean save ( DataOutputStream out ) { } } | try { for ( BaseNode node : child ) { if ( node == null ) { out . writeInt ( 0 ) ; } else { out . writeInt ( 1 ) ; node . walkToSave ( out ) ; } } } catch ( Exception e ) { logger . warning ( "保存到" + out + "失败" + TextUtility . exceptionToString ( e ) ) ; return false ; } return true ; |
public class DirectoryOperation { /** * Determine whether the operation contains a file .
* @ param f
* @ return boolean */
public boolean containsFile ( File f ) { } } | return unchangedFiles . contains ( f ) || newFiles . contains ( f ) || updatedFiles . contains ( f ) || deletedFiles . contains ( f ) || recursedDirectories . contains ( f ) || failedTransfers . containsKey ( f ) ; |
public class DBManagerService { /** * throws a DBNotAvailableException , keep trying . */
private DBService createDefaultDBService ( ) { } } | m_logger . info ( "Creating DBService for default tenant" ) ; String dbServiceName = ServerParams . instance ( ) . getModuleParamString ( "DBService" , "dbservice" ) ; if ( Utils . isEmpty ( dbServiceName ) ) { throw new RuntimeException ( "'DBService.dbservice' parameter is not defined." ) ; } DBService dbservice = nu... |
public class BeamSearch { /** * Returns the best sequence of outcomes based on model for this object .
* @ param numSequences The maximum number of sequences to be returned .
* @ param sequence The input sequence .
* @ param additionalContext An Object [ ] of additional context . This is passed to the context gen... | int n = sequence . length ; Heap prev = new ListHeap ( size ) ; Heap next = new ListHeap ( size ) ; Heap tmp ; prev . add ( new Sequence ( ) ) ; if ( additionalContext == null ) { additionalContext = EMPTY_ADDITIONAL_CONTEXT ; } for ( int i = 0 ; i < n ; i ++ ) { int sz = Math . min ( size , prev . size ( ) ) ; int sc ... |
public class WCOutputStream { /** * @ see javax . servlet . ServletOutputStream # println ( float ) */
public void println ( float f ) throws IOException { } } | String value = Float . toString ( f ) ; this . output . write ( value . getBytes ( ) , 0 , value . length ( ) ) ; this . output . write ( CRLF , 0 , 2 ) ; |
public class HttpMethodBase { /** * Returns the URI of the HTTP method
* @ return The URI
* @ throws URIException If the URI cannot be created .
* @ see org . apache . commons . httpclient . HttpMethod # getURI ( ) */
@ Override public URI getURI ( ) throws URIException { } } | StringBuffer buffer = new StringBuffer ( ) ; if ( this . httphost != null ) { buffer . append ( this . httphost . getProtocol ( ) . getScheme ( ) ) ; buffer . append ( "://" ) ; buffer . append ( this . httphost . getHostName ( ) ) ; int port = this . httphost . getPort ( ) ; if ( port != - 1 && port != this . httphost... |
public class ClipboardUtils { /** * Get the current text from the clipboard .
* @ return Clipboard text or { @ code null } if clipboard is empty or unavailable . */
public static String getClipboardText ( final Context context ) { } } | final ClipboardManager clipboard = ( ClipboardManager ) context . getSystemService ( Context . CLIPBOARD_SERVICE ) ; final ClipData clipData = clipboard . getPrimaryClip ( ) ; if ( clipData != null && clipData . getItemCount ( ) > 0 ) { final CharSequence clipboardText = clipData . getItemAt ( 0 ) . getText ( ) ; if ( ... |
public class SubFileFilter { /** * Constructor .
* @ param record My owner ( usually passed as null , and set on addListener in setOwner ( ) ) .
* @ param recordMain The main record to create a sub - query for .
* @ param fldMainFile First field in the key fields .
* @ param fldMainFile2 Second field in the key... | // For this to work right , the booking number field needs a listener to re - select this file whenever it changes
super . init ( record , fldMainFileName , null , fldMainFileName2 , null , fldMainFileName3 , null ) ; m_recordMain = recordMain ; m_strKeyName = keyName ; m_fldMainFile = fldMainFile ; m_fldMainFile2 = fl... |
public class PlannerReader { /** * This method extracts resource data from a Planner file .
* @ param plannerProject Root node of the Planner file */
private void readResources ( Project plannerProject ) throws MPXJException { } } | Resources resources = plannerProject . getResources ( ) ; if ( resources != null ) { for ( net . sf . mpxj . planner . schema . Resource res : resources . getResource ( ) ) { readResource ( res ) ; } } |
public class Html5DatatypeLibraryFactory { /** * Returns a < code > Html5DatatypeLibrary < / code > on the library namespace and < code > null < / code >
* otherwise .
* @ param namespaceURI a namespace URI
* @ return a < code > DatatypeLibrary < / code > or < code > null < / code >
* @ see org . relaxng . data... | if ( NAMESPACE . equals ( namespaceURI ) ) { return new Html5DatatypeLibrary ( ) ; } return null ; |
public class FieldProducerFactory { /** * Producers returned from this method are not validated . Internal use only . */
@ Override public < T > Producer < T > createProducer ( final Bean < X > declaringBean , final Bean < T > bean , DisposalMethod < X , T > disposalMethod ) { } } | EnhancedAnnotatedField < T , X > enhancedField = getManager ( ) . getServices ( ) . get ( MemberTransformer . class ) . loadEnhancedMember ( field , getManager ( ) . getId ( ) ) ; return new ProducerFieldProducer < X , T > ( enhancedField , disposalMethod ) { @ Override public AnnotatedField < X > getAnnotated ( ) { re... |
public class SftpFileAttributes { /** * Determine whether these attributes refer to a symbolic link .
* @ return boolean */
public boolean isLink ( ) { } } | if ( sftp . getVersion ( ) > 3 ) { return type == SSH_FILEXFER_TYPE_SYMLINK ; } else if ( permissions != null && ( permissions . longValue ( ) & SftpFileAttributes . S_IFLNK ) == SftpFileAttributes . S_IFLNK ) { return true ; } else { return false ; } |
public class DSXMarketDataServiceRawCore { /** * Get recent trades from exchange
* @ param pairs String of currency pairs to retrieve ( e . g . " btcusd - btceur " )
* @ param size Integer value from 1 - > get corresponding number of items
* @ return DSXTradesWrapper
* @ throws IOException */
public DSXTradesWr... | if ( size < 1 ) { size = 1 ; } if ( size > FULL_SIZE ) { size = FULL_SIZE ; } return dsx . getTrades ( pairs . toLowerCase ( ) , size , 1 , type ) ; |
public class NameNode { /** * { @ inheritDoc }
* implement old API for backwards compatibility */
@ Override @ Deprecated public FileStatus [ ] getCorruptFiles ( ) throws IOException { } } | CorruptFileBlocks corruptFileBlocks = listCorruptFileBlocks ( "/" , null ) ; Set < String > filePaths = new HashSet < String > ( ) ; for ( String file : corruptFileBlocks . getFiles ( ) ) { filePaths . add ( file ) ; } List < FileStatus > fileStatuses = new ArrayList < FileStatus > ( filePaths . size ( ) ) ; for ( Stri... |
public class FunctionCall { /** * Sets function argument list
* @ param arguments function argument list . Can be { @ code null } ,
* in which case any existing args are removed . */
public void setArguments ( List < AstNode > arguments ) { } } | if ( arguments == null ) { this . arguments = null ; } else { if ( this . arguments != null ) this . arguments . clear ( ) ; for ( AstNode arg : arguments ) { addArgument ( arg ) ; } } |
public class JavaUtils { /** * Load a Java type from a given class loader .
* @ param typeName maybe the source notation of a primitve , class name , array of both */
public static Class < ? > loadJavaType ( String typeName , ClassLoader classLoader ) throws ClassNotFoundException { } } | if ( classLoader == null ) classLoader = getContextClassLoader ( ) ; Class < ? > javaType = primitiveNames . get ( typeName ) ; if ( javaType == null ) javaType = getArray ( typeName , classLoader ) ; if ( javaType == null ) javaType = classLoader . loadClass ( typeName ) ; return javaType ; |
public class Billing { /** * < pre >
* Billing configurations for sending metrics to the consumer project .
* There can be multiple consumer destinations per service , each one must have
* a different monitored resource type . A metric can be used in at most
* one consumer destination .
* < / pre >
* < code... | return consumerDestinations_ . get ( index ) ; |
public class MeasureFactory { /** * Create { @ link PullMeasure } s based on the getters available from an
* instance , whatever it is . The { @ link Class } of the instance is analyzed
* to retrieve its public methods and a { @ link PullMeasure } is built for
* each method which use a getter - like signature . T... | Map < String , PullMeasure < ? > > measures = new HashMap < String , PullMeasure < ? > > ( ) ; Class < ? extends Object > clazz = object . getClass ( ) ; for ( final Method method : clazz . getMethods ( ) ) { if ( method . getParameterTypes ( ) . length == 0 && ! method . getReturnType ( ) . equals ( Void . TYPE ) && !... |
public class ArrayHelper { /** * Get a 1:1 copy of the passed array using the passed number of array
* elements . Nested elements are not deep - copied - the references are re - used !
* @ param aArray
* The array to be copied .
* @ param nLength
* The number of elements to be copied into the new array . May ... | return aArray == null ? null : getCopy ( aArray , 0 , Math . min ( aArray . length , nLength ) ) ; |
public class UriEscaper { /** * Escapes a string as a URI query
* @ param query the path to escape
* @ param strict whether or not to do strict escaping
* @ return the escaped string */
public static String escapeQuery ( final String query , final boolean strict ) { } } | return ( strict ? STRICT_ESCAPER : ESCAPER ) . escapeQuery ( query ) ; |
public class MarkerUtil { /** * As a side - effect this method updates missing line information for some
* bugs stored in the given bug collection
* @ param project
* @ param theCollection
* @ return never null */
public static List < MarkerParameter > createBugParameters ( IJavaProject project , BugCollection ... | List < MarkerParameter > bugParameters = new ArrayList < > ( ) ; if ( project == null ) { FindbugsPlugin . getDefault ( ) . logException ( new NullPointerException ( "project is null" ) , "project is null" ) ; return bugParameters ; } Iterator < BugInstance > iterator = theCollection . iterator ( ) ; while ( iterator .... |
public class IssueTrackingDelegator { /** * Special case where we want to do the issue tracking with the merge branch , and copy matched issue to the current branch . */
private boolean isFirstAnalysisSecondaryLongLivingBranch ( ) { } } | if ( analysisMetadataHolder . isFirstAnalysis ( ) ) { Branch branch = analysisMetadataHolder . getBranch ( ) ; return ! branch . isMain ( ) && branch . getType ( ) == BranchType . LONG ; } return false ; |
public class Ifc4PackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public EClass getIfcStructuralSurfaceReaction ( ) { } } | if ( ifcStructuralSurfaceReactionEClass == null ) { ifcStructuralSurfaceReactionEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( Ifc4Package . eNS_URI ) . getEClassifiers ( ) . get ( 664 ) ; } return ifcStructuralSurfaceReactionEClass ; |
public class CombinedLayertree { /** * - - part of legend */
@ Override protected void initialize ( ) { } } | super . initialize ( ) ; ClientLayerTreeInfo ltwli = ( ClientLayerTreeInfo ) mapWidget . getMapModel ( ) . getMapInfo ( ) . getWidgetInfo ( ClientLayerTreeInfo . IDENTIFIER ) ; setIconSize ( ltwli == null ? GltLayout . layerTreeIconSize : ltwli . getIconSize ( ) ) ; for ( Layer < ? > layer : mapModel . getLayers ( ) ) ... |
public class FIPXMLParser { /** * Parse a product descriptor from a file containing a swap trade .
* @ param file File containing a swap trade .
* @ return Product descriptor extracted from the file .
* @ throws SAXException Thrown by the xml parser .
* @ throws IOException Thrown if the file in not found or an... | Document doc = DocumentBuilderFactory . newInstance ( ) . newDocumentBuilder ( ) . parse ( file ) ; doc . getDocumentElement ( ) . normalize ( ) ; // Check compatibility
if ( ! doc . getDocumentElement ( ) . getNodeName ( ) . equalsIgnoreCase ( "FIPXML" ) ) { throw new IllegalArgumentException ( "This parser is meant f... |
public class PAreaSizeBDGenerator { /** * @ param < S > A phantom type parameter indicating the coordinate space of the
* area
* @ return A generator initialized with useful defaults */
public static < S > PAreaSizeBDGenerator < S > create ( ) { } } | final LongGenerator gen = new LongGenerator ( 0L , Long . MAX_VALUE ) ; return new PAreaSizeBDGenerator < > ( ( ) -> new BigDecimal ( gen . next ( ) . toString ( ) ) ) ; |
public class ImageEncodingImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public Object eGet ( int featureID , boolean resolve , boolean coreType ) { } } | switch ( featureID ) { case AfplibPackage . IMAGE_ENCODING__COMPRID : return getCOMPRID ( ) ; case AfplibPackage . IMAGE_ENCODING__RECID : return getRECID ( ) ; case AfplibPackage . IMAGE_ENCODING__BITORDR : return getBITORDR ( ) ; } return super . eGet ( featureID , resolve , coreType ) ; |
public class AWSDirectoryServiceClient { /** * Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud .
* < note >
* You cannot take snapshots of AD Connector directories .
* < / note >
* @ param createSnapshotRequest
* Contains the inputs for the < a > CreateSnapshot < / a > operation .... | request = beforeClientExecution ( request ) ; return executeCreateSnapshot ( request ) ; |
public class MiniTemplator { /** * Called recursively . */
private void writeBlockInstances ( StringBuilder out , int blockNo , int parentInstLevel ) { } } | BlockDynTabRec bdtr = blockDynTab [ blockNo ] ; while ( true ) { int blockInstNo = bdtr . currBlockInstNo ; if ( blockInstNo == - 1 ) { break ; } BlockInstTabRec bitr = blockInstTab [ blockInstNo ] ; if ( bitr . parentInstLevel < parentInstLevel ) { throw new AssertionError ( ) ; } if ( bitr . parentInstLevel > parentI... |
public class OfflinePickerSample { /** * step two , configure our offline tile provider
* @ param files */
private void setProviderConfig ( String [ ] files ) { } } | if ( files == null || files . length == 0 ) return ; SimpleRegisterReceiver simpleRegisterReceiver = new SimpleRegisterReceiver ( getContext ( ) ) ; if ( tileWriter != null ) tileWriter . onDetach ( ) ; tileWriter = new SqlTileWriter ( ) ; tileSources . clear ( ) ; List < MapTileModuleProviderBase > providers = new Arr... |
public class Util { /** * Convert this value to a XML string .
* @ param This value ' s tag .
* @ param objValue The raw data value .
* @ return The XML string for this value . */
@ SuppressWarnings ( { } } | "rawtypes" , "unchecked" } ) public static StringBuffer getXML ( StringBuffer sbXML , String strParam , Object objValue ) { Util . addStartTag ( sbXML , strParam ) ; if ( objValue instanceof Map ) { Util . addXMLMap ( sbXML , ( Map ) objValue ) ; } else { String strValue = Constant . BLANK ; if ( objValue != null ) str... |
public class AbstractMongoDAO { /** * finds all elements matching the given query and sorts them accordingly
* @ param query the query to search for
* @ param sort the sort query to apply
* @ param params the parameters to replace # symbols
* @ return the list of elements found */
protected final List < T > fin... | return this . dataAccess . findSortedByQuery ( query , sort , params ) ; |
public class WaitService { public void wait ( ImageConfiguration imageConfig , Properties projectProperties , String containerId ) throws IOException { } } | List < WaitChecker > checkers = prepareWaitCheckers ( imageConfig , projectProperties , containerId ) ; int timeout = getTimeOut ( imageConfig ) ; if ( checkers . isEmpty ( ) ) { if ( timeout > 0 ) { log . info ( "%s: Pausing for %d ms" , imageConfig . getDescription ( ) , timeout ) ; WaitUtil . sleep ( timeout ) ; } r... |
public class PatreonAPI { /** * Retrieve pledges for the specified campaign
* @ param campaignId id for campaign to retrieve
* @ param pageSize how many pledges to return
* @ param pageCursor A cursor retreived from a previous API call , or null for the initial page .
* See { @ link # getNextCursorFromDocument ... | return fetchPageOfPledges ( campaignId , pageSize , pageCursor , null ) ; |
public class JsHdrsImpl { /** * Get the message handle which uniquely identifies this message .
* @ return An SIMessageHandle which identifies this message . */
public SIMessageHandle getMessageHandle ( ) { } } | // If the transient is not set , build the handle from the values in the message and cache it .
if ( cachedMessageHandle == null ) { byte [ ] b = ( byte [ ] ) jmo . getField ( JsHdrAccess . SYSTEMMESSAGESOURCEUUID ) ; if ( b != null ) { cachedMessageHandle = new JsMessageHandleImpl ( new SIBUuid8 ( b ) , ( Long ) jmo .... |
public class CmsFavoriteDialog { /** * Gets the favorite entry for a given row .
* @ param row the widget used to display the favorite
* @ return the favorite entry for the widget */
private CmsFavoriteEntry getEntry ( Component row ) { } } | if ( row instanceof CmsFavInfo ) { return ( ( CmsFavInfo ) row ) . getEntry ( ) ; } return null ; |
public class SectionLoader { /** * Loads the section that belongs to the header .
* This does not instantiate special sections . Use methods like
* { @ link # loadImportSection ( ) } or { @ link # loadResourceSection ( ) } instead .
* @ param header
* the section ' s header
* @ return { @ link PESection } tha... | long size = getReadSize ( header ) ; long offset = header . getAlignedPointerToRaw ( ) ; return new PESection ( size , offset , header , file ) ; |
public class OptionalParamMap { /** * validation :
* enforces key length less than 256 UTF8 bytes
* enforces valid value type ( cannot be null )
* enforces valid String value length less than 32767 UTF8 bytes */
private void validateEntry ( String key , Object value ) { } } | if ( isBlank ( key ) ) { throw new IllegalArgumentException ( "key cannot be null/blank" ) ; } if ( ModifiedUTF8Charset . calculateByteLength ( key ) > 255 ) { throw new IllegalArgumentException ( "key length > 255 bytes" ) ; } else if ( value == null ) { throw new IllegalArgumentException ( "value cannot be null" ) ; ... |
public class NetworkUtils { /** * Returns whether or not the specified address represents an address on
* the public Internet .
* @ param ia The address to check .
* @ return < code > true < / code > if the address is an address on the public
* Internet , otherwise < code > false < / code > . */
public static b... | // We define public addresses by what they ' re not . A public address
// cannot be any one of the following :
return ! ia . isSiteLocalAddress ( ) && ! ia . isLinkLocalAddress ( ) && ! ia . isAnyLocalAddress ( ) && ! ia . isLoopbackAddress ( ) && ! ia . isMulticastAddress ( ) ; |
public class ReceiveMessageActionParser { /** * Parses validation elements and adds information to the message validation context .
* @ param messageElement the message DOM element .
* @ param context the message validation context . */
private void parseXPathValidationElements ( Element messageElement , XpathMessa... | // check for validate elements , these elements can either have script , xpath or namespace validation information
// for now we only handle xpath validation
Map < String , Object > validateXpathExpressions = new HashMap < > ( ) ; List < ? > validateElements = DomUtils . getChildElementsByTagName ( messageElement , "va... |
public class MtasSolrComponentKwic { /** * ( non - Javadoc )
* @ see
* mtas . solr . handler . component . util . MtasSolrComponent # create ( mtas . codec . util .
* CodecComponent . BasicComponent , java . lang . Boolean ) */
public SimpleOrderedMap < Object > create ( ComponentKwic kwic , Boolean encode ) { } ... | SimpleOrderedMap < Object > mtasKwicResponse = new SimpleOrderedMap < > ( ) ; mtasKwicResponse . add ( "key" , kwic . key ) ; ArrayList < NamedList < Object > > mtasKwicItemResponses = new ArrayList < > ( ) ; if ( kwic . output . equals ( ComponentKwic . KWIC_OUTPUT_HIT ) ) { for ( int docId : kwic . hits . keySet ( ) ... |
public class ST_ConnectedComponents { /** * Calculate the node and edge connected component tables .
* @ param connection Connection
* @ param inputTable Edges table produced by ST _ Graph
* @ param orientation Orientation string
* @ return True if the calculation was successful
* @ throws SQLException */
pub... | KeyedGraph graph = prepareGraph ( connection , inputTable , orientation , null , VUCent . class , Edge . class ) ; if ( graph == null ) { return false ; } final List < Set < VUCent > > componentsList = getConnectedComponents ( graph , orientation ) ; final TableLocation tableName = TableUtilities . parseInputTable ( co... |
public class AppServicePlansInner { /** * Update a Virtual Network gateway .
* Update a Virtual Network gateway .
* @ param resourceGroupName Name of the resource group to which the resource belongs .
* @ param name Name of the App Service plan .
* @ param vnetName Name of the Virtual Network .
* @ param gate... | if ( resourceGroupName == null ) { throw new IllegalArgumentException ( "Parameter resourceGroupName is required and cannot be null." ) ; } if ( name == null ) { throw new IllegalArgumentException ( "Parameter name is required and cannot be null." ) ; } if ( vnetName == null ) { throw new IllegalArgumentException ( "Pa... |
public class Triangle3d { /** * { @ inheritDoc } */
@ Override public void setP3 ( Point3D point ) { } } | setP3 ( point . getX ( ) , point . getY ( ) , point . getZ ( ) ) ; |
public class CdnConfiguration { /** * Sets the sourceContentConfiguration value for this CdnConfiguration .
* @ param sourceContentConfiguration * Parameters about this CDN configuration as a source of content .
* This facilitates fetching the
* original content for conditioning and delivering the
* original co... | this . sourceContentConfiguration = sourceContentConfiguration ; |
public class ModularParser { /** * Takes a list of SectionContent and returns a SectionContainer with the
* given SectionContent s in the right structure . */
private SectionContainer buildSectionStructure ( List < SectionContent > scl ) { } } | SectionContainer result = new SectionContainer ( 0 ) ; for ( SectionContent sContent : scl ) { int contentLevel = sContent . getLevel ( ) ; SectionContainer sContainer = result ; // get the right SectionContainer or create it
for ( int containerLevel = result . getLevel ( ) + 1 ; containerLevel < contentLevel ; contain... |
public class CmsPropertyAdvanced { /** * Performs the definition of a new property . < p >
* @ return true , if the new property was created , otherwise false
* @ throws CmsException if creation is not successful */
private boolean performDefineOperation ( ) throws CmsException { } } | boolean useTempfileProject = Boolean . valueOf ( getParamUsetempfileproject ( ) ) . booleanValue ( ) ; try { if ( useTempfileProject ) { switchToTempProject ( ) ; } String newProperty = getParamNewproperty ( ) ; if ( CmsStringUtil . isNotEmptyOrWhitespaceOnly ( newProperty ) ) { getCms ( ) . createPropertyDefinition ( ... |
public class Timezone { /** * / * [ deutsch ]
* < p > Liefert den anzuzeigenden Zeitzonennamen . < / p >
* < p > Ist der Zeitzonenname nicht ermittelbar , wird die ID der Zeitzone
* geliefert . < / p >
* @ param style name style
* @ param locale language setting
* @ return localized timezone name for displa... | return getDisplayName ( this . getID ( ) , style , locale ) ; |
public class SentStructureJsComponent { /** * Get the qualified name of all annotations belonging to relations having a
* specific namespace .
* @ param graph
* The graph .
* @ param namespace
* The namespace of the relation ( not the annotation ) to search for .
* If namespace is null all namespaces will b... | Set < String > result = new TreeSet < > ( ) ; if ( graph != null ) { List < ? extends SRelation > edges = null ; if ( type == SDominanceRelation . class ) { edges = graph . getDominanceRelations ( ) ; } else if ( type == SPointingRelation . class ) { edges = graph . getPointingRelations ( ) ; } else if ( type == SSpann... |
public class InetAddressMatchInterfaceCriteria { /** * { @ inheritDoc }
* @ return < code > getAddress ( ) < / code > if the < code > address < / code > is the same as the one returned by { @ link # getAddress ( ) } . */
@ Override protected InetAddress isAcceptable ( NetworkInterface networkInterface , InetAddress a... | try { InetAddress toMatch = getAddress ( ) ; // One time only warn against use of wildcard addresses
if ( ! anyLocalLogged && toMatch . isAnyLocalAddress ( ) ) { MGMT_OP_LOGGER . invalidWildcardAddress ( this . address , INET_ADDRESS , ANY_ADDRESS ) ; anyLocalLogged = true ; } if ( toMatch . equals ( address ) ) { if (... |
public class ServerRequestQueue { /** * < p > Determines whether the queue contains a session / app close request . < / p >
* @ return A { @ link Boolean } value indicating whether or not the queue contains a
* session close request . < i > True < / i > if the queue contains a close request ,
* < i > False < / i ... | synchronized ( reqQueueLockObject ) { for ( ServerRequest req : queue ) { if ( req != null && req . getRequestPath ( ) . equals ( Defines . RequestPath . RegisterClose . getPath ( ) ) ) { return true ; } } } return false ; |
public class Detector { /** * < p > Estimates module size based on two finder patterns - - it uses
* { @ link # sizeOfBlackWhiteBlackRunBothWays ( int , int , int , int ) } to figure the
* width of each , measuring along the axis between their centers . < / p > */
private float calculateModuleSizeOneWay ( ResultPoi... | float moduleSizeEst1 = sizeOfBlackWhiteBlackRunBothWays ( ( int ) pattern . getX ( ) , ( int ) pattern . getY ( ) , ( int ) otherPattern . getX ( ) , ( int ) otherPattern . getY ( ) ) ; float moduleSizeEst2 = sizeOfBlackWhiteBlackRunBothWays ( ( int ) otherPattern . getX ( ) , ( int ) otherPattern . getY ( ) , ( int ) ... |
public class StrSubstitutor { /** * Sets the variable suffix to use .
* The variable suffix is the character or characters that identify the
* end of a variable . This method allows a string suffix to be easily set .
* @ param suffix the suffix for variables , not null
* @ return this , to enable chaining
* @... | if ( suffix == null ) { throw new IllegalArgumentException ( "Variable suffix must not be null!" ) ; } return setVariableSuffixMatcher ( StrMatcher . stringMatcher ( suffix ) ) ; |
public class EnumMap { /** * Returns all of the values comprising K .
* The result is uncloned , cached , and shared by all callers . */
private static < K extends Enum < K > > K [ ] getKeyUniverse ( Class < K > keyType ) { } } | // Android - changed : Use JavaLangAccess directly instead of going through
// SharedSecrets .
return JavaLangAccess . getEnumConstantsShared ( keyType ) ; |
public class Socks5 { public void buildConnection ( ) throws IOException { } } | if ( inetAddress == null ) { throw new IllegalArgumentException ( "Please set inetAddress before calling buildConnection." ) ; } if ( proxySocket == null ) { proxySocket = createProxySocket ( inetAddress , port ) ; } else if ( ! proxySocket . isConnected ( ) ) { proxySocket . connect ( new InetSocketAddress ( inetAddre... |
public class FileSystemPartitionView { /** * Build partition constraints for the partition URI location .
* @ param view a { @ code FileSystemPartitionView } containing { @ code location }
* @ param relative a relative URI for a partition within the given view
* @ return a set of constraints that match the locati... | DatasetDescriptor descriptor = view . dataset . getDescriptor ( ) ; if ( relative == null ) { // no partitions are selected , so no additional constraints
return view . constraints ; } Preconditions . checkArgument ( descriptor . isPartitioned ( ) , "Dataset is not partitioned" ) ; Constraints constraints = view . cons... |
public class BandwidthClient { /** * Helper method to build the GET request for the server .
* @ param path the path .
* @ param paramMap the parameters map .
* @ return the get object . */
protected HttpGet generateGetRequest ( final String path , final Map < String , Object > paramMap ) { } } | final List < NameValuePair > pairs = new ArrayList < NameValuePair > ( ) ; for ( final String key : paramMap . keySet ( ) ) { pairs . add ( new BasicNameValuePair ( key , paramMap . get ( key ) . toString ( ) ) ) ; } final URI uri = buildUri ( path , pairs ) ; return new HttpGet ( uri ) ; |
public class HerokuAPI { /** * Checks if maintenance mode is enabled for the given app
* @ param appName See { @ link # listApps } for a list of apps that can be used .
* @ return true if maintenance mode is enabled */
public boolean isMaintenanceModeEnabled ( String appName ) { } } | App app = connection . execute ( new AppInfo ( appName ) , apiKey ) ; return app . isMaintenance ( ) ; |
public class HelixUtils { /** * Create a Helix cluster for the Gobblin Cluster application .
* @ param zkConnectionString the ZooKeeper connection string
* @ param clusterName the Helix cluster name
* @ param overwrite true to overwrite exiting cluster , false to reuse existing cluster */
public static void creat... | ClusterSetup clusterSetup = new ClusterSetup ( zkConnectionString ) ; // Create the cluster and overwrite if it already exists
clusterSetup . addCluster ( clusterName , overwrite ) ; // Helix 0.6 . x requires a configuration property to have the form key = value .
String autoJoinConfig = ZKHelixManager . ALLOW_PARTICIP... |
public class JobMaster { @ Override public CompletableFuture < Acknowledge > cancel ( Time timeout ) { } } | executionGraph . cancel ( ) ; return CompletableFuture . completedFuture ( Acknowledge . get ( ) ) ; |
public class ImportHandler { /** * Resolve a class name .
* @ param name The name of the class ( without package name ) to be resolved .
* @ return If the class has been imported previously , with
* { @ link # importClass } or { @ link # importPackage } , then its
* Class instance . Otherwise < code > null < / ... | String className = classNameMap . get ( name ) ; if ( className != null ) { return resolveClassFor ( className ) ; } for ( String packageName : packages ) { String fullClassName = packageName + "." + name ; Class < ? > c = resolveClassFor ( fullClassName ) ; if ( c != null ) { classNameMap . put ( name , fullClassName ... |
public class IIDImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public void setColor ( Integer newColor ) { } } | Integer oldColor = color ; color = newColor ; if ( eNotificationRequired ( ) ) eNotify ( new ENotificationImpl ( this , Notification . SET , AfplibPackage . IID__COLOR , oldColor , color ) ) ; |
public class ScheduledDropwizardReporter { @ Override public void notifyOfAddedMetric ( Metric metric , String metricName , MetricGroup group ) { } } | final String fullName = group . getMetricIdentifier ( metricName , this ) ; synchronized ( this ) { if ( metric instanceof Counter ) { counters . put ( ( Counter ) metric , fullName ) ; registry . register ( fullName , new FlinkCounterWrapper ( ( Counter ) metric ) ) ; } else if ( metric instanceof Gauge ) { gauges . p... |
public class ControlBean { /** * Returns the target control instance associated with this ControlBean , performing lazy
* instantiation and initialization of the instance .
* REVIEW : could probably improve the granularity of locking here , but start w / just
* synchronizing the entire fn . */
public synchronized... | if ( _control == null ) { // See if the property map specifies an implementation class for the control ;
// if not , use default binding .
String implBinding = null ; BaseProperties bp = _properties . getPropertySet ( BaseProperties . class ) ; if ( bp != null ) implBinding = bp . controlImplementation ( ) ; else implB... |
public class StackedAreaRenderer2 { /** * Mostly copied from the base class . */
@ Override public void drawItem ( Graphics2D g2 , CategoryItemRendererState state , Rectangle2D dataArea , CategoryPlot plot , CategoryAxis domainAxis , ValueAxis rangeAxis , CategoryDataset dataset , int row , int column , int pass ) { } ... | // plot non - null values . . .
Number dataValue = dataset . getValue ( row , column ) ; if ( dataValue == null ) { return ; } double value = dataValue . doubleValue ( ) ; // leave the y values ( y1 , y0 ) untranslated as it is going to be be
// stacked up later by previous series values , after this it will be
// tran... |
public class DescribeDirectConnectGatewayAssociationsResult { /** * Information about the associations .
* @ return Information about the associations . */
public java . util . List < DirectConnectGatewayAssociation > getDirectConnectGatewayAssociations ( ) { } } | if ( directConnectGatewayAssociations == null ) { directConnectGatewayAssociations = new com . amazonaws . internal . SdkInternalList < DirectConnectGatewayAssociation > ( ) ; } return directConnectGatewayAssociations ; |
public class InMemoryMetricEmitter { /** * filter snapshots by evenly selecting points across the interval
* @ param selectedLists list of snapshots */
private void generalSelectMetricHistory ( final LinkedList < InMemoryHistoryNode > selectedLists ) { } } | logger . debug ( "selecting snapshots evenly from across the time interval" ) ; if ( selectedLists . size ( ) > this . numInstances ) { final double step = ( double ) selectedLists . size ( ) / this . numInstances ; long nextIndex = 0 , currentIndex = 0 , numSelectedInstances = 1 ; final Iterator < InMemoryHistoryNode ... |
public class MoveOnEventHandler { /** * Set the field or file that owns this listener .
* @ param owner My owner . */
public void setOwner ( ListenerOwner owner ) { } } | super . setOwner ( owner ) ; if ( this . getOwner ( ) == null ) return ; if ( m_fldDest . getRecord ( ) != this . getOwner ( ) ) // If field is not in this file , remember to remove it
m_fldDest . addListener ( new FieldRemoveBOnCloseHandler ( this ) ) ; if ( m_fldSource != null ) if ( m_fldSource . getRecord ( ) != th... |
public class MessageDataDesc { /** * Initialize new BaseTrxMessage .
* @ param objRawMessage The ( optional ) raw data of the message . */
public void init ( MessageDataParent messageDataParent , String strKey ) { } } | m_messageDataParent = messageDataParent ; m_strKey = strKey ; if ( messageDataParent != null ) messageDataParent . addMessageDataDesc ( this ) ; |
public class Application { /** * Display this URL in a web browser .
* Uses the applet or jnlp context .
* @ param strURL The local URL to display ( not fully qualified ) .
* @ param iOptions ThinMenuConstants . HELP _ WINDOW _ CHANGE If help pane is already displayed , change to this content .
* @ param The ap... | if ( applet != null ) return applet . showTheDocument ( this , strURL , iOptions ) ; return false ; // Override this |
public class PatchRuleGroup { /** * The rules that make up the rule group .
* @ return The rules that make up the rule group . */
public java . util . List < PatchRule > getPatchRules ( ) { } } | if ( patchRules == null ) { patchRules = new com . amazonaws . internal . SdkInternalList < PatchRule > ( ) ; } return patchRules ; |
public class HistoricJobLogManager { /** * update / / / / / */
public void addRemovalTimeToJobLogByRootProcessInstanceId ( String rootProcessInstanceId , Date removalTime ) { } } | Map < String , Object > parameters = new HashMap < > ( ) ; parameters . put ( "rootProcessInstanceId" , rootProcessInstanceId ) ; parameters . put ( "removalTime" , removalTime ) ; getDbEntityManager ( ) . updatePreserveOrder ( HistoricJobLogEventEntity . class , "updateJobLogByRootProcessInstanceId" , parameters ) ; |
public class Cache { /** * Finds all matching sets or something that causes the lookup to stop . */
protected synchronized SetResponse lookup ( Name name , int type , int minCred ) { } } | int labels ; int tlabels ; Element element ; Name tname ; Object types ; SetResponse sr ; labels = name . labels ( ) ; for ( tlabels = labels ; tlabels >= 1 ; tlabels -- ) { boolean isRoot = ( tlabels == 1 ) ; boolean isExact = ( tlabels == labels ) ; if ( isRoot ) tname = Name . root ; else if ( isExact ) tname = name... |
public class SyncAgentsInner { /** * Lists databases linked to a sync agent .
* @ 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 on which the sync agent is h... | return AzureServiceFuture . fromPageResponse ( listLinkedDatabasesSinglePageAsync ( resourceGroupName , serverName , syncAgentName ) , new Func1 < String , Observable < ServiceResponse < Page < SyncAgentLinkedDatabaseInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < SyncAgentLinkedDatabaseInne... |
public class ResolverConfig { /** * Looks in the system properties to find servers and a search path .
* Servers are defined by dns . server = server1 , server2 . . .
* The search path is defined by dns . search = domain1 , domain2 . . . */
private boolean findProperty ( ) { } } | String prop ; List lserver = new ArrayList ( 0 ) ; List lsearch = new ArrayList ( 0 ) ; StringTokenizer st ; prop = System . getProperty ( "dns.server" ) ; if ( prop != null ) { st = new StringTokenizer ( prop , "," ) ; while ( st . hasMoreTokens ( ) ) addServer ( st . nextToken ( ) , lserver ) ; } prop = System . getP... |
public class Types { /** * < editor - fold defaultstate = " collapsed " desc = " Greatest lower bound " > */
public Type glb ( List < Type > ts ) { } } | Type t1 = ts . head ; for ( Type t2 : ts . tail ) { if ( t1 . isErroneous ( ) ) return t1 ; t1 = glb ( t1 , t2 ) ; } return t1 ; |
public class Async { /** * Invokes the specified function asynchronously and returns an Observable that emits the result .
* Note : The function is called immediately and once , not whenever an observer subscribes to the resulting
* Observable . Multiple subscriptions to this Observable observe the same return valu... | return startCallable ( func , Schedulers . computation ( ) ) ; |
public class P1_QueryOp { /** * 批量关联 , 要求批量操作的都是相同的类 */
private < T > void postHandleRelatedColumn ( List < T > tList , String ... relatedColumnProperties ) { } } | if ( tList == null || tList . isEmpty ( ) ) { return ; } JoinTable joinTable = DOInfoReader . getJoinTable ( tList . get ( 0 ) . getClass ( ) ) ; if ( joinTable != null ) { // 处理join的方式
List < Object > list1 = new ArrayList < Object > ( ) ; List < Object > list2 = new ArrayList < Object > ( ) ; Field joinLeftTableFiled... |
public class AmazonLightsailClient { /** * Deletes the specified disk snapshot .
* When you make periodic snapshots of a disk , the snapshots are incremental , and only the blocks on the device that
* have changed since your last snapshot are saved in the new snapshot . When you delete a snapshot , only the data
... | request = beforeClientExecution ( request ) ; return executeDeleteDiskSnapshot ( request ) ; |
public class SipHasherStream { /** * Updates the hash with a single byte .
* This will only modify the internal ` m ` value , nothing will be modified
* in the actual ` v * ` states until an 8 - byte block has been provided .
* @ param b
* the byte being added to the digest .
* @ return
* the same { @ link ... | this . len ++ ; this . m |= ( ( ( long ) b & 0xff ) << ( this . m_idx ++ * 8 ) ) ; if ( this . m_idx < 8 ) { return this ; } this . v3 ^= this . m ; for ( int i = 0 ; i < this . c ; i ++ ) { round ( ) ; } this . v0 ^= this . m ; this . m_idx = 0 ; this . m = 0 ; return this ; |
public class EJSHome { /** * d146034.6 */
public EJSWrapperCommon activateBean ( BeanId beanId , ContainerTx currentTx ) throws CSIException , RemoteException { } } | final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; // d532639.2
if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "activateBean (" + beanId + ")" , currentTx ) ; homeEnabled ( ) ; EJSWrapperCommon result = null ; try { // For Single - object finder methods ( other than findByPrimaryKey ) ,... |
public class WFG1 { /** * WFG1 t3 transformation
* @ throws org . uma . jmetal . util . JMetalException */
public float [ ] t3 ( float [ ] z ) throws JMetalException { } } | float [ ] result = new float [ z . length ] ; for ( int i = 0 ; i < z . length ; i ++ ) { result [ i ] = ( new Transformations ( ) ) . bPoly ( z [ i ] , ( float ) 0.02 ) ; } return result ; |
public class JXMultiSplitPanePanel { /** * Factory method for creating the new { @ link JXMultiSplitPane } . This method is invoked in the
* constructor from the derived classes and can be overridden so users can provide their own
* version of a { @ link JXMultiSplitPane }
* @ param layoutDefinition
* the layou... | JXMultiSplitPane msp = new JXMultiSplitPane ( ) ; MultiSplitLayout . Node modelRoot = newRootNode ( layoutDefinition ) ; msp . getMultiSplitLayout ( ) . setModel ( modelRoot ) ; msp . setBorder ( BorderFactory . createEmptyBorder ( 4 , 4 , 4 , 4 ) ) ; return msp ; |
public class Import { /** * Adds a set of ` DataPoint ` s to a series .
* @ param series The series the DataPoints should be added to . If the series doesn ' t exist ,
* it will be created .
* @ param dataPoints Data to be added . */
public void addDataPointSet ( String series , Set < DataPoint > dataPoints ) { }... | DataSet set = store . get ( series ) ; if ( set == null ) { set = new DataSet ( dataPoints ) ; store . put ( series , set ) ; } else { set . addAll ( dataPoints ) ; } |
public class Article { /** * Removes a single media content item from the list
* @ param mediaContent The media content object to remove */
public Article removeMediaContent ( MediaContent mediaContent ) { } } | if ( mediaContent == null || this . mediaContentVec == null ) return this ; this . mediaContentVec . remove ( mediaContent ) ; return this ; |
public class AttributeValue { /** * An attribute of type String Set . For example :
* < code > " SS " : [ " Giraffe " , " Hippo " , " Zebra " ] < / code >
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setSS ( java . util . Collection ) } or { @ link # wit... | if ( this . sS == null ) { setSS ( new java . util . ArrayList < String > ( sS . length ) ) ; } for ( String ele : sS ) { this . sS . add ( ele ) ; } return this ; |
public class VersionList { /** * Removes all snapshots from this list */
public void removeSnapshots ( ) { } } | VersionList versionToRemove = new VersionList ( ) ; // collect Versions to be removed
for ( Version ver : this ) { if ( ver . isSnapshot ( ) ) { versionToRemove . add ( ver ) ; } } // remove them
this . removeAll ( versionToRemove ) ; |
public class XmlOutputGenerator { /** * Returns the sorted xml as an OutputStream .
* @ return the sorted xml */
public String getSortedXml ( Document newDocument ) { } } | try ( ByteArrayOutputStream sortedXml = new ByteArrayOutputStream ( ) ) { BufferedLineSeparatorOutputStream bufferedLineOutputStream = new BufferedLineSeparatorOutputStream ( lineSeparatorUtil . toString ( ) , sortedXml ) ; XMLOutputter xmlOutputter = new PatchedXMLOutputter ( bufferedLineOutputStream , indentBlankLine... |
public class WField { /** * Sets the desired width of the input field , as a percentage of the available space .
* @ param inputWidth the percentage width , or & lt ; = 0 to use the default field width . */
public void setInputWidth ( final int inputWidth ) { } } | if ( inputWidth > 100 ) { throw new IllegalArgumentException ( "inputWidth (" + inputWidth + ") cannot be greater than 100 percent." ) ; } getOrCreateComponentModel ( ) . inputWidth = Math . max ( 0 , inputWidth ) ; |
public class UpdateReconciliationLineItemReports { /** * Runs the example .
* @ param adManagerServices the services factory .
* @ param session the session .
* @ param reconciliationLineItemReportId the ID of the reconciliation line item report to
* retrieve .
* @ throws ApiException if the API request faile... | // Get the ReconciliationLineItemReportService .
ReconciliationLineItemReportServiceInterface reconciliationLineItemReportService = adManagerServices . get ( session , ReconciliationLineItemReportServiceInterface . class ) ; // Create a statement to select a reconciliation line item report .
StatementBuilder statementB... |
public class Event { /** * Sets the channels that the event is fired on if no channels
* are specified explicitly when firing the event
* ( see { @ link org . jgrapes . core . Manager # fire ( Event , Channel . . . ) } ) .
* @ param channels the channels to set
* @ return the object for easy chaining
* @ thro... | if ( enqueued ( ) ) { throw new IllegalStateException ( "Channels cannot be changed after fire" ) ; } this . channels = Arrays . copyOf ( channels , channels . length ) ; return this ; |
public class AbstractDestinationHandler { /** * / * ( non - Javadoc )
* @ see com . ibm . ws . sib . processor . impl . interfaces . DestinationHandler # addTargettingAlias ( com . ibm . ws . sib . processor . impl . AliasDestinationHandler ) */
public void addTargettingAlias ( DestinationHandler aliasDestinationHand... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "addTargettingAlias" , aliasDestinationHandler ) ; if ( aliasesThatTargetThisDest == null ) { aliasesThatTargetThisDest = new java . util . ArrayList < DestinationHandler > ( ) ; } synchronized ( aliasesThatTargetThisDest ) ... |
public class LObjBoolPredicateBuilder { /** * One of ways of creating builder . This is possibly the least verbose way where compiler should be able to guess the generic parameters . */
@ Nonnull public static < T > LObjBoolPredicate < T > objBoolPredicateFrom ( Consumer < LObjBoolPredicateBuilder < T > > buildingFunct... | LObjBoolPredicateBuilder builder = new LObjBoolPredicateBuilder ( ) ; buildingFunction . accept ( builder ) ; return builder . build ( ) ; |
public class AnnotationRef { /** * Writes the given annotation to the visitor . */
public void write ( T instance , ClassVisitor visitor ) { } } | doWrite ( instance , visitor . visitAnnotation ( typeDescriptor , isRuntimeVisible ) ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.