Project  Annotation  Discovered By  Package     Target(s)  Parameters  Notes

.

AspectJ @EnableSpringConfigured   org.springframework.beans.factory.aspectj        

.

Batch @AfterChunk automatic org.springframework.batch.core.annotation        

.

Batch @AfterJob automatic org.springframework.batch.core.annotation        

.

Batch @AfterProcess automatic org.springframework.batch.core.annotation        

.

Batch @AfterRead automatic org.springframework.batch.core.annotation        

.

Batch @AfterStep automatic org.springframework.batch.core.annotation        

.

Batch @AfterWrite automatic org.springframework.batch.core.annotation        

.

Batch @BeforeChunk automatic org.springframework.batch.core.annotation        

.

Batch @BeforeJob automatic org.springframework.batch.core.annotation        

.

Batch @BeforeProcess automatic org.springframework.batch.core.annotation        

.

Batch @BeforeRead automatic org.springframework.batch.core.annotation        

.

Batch @BeforeStep automatic org.springframework.batch.core.annotation        

.

Batch @BeforeWrite automatic org.springframework.batch.core.annotation        

.

Batch @Classifier automatic org.springframework.batch.support.annotation        

.

Batch @MockStaticEntityMethods automatic org.springframework.batch.core.annotation        

.

Batch @OnProcessError automatic org.springframework.batch.core.annotation        

.

Batch @OnReadError automatic org.springframework.batch.core.annotation        

.

Batch @OnSkipInProcess automatic org.springframework.batch.core.annotation        

.

Batch @OnSkipInRead automatic org.springframework.batch.core.annotation        

.

Batch @OnSkipInWrite automatic org.springframework.batch.core.annotation        

.

Batch @OnWriteError automatic org.springframework.batch.support.annotation        

.

Cache @Cacheable <cache:annotation-driven/> org.springframework.cache.annotation 3.1      

.

Cache @CacheEvict   org.springframework.cache.annotation        

.

Cache @CachePut   org.springframework.cache.annotation        

.

Cache @Caching   org.springframework.cache.annotation        

.

Cache @EnableCaching   org.springframework.cache.annotation        

.

Cache @NumberFormat <cache:annotation-driven/> Spring 3.1 org.springframework.cache.annotation        

.

Data-Commons @Document   org.springframework.data.mapping        

.

Data-Commons @Id   org.springframework.data.annotation        

.

Data-Commons @NoRepositoryBean   org.springframework.data.repository        

.

Data-Commons @PageableDefaults   org.springframework.data.web        

.

Data-Commons @Param   org.springframework.data.repository        

.

Data-Commons @PersistenceConstructor   org.springframework.data.annotation        

.

Data-Commons @Persistent   org.springframework.data.annotation        

.

Data-Commons @ReadingConverter   org.springframework.data.convert        

.

Data-Commons @Reference   org.springframework.data.annotation        

.

Data-Commons @RepositoryDefinition   org.springframework.data.repository        

.

Data-Commons @Transient   org.springframework.data.annotation        

.

Data-Commons @TypeAlias   org.springframework.data.annotation        

.

Data-Commons @WritingConverter   org.springframework.data.convert        

.

Data-Gemfire @Query   org.springframework.data.gemfire.repository        

.

Data-Gemfire @Region   org.springframework.data.gemfire.mapping        

.

Data-Jpa @Lock   org.springframework.data.jpa.repository        

.

Data-Jpa @Modifying JpaQueryMethod org.springframework.data.jpa.repository        

.

Data-Jpa @Query JpaQueryMethod org.springframework.data.jpa.repository        

.

Data-Jpa @QueryHints JpaQueryMethod org.springframework.data.jpa.repository        

.

Data-Neo4j @EndNode   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @Fetch   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @GraphId   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @GraphProperty   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @GraphTraversal   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @Indexed   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @MapResult   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @Neo4jTransactional   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @NodeEntity   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @Query   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @RelatedTo   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @RelatedToVia   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @RelationshipEntity   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @RelationshipType   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @ResultColumn   org.springframework.data.neo4j.annotation        

.

Data-Neo4j @StartNode   org.springframework.data.neo4j.annotation        

.

Data-Riak @KeyValueStoreMetadata   org.springframework.data.keyvalue.riak.convert        

.

Flex @AmfCreator   org.springframework.flex.core.io        

.

Flex @AmfIgnore   org.springframework.flex.core.io        

.

Flex @AmfIgnoreField   org.springframework.flex.core.io        

.

Flex @AmfProperty   org.springframework.flex.core.io        

.

Flex @RemotingDestination <flex:message-broker/> org.springframework.flex.remoting        

.

Flex @RemotingExclude <flex:message-broker/> org.springframework.flex.remoting        

.

Flex @RemotingInclude <flex:message-broker/> org.springframework.flex.remoting        

.

Grails @ApplyDetachedCriteriaTransform   org.grails.datastore.gorm.query.transform        

.

Grails @Entity   org.grails.datastore.mapping.annotation        

.

Grails @Entity   persistence        

.

Grails @Id   org.grails.datastore.mapping.annotation        

.

Grails @Index   org.grails.datastore.mapping.annotation        

.

Grails @JpaEntity   gorm        

.

Integration @Aggregator automatic org.springframework.integration.annotation        

.

Integration @CorrelationStrategy automatic org.springframework.integration.annotation        

.

Integration @Filter automatic org.springframework.integration.annotation        

.

Integration @Gateway automatic org.springframework.integration.annotation        

.

Integration @Header automatic org.springframework.integration.annotation        

.

Integration @Headers automatic org.springframework.integration.annotation        

.

Integration @MessageEndpoint <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.integration.annotation        

.

Integration @Payload automatic org.springframework.integration.annotation        

.

Integration @Payloads automatic org.springframework.integration.annotation        

.

Integration @Publisher <si:annotation-config/> org.springframework.integration.annotation        

.

Integration @ReleaseStrategy automatic org.springframework.integration.annotation        

.

Integration @Router automatic org.springframework.integration.annotation        

.

Integration @ServiceActivator automatic org.springframework.integration.annotation        

.

Integration @Splitter automatic org.springframework.integration.annotation        

.

Integration @Transformer automatic org.springframework.integration.annotation        

.

JMX @ManagedAttribute <context:mbean-export/> org.springframework.jmx.export.annotation     defaultValue, description, currencyTimeLimit, persistPolicy, persistPeriod  

.

JMX @ManagedMetric <context:mbean-export/> org.springframework.jmx.export.annotation     category, currencyTimeLimit, description, displayName, metricType, persistPeriod, persistPolicy, unit  

.

JMX @ManagedNotification <context:mbean-export/> org.springframework.jmx.export.annotation     name, description, notificationTypes  

.

JMX @ManagedNotifications <context:mbean-export/> org.springframework.jmx.export.annotation     value <notificationTypes[]>  

.

JMX @ManagedOperation <context:mbean-export/> org.springframework.jmx.export.annotation     description, currencyTimeLimit  

.

JMX @ManagedOperationParameter <context:mbean-export/> org.springframework.jmx.export.annotation     name, description  

.

JMX @ManagedOperationParameters <context:mbean-export/> org.springframework.jmx.export.annotation     value <ManagedOperationParameter[]>  

.

JMX @ManagedResource <context:mbean-export/> org.springframework.jmx.export.annotation     value, objectName description, currencyTimeLimit, log, logFile, persistPolicy, persistPeriod, persistName, persistLocation  

.

MVC @CookieValue <tx:annotation-driven/>, @EnableTransactionManagement org.springframework.web.bind.annotation        

.

MVC @ExceptionHandler <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @InitBinder <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @Mapping <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @ModelAttribute <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @PathVariable <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @RequestBody <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @RequestHeader <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @RequestMapping <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @RequestParam <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @ResponseBody <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @ResponseStatus <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

MVC @SessionAttributes <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

.

Portlet @ActionMapping   org.springframework.web.portlet.bind.annotation        

.

Portlet @EventMapping   org.springframework.web.portlet.bind.annotation        

.

Portlet @RenderMapping   org.springframework.web.portlet.bind.annotation        

.

Portlet @ResourceMapping   org.springframework.web.portlet.bind.annotation        

.

Retry @Classifier   org.springframework.classify.annotation        

.

Roo @AutoPopulate   org.springframework.roo.shell        

.

Roo @CliAvailabilityIndicator   org.springframework.roo.annotation.populator        

.

Roo @CliCommand   org.springframework.roo.shell        

.

Roo @CliOption   org.springframework.roo.shell 3.1      

.

Roo @RooConfigurable   org.springframework.roo.addon.configurable        

.

Roo @RooConversionService   org.springframework.roo.addon.web.mvc.controller        

.

Roo @RooDataOnDemand   org.springframework.roo.addon.dod        

.

Roo @RooDbManaged   org.springframework.roo.addon.dbre        

.

Roo @RooEditor   org.springframework.roo.addon.property.editor        

.

Roo @RooEntity   org.springframework.roo.addon.entity        

.

Roo @RooGwtLocator   org.springframework.roo.addon.gwt        

.

Roo @RooGwtMirroredFrom   org.springframework.roo.addon.gwt        

.

Roo @RooGwtProxy   org.springframework.roo.addon.gwt        

.

Roo @RooGwtRequest   org.springframework.roo.addon.gwt        

.

Roo @RooIdentifier   org.springframework.roo.addon.entity        

.

Roo @RooIntegrationTest   org.springframework.roo.addon.test        

.

Roo @RooJavaBean   org.springframework.roo.addon.javabean        

.

Roo @RooJpaEntity   org.springframework.roo.addon.entity        

.

Roo @RooJsfApplicationBean   org.springframework.roo.addon.jsf        

.

Roo @RooJsfConverter   org.springframework.roo.addon.jsf        

.

Roo @RooJsfManagedBean   org.springframework.roo.addon.jsf        

.

Roo @RooJson   org.springframework.roo.addon.json        

.

Roo @RooMongoEntity   org.springframework.roo.addon.layers.repository.mongo        

.

Roo @RooOp4j   org.springframework.roo.addon.op4j        

.

Roo @RooPlural   org.springframework.roo.addon.plural        

.

Roo @RooRepositoryJpa   org.springframework.roo.addon.layers.repository.jpa        

.

Roo @RooRepositoryMongo   org.springframework.roo.addon.layers.repository.mongo        

.

Roo @RooSerializable   org.springframework.roo.addon.serializable        

.

Roo @RooService   org.springframework.roo.addon.layers.service        

.

Roo @RooSolrSearchable   org.springframework.roo.addon.solr        

.

Roo @RooSolrWebSearchable   org.springframework.roo.addon.solr        

.

Roo @RooToString   org.springframework.roo.addon.tostring        

.

Roo @RooUploadedFile   org.springframework.roo.addon.jsf        

.

Roo @RooWebFinder   org.springframework.roo.addon.web.mvc.controller.finder        

.

Roo @RooWebJson   org.springframework.roo.addon.web.mvc.controller.json        

.

Roo @RooWebScaffold   org.springframework.roo.addon.web.mvc.controller        

.

Security @PostAuthorize <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.prepost        

.

Security @PostFilter <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.prepost        

.

Security @PreAuthorize <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.prepost        

.

Security @PreFilter <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.prepost        

.

Security @Secured <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.annotation        

.

Security-OAuth @ConsumerKeysAllowed <security:global-method-security secured-annotations="enabled" /> org.springframework.security.oauth.provider.attributes        

.

Security-OAuth @ConsumerRolesAllowed <security:global-method-security secured-annotations="enabled" /> org.springframework.security.oauth.provider.attributes        

.

Security-OAuth @DenyAllConsumers <security:global-method-security secured-annotations="enabled" /> org.springframework.security.oauth.provider.attributes        

.

Security-OAuth @PermitAllConsumers <security:global-method-security secured-annotations="enabled" /> org.springframework.security.oauth.provider.attributes        

.

Social @FacebookCookieValue   org.springframework.social.facebook.web        

.

Spring @Async <task:annotation-driven/> org.springframework.scheduling.annotation        

.

Spring @Autowired <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.beans.factory.annotation        

.

Spring @Bean <context:component-scan/> org.springframework.context.annotation        

.

Spring @BeginConversation   org.springframework.conversation.annotation 3.1      

.

Spring @CacheEvict <cache:annotation-driven/> org.springframework.context.annotation 3.1      

.

Spring @Classifier <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.beans.factory.annotation        

.

Spring @Component <context:component-scan/>, @ComponentScan org.springframework.stereotype        

.

Spring @ComponentScan @Configuration org.springframework.context.annotation 3.1   Bean Config - works as <context:component-scan />  

.

Spring @Configurable <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.beans.factory.annotation        

.

Spring @Configuration <context:component-scan/>, @ComponentScan, ConfigurationClassPostProcessor org.springframework.context.annotation        

.

Spring @Controller <context:component-scan/>, @ComponentScan org.springframework.stereotype        

.

Spring @DateTimeFormat <mvc:annotation-driven/>, @EnableWebMvc org.springframework.format.annotation        

.

Spring @DependsOn <context:component-scan/> org.springframework.context.annotation        

.

Spring @EnableAspectJAutoProxy @Configuration org.springframework.context.annotation        

.

Spring @EnableAsync <task:annotation-driven/> org.springframework.scheduling.annotation        

.

Spring @EnableLoadTimeWeaving   org.springframework.context.annotation 3.1      

.

Spring @EnableScheduling <task:annotation-driven/> org.springframework.scheduling.annotation        

.

Spring @EnableTransactionManagement @Configuration org.springframework.transaction.annotation 3.1   Bean Config - works as <tx:annotation-driven /> org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration & AbstractTransactionManagementConfiguration

.

Spring @EnableWebMvc @Configuration org.springframework.web.servlet.config.annotation 3.1   Bean Config - works as <mvc:annotation-driven />  

.

Spring @EndConversation   org.springframework.conversation.annotation 3.1      

.

Spring @Feature <context:component-scan/> Not to be in 3.1 org.springframework.context.annotation        

.

Spring @FeatureAnnotation <context:component-scan/> Not to be in 3.1 org.springframework.context.annotation        

.

Spring @FeatureConfiguration <context:component-scan/> Not to be in 3.1 org.springframework.context.annotation        

.

Spring @FilterType   org.springframework.context.annotation        

.

Spring @Import <context:component-scan/> org.springframework.context.annotation     Bean Config - Imports other BeanConfig class  

.

Spring @ImportResource <context:component-scan/> org.springframework.context.annotation        

.

Spring @Lazy <context:component-scan/> org.springframework.context.annotation        

.

Spring @MockStaticEntityMethods   org.springframework.mock.staticmock        

.

Spring @NumberFormat <mvc:annotation-driven/>, @EnableWebMvc org.springframework.format.annotation        

.

Spring @Order <context:component-scan/> org.springframework.core.annotation        

.

Spring @Primary <context:component-scan/> org.springframework.context.annotation        

.

Spring @Profile <context:component-scan/>, @Configuration org.springframework.context.annotation 3.1 Type String[] profileNames Bean Config - enables bean from environment variable "spring.profiles.active"

.

Spring @PropertySource @Configuration org.springframework.context.annotation 3.1     Bean Config - works as <context:property-placeholder />

.

Spring @Qualifier <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.beans.factory.annotation        

.

Spring @Repository <context:component-scan/>, @ComponentScan org.springframework.stereotype        

.

Spring @Required <context:component-scan/>, <context:annotation-config/>, @ComponentScan, RequiredAnnotationBeanPostProcessor org.springframework.beans.factory.annotation        

.

Spring @Role   org.springframework.context.annotation 3.1   3.1  

.

Spring @Scheduled <task:annotation-driven/> org.springframework.scheduling.annotation        

.

Spring @Scope <context:component-scan/>, @ComponentScan org.springframework.context.annotation        

.

Spring @Service <context:component-scan/>, @ComponentScan org.springframework.stereotype        

.

Spring @Transactional <tx:annotation-driven/>, @EnableTransactionManagement org.springframework.transaction.annotation        

.

Spring @Validated   org.springframework.validation.annotation        

.

Spring @Value <context:component-scan/>, <context:annotation-config/>, @ComponentScan, AutowiredAnnotationBeanPostProcessor org.springframework.beans.factory.annotation   Field, Method value:String SpEL Expressions

.

Test @ActiveProfiles @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context 3.1 Type String profile, String [] profiles, Boolean inheritProfiles=true  

.

Test @AfterTransaction @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context.transaction   Method none  

.

Test @BeforeTransaction @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context.transaction   Method none  

.

Test @ContextConfiguration @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context   Type String[] value, String[] locations, Class<T>[] classes, Boolean inheritLocations=true, Class<? extends ContextLoader> loader=ContextLoader.class  

.

Test @DirtiesContext @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation     ClassMode classMode=ClassMode.AFTER_CLASS or ClassMode.AFTER_EACH_TEST_METHOD  

.

Test @ExpectedException @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Deprecated  

.

Test @IfProfileValue @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Type, Method String name, String value, String[] values https://jira.springsource.org/browse/SPR-7754

.

Test @NotTransactional @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Deprecated  

.

Test @ProfileValueSourceConfiguration @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Type Class<? extends ProfileValueSource> value=SystemProfileValueSource.class  

.

Test @Repeat @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Integer value=1  

.

Test @Rollback @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Boolean value=true  

.

Test @TestExecutionListeners @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context   Type Class<? extends TestExecutionListener>[] listeners, Class<? extends TestExecutionListener>[] value, Boolean inheritListeners=true  

.

Test @Timed @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Long millis  

.

Test @TransactionConfiguration @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context.transaction   Type String transactionManager="transactionManager", Boolean defaultRollback=true  

.

WS @Action <ws:annotation-driven/> org.springframework.ws.soap.addressing.server.annotation        

.

WS @Address <ws:annotation-driven/> org.springframework.ws.soap.addressing.server.annotation        

.

WS @Endpoint <context:component-scan/> org.springframework.ws.server.endpoint.annotation        

.

WS @Namespace <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

.

WS @Namespaces <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

.

WS @PayloadRoot <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

.

WS @RequestPayload <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

.

WS @ResponsePayload <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

.

WS @SoapAction <ws:annotation-driven/> org.springframework.ws.soap.server.endpoint.annotation        

.

WS @SoapFault <ws:annotation-driven/> org.springframework.ws.soap.server.endpoint.annotation        

.

WS @SoapHeader <ws:annotation-driven/> org.springframework.ws.soap.server.endpoint.annotation.        

.

WS @XPathParam <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

.

 

Spring Project Annotations的更多相关文章

  1. How those spring enable annotations work--转

    原文地址:http://blog.fawnanddoug.com/2012/08/how-those-spring-enable-annotations-work.html Spring's Java ...

  2. 译:Spring框架参考文档之IoC容器(未完成)

    6. IoC容器 6.1 Spring IoC容器和bean介绍 这一章节介绍了Spring框架的控制反转(IoC)实现的原理.IoC也被称作依赖注入(DI).It is a process wher ...

  3. verview of Spring Framework--转

    http://docs.spring.io/spring/docs/current/spring-framework-reference/html/overview.html 2. Introduct ...

  4. Developing JSF applications with Spring Boot

    Developing JSF applications with Spring Boot Spring Boot can leverage any type of applications, not ...

  5. Spring Cloud Summary

    Spring Cloud Summary https://cloud.spring.io/spring-cloud-static/Finchley.RC1/single/spring-cloud.ht ...

  6. spring boot 打包方式 spring boot 整合mybaits REST services

    <build> <sourceDirectory>src/main/java</sourceDirectory> <plugins> <plugi ...

  7. Spring Boot Reference Guide

    Spring Boot Reference Guide Authors Phillip Webb, Dave Syer, Josh Long, Stéphane Nicoll, Rob Winch,  ...

  8. 【Spring实战】----开篇(包含系列目录链接)

    [Spring实战]----开篇(包含系列目录链接) 置顶2016年11月10日 11:12:56 阅读数:3617 终于还是要对Spring进行解剖,接下来Spring实战篇系列会以应用了Sprin ...

  9. Spring IoC Container and Spring Bean Example Tutorial

    Spring Framework is built on the Inversion of Control (IOC) principle. Dependency injection is the t ...

随机推荐

  1. markdown下编辑latex数学公式

    在利用为知笔记编写笔记的时候,有时需要用的markdown,只要把文件名加上后缀.md,就可以使用markdown语法,以下介绍在markdown下编辑latex数学公式. 使用LaTeX写公式的基本 ...

  2. SQL 函数

    一.数学函数 数学函数主要用于处理数字,包括整型.浮点数等. ABS(x) 返回x的绝对值 SELECT ABS(-1) -- 返回1 CEIL(x),CEILING(x) 返回大于或等于x的最小整数 ...

  3. map与mapPartitions

    区别在于sc.map是将RDD下的所有行数据统计处理.而sc.mapPartitions是按RDD分区进行数据统计处理. 测试一下: val data = sc.parallelize(1 to 6, ...

  4. Hark的数据结构与算法练习之桶排序

    算法说明 桶排序的逻辑其实特别好理解,它是一种纯粹的分而治之的排序方法. 举个例子简单说一下大家就知道精髓了. 假如对11,4,2,13,22,24,20 进行排序. 那么,我们将4和2放在一起,将1 ...

  5. CodeForces 300C --数论

    A - A Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit Statu ...

  6. linux中使用top获取进程的资源占用信息

    在linux中使用top获取进程的资源占用信息: Cpu(s):  1.0%us,  0.0%sy,  0.0%ni, 98.3%id,  0.7%wa,  0.0%hi,  0.0%si,  0.0 ...

  7. http://blog.csdn.net/jiazimo/article/details/17265061

    http://blog.csdn.net/jiazimo/article/details/17265061

  8. ZOJ 3157 Weapon

    题目传送门 题意:就是CF round# 329 B 的升级版,要求出相交点的个数 分析:逆序数用树状数组维护,求出非逆序数,然后所有情况(n * (n - 1)) / 2减之就是逆序数个数. #in ...

  9. Edmond_Karp算法

    核心思想:通过bfs不断在网络中寻找最短的增广路,从而求得最大流.时间复杂度O(VE^) 算法模板: int Edmond_Karp(int s,int t) { ; memset(flow,,siz ...

  10. python 代码片段7

    #coding=utf-8 #列表 book=['python','development',8] book.append(2008) print book book.insert(1,'web') ...