signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class IoTProvisioningManager { /** * As the given provisioning server is the given JID is a friend . * @ param provisioningServer the provisioning server to ask . * @ param friendInQuestion the JID to ask about . * @ return < code > true < / code > if the JID is a friend , < code > false < / code > otherwi...
LruCache < BareJid , Void > cache = negativeFriendshipRequestCache . lookup ( provisioningServer ) ; if ( cache != null && cache . containsKey ( friendInQuestion ) ) { // We hit a cached negative isFriend response for this provisioning server . return false ; } IoTIsFriend iotIsFriend = new IoTIsFriend ( friendInQuesti...
public class StringUtil { /** * Turns a string value into a java . lang . Number . * If the string starts with { @ code 0x } or { @ code - 0x } ( lower or upper case ) * or { @ code # } or { @ code - # } , it will be interpreted as a hexadecimal * Integer - or Long , if the number of digits after the prefix is mo...
"unchecked" , "rawtypes" } ) public static Optional < Number > createNumber ( final String str ) { if ( N . isNullOrEmptyOrBlank ( str ) ) { return Optional . empty ( ) ; } // Need to deal with all possible hex prefixes here final String [ ] hex_prefixes = { "0x" , "0X" , "-0x" , "-0X" , "#" , "-#" } ; int pfxLen = 0 ;...
public class DataSetLookupEditor { /** * DataSetFilterEditor events */ void onFilterChanged ( @ Observes DataSetFilterChangedEvent event ) { } }
DataSetFilter filterOp = event . getFilter ( ) ; dataSetLookup . removeOperations ( DataSetOpType . FILTER ) ; if ( filterOp != null ) { dataSetLookup . addOperation ( 0 , filterOp ) ; } changeEvent . fire ( new DataSetLookupChangedEvent ( dataSetLookup ) ) ;
public class SchedulerStateManagerAdaptor { /** * Set the packing plan for the given topology * @ param packingPlan the packing plan of the topology * @ return Boolean - Success or Failure */ public Boolean setPackingPlan ( PackingPlans . PackingPlan packingPlan , String topologyName ) { } }
return awaitResult ( delegate . setPackingPlan ( packingPlan , topologyName ) ) ;
public class CmsGalleryControllerHandler { /** * Will be triggered when the sort parameters of the galleries list are changed . < p > * @ param galleries the updated galleries list * @ param selectedGalleries the list of galleries to select */ public void onUpdateGalleries ( List < CmsGalleryFolderBean > galleries ...
m_galleryDialog . getGalleriesTab ( ) . updateListContent ( galleries , selectedGalleries ) ;
public class DiGraph { /** * Returns the number of arcs in < code > this < / code > directed * graph . * Complexity : linear in the size of the graph . Cached if the * < code > CACHING < / code > argument to the constructor was true . */ public long numArcs ( ) { } }
if ( CACHING && ( cachedNumArcs != - 1 ) ) { return cachedNumArcs ; } long numArcs = 0 ; for ( Vertex v : vertices ( ) ) { numArcs += getForwardNavigator ( ) . next ( v ) . size ( ) ; } if ( CACHING ) { cachedNumArcs = numArcs ; } return numArcs ;
public class X509SubjectAlternativeNameUPNPrincipalResolver { /** * Get alt name seq . * @ param sanValue subject alternative name value encoded as byte [ ] * @ return ASN1Sequence abstraction representing subject alternative name * @ see < a href = " http : / / docs . oracle . com / javase / 7 / docs / api / jav...
try ( val bInput = new ByteArrayInputStream ( sanValue ) ; val input = new ASN1InputStream ( bInput ) ) { return ASN1Sequence . getInstance ( input . readObject ( ) ) ; } catch ( final IOException e ) { LOGGER . error ( "An error has occurred while reading the subject alternative name value" , e ) ; } return null ;
public class ConfinedDiffusionMSDCurveFit { /** * Fits the curve y = a * ( 1 - b * exp ( ( - 4 * D ) * ( x / a ) * c ) ) to the x - and y data . * The parameters have the follow meaning : * @ param xdata * @ param ydata */ public void doFit ( double [ ] xdata , double [ ] ydata , boolean reduced ) { } }
CurveFitter fitter = new CurveFitter ( xdata , ydata ) ; if ( reduced == false ) { double ia = Double . isNaN ( initA ) ? 0 : initA ; double ib = Double . isNaN ( initB ) ? 0 : initB ; double ic = Double . isNaN ( initC ) ? 0 : initC ; double id = Double . isNaN ( initD ) ? 0 : initD ; double [ ] initialParams = new do...
public class GuildManager { /** * Sets the afk { @ link net . dv8tion . jda . core . entities . Guild . Timeout Timeout } of this { @ link net . dv8tion . jda . core . entities . Guild Guild } . * @ param timeout * The new afk timeout for this { @ link net . dv8tion . jda . core . entities . Guild Guild } * @ thr...
Checks . notNull ( timeout , "Timeout" ) ; this . afkTimeout = timeout . getSeconds ( ) ; set |= AFK_TIMEOUT ; return this ;
public class TxTMHelper { /** * UOWScopeCallbackAgent interface */ @ Override public void registerCallback ( UOWScopeCallback callback ) { } }
if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "registerCallback" , callback ) ; UserTransactionImpl . instance ( ) . registerCallback ( callback ) ; if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "registerCallback" ) ;
public class FrenchRepublicanCalendar { /** * / * [ deutsch ] * < p > Erzeugt ein neues franz & ouml ; sisches Republikdatum . < / p > * @ param year republican year in range 1-1202 * @ param month republican month in range 1-12 * @ param dayOfMonth day of month in range 1-30 * @ return new instance of { @ co...
if ( ( year < 1 ) || ( year > MAX_YEAR ) || ( month < 1 ) || ( month > 12 ) || ( dayOfMonth < 1 ) || ( dayOfMonth > 30 ) ) { throw new IllegalArgumentException ( "Invalid French republican date: year=" + year + ", month=" + month + ", day=" + dayOfMonth ) ; } return new FrenchRepublicanCalendar ( year , ( month - 1 ) *...
public class DefaultEncoderFactory { /** * { @ inheritDoc } */ public BinaryEncoder createBinaryEncoder ( final Encoding encoding ) throws UnsupportedEncodingException { } }
if ( Encoding . QUOTED_PRINTABLE . equals ( encoding ) ) { return new QuotedPrintableCodec ( ) ; } else if ( Encoding . BASE64 . equals ( encoding ) ) { return new Base64 ( ) ; } throw new UnsupportedEncodingException ( MessageFormat . format ( UNSUPPORTED_ENCODING_MESSAGE , encoding ) ) ;
public class ReflectUtils { /** * Gets the all interface names of this class * @ param c The class of one object * @ return Returns the all interface names */ public static String [ ] getInterfaceNames ( Class < ? > c ) { } }
Class < ? > [ ] interfaces = c . getInterfaces ( ) ; List < String > names = new ArrayList < > ( ) ; for ( Class < ? > i : interfaces ) { names . add ( i . getName ( ) ) ; } return names . toArray ( new String [ 0 ] ) ;
public class QueryUtils { /** * Checks if the provided candidate is explicitly contained in the provided indices . */ public static boolean isExplicitlyRequested ( String candidate , String ... indices ) { } }
boolean result = false ; for ( String indexOrAlias : indices ) { boolean include = true ; if ( indexOrAlias . charAt ( 0 ) == '+' || indexOrAlias . charAt ( 0 ) == '-' ) { include = indexOrAlias . charAt ( 0 ) == '+' ; indexOrAlias = indexOrAlias . substring ( 1 ) ; } if ( indexOrAlias . equals ( "*" ) || indexOrAlias ...
public class XMLUtils { /** * Get DOM parser . * @ return DOM document builder instance . * @ throws RuntimeException if instantiating DocumentBuilder failed */ public static DocumentBuilder getDocumentBuilder ( ) { } }
DocumentBuilder builder ; try { builder = factory . newDocumentBuilder ( ) ; } catch ( final ParserConfigurationException e ) { throw new RuntimeException ( e ) ; } if ( Configuration . DEBUG ) { builder = new DebugDocumentBuilder ( builder ) ; } return builder ;
public class ConfigUtil { /** * Like { @ link # loadInheritedProperties ( String , ClassLoader ) } but the properties are loaded into * the supplied properties object . Properties that already exist in the supplied object will * be overwritten by the loaded properties where they have the same key . * @ exception ...
// first look for the files in the supplied class loader Enumeration < URL > enm = getResources ( path , loader ) ; if ( ! enm . hasMoreElements ( ) ) { // if we couldn ' t find anything there , try the system class loader ( but only if that ' s // not where we were already looking ) try { ClassLoader sysloader = Class...
public class IndexImage { /** * Converts the input image ( must be { @ code TYPE _ INT _ RGB } or * { @ code TYPE _ INT _ ARGB } ) to an indexed image . Using the supplied * { @ code IndexColorModel } ' s palette . * Dithering , transparency and color selection is controlled with the * { @ code pHints } paramet...
return getIndexedImage ( pImage , pColors , null , pHints ) ;
public class RandomAccessFile { /** * Closes this file . * @ throws IOException * if an error occurs while closing this file . */ public void close ( ) throws IOException { } }
guard . close ( ) ; synchronized ( this ) { if ( channel != null && channel . isOpen ( ) ) { channel . close ( ) ; // j2objc : since a @ RetainedWith field cannot be reassigned , the following line is // commented out . If a channel is already closed , the predicate above will be false // and so this branch will not be...
public class TopicsInner { /** * Create a topic . * Asynchronously creates a new topic with the specified parameters . * @ param resourceGroupName The name of the resource group within the user ' s subscription . * @ param topicName Name of the topic * @ param topicInfo Topic information * @ throws IllegalArg...
return beginCreateOrUpdateWithServiceResponseAsync ( resourceGroupName , topicName , topicInfo ) . map ( new Func1 < ServiceResponse < TopicInner > , TopicInner > ( ) { @ Override public TopicInner call ( ServiceResponse < TopicInner > response ) { return response . body ( ) ; } } ) ;
public class KxPublisherActor { /** * same as with onError */ @ Override @ CallerSideMethod public void onNext ( IN in ) { } }
if ( in == null ) throw null ; _onNext ( in ) ;
public class AvailableNumber { /** * Convenience factory method to return local numbers based on a given search criteria for a given client * @ param client the client * @ param params the params * @ return the list * @ throws IOException unexpected error . */ public static List < AvailableNumber > searchLocal ...
final String tollFreeUri = BandwidthConstants . AVAILABLE_NUMBERS_LOCAL_URI_PATH ; final JSONArray array = toJSONArray ( client . get ( tollFreeUri , params ) ) ; final List < AvailableNumber > numbers = new ArrayList < AvailableNumber > ( ) ; for ( final Object obj : array ) { numbers . add ( new AvailableNumber ( cli...
public class Client { /** * Log the user in and get a valid access token . * @ param email * @ param password * @ return non - null ApiResponse if request succeeds , check getError ( ) for * " invalid _ grant " to see if access is denied . */ public ApiResponse authorizeAppUser ( String email , String password ...
validateNonEmptyParam ( email , "email" ) ; validateNonEmptyParam ( password , "password" ) ; assertValidApplicationId ( ) ; loggedInUser = null ; accessToken = null ; currentOrganization = null ; Map < String , Object > formData = new HashMap < String , Object > ( ) ; formData . put ( "grant_type" , "password" ) ; for...
public class NetworkBartenderServiceImpl { /** * public void addClusterPortConfig ( ConfigProgram program ) * _ bartenderPortConfig . addProgram ( program ) ; */ public boolean start ( ) throws Exception { } }
// ServerNetwork clusterServer = getServerNetwork ( _ selfServer ) ; if ( _selfServer . port ( ) >= 0 ) { // _ hmuxProtocol = HmuxProtocol . create ( ) ; _httpProtocol = new ProtocolHttp ( ) ; _httpProtocolBartender = new ProtocolHttp ( ) ; _httpProtocol . extensionProtocol ( _protocolBartenderPublic ) ; _httpProtocolB...
public class DateTimeField { /** * Get this field as a java calendar value . * @ return This field as a calendar value . */ public Calendar getCalendar ( ) { } }
// Get this field ' s value java . util . Date dateValue = ( java . util . Date ) this . getData ( ) ; // Get the physical data if ( dateValue == null ) return null ; Calendar calendar = Calendar . getInstance ( ) ; calendar . setTime ( dateValue ) ; return calendar ;
public class Rule { /** * Static for inline ( 2x ) */ static boolean checkWildCards ( final SearchableString value , final Literal [ ] suffixes , final int start , final int end ) { } }
if ( suffixes == null ) { // No wildcards return start == end + 1 ; } // One wildcard if ( suffixes . length == 0 ) { return start <= end + 1 ; } int from = start ; for ( final Literal suffix : suffixes ) { final int match = checkWildCard ( value , suffix , from ) ; if ( match == - 1 ) { return false ; } from = suffix ...
public class AbstractSupervisedProjectionVectorFilter { /** * Partition the bundle based on the class label . * @ param classcolumn * @ return Partitioned data set . */ protected < O > Map < O , IntList > partition ( List < ? extends O > classcolumn ) { } }
Map < O , IntList > classes = new HashMap < > ( ) ; Iterator < ? extends O > iter = classcolumn . iterator ( ) ; for ( int i = 0 ; iter . hasNext ( ) ; i ++ ) { O lbl = iter . next ( ) ; IntList ids = classes . get ( lbl ) ; if ( ids == null ) { ids = new IntArrayList ( ) ; classes . put ( lbl , ids ) ; } ids . add ( i...
public class ServletExternalContextImplBase { /** * ~ Methods which only rely on the ServletContext - - - - - */ @ Override public Map < String , Object > getApplicationMap ( ) { } }
if ( _applicationMap == null ) { _applicationMap = new ApplicationMap ( _servletContext ) ; } return _applicationMap ;
public class WorkflowClient { /** * Retrieve all workflow instances for a given workflow name between a specific time period * @ param workflowName the name of the workflow * @ param version the version of the workflow definition . Defaults to 1. * @ param startTime the start time of the period * @ param endTim...
Preconditions . checkArgument ( StringUtils . isNotBlank ( workflowName ) , "Workflow name cannot be blank" ) ; Preconditions . checkNotNull ( startTime , "Start time cannot be null" ) ; Preconditions . checkNotNull ( endTime , "End time cannot be null" ) ; Object [ ] params = new Object [ ] { "version" , version , "st...
public class BeanUtil { /** * 使用Map填充Bean对象 * @ param < T > Bean类型 * @ param map Map * @ param bean Bean * @ param copyOptions 属性复制选项 { @ link CopyOptions } * @ return Bean */ public static < T > T fillBeanWithMap ( Map < ? , ? > map , T bean , CopyOptions copyOptions ) { } }
return fillBeanWithMap ( map , bean , false , copyOptions ) ;
public class Matrix3d { /** * / * ( non - Javadoc ) * @ see org . joml . Matrix3dc # rotateZ ( double , org . joml . Matrix3d ) */ public Matrix3d rotateZ ( double ang , Matrix3d dest ) { } }
double sin , cos ; sin = Math . sin ( ang ) ; cos = Math . cosFromSin ( sin , ang ) ; double rm00 = cos ; double rm10 = - sin ; double rm01 = sin ; double rm11 = cos ; // add temporaries for dependent values double nm00 = m00 * rm00 + m10 * rm01 ; double nm01 = m01 * rm00 + m11 * rm01 ; double nm02 = m02 * rm00 + m12 *...
public class CmsXmlSitemapUrlBean { /** * Writes a single XML element with text content to a string buffer . < p > * @ param buffer the string buffer to write to * @ param tag the XML tag name * @ param content the content of the XML element */ public void writeElement ( StringBuffer buffer , String tag , String ...
buffer . append ( "<" + tag + ">" ) ; buffer . append ( CmsEncoder . escapeXml ( content ) ) ; buffer . append ( "</" + tag + ">" ) ;
public class Client { /** * Called when we receive a pong packet . We may be in the process of calculating the client / * server time differential , or we may have already done that at which point we ignore pongs . */ protected void gotPong ( PongResponse pong ) { } }
// if we ' re not currently calculating our delta , then we can throw away the pong if ( _dcalc != null ) { // we update the delta after every receipt so as to immediately obtain an estimate of // the clock delta and then refine it as more packets come in _dcalc . gotPong ( pong ) ; _serverDelta = _dcalc . getTimeDelta...
public class StatementManager { /** * bind BetweenCriteria * @ param stmt the PreparedStatement * @ param index the position of the parameter to bind * @ param crit the Criteria containing the parameter * @ param cld the ClassDescriptor * @ return next index for PreparedStatement */ private int bindStatement ...
index = bindStatementValue ( stmt , index , crit . getAttribute ( ) , crit . getValue ( ) , cld ) ; return bindStatementValue ( stmt , index , crit . getAttribute ( ) , crit . getValue2 ( ) , cld ) ;
public class ClassBuilder { /** * Build the member summary contents of the page . * @ param node the XML element that specifies which components to document * @ param classContentTree the content tree to which the documentation will be added */ public void buildMemberSummary ( XMLNode node , Content classContentTre...
Content memberSummaryTree = writer . getMemberTreeHeader ( ) ; configuration . getBuilderFactory ( ) . getMemberSummaryBuilder ( writer ) . buildChildren ( node , memberSummaryTree ) ; classContentTree . addContent ( writer . getMemberSummaryTree ( memberSummaryTree ) ) ;
public class OperationUtils { /** * Awaits for an operation to be completed . * @ param service * the media contract * @ param operation * the operation id to wait for . * @ return the final state of the operation . If the entity has not operationId , returns OperationState . Succeeded . * @ throws ServiceE...
if ( entity . hasOperationIdentifier ( ) ) { return await ( service , entity . getOperationId ( ) ) ; } return OperationState . Succeeded ;
public class CommonOps_DDF4 { /** * Sets all the diagonal elements equal to one and everything else equal to zero . * If this is a square matrix then it will be an identity matrix . * @ param a A matrix . */ public static void setIdentity ( DMatrix4x4 a ) { } }
a . a11 = 1 ; a . a21 = 0 ; a . a31 = 0 ; a . a41 = 0 ; a . a12 = 0 ; a . a22 = 1 ; a . a32 = 0 ; a . a42 = 0 ; a . a13 = 0 ; a . a23 = 0 ; a . a33 = 1 ; a . a43 = 0 ; a . a14 = 0 ; a . a24 = 0 ; a . a34 = 0 ; a . a44 = 1 ;
public class MLInt32 { /** * Converts byte [ ] [ ] to Long [ ] * @ param dd * @ return */ private static Integer [ ] int2DToInteger ( int [ ] [ ] dd ) { } }
Integer [ ] d = new Integer [ dd . length * dd [ 0 ] . length ] ; for ( int n = 0 ; n < dd [ 0 ] . length ; n ++ ) { for ( int m = 0 ; m < dd . length ; m ++ ) { d [ m + n * dd . length ] = dd [ m ] [ n ] ; } } return d ;
public class RequestContext { /** * Renders with { " data " : obj } . * @ param data the specified JSON data * @ return this context */ public RequestContext renderData ( final Object data ) { } }
if ( renderer instanceof JsonRenderer ) { final JsonRenderer r = ( JsonRenderer ) renderer ; final JSONObject ret = r . getJSONObject ( ) ; ret . put ( Keys . DATA , data ) ; } return this ;
public class PasswordlessRequestCodeFormView { /** * Notifies the form that a new country code was selected by the user . * @ param isoCode the selected country iso code ( 2 chars ) . * @ param dialCode the dial code for this country */ @ SuppressWarnings ( "unused" ) public void onCountryCodeSelected ( String isoC...
Country selectedCountry = new Country ( isoCode , dialCode ) ; countryCodeSelector . setSelectedCountry ( selectedCountry ) ;
public class Leader { /** * Entering broadcasting phase , leader broadcasts proposal to * followers . * @ throws InterruptedException if it ' s interrupted . * @ throws TimeoutException in case of timeout . * @ throws IOException in case of IO failure . * @ throws ExecutionException in case of exception from ...
// Initialization . broadcastingInit ( ) ; try { while ( this . quorumMap . size ( ) >= clusterConfig . getQuorumSize ( ) ) { MessageTuple tuple = filter . getMessage ( config . getTimeoutMs ( ) ) ; Message msg = tuple . getMessage ( ) ; String source = tuple . getServerId ( ) ; // Checks if it ' s DISCONNECTED message...
public class NonProductiveMethodCall { /** * implements the visitor to look for return values of common immutable method calls , that are thrown away . * @ param seen * the opcode of the currently parsed instruction */ @ Override public void sawOpcode ( int seen ) { } }
String methodInfo = null ; try { stack . precomputation ( this ) ; switch ( seen ) { case Const . INVOKEVIRTUAL : case Const . INVOKEINTERFACE : case Const . INVOKESTATIC : String sig = getSigConstantOperand ( ) ; if ( ! sig . endsWith ( Values . SIG_VOID ) ) { methodInfo = getClassConstantOperand ( ) + '@' + getNameCo...
public class SysProcDuplicateCounter { /** * It is possible that duplicate counter will get mixed dummy responses and * real responses from replicas , think elastic join and rejoin . The * requirement here is that the duplicate counter should never mix these two * types of responses together in the list of tables...
long hash = 0 ; for ( int i = 0 ; i < message . getTableCount ( ) ; i ++ ) { int depId = message . getTableDependencyIdAtIndex ( i ) ; VoltTable dep = message . getTableAtIndex ( i ) ; List < VoltTable > tables = m_alldeps . get ( depId ) ; if ( tables == null ) { tables = new ArrayList < VoltTable > ( ) ; m_alldeps . ...
public class MoneyUtils { /** * Subtracts the second { @ code Money } from the first , handling null . * This returns { @ code money1 - money2 } where null is ignored . * If both input values are null , then null is returned . * @ param money1 the first money instance , null treated as zero * @ param money2 the...
if ( money2 == null ) { return money1 ; } if ( money1 == null ) { return money2 . negated ( ) ; } return money1 . minus ( money2 ) ;
public class ErrMessage { /** * AT & T Requires a specific Error Format for RESTful Services , which AAF complies with . * This code will create a meaningful string from this format . * @ param ps * @ param df * @ param r * @ throws APIException */ public void printErr ( PrintStream ps , String attErrJson ) t...
StringBuilder sb = new StringBuilder ( ) ; Error err = errDF . newData ( ) . in ( TYPE . JSON ) . load ( attErrJson ) . asObject ( ) ; ps . println ( toMsg ( sb , err ) ) ;
public class KeyFactory { /** * Resets the KeyFactory to its initial state . * @ return { @ code this } for chaining */ public KeyFactory reset ( ) { } }
setProjectId ( pi ) ; setNamespace ( ns ) ; kind = null ; ancestors . clear ( ) ; return this ;
public class SubnetworkClient { /** * Set whether VMs in this subnet can access Google services without assigning external IP * addresses through Private Google Access . * < p > Sample code : * < pre > < code > * try ( SubnetworkClient subnetworkClient = SubnetworkClient . create ( ) ) { * ProjectRegionSubnet...
SetPrivateIpGoogleAccessSubnetworkHttpRequest request = SetPrivateIpGoogleAccessSubnetworkHttpRequest . newBuilder ( ) . setSubnetwork ( subnetwork == null ? null : subnetwork . toString ( ) ) . setSubnetworksSetPrivateIpGoogleAccessRequestResource ( subnetworksSetPrivateIpGoogleAccessRequestResource ) . build ( ) ; re...
public class JsfFaceletScannerPlugin { /** * end method initialize */ @ Override public void configure ( ) { } }
if ( getProperties ( ) . containsKey ( PROPERTY_NAME_FILE_PATTERN ) ) { filePattern = Pattern . compile ( getProperties ( ) . get ( PROPERTY_NAME_FILE_PATTERN ) . toString ( ) ) ; } else { filePattern = Pattern . compile ( DEFAULT_FILE_PATTERN ) ; }
import java . util . ArrayList ; import java . util . List ; class Main { /** * Function to remove all empty lists from a given list of lists . * Args : * inputList ( ArrayList ) : A list possibly containing empty lists alongside other items . * Returns : * ArrayList : A list containing only non - empty items f...
ArrayList < Object > filteredList = new ArrayList < > ( ) ; for ( Object element : inputList ) { if ( element != null && ! element . toString ( ) . isEmpty ( ) ) { filteredList . add ( element ) ; } } return filteredList ;
public class RestClientUtil { /** * 获取文档MapSearchHit对象 , 封装了索引文档的所有属性数据 * @ param indexName * @ param documentId * @ return * @ throws ElasticSearchException */ public MapSearchHit getDocumentHit ( String indexName , String documentId ) throws ElasticSearchException { } }
return getDocumentHit ( indexName , _doc , documentId ) ;
public class AppsImpl { /** * Returns the available endpoint deployment regions and URLs . * @ param appId The application ID . * @ throws IllegalArgumentException thrown if parameters fail the validation * @ throws ErrorResponseException thrown if the request is rejected by server * @ throws RuntimeException a...
return listEndpointsWithServiceResponseAsync ( appId ) . toBlocking ( ) . single ( ) . body ( ) ;
public class VisualizationTree { /** * Filtered iteration over a stacked hierarchy . * This is really messy because the visualization hierarchy is typed Object . * @ param context Visualization context * @ return Iterator of results . */ public static It < Object > findVis ( VisualizerContext context ) { } }
return new StackedIter < > ( context . getHierarchy ( ) . iterAll ( ) , context . getVisHierarchy ( ) ) ;
public class AttributeDefinition { /** * Takes the given { @ code value } , resolves it using the given { @ code resolver } * and validates it using this attribute ' s { @ link # getValidator ( ) validator } . If the value is * undefined and a { @ link # getDefaultValue ( ) default value } is available , the defaul...
final ModelNode node = value . clone ( ) ; if ( ! node . isDefined ( ) && defaultValue != null && defaultValue . isDefined ( ) ) { node . set ( defaultValue ) ; } ModelNode resolved = resolver . resolveExpressions ( node ) ; resolved = parseResolvedValue ( value , resolved ) ; validator . validateParameter ( name , res...
public class AbstractNamedInputHandler { /** * Updates bean by using PropertyDescriptors . Values are read from * source . * Is used by { @ link # updateBean ( Object , java . util . Map ) } * @ param target target Bean * @ param source source Map */ private void updateProperties ( T target , Map < String , Obj...
Map < String , PropertyDescriptor > mapTargetProps = MappingUtils . mapPropertyDescriptors ( target . getClass ( ) ) ; for ( String sourceKey : source . keySet ( ) ) { if ( mapTargetProps . containsKey ( sourceKey ) == true ) { MappingUtils . callSetter ( target , mapTargetProps . get ( sourceKey ) , source . get ( sou...
public class DataLoaderRegistry { /** * Returns the dataloader that was registered under the specified key * @ param key the key of the data loader * @ param < K > the type of keys * @ param < V > the type of values * @ return a data loader or null if its not present */ @ SuppressWarnings ( "unchecked" ) public...
return ( DataLoader < K , V > ) dataLoaders . get ( key ) ;
public class TypeRegistry { /** * Gets registered alias for a provided object type . This is used to identify which { @ link TypeEncoder } to use for decoding . */ public String getAlias ( Object obj ) { } }
if ( obj == null ) return null ; return getClassAlias ( obj . getClass ( ) ) ;
public class UserApi { /** * Get a list of users using the specified page and per page settings . * < pre > < code > GitLab Endpoint : GET / users < / code > < / pre > * @ param page the page to get * @ param perPage the number of users per page * @ return the list of Users in the specified range * @ throws G...
Response response = get ( Response . Status . OK , getPageQueryParams ( page , perPage , customAttributesEnabled ) , "users" ) ; return ( response . readEntity ( new GenericType < List < User > > ( ) { } ) ) ;
public class ASTUtil { /** * Returns the < CODE > MethodDeclaration < / CODE > for the specified * < CODE > MethodAnnotation < / CODE > . The method has to be declared in the * specified < CODE > TypeDeclaration < / CODE > . * @ param type * The < CODE > TypeDeclaration < / CODE > , where the * < CODE > Metho...
Objects . requireNonNull ( methodAnno , "method annotation" ) ; return getMethodDeclaration ( type , methodAnno . getMethodName ( ) , methodAnno . getMethodSignature ( ) ) ;
public class XmlStreamReaderUtils { /** * Returns the value of an attribute as a float . If the attribute is empty , this method throws * an exception . * @ param reader * < code > XMLStreamReader < / code > that contains attribute values . * @ param namespace * namespace * @ param localName * the local n...
final String value = reader . getAttributeValue ( namespace , localName ) ; if ( value != null ) { return Float . parseFloat ( value ) ; } throw new XMLStreamException ( MessageFormat . format ( "Attribute {0}:{1} is required" , namespace , localName ) ) ;
public class FieldDescriptor { /** * returns a comparator that allows to sort a Vector of FieldMappingDecriptors * according to their m _ Order entries . */ public static Comparator getComparator ( ) { } }
return new Comparator ( ) { public int compare ( Object o1 , Object o2 ) { FieldDescriptor fmd1 = ( FieldDescriptor ) o1 ; FieldDescriptor fmd2 = ( FieldDescriptor ) o2 ; if ( fmd1 . getColNo ( ) < fmd2 . getColNo ( ) ) { return - 1 ; } else if ( fmd1 . getColNo ( ) > fmd2 . getColNo ( ) ) { return 1 ; } else { return ...
public class Math { /** * Returns the root of a function whose derivative is available known * to lie between x1 and x2 by Newton - Raphson method . The root will be * refined until its accuracy is within xacc . * @ param func the function to be evaluated . * @ param x1 the left end of search interval . * @ p...
return root ( func , x1 , x2 , tol , 100 ) ;
public class CoffeeScriptGenerator { /** * ( non - Javadoc ) * @ see * net . jawr . web . resource . bundle . generator . AbstractCachedGenerator # resetCache */ @ Override protected void resetCache ( ) { } }
super . resetCache ( ) ; cacheProperties . put ( JAWR_JS_GENERATOR_COFFEE_SCRIPT_LOCATION , config . getProperty ( JAWR_JS_GENERATOR_COFFEE_SCRIPT_LOCATION , DEFAULT_COFFEE_SCRIPT_JS_LOCATION ) ) ; cacheProperties . put ( JAWR_JS_GENERATOR_COFFEE_SCRIPT_OPTIONS , config . getProperty ( JAWR_JS_GENERATOR_COFFEE_SCRIPT_O...
public class GroupElement { /** * $ r = a * A + b * B $ where $ a = a [ 0 ] + 256 * a [ 1 ] + \ dots + 256 ^ { 31 } a [ 31 ] $ , $ b = * b [ 0 ] + 256 * b [ 1 ] + \ dots + 256 ^ { 31 } b [ 31 ] $ and $ B $ is this point . * $ A $ must have been previously precomputed . * @ param A in P3 representation . * @ par...
// TODO - CR BR : A check that this is the base point is needed . final byte [ ] aslide = slide ( a ) ; final byte [ ] bslide = slide ( b ) ; org . mariadb . jdbc . internal . com . send . authentication . ed25519 . math . GroupElement r = this . curve . getZero ( Representation . P2 ) ; int i ; for ( i = 255 ; i >= 0 ...
public class FileUtilsV2_2 { /** * Returns the size of the specified file or directory . If the provided * { @ link File } is a regular file , then the file ' s length is returned . * If the argument is a directory , then the size of the directory is * calculated recursively . If a directory or subdirectory is se...
if ( ! file . exists ( ) ) { String message = file + " does not exist" ; throw new IllegalArgumentException ( message ) ; } if ( file . isDirectory ( ) ) { return sizeOfDirectory ( file ) ; } else { return file . length ( ) ; }
public class PropertyToTriple { /** * This method tests if a given value can be converted . * The scenario when this may not be true is for ( weak ) reference properties that target an non - existent resource . * This scenario generally should not be possible , but the following bug introduced the possibility : *...
try { valueConverter . convert ( value ) ; return true ; } catch ( final RepositoryRuntimeException e ) { LOGGER . warn ( "Reference to non-existent resource encounterd: {}" , value ) ; return false ; }
public class MsWordUtils { /** * 添加一张表格 * @ param alignment 对齐方式 * @ param rows 行数 * @ param cols 列数 * @ param values 所有值 , 包括标题 * @ param rowHeight 行高 * @ param colWidth 列宽 * @ param cellMargins 单元格边缘 * @ param styles 样式 */ public static void appendTable ( ParagraphAlignment [ ] alignment , int rows , ...
createXwpfDocumentIfNull ( ) ; xwpfDocument . createParagraph ( ) ; XWPFTable table = xwpfDocument . createTable ( rows , cols ) ; XWPFParagraph paragraph ; XWPFTableRow row ; XWPFTableCell cell ; CTTcPr cellPr ; XWPFRun run ; if ( Checker . isNotEmpty ( cellMargins ) ) { int top = MsUtils . checkInteger ( cellMargins ...
public class Utils { /** * Creates a mutable HashSet instance containing the given elements in unspecified order */ public static < T > Set < T > newSet ( T ... values ) { } }
Set < T > set = new HashSet < > ( values . length ) ; Collections . addAll ( set , values ) ; return set ;
public class GraphDotFileWriter { /** * Writes a given graph ' s internal data structure as a dot file . * @ param file the file of the dot file to write * @ param graph the graph * @ param < T > the type of the graph content * @ throws IOException if there was a problem writing the file */ public static < T > ...
final StringBuilder sb = new StringBuilder ( String . format ( "strict graph {%n" ) ) ; Set < Node < T > > doneNodes = new LinkedHashSet < > ( ) ; for ( Node < T > d : graph . nodes ( ) ) { for ( Node < T > n : d . neighbours ( ) ) if ( ! doneNodes . contains ( n ) ) sb . append ( " " ) . append ( d . content ( ) ) . ...
public class SClassDefinitionAssistantTC { public Set < PDefinition > findMatches ( SClassDefinition classdef , ILexNameToken sought ) { } }
Set < PDefinition > set = af . createPDefinitionListAssistant ( ) . findMatches ( classdef . getDefinitions ( ) , sought ) ; set . addAll ( af . createPDefinitionListAssistant ( ) . findMatches ( classdef . getAllInheritedDefinitions ( ) , sought ) ) ; return set ;
public class CommandArgs { /** * Add a double argument . * @ param n the double argument . * @ return the command args . */ public CommandArgs < K , V > add ( double n ) { } }
singularArguments . add ( DoubleArgument . of ( n ) ) ; return this ;
public class AfplibFactoryImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ public String convertOBPYoaOrentToString ( EDataType eDataType , Object instanceValue ) { } }
return instanceValue == null ? null : instanceValue . toString ( ) ;
public class SearchIndex { /** * Sets the name of the class that implements { @ link SpellChecker } . The * default value is < code > null < / code > ( none set ) . * @ param className * name of the class that implements { @ link SpellChecker } . */ @ SuppressWarnings ( "unchecked" ) public void setSpellCheckerCl...
try { Class < ? > clazz = ClassLoading . forName ( className , this ) ; if ( SpellChecker . class . isAssignableFrom ( clazz ) ) { spellCheckerClass = ( Class < ? extends SpellChecker > ) clazz ; } else { log . warn ( "Invalid value for spellCheckerClass, {} " + "does not implement SpellChecker interface." , className ...
public class XMLConfiguration { protected void initDisplayName ( XmlParser . Node node ) { } }
getWebApplicationContext ( ) . setDisplayName ( node . toString ( false , true ) ) ;
public class CamelVersionHelper { /** * Checks whether other > = base * @ param base the base version * @ param other the other version * @ return < tt > true < / tt > if GE , < tt > false < / tt > otherwise */ public static boolean isGE ( String base , String other ) { } }
ComparableVersion v1 = new ComparableVersion ( base ) ; ComparableVersion v2 = new ComparableVersion ( other ) ; return v2 . compareTo ( v1 ) >= 0 ;
public class UniversalDateAndTimeStampImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ @ Override public void eUnset ( int featureID ) { } }
switch ( featureID ) { case AfplibPackage . UNIVERSAL_DATE_AND_TIME_STAMP__RESERVED : setReserved ( RESERVED_EDEFAULT ) ; return ; case AfplibPackage . UNIVERSAL_DATE_AND_TIME_STAMP__YEAR_AD : setYearAD ( YEAR_AD_EDEFAULT ) ; return ; case AfplibPackage . UNIVERSAL_DATE_AND_TIME_STAMP__MONTH : setMonth ( MONTH_EDEFAULT...
public class DateUtil { /** * 解析时间 , 格式HH : mm : ss , 默认为1970-01-01 * @ param timeString 标准形式的日期字符串 * @ return 日期对象 */ public static DateTime parseTime ( String timeString ) { } }
timeString = normalize ( timeString ) ; return parse ( timeString , DatePattern . NORM_TIME_FORMAT ) ;
public class Main { /** * Scan the arguments to find an option that specifies a number . */ public static int findNumberOption ( String [ ] args , String option ) { } }
int rc = 0 ; for ( int i = 0 ; i < args . length ; ++ i ) { if ( args [ i ] . equals ( option ) ) { if ( args . length > i + 1 ) { rc = Integer . parseInt ( args [ i + 1 ] ) ; } } } return rc ;
public class DefaultTaskController { /** * Launch a new JVM for the task . * This method launches the new JVM for the task by executing the * the JVM command using the { @ link Shell . ShellCommandExecutor } */ void launchTaskJVM ( TaskController . TaskControllerContext context ) throws IOException { } }
JvmEnv env = context . env ; List < String > wrappedCommand = TaskLog . captureOutAndError ( env . setup , env . vargs , env . stdout , env . stderr , env . logSize , true ) ; ShellCommandExecutor shexec = new ShellCommandExecutor ( wrappedCommand . toArray ( new String [ 0 ] ) , env . workDir , env . env ) ; // set th...
public class MatchingEngine { /** * Calculates the total cost or proceeds at market price of the specified bid / ask amount . * @ param orderType Ask or bid . * @ param amount The amount . * @ return The market cost / proceeds * @ throws ExchangeException If there is insufficient liquidity . */ public BigDecima...
BigDecimal remaining = amount ; BigDecimal cost = ZERO ; List < BookLevel > orderbookSide = orderType . equals ( BID ) ? asks : bids ; for ( BookOrder order : FluentIterable . from ( orderbookSide ) . transformAndConcat ( BookLevel :: getOrders ) ) { BigDecimal available = order . getRemainingAmount ( ) ; BigDecimal tr...
public class AmazonRedshiftClient { /** * Reboots a cluster . This action is taken as soon as possible . It results in a momentary outage to the cluster , * during which the cluster status is set to < code > rebooting < / code > . A cluster event is created when the reboot is * completed . Any pending cluster modif...
request = beforeClientExecution ( request ) ; return executeRebootCluster ( request ) ;
public class ResourceGroovyMethods { /** * Helper method to create a buffered writer for a file . If the given * charset is " UTF - 16BE " or " UTF - 16LE " , the requisite byte order mark is * written to the stream before the writer is returned . * @ param file a File * @ param charset the name of the encoding...
if ( append ) { return new EncodingAwareBufferedWriter ( new OutputStreamWriter ( new FileOutputStream ( file , append ) , charset ) ) ; } else { // first write the Byte Order Mark for Unicode encodings FileOutputStream stream = new FileOutputStream ( file ) ; writeUTF16BomIfRequired ( charset , stream ) ; return new E...
public class AWSServiceCatalogClient { /** * Updates the specified product . * @ param updateProductRequest * @ return Result of the UpdateProduct operation returned by the service . * @ throws ResourceNotFoundException * The specified resource was not found . * @ throws InvalidParametersException * One or ...
request = beforeClientExecution ( request ) ; return executeUpdateProduct ( request ) ;
public class PgDatabaseMetaData { /** * Add the user described by the given acl to the Lists of users with the privileges described by * the acl . */ private static void addACLPrivileges ( String acl , Map < String , Map < String , List < String [ ] > > > privileges ) { } }
int equalIndex = acl . lastIndexOf ( "=" ) ; int slashIndex = acl . lastIndexOf ( "/" ) ; if ( equalIndex == - 1 ) { return ; } String user = acl . substring ( 0 , equalIndex ) ; String grantor = null ; if ( user . isEmpty ( ) ) { user = "PUBLIC" ; } String privs ; if ( slashIndex != - 1 ) { privs = acl . substring ( e...
public class AbstractGauge { /** * Sets the color from which the custom user ledcolor will be calculated * @ param COLOR */ public void setCustomUserLedColor ( final Color COLOR ) { } }
model . setCustomUserLedColor ( new CustomLedColor ( COLOR ) ) ; final boolean LED_WAS_ON = currentUserLedImage . equals ( ledImageOn ) ? true : false ; switch ( getOrientation ( ) ) { case HORIZONTAL : recreateUserLedImages ( getHeight ( ) ) ; break ; case VERTICAL : recreateUserLedImages ( getWidth ( ) ) ; break ; de...
public class HelpFormatter { /** * Render the specified text and return the rendered Options * in a StringBuilder . * @ param sb the StringBuilder to place the rendered text into * @ param width the number of characters to display per line * @ param nextLineTabStop the position on the next line for the first ta...
int pos = OptionUtils . findWrapPos ( text , width , 0 ) ; if ( pos == - 1 ) { sb . append ( OptionUtils . rtrim ( text ) ) ; return ; } sb . append ( OptionUtils . rtrim ( text . substring ( 0 , pos ) ) ) . append ( NEW_LINE ) ; if ( nextLineTabStop >= width ) { // stops infinite loop happening nextLineTabStop = 1 ; }...
public class CmsSecurityManager { /** * Inserts an entry in the published resource table . < p > * This is done during static export . < p > * @ param context the current request context * @ param resourceName The name of the resource to be added to the static export * @ param linkType the type of resource expo...
CmsDbContext dbc = m_dbContextFactory . getDbContext ( context ) ; try { m_driverManager . writeStaticExportPublishedResource ( dbc , resourceName , linkType , linkParameter , timestamp ) ; } catch ( Exception e ) { dbc . report ( null , Messages . get ( ) . container ( Messages . ERR_WRITE_STATEXP_PUBLISHED_RESOURCES_...
public class MtasDataCollectorResult { /** * Gets the data . * @ return the data * @ throws IOException Signals that an I / O exception has occurred . */ public final MtasDataItem < T1 , T2 > getData ( ) throws IOException { } }
if ( collectorType . equals ( DataCollector . COLLECTOR_TYPE_DATA ) ) { return item ; } else { throw new IOException ( "type " + collectorType + " not supported" ) ; }
public class NIOFileUtil { /** * Returns all the files in a directory that match the given pattern , and that don ' t * have the given extension . * @ param directory the directory to look for files in , subdirectories are not * considered * @ param syntaxAndPattern the syntax and pattern to use for matching ( ...
PathMatcher matcher = directory . getFileSystem ( ) . getPathMatcher ( syntaxAndPattern ) ; List < Path > parts = Files . walk ( directory ) . filter ( matcher :: matches ) . filter ( path -> excludesExt == null || ! path . toString ( ) . endsWith ( excludesExt ) ) . collect ( Collectors . toList ( ) ) ; Collections . ...
public class MainFrameMenu { /** * enable / disable preferences menu */ public void enablePreferencesMenuItem ( boolean b ) { } }
getPreferencesMenuItem ( ) . setEnabled ( b ) ; if ( MainFrame . MAC_OS_X ) { if ( osxPrefsEnableMethod != null ) { Object args [ ] = { b } ; try { osxPrefsEnableMethod . invoke ( osxAdapter , args ) ; } catch ( Exception e ) { System . err . println ( "Exception while enabling Preferences menu: " + e ) ; } } }
public class Util { /** * Overwrites the contents of the file with a random * string and then deletes the file . * @ param file file to remove */ public static boolean destroy ( File file ) { } }
if ( ! file . exists ( ) ) return false ; RandomAccessFile f = null ; long size = file . length ( ) ; try { f = new RandomAccessFile ( file , "rw" ) ; long rec = size / DMSG . length ( ) ; int left = ( int ) ( size - rec * DMSG . length ( ) ) ; while ( rec != 0 ) { f . write ( DMSG . getBytes ( ) , 0 , DMSG . length ( ...
public class CmsWorkplaceEditorConfiguration { /** * Logs configuration errors and invalidates the current configuration . < p > * @ param message the message specifying the configuration error * @ param t the Throwable object or null */ private void logConfigurationError ( String message , Throwable t ) { } }
setValidConfiguration ( false ) ; if ( LOG . isErrorEnabled ( ) ) { if ( t == null ) { LOG . error ( Messages . get ( ) . getBundle ( ) . key ( Messages . LOG_EDITOR_CONFIG_ERROR_1 , message ) ) ; } else { LOG . error ( Messages . get ( ) . getBundle ( ) . key ( Messages . LOG_EDITOR_CONFIG_ERROR_1 , message ) , t ) ; ...
public class ProcessOutput { /** * @ return output of the finished process converted to a String . * @ param charset The name of a supported char set . */ public String getString ( String charset ) { } }
try { return new String ( getBytes ( ) , charset ) ; } catch ( UnsupportedEncodingException e ) { throw new IllegalStateException ( e . getMessage ( ) ) ; }
public class HtmlSanitizerUtil { /** * Apply sanitization rules to a HTML string . * @ param input the ( potentially ) tainted HTML to sanitize * @ param policy the AntiSamy policy to apply * @ return sanitized HTML */ public static String sanitize ( final String input , final Policy policy ) { } }
if ( policy == null ) { throw new SystemException ( "AntiSamy policy cannot be null" ) ; } if ( Util . empty ( input ) ) { return input ; } try { CleanResults results = ANTISAMY . scan ( input , policy ) ; String result = results . getCleanHTML ( ) ; // Escape brackets for handlebars result = WebUtilities . encodeBrack...
public class BCryptOpenBSDProtocol { /** * Perform the central password hashing step in the * bcrypt scheme * @ param rounds the actual rounds , not the binary logarithm * @ param salt the binary salt to hash with the password * @ param password the password to hash * of rounds of hashing to apply * @ param...
if ( rounds < 0 ) { throw new IllegalArgumentException ( "rounds must not be negative" ) ; } int clen = cdata . length ; if ( salt . length != BCrypt . SALT_LENGTH ) { throw new IllegalArgumentException ( "bad salt length" ) ; } int [ ] P = P_orig . clone ( ) ; int [ ] S = S_orig . clone ( ) ; enhancedKeySchedule ( P ,...
public class DeveloperInfoMarshaller { /** * Marshall the given parameter object . */ public void marshall ( DeveloperInfo developerInfo , ProtocolMarshaller protocolMarshaller ) { } }
if ( developerInfo == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( developerInfo . getDeveloperName ( ) , DEVELOPERNAME_BINDING ) ; protocolMarshaller . marshall ( developerInfo . getPrivacyPolicy ( ) , PRIVACYPOLICY_BINDING ) ; protocolM...
public class UserCoreDao { /** * Query the SQL for a single result object with the expected data type * @ param sql * sql statement * @ param args * arguments * @ param column * column index * @ param dataType * GeoPackage data type * @ return result , null if no result * @ since 3.1.0 */ public Obj...
return db . querySingleResult ( sql , args , column , dataType ) ;
public class GeometryUtil { /** * Checks whether there is intersection of the line ( x1 , y1 ) - ( x2 , y2 ) and the quad curve * ( qx1 , qy1 ) - ( qx2 , qy2 ) - ( qx3 , qy3 ) . The parameters of the intersection area saved to * { @ code params } . Therefore { @ code params } must be of length at least 4. * @ ret...
double [ ] eqn = new double [ 3 ] ; double [ ] t = new double [ 2 ] ; double [ ] s = new double [ 2 ] ; double dy = y2 - y1 ; double dx = x2 - x1 ; int quantity = 0 ; int count = 0 ; eqn [ 0 ] = dy * ( qx1 - x1 ) - dx * ( qy1 - y1 ) ; eqn [ 1 ] = 2 * dy * ( qx2 - qx1 ) - 2 * dx * ( qy2 - qy1 ) ; eqn [ 2 ] = dy * ( qx1 ...
public class filterpolicy_binding { /** * Use this API to fetch filterpolicy _ binding resource of given name . */ public static filterpolicy_binding get ( nitro_service service , String name ) throws Exception { } }
filterpolicy_binding obj = new filterpolicy_binding ( ) ; obj . set_name ( name ) ; filterpolicy_binding response = ( filterpolicy_binding ) obj . get_resource ( service ) ; return response ;
public class AmazonApiGatewayV2Client { /** * Updates an Integration . * @ param updateIntegrationRequest * @ return Result of the UpdateIntegration operation returned by the service . * @ throws NotFoundException * The resource specified in the request was not found . * @ throws TooManyRequestsException * ...
request = beforeClientExecution ( request ) ; return executeUpdateIntegration ( request ) ;
public class BoxCollection { /** * Returns an iterator over the items in this collection . * @ return an iterator over the items in this collection . */ @ Override public Iterator < BoxItem . Info > iterator ( ) { } }
URL url = GET_COLLECTION_ITEMS_URL . build ( this . getAPI ( ) . getBaseURL ( ) , BoxCollection . this . getID ( ) ) ; return new BoxItemIterator ( BoxCollection . this . getAPI ( ) , url ) ;
public class XDMClientChildSbb { /** * ( non - Javadoc ) * @ see * org . restcomm . slee . enabler . xdmc . XDMClientControl # putIfNoneMatch ( java . * net . URI , java . lang . String , java . lang . String , byte [ ] , java . lang . String ) */ public void putIfNoneMatch ( URI uri , String eTag , String mimety...
putIfNoneMatch ( uri , eTag , mimetype , content , assertedUserId , null ) ;