signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class FirestoreClient { /** * Deletes a document .
* < p > Sample code :
* < pre > < code >
* try ( FirestoreClient firestoreClient = FirestoreClient . create ( ) ) {
* AnyPathName name = AnyPathName . of ( " [ PROJECT ] " , " [ DATABASE ] " , " [ DOCUMENT ] " , " [ ANY _ PATH ] " ) ;
* firestoreClient... | DeleteDocumentRequest request = DeleteDocumentRequest . newBuilder ( ) . setName ( name ) . build ( ) ; deleteDocument ( request ) ; |
public class InternalFeaturePropertyAccessor { /** * { @ inheritDoc } */
public boolean canRead ( EvaluationContext context , Object target , String name ) throws AccessException { } } | if ( null == target ) { return false ; } if ( target instanceof InternalFeature ) { InternalFeature feature = ( InternalFeature ) target ; return feature . getAttributes ( ) . containsKey ( name ) || ID_PROPERTY_NAME . equalsIgnoreCase ( name ) ; } else if ( target instanceof AssociationValue ) { AssociationValue assoc... |
public class NodeBuilder { /** * already be initialised , and only aren ' t in the case where we are overflowing the original root node */
private NodeBuilder ensureParent ( ) { } } | if ( parent == null ) { parent = new NodeBuilder ( ) ; parent . child = this ; } if ( parent . upperBound == null ) parent . reset ( EMPTY_BRANCH , upperBound , updateFunction , comparator ) ; return parent ; |
public class FirewallRulesInner { /** * Gets the specified Data Lake Store firewall rule .
* @ param resourceGroupName The name of the Azure resource group .
* @ param accountName The name of the Data Lake Store account .
* @ param firewallRuleName The name of the firewall rule to retrieve .
* @ throws IllegalA... | return getWithServiceResponseAsync ( resourceGroupName , accountName , firewallRuleName ) . map ( new Func1 < ServiceResponse < FirewallRuleInner > , FirewallRuleInner > ( ) { @ Override public FirewallRuleInner call ( ServiceResponse < FirewallRuleInner > response ) { return response . body ( ) ; } } ) ; |
public class BasicFunctionsRuntime { /** * Concatenates its arguments . */
public static List < SoyValueProvider > concatLists ( List < SoyList > args ) { } } | ImmutableList . Builder < SoyValueProvider > flattened = ImmutableList . builder ( ) ; for ( SoyList soyList : args ) { flattened . addAll ( soyList . asJavaList ( ) ) ; } return flattened . build ( ) ; |
public class WMenuItem { /** * Determine if this WMenuItem ' s parent WMenu is on the Request .
* @ param request the request being responded to .
* @ return true if this WMenuItem ' s WMenu is on the Request , otherwise return false . */
protected boolean isMenuPresent ( final Request request ) { } } | WMenu menu = WebUtilities . getAncestorOfClass ( WMenu . class , this ) ; if ( menu != null ) { return menu . isPresent ( request ) ; } return false ; |
public class FieldUtils { /** * Verify that input values are within specified bounds .
* @ param value the value to check
* @ param lowerBound the lower bound allowed for value
* @ param upperBound the upper bound allowed for value
* @ throws IllegalFieldValueException if value is not in the specified bounds */... | if ( ( value < lowerBound ) || ( value > upperBound ) ) { throw new IllegalFieldValueException ( field . getType ( ) , Integer . valueOf ( value ) , Integer . valueOf ( lowerBound ) , Integer . valueOf ( upperBound ) ) ; } |
public class METSContentHandler { /** * { @ inheritDoc } */
@ Override public void endElement ( String uri , String localName , String qName ) throws SAXException { } } | // first , deal with the situation when we are processing a block of inline XML
if ( m_inXMLMetadata ) { if ( uri . equals ( METS . uri ) && localName . equals ( "xmlData" ) && m_xmlDataLevel == 0 ) { // finished all xml metadata for this datastream
if ( m_dsId . equals ( "FEDORA-AUDITTRAIL" ) || m_dsId . equals ( "AUD... |
public class AbstractDocumentationMojo { /** * Execute the mojo on the given set of files .
* @ param files the files
* @ param outputFolder the output directory .
* @ return the error message */
protected String internalExecute ( Map < File , File > files , File outputFolder ) { } } | String firstErrorMessage = null ; for ( final Entry < File , File > entry : files . entrySet ( ) ) { final File inputFile = entry . getKey ( ) ; try { final AbstractMarkerLanguageParser parser = createLanguageParser ( inputFile ) ; final File sourceFolder = entry . getValue ( ) ; final File relativePath = FileSystem . ... |
public class Database { /** * Finds a unique result from database , converting the database row to int using default mechanisms .
* Returns empty if there are no results or if single null result is returned .
* @ throws NonUniqueResultException if there are multiple result rows */
public @ NotNull OptionalInt findO... | Optional < Integer > value = findOptional ( Integer . class , query ) ; return value . isPresent ( ) ? OptionalInt . of ( value . get ( ) ) : OptionalInt . empty ( ) ; |
public class ISPNIndexUpdateMonitor { /** * { @ inheritDoc } */
public void onChangeMode ( IndexerIoMode mode ) { } } | if ( mode == IndexerIoMode . READ_WRITE ) { // In READ _ WRITE , the value of UpdateInProgress is changed locally so no need to listen
// to the cache
cache . removeListener ( this ) ; } else { // In READ _ ONLY , the value of UpdateInProgress will be changed remotely , so we have
// no need but to listen to the cache ... |
public class TruncatedNormalDistributionTypeImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public void eSet ( int featureID , Object newValue ) { } } | switch ( featureID ) { case BpsimPackage . TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX : setMax ( ( Double ) newValue ) ; return ; case BpsimPackage . TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN : setMean ( ( Double ) newValue ) ; return ; case BpsimPackage . TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN : setMin ( ( Double ) newVa... |
public class UserGroupManager { /** * Assign the passed role ID to the user group with the passed ID . < br >
* Note : the role ID must not be checked for consistency
* @ param sUserGroupID
* The ID of the user group to assign the role to .
* @ param sRoleID
* The ID of the role to be assigned
* @ return { ... | // Resolve user group
final UserGroup aUserGroup = getOfID ( sUserGroupID ) ; if ( aUserGroup == null ) { AuditHelper . onAuditModifyFailure ( UserGroup . OT , sUserGroupID , "no-such-usergroup-id" , "assign-role" ) ; return EChange . UNCHANGED ; } m_aRWLock . writeLock ( ) . lock ( ) ; try { if ( aUserGroup . assignRo... |
public class ReflectedHeap { /** * { @ inheritDoc } */
@ Override @ SuppressWarnings ( "unchecked" ) public Handle < K , V > deleteMax ( ) { } } | if ( size == 0 ) { throw new NoSuchElementException ( ) ; } else if ( size == 1 ) { Handle < K , V > max = free ; free = null ; size -- ; return max ; } else if ( size % 2 == 0 ) { // find max
AddressableHeap . Handle < K , HandleMap < K , V > > maxInner = maxHeap . deleteMin ( ) ; ReflectedHandle < K , V > maxOuter = ... |
public class CalculateUtils { /** * 计算比率 。 计算结果四舍五入 。
* @ param numerator 分子
* @ param denominator 分母
* @ param scale 保留小数点后位数
* @ return 比率 */
public static double divide ( long numerator , long denominator , int scale ) { } } | BigDecimal numeratorBd = new BigDecimal ( numerator ) ; BigDecimal denominatorBd = new BigDecimal ( denominator ) ; return numeratorBd . divide ( denominatorBd , scale , BigDecimal . ROUND_HALF_UP ) . doubleValue ( ) ; |
public class JdbcCpoTrxAdapter { /** * DOCUMENT ME !
* @ return DOCUMENT ME !
* @ throws CpoException DOCUMENT ME ! */
@ Override protected Connection getWriteConnection ( ) throws CpoException { } } | Connection connection = getStaticConnection ( ) ; setConnectionBusy ( connection ) ; return connection ; |
public class Instant { /** * Obtains an instance of { @ code Instant } using seconds from the
* epoch of 1970-01-01T00:00:00Z and nanosecond fraction of second .
* This method allows an arbitrary number of nanoseconds to be passed in .
* The factory will alter the values of the second and nanosecond in order
* ... | long secs = Jdk8Methods . safeAdd ( epochSecond , Jdk8Methods . floorDiv ( nanoAdjustment , NANOS_PER_SECOND ) ) ; int nos = Jdk8Methods . floorMod ( nanoAdjustment , NANOS_PER_SECOND ) ; return create ( secs , nos ) ; |
public class ItemTouchHelper { /** * If user drags the view to the edge , trigger a scroll if necessary . */
boolean scrollIfNecessary ( ) { } } | if ( mSelected == null ) { mDragScrollStartTimeInMs = Long . MIN_VALUE ; return false ; } final long now = System . currentTimeMillis ( ) ; final long scrollDuration = mDragScrollStartTimeInMs == Long . MIN_VALUE ? 0 : now - mDragScrollStartTimeInMs ; RecyclerView . LayoutManager lm = mRecyclerView . getLayoutManager (... |
public class Builder { /** * asserts a valid document */
public Document literal ( String text ) { } } | try { return parseString ( text ) ; } catch ( SAXException e ) { throw new RuntimeException ( text , e ) ; } |
public class FactoryBackgroundModel { /** * Creates an instance of { @ link BackgroundMovingGaussian } .
* @ param config Configures the background model
* @ param imageType Type of input image
* @ return new instance of the background model */
public static < T extends ImageBase < T > , Motion extends Invertible... | config . checkValidity ( ) ; BackgroundMovingGaussian < T , Motion > ret ; switch ( imageType . getFamily ( ) ) { case GRAY : ret = new BackgroundMovingGaussian_SB ( config . learnRate , config . threshold , transform , config . interpolation , imageType . getImageClass ( ) ) ; break ; case PLANAR : ret = new Backgroun... |
public class LdiSrl { /** * Extract rear sub - string from last - found delimiter .
* < pre >
* substringLastRear ( " foo . bar / baz . qux " , " . " , " / " )
* returns " qux "
* < / pre >
* @ param str The target string . ( NotNull )
* @ param delimiters The array of delimiters . ( NotNull )
* @ return ... | assertStringNotNull ( str ) ; return doSubstringFirstRear ( true , true , false , str , delimiters ) ; |
public class StaticConnectionProvider { /** * from ConnectionProvider */
public String getURL ( String ident ) { } } | Properties props = PropertiesUtil . getSubProperties ( _props , ident , DEFAULTS_KEY ) ; return props . getProperty ( "url" ) ; |
public class ICUBinary { /** * Reads the entire contents from the stream into a byte array
* and wraps it into a ByteBuffer . Closes the InputStream at the end . */
public static ByteBuffer getByteBufferFromInputStreamAndCloseStream ( InputStream is ) throws IOException { } } | try { // is . available ( ) may return 0 , or 1 , or the total number of bytes in the stream ,
// or some other number .
// Do not try to use is . available ( ) = = 0 to find the end of the stream !
byte [ ] bytes ; int avail = is . available ( ) ; if ( avail > 32 ) { // There are more bytes available than just the ICU... |
public class AbstractChainingPrintRenderer { /** * Change the current { @ link WikiPrinter } with the provided one .
* @ param wikiPrinter the new { @ link WikiPrinter } to use */
protected void pushPrinter ( WikiPrinter wikiPrinter ) { } } | this . printers . push ( wikiPrinter ) ; // Since we ' re setting a new printer to use , make sure that all print renderers in the chain have the new
// printer set . Only do this if we ' re on the top level Print Renderer .
if ( getListenerChain ( ) . indexOf ( getClass ( ) ) == 0 ) { ChainingListener nextListener = t... |
public class KeyVaultClientBaseImpl { /** * Verifies a signature using a specified key .
* The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault . VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public port... | return verifyWithServiceResponseAsync ( vaultBaseUrl , keyName , keyVersion , algorithm , digest , signature ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class DefaultRibbonPanel { /** * Get view panel .
* @ return The viewPanel Canvas */
public Canvas getViewPanel ( ) { } } | VLayout layout = new VLayout ( 5 ) ; layout . setPadding ( 5 ) ; MapWidget mapWidget = new MapWidget ( "mapGuwOsm" , "appGuw" ) ; final RibbonBarLayout ribbonBar = new RibbonBarLayout ( mapWidget , "appGuw" , "guwRibbonBar1" ) ; ribbonBar . setSize ( "100%" , "94px" ) ; ToolStrip toolStrip = new ToolStrip ( ) ; toolStr... |
public class DefaultHistoryEventProducer { /** * Batch */
@ Override public HistoryEvent createBatchStartEvent ( Batch batch ) { } } | HistoryEvent historicBatch = createBatchEvent ( ( BatchEntity ) batch , HistoryEventTypes . BATCH_START ) ; if ( isHistoryRemovalTimeStrategyStart ( ) ) { provideRemovalTime ( ( HistoricBatchEntity ) historicBatch ) ; } return historicBatch ; |
public class ElementSelectors { /** * Elements with the same local name ( and namespace URI - if any )
* and attribute values for the given attribute names can be
* compared .
* < p > Namespace URIs of attributes are those of the attributes on
* the control element or the null namespace if they don ' t
* exis... | if ( attribs == null ) { throw new IllegalArgumentException ( ATTRIBUTES_MUST_NOT_BE_NULL ) ; } final Collection < String > qs = Arrays . asList ( attribs ) ; if ( any ( qs , new IsNullPredicate ( ) ) ) { throw new IllegalArgumentException ( ATTRIBUTES_MUST_NOT_CONTAIN_NULL_VALUES ) ; } final HashSet < String > as = ne... |
public class GroupHandlerImpl { /** * Notifying listeners before group deletion .
* @ param group
* the group which is used in delete operation
* @ throws Exception
* if any listener failed to handle the event */
private void preDelete ( Group group ) throws Exception { } } | for ( GroupEventListener listener : listeners ) { listener . preDelete ( group ) ; } |
public class ReactionChain { /** * Added a IReaction for this chain in position .
* @ param reaction The IReaction
* @ param position The position in this chain where the reaction is to be inserted */
public void addReaction ( IReaction reaction , int position ) { } } | hashMapChain . put ( reaction , position ) ; this . addReaction ( reaction ) ; |
public class PtoPOutputHandler { /** * Put a message on this PtoPOutputHandler for delivery to the remote ME .
* This method is called during the preCommitCallback from the
* messageStore
* @ param msg The message to be delivered
* @ param transaction The transaction to be used ( must at least have an autocommi... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "put" , new Object [ ] { msg , transaction , inputHandlerStore , new Boolean ( storedByIH ) } ) ; // Get the JsMessage as we need to update the Guaranteed fields
JsMessage jsMsg = msg . getMessage ( ) ; SIMPUtils . setGuaran... |
public class Resources { /** * Replies the input stream of a resource .
* < p > You may use Unix - like syntax to write the resource path , ie .
* you may use slashes to separate filenames .
* < p > The name of { @ code packagename } is translated into a resource
* path ( by replacing the dots by slashes ) and ... | if ( packagename == null || path == null ) { return null ; } final StringBuilder b = new StringBuilder ( ) ; b . append ( packagename . getName ( ) . replaceAll ( Pattern . quote ( "." ) , // $ NON - NLS - 1 $
Matcher . quoteReplacement ( NAME_SEPARATOR ) ) ) ; if ( ! path . startsWith ( NAME_SEPARATOR ) ) { b . append... |
public class DataSourceService { /** * Declarative Services method for unsetting the connection manager service reference
* @ param ref reference to the service */
protected void unsetConnectionManager ( ServiceReference < ConnectionManagerService > ref ) { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( this , tc , "unsetConnectionManager" , ref ) ; |
public class EmbeddedXMLConfigValidator { /** * Prints the specified error message .
* @ param key The resource bundle key for the message .
* @ param substitutions The values to be substituted for the tokens in the
* message skeleton . */
private void printErrorMessage ( String key , Object ... substitutions ) {... | Tr . error ( tc , key , substitutions ) ; errorMsgIssued = true ; |
public class CSVConfig { /** * Set the given configuration option name to the given value . The value ' s format must
* be compatible with the option ' s type ( String , int , or boolean ) . If the given option
* name is unknown , an exception is thrown .
* @ param name Option name ( e . g . , " app " , " batchsi... | try { Field field = CSVConfig . class . getDeclaredField ( name ) ; if ( field . getType ( ) . toString ( ) . compareToIgnoreCase ( "int" ) == 0 ) { field . set ( this , Integer . parseInt ( value ) ) ; } else if ( field . getType ( ) . toString ( ) . compareToIgnoreCase ( "boolean" ) == 0 ) { if ( value . equalsIgnore... |
public class ConceptDrawProjectReader { /** * Reads a single day for a calendar .
* @ param mpxjCalendar ProjectCalendar instance
* @ param day ConceptDraw PROJECT week day */
private void readWeekDay ( ProjectCalendar mpxjCalendar , WeekDay day ) { } } | if ( day . isIsDayWorking ( ) ) { ProjectCalendarHours hours = mpxjCalendar . addCalendarHours ( day . getDay ( ) ) ; for ( Document . Calendars . Calendar . WeekDays . WeekDay . TimePeriods . TimePeriod period : day . getTimePeriods ( ) . getTimePeriod ( ) ) { hours . addRange ( new DateRange ( period . getFrom ( ) , ... |
public class MethodPod { /** * pipe publish registration call */
@ Override public < T > void inPipe ( HeadersAmp headers , PipeSub < T > result , StubAmp actor , Object [ ] args ) { } } | result . fail ( new UnsupportedOperationException ( getClass ( ) . getName ( ) ) ) ; |
public class HornSchunckPyramid { /** * SOR iteration for border pixels */
private float iterationSorSafe ( GrayF32 image1 , int x , int y , int pixelIndex ) { } } | float w = SOR_RELAXATION ; float uf ; float vf ; float ui = initFlowX . data [ pixelIndex ] ; float vi = initFlowY . data [ pixelIndex ] ; float u = flowX . data [ pixelIndex ] ; float v = flowY . data [ pixelIndex ] ; float I1 = image1 . data [ pixelIndex ] ; float I2 = warpImage2 . data [ pixelIndex ] ; float I2x = w... |
public class DescribeVpcEndpointServicesResult { /** * Information about the service .
* @ return Information about the service . */
public java . util . List < ServiceDetail > getServiceDetails ( ) { } } | if ( serviceDetails == null ) { serviceDetails = new com . amazonaws . internal . SdkInternalList < ServiceDetail > ( ) ; } return serviceDetails ; |
public class Tuple1 { /** * Apply this tuple as arguments to a function . */
public final < R > R map ( Function < ? super T1 , ? extends R > function ) { } } | return function . apply ( v1 ) ; |
public class CodeWriter { /** * Returns the best name to identify { @ code className } with in the current context . This uses the
* available imports and the current scope to find the shortest name available . It does not honor
* names visible due to inheritance . */
String lookupName ( ClassName className ) { } } | // If the top level simple name is masked by a current type variable , use the canonical name .
String topLevelSimpleName = className . topLevelClassName ( ) . simpleName ( ) ; if ( currentTypeVariables . contains ( topLevelSimpleName ) ) { return className . canonicalName ; } // Find the shortest suffix of className t... |
public class HtmlUtils { /** * Convert a test result status into an HTML CSS class . */
static String getStatusCssClass ( DeviceTestResult testResult ) { } } | String status ; switch ( testResult . getStatus ( ) ) { case PASS : status = "pass" ; break ; case IGNORED : status = "ignored" ; break ; case FAIL : status = "fail" ; break ; case ASSUMPTION_FAILURE : status = "assumption-violation" ; break ; default : throw new IllegalArgumentException ( "Unknown result status: " + t... |
public class IndyMath { /** * Choose a method to replace the originally chosen metaMethod to have a
* more efficient call path . */
public static boolean chooseMathMethod ( Selector info , MetaMethod metaMethod ) { } } | Map < MethodType , MethodHandle > xmap = methods . get ( info . name ) ; if ( xmap == null ) return false ; MethodType type = replaceWithMoreSpecificType ( info . args , info . targetType ) ; type = widenOperators ( type ) ; MethodHandle handle = xmap . get ( type ) ; if ( handle == null ) return false ; info . handle ... |
public class HttpHeaders { /** * @ deprecated Use { @ link # get ( CharSequence ) } instead .
* Returns the value of the { @ code " Host " } header . */
@ Deprecated public static String getHost ( HttpMessage message ) { } } | return message . headers ( ) . get ( HttpHeaderNames . HOST ) ; |
public class StackResourceDrift { /** * Context information that enables AWS CloudFormation to uniquely identify a resource . AWS CloudFormation uses
* context key - value pairs in cases where a resource ' s logical and physical IDs are not enough to uniquely identify
* that resource . Each context key - value pair... | if ( physicalResourceIdContext == null ) { this . physicalResourceIdContext = null ; return ; } this . physicalResourceIdContext = new com . amazonaws . internal . SdkInternalList < PhysicalResourceIdContextKeyValuePair > ( physicalResourceIdContext ) ; |
public class DecisionCriteria { /** * Returns the best option and the payoff under hurwiczAlpha strategy
* @ param payoffMatrix
* @ param alpha
* @ return */
public static Map . Entry < Object , Object > hurwiczAlpha ( DataTable2D payoffMatrix , double alpha ) { } } | if ( payoffMatrix . isValid ( ) == false ) { throw new IllegalArgumentException ( "The payoff matrix does not have a rectangular format." ) ; } AssociativeArray minPayoffs = new AssociativeArray ( ) ; AssociativeArray maxPayoffs = new AssociativeArray ( ) ; for ( Map . Entry < Object , AssociativeArray > entry : payoff... |
public class Level { /** * Checks to see if this level or any of its children contain SpecTopics .
* @ return True if the level or the levels children contain at least one SpecTopic . */
public boolean hasSpecTopics ( ) { } } | if ( getSpecTopics ( ) . size ( ) > 0 ) { return true ; } for ( final Level childLevel : levels ) { if ( childLevel . hasSpecTopics ( ) ) { return true ; } } return false ; |
public class MethodParameter { /** * Start this tag ' s lifecycle . Verify that this tag is nested within
* a { @ link AbstractCallMethod } tag and that one of the " null " and " value "
* attributes are set .
* @ return { @ link # SKIP _ BODY }
* @ throws JspException if an error occurs getting the parameter *... | Tag parent = getParent ( ) ; if ( parent == null || ! ( parent instanceof AbstractCallMethod ) ) { String msg = Bundle . getErrorString ( "Tags_MethodParameter_invalidParent" ) ; registerTagError ( msg , null ) ; reportErrors ( ) ; return SKIP_BODY ; } if ( ! _isNull && _value == null ) { String msg = Bundle . getError... |
public class UnsafeOperations { /** * Copies the primitive of the specified type from the given field offset in the source object
* to the same location in the copy
* @ param source The object to copy from
* @ param copy The target object
* @ param type The type of primitive at the given offset - e . g . java .... | if ( java . lang . Boolean . TYPE == type ) { boolean origFieldValue = THE_UNSAFE . getBoolean ( source , offset ) ; THE_UNSAFE . putBoolean ( copy , offset , origFieldValue ) ; } else if ( java . lang . Byte . TYPE == type ) { byte origFieldValue = THE_UNSAFE . getByte ( source , offset ) ; THE_UNSAFE . putByte ( copy... |
public class ServiceBuilder { /** * Attaches the given StreamSegmentStore creator to this ServiceBuilder . The given Function will not be invoked
* right away ; it will be called when needed .
* @ param streamSegmentStoreCreator The Function to attach .
* @ return This ServiceBuilder . */
public ServiceBuilder wi... | Preconditions . checkNotNull ( streamSegmentStoreCreator , "streamSegmentStoreCreator" ) ; this . streamSegmentStoreCreator = streamSegmentStoreCreator ; return this ; |
public class Resources { /** * Obtain the appropriate tagset according to language and postag .
* @ param postag
* the postag
* @ param lang the language
* @ return the mapped tag */
public static String getKafTagSet ( final String postag , final String lang ) { } } | String tag = null ; if ( lang . equalsIgnoreCase ( "de" ) ) { tag = mapGermanTagSetToKaf ( postag ) ; } else if ( lang . equalsIgnoreCase ( "en" ) ) { tag = mapEnglishTagSetToKaf ( postag ) ; } else if ( lang . equalsIgnoreCase ( "es" ) ) { tag = mapSpanishTagSetToKaf ( postag ) ; } else if ( lang . equalsIgnoreCase ( ... |
public class DBManagerService { /** * Update the corresponding DBService with the given tenant definition . This method is
* called when an existing tenant is modified . If the DBService for the tenant has not
* yet been cached , this method is a no - op . Otherwise , the cached DBService is updated
* with the ne... | synchronized ( m_tenantDBMap ) { DBService dbservice = m_tenantDBMap . get ( tenantDef . getName ( ) ) ; if ( dbservice != null ) { Tenant updatedTenant = new Tenant ( tenantDef ) ; m_logger . info ( "Updating DBService for tenant: {}" , updatedTenant . getName ( ) ) ; dbservice . updateTenant ( updatedTenant ) ; } } |
public class Bean { /** * Add a list of references to a property on this bean .
* A reference identify other beans based on schema and instance id .
* @ param propertyName name of the property as defined by the bean ' s schema .
* @ param refs the reference as defined by the bean ' s schema . */
public void addRe... | Preconditions . checkNotNull ( refs ) ; Preconditions . checkNotNull ( propertyName ) ; checkCircularReference ( refs . toArray ( new BeanId [ refs . size ( ) ] ) ) ; List < BeanId > list = references . get ( propertyName ) ; if ( list == null ) { list = new ArrayList < > ( ) ; list . addAll ( refs ) ; references . put... |
public class Maps { /** * Returns the value that is stored for the given key in the given map .
* If there is no value stored , then 0 will be inserted into the map
* and returned
* @ param < K > The key type
* @ param map The map
* @ param k The key
* @ return The value */
public static < K > Integer getCo... | Integer count = map . get ( k ) ; if ( count == null ) { count = 0 ; map . put ( k , count ) ; } return count ; |
public class TextUtils { /** * Checks whether a text contains a specific fragment , specifying ( offset , len ) pairs
* for limiting the fragments to be checked .
* @ param caseSensitive whether the comparison must be done in a case - sensitive or case - insensitive way .
* @ param text the text to be checked for... | if ( text == null ) { throw new IllegalArgumentException ( "Text cannot be null" ) ; } if ( fragment == null ) { throw new IllegalArgumentException ( "Fragment cannot be null" ) ; } if ( textLen < fragmentLen ) { return false ; } if ( fragmentLen == 0 ) { return true ; } char c1 , c2 ; for ( int i = 0 , j = 0 ; i < tex... |
public class FSEditLog { /** * Check for gaps in the edit log input stream list .
* Note : we ' re assuming that the list is sorted and that txid ranges don ' t
* overlap . This could be done better and with more generality with an
* interval tree . */
private void checkForGaps ( Collection < EditLogInputStream >... | Iterator < EditLogInputStream > iter = streams . iterator ( ) ; long txId = fromTxId ; while ( true ) { if ( txId > toAtLeastTxId ) return ; if ( ! iter . hasNext ( ) ) break ; EditLogInputStream elis = iter . next ( ) ; if ( elis . getFirstTxId ( ) > txId ) { break ; } long next = elis . getLastTxId ( ) ; if ( next ==... |
public class AzureStorageClient { /** * Upload a file to the storage account .
* @ param jobFolder the path to the destination folder within storage container .
* @ param file the source file .
* @ return the SAS URI to the uploaded file .
* @ throws IOException */
public URI uploadFile ( final String jobFolder... | LOG . log ( Level . INFO , "Uploading [{0}] to [{1}]" , new Object [ ] { file , jobFolder } ) ; try { final CloudBlobClient cloudBlobClient = this . cloudBlobClientProvider . getCloudBlobClient ( ) ; final CloudBlobContainer container = cloudBlobClient . getContainerReference ( this . azureStorageContainerName ) ; fina... |
public class ShiroHelper { /** * Populate the authenticated user profiles in the Shiro subject .
* @ param profiles the linked hashmap of profiles */
public static void populateSubject ( final LinkedHashMap < String , CommonProfile > profiles ) { } } | if ( profiles != null && profiles . size ( ) > 0 ) { final List < CommonProfile > listProfiles = ProfileHelper . flatIntoAProfileList ( profiles ) ; try { if ( IS_FULLY_AUTHENTICATED_AUTHORIZER . isAuthorized ( null , listProfiles ) ) { SecurityUtils . getSubject ( ) . login ( new Pac4jToken ( listProfiles , false ) ) ... |
public class IceComponent { /** * Registers a collection of local candidates to the component .
* @ param candidatesWrapper
* The list of local candidates
* @ see IceComponent # addLocalCandidate ( LocalCandidateWrapper ) */
public void addLocalCandidates ( List < LocalCandidateWrapper > candidatesWrapper ) { } } | for ( LocalCandidateWrapper candidateWrapper : candidatesWrapper ) { addLocalCandidate ( candidateWrapper , false ) ; } sortCandidates ( ) ; |
public class Fn { /** * Creates a < i > function expression < / i > for building a function operating on
* a target object of the specified type .
* Examples :
* < ul >
* < li > < tt > Fn . on ( Types . STRING ) . get ( ) < / tt > returns < tt > Function & lt ; String , String & gt ; < / tt >
* which does not... | return new Level0GenericUniqOperator < T , T > ( ExecutionTarget . forFn ( Normalisation . NONE ) ) ; |
public class SmallIntSet { /** * Either converts the given set to an IntSet if it is one or creates a new IntSet and copies the contents
* @ param set
* @ return */
public static SmallIntSet from ( Set < Integer > set ) { } } | if ( set instanceof SmallIntSet ) { return ( SmallIntSet ) set ; } else { return new SmallIntSet ( set ) ; } |
public class SslTlsUtil { /** * Initialization of trustStoreManager used to provide access to the configured trustStore .
* @ param _ trustStoreFile trust store file
* @ param _ trustStorePassword trust store password
* @ return TrustManager array or null
* @ throws IOException on error */
public static TrustMa... | if ( _trustStoreFile == null ) { return null ; } String storeType = getStoreTypeByFileName ( _trustStoreFile ) ; boolean derEncoded = storeType == STORETYPE_DER_ENCODED ; if ( derEncoded ) { storeType = STORETYPE_JKS ; } String trustStorePwd = StringUtil . defaultIfBlank ( _trustStorePassword , System . getProperty ( "... |
public class UniversalDateAndTimeStampImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public void setUTCDiffM ( Integer newUTCDiffM ) { } } | Integer oldUTCDiffM = utcDiffM ; utcDiffM = newUTCDiffM ; if ( eNotificationRequired ( ) ) eNotify ( new ENotificationImpl ( this , Notification . SET , AfplibPackage . UNIVERSAL_DATE_AND_TIME_STAMP__UTC_DIFF_M , oldUTCDiffM , utcDiffM ) ) ; |
public class Servlet3SipServletMessageFactory { /** * ( non - Javadoc )
* @ see org . mobicents . servlet . sip . core . MobicentsSipServletMessageFactory # createSipServletRequest ( javax . sip . message . Request ,
* org . mobicents . servlet . sip . core . MobicentsSipFactory , org . mobicents . servlet . sip . ... | return new Servlet3SipServletRequestImpl ( request , sipFactoryImpl , sipSession , transaction , dialog , createDialog ) ; |
public class Coordinate { /** * Creates a coordinate from a Json map with with " ~ table " and " ~ id " . This is the inverse of { @ link # asJson ( ) } . */
public static Coordinate fromJson ( Map < String , ? > json ) { } } | return Coordinate . of ( Intrinsic . getTable ( json ) , Intrinsic . getId ( json ) ) ; |
public class ProbeProxy { /** * Fire a probe event to the registered target .
* @ param probeId the generated probe identifier
* @ param instance the object instance emitting the probe or null
* @ param args the probe payload */
public final static void fireProbe ( long probeId , Object instance , Object target ,... | // Load statics onto the stack to avoid a window where they can be cleared
// between the test for null and the invocation of the method
Object proxyTarget = fireProbeTarget ; Method method = fireProbeMethod ; if ( proxyTarget == null || method == null ) { return ; } try { method . invoke ( proxyTarget , probeId , inst... |
public class DBClusterSnapshotAttributesResult { /** * The list of attributes and values for the manual DB cluster snapshot .
* @ return The list of attributes and values for the manual DB cluster snapshot . */
public java . util . List < DBClusterSnapshotAttribute > getDBClusterSnapshotAttributes ( ) { } } | if ( dBClusterSnapshotAttributes == null ) { dBClusterSnapshotAttributes = new com . amazonaws . internal . SdkInternalList < DBClusterSnapshotAttribute > ( ) ; } return dBClusterSnapshotAttributes ; |
public class CheckMissingGetCssName { /** * Returns whether the node is the right hand side of an assignment or
* initialization of a variable named * _ ID of * _ ID _ . */
private boolean insideAssignmentToIdConstant ( Node n ) { } } | Node parent = n . getParent ( ) ; if ( parent . isAssign ( ) ) { String qname = parent . getFirstChild ( ) . getQualifiedName ( ) ; return qname != null && isIdName ( qname ) ; } else if ( parent . isName ( ) ) { Node grandParent = parent . getParent ( ) ; if ( grandParent != null && NodeUtil . isNameDeclaration ( gran... |
public class DatagramUtil { /** * 将一个int类型转换为四个字节的byte数组
* @ param data int类型的参数
* @ return byte类型的数组 */
public static byte [ ] convert ( int data ) { } } | long len = Integer . toUnsignedLong ( data ) ; byte [ ] b = new byte [ Datagram . LEN_LIMIT ] ; for ( int i = 0 ; i < b . length ; i ++ ) { b [ i ] = ( byte ) ( len >> ( ( b . length - i - 1 ) * 8 ) ) ; } return b ; |
public class ConfigurationAdminImpl { /** * ( non - Javadoc )
* @ see
* org . osgi . service . cm . ConfigurationAdmin # getConfiguration ( java . lang . String ,
* java . lang . String )
* If Configuration already exists ( exists in table , or serialized ) , return the
* existing configuration .
* If exist... | this . caFactory . checkConfigurationPermission ( ) ; return caFactory . getConfigurationStore ( ) . getConfiguration ( pid , location ) ; |
public class Content { /** * Get object property . This helper method is the work horse of all content getters . An object property is not limited
* to object field ; it also includes array and list items , content instance getters and super - classes , as follow :
* < ul >
* < li > if object is instance of array... | Params . notNull ( object , "Object" ) ; Params . notNull ( property , "Property" ) ; if ( object . getClass ( ) . isArray ( ) ) { try { int index = Integer . parseInt ( property ) ; return Array . get ( object , index ) ; } catch ( NumberFormatException unused ) { throw new TemplateException ( "Invalid property on |%s... |
public class TotalOrderPartitioner { /** * matching key types enforced by passing in */
@ SuppressWarnings ( "unchecked" ) // map output key class
private K [ ] readPartitions ( FileSystem fs , Path p , Class < K > keyClass , JobConf job ) throws IOException { } } | SequenceFile . Reader reader = new SequenceFile . Reader ( fs , p , job ) ; ArrayList < K > parts = new ArrayList < K > ( ) ; K key = ( K ) ReflectionUtils . newInstance ( keyClass , job ) ; NullWritable value = NullWritable . get ( ) ; while ( reader . next ( key , value ) ) { parts . add ( key ) ; key = ( K ) Reflect... |
public class MsgpackIOUtil { /** * Parses the { @ code messages } from the stream using the given { @ code schema } . */
public static < T > List < T > parseListFrom ( MessageBufferInput in , Schema < T > schema , boolean numeric ) throws IOException { } } | MessageUnpacker unpacker = MessagePack . newDefaultUnpacker ( in ) ; try { return parseListFrom ( unpacker , schema , numeric ) ; } finally { unpacker . close ( ) ; } |
public class AWSLogsClient { /** * Creates a log group with the specified name .
* You can create up to 5000 log groups per account .
* You must use the following guidelines when naming a log group :
* < ul >
* < li >
* Log group names must be unique within a region for an AWS account .
* < / li >
* < li ... | request = beforeClientExecution ( request ) ; return executeCreateLogGroup ( request ) ; |
public class Challenge { /** * Create a ChallengeCreator to execute create .
* @ param pathServiceSid Service Sid .
* @ param pathIdentity Unique identity of the Entity
* @ param pathFactorSid Factor Sid .
* @ return ChallengeCreator capable of executing the create */
public static ChallengeCreator creator ( fi... | return new ChallengeCreator ( pathServiceSid , pathIdentity , pathFactorSid ) ; |
public class SeleniumDriverSetup { /** * Connects SeleniumHelper to a remote web driver , without specifying browser version .
* @ param browser name of browser to connect to .
* @ param url url to connect to browser .
* @ return true .
* @ throws MalformedURLException if supplied url can not be transformed to ... | return connectToDriverForVersionOnAt ( browser , "" , Platform . ANY . name ( ) , url ) ; |
public class Expressions { /** * Creates an IsLessThan expression from the given expression and constant .
* @ param left The left expression .
* @ param constant The constant to compare to ( must be a Number ) .
* @ throws IllegalArgumentException If the constant is not a Number
* @ return A new is less than b... | if ( ! ( constant instanceof Number ) ) throw new IllegalArgumentException ( "constant is not a Number" ) ; return new IsLessThan ( left , constant ( ( Number ) constant ) ) ; |
public class ManagedClustersInner { /** * Gets cluster user credential of a managed cluster .
* Gets cluster user credential of the managed cluster with a specified resource group and name .
* @ param resourceGroupName The name of the resource group .
* @ param resourceName The name of the managed cluster resourc... | return ServiceFuture . fromResponse ( listClusterUserCredentialsWithServiceResponseAsync ( resourceGroupName , resourceName ) , serviceCallback ) ; |
public class Utils { /** * Convert timestamp in a string format to joda time
* @ param input timestamp
* @ param format timestamp format
* @ param timezone time zone of timestamp
* @ return joda time */
public static DateTime toDateTime ( String input , String format , String timezone ) { } } | String tz = StringUtils . defaultString ( timezone , ConfigurationKeys . DEFAULT_SOURCE_TIMEZONE ) ; DateTimeZone dateTimeZone = getTimeZone ( tz ) ; DateTimeFormatter inputDtFormat = DateTimeFormat . forPattern ( format ) . withZone ( dateTimeZone ) ; DateTime outputDateTime = inputDtFormat . parseDateTime ( input ) .... |
public class ValidatorContext { /** * 获取闭包
* @ param key 闭包名称
* @ return 闭包 */
public Closure getClosure ( String key ) { } } | if ( closures != null && ! closures . isEmpty ( ) ) { return closures . get ( key ) ; } return null ; |
public class FgExampleCache { /** * Gets the i ' th example . */
public LFgExample get ( int i ) { } } | LFgExample ex ; synchronized ( cache ) { ex = cache . get ( i ) ; } if ( ex == null ) { ex = exampleFactory . get ( i ) ; synchronized ( cache ) { cache . put ( i , ex ) ; } } return ex ; |
public class BucketManager { /** * 获取该空间下所有的domain
* @ param bucket
* @ return 该空间名下的domain
* @ throws QiniuException */
public String [ ] domainList ( String bucket ) throws QiniuException { } } | String url = String . format ( "%s/v6/domain/list?tbl=%s" , configuration . apiHost ( ) , bucket ) ; Response res = get ( url ) ; if ( ! res . isOK ( ) ) { throw new QiniuException ( res ) ; } String [ ] domains = res . jsonToObject ( String [ ] . class ) ; res . close ( ) ; return domains ; |
public class JsonService { /** * Get a child JSON array from a parent JSON object .
* @ param jsonObject The parent JSON object .
* @ param key The name of the child object .
* @ return Returns the child JSON array if it could be found , or null if the value was null .
* @ throws JSONException In case something... | checkArguments ( jsonObject , key ) ; JSONValue value = jsonObject . get ( key ) ; if ( value != null ) { if ( value . isArray ( ) != null ) { return value . isArray ( ) ; } else if ( value . isNull ( ) != null ) { return null ; } throw new JSONException ( "Child is not a JSONArray, but a: " + value . getClass ( ) ) ; ... |
public class ObjectFactory { /** * Create an instance of { @ link JAXBElement } { @ code < } { @ link WaterBodyType } { @ code > }
* @ param value
* Java instance representing xml element ' s value .
* @ return
* the new instance of { @ link JAXBElement } { @ code < } { @ link WaterBodyType } { @ code > } */
@ ... | return new JAXBElement < WaterBodyType > ( _WaterBody_QNAME , WaterBodyType . class , null , value ) ; |
public class View { /** * Enables the automatic layout for this view , with the specified settings .
* @ param rankDirection the rank direction
* @ param rankSeparation the separation between ranks ( in pixels , a positive integer )
* @ param nodeSeparation the separation between nodes within the same rank ( in p... | this . automaticLayout = new AutomaticLayout ( rankDirection , rankSeparation , nodeSeparation , edgeSeparation , vertices ) ; |
public class AbstractParamInjectionBinding { /** * real create the paramter object based CXF implementation
* @ param classType
* @ param genericType
* @ param memberAnnotations
* @ param paramInjectionMetadata
* @ return */
protected Object getInjectedObjectFromCXF ( Class < ? > classType , Type genericType ... | Parameter p = ResourceUtils . getParameter ( 0 , memberAnnotations , classType ) ; Object injectedObject = null ; Message message = paramInjectionMetadata . getInMessage ( ) ; OperationResourceInfo ori = paramInjectionMetadata . getOperationResourceInfo ( ) ; BeanResourceInfo cri = ori . getClassResourceInfo ( ) ; Mult... |
public class ConstantPool { /** * Adds a new constant . */
public void addConstant ( ConstantPoolEntry entry ) { } } | if ( entry instanceof Utf8Constant ) { Utf8Constant utf8 = ( Utf8Constant ) entry ; _utf8Map . put ( utf8 . getValue ( ) , utf8 ) ; } _entries . add ( entry ) ; |
public class DeleteRetentionPolicyRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( DeleteRetentionPolicyRequest deleteRetentionPolicyRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( deleteRetentionPolicyRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( deleteRetentionPolicyRequest . getLogGroupName ( ) , LOGGROUPNAME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall r... |
public class CmsListResourceIconAction { /** * Generates a default html code where several buttons can have the same help text . < p >
* the only diff to < code > { @ link org . opencms . workplace . tools . A _ CmsHtmlIconButton # defaultButtonHtml ( org . opencms . workplace . tools . CmsHtmlIconButtonStyleEnum , S... | StringBuffer html = new StringBuffer ( 1024 ) ; html . append ( "\t<span class=\"link" ) ; if ( enabled ) { html . append ( "\"" ) ; } else { html . append ( " linkdisabled\"" ) ; } if ( CmsStringUtil . isNotEmptyOrWhitespaceOnly ( helpText ) ) { if ( ! singleHelp ) { html . append ( " onMouseOver=\"sMH('" ) ; html . a... |
public class X509CertImpl { /** * Checks that the specified date is within the certificate ' s
* validity period , or basically if the certificate would be
* valid at the specified date / time .
* @ param date the Date to check against to see if this certificate
* is valid at that date / time .
* @ exception ... | CertificateValidity interval = null ; try { interval = ( CertificateValidity ) info . get ( CertificateValidity . NAME ) ; } catch ( Exception e ) { throw new CertificateNotYetValidException ( "Incorrect validity period" ) ; } if ( interval == null ) throw new CertificateNotYetValidException ( "Null validity period" ) ... |
public class OngoingMatchingR1 { /** * Sets a { @ link Function } to execute if this matches . */
public FluentMatchingR < T , R > get ( Function < A , R > function ) { } } | return get ( fluentMatchingR , function ) ; |
public class NGAExtensions { /** * Delete the Feature Style extensions for the table
* @ param geoPackage
* GeoPackage
* @ param table
* table name
* @ since 3.2.0 */
public static void deleteFeatureStyle ( GeoPackageCore geoPackage , String table ) { } } | FeatureCoreStyleExtension featureStyleExtension = getFeatureStyleExtension ( geoPackage ) ; if ( featureStyleExtension . has ( table ) ) { featureStyleExtension . deleteRelationships ( table ) ; } |
public class SystemKeyspace { /** * This method is used to remove information about truncation time for specified column family */
public static synchronized void removeTruncationRecord ( UUID cfId ) { } } | String req = "DELETE truncated_at[?] from system.%s WHERE key = '%s'" ; executeInternal ( String . format ( req , LOCAL_CF , LOCAL_KEY ) , cfId ) ; truncationRecords = null ; forceBlockingFlush ( LOCAL_CF ) ; |
public class ServerExampleJar { /** * Register samples . */
private void registerSamples ( ) { } } | SamplePanelRegistry . registerFactory ( CATEGORY_WFS , new ShowcaseSampleDefinition ( ) { public SamplePanel create ( ) { return new WfsCapabilitiesPanel ( ) ; } public String getTitle ( ) { return MESSAGES . capabilitiesTitle ( ) ; } public String getShortDescription ( ) { return MESSAGES . capabilitiesShort ( ) ; } p... |
public class ResourceMetadata { /** * Merges the metrics and attributes from the given instance , to the current instance .
* @ param other a { @ link ResourceMetadata } object
* @ return true if the meta - data was modified as a result of the merge , false otherwise */
public boolean merge ( ResourceMetadata other... | boolean modified = m_metrics . addAll ( other . m_metrics ) ; if ( ! modified ) { modified = ! m_attributes . equals ( other . m_attributes ) ; } m_attributes . putAll ( other . m_attributes ) ; return modified ; |
public class GeoJsonReaderDriver { /** * Parses the geometries to return its properties
* @ param jp
* @ throws IOException
* @ throws SQLException */
private void parseParentGeometryMetadata ( JsonParser jp ) throws IOException , SQLException { } } | if ( jp . nextToken ( ) != JsonToken . VALUE_NULL ) { // START _ OBJECT { in case of null geometry
jp . nextToken ( ) ; // FIELD _ NAME type
jp . nextToken ( ) ; // VALUE _ STRING Point
String geometryType = jp . getText ( ) ; parseGeometryMetadata ( jp , geometryType ) ; } |
public class ResourceAddressFactorySpi { /** * These options are removed and set in { @ link # parseNamedOptions ( java . net . URI , ResourceOptions , java . util . Map }
* above , so we need to include them in the new options by name map used for alternate construction . */
@ SuppressWarnings ( "JavadocReference" )... | Map < String , Object > clonedOptionsByName = new HashMap < > ( optionsByName ) ; clonedOptionsByName . put ( NEXT_PROTOCOL . name ( ) , options . getOption ( NEXT_PROTOCOL ) ) ; clonedOptionsByName . put ( QUALIFIER . name ( ) , options . getOption ( QUALIFIER ) ) ; clonedOptionsByName . put ( TRANSPORT_URI . name ( )... |
public class ExistsRule { /** * Create an instance of ExistsRule using the
* top name on the stack .
* @ param stack stack
* @ return instance of ExistsRule . */
public static Rule getRule ( final Stack stack ) { } } | if ( stack . size ( ) < 1 ) { throw new IllegalArgumentException ( "Invalid EXISTS rule - expected one parameter but received " + stack . size ( ) ) ; } return new ExistsRule ( stack . pop ( ) . toString ( ) ) ; |
public class SRTServletRequest { /** * PQ94384 */
public void addParameter ( String name , String [ ] values ) { } } | if ( WCCustomProperties . CHECK_REQUEST_OBJECT_IN_USE ) { checkRequestObjectInUse ( ) ; } Hashtable aParam = new Hashtable ( 3 ) ; aParam . put ( name , values ) ; mergeQueryParams ( aParam ) ; |
public class WordCluster { /** * 合并c1和c2
* @ param c1
* @ param c2 */
protected void merge ( int c1 , int c2 ) { } } | int newid = lastid ++ ; heads . put ( c1 , newid ) ; heads . put ( c2 , newid ) ; TIntFloatHashMap newpcc = new TIntFloatHashMap ( ) ; TIntFloatHashMap inewpcc = new TIntFloatHashMap ( ) ; TIntFloatHashMap newwcc = new TIntFloatHashMap ( ) ; float pc1 = wordProb . get ( c1 ) ; float pc2 = wordProb . get ( c2 ) ; // 新类的... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.