signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class Reflection { /** * Get representations for all of the Java properties on the supplied object . * @ param target the target on which the setter is to be called ; may not be null * @ return the list of all properties ; never null * @ throws NoSuchMethodException if a matching method is not found . * ...
String [ ] propertyNames = findGetterPropertyNames ( ) ; List < Property > results = new ArrayList < Property > ( propertyNames . length ) ; for ( String propertyName : propertyNames ) { if ( "class" . equals ( propertyName ) ) continue ; Property prop = getProperty ( target , propertyName ) ; results . add ( prop ) ; ...
public class TypeQualifierApplications { /** * Get a directly - applied TypeQualifierAnnotation on given AnnotatedObject . * @ param o * an AnnotatedObject * @ param typeQualifierValue * the kind of TypeQualifierValue we are looking for * @ return directly - applied TypeQualifierAnnotation , or null if there ...
TypeQualifierAnnotation result ; Set < TypeQualifierAnnotation > applications = new HashSet < > ( ) ; getDirectApplications ( applications , o , o . getElementType ( ) ) ; result = findMatchingTypeQualifierAnnotation ( applications , typeQualifierValue ) ; return result ;
public class LazyTreeReader { /** * Adjusts all streams so that the next value returned corresponds to the value for currentRow , * suitable for calling from outside * @ param currentRow * @ return * @ throws IOException */ protected boolean seekToRow ( long currentRow ) throws IOException { } }
boolean seeked = false ; // If this holds it means we checked if the row is null , and it was not , // and when we skipRows we don ' t want to skip this row . if ( currentRow != previousPresentRow ) { nextIsNull ( currentRow ) ; } if ( valuePresent ) { if ( currentRow != previousRow + 1 ) { numNonNulls -- ; long rowInS...
public class DatabaseStoreImpl { /** * Obtain the database product name from the database to which the data source connects . * @ param dataSource data source instance . * @ return the database product name . * @ throws Exception if unable to obtain the database product name . */ private String getDatabaseProduct...
String dbProductName = dataSource . getDatabaseProductName ( ) ; if ( dbProductName == null ) { // Query the metadata under a new transaction and commit right away LocalTransactionCurrent localTranCurrent = this . localTranCurrent ; LocalTransactionCoordinator suspendedLTC = localTranCurrent . suspend ( ) ; EmbeddableW...
public class IncludeRegExpPaths { /** * ( non - Javadoc ) * @ see org . jboss . shrinkwrap . api . Filter # include ( java . lang . Object ) */ @ Override public boolean include ( ArchivePath path ) { } }
if ( path . get ( ) . matches ( expression ) ) { return true ; } return false ;
public class Sheet { /** * Gets the rowKey for the current row * @ param context the faces context * @ return a row key value or null if the expression is not set */ @ Override protected Object getRowKeyValue ( final FacesContext context ) { } }
final ValueExpression veRowKey = getValueExpression ( PropertyKeys . rowKey . name ( ) ) ; if ( veRowKey == null ) { throw new RuntimeException ( "RowKey required on sheet!" ) ; } final Object value = veRowKey . getValue ( context . getELContext ( ) ) ; if ( value == null ) { throw new RuntimeException ( "RowKey must r...
public class GeoIntents { /** * Intent that should allow opening a map showing the given address ( if it exists ) * @ param address The address to search * @ return the intent */ public static Intent newNavigationIntent ( String address ) { } }
StringBuilder sb = new StringBuilder ( ) ; sb . append ( "google.navigation:q=" ) ; String addressEncoded = Uri . encode ( address ) ; sb . append ( addressEncoded ) ; return new Intent ( Intent . ACTION_VIEW , Uri . parse ( sb . toString ( ) ) ) ;
public class SecureAction { /** * Returns a system property . Same as calling * System . getProperty ( String ) . * @ param property the property key . * @ return the value of the property or null if it does not exist . */ public String getProperty ( final String property ) { } }
if ( System . getSecurityManager ( ) == null ) return System . getProperty ( property ) ; return AccessController . doPrivileged ( new PrivilegedAction < String > ( ) { @ Override public String run ( ) { return System . getProperty ( property ) ; } } , controlContext ) ;
public class StopLibrary { /** * 正则过滤 * @ param key * @ param regexes */ public static void insertStopRegexes ( String key , String ... regexes ) { } }
StopRecognition fr = get ( key ) ; fr . insertStopRegexes ( regexes ) ;
public class TiledMap { /** * Set the global ID of a tile at specified location in the map * @ param x * The x location of the tile * @ param y * The y location of the tile * @ param layerIndex * The index of the layer to set the new tileid * @ param tileid * The tileid to be set */ public void setTileI...
Layer layer = ( Layer ) layers . get ( layerIndex ) ; layer . setTileID ( x , y , tileid ) ;
public class JDBCCallableStatement { /** * < ! - - start generic documentation - - > * Retrieves the value of the designated JDBC < code > BINARY < / code > or * < code > VARBINARY < / code > parameter as an array of < code > byte < / code > * values in the Java programming language . * < ! - - end generic docu...
Object x = getColumnInType ( parameterIndex , Type . SQL_VARBINARY ) ; if ( x == null ) { return null ; } return ( ( BinaryData ) x ) . getBytes ( ) ;
public class transformglobal_transformpolicy_binding { /** * Use this API to fetch a transformglobal _ transformpolicy _ binding resources . */ public static transformglobal_transformpolicy_binding [ ] get ( nitro_service service ) throws Exception { } }
transformglobal_transformpolicy_binding obj = new transformglobal_transformpolicy_binding ( ) ; transformglobal_transformpolicy_binding response [ ] = ( transformglobal_transformpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ;
public class AbstractVueComponentFactoryGenerator { /** * Create the builder to build our { @ link VueComponentFactory } class . * @ param component The Component we generate for * @ param vueFactoryClassName The type name of our generated { @ link VueComponentFactory } * @ return A Class Builder */ private Build...
return TypeSpec . classBuilder ( vueFactoryClassName ) . addModifiers ( Modifier . PUBLIC , Modifier . FINAL ) . superclass ( ParameterizedTypeName . get ( ClassName . get ( VueComponentFactory . class ) , ClassName . get ( component ) ) ) . addAnnotation ( Singleton . class ) . addJavadoc ( "VueComponentFactory for Co...
public class Value { /** * The FAST path get - POJO as a { @ link Freezable } - final method for speed . * Will ( re ) build the POJO from the _ mem array . Never returns NULL . This * version has more type - checking . * @ return The POJO , probably the cached instance . */ public final < T extends Freezable > T...
T pojo = getFreezable ( ) ; assert fc . isAssignableFrom ( pojo . getClass ( ) ) ; return pojo ;
public class CmsJspNavBuilder { /** * Build a navigation for the folder that is either minus levels up * from the given folder , or that is plus levels down from the * root folder towards the given folder . < p > * If level is set to zero the root folder is used by convention . < p > * @ param folder the select...
folder = CmsResource . getFolderPath ( folder ) ; // If level is one just use root folder if ( level == 0 ) { return getNavigationForFolder ( "/" ) ; } String navfolder = CmsResource . getPathPart ( folder , level ) ; // If navigation folder found use it to build navigation if ( navfolder != null ) { return getNavigati...
public class TypeUtil { /** * as . * @ param t * a { @ link java . lang . Class } object . * @ param obj * a { @ link java . lang . Object } object . * @ param < T > * a T object . * @ return a T object . */ @ SuppressWarnings ( "unchecked" ) public static < T > T as ( Class < T > t , final Object obj ) {...
return ( T ) Proxy . newProxyInstance ( t . getClassLoader ( ) , new Class [ ] { t } , new InvocationHandler ( ) { public Object invoke ( Object proxy , Method method , Object [ ] args ) throws Throwable { try { return obj . getClass ( ) . getMethod ( method . getName ( ) , method . getParameterTypes ( ) ) . invoke ( o...
public class HttpParser { public boolean inContentState ( ) { } }
return _state . ordinal ( ) >= State . CONTENT . ordinal ( ) && _state . ordinal ( ) < State . END . ordinal ( ) ;
public class DRL5Parser { /** * typeDeclaration : = [ TYPE ] qualifiedIdentifier ( EXTENDS qualifiedIdentifier ) ? * annotation * * field * * END * @ return * @ throws RecognitionException */ public TypeDeclarationDescr typeDeclaration ( DeclareDescrBuilder ddb , boolean isTrait ) throws RecognitionException ...
TypeDeclarationDescrBuilder declare = null ; try { declare = helper . start ( ddb , TypeDeclarationDescrBuilder . class , null ) ; declare . setTrait ( isTrait ) ; if ( helper . validateIdentifierKey ( DroolsSoftKeywords . TYPE ) ) { // ' type ' match ( input , DRL5Lexer . ID , DroolsSoftKeywords . TYPE , null , Drools...
public class TransientItemData { /** * { @ inheritDoc } */ public void writeExternal ( ObjectOutput out ) throws IOException { } }
byte [ ] buf = qpath . getAsString ( ) . getBytes ( Constants . DEFAULT_ENCODING ) ; out . writeInt ( buf . length ) ; out . write ( buf ) ; out . writeInt ( identifier . getBytes ( ) . length ) ; out . write ( identifier . getBytes ( ) ) ; if ( parentIdentifier != null ) { out . writeInt ( NOT_NULL_VALUE ) ; out . wri...
public class CredHubInterpolationServiceDataPostProcessor { /** * Convert from the Spring Credhub service data structure to the Spring Cloud * Connectors data structure . * @ param interpolatedData the Spring CredHub data structure * @ return the equivalent Spring Cloud Connectors data structure */ private CloudF...
CloudFoundryRawServiceData rawServicesData = new CloudFoundryRawServiceData ( ) ; rawServicesData . putAll ( interpolatedData ) ; return rawServicesData ;
public class Application { /** * Retrieve the current Myfaces Application Instance , lookup * on the application map . All methods introduced on jsf 1.2 * for Application interface should thrown by default * UnsupportedOperationException , but the ri scan and find the * original Application impl , and redirect ...
FacesContext facesContext = FacesContext . getCurrentInstance ( ) ; if ( facesContext != null ) { ExternalContext externalContext = facesContext . getExternalContext ( ) ; if ( externalContext != null ) { return ( Application ) externalContext . getApplicationMap ( ) . get ( "org.apache.myfaces.application.ApplicationI...
public class AbstractGraphAxes { /** * Draws the y axis , containing og the axis line , the horizontal helping * line and the labels . * @ param g * the Graphics context in which to paint */ private void yAxis ( Graphics g ) { } }
// y - axis g . setColor ( Color . BLACK ) ; g . drawLine ( X_OFFSET_LEFT , calcY ( 0 ) , X_OFFSET_LEFT , Y_OFFSET_TOP ) ; // center horizontal line g . setColor ( new Color ( 220 , 220 , 220 ) ) ; g . drawLine ( X_OFFSET_LEFT , height / 2 + Y_OFFSET_TOP , getWidth ( ) , height / 2 + Y_OFFSET_TOP ) ; g . setColor ( Col...
public class KMeansModel { /** * Override in subclasses to provide some top - level model - specific goodness */ @ Override protected void toJavaPredictBody ( SBPrintStream body , CodeGeneratorPipeline classCtx , CodeGeneratorPipeline fileCtx , final boolean verboseCode ) { } }
// This is model name final String mname = JCodeGen . toJavaId ( _key . toString ( ) ) ; if ( _parms . _standardize ) { fileCtx . add ( new CodeGenerator ( ) { @ Override public void generate ( JCodeSB out ) { JCodeGen . toClassWithArray ( out , null , mname + "_MEANS" , _output . _normSub , "Column means of training d...
public class ObjectFactory { /** * Create an instance of { @ link JAXBElement } { @ code < } { @ link MiType } { @ code > } } */ @ XmlElementDecl ( namespace = "http://www.w3.org/1998/Math/MathML" , name = "mi" ) public JAXBElement < MiType > createMi ( MiType value ) { } }
return new JAXBElement < MiType > ( _Mi_QNAME , MiType . class , null , value ) ;
public class StringUtils { /** * Test if the given { @ code String } starts with the specified prefix character . * @ param str the { @ code String } to check * @ param prefix the prefix character to look for * @ return true if the string starts with the specified prefix ; otherwise false * @ see java . lang . ...
return ( str != null && ! str . isEmpty ( ) && ( str . charAt ( 0 ) == prefix ) ) ;
public class AVIMConversationsQuery { /** * 增加查询条件 , 当conversation的属性中对应的字段对应的值以此字符串起始即可返回 * @ param key * @ param prefix * @ return */ public AVIMConversationsQuery whereStartsWith ( String key , String prefix ) { } }
conditions . whereStartsWith ( key , prefix ) ; return this ;
public class FlowStatusResource { /** * Retrieve the FlowStatus with the given key * @ param key flow status id key containing group name and flow name * @ return { @ link FlowStatus } with flow status for the latest execution of the flow */ @ Override public FlowStatus get ( ComplexResourceKey < FlowStatusId , Emp...
String flowGroup = key . getKey ( ) . getFlowGroup ( ) ; String flowName = key . getKey ( ) . getFlowName ( ) ; long flowExecutionId = key . getKey ( ) . getFlowExecutionId ( ) ; LOG . info ( "Get called with flowGroup " + flowGroup + " flowName " + flowName + " flowExecutionId " + flowExecutionId ) ; org . apache . go...
public class User { /** * Checks if this object ' s password attibute equals * specified argument , else throws . */ public void checkPassword ( String value ) { } }
if ( ! value . equals ( password ) ) { throw Error . error ( ErrorCode . X_28000 ) ; }
public class SimplexNoise { /** * Compute 3D simplex noise for the given input vector < code > ( x , y , z ) < / code > . * The result is in the range < code > [ - 1 . . + 1 ] < / code > . * @ param x * the x coordinate * @ param y * the y coordinate * @ param z * the z coordinate * @ return the noise v...
float n0 , n1 , n2 , n3 ; // Noise contributions from the four corners // Skew the input space to determine which simplex cell we ' re in float s = ( x + y + z ) * F3 ; // Very nice and simple skew factor for 3D int i = fastfloor ( x + s ) ; int j = fastfloor ( y + s ) ; int k = fastfloor ( z + s ) ; float t = ( i + j ...
public class BigDecimal { /** * returns INFLATED if oveflow */ private static long add ( long xs , long ys ) { } }
long sum = xs + ys ; // See " Hacker ' s Delight " section 2-12 for explanation of // the overflow test . if ( ( ( ( sum ^ xs ) & ( sum ^ ys ) ) ) >= 0L ) { // not overflowed return sum ; } return INFLATED ;
public class ModelsImpl { /** * Adds a pattern . any entity extractor to the application . * @ param appId The application ID . * @ param versionId The version ID . * @ param extractorCreateObject A model object containing the name and explicit list for the new Pattern . Any entity extractor . * @ throws Illega...
return createPatternAnyEntityModelWithServiceResponseAsync ( appId , versionId , extractorCreateObject ) . map ( new Func1 < ServiceResponse < UUID > , UUID > ( ) { @ Override public UUID call ( ServiceResponse < UUID > response ) { return response . body ( ) ; } } ) ;
public class CmsSearch { /** * Sets the maximum last modification date a resource must have to be included in the search result . < p > * @ param maxDateLastModified the maximum last modification date to set */ public void setMaxDateLastModified ( String maxDateLastModified ) { } }
m_parameters . setMaxDateLastModified ( CmsStringUtil . getLongValue ( maxDateLastModified , Long . MAX_VALUE , "maxDateLastModified" ) ) ;
public class DocumentClassifierME { /** * Returns a map in which the key is the label name and the value is the score . * @ param text the input text to classify * @ return the score map */ @ Override public Map < String , Double > scoreMap ( String [ ] text ) { } }
Map < String , Double > probDist = new HashMap < > ( ) ; double [ ] categorize = classifyProb ( text ) ; int catSize = getNumberOfLabels ( ) ; for ( int i = 0 ; i < catSize ; i ++ ) { String category = getLabel ( i ) ; probDist . put ( category , categorize [ getIndex ( category ) ] ) ; } return probDist ;
public class ConfigImpl { /** * / * ( non - Javadoc ) * @ see com . ibm . jaggr . service . config . IConfig # getDefaultFeatures ( ) */ @ Override public Features getDefaultFeatures ( String url ) { } }
Features result = new Features ( ) ; for ( Map . Entry < String , Object > entry : defaultFeatureMap . entrySet ( ) ) { // value is either a Boolean or Function Object value = entry . getValue ( ) ; if ( value instanceof Function ) { Context cx = Context . enter ( ) ; try { Scriptable threadScope = cx . newObject ( sha...
public class DeclaredDependencies { /** * ' Presolved ' means a build component ( i . e . mojo ) pre - computed the transient dependencies * and thus we can assume this set is fully and correctly resolved * @ return true if all the dependencies in this instance are pre - solved , false otherwise . */ public boolean...
// Check if the tool has added unsolved dependencies to this instance that need further resolution . boolean unsolvedDependenciesExist = getDirectDeps ( ) . stream ( ) . anyMatch ( d -> ! getTransientDeps ( d ) . isEmpty ( ) ) ; return ! unsolvedDependenciesExist ;
public class TimePickerDialog { /** * Get out of keyboard mode . If there is nothing in typedTimes , revert to TimePicker ' s time . * @ param updateDisplays If true , update the displays with the relevant time . */ private void finishKbMode ( boolean updateDisplays ) { } }
mInKbMode = false ; if ( ! mTypedTimes . isEmpty ( ) ) { int values [ ] = getEnteredTime ( null ) ; mTimePicker . setTime ( values [ 0 ] , values [ 1 ] ) ; if ( ! mIs24HourMode ) { mTimePicker . setAmOrPm ( values [ 2 ] ) ; } mTypedTimes . clear ( ) ; } if ( updateDisplays ) { updateDisplay ( false ) ; mTimePicker . tr...
public class RestEventManager { /** * { @ inheritDoc } */ @ Override public void addEvent ( Event event ) { } }
// make request target . path ( "api" ) . path ( "v1.0" ) . path ( "events" ) . request ( ) . header ( clientApplicationIdName , clientApplicationIdValue ) . post ( Entity . entity ( event , MediaType . APPLICATION_JSON ) , Event . class ) ;
public class AWSServiceCatalogClient { /** * Gets information about the specified portfolio . * @ param describePortfolioRequest * @ return Result of the DescribePortfolio operation returned by the service . * @ throws ResourceNotFoundException * The specified resource was not found . * @ sample AWSServiceCat...
request = beforeClientExecution ( request ) ; return executeDescribePortfolio ( request ) ;
public class MacPool { /** * Acquires reusable { @ link Mac } , has to be also released ! * @ param algorithm * { @ link Mac # getAlgorithm ( ) } * @ return shared { @ link Mac } * @ see # release ( Mac ) */ public Mac acquire ( String algorithm ) { } }
Mac result = null ; Queue < Mac > pool = this . macPoolByAlgorithm . get ( algorithm ) ; if ( pool != null ) { result = pool . poll ( ) ; } if ( result != null ) { // it has to be synchronized , for the case that some memory parts of Mac provider are changed , // but not yet visible for this thread synchronized ( resul...
public class RocksStatesPerKeyGroupMergeIterator { /** * Advances the iterator . Should only be called if { @ link # isValid ( ) } returned true . * Valid flag can only change after calling { @ link # next ( ) } . */ public void next ( ) { } }
newKeyGroup = false ; newKVState = false ; final RocksIteratorWrapper rocksIterator = currentSubIterator . getIterator ( ) ; rocksIterator . next ( ) ; byte [ ] oldKey = currentSubIterator . getCurrentKey ( ) ; if ( rocksIterator . isValid ( ) ) { currentSubIterator . setCurrentKey ( rocksIterator . key ( ) ) ; if ( is...
public class BinaryTreeAddressableHeap { /** * { @ inheritDoc } */ @ Override @ LogarithmicTime public AddressableHeap . Handle < K , V > deleteMin ( ) { } }
if ( size == 0 ) { throw new NoSuchElementException ( ) ; } Node oldRoot = root ; // easy special cases if ( size == 1 ) { root = null ; size = 0 ; return oldRoot ; } else if ( size == 2 ) { root = root . o_c ; root . o_c = null ; root . y_s = null ; size = 1 ; oldRoot . o_c = null ; return oldRoot ; } // remove last n...
public class ResponseRepository { /** * Retrive all { @ link Response } s from the DB matching criteria * @ return { @ link Collection } of { @ link Response } s from the DB */ @ Transactional ( readOnly = true ) public Collection < Response > find ( SearchCriteria searchCriteria ) { } }
CriteriaBuilder criteriaBuilder = em . getCriteriaBuilder ( ) ; CriteriaQuery < Response > criteriaQuery = criteriaBuilder . createQuery ( Response . class ) ; Root < Response > root = criteriaQuery . from ( Response . class ) ; Collection < Predicate > conditions = new ArrayList < > ( ) ; if ( searchCriteria . getUser...
public class Controller { /** * Creates a URL - ready String of the current parameters . * This includes the starting ' ? ' and ' & amp ; ' as delimiter . * Example : * Parameters : key1 = [ param1 , param12 ] , key2 = [ param2] * This translates into : * ? key1 = param1 & amp ; key1 = param12 & amp ; key2 = ...
StringBuilder bob = new StringBuilder ( ) ; bob . append ( '?' ) ; MultiList < String > params = params ( ) ; for ( String key : params . keySet ( ) ) { for ( String value : params . list ( key ) ) { bob . append ( key ) ; bob . append ( '=' ) ; bob . append ( value ) ; bob . append ( '&' ) ; } } bob . deleteCharAt ( b...
public class AbstractFaxClientSpi { /** * This function creates a new fax job instance to be used * by the caller to submit a new fax job and so on . * @ return The fax job instance */ public FaxJob createFaxJob ( ) { } }
// create new fax job FaxJob faxJob = this . createFaxJobImpl ( ) ; // fire event this . fireFaxEvent ( FaxClientActionEventID . CREATE_FAX_JOB , faxJob ) ; return faxJob ;
public class AbstractAmazonSQSAsync { /** * Simplified method form for invoking the UntagQueue operation with an AsyncHandler . * @ see # untagQueueAsync ( UntagQueueRequest , com . amazonaws . handlers . AsyncHandler ) */ @ Override public java . util . concurrent . Future < UntagQueueResult > untagQueueAsync ( Stri...
return untagQueueAsync ( new UntagQueueRequest ( ) . withQueueUrl ( queueUrl ) . withTagKeys ( tagKeys ) , asyncHandler ) ;
public class MCMPWebManager { /** * / * based on domain _ command _ string */ void domainCommandString ( StringBuilder buf , String uri , MCMPAction status , String lbgroup ) { } }
switch ( status ) { case ENABLE : buf . append ( "<a href=\"" + uri + "?" + getNonce ( ) + "&Cmd=ENABLE-APP&Range=DOMAIN&Domain=" + lbgroup + "\">Enable Nodes</a> " ) ; break ; case DISABLE : buf . append ( "<a href=\"" + uri + "?" + getNonce ( ) + "&Cmd=DISABLE-APP&Range=DOMAIN&Domain=" + lbgroup + "\">Disable Nodes</...
public class ConstantNaryTreeNode { /** * Set the child at the given index in this node . * @ param index is the index of the new child between < code > 0 < / code > * and < code > getChildCount ( ) < / code > ( inclusive ) . * @ param newChild is the child to insert . */ @ Override public boolean setChildAt ( in...
final N oldChild = ( index < this . children . length ) ? this . children [ index ] : null ; if ( oldChild == newChild ) { return false ; } if ( oldChild != null ) { oldChild . setParentNodeReference ( null , true ) ; -- this . notNullChildCount ; firePropertyChildRemoved ( index , oldChild ) ; } if ( newChild != null ...
public class DescribeReservedCacheNodesOfferingsResult { /** * A list of reserved cache node offerings . Each element in the list contains detailed information about one * offering . * @ param reservedCacheNodesOfferings * A list of reserved cache node offerings . Each element in the list contains detailed inform...
if ( reservedCacheNodesOfferings == null ) { this . reservedCacheNodesOfferings = null ; return ; } this . reservedCacheNodesOfferings = new com . amazonaws . internal . SdkInternalList < ReservedCacheNodesOffering > ( reservedCacheNodesOfferings ) ;
public class ConcurrentLinkedHashMap { /** * Performs the post - processing work required after a write . * @ param task the pending operation to be applied */ void afterWrite ( Runnable task ) { } }
writeBuffer . add ( task ) ; drainStatus . lazySet ( REQUIRED ) ; tryToDrainBuffers ( ) ; notifyListener ( ) ;
public class UserTransactionImpl { /** * { @ inheritDoc } */ public void setRollbackOnly ( ) throws IllegalStateException , SystemException { } }
Transaction tx = registry . getTransaction ( ) ; if ( tx == null ) throw new IllegalStateException ( ) ; tx . setRollbackOnly ( ) ;
public class ParticleGame { /** * Set the particle system to be displayed * @ param system * The system to be displayed */ public void setSystem ( ParticleSystem system ) { } }
this . system = system ; emitters . clear ( ) ; system . setRemoveCompletedEmitters ( false ) ; for ( int i = 0 ; i < system . getEmitterCount ( ) ; i ++ ) { emitters . add ( system . getEmitter ( i ) ) ; }
public class UpdateResourcePermissionHandler { /** * UpdateResourcePermissions Method . */ public void updateResourcePermissions ( ) { } }
UserPermission recUserPermission = new UserPermission ( this . getOwner ( ) . findRecordOwner ( ) ) ; recUserPermission . addListener ( new SubFileFilter ( this . getOwner ( ) ) ) ; try { while ( recUserPermission . hasNext ( ) ) { recUserPermission . next ( ) ; recUserPermission . edit ( ) ; recUserPermission . getFie...
public class sslcertkey_crldistribution_binding { /** * Use this API to fetch sslcertkey _ crldistribution _ binding resources of given name . */ public static sslcertkey_crldistribution_binding [ ] get ( nitro_service service , String certkey ) throws Exception { } }
sslcertkey_crldistribution_binding obj = new sslcertkey_crldistribution_binding ( ) ; obj . set_certkey ( certkey ) ; sslcertkey_crldistribution_binding response [ ] = ( sslcertkey_crldistribution_binding [ ] ) obj . get_resources ( service ) ; return response ;
public class TransmissionDataIterator { /** * Returns the priority for data transmissions in this iterator */ protected int getPriority ( ) { } }
if ( tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "getPriority" ) ; if ( tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "getPriority" , "" + priority ) ; return priority ;
public class VTimeZone { /** * Write start times defined by a DOM rule using VTIMEZONE RRULE */ private static void writeZonePropsByDOM ( Writer writer , boolean isDst , String tzname , int fromOffset , int toOffset , int month , int dayOfMonth , long startTime , long untilTime ) throws IOException { } }
beginZoneProps ( writer , isDst , tzname , fromOffset , toOffset , startTime ) ; beginRRULE ( writer , month ) ; writer . write ( ICAL_BYMONTHDAY ) ; writer . write ( EQUALS_SIGN ) ; writer . write ( Integer . toString ( dayOfMonth ) ) ; if ( untilTime != MAX_TIME ) { appendUNTIL ( writer , getDateTimeString ( untilTim...
public class MockBundleContext { /** * Remove a listener object * @ param listener the listener callback object to remove */ @ Override public void removeServiceListener ( ServiceListener listener ) { } }
// Note : if unfiltered service listeners are implemented // This method needs to look for , and remove , the listener there // as well // Go through all of the filters , and for each filter // remove the listener from the filter ' s list . for ( Entry < String , List < ServiceListener > > filteredList : filteredServic...
public class JsonRpcClient { /** * Invokes the given method on the remote service passing * the given argument . To read the response * { @ link # readResponse ( Type , InputStream ) } must be subsequently * called . * @ param methodName the method to invoke * @ param argument the argument to pass to the meth...
writeRequest ( methodName , argument , output , id ) ; output . flush ( ) ;
public class AmazonEC2Client { /** * Changes the route table associated with a given subnet in a VPC . After the operation completes , the subnet uses * the routes in the new route table it ' s associated with . For more information about route tables , see < a * href = " https : / / docs . aws . amazon . com / Ama...
request = beforeClientExecution ( request ) ; return executeReplaceRouteTableAssociation ( request ) ;
public class NodeImpl { /** * { @ inheritDoc } */ public void addMixin ( String mixinName ) throws NoSuchNodeTypeException , ConstraintViolationException , VersionException , LockException , RepositoryException { } }
checkValid ( ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Node.addMixin " + mixinName + " " + getPath ( ) ) ; } InternalQName name = locationFactory . parseJCRName ( mixinName ) . getInternalName ( ) ; // Does the node already has the mixin for ( InternalQName mixin : nodeData ( ) . getMixinTypeNames ( ) ) { if...
public class SarlEnumerationBuilderImpl { /** * Create a SarlEnumLiteral . * @ param name the name of the SarlEnumLiteral . * @ return the builder . */ public ISarlEnumLiteralBuilder addSarlEnumLiteral ( String name ) { } }
ISarlEnumLiteralBuilder builder = this . iSarlEnumLiteralBuilderProvider . get ( ) ; builder . eInit ( getSarlEnumeration ( ) , name , getTypeResolutionContext ( ) ) ; return builder ;
public class Op { /** * Creates an < i > operation expression < / i > on the specified target object . * @ param target the target object on which the expression will execute * @ return an operator , ready for chaining */ public static < T > Level0ArrayOperator < Byte [ ] , Byte > on ( final byte [ ] target ) { } }
return onArrayOf ( Types . BYTE , ArrayUtils . toObject ( target ) ) ;
public class Bzip2HuffmanAllocator { /** * A final allocation pass that relocates nodes in order to achieve a maximum code length limit . * @ param array The code length array * @ param nodesToMove The number of internal nodes to be relocated * @ param insertDepth The depth at which to insert relocated nodes */ p...
int firstNode = array . length - 2 ; int nextNode = array . length - 1 ; int currentDepth = insertDepth == 1 ? 2 : 1 ; int nodesLeftToMove = insertDepth == 1 ? nodesToMove - 2 : nodesToMove ; for ( int availableNodes = currentDepth << 1 ; availableNodes > 0 ; currentDepth ++ ) { final int lastNode = firstNode ; firstNo...
public class NanoHTTPD { /** * Serves file from homeDir and its ' subdirectories ( only ) . * Uses only URI , ignores all headers and HTTP parameters . * @ param uriIn Which file to serve * @ param header HTTP headers , currently ignored * @ param homeDir The base - dir from where to server the file * @ param...
// Make sure we won ' t die of an exception later if ( ! homeDir . isDirectory ( ) ) { return new Response ( HTTP_INTERNALERROR , MIME_PLAINTEXT , "INTERNAL ERRROR: serveFile(): given homeDir is not a directory." ) ; } // Remove URL arguments String uri = uriIn . trim ( ) . replace ( File . separatorChar , '/' ) ; if (...
public class FixedWidthReader { /** * Returns a string representation of the column types in file { @ code fixed widthFilename } , * as determined by the type - detection algorithm * This method is intended to help analysts quickly fix any erroneous types , by printing out the types in a format * such that they c...
Table structure = read ( options , true ) . structure ( ) ; return getTypeString ( structure ) ;
public class MannTriangulator { /** * Triangulate the points given * @ param result The array to fill with the result or use to determine type * @ return The resultng triangles */ private Vector2f [ ] triangulate ( Vector2f [ ] result ) { } }
// Step 1 : Compute all angles contour . computeAngles ( ) ; for ( PointBag hole = holes ; hole != null ; hole = hole . next ) { hole . computeAngles ( ) ; } // Step 2 : Connect the holes with the contour ( build bridges ) while ( holes != null ) { Point pHole = holes . first ; outer : do { if ( pHole . angle <= 0 ) { ...
public class HttpSessionContextImpl { /** * custom property */ private boolean checkSessionIdIsRightLength ( String sessionIdOnly ) { } }
boolean correctLength = true ; boolean forceSessionIdLengthCheck = _smc . getForceSessionIdLengthCheck ( ) ; if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && LoggingUtil . SESSION_LOGGER_CORE . isLoggable ( Level . FINE ) ) { LoggingUtil . SESSION_LOGGER_CORE . entering ( methodClassName , metho...
public class SingleFieldBuilder { /** * Merges the field from another field . * @ param value the value to merge from * @ return the builder */ public SingleFieldBuilder < MType , BType , IType > mergeFrom ( MType value ) { } }
if ( builder == null && message == message . getDefaultInstanceForType ( ) ) { message = value ; } else { getBuilder ( ) . mergeFrom ( value ) ; } onChanged ( ) ; return this ;
public class AbstractParser { /** * Get an Attribute from the given node and throwing an exception in the case it is required but * not present * @ param node * @ param name * @ param required * @ return */ protected static String getAttribute ( Node node , String name , boolean required ) { } }
NamedNodeMap attributes = node . getAttributes ( ) ; Node idNode = attributes . getNamedItem ( name ) ; if ( idNode == null ) { if ( required ) { throw new IllegalArgumentException ( toPath ( node ) + " has no " + name + " attribute" ) ; } else { return "" ; } } else { String value = idNode . getNodeValue ( ) ; if ( va...
public class StopChannelResult { /** * List of input attachments for channel . * @ param inputAttachments * List of input attachments for channel . */ public void setInputAttachments ( java . util . Collection < InputAttachment > inputAttachments ) { } }
if ( inputAttachments == null ) { this . inputAttachments = null ; return ; } this . inputAttachments = new java . util . ArrayList < InputAttachment > ( inputAttachments ) ;
public class CmsFrameDialog { /** * Shows an iFrame dialog popup . < p > * @ param title the dialog title * @ param dialogUri the dialog URI * @ param parameters the dialog post parameters * @ param closeHandler the dialog close handler * @ return the opened popup */ public static CmsPopup showFrameDialog ( S...
CmsPopup popup = new CmsPopup ( title ) ; popup . removePadding ( ) ; popup . addStyleName ( I_CmsLayoutBundle . INSTANCE . contentEditorCss ( ) . contentEditor ( ) ) ; popup . setGlassEnabled ( true ) ; CmsIFrame editorFrame = new CmsIFrame ( IFRAME_NAME , "" ) ; popup . add ( editorFrame ) ; final FormElement formEle...
public class TenantsInner { /** * Gets the tenants for your account . * @ throws IllegalArgumentException thrown if parameters fail the validation * @ return the observable to the PagedList & lt ; TenantIdDescriptionInner & gt ; object */ public Observable < Page < TenantIdDescriptionInner > > listAsync ( ) { } }
return listWithServiceResponseAsync ( ) . map ( new Func1 < ServiceResponse < Page < TenantIdDescriptionInner > > , Page < TenantIdDescriptionInner > > ( ) { @ Override public Page < TenantIdDescriptionInner > call ( ServiceResponse < Page < TenantIdDescriptionInner > > response ) { return response . body ( ) ; } } ) ;
public class FileUtil { /** * 通过JDK7 + 的 { @ link Files # copy ( Path , Path , CopyOption . . . ) } 方法拷贝文件 * @ param src 源文件 * @ param dest 目标文件或目录 , 如果为目录使用与源文件相同的文件名 * @ param options { @ link StandardCopyOption } * @ return 目标文件 * @ throws IORuntimeException IO异常 */ public static File copyFile ( File src ,...
// check Assert . notNull ( src , "Source File is null !" ) ; if ( false == src . exists ( ) ) { throw new IORuntimeException ( "File not exist: " + src ) ; } Assert . notNull ( dest , "Destination File or directiory is null !" ) ; if ( equals ( src , dest ) ) { throw new IORuntimeException ( "Files '{}' and '{}' are e...
public class DolphinServlet { /** * Decodes the given input . * @ param codec - the { @ code Codec } used to decode { @ code input } * @ param input - the incoming encoded commands * @ return a collection of decoded commands */ protected List < Command > decodeInput ( Codec codec , String input ) { } }
return codec . decode ( input ) ;
public class Optimizer { /** * Adjacent any matches can be consolidated , e . g . , ( { @ code " . * . * " = > " . * " } ) . */ static Matcher removeSequentialMatchAny ( Matcher matcher ) { } }
if ( matcher instanceof ZeroOrMoreMatcher ) { ZeroOrMoreMatcher zm1 = matcher . as ( ) ; if ( zm1 . repeated ( ) instanceof AnyMatcher && zm1 . next ( ) instanceof ZeroOrMoreMatcher ) { ZeroOrMoreMatcher zm2 = zm1 . next ( ) . as ( ) ; if ( zm2 . repeated ( ) instanceof AnyMatcher ) { return zm2 ; } } } return matcher ...
public class NeedlessInstanceRetrieval { /** * overrides the interface to find accesses of static variables off of an instance immediately fetched from a method call . * @ param seen * the opcode of the currently visited instruction */ @ Override public void sawOpcode ( int seen ) { } }
switch ( state ) { case SEEN_NOTHING : if ( ( seen == Const . INVOKEINTERFACE ) || ( seen == Const . INVOKEVIRTUAL ) ) { String sig = getSigConstantOperand ( ) ; String returnSig = SignatureUtils . getReturnSignature ( sig ) ; if ( returnSig . startsWith ( Values . SIG_QUALIFIED_CLASS_PREFIX ) ) { String clsName = getC...
public class GetRelationalDatabaseSnapshotsRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( GetRelationalDatabaseSnapshotsRequest getRelationalDatabaseSnapshotsRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( getRelationalDatabaseSnapshotsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getRelationalDatabaseSnapshotsRequest . getPageToken ( ) , PAGETOKEN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable t...
public class SpaceRest { /** * see SpaceResource . deleteSpace ( String , String ) ; * @ return 200 response indicating space deleted successfully */ @ Path ( "/{spaceID}" ) @ DELETE public Response deleteSpace ( @ PathParam ( "spaceID" ) String spaceID , @ QueryParam ( "storeID" ) String storeID ) { } }
String msg = "deleting space(" + spaceID + ", " + storeID + ")" ; try { log . debug ( msg ) ; return doDeleteSpace ( spaceID , storeID ) ; } catch ( ResourceNotFoundException e ) { return responseNotFound ( msg , e , NOT_FOUND ) ; } catch ( ResourceException e ) { return responseBad ( msg , e , INTERNAL_SERVER_ERROR ) ...
public class JTMConfigurationProvider { /** * Determine whether the server is configured to store Tran Logs in an RDBMS , */ private void checkDataSourceRef ( ) { } }
Object configuredDSR = _props . get ( "dataSourceRef" ) ; if ( configuredDSR == null ) { if ( tc . isDebugEnabled ( ) ) Tr . debug ( tc , "dataSourceRef is not specified, log to filesys" ) ; _isSQLRecoveryLog = false ; } else { if ( tc . isDebugEnabled ( ) ) Tr . debug ( tc , "dataSourceRef is specified, log to RDBMS" ...
public class NavigationCase { /** * < p class = " changed _ added _ 2_0 " > Evaluates the < code > & lt ; to - view - id & gt ; < / code > * for this < code > & lt ; navigation - case & gt ; < / code > < / p > * @ param context the { @ link FacesContext } for the current request * @ return the view ID that should...
if ( toViewIdExpr == null ) { ExpressionFactory factory = context . getApplication ( ) . getExpressionFactory ( ) ; toViewIdExpr = factory . createValueExpression ( context . getELContext ( ) , toViewId , String . class ) ; } String result = ( String ) toViewIdExpr . getValue ( context . getELContext ( ) ) ; if ( resul...
public class CompressionUtils { /** * Zips the contents of the input directory to the output stream . Sub directories are skipped * @ param directory The directory whose contents should be added to the zip in the output stream . * @ param out The output stream to write the zip data to . Caller is responsible for cl...
if ( ! directory . isDirectory ( ) ) { throw new IOE ( "directory[%s] is not a directory" , directory ) ; } final ZipOutputStream zipOut = new ZipOutputStream ( out ) ; long totalSize = 0 ; for ( File file : directory . listFiles ( ) ) { log . info ( "Adding file[%s] with size[%,d]. Total size so far[%,d]" , file , fi...
public class vpnglobal_sharefileserver_binding { /** * Use this API to fetch a vpnglobal _ sharefileserver _ binding resources . */ public static vpnglobal_sharefileserver_binding [ ] get ( nitro_service service ) throws Exception { } }
vpnglobal_sharefileserver_binding obj = new vpnglobal_sharefileserver_binding ( ) ; vpnglobal_sharefileserver_binding response [ ] = ( vpnglobal_sharefileserver_binding [ ] ) obj . get_resources ( service ) ; return response ;
public class WebSocketDelegateImpl { /** * - - - - - Idle Timer Start / Stop / Handler - - - - - / / */ private void startIdleTimer ( long delayInMilliseconds ) { } }
LOG . fine ( "Starting idle timer" ) ; if ( this . idleTimer != null ) { idleTimer . cancel ( ) ; idleTimer = null ; } idleTimer = new Timer ( "IdleTimer" , true ) ; idleTimer . schedule ( new TimerTask ( ) { @ Override public void run ( ) { idleTimerHandler ( ) ; } } , delayInMilliseconds ) ;
public class JBossModuleClassLoader { /** * Manually add the compiled classes to this classloader . * This method will not redefine the class , so that the class ' s * classloader will continue to be compiler ' s classloader . */ public void addClasses ( Set < Class < ? > > classes ) { } }
for ( Class < ? > classToAdd : classes ) { localClassCache . put ( classToAdd . getName ( ) , classToAdd ) ; }
public class AgentPoolsInner { /** * Gets a list of agent pools in the specified managed cluster . * Gets a list of agent pools in the specified managed cluster . The operation returns properties of each agent pool . * @ param resourceGroupName The name of the resource group . * @ param managedClusterName The nam...
ServiceResponse < Page < AgentPoolInner > > response = listSinglePageAsync ( resourceGroupName , managedClusterName ) . toBlocking ( ) . single ( ) ; return new PagedList < AgentPoolInner > ( response . body ( ) ) { @ Override public Page < AgentPoolInner > nextPage ( String nextPageLink ) { return listNextSinglePageAs...
public class AbcGrammar { /** * tex : : = " \ " * ( VCHAR / WSP ) eol * < p > deprecated - kept only for backward compatibility with abc2mtex */ Rule Tex ( ) { } }
return Sequence ( '\\' , ZeroOrMore ( FirstOf ( VCHAR ( ) , WSP ( ) ) ) , Eol ( ) ) . label ( Tex ) ;
public class AppServiceEnvironmentsInner { /** * Get usage metrics for a multi - role pool of an App Service Environment . * Get usage metrics for a multi - role pool of an App Service Environment . * @ param nextPageLink The NextLink from the previous successful call to List operation . * @ throws IllegalArgumen...
return listMultiRoleUsagesNextSinglePageAsync ( nextPageLink ) . concatMap ( new Func1 < ServiceResponse < Page < UsageInner > > , Observable < ServiceResponse < Page < UsageInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < UsageInner > > > call ( ServiceResponse < Page < UsageInner > > page )...
public class POEditorClient { /** * syncs your project with the array you send ( terms that are not found in the JSON object will be deleted from * project and the new ones added ) . * @ param projectId id of the project * @ param terms list of terms * @ return TermsDetails */ public TermsDetails syncTerms ( St...
String jsonTerms = new Gson ( ) . toJson ( terms ) ; EditTermsResponse response = service . syncTerms ( Action . SYNC_TERMS , apiKey , projectId , jsonTerms ) ; ApiUtils . checkResponse ( response . response ) ; return response . details ;
public class ClassLoaderUtil { /** * Tries to load the given class . * @ param className Name of the class to load * @ return Loaded class * @ throws ClassNotFoundException when the class is not found */ public static Class < ? > tryLoadClass ( String className ) throws ClassNotFoundException { } }
try { return Class . forName ( className ) ; } catch ( ClassNotFoundException e ) { ClassLoader contextClassLoader = Thread . currentThread ( ) . getContextClassLoader ( ) ; return contextClassLoader . loadClass ( className ) ; }
public class DecoratedUserContext { /** * Redecorates an updated UserContext ( as would be returned by * updateUserContext ( ) ) , invoking the redecorate ( ) function of the given * AuthenticationProvider to apply an additional layer of decoration . If the * AuthenticationProvider originated the given UserContex...
AuthenticationProvider authProvider = decorated . getDecoratingAuthenticationProvider ( ) ; // Skip the AuthenticationProvider which produced the UserContext // being decorated if ( authProvider != userContext . getAuthenticationProvider ( ) ) { // Apply next layer of wrapping around UserContext UserContext redecorated...
public class Client { /** * Generate object metadata . * @ param streamProvider Object stream provider . * @ return Return object metadata . * @ throws IOException On some errors . */ public static Meta generateMeta ( @ NotNull final StreamProvider streamProvider ) throws IOException { } }
final MessageDigest digest = sha256 ( ) ; final byte [ ] buffer = new byte [ 0x10000 ] ; long size = 0 ; try ( InputStream stream = streamProvider . getStream ( ) ) { while ( true ) { int read = stream . read ( buffer ) ; if ( read <= 0 ) break ; digest . update ( buffer , 0 , read ) ; size += read ; } } return new Met...
public class SymmetricEncryptHelper { /** * 16进制显示数据 * @ param value * 字节数组 */ public static String toHexString ( byte [ ] value ) { } }
String newString = "" ; for ( int i = 0 ; i < value . length ; i ++ ) { byte b = value [ i ] ; String str = Integer . toHexString ( b ) ; if ( str . length ( ) > 2 ) { str = str . substring ( str . length ( ) - 2 ) ; } if ( str . length ( ) < 2 ) { str = "0" + str ; } newString += str ; } return newString . toUpperCase...
public class AbstractObjectMapper { /** * { @ inheritDoc } */ @ Override public T read ( String in ) throws JsonDeserializationException { } }
return read ( in , JsonDeserializationContext . builder ( ) . build ( ) ) ;
public class ExtendedPathView { /** * { @ inheritDoc } */ public DependencyTreeNode getNode ( int position ) { } }
if ( position < length - 1 ) return original . getNode ( position ) ; // Check that the request isn ' t for an invalid index else if ( position > length ) throw new IllegalArgumentException ( "invalid node: " + position ) ; else return last ( ) ;
public class TypeDecisor { /** * Test if a field is Integer . * @ param field the field . * @ return true if field is Integer . False in other case . */ public static < T > boolean isInteger ( Class < T > field ) { } }
// to compatibility to scala return Integer . class . getSimpleName ( ) . equalsIgnoreCase ( field . getSimpleName ( ) ) ;
public class PortFinder { /** * https : / / stackoverflow . com / questions / 434718 / sockets - discover - port - availability - using - java */ public static boolean isTcpPortAvailable ( String hostname , int port ) { } }
try ( ServerSocket serverSocket = new ServerSocket ( ) ) { // setReuseAddress ( false ) is required only on OSX , // otherwise the code will not work correctly on that platform serverSocket . setReuseAddress ( false ) ; serverSocket . bind ( new InetSocketAddress ( InetAddress . getByName ( hostname ) , port ) , 1 ) ; ...
public class ExpansionServiceImpl { /** * { @ inheritDoc } */ @ Override public void expandTerms ( final Document doc , final ProtoNetwork pn ) { } }
final ProtoNetworkBuilder pnb = new ProtoNetworkBuilder ( doc ) ; final StatementTable st = pn . getStatementTable ( ) ; final List < TableStatement > stmts = st . getStatements ( ) ; final Map < Integer , Statement > si = st . getIndexedStatements ( ) ; final List < Statement > expansions = new ArrayList < Statement >...
public class UCharacter { /** * Determines if the specified code point is a letter . * Up - to - date Unicode implementation of java . lang . Character . isLetter ( ) * @ param ch code point to determine if it is a letter * @ return true if code point is a letter */ public static boolean isLetter ( int ch ) { } }
// if props = = 0 , it will just fall through and return false return ( ( 1 << getType ( ch ) ) & ( ( 1 << UCharacterCategory . UPPERCASE_LETTER ) | ( 1 << UCharacterCategory . LOWERCASE_LETTER ) | ( 1 << UCharacterCategory . TITLECASE_LETTER ) | ( 1 << UCharacterCategory . MODIFIER_LETTER ) | ( 1 << UCharacterCategory...
public class SObject { /** * Deprecated * @ see # of ( String , File ) */ @ Deprecated public static SObject valueOf ( String key , File f ) { } }
return of ( key , f ) ;
public class DSClientUtilities { /** * assign value to provided entity instance else return value of mapped java * type . * @ param row * DS row * @ param entity * JPA entity * @ param metadata * entity ' s metadata * @ param dataType * data type * @ param entityType * entity type from metamodel ...
String fieldName = null ; // if metadata is null or it is relational attribute do not set // fieldName and member . if ( metadata != null ) { if ( columnName . equals ( ( ( AbstractAttribute ) metadata . getIdAttribute ( ) ) . getJPAColumnName ( ) ) ) { entity = KunderaCoreUtils . initialize ( metadata , entity , null ...
public class IndustryApi { /** * Observed corporation mining Paginated record of all mining seen by an * observer - - - This route is cached for up to 3600 seconds - - - Requires one * of the following EVE corporation role ( s ) : Accountant SSO Scope : * esi - industry . read _ corporation _ mining . v1 * @ pa...
com . squareup . okhttp . Call call = getCorporationCorporationIdMiningObserversObserverIdValidateBeforeCall ( corporationId , observerId , datasource , ifNoneMatch , page , token , null ) ; Type localVarReturnType = new TypeToken < List < CorporationMiningObserverResponse > > ( ) { } . getType ( ) ; return apiClient ....