signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class Model { /** * Registers date format for specified attributes . This format will be used to convert between
* Date - > String - > java . sql . Date when using the appropriate getters and setters .
* < p > See example in { @ link # dateFormat ( String , String . . . ) } .
* @ param format format to use... | ModelDelegate . dateFormat ( modelClass ( ) , format , attributeNames ) ; |
public class BlockLocation { /** * < code > optional string tierAlias = 3 ; < / code > */
public java . lang . String getTierAlias ( ) { } } | java . lang . Object ref = tierAlias_ ; if ( ref instanceof java . lang . String ) { return ( java . lang . String ) ref ; } else { com . google . protobuf . ByteString bs = ( com . google . protobuf . ByteString ) ref ; java . lang . String s = bs . toStringUtf8 ( ) ; if ( bs . isValidUtf8 ( ) ) { tierAlias_ = s ; } r... |
public class LinkedList { /** * Removes the first occurrence of the specified element from this list ,
* if it is present . If this list does not contain the element , it is
* unchanged . More formally , removes the element with the lowest index
* { @ code i } such that
* < tt > ( o = = null & nbsp ; ? & nbsp ;... | if ( o == null ) { for ( Node < E > x = first ; x != null ; x = x . next ) { if ( x . item == null ) { unlink ( x ) ; return true ; } } } else { for ( Node < E > x = first ; x != null ; x = x . next ) { if ( o . equals ( x . item ) ) { unlink ( x ) ; return true ; } } } return false ; |
public class InternalXtextParser { /** * InternalXtext . g : 1204:1 : ruleTerminalTokenElement : ( ( rule _ _ TerminalTokenElement _ _ Alternatives ) ) ; */
public final void ruleTerminalTokenElement ( ) throws RecognitionException { } } | int stackSize = keepStackSize ( ) ; try { // InternalXtext . g : 1208:2 : ( ( ( rule _ _ TerminalTokenElement _ _ Alternatives ) ) )
// InternalXtext . g : 1209:2 : ( ( rule _ _ TerminalTokenElement _ _ Alternatives ) )
{ // InternalXtext . g : 1209:2 : ( ( rule _ _ TerminalTokenElement _ _ Alternatives ) )
// Internal... |
public class DigitalRadial { /** * < editor - fold defaultstate = " collapsed " desc = " Initialization " > */
@ Override public final AbstractGauge init ( final int WIDTH , final int HEIGHT ) { } } | if ( WIDTH <= 1 || HEIGHT <= 1 ) { return this ; } if ( isLcdVisible ( ) ) { if ( isDigitalFont ( ) ) { setLcdValueFont ( getModel ( ) . getDigitalBaseFont ( ) . deriveFont ( 0.7f * WIDTH * 0.15f ) ) ; } else { setLcdValueFont ( getModel ( ) . getStandardBaseFont ( ) . deriveFont ( 0.625f * WIDTH * 0.15f ) ) ; } if ( i... |
public class MoreCollectors { /** * Collector which traverses a stream and returns either a single element
* ( if there was only one element ) or empty ( if there were 0 or more than 1
* elements ) . It traverses the entire stream , even if two elements
* have been encountered and the empty return value is now ce... | return Collectors . collectingAndThen ( Collectors . toList ( ) , lst -> lst . size ( ) == 1 ? Optional . of ( lst . get ( 0 ) ) : Optional . empty ( ) ) ; |
public class AceDataset { /** * Add an Experiment to the dataset .
* Add a new Experiment from a { @ code byte [ ] } consisting of the JSON
* for that experiment data .
* @ param source JSON experiment data
* @ throws IOException if there is an I / O error */
public void addExperiment ( byte [ ] source ) throws... | AceExperiment experiment = new AceExperiment ( source ) ; String eid = experiment . getId ( ) ; if ( this . experimentMap . containsKey ( "eid" ) ) { LOG . error ( "Duplicate data found for experiment: {}" , experiment . getValueOr ( "exname" , "" ) ) ; } else { this . experimentMap . put ( eid , experiment ) ; } this ... |
public class Assistant { /** * List counterexamples .
* List the counterexamples for a workspace . Counterexamples are examples that have been marked as irrelevant input .
* This operation is limited to 2500 requests per 30 minutes . For more information , see * * Rate limiting * * .
* @ param listCounterexamples... | Validator . notNull ( listCounterexamplesOptions , "listCounterexamplesOptions cannot be null" ) ; String [ ] pathSegments = { "v1/workspaces" , "counterexamples" } ; String [ ] pathParameters = { listCounterexamplesOptions . workspaceId ( ) } ; RequestBuilder builder = RequestBuilder . get ( RequestBuilder . construct... |
public class EsApiKeyAuthScheme { /** * Returns the text to send via the Authenticate header on the next request . */
@ Override public String authenticate ( Credentials credentials , HttpMethod method ) throws AuthenticationException { } } | return authenticate ( credentials ) ; |
public class AbstractLogger { /** * Sets the minimum log level .
* @ param logLevel
* The log level */
public final void setLogLevel ( LogLevel logLevel ) { } } | LogLevel updatedLogLevel = logLevel ; if ( updatedLogLevel == null ) { updatedLogLevel = LogLevel . NONE ; } this . logLevel = updatedLogLevel ; |
public class DynamicOutputBuffer { /** * Removes a buffer from the list of internal buffers and saves it for
* reuse if this feature is enabled .
* @ param n the number of the buffer to remove */
protected void deallocateBuffer ( int n ) { } } | ByteBuffer bb = _buffers . set ( n , null ) ; if ( bb != null && _reuseBuffersCount > 0 ) { if ( _buffersToReuse == null ) { _buffersToReuse = new LinkedList < ByteBuffer > ( ) ; } if ( _reuseBuffersCount > _buffersToReuse . size ( ) ) { _buffersToReuse . add ( bb ) ; } } |
public class appfwxmlerrorpage { /** * Use this API to fetch all the appfwxmlerrorpage resources that are configured on netscaler . */
public static appfwxmlerrorpage get ( nitro_service service ) throws Exception { } } | appfwxmlerrorpage obj = new appfwxmlerrorpage ( ) ; appfwxmlerrorpage [ ] response = ( appfwxmlerrorpage [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; |
public class ServerAsyncResult { /** * This get method returns the result of the asynch method call . This method
* must not be called unless ivGate indicates that results are available .
* @ param timeout - the timeout value
* @ param unit - the time unit for the timeout value ( e . g . milliseconds , seconds , ... | if ( ivCancelled ) { // F743-11774
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { Tr . exit ( tc , "getResult: throwing CancellationException" ) ; } throw new CancellationException ( ) ; // F743-11774
} // Method ended with an exception
if ( ivException != null ) { if ( TraceComponent . is... |
public class WatchTextBatchSpout { /** * ファイルのチェックを行い 、 初回は読み込みを行い 、 以後は更新された場合にのみデータを取得する 。
* @ param collector Collector
* @ throws IOException ファイル入出力エラー発生時
* @ throws InterruptedException 割り込み例外発生時 */
@ SuppressWarnings ( { } } | "rawtypes" } ) protected void checkDataFile ( TridentCollector collector ) throws IOException , InterruptedException { // 初回は更新がない場合でも読みこみを行い 、 その上でファイル更新監視を開始する 。
if ( this . isInitialReaded == false ) { List < String > fileContents = FileUtils . readLines ( this . targetFile ) ; emitTuples ( fileContents , collect... |
public class XMLRuleHandler { /** * Adds Match objects for all references to tokens
* ( including ' \ 1 ' and the like ) . */
@ Nullable protected List < Match > addLegacyMatches ( List < Match > existingSugMatches , String messageStr , boolean inMessage ) { } } | List < Match > sugMatch = new ArrayList < > ( ) ; int pos = 0 ; int ind = 0 ; int matchCounter = 0 ; while ( pos != - 1 ) { pos = messageStr . indexOf ( '\\' , ind ) ; if ( pos != - 1 && messageStr . length ( ) > pos && Character . isDigit ( messageStr . charAt ( pos + 1 ) ) ) { if ( pos == 0 || messageStr . charAt ( p... |
public class DRL5Lexer { /** * $ ANTLR start " UnicodeEscape " */
public final void mUnicodeEscape ( ) throws RecognitionException { } } | try { // src / main / resources / org / drools / compiler / lang / DRL5Lexer . g : 143:5 : ( ' \ \ \ \ ' ' u ' HexDigit HexDigit HexDigit HexDigit )
// src / main / resources / org / drools / compiler / lang / DRL5Lexer . g : 143:9 : ' \ \ \ \ ' ' u ' HexDigit HexDigit HexDigit HexDigit
{ match ( '\\' ) ; if ( state . ... |
public class TypeConverter { /** * Convert the passed source value to char
* @ param aSrcValue
* The source value . May not be < code > null < / code > .
* @ return The converted value .
* @ throws TypeConverterException
* if the source value is < code > null < / code > or if no converter was
* found or if ... | if ( aSrcValue == null ) throw new TypeConverterException ( char . class , EReason . NULL_SOURCE_NOT_ALLOWED ) ; final Character aValue = convert ( aSrcValue , Character . class ) ; return aValue . charValue ( ) ; |
public class UpdateUfsModePRequest { /** * < code > optional . alluxio . grpc . file . UpdateUfsModePOptions options = 2 ; < / code > */
public alluxio . grpc . UpdateUfsModePOptions getOptions ( ) { } } | return options_ == null ? alluxio . grpc . UpdateUfsModePOptions . getDefaultInstance ( ) : options_ ; |
public class MinioClient { /** * Returns an presigned URL to download the object in the bucket with given expiry time .
* < / p > < b > Example : < / b > < br >
* < pre > { @ code String url = minioClient . presignedGetObject ( " my - bucketname " , " my - objectname " , 60 * 60 * 24 ) ;
* System . out . println ... | return presignedGetObject ( bucketName , objectName , expires , null ) ; |
public class CmsSearchControllerFacetRange { /** * Adds the query parts for the facet options , except the filter parts .
* @ param query The query part that is extended with the facet options . */
protected void addFacetOptions ( StringBuffer query ) { } } | // start
appendFacetOption ( query , "range.start" , m_config . getStart ( ) ) ; // end
appendFacetOption ( query , "range.end" , m_config . getEnd ( ) ) ; // gap
appendFacetOption ( query , "range.gap" , m_config . getGap ( ) ) ; // other
for ( I_CmsSearchConfigurationFacetRange . Other o : m_config . getOther ( ) ) {... |
public class CmsUploadTimeoutWatcher { /** * Returns < code > true < / code > if the upload process is frozen . < p >
* @ return < code > true < / code > if the upload process is frozen */
private boolean isFrozen ( ) { } } | long now = ( new Date ( ) ) . getTime ( ) ; if ( m_listener . getBytesRead ( ) > m_lastBytesRead ) { m_lastData = now ; m_lastBytesRead = m_listener . getBytesRead ( ) ; } else if ( ( now - m_lastData ) > CmsUploadBean . DEFAULT_UPLOAD_TIMEOUT ) { return true ; } return false ; |
public class LRExporter { /** * Attempt to configure the exporter with the values used in the constructor
* This must be called before an exporter can be used and after any setting of configuration values
* @ throws LRException */
public void configure ( ) throws LRException { } } | // Trim or nullify strings
nodeHost = StringUtil . nullifyBadInput ( nodeHost ) ; publishAuthUser = StringUtil . nullifyBadInput ( publishAuthUser ) ; publishAuthPassword = StringUtil . nullifyBadInput ( publishAuthPassword ) ; // Throw an exception if any of the required fields are null
if ( nodeHost == null ) { throw... |
public class Predicate { /** * Returns a type - safe reference to the shared instance of a predicate that always returns
* < code > false < / code > . */
public static < T > Predicate < T > falseInstance ( ) { } } | @ SuppressWarnings ( "unchecked" ) Predicate < T > pred = ( Predicate < T > ) FALSE_INSTANCE ; return pred ; |
public class SparseMisoSceneWriter { /** * Writes just the scene data which is handy for derived classes which
* may wish to add their own scene data to the scene output . */
protected void writeSceneData ( SparseMisoSceneModel model , DataWriter writer ) throws SAXException { } } | writer . dataElement ( "swidth" , Integer . toString ( model . swidth ) ) ; writer . dataElement ( "sheight" , Integer . toString ( model . sheight ) ) ; writer . dataElement ( "defTileSet" , Integer . toString ( model . defTileSet ) ) ; writer . startElement ( "sections" ) ; for ( Iterator < Section > iter = model . g... |
public class RefreshEndpoint { /** * Refresh application state only if environment has changed ( unless < code > force < / code > is set to true ) .
* @ param force { @ link Nullable } body property to indicate whether to force all { @ link io . micronaut . runtime . context . scope . Refreshable } beans to be refres... | if ( force != null && force ) { eventPublisher . publishEvent ( new RefreshEvent ( ) ) ; return new String [ 0 ] ; } else { Map < String , Object > changes = environment . refreshAndDiff ( ) ; if ( ! changes . isEmpty ( ) ) { eventPublisher . publishEvent ( new RefreshEvent ( changes ) ) ; } Set < String > keys = chang... |
public class HarIndex { /** * Finds the index entry corresponding to a file in the archive */
public IndexEntry findEntryByFileName ( String fileName ) { } } | for ( IndexEntry e : entries ) { if ( fileName . equals ( e . fileName ) ) { return e ; } } return null ; |
public class MessageDispatcher { public static void sendErrorResponse ( SipApplicationDispatcher sipApplicationDispatcher , int errorCode , SipServletRequestImpl sipServletRequest , SipProvider sipProvider ) { } } | if ( logger . isDebugEnabled ( ) ) { logger . debug ( "sendErrorResponse - errorCode=" + errorCode + ", sipServletRequest=" + sipServletRequest ) ; } MessageDispatcher . sendErrorResponse ( sipApplicationDispatcher , errorCode , ( ServerTransaction ) sipServletRequest . getTransaction ( ) , ( Request ) sipServletReques... |
public class JVMUtil { /** * Fallback when checking CompressedOopsEnabled . */
@ SuppressFBWarnings ( "NP_BOOLEAN_RETURN_NULL" ) static Boolean isObjectLayoutCompressedOopsOrNull ( ) { } } | if ( ! UNSAFE_AVAILABLE ) { return null ; } Integer referenceSize = ReferenceSizeEstimator . getReferenceSizeOrNull ( ) ; if ( referenceSize == null ) { return null ; } // when reference size does not equal address size then it ' s safe to assume references are compressed
return referenceSize != UNSAFE . addressSize ( ... |
public class DoSServerFilter { /** * Called when connections , requests or bytes reach to the limit .
* @ param remoteAddr
* @ param connections
* @ param requests
* @ param bytes */
protected void onBlock ( ConnectionFilter filter , String remoteAddr , int connections , int requests , int bytes ) { } } | filter . disconnect ( ) ; filter . onDisconnect ( ) ; |
public class XGBoostAutoBuffer { /** * Used to communicate with external frameworks , for example XGBoost */
public String getStr ( ) { } } | int len = ab . get4 ( ) ; return len == - 1 ? null : new String ( ab . getA1 ( len ) , UTF_8 ) ; |
public class EditDistance { /** * x和y肯定不同的
* @ param x
* @ param y
* @ return 代价 */
protected static float costReplace ( char x , char y ) { } } | int cost = 1 ; for ( char [ ] xy : repCostChars ) { if ( xy [ 0 ] == x && xy [ 1 ] == y ) { cost = 2 ; break ; } else if ( xy [ 0 ] == y && xy [ 1 ] == x ) { cost = 2 ; break ; } } return cost ; // noCostChars . indexOf ( c ) ! = - 1?1:0; |
public class Jackson { /** * https : / / gitee . com / jfinal / jfinal - weixin / issues / I875U */
protected void config ( ) { } } | objectMapper . configure ( com . fasterxml . jackson . core . JsonParser . Feature . ALLOW_UNQUOTED_CONTROL_CHARS , true ) ; objectMapper . configure ( com . fasterxml . jackson . core . JsonParser . Feature . ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER , true ) ; |
public class CurrencyFormat { /** * Override Format . format ( ) .
* @ see java . text . Format # format ( java . lang . Object , java . lang . StringBuffer , java . text . FieldPosition ) */
public StringBuffer format ( Object obj , StringBuffer toAppendTo , FieldPosition pos ) { } } | if ( ! ( obj instanceof CurrencyAmount ) ) { throw new IllegalArgumentException ( "Invalid type: " + obj . getClass ( ) . getName ( ) ) ; } CurrencyAmount currency = ( CurrencyAmount ) obj ; fmt . setCurrency ( currency . getCurrency ( ) ) ; return fmt . format ( currency . getNumber ( ) , toAppendTo , pos ) ; |
public class JideOverlayService { /** * { @ inheritDoc } */
public Boolean uninstallOverlay ( JComponent targetComponent , JComponent overlay , Insets insets ) { } } | Assert . notNull ( targetComponent , JideOverlayService . TARGET_COMPONENT_PARAM ) ; Assert . notNull ( overlay , JideOverlayService . OVERLAY ) ; final DefaultOverlayable overlayable = this . findOverlayable ( targetComponent ) ; // If overlay is installed . . .
if ( ( overlayable != null ) && this . isOverlayInstalle... |
public class Initiator { /** * Removes the < code > Session < / code > instances form the sessions queue .
* @ param sessionReq The Session to remove
* @ throws NoSuchSessionException if the Session does not exist in the Map */
public final void removeSession ( final Session sessionReq ) throws NoSuchSessionExcepti... | final Session session = sessions . get ( sessionReq . getTargetName ( ) ) ; if ( session != null ) { sessions . remove ( sessionReq . getTargetName ( ) ) ; } else { throw new NoSuchSessionException ( "Session " + sessionReq . getTargetName ( ) + " not found!" ) ; } |
public class PortletExecutionManager { /** * / * ( non - Javadoc )
* @ see org . apereo . portal . portlet . rendering . IPortletExecutionManager # getPortletOutput ( org . apereo . portal . portlet . om . IPortletWindowId , javax . servlet . http . HttpServletRequest , javax . servlet . http . HttpServletResponse ) ... | final IPortletRenderExecutionWorker tracker = getRenderedPortletBodyWorker ( portletWindowId , request , response ) ; final long timeout = getPortletRenderTimeout ( portletWindowId , request ) ; try { final String output = tracker . getOutput ( timeout ) ; return output == null ? "" : output ; } catch ( Exception e ) {... |
public class AesEncrypter { /** * Decrypt .
* @ param encryptedText the encrypted text
* @ param secretKey the secret key
* @ return the string */
public static final String decrypt ( String secretKey , String encryptedText ) { } } | if ( encryptedText == null ) { return null ; } if ( encryptedText . startsWith ( "$CRYPT::" ) ) { // $ NON - NLS - 1 $
byte [ ] decoded = Base64 . decodeBase64 ( encryptedText . substring ( 8 ) ) ; Cipher cipher ; try { SecretKeySpec skeySpec = keySpecFromSecretKey ( secretKey ) ; cipher = Cipher . getInstance ( "AES" ... |
public class AmazonWebServiceRequest { /** * Returns the root object from which the current object was cloned ; or null if there isn ' t one . */
public AmazonWebServiceRequest getCloneRoot ( ) { } } | AmazonWebServiceRequest cloneRoot = cloneSource ; if ( cloneRoot != null ) { while ( cloneRoot . getCloneSource ( ) != null ) { cloneRoot = cloneRoot . getCloneSource ( ) ; } } return cloneRoot ; |
public class AggregationQueryBuilder { /** * / / / / / old metrics */
private static void pushOp ( String operation , Stack < MetricExpression > expressions , Stack < String > operations ) { } } | if ( operation . equals ( "(" ) ) { operations . push ( operation ) ; return ; } if ( operation . equals ( ")" ) ) { while ( ! operations . isEmpty ( ) ) { String op = operations . pop ( ) ; if ( op . equals ( "(" ) ) return ; doOperation ( op , expressions , operations ) ; } } if ( operation . equals ( "*" ) || operat... |
public class SipServletResponseImpl { /** * ( non - Javadoc )
* @ see javax . servlet . sip . SipServletMessage # isCommitted ( ) */
public boolean isCommitted ( ) { } } | Transaction tx = getTransaction ( ) ; // Issue 1571 : http : / / code . google . com / p / mobicents / issues / detail ? id = 1571
// NullPointerException in SipServletResponseImpl . isCommitted
if ( tx != null ) { // the message is an incoming non - reliable provisional response received by a servlet acting as a UAC
i... |
public class AddTorrentParams { /** * Url seeds to be added to the torrent ( ` BEP 17 ` _ ) .
* @ return the url seeds */
public ArrayList < String > urlSeeds ( ) { } } | string_vector v = p . get_url_seeds ( ) ; int size = ( int ) v . size ( ) ; ArrayList < String > l = new ArrayList < > ( ) ; for ( int i = 0 ; i < size ; i ++ ) { l . add ( v . get ( i ) ) ; } return l ; |
public class DashboardDto { /** * Sets the template variables used in this dashboard .
* @ param templateVars A list of template variables . If the list is null or empty then existing templateVars are cleared . */
public void setTemplateVars ( List < TemplateVar > templateVars ) { } } | this . templateVars . clear ( ) ; if ( templateVars != null && ! templateVars . isEmpty ( ) ) { this . templateVars . addAll ( templateVars ) ; } |
public class HttpRequest { /** * Represents array of any type as list of objects so we can easily iterate over it
* @ param array of elements
* @ return list with the same elements */
private static List < Object > arrayToList ( final Object array ) { } } | if ( array instanceof Object [ ] ) return Arrays . asList ( ( Object [ ] ) array ) ; List < Object > result = new ArrayList < Object > ( ) ; // Arrays of the primitive types can ' t be cast to array of Object , so this :
if ( array instanceof int [ ] ) for ( int value : ( int [ ] ) array ) result . add ( value ) ; else... |
public class GraphQLTypeUtil { /** * This will return the type in graphql SDL format , eg [ typeName ! ] !
* @ param type the type in play
* @ return the type in graphql SDL format , eg [ typeName ! ] ! */
public static String simplePrint ( GraphQLType type ) { } } | StringBuilder sb = new StringBuilder ( ) ; if ( isNonNull ( type ) ) { sb . append ( simplePrint ( unwrapOne ( type ) ) ) ; sb . append ( "!" ) ; } else if ( isList ( type ) ) { sb . append ( "[" ) ; sb . append ( simplePrint ( unwrapOne ( type ) ) ) ; sb . append ( "]" ) ; } else { sb . append ( type . getName ( ) ) ;... |
public class IndexMultiList { /** * Deletes a list . */
void deleteList ( int list ) { } } | int ptr = getFirst ( list ) ; while ( ptr != nullNode ( ) ) { int p = ptr ; ptr = getNext ( ptr ) ; freeNode_ ( p ) ; } if ( m_b_allow_navigation_between_lists ) { int prevList = m_lists . getField ( list , 2 ) ; int nextList = m_lists . getField ( list , 3 ) ; if ( prevList != nullNode ( ) ) m_lists . setField ( prevL... |
public class DirectoryRebase { /** * Recursively traverses the registered directories . Directories which were not roots sometime in the past will
* be cancelled and removed . If a directory was a root ( known by { @ link Directory # hasKeys ( ) } ) , then it will be
* added to the list specified . This list contai... | final Collection < Directory > toBeDiscarded = new LinkedList < > ( ) ; dirs . values ( ) . removeIf ( dir -> { if ( pDiscardedParent . isDirectParentOf ( dir ) ) { if ( dir . hasKeys ( ) ) { pToBeConverted . add ( dir ) ; } else { toBeDiscarded . add ( dir ) ; dir . cancelKey ( ) ; return true ; } } return false ; } )... |
public class RocksDBStateBackend { /** * Sets the directories in which the local RocksDB database puts its files ( like SST and
* metadata files ) . These directories do not need to be persistent , they can be ephemeral ,
* meaning that they are lost on a machine failure , because state in RocksDB is persisted
* ... | if ( paths == null ) { localRocksDbDirectories = null ; } else if ( paths . length == 0 ) { throw new IllegalArgumentException ( "empty paths" ) ; } else { File [ ] pp = new File [ paths . length ] ; for ( int i = 0 ; i < paths . length ; i ++ ) { final String rawPath = paths [ i ] ; final String path ; if ( rawPath ==... |
import java . util . ArrayList ; import java . util . List ; public class Main { /** * Shifts elements of a given list to the left by a specified number of positions .
* This function moves the elements from ' startPos ' up to ' endPos ' from the left of the list to the end of it .
* Examples :
* shiftLeft ( [ 1 ... | List < Integer > result = new ArrayList < > ( ) ; result . addAll ( targetList . subList ( startPos , targetList . size ( ) ) ) ; result . addAll ( targetList . subList ( 0 , endPos ) ) ; return result ; |
public class IntToLongFunctionBuilder { /** * One of ways of creating builder . This is possibly the least verbose way where compiler should be able to guess the generic parameters . */
@ Nonnull public static IntToLongFunction intToLongFunctionFrom ( Consumer < IntToLongFunctionBuilder > buildingFunction ) { } } | IntToLongFunctionBuilder builder = new IntToLongFunctionBuilder ( ) ; buildingFunction . accept ( builder ) ; return builder . build ( ) ; |
public class RowAVL { /** * Returns the Node for the next Index on this database row , given the
* Node for any Index . */
NodeAVL getNextNode ( NodeAVL n ) { } } | if ( n == null ) { n = nPrimaryNode ; } else { n = n . nNext ; } return n ; |
public class DescribeAnalysisSchemesResult { /** * The analysis scheme descriptions .
* @ return The analysis scheme descriptions . */
public java . util . List < AnalysisSchemeStatus > getAnalysisSchemes ( ) { } } | if ( analysisSchemes == null ) { analysisSchemes = new com . amazonaws . internal . SdkInternalList < AnalysisSchemeStatus > ( ) ; } return analysisSchemes ; |
public class ChatGlyph { /** * Render the chat glyph with no thought to dirty rectangles or
* restoring composites . */
public void render ( Graphics2D gfx ) { } } | Object oalias = SwingUtil . activateAntiAliasing ( gfx ) ; gfx . setColor ( getBackground ( ) ) ; gfx . fill ( _shape ) ; gfx . setColor ( _outline ) ; gfx . draw ( _shape ) ; SwingUtil . restoreAntiAliasing ( gfx , oalias ) ; if ( _icon != null ) { _icon . paintIcon ( _owner . getTarget ( ) , gfx , _ipos . x , _ipos .... |
public class JasperEngine { /** * useful for edit jasper parameters : do not need here the values as in getReportUserParameters */
public Map < String , Serializable > getReportUserParametersForEdit ( Report report ) throws Exception { } } | Map < String , Serializable > result = new LinkedHashMap < String , Serializable > ( ) ; JasperReport jr = getJasperReport ( report ) ; Map < String , Serializable > map = JasperReportsUtil . getJasperReportUserParameters ( jr ) ; for ( String key : map . keySet ( ) ) { JasperParameter jp = ( JasperParameter ) map . ge... |
public class WMI4Java { /** * Query a list of object data for an specific class < br >
* This method should be used to retrieve a list of objects instead of a
* flat key / value object . < br >
* For example , you can use it to retrieve hardware elements information
* ( processors , printers , screens , etc )
... | List < Map < String , String > > foundWMIClassProperties = new ArrayList < Map < String , String > > ( ) ; try { String rawData ; if ( this . properties != null || this . filters != null ) { rawData = getWMIStub ( ) . queryObject ( wmiClass , this . properties , this . filters , this . namespace , this . computerName )... |
public class Proxy { /** * Returns a property value .
* @ param propertyName The property name .
* @ return The property value , or null if none . */
private String getProperty ( String propertyName ) { } } | return propertyName == null ? null : ( String ) getPropertyValue ( propertyName ) ; |
public class CmsCodeMirror { /** * Adds a blur listener . < p >
* @ param listener the blur listener */
public void addBlurListener ( FieldEvents . BlurListener listener ) { } } | addListener ( FieldEvents . BlurEvent . class , listener , BLUR_METHOD ) ; markAsDirty ( ) ; |
public class GIntegralImageFeatureIntensity { /** * Computes an approximation to the Hessian ' s determinant .
* @ param integral Integral image transform of input image . Not modified .
* @ param skip How many pixels should it skip over .
* @ param size Hessian kernel ' s size .
* @ param intensity Output inte... | if ( integral instanceof GrayF32 ) { IntegralImageFeatureIntensity . hessian ( ( GrayF32 ) integral , skip , size , intensity ) ; } else if ( integral instanceof GrayS32 ) { IntegralImageFeatureIntensity . hessian ( ( GrayS32 ) integral , skip , size , intensity ) ; } else { throw new IllegalArgumentException ( "Unsupp... |
public class DistanceFormatter { /** * Returns a formatted SpannableString with bold and size formatting . I . e . , " 10 mi " , " 350 m "
* @ param distance in meters
* @ return SpannableString representation which has a bolded number and units which have a
* relative size of . 65 times the size of the number */... | double distanceSmallUnit = TurfConversion . convertLength ( distance , TurfConstants . UNIT_METERS , smallUnit ) ; double distanceLargeUnit = TurfConversion . convertLength ( distance , TurfConstants . UNIT_METERS , largeUnit ) ; // If the distance is greater than 10 miles / kilometers , then round to nearest mile / ki... |
public class CommerceAccountOrganizationRelPersistenceImpl { /** * Returns the last commerce account organization rel in the ordered set where organizationId = & # 63 ; .
* @ param organizationId the organization ID
* @ param orderByComparator the comparator to order the set by ( optionally < code > null < / code >... | CommerceAccountOrganizationRel commerceAccountOrganizationRel = fetchByOrganizationId_Last ( organizationId , orderByComparator ) ; if ( commerceAccountOrganizationRel != null ) { return commerceAccountOrganizationRel ; } StringBundler msg = new StringBundler ( 4 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . ap... |
public class AbstractInstrumentMojo { /** * Instruments all classes in a path recursively .
* @ param log maven logger
* @ param classpath classpath for classes being instrumented
* @ param path directory containing files to instrument
* @ throws MojoExecutionException if any exception occurs */
protected final... | try { Instrumenter instrumenter = getInstrumenter ( log , classpath ) ; InstrumentationSettings settings = new InstrumentationSettings ( markerType , debugMode , autoSerializable ) ; PluginHelper . instrument ( instrumenter , settings , path , path , log :: info ) ; } catch ( Exception ex ) { throw new MojoExecutionExc... |
public class iOSVariantEndpoint { /** * Add iOS Variant
* @ param form new iOS Variant
* @ param pushApplicationID id of { @ link PushApplication }
* @ param uriInfo uri
* @ return created { @ link iOSVariant }
* @ statuscode 201 The iOS Variant created successfully
* @ statuscode 400 The format of the clie... | // find the root push app
PushApplication pushApp = getSearch ( ) . findByPushApplicationIDForDeveloper ( pushApplicationID ) ; if ( pushApp == null ) { return Response . status ( Status . NOT_FOUND ) . entity ( "Could not find requested PushApplicationEntity" ) . build ( ) ; } // some model validation on the uploaded ... |
public class ThriftClient { /** * Returns a new client for the specified host , setting the specified keyspace .
* @ param host the Cassandra host address .
* @ param port the Cassandra host RPC port .
* @ param keyspace the name of the Cassandra keyspace to set .
* @ return a new client for the specified host ... | TTransport transport = new TFramedTransport ( new TSocket ( host , port ) ) ; TProtocol protocol = new TBinaryProtocol ( transport ) ; ThriftClient client = new ThriftClient ( protocol ) ; transport . open ( ) ; if ( keyspace != null ) { client . set_keyspace ( keyspace ) ; } return client ; |
public class ByteUtilities { /** * Convert a byte array to an float ( little endian ) .
* @ param data the byte array to convert .
* @ return the float . */
public static float byteArrayToFloatLE ( byte [ ] data ) { } } | ByteBuffer buffer = ByteBuffer . wrap ( data ) ; buffer . order ( ByteOrder . LITTLE_ENDIAN ) ; return buffer . getFloat ( ) ; |
public class IntervalParser { /** * < p > Factory method with either solidus or hyphen as separation char . < / p >
* @ param < T > generic temporal type
* @ param < I > generic interval type
* @ param factory interval factory
* @ param parser boundary parser
* @ param policy bracket policy
* @ return new i... | if ( parser == null ) { throw new NullPointerException ( "Missing boundary parser." ) ; } return new IntervalParser < > ( factory , parser , parser , policy , null ) ; |
public class GeoPackageJavaProperties { /** * Get a float property by base property and property name
* @ param base
* base property
* @ param property
* property
* @ param required
* required flag
* @ return property value */
public static Float getFloatProperty ( String base , String property , boolean ... | return getFloatProperty ( base + JavaPropertyConstants . PROPERTY_DIVIDER + property , required ) ; |
public class TextCommandFactory { /** * ( non - Javadoc )
* @ seenet . rubyeye . xmemcached . CommandFactory # createStatsCommand ( java . net . InetSocketAddress ,
* java . util . concurrent . CountDownLatch ) */
public final Command createStatsCommand ( InetSocketAddress server , CountDownLatch latch , String ite... | return new TextStatsCommand ( server , latch , itemName ) ; |
public class Ifc2x3tc1PackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public EClass getIfcCharacterStyleSelect ( ) { } } | if ( ifcCharacterStyleSelectEClass == null ) { ifcCharacterStyleSelectEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( Ifc2x3tc1Package . eNS_URI ) . getEClassifiers ( ) . get ( 940 ) ; } return ifcCharacterStyleSelectEClass ; |
public class CsvReader { @ SuppressWarnings ( "unchecked" ) private < T > T toType ( String cell , DataType dataType ) { } } | switch ( dataType ) { case Long : return cell != null && cell . length ( ) > 0 ? ( T ) Long . valueOf ( cell ) : ( T ) Long . valueOf ( - 1 ) ; default : return ( T ) cell ; } |
public class ProcessConsolePageParticipant { /** * ( non - Javadoc )
* @ see org . eclipse . ui . console . IConsolePageParticipant # deactivated ( ) */
public void deactivated ( ) { } } | // remove EOF submissions
IPageSite site = fPage . getSite ( ) ; IHandlerService handlerService = ( IHandlerService ) site . getService ( IHandlerService . class ) ; IContextService contextService = ( IContextService ) site . getService ( IContextService . class ) ; handlerService . deactivateHandler ( fActivatedHandle... |
public class PTXImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public Object eGet ( int featureID , boolean resolve , boolean coreType ) { } } | switch ( featureID ) { case AfplibPackage . PTX__CS : return getCS ( ) ; } return super . eGet ( featureID , resolve , coreType ) ; |
public class SqlSelectStatement { /** * Return the Fields to be selected .
* @ return the Fields to be selected */
protected FieldDescriptor [ ] getFieldsForSelect ( ) { } } | if ( fieldsForSelect == null || fieldsForSelect . get ( ) == null ) { fieldsForSelect = new WeakReference ( buildFieldsForSelect ( getSearchClassDescriptor ( ) ) ) ; } return ( FieldDescriptor [ ] ) fieldsForSelect . get ( ) ; |
public class GlobalizationPreferences { /** * This function can be overridden by subclasses to use different heuristics .
* < b > It MUST return a ' safe ' value ,
* one whose modification will not affect this object . < / b >
* @ param dateStyle
* @ param timeStyle
* @ hide draft / provisional / internal are... | DateFormat result ; ULocale dfLocale = getAvailableLocale ( TYPE_DATEFORMAT ) ; if ( dfLocale == null ) { dfLocale = ULocale . ROOT ; } if ( timeStyle == DF_NONE ) { result = DateFormat . getDateInstance ( getCalendar ( ) , dateStyle , dfLocale ) ; } else if ( dateStyle == DF_NONE ) { result = DateFormat . getTimeInsta... |
public class JsonReader { /** * Simple JSON parse method taking only the most basic parameters .
* @ param aReader
* The reader to read from . Should be buffered . May not be
* < code > null < / code > .
* @ param aParserHandler
* The parser handler . May not be < code > null < / code > .
* @ return { @ lin... | return parseJson ( aReader , aParserHandler , ( IJsonParserCustomizeCallback ) null , ( IJsonParseExceptionCallback ) null ) ; |
public class Plane4d { /** * Set this pane with the given factors .
* @ param a is the first factor of the plane equation .
* @ param b is the first factor of the plane equation .
* @ param c is the first factor of the plane equation .
* @ param d is the first factor of the plane equation . */
public void set (... | this . aProperty . set ( a ) ; this . bProperty . set ( b ) ; this . cProperty . set ( c ) ; this . dProperty . set ( d ) ; clearBufferedValues ( ) ; |
public class ReferenceCountedOpenSslEngine { /** * { @ inheritDoc }
* TLS doesn ' t support a way to advertise non - contiguous versions from the client ' s perspective , and the client
* just advertises the max supported version . The TLS protocol also doesn ' t support all different combinations of
* discrete p... | if ( protocols == null ) { // This is correct from the API docs
throw new IllegalArgumentException ( ) ; } int minProtocolIndex = OPENSSL_OP_NO_PROTOCOLS . length ; int maxProtocolIndex = 0 ; for ( String p : protocols ) { if ( ! OpenSsl . SUPPORTED_PROTOCOLS_SET . contains ( p ) ) { throw new IllegalArgumentException ... |
public class RNAUtils { /** * method to generate the natural analogue sequence of a rna / dna of a given
* polymer
* @ param polymer
* PolymerNotation
* @ return sequence natural analogue sequence
* @ throws HELM2HandledException
* if the polymer contains HELM2 features
* @ throws RNAUtilsException
* if... | checkRNA ( polymer ) ; return FastaFormat . generateFastaFromRNA ( MethodsMonomerUtils . getListOfHandledMonomers ( polymer . getPolymerElements ( ) . getListOfElements ( ) ) ) ; |
public class WebSiteManagementClientImpl { /** * Gets a list of meters for a given location .
* Gets a list of meters for a given location .
* @ param nextPageLink The NextLink from the previous successful call to List operation .
* @ throws IllegalArgumentException thrown if parameters fail the validation
* @ ... | return listBillingMetersNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < BillingMeterInner > > , Page < BillingMeterInner > > ( ) { @ Override public Page < BillingMeterInner > call ( ServiceResponse < Page < BillingMeterInner > > response ) { return response . body ( ) ; } } )... |
public class DBEntitySequenceFactory { /** * / * ( non - Javadoc )
* @ see com . dell . doradus . search . aggregate . EntitySequenceFactory # getSequence ( com . dell . doradus . common . TableDefinition , java . lang . Iterable ) */
@ Override public < T > EntitySequence getSequence ( TableDefinition tableDef , Ite... | return getSequence ( tableDef , collection , null , null ) ; |
public class AbstractMessage { /** * / * ( non - Javadoc )
* @ see javax . jms . Message # setJMSRedelivered ( boolean ) */
@ Override public final void setJMSRedelivered ( boolean redelivered ) { } } | this . redelivered = redelivered ; // Update raw cache accordingly
if ( rawMessage != null ) { byte flags = rawMessage . readByte ( 1 ) ; if ( redelivered ) flags = ( byte ) ( flags | ( 1 << 4 ) ) ; else flags = ( byte ) ( flags & ~ ( 1 << 4 ) ) ; rawMessage . writeByte ( flags , 1 ) ; } |
public class IOUtils { /** * Returns whether the given file is a symbolic link .
* @ since 1.16 */
public static boolean isSymbolicLink ( File file ) throws IOException { } } | // first try using Java 7
try { // use reflection here
Class < ? > filesClass = Class . forName ( "java.nio.file.Files" ) ; Class < ? > pathClass = Class . forName ( "java.nio.file.Path" ) ; Object path = File . class . getMethod ( "toPath" ) . invoke ( file ) ; return ( ( Boolean ) filesClass . getMethod ( "isSymbolic... |
public class Acceptor { /** * parse
* Note : I ' m processing by index to avoid lots of memory creation , which speeds things
* up for this time critical section of code .
* @ param code
* @ param cntnt
* @ return */
protected boolean parse ( HttpCode < TRANS , ? > code , String cntnt ) { } } | byte bytes [ ] = cntnt . getBytes ( ) ; int cis , cie = - 1 , cend ; int sis , sie , send ; String name ; ArrayList < String > props = new ArrayList < String > ( ) ; do { // Clear these in case more than one Semi
props . clear ( ) ; // on loop , do not want mixed properties
name = null ; cis = cie + 1 ; // find comma s... |
public class Database { public List < ForwardedAttributeDatum > getForwardedAttributeInfoForDevice ( String deviceName ) throws DevFailed { } } | List < String [ ] > data = databaseDAO . getForwardedAttributeDataForDevice ( this , deviceName ) ; List < ForwardedAttributeDatum > info = new ArrayList < ForwardedAttributeDatum > ( ) ; for ( String [ ] datum : data ) { info . add ( new ForwardedAttributeDatum ( datum [ 0 ] , datum [ 1 ] , datum [ 2 ] ) ) ; } return ... |
public class BatchDetectKeyPhrasesResult { /** * A list of objects containing the results of the operation . The results are sorted in ascending order by the
* < code > Index < / code > field and match the order of the documents in the input list . If all of the documents contain
* an error , the < code > ResultLis... | if ( this . resultList == null ) { setResultList ( new java . util . ArrayList < BatchDetectKeyPhrasesItemResult > ( resultList . length ) ) ; } for ( BatchDetectKeyPhrasesItemResult ele : resultList ) { this . resultList . add ( ele ) ; } return this ; |
public class Streamables { /** * Writes the given { @ link ByteBuffer } into the given { @ link DataOutput } .
* @ param out The { @ link DataOutput } into which the buffer will be written .
* @ param buffer The buffer to write into the { @ link DataOutput } .
* @ throws IOException */
public static void writeBuf... | if ( buffer . hasArray ( ) ) { out . write ( buffer . array ( ) , buffer . arrayOffset ( ) + buffer . position ( ) , buffer . remaining ( ) ) ; buffer . position ( buffer . limit ( ) ) ; } else { final byte [ ] array = new byte [ buffer . remaining ( ) ] ; buffer . get ( array ) ; assert buffer . remaining ( ) == 0 && ... |
public class ModuleItem { /** * refresh the stats tree to remove any stats : called when a module item is removed */
private void updateStatsTree ( ) { } } | if ( myStatsWithChildren == null ) return ; ArrayList colMembers = myStatsWithChildren . subCollections ( ) ; if ( colMembers == null ) return ; colMembers . clear ( ) ; // getStats from children
ModuleItem [ ] items = children ( ) ; if ( items != null ) { for ( int i = 0 ; i < items . length ; i ++ ) colMembers . add ... |
public class ParseHelper { /** * 判断Zealot标签中 ` match ` 中的表达式是否匹配通过 .
* @ param match match表达式
* @ param paramObj 参数上下文对象
* @ return 布尔值 */
public static boolean isMatch ( String match , Object paramObj ) { } } | return StringHelper . isBlank ( match ) || isTrue ( match , paramObj ) ; |
public class Log { /** * Print the text of a message , translating newlines appropriately
* for the platform . */
public void printRawLines ( String msg ) { } } | PrintWriter noticeWriter = writers . get ( WriterKind . NOTICE ) ; printRawLines ( noticeWriter , msg ) ; |
public class Server { /** * Queues a { @ link Packet } to all connected { @ link Client } s except the one ( s ) specified .
* < br > < br >
* No { @ link Client } will receive this { @ link Packet } until { @ link Client # flush ( ) } is called for that respective
* { @ link Client } .
* @ param < T > A { @ li... | writeHelper ( packet :: write , clients ) ; |
public class DataFactory { /** * Method use to get float
* @ param pAnnotation
* annotation
* @ param pBit
* bit utils
* @ return */
private static Float getFloat ( final AnnotationData pAnnotation , final BitUtils pBit ) { } } | Float ret = null ; if ( BCD_FORMAT . equals ( pAnnotation . getFormat ( ) ) ) { ret = Float . parseFloat ( pBit . getNextHexaString ( pAnnotation . getSize ( ) ) ) ; } else { ret = ( float ) getInteger ( pAnnotation , pBit ) ; } return ret ; |
public class KeyVaultClientBaseImpl { /** * Lists deleted storage accounts for the specified vault .
* The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft - delete . This operation requires the storage / list permission .
* @ param vaultBaseUrl... | ServiceResponse < Page < DeletedStorageAccountItem > > response = getDeletedStorageAccountsSinglePageAsync ( vaultBaseUrl , maxresults ) . toBlocking ( ) . single ( ) ; return new PagedList < DeletedStorageAccountItem > ( response . body ( ) ) { @ Override public Page < DeletedStorageAccountItem > nextPage ( String nex... |
public class RfSessionFactoryImpl { @ Override public void doRfAccountingRequestEvent ( ServerRfSession appSession , RfAccountingRequest acr ) throws InternalException , IllegalDiameterStateException , RouteException , OverloadException { } } | logger . info ( "Diameter Base RfSessionFactory :: doAccRequestEvent :: appSession[" + appSession + "], Request[" + acr + "]" ) ; |
public class MessagePactProviderRule { /** * / * ( non - Javadoc )
* @ see org . junit . rules . ExternalResource # apply ( org . junit . runners . model . Statement , org . junit . runner . Description ) */
@ Override public Statement apply ( final Statement base , final Description description ) { } } | return new Statement ( ) { @ Override public void evaluate ( ) throws Throwable { PactVerifications pactVerifications = description . getAnnotation ( PactVerifications . class ) ; if ( pactVerifications != null ) { evaluatePactVerifications ( pactVerifications , base , description ) ; return ; } PactVerification pactDe... |
public class Annotation { /** * Returns true if the class is configured in annotation , false otherwise .
* @ param classToCheck class to check
* @ return true if the class is configured in annotation , false otherwise */
public static boolean isInheritedMapped ( Class < ? > classToCheck ) { } } | for ( Class < ? > clazz : getAllsuperClasses ( classToCheck ) ) if ( ! isNull ( clazz . getAnnotation ( JGlobalMap . class ) ) ) return true ; for ( Field field : getListOfFields ( classToCheck ) ) if ( ! isNull ( field . getAnnotation ( JMap . class ) ) ) return true ; return false ; |
public class AbstractJobStatus { /** * Stop listening to events . */
public void stopListening ( ) { } } | if ( isIsolated ( ) ) { this . loggerManager . popLogListener ( ) ; } else { this . observationManager . removeListener ( this . logListener . getName ( ) ) ; } this . observationManager . removeListener ( this . progress . getName ( ) ) ; // Make sure the progress is closed
this . progress . getRootStep ( ) . finish (... |
public class LiveData { /** * Adds the given observer to the observers list . This call is similar to
* { @ link LiveData # observe ( LifecycleOwner , Observer ) } with a LifecycleOwner , which
* is always active . This means that the given observer will receive all events and will never
* be automatically remove... | assertMainThread ( "observeForever" ) ; AlwaysActiveObserver wrapper = new AlwaysActiveObserver ( observer ) ; ObserverWrapper existing = mObservers . putIfAbsent ( observer , wrapper ) ; if ( existing != null && existing instanceof LiveData . LifecycleBoundObserver ) { throw new IllegalArgumentException ( "Cannot add ... |
public class DataAdapterXmPrivilegedRequestContext { /** * { @ inheritDoc } */
@ Override public < T > T getValueOrDefault ( String key , Class < T > type , T defaultValue ) { } } | return data . getValueOrDefault ( key , type , defaultValue ) ; |
public class KeyVaultClientBaseImpl { /** * Retrieves information about the specified deleted certificate .
* The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes , such as retention interval , scheduled permanent deletion and the current deletion recovery level . This... | return ServiceFuture . fromResponse ( getDeletedCertificateWithServiceResponseAsync ( vaultBaseUrl , certificateName ) , serviceCallback ) ; |
public class DateUtils { /** * < p > Returns the number of milliseconds within the
* fragment . All datefields greater than the fragment will be ignored . < / p >
* < p > Asking the milliseconds of any date will only return the number of milliseconds
* of the current second ( resulting in a number between 0 and 9... | return getFragment ( calendar , fragment , TimeUnit . MILLISECONDS ) ; |
public class SimpleExcerptProvider { /** * { @ inheritDoc } */
public String getExcerpt ( String id , int maxFragments , int maxFragmentSize ) throws IOException { } } | StringBuilder text = new StringBuilder ( ) ; try { ItemData node = ism . getItemData ( id ) ; String separator = "" ; List < PropertyData > childs = ism . getChildPropertiesData ( ( NodeData ) node ) ; for ( PropertyData property : childs ) { if ( property . getType ( ) == PropertyType . STRING ) { text . append ( sepa... |
public class TileDao { /** * Query for Tiles at a zoom level and column
* @ param column
* column
* @ param zoomLevel
* zoom level
* @ return tile result set */
public TileResultSet queryForTilesInColumn ( long column , long zoomLevel ) { } } | Map < String , Object > fieldValues = new HashMap < String , Object > ( ) ; fieldValues . put ( TileTable . COLUMN_TILE_COLUMN , column ) ; fieldValues . put ( TileTable . COLUMN_ZOOM_LEVEL , zoomLevel ) ; return queryForFieldValues ( fieldValues ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.