Index

A B C D E F G H I J L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCEPT_CHARSET - Enum constant in enum class com.xxl.tool.http.http.enums.Header
告诉服务器客户端可以接受的字符编码集 可选值: - UTF-8:最常用的字符编码,支持所有语言 - GBK:主要用于中文编码
acquire() - Method in class com.xxl.tool.concurrent.TokenBucket
阻塞获取令牌
acquire(int) - Method in class com.xxl.tool.concurrent.TokenBucket
阻塞获取令牌
addDays(Date, long) - Static method in class com.xxl.tool.core.DateTool
add Days
addHours(Date, long) - Static method in class com.xxl.tool.core.DateTool
add Hours
addLast(PipelineHandler) - Method in class com.xxl.tool.pipeline.Pipeline
add a chain to the tail
addLasts(PipelineHandler...) - Method in class com.xxl.tool.pipeline.Pipeline
add chain list to the tail
addMilliseconds(Date, long) - Static method in class com.xxl.tool.core.DateTool
add Milliseconds
addMinutes(Date, long) - Static method in class com.xxl.tool.core.DateTool
add Minutes
addMonths(Date, long) - Static method in class com.xxl.tool.core.DateTool
add Months
addSeconds(Date, long) - Static method in class com.xxl.tool.core.DateTool
add Seconds
addWeeks(Date, long) - Static method in class com.xxl.tool.core.DateTool
add Weeks
addYears(Date, long) - Static method in class com.xxl.tool.core.DateTool
add Years
after(HttpRequest, HttpResponse) - Method in interface com.xxl.tool.http.http.iface.HttpInterceptor
after execute
afterSingletonsInstantiated() - Method in class com.xxl.tool.pipeline.support.SpringPipelineExecutor
 
alias - Variable in class com.xxl.tool.emoji.model.AliasCandidate
 
AliasCandidate - Class in com.xxl.tool.emoji.model
alias candidate
AliasCandidate(String, String, String) - Constructor for class com.xxl.tool.emoji.model.AliasCandidate
 
ALIASES - Enum constant in enum class com.xxl.tool.emoji.encode.EmojiEncode
encode unicode to aliases replace emoji unicode by one of their first alias (between 2 ':') [unicode emoji >> first alias ]
align() - Element in annotation interface com.xxl.tool.excel.annotation.ExcelField
cell align
ArithmeticTextCreator() - Constructor for class com.xxl.tool.captcha.CaptchaTool.ArithmeticTextCreator
 
ArrayTool - Class in com.xxl.tool.core
Array Tool
ArrayTool() - Constructor for class com.xxl.tool.core.ArrayTool
 
asMap() - Method in interface com.xxl.tool.cache.iface.Cache
返回 键-值 映射,仅包括有效数据
asMap() - Method in class com.xxl.tool.cache.impl.NoCache
 
asMap() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
assertNotNull(Object, String) - Static method in class com.xxl.tool.captcha.CaptchaTool
 
AssertTool - Class in com.xxl.tool.core
 
AssertTool() - Constructor for class com.xxl.tool.core.AssertTool
 
auth(String) - Method in class com.xxl.tool.http.client.HttpClient
设置鉴权信息
auth(String) - Method in class com.xxl.tool.http.http.HttpRequest
设置鉴权信息
AUTHORIZATION - Enum constant in enum class com.xxl.tool.http.http.enums.Header
HTTP 身份验证机制 可选方式: - Basic Auth:基本身份验证,使用用户名和密码进行加密传输 - Bearer Token:通常用于 OAuth2 认证,Token 放在请求头的 Authorization 字段中,格式为 Bearer - Digest Auth:摘要身份验证,一种更安全的认证方式,它通过 MD5 哈希算法对用户名、密码和请求数据进行加密 - API Key: API 密钥认证,通过在请求头中包含一个特殊的 API Key 来标识请求的合法性

B

Base64Tool - Class in com.xxl.tool.encrypt
base64 tool
Base64Tool() - Constructor for class com.xxl.tool.encrypt.Base64Tool
 
before(HttpRequest) - Method in interface com.xxl.tool.http.http.iface.HttpInterceptor
before execute
betweenDay(Date, Date) - Static method in class com.xxl.tool.core.DateTool
between day
betweenHour(Date, Date) - Static method in class com.xxl.tool.core.DateTool
between hour
betweenMinute(Date, Date) - Static method in class com.xxl.tool.core.DateTool
between minute
betweenMonth(Date, Date) - Static method in class com.xxl.tool.core.DateTool
between month
betweenSecond(Date, Date) - Static method in class com.xxl.tool.core.DateTool
between second
betweenWeek(Date, Date) - Static method in class com.xxl.tool.core.DateTool
between week
betweenYear(Date, Date) - Static method in class com.xxl.tool.core.DateTool
between year
bilinearInterpolate(float, float, int, int, int, int) - Static method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
双线性插值(bilinear interpolation)算法,用于计算图像处理中的像素值。
BizException - Exception in com.xxl.tool.exception
 
BizException() - Constructor for exception com.xxl.tool.exception.BizException
 
BizException(String) - Constructor for exception com.xxl.tool.exception.BizException
 
BizException(Throwable) - Constructor for exception com.xxl.tool.exception.BizException
 
body(String) - Method in class com.xxl.tool.http.http.HttpRequest
设置请求体 body
breakToFail() - Method in class com.xxl.tool.pipeline.PipelineContext
brank pipeline and response fail
breakToFail(Response<Object>) - Method in class com.xxl.tool.pipeline.PipelineContext
brank pipeline and response fail
BUFFER_SIZE - Static variable in class com.xxl.tool.io.IOTool
default buffer size
build() - Method in class com.xxl.tool.cache.CacheTool
build cache
build() - Static method in class com.xxl.tool.captcha.CaptchaTool
create captcha tool
byteToHex(byte[]) - Static method in class com.xxl.tool.encrypt.HexTool
byte to hex

C

cache - Variable in class com.xxl.tool.cache.CacheTool
缓存实现实例
cache(CacheType) - Method in class com.xxl.tool.cache.CacheTool
设置 缓存类型
Cache<K,V> - Interface in com.xxl.tool.cache.iface
Cache Interface
CacheKey<K> - Class in com.xxl.tool.cache.model
Cache Key
CacheKey(K) - Constructor for class com.xxl.tool.cache.model.CacheKey
 
CacheListener<K,V> - Class in com.xxl.tool.cache.iface
Cache Listener
CacheListener() - Constructor for class com.xxl.tool.cache.iface.CacheListener
 
CacheLoader<K,V> - Class in com.xxl.tool.cache.iface
Cache Loader
CacheLoader() - Constructor for class com.xxl.tool.cache.iface.CacheLoader
 
cacheMap - Variable in class com.xxl.tool.cache.impl.ReentrantCache
缓存数据
CacheObject<K,V> - Class in com.xxl.tool.cache.model
Cache Object
CacheObject(K, V, long, boolean) - Constructor for class com.xxl.tool.cache.model.CacheObject
构造
CacheTool<K,V> - Class in com.xxl.tool.cache
Cache Tool
CacheTool() - Constructor for class com.xxl.tool.cache.CacheTool
 
cacheType - Variable in class com.xxl.tool.cache.CacheTool
缓存类型
CacheType - Enum Class in com.xxl.tool.cache
Cache Type
capacity - Variable in class com.xxl.tool.cache.CacheTool
缓存容量, 0 表示无限制
capacity - Variable in class com.xxl.tool.cache.impl.ReentrantCache
缓存容量, 0 表示无限制
capacity() - Method in interface com.xxl.tool.cache.iface.Cache
缓存容量, 0 表示无限制
capacity() - Method in class com.xxl.tool.cache.impl.NoCache
 
capacity() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
capacity(int) - Method in class com.xxl.tool.cache.CacheTool
设置 容量
CaptchaTool - Class in com.xxl.tool.captcha
captcha tool
CaptchaTool() - Constructor for class com.xxl.tool.captcha.CaptchaTool
 
CaptchaTool.ArithmeticTextCreator - Class in com.xxl.tool.captcha
arithmetic text creator
CaptchaTool.DefaultTextCreator - Class in com.xxl.tool.captcha
default text creator
CaptchaTool.DistortedEngine - Interface in com.xxl.tool.captcha
image distorted engine
CaptchaTool.FishEyeDistorted - Class in com.xxl.tool.captcha
鱼眼效果
CaptchaTool.NoneDistorted - Class in com.xxl.tool.captcha
none distorted engine
CaptchaTool.RippleDistorted - Class in com.xxl.tool.captcha
波纹效果
CaptchaTool.ShadowDistorted - Class in com.xxl.tool.captcha
阴影效果
CaptchaTool.TextCreator - Interface in com.xxl.tool.captcha
text creator
CaptchaTool.TextResult - Class in com.xxl.tool.captcha
text result
CaptchaTool.WaterRippleDistorted - Class in com.xxl.tool.captcha
水波纹效果
clamp(int) - Static method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
将值 x 限制在区间 [0, 255] 范围内。
clamp(int, int, int) - Static method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
将值 x 限制在区间 [a, b] 范围内。
ClassTool - Class in com.xxl.tool.core
Class Tool
ClassTool() - Constructor for class com.xxl.tool.core.ClassTool
 
clean(File) - Static method in class com.xxl.tool.io.FileTool
clean directory
clean(File, boolean) - Static method in class com.xxl.tool.io.FileTool
clean directory
clean(String) - Static method in class com.xxl.tool.io.FileTool
clean directory
clear() - Method in interface com.xxl.tool.cache.iface.Cache
清空缓存对象
clear() - Method in class com.xxl.tool.cache.impl.NoCache
 
clear() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
close(Closeable) - Static method in class com.xxl.tool.io.IOTool
close the supplied Closeable, ignore exceptions
CODE_400 - Enum constant in enum class com.xxl.tool.response.ResponseCode
 
CODE_401 - Enum constant in enum class com.xxl.tool.response.ResponseCode
 
CODE_500 - Enum constant in enum class com.xxl.tool.response.ResponseCode
 
CODE_501 - Enum constant in enum class com.xxl.tool.response.ResponseCode
 
CODE_502 - Enum constant in enum class com.xxl.tool.response.ResponseCode
 
CollectionTool - Class in com.xxl.tool.core
Collection Tool
CollectionTool() - Constructor for class com.xxl.tool.core.CollectionTool
 
com.xxl.tool - package com.xxl.tool
 
com.xxl.tool.auth - package com.xxl.tool.auth
 
com.xxl.tool.cache - package com.xxl.tool.cache
 
com.xxl.tool.cache.iface - package com.xxl.tool.cache.iface
 
com.xxl.tool.cache.impl - package com.xxl.tool.cache.impl
 
com.xxl.tool.cache.model - package com.xxl.tool.cache.model
 
com.xxl.tool.captcha - package com.xxl.tool.captcha
 
com.xxl.tool.concurrent - package com.xxl.tool.concurrent
 
com.xxl.tool.core - package com.xxl.tool.core
 
com.xxl.tool.deprecated.cache - package com.xxl.tool.deprecated.cache
 
com.xxl.tool.deprecated.cache2 - package com.xxl.tool.deprecated.cache2
 
com.xxl.tool.deprecated.core - package com.xxl.tool.deprecated.core
 
com.xxl.tool.deprecated.fiber - package com.xxl.tool.deprecated.fiber
 
com.xxl.tool.deprecated.fiber.callback - package com.xxl.tool.deprecated.fiber.callback
 
com.xxl.tool.deprecated.http - package com.xxl.tool.deprecated.http
 
com.xxl.tool.deprecated.httprpc - package com.xxl.tool.deprecated.httprpc
 
com.xxl.tool.deprecated.io - package com.xxl.tool.deprecated.io
 
com.xxl.tool.deprecated.json - package com.xxl.tool.deprecated.json
 
com.xxl.tool.deprecated.json.reader - package com.xxl.tool.deprecated.json.reader
 
com.xxl.tool.deprecated.json.writer - package com.xxl.tool.deprecated.json.writer
 
com.xxl.tool.deprecated.response - package com.xxl.tool.deprecated.response
 
com.xxl.tool.emoji - package com.xxl.tool.emoji
 
com.xxl.tool.emoji.encode - package com.xxl.tool.emoji.encode
 
com.xxl.tool.emoji.exception - package com.xxl.tool.emoji.exception
 
com.xxl.tool.emoji.factory - package com.xxl.tool.emoji.factory
 
com.xxl.tool.emoji.fitzpatrick - package com.xxl.tool.emoji.fitzpatrick
 
com.xxl.tool.emoji.loader - package com.xxl.tool.emoji.loader
 
com.xxl.tool.emoji.loader.impl - package com.xxl.tool.emoji.loader.impl
 
com.xxl.tool.emoji.model - package com.xxl.tool.emoji.model
 
com.xxl.tool.emoji.transformer - package com.xxl.tool.emoji.transformer
 
com.xxl.tool.encrypt - package com.xxl.tool.encrypt
 
com.xxl.tool.excel - package com.xxl.tool.excel
 
com.xxl.tool.excel.annotation - package com.xxl.tool.excel.annotation
 
com.xxl.tool.excel.util - package com.xxl.tool.excel.util
 
com.xxl.tool.exception - package com.xxl.tool.exception
 
com.xxl.tool.freemarker - package com.xxl.tool.freemarker
 
com.xxl.tool.gson - package com.xxl.tool.gson
 
com.xxl.tool.http - package com.xxl.tool.http
 
com.xxl.tool.http.client - package com.xxl.tool.http.client
 
com.xxl.tool.http.http - package com.xxl.tool.http.http
 
com.xxl.tool.http.http.enums - package com.xxl.tool.http.http.enums
 
com.xxl.tool.http.http.iface - package com.xxl.tool.http.http.iface
 
com.xxl.tool.id - package com.xxl.tool.id
 
com.xxl.tool.io - package com.xxl.tool.io
 
com.xxl.tool.jsonrpc - package com.xxl.tool.jsonrpc
 
com.xxl.tool.jsonrpc.model - package com.xxl.tool.jsonrpc.model
 
com.xxl.tool.pipeline - package com.xxl.tool.pipeline
 
com.xxl.tool.pipeline.annotation - package com.xxl.tool.pipeline.annotation
 
com.xxl.tool.pipeline.config - package com.xxl.tool.pipeline.config
 
com.xxl.tool.pipeline.config.impl - package com.xxl.tool.pipeline.config.impl
 
com.xxl.tool.pipeline.support - package com.xxl.tool.pipeline.support
 
com.xxl.tool.response - package com.xxl.tool.response
 
com.xxl.tool.serializer - package com.xxl.tool.serializer
 
com.xxl.tool.serializer.impl - package com.xxl.tool.serializer.impl
 
CONNECTION - Enum constant in enum class com.xxl.tool.http.http.enums.Header
控制当前连接的行为,决定是否复用连接或在请求完成后关闭连接。
connectTimeout(int) - Method in class com.xxl.tool.http.http.HttpRequest
设置连接超时时间
consume(List<T>) - Method in interface com.xxl.tool.concurrent.MessageQueue.MessageConsumer
batch accept message
contains(Object[], Object) - Static method in class com.xxl.tool.core.ArrayTool
check array contains object
contains(Collection<?>, Object) - Static method in class com.xxl.tool.core.CollectionTool
Returns true if the value in collections.
containsKey(K) - Method in interface com.xxl.tool.cache.iface.Cache
是否包含key
containsKey(K) - Method in class com.xxl.tool.cache.impl.NoCache
 
containsKey(K) - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
CONTENT_TYPE - Enum constant in enum class com.xxl.tool.http.http.enums.Header
资源的 MIME 类型,告诉服务器实际发送的数据类型。
contentType(ContentType) - Method in class com.xxl.tool.http.http.HttpRequest
设置Content-Type
ContentType - Enum Class in com.xxl.tool.http.http.enums
Content Type
convolveAndTranspose(Kernel, int[], int[], int, int, boolean, boolean) - Static method in class com.xxl.tool.captcha.CaptchaTool.ShadowDistorted
图像卷积 1、功能:图像模糊、锐化、边缘检测等。
cookie(String) - Method in class com.xxl.tool.http.http.HttpResponse
获取指定 Cookie
cookie(String, String) - Method in class com.xxl.tool.http.client.HttpClient
设置Cookie
cookie(String, String) - Method in class com.xxl.tool.http.http.HttpRequest
设置Cookie
cookie(Map<String, String>) - Method in class com.xxl.tool.http.client.HttpClient
设置Cookie,覆盖更新
cookie(Map<String, String>) - Method in class com.xxl.tool.http.http.HttpRequest
设置Cookie,覆盖更新
COOKIE - Enum constant in enum class com.xxl.tool.http.http.enums.Header
请求头中包含的Cookie信息 格式: - name1=value1; name2=value2; name3=value3
cookies() - Method in class com.xxl.tool.http.http.HttpResponse
Http 请求响应 Cookie
CookieTool - Class in com.xxl.tool.http
Cookie Tool
CookieTool() - Constructor for class com.xxl.tool.http.CookieTool
 
copy(byte[], OutputStream) - Static method in class com.xxl.tool.io.IOTool
copy from InputStream to OutputStream 1、will close output streams when done.
copy(byte[], OutputStream, boolean) - Static method in class com.xxl.tool.io.IOTool
copy from InputStream to OutputStream
copy(File, File, boolean) - Static method in class com.xxl.tool.io.FileTool
copy file
copy(InputStream, OutputStream) - Static method in class com.xxl.tool.io.IOTool
copy from InputStream to OutputStream, close both streams when done.
copy(InputStream, OutputStream, boolean, boolean) - Static method in class com.xxl.tool.io.IOTool
copy from InputStream to OutputStream,
copy(String, String, boolean) - Static method in class com.xxl.tool.io.FileTool
copy file
copy(Path, Path, boolean) - Static method in class com.xxl.tool.io.FileTool
copy file
copy(Path, Path, StandardCopyOption...) - Static method in class com.xxl.tool.io.FileTool
copy file 1、source must exists 2、source only support file (todo: support directory) 3、destination file can not be same as source file 4、destination can not be sub of source
countMatches(String, String) - Static method in class com.xxl.tool.core.StringTool
Count matches
create() - Method in class com.xxl.tool.captcha.CaptchaTool.ArithmeticTextCreator
 
create() - Method in class com.xxl.tool.captcha.CaptchaTool.DefaultTextCreator
 
create() - Method in interface com.xxl.tool.captcha.CaptchaTool.TextCreator
 
create(double) - Static method in class com.xxl.tool.concurrent.TokenBucket
create TokenBucket with smoothBursty
create(double, long, TimeUnit) - Static method in class com.xxl.tool.concurrent.TokenBucket
create TokenBucket with smooth-warming-up
create(double, long, TimeUnit, double) - Static method in class com.xxl.tool.concurrent.TokenBucket
create TokenBucket with smooth-warming-up
create(double, Duration) - Static method in class com.xxl.tool.concurrent.TokenBucket
create TokenBucket with smooth-warming-up
create(int) - Method in class com.xxl.tool.captcha.CaptchaTool.DefaultTextCreator
create text with length
createClient() - Static method in class com.xxl.tool.http.HttpTool
build HttpClient
createCompatibleDestImage(BufferedImage) - Static method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
创建兼容的图像
createDirectories(File) - Static method in class com.xxl.tool.io.FileTool
create directories 1、will create all necessary parent directories
createFile(File) - Static method in class com.xxl.tool.io.FileTool
create actual file on disk
createFile(String) - Static method in class com.xxl.tool.io.FileTool
create actual file on disk
createFile(String, String) - Static method in class com.xxl.tool.io.FileTool
create actual file on disk
createGet(String) - Static method in class com.xxl.tool.http.HttpTool
build GET HttpRequest
createImage(CaptchaTool.TextResult) - Method in class com.xxl.tool.captcha.CaptchaTool
create captcha image
createParentDirectories(File) - Static method in class com.xxl.tool.io.FileTool
create parent directories of file 1、will create all necessary parent directories
createPost(String) - Static method in class com.xxl.tool.http.HttpTool
build POST HttpRequest
createRequest() - Static method in class com.xxl.tool.http.HttpTool
build HttpRequest
createRequest(String) - Static method in class com.xxl.tool.http.HttpTool
build HttpRequest
createStarted() - Static method in class com.xxl.tool.concurrent.TokenBucket.Stopwatch
 
createText() - Method in class com.xxl.tool.captcha.CaptchaTool
create captcha text
createToken(String, Map<String, Object>, long) - Method in class com.xxl.tool.auth.JwtTool
创建 JWT token
createUnstarted() - Static method in class com.xxl.tool.concurrent.TokenBucket.Stopwatch
 
CsvTool - Class in com.xxl.tool.io
CSV Tool
CsvTool() - Constructor for class com.xxl.tool.io.CsvTool
 
CyclicThread - Class in com.xxl.tool.concurrent
Cyclic Thread
CyclicThread(String, boolean, Runnable, long) - Constructor for class com.xxl.tool.concurrent.CyclicThread
 
CyclicThread(String, boolean, Runnable, long, boolean) - Constructor for class com.xxl.tool.concurrent.CyclicThread
constructor
CyclicThread(String, Runnable, long) - Constructor for class com.xxl.tool.concurrent.CyclicThread
 
CyclicThread(String, Runnable, long, boolean) - Constructor for class com.xxl.tool.concurrent.CyclicThread
 

D

DATE - Static variable in class com.xxl.tool.core.DateTool
Such as "2020-12-28"
DATE_TIME - Static variable in class com.xxl.tool.core.DateTool
Such as "2020-12-28 10:00:00"
dateformat() - Element in annotation interface com.xxl.tool.excel.annotation.ExcelField
cell value format, for Date
DateIdTool - Class in com.xxl.tool.id
date id tool
DateIdTool() - Constructor for class com.xxl.tool.id.DateIdTool
 
DateTool - Class in com.xxl.tool.core
date util
DateTool() - Constructor for class com.xxl.tool.core.DateTool
 
decodeStandard(String) - Static method in class com.xxl.tool.encrypt.Base64Tool
标准Base64解码
decodeStandardToBytes(String) - Static method in class com.xxl.tool.encrypt.Base64Tool
标准Base64解码
decodeToUnicode(String) - Static method in class com.xxl.tool.emoji.EmojiTool
decode emoji unicode
decodeToUnicode(String, EmojiEncode) - Static method in class com.xxl.tool.emoji.EmojiTool
replace aliases and html representations by their unicode(modifiers).
decodeUrlSafe(String) - Static method in class com.xxl.tool.encrypt.Base64Tool
URL安全的Base64解码
decodeUrlSafeToBytes(String) - Static method in class com.xxl.tool.encrypt.Base64Tool
URL安全的Base64解码
DEFAULT_USER_AGENT_MAC - Static variable in enum class com.xxl.tool.http.http.enums.Header
default user-agent, for mac
DEFAULT_USER_AGENT_WIN - Static variable in enum class com.xxl.tool.http.http.enums.Header
default user-agent, for windows
DefaultTextCreator() - Constructor for class com.xxl.tool.captcha.CaptchaTool.DefaultTextCreator
 
DefaultTextCreator(int) - Constructor for class com.xxl.tool.captcha.CaptchaTool.DefaultTextCreator
 
DefaultTextCreator(int, String) - Constructor for class com.xxl.tool.captcha.CaptchaTool.DefaultTextCreator
 
DefaultTextCreator(String) - Constructor for class com.xxl.tool.captcha.CaptchaTool.DefaultTextCreator
 
delete(File) - Static method in class com.xxl.tool.io.FileTool
delete file or directory
delete(String) - Static method in class com.xxl.tool.io.FileTool
delete file or directory
DELETE - Enum constant in enum class com.xxl.tool.http.http.enums.Method
 
deserialize(byte[]) - Method in class com.xxl.tool.serializer.impl.JavaSerializer
 
deserialize(byte[]) - Method in class com.xxl.tool.serializer.Serializer
deserialize
destroy() - Method in class com.xxl.tool.pipeline.support.SpringPipelineExecutor
 
disjunction(Collection, Collection) - Static method in class com.xxl.tool.core.CollectionTool
交集的补集 Returns a Collection containing the exclusive disjunction (symmetric difference) of the given Collections.
doPrune() - Method in class com.xxl.tool.cache.impl.FIFOCache
1、清理全部过期对象 2、如清理后依然存满,则删除最早加入的缓存对象;
doPrune() - Method in class com.xxl.tool.cache.impl.LFUCache
1、清理全部过期对象 2、清理后缓存仍存满时,清除最少访问(访问计数最小)的对象;并将其他对象的访问数减去这个最小访问数,以便新对象进入后可以公平计数。
doPrune() - Method in class com.xxl.tool.cache.impl.LRUCache
只 清理全部过期对象,LRU的实现会交给LinkedHashMap
doPrune() - Method in class com.xxl.tool.cache.impl.ReentrantCache
清理实现
子类实现此方法时无需加锁
doPrune() - Method in class com.xxl.tool.cache.impl.UnlimitedCache
 
doWith(Field) - Method in interface com.xxl.tool.core.ReflectionTool.FieldCallback
Perform an operation using the given field.
doWithFields(Class<?>, ReflectionTool.FieldCallback) - Static method in class com.xxl.tool.core.ReflectionTool
iterate processing fields

E

elapsed() - Method in class com.xxl.tool.concurrent.TokenBucket.Stopwatch
 
elapsed(TimeUnit) - Method in class com.xxl.tool.concurrent.TokenBucket.Stopwatch
 
Emoji - Class in com.xxl.tool.emoji.model
emoji obj
Emoji(String, List<String>, List<String>, boolean) - Constructor for class com.xxl.tool.emoji.model.Emoji
 
EmojiDataLoader - Class in com.xxl.tool.emoji.loader
emoji loader
EmojiDataLoader() - Constructor for class com.xxl.tool.emoji.loader.EmojiDataLoader
 
EmojiEncode - Enum Class in com.xxl.tool.emoji.encode
emoji encode type
EmojiFactory - Class in com.xxl.tool.emoji.factory
emoji factory
EmojiFactory() - Constructor for class com.xxl.tool.emoji.factory.EmojiFactory
 
EmojiTool - Class in com.xxl.tool.emoji
emoji tool A flexible emoji library for Java.
EmojiTool() - Constructor for class com.xxl.tool.emoji.EmojiTool
 
EmojiTransformer - Interface in com.xxl.tool.emoji.transformer
emoji transformer
EmojiTrie - Class in com.xxl.tool.emoji.loader
emoji trie 字典树:哈希树的变种,用于统计和排序大量的字符串,最大限度地减少无谓的字符串比较,查询效率比哈希表高。
EmojiTrie(Collection<Emoji>) - Constructor for class com.xxl.tool.emoji.loader.EmojiTrie
construct trie tree
EmojiTrie.Matches - Enum Class in com.xxl.tool.emoji.loader
 
EMPTY - Static variable in class com.xxl.tool.core.StringTool
The empty String "".
encodeStandard(byte[]) - Static method in class com.xxl.tool.encrypt.Base64Tool
标准Base64编码
encodeStandard(String) - Static method in class com.xxl.tool.encrypt.Base64Tool
标准Base64编码 1、示例: SGVsbG8rV29ybGQvMTIzPw 2、场景:普通字符串、二进制数据、邮件
encodeUnicode(String) - Static method in class com.xxl.tool.emoji.EmojiTool
encode emoji unicode
encodeUnicode(String, EmojiEncode) - Static method in class com.xxl.tool.emoji.EmojiTool
encode emoji unicode
encodeUnicode(String, EmojiEncode, FitzpatrickAction) - Static method in class com.xxl.tool.emoji.EmojiTool
encode emoji unicode
encodeUrlSafe(byte[]) - Static method in class com.xxl.tool.encrypt.Base64Tool
URL安全的Base64编码(无填充)
encodeUrlSafe(String) - Static method in class com.xxl.tool.encrypt.Base64Tool
URL安全的Base64编码(无填充) 1、示例:SGVsbG8rV29ybGQvMTIzPw== 2、场景:JWT、URL参数、文件名
equal(Object, Object) - Static method in class com.xxl.tool.core.ObjectTool
Determines whether two possibly-null objects are equal.
equals(Object) - Method in class com.xxl.tool.cache.model.CacheKey
 
equals(Object) - Method in class com.xxl.tool.emoji.model.Emoji
 
equals(String, String) - Static method in class com.xxl.tool.core.StringTool
string equals
EXACTLY - Enum constant in enum class com.xxl.tool.emoji.loader.EmojiTrie.Matches
 
exactMatch() - Method in enum class com.xxl.tool.emoji.loader.EmojiTrie.Matches
 
ExcelField - Annotation Interface in com.xxl.tool.excel.annotation
sheet cell info 支持Java对象数据类型:Boolean、String、Short、Integer、Long、Float、Double、Date 支持Excel的Cell类型为:String
ExcelSheet - Annotation Interface in com.xxl.tool.excel.annotation
excel sheet info
ExcelTool - Class in com.xxl.tool.excel
Excel导入/导出工具 A flexible tool for translating Java objects and Excel documents.
ExcelTool() - Constructor for class com.xxl.tool.excel.ExcelTool
 
execute() - Method in class com.xxl.tool.http.http.HttpRequest
send request
execute(String, Object) - Method in class com.xxl.tool.pipeline.PipelineExecutor
do execute
exists(File) - Static method in class com.xxl.tool.io.FileTool
whether a file exists
exists(String) - Static method in class com.xxl.tool.io.FileTool
is file exist
expireAfterAccess(long) - Method in class com.xxl.tool.cache.CacheTool
设置 过期时长
expireAfterWrite(long) - Method in class com.xxl.tool.cache.CacheTool
设置 过期时长
expireType - Variable in class com.xxl.tool.cache.CacheTool
缓存过期方式: - true: expireAfterWrite , 从缓存写入开始计算,有效期到期则被清除 - false: expireAfterAccess, 从缓存最后一次访问开始计算,有效期到期则被清除
expireType - Variable in class com.xxl.tool.cache.impl.ReentrantCache
缓存过期方式: - true: expireAfterWrite , 从缓存写入开始计算,有效期到期则被清除 - false: expireAfterAccess, 从缓存最后一次访问开始计算,有效期到期则被清除

F

FAILED - Enum constant in enum class com.xxl.tool.pipeline.PipelineStatus
 
FAILURE - Enum constant in enum class com.xxl.tool.response.ResponseCode
 
FieldReflectionUtil - Class in com.xxl.tool.excel.util
api request field, reflect util
FIFO - Enum constant in enum class com.xxl.tool.cache.CacheType
First In First Out
FIFOCache<K,V> - Class in com.xxl.tool.cache.impl
FIFO(first in first out) 先进先出缓存 1、元素持续添加直到存满,触发 清理全部过期对象; 2、清理后依然存满,则删除最早加入的缓存对象; 3、优劣势: - 优势:实现简单; - 劣势,热点数据无法保障常驻内存;
FIFOCache(int, long, boolean) - Constructor for class com.xxl.tool.cache.impl.FIFOCache
 
file(String) - Static method in class com.xxl.tool.io.FileTool
create new file object, not actual file on disk
file(String, String) - Static method in class com.xxl.tool.io.FileTool
create new file object, not actual file on disk
FileTool - Class in com.xxl.tool.io
File Tool
FileTool() - Constructor for class com.xxl.tool.io.FileTool
 
findByStatus(String) - Static method in enum class com.xxl.tool.pipeline.PipelineStatus
find by pipeline status
findEmojis(String) - Static method in class com.xxl.tool.emoji.EmojiTool
find emojis
findField(Class<?>, String) - Static method in class com.xxl.tool.core.ReflectionTool
find field of class by field name
findField(Class<?>, String, Class<?>) - Static method in class com.xxl.tool.core.ReflectionTool
find field of class by field name and field type
findMethod(Class<?>, String, Class<?>...) - Static method in class com.xxl.tool.core.ReflectionTool
find method of class by method method name and params
FishEyeDistorted() - Constructor for class com.xxl.tool.captcha.CaptchaTool.FishEyeDistorted
 
fitzpatrick - Variable in class com.xxl.tool.emoji.model.AliasCandidate
 
Fitzpatrick - Enum Class in com.xxl.tool.emoji.fitzpatrick
Fitzpatrick scale: https://en.wikipedia.org/wiki/Fitzpatrick_scale for Unicode, a numerical classification schema for human skin color.
FitzpatrickAction - Enum Class in com.xxl.tool.emoji.fitzpatrick
Fitzpatrick action
fitzpatrickFromType(String) - Static method in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
 
fitzpatrickFromUnicode(String) - Static method in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
 
form(String, String) - Method in class com.xxl.tool.http.http.HttpRequest
设置表单 form
form(String, List<String>) - Method in class com.xxl.tool.http.http.HttpRequest
设置表单 form
form(Map<String, String>) - Method in class com.xxl.tool.http.http.HttpRequest
设置表单 form,覆盖更新
FORM_URLENCODED - Enum constant in enum class com.xxl.tool.http.http.enums.ContentType
标准表单编码,get请求时用x-www-form-urlencoded编码方式把form数据转换成一个字串(name1=value1&name2=value2…)
format(String, Object...) - Static method in class com.xxl.tool.core.StringTool
format string
format(Date, String) - Static method in class com.xxl.tool.core.DateTool
format Date to String
formatCompact4Digits(double) - Static method in class com.xxl.tool.concurrent.TokenBucket
使用通用科学计数法,保留4位有效数字
formatDate(Date) - Static method in class com.xxl.tool.core.DateTool
format date;like "yyyy-MM-dd"
formatDateTime(Date) - Static method in class com.xxl.tool.core.DateTool
format date;like "yyyy-MM-dd HH:mm:s"
formatTemporal(Temporal, String) - Static method in class com.xxl.tool.core.DateTool
format temporal to String
formatValue(Field, Object) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
参数格式化为String
formatWithMap(String, Map<String, Object>) - Static method in class com.xxl.tool.core.StringTool
format string with map
fromHex(String) - Static method in class com.xxl.tool.encrypt.HexTool
hex to byte
fromJson(String, Class<T>) - Static method in class com.xxl.tool.gson.GsonTool
json 转成 特定的cls的Object
fromJson(String, Type) - Static method in class com.xxl.tool.gson.GsonTool
json 转成 特定的 Type 的Object
fromJson(String, Type, Type...) - Static method in class com.xxl.tool.gson.GsonTool
json 转成 特定的 Type 的Object
fromJsonElement(JsonElement, Class<T>) - Static method in class com.xxl.tool.gson.GsonTool
JsonElement 转成 特定的cls的Object
fromJsonElement(JsonElement, Type) - Static method in class com.xxl.tool.gson.GsonTool
JsonElement 转成 特定的 rawClass 的Object
fromJsonElement(JsonElement, Type, Type...) - Static method in class com.xxl.tool.gson.GsonTool
JsonElement 转成 特定的 Type 的 Object
fromJsonList(String, Class<T>) - Static method in class com.xxl.tool.gson.GsonTool
json 转成 特定的cls的 ArrayList
fromJsonMap(String, Class<K>, Class<V>) - Static method in class com.xxl.tool.gson.GsonTool
json 转成 特定的cls的 HashMap
FtlTool - Class in com.xxl.tool.freemarker
freemarker tool
FtlTool() - Constructor for class com.xxl.tool.freemarker.FtlTool
 
fullString - Variable in class com.xxl.tool.emoji.model.AliasCandidate
 

G

gaussianFilter(BufferedImage, float) - Method in class com.xxl.tool.captcha.CaptchaTool.ShadowDistorted
高斯模糊 1、radius越大,模糊效果越明显,耗时越长; 2、范围,0~20
generateStaticModel(String) - Static method in class com.xxl.tool.freemarker.FtlTool
生成 freemarker 自定义方法
generateUrlParam(Map<String, String>) - Static method in class com.xxl.tool.http.HttpTool
将Map转为 param 字符串
get() - Method in class com.xxl.tool.cache.model.CacheKey
 
get(boolean) - Method in class com.xxl.tool.cache.model.CacheObject
获取值
get(K) - Method in interface com.xxl.tool.cache.iface.Cache
获取缓存对象
get(K) - Method in class com.xxl.tool.cache.impl.NoCache
 
get(K) - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
get(K, CacheLoader<K, V>) - Method in interface com.xxl.tool.cache.iface.Cache
获取缓存对象
get(K, CacheLoader<K, V>) - Method in class com.xxl.tool.cache.impl.NoCache
 
get(K, CacheLoader<K, V>) - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
GET - Enum constant in enum class com.xxl.tool.http.http.enums.Method
 
getAccessCount() - Method in class com.xxl.tool.cache.model.CacheObject
获取访问次数
getAliasCandidates(String) - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
find AliasCandidate (alias) for each emoji alias
getAliases() - Method in class com.xxl.tool.emoji.model.Emoji
 
getAll() - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
 
getAllTags() - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
 
getAlphaNumeric() - Static method in class com.xxl.tool.id.RandomIdTool
get random alpha numeric, default length 20
getAlphaNumeric(int) - Static method in class com.xxl.tool.id.RandomIdTool
get random alpha numeric
getAlphaNumericWithSpecial() - Static method in class com.xxl.tool.id.RandomIdTool
get random alpha numeric with special chars, default length is 20
getAlphaNumericWithSpecial(int) - Static method in class com.xxl.tool.id.RandomIdTool
get random alpha numeric with special chars
getAuth() - Method in class com.xxl.tool.http.http.HttpRequest
 
getAvailablePort() - Static method in class com.xxl.tool.http.IPTool
get a random & available port, synchronized
getAvailablePort(int) - Static method in class com.xxl.tool.http.IPTool
get a available port, base assign port, synchronized
getBackgroundColorFrom() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getBackgroundColorTo() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getBody() - Method in class com.xxl.tool.http.http.HttpRequest
 
getBoolean(Map<? super K, ?>, K) - Static method in class com.xxl.tool.core.MapTool
get Boolean value
getBoolean(Properties, String) - Static method in class com.xxl.tool.core.PropTool
load int boolean
getBorderColor() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getBorderThickness() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getByte(Map<? super K, ?>, K) - Static method in class com.xxl.tool.core.MapTool
get Byte value
getByUnicode(String) - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
 
getCardinalityMap(Collection) - Static method in class com.xxl.tool.core.CollectionTool
元素出现次数 Returns a Map mapping each unique element in the given Collection to an Integer representing the number of occurrences of that element in the Collection.
getCharSpace() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getClaim(String, String) - Method in class com.xxl.tool.auth.JwtTool
获取指定 claim 信息
getCode() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
 
getCode() - Method in class com.xxl.tool.response.Response
 
getCode() - Method in enum class com.xxl.tool.response.ResponseCode
 
getColors() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getConnectTimeout() - Method in class com.xxl.tool.http.http.HttpRequest
 
getContentType() - Method in class com.xxl.tool.http.http.HttpRequest
 
getContextMap() - Method in class com.xxl.tool.pipeline.PipelineContext
 
getCookie() - Method in class com.xxl.tool.http.http.HttpRequest
 
getCookieString() - Method in class com.xxl.tool.http.http.HttpRequest
获取格式化后的 Cookie: name1=value1; name2=value2; name3=value3 (Cookie 格式是一个键值对字符串,多个键值对之间用分号和空格分隔)
getData() - Method in class com.xxl.tool.response.PageModel
 
getData() - Method in class com.xxl.tool.response.Response
 
getDateId() - Static method in class com.xxl.tool.id.DateIdTool
get date id
getDateId(int) - Static method in class com.xxl.tool.id.DateIdTool
get date id, with suffix length
getDec(int) - Static method in class com.xxl.tool.encrypt.HexTool
 
getDesc() - Method in enum class com.xxl.tool.pipeline.PipelineStatus
 
getDigitId() - Static method in class com.xxl.tool.id.RandomIdTool
get random digits, default length 20
getDigitId(int) - Static method in class com.xxl.tool.id.RandomIdTool
get random digits
getDistortedEngines() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getDistortedImage(BufferedImage) - Method in interface com.xxl.tool.captcha.CaptchaTool.DistortedEngine
 
getDistortedImage(BufferedImage) - Method in class com.xxl.tool.captcha.CaptchaTool.FishEyeDistorted
 
getDistortedImage(BufferedImage) - Method in class com.xxl.tool.captcha.CaptchaTool.NoneDistorted
 
getDistortedImage(BufferedImage) - Method in class com.xxl.tool.captcha.CaptchaTool.RippleDistorted
 
getDistortedImage(BufferedImage) - Method in class com.xxl.tool.captcha.CaptchaTool.ShadowDistorted
 
getDistortedImage(BufferedImage) - Method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
 
getDouble(Map<? super K, ?>, K) - Static method in class com.xxl.tool.core.MapTool
get Double value
getDouble(Properties, String) - Static method in class com.xxl.tool.core.PropTool
load double value
getEmoji() - Method in class com.xxl.tool.emoji.model.UnicodeCandidate
 
getEmoji(String) - Method in class com.xxl.tool.emoji.loader.EmojiTrie
find emoji by unicode
getEmojiEndIndex() - Method in class com.xxl.tool.emoji.model.UnicodeCandidate
 
getEmojiStartIndex() - Method in class com.xxl.tool.emoji.model.UnicodeCandidate
 
getEmojiTransformer() - Method in enum class com.xxl.tool.emoji.encode.EmojiEncode
 
getError() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
getExpirationTime(String) - Method in class com.xxl.tool.auth.JwtTool
获取过期时间
getExpiredTime() - Method in class com.xxl.tool.cache.model.CacheObject
获取过期时间,返回 null 表示永不过期
getField(Field, Object) - Static method in class com.xxl.tool.core.ReflectionTool
get field value
getFirstEmojiEndPos(char[], int) - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
find end index of first unicode emoji, starting at index startPos, -1 if not found match the longest matching emoji, when emoji contain others
getFitzpatrick() - Method in class com.xxl.tool.emoji.model.UnicodeCandidate
 
getFitzpatrickEndIndex() - Method in class com.xxl.tool.emoji.model.UnicodeCandidate
 
getFitzpatrickType() - Method in class com.xxl.tool.emoji.model.UnicodeCandidate
 
getFitzpatrickUnicode() - Method in class com.xxl.tool.emoji.model.UnicodeCandidate
 
getFloat(Map<? super K, ?>, K) - Static method in class com.xxl.tool.core.MapTool
get Float value
getFonts() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getFontSize() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getForAlias(String) - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
 
getForm() - Method in class com.xxl.tool.http.http.HttpRequest
 
getForTag(String) - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
 
getHandlerList() - Method in class com.xxl.tool.pipeline.config.PipelineConfig
 
getHandlerList() - Method in class com.xxl.tool.pipeline.Pipeline
 
getHeader() - Method in class com.xxl.tool.http.http.HttpRequest
 
getHeight() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getHex(int) - Static method in class com.xxl.tool.encrypt.HexTool
 
getHtmlDecimal() - Method in class com.xxl.tool.emoji.model.Emoji
 
getHtmlHexadecimal() - Method in class com.xxl.tool.emoji.model.Emoji
 
getIdentityHexString(Object) - Static method in class com.xxl.tool.core.ObjectTool
Return a hex String form of an object's identity hash code.
getIfPresent(K) - Method in interface com.xxl.tool.cache.iface.Cache
获取缓存对象
getIfPresent(K) - Method in class com.xxl.tool.cache.impl.NoCache
 
getIfPresent(K) - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
getInt(Properties, String) - Static method in class com.xxl.tool.core.PropTool
load int value
getInteger(Map<? super K, ?>, K) - Static method in class com.xxl.tool.core.MapTool
get Integer value
getIp() - Static method in class com.xxl.tool.http.IPTool
get ip address
getIsBorderDrawn() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getKey() - Method in class com.xxl.tool.cache.model.CacheObject
 
getLastAccess() - Method in class com.xxl.tool.cache.model.CacheObject
获取上次访问时间
getLocalAddress() - Static method in class com.xxl.tool.http.IPTool
Find first valid IP from local network card
getLong(Map<? super K, ?>, K) - Static method in class com.xxl.tool.core.MapTool
get Long value
getLong(Properties, String) - Static method in class com.xxl.tool.core.PropTool
load long value
getLowercaseId() - Static method in class com.xxl.tool.id.RandomIdTool
get random lowercase letters, default length 20
getLowercaseId(int) - Static method in class com.xxl.tool.id.RandomIdTool
get random lowercase letters
getMethod() - Method in class com.xxl.tool.http.http.HttpRequest
 
getMethod() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
getMethod(Class<?>, String, Class<?>...) - Static method in class com.xxl.tool.core.ClassTool
Determine whether the given class has a public method with the given signature, and return it if available (else return null).
getMsg() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
 
getMsg() - Method in class com.xxl.tool.response.Response
 
getMsg() - Method in enum class com.xxl.tool.response.ResponseCode
 
getName() - Method in class com.xxl.tool.pipeline.config.PipelineConfig
 
getName() - Method in class com.xxl.tool.pipeline.Pipeline
 
getNextUnicodeCandidate(char[], int) - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
find next UnicodeCandidate after given starting index
getNoiseColor() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getNumber(Map<? super K, ?>, K) - Static method in class com.xxl.tool.core.MapTool
get Number value
getOffset() - Method in class com.xxl.tool.response.PageModel
 
getPackageName(Class<?>) - Static method in class com.xxl.tool.core.ReflectionTool
Returns the package name of clazz
getPackageName(String) - Static method in class com.xxl.tool.core.ReflectionTool
Returns the package name of classFullName
getPagesize() - Method in class com.xxl.tool.response.PageModel
 
getParams() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
getPixel(int[], int, int, int, int) - Static method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
获取像素点
getRandomId(String, int) - Static method in class com.xxl.tool.id.RandomIdTool
get random id
getRandomPort() - Static method in class com.xxl.tool.http.IPTool
get a random port in [30000, 39999]
getReadTimeout() - Method in class com.xxl.tool.http.http.HttpRequest
 
getRequest() - Method in class com.xxl.tool.pipeline.PipelineContext
 
getResponse() - Method in class com.xxl.tool.pipeline.PipelineContext
 
getResult() - Method in class com.xxl.tool.captcha.CaptchaTool.TextResult
 
getResult() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
getRGB(BufferedImage, int, int, int, int, int[]) - Static method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
获取 image 的 RGB,从 x,y 开始,w,h 大小;返回结果 RGB 数组;
getSerializer() - Method in enum class com.xxl.tool.serializer.SerializerEnum
 
getService() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
getShort(Map<? super K, ?>, K) - Static method in class com.xxl.tool.core.MapTool
get Short value
getSimpleUUID() - Static method in class com.xxl.tool.id.UUIDTool
generate simple uuid, without "-"
getStatus() - Method in class com.xxl.tool.pipeline.Pipeline
 
getStatus() - Method in enum class com.xxl.tool.pipeline.PipelineStatus
 
getString(Map<? super K, ?>, K) - Static method in class com.xxl.tool.core.MapTool
get string value
getString(Properties, String) - Static method in class com.xxl.tool.core.PropTool
load string value
getString(Properties, String, String) - Static method in class com.xxl.tool.core.PropTool
load string value with default value
getTags() - Method in class com.xxl.tool.emoji.model.Emoji
 
getText() - Method in class com.xxl.tool.captcha.CaptchaTool.TextResult
 
getTextCreator() - Method in class com.xxl.tool.captcha.CaptchaTool
 
getTotal() - Method in class com.xxl.tool.response.PageModel
 
getTtl() - Method in class com.xxl.tool.cache.model.CacheObject
 
getUnicode() - Method in class com.xxl.tool.emoji.model.Emoji
 
getUnicode(Fitzpatrick) - Method in class com.xxl.tool.emoji.model.Emoji
 
getUnicodeCandidates(String) - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
find UnicodeCandidate (unicode) for each unicode emoji, include Fitzpatrick modifier if follwing emoji.
getUppercaseId() - Static method in class com.xxl.tool.id.RandomIdTool
get random uppercase letters, default length 20
getUppercaseId(int) - Static method in class com.xxl.tool.id.RandomIdTool
get random uppercase letters
getUrl() - Method in class com.xxl.tool.http.http.HttpRequest
 
getUUID() - Static method in class com.xxl.tool.id.UUIDTool
generate uuid
getValue() - Method in class com.xxl.tool.cache.model.CacheObject
 
getValue() - Method in enum class com.xxl.tool.http.http.enums.ContentType
获取 value
getValue() - Method in enum class com.xxl.tool.http.http.enums.Header
 
getValue(HttpServletRequest, String) - Static method in class com.xxl.tool.http.CookieTool
查询 cookie value
getValue(Charset) - Method in enum class com.xxl.tool.http.http.enums.ContentType
获取 value + charset
getWidth() - Method in class com.xxl.tool.captcha.CaptchaTool
 
GsonTool - Class in com.xxl.tool.gson
gson tool
GsonTool() - Constructor for class com.xxl.tool.gson.GsonTool
 

H

handle(PipelineContext) - Method in class com.xxl.tool.pipeline.PipelineChain
do handler
handle(PipelineContext) - Method in class com.xxl.tool.pipeline.PipelineHandler
do handle
Handler - Annotation Interface in com.xxl.tool.pipeline.annotation
pipeline handler annotion
hasFitzpatrick() - Method in class com.xxl.tool.emoji.model.UnicodeCandidate
 
hashCode() - Method in class com.xxl.tool.cache.model.CacheKey
 
hashCode() - Method in class com.xxl.tool.emoji.model.Emoji
 
HEAD - Enum constant in enum class com.xxl.tool.http.http.enums.Method
 
headColor() - Element in annotation interface com.xxl.tool.excel.annotation.ExcelSheet
sheet 首行颜色
header(String, String) - Method in class com.xxl.tool.http.client.HttpClient
设置请求头
header(String, String) - Method in class com.xxl.tool.http.http.HttpRequest
设置请求头
header(String, String) - Method in class com.xxl.tool.jsonrpc.JsonRpcClient
 
header(Map<String, String>) - Method in class com.xxl.tool.http.client.HttpClient
设置请求头,覆盖更新
header(Map<String, String>) - Method in class com.xxl.tool.http.http.HttpRequest
设置请求头,覆盖更新
header(Map<String, String>) - Method in class com.xxl.tool.jsonrpc.JsonRpcClient
 
Header - Enum Class in com.xxl.tool.http.http.enums
HTTP Header
headerDefault() - Method in class com.xxl.tool.http.http.HttpRequest
设置请求头, 默认值
hexToByte(String) - Static method in class com.xxl.tool.encrypt.HexTool
hex to byte
HexTool - Class in com.xxl.tool.encrypt
hex tool
HexTool() - Constructor for class com.xxl.tool.encrypt.HexTool
 
hitCount - Variable in class com.xxl.tool.cache.impl.ReentrantCache
缓存命中计数
hitCount() - Method in interface com.xxl.tool.cache.iface.Cache
 
hitCount() - Method in class com.xxl.tool.cache.impl.NoCache
 
hitCount() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
HTML_DECIMAL - Enum constant in enum class com.xxl.tool.emoji.encode.EmojiEncode
encode unicode html decimal replace unicode emoji by their html representation.
HTML_HEX_DECIMAL - Enum constant in enum class com.xxl.tool.emoji.encode.EmojiEncode
encode unicode html hex decimal replace unicode emoji by their html hex representation [unicode emoji >> html hex ]
HttpClient - Class in com.xxl.tool.http.client
http client
HttpClient() - Constructor for class com.xxl.tool.http.client.HttpClient
 
HttpClientMethod - Annotation Interface in com.xxl.tool.http.client
http client method
HttpClientService - Annotation Interface in com.xxl.tool.http.client
http client service
HttpInterceptor - Interface in com.xxl.tool.http.http.iface
 
HttpRequest - Class in com.xxl.tool.http.http
Http Request
HttpRequest() - Constructor for class com.xxl.tool.http.http.HttpRequest
 
HttpResponse - Class in com.xxl.tool.http.http
Http Response
HttpResponse() - Constructor for class com.xxl.tool.http.http.HttpResponse
 
HttpTool - Class in com.xxl.tool.http
 
HttpTool() - Constructor for class com.xxl.tool.http.HttpTool
 

I

identityToString(Object) - Static method in class com.xxl.tool.core.ObjectTool
Return a String representation of the specified Object's identity.
ignore() - Element in annotation interface com.xxl.tool.excel.annotation.ExcelField
ignore when excel write and read (default false)
IGNORE - Enum constant in enum class com.xxl.tool.emoji.fitzpatrick.FitzpatrickAction
IGNORE Fitzpatrick modifier
IMPOSSIBLE - Enum constant in enum class com.xxl.tool.emoji.loader.EmojiTrie.Matches
 
impossibleMatch() - Method in enum class com.xxl.tool.emoji.loader.EmojiTrie.Matches
 
INDEX_NOT_FOUND - Static variable in class com.xxl.tool.core.ArrayTool
 
INDEX_NOT_FOUND - Static variable in class com.xxl.tool.core.StringTool
Represents a failed index search.
indexOf(Object[], Object) - Static method in class com.xxl.tool.core.ArrayTool
get index of object in array
init(Configuration) - Static method in class com.xxl.tool.freemarker.FtlTool
init with specified freemarkerConfig
init(String) - Static method in class com.xxl.tool.freemarker.FtlTool
init with prop
interceptor(HttpInterceptor) - Method in class com.xxl.tool.http.http.HttpRequest
设置拦截器
interceptor(List<HttpInterceptor>) - Method in class com.xxl.tool.http.http.HttpRequest
设置拦截器,覆盖更新
intersection(Collection, Collection) - Static method in class com.xxl.tool.core.CollectionTool
交集 Returns a Collection containing the intersection of the given Collections.
invoke(String) - Method in class com.xxl.tool.jsonrpc.JsonRpcServer
invoke (with origin data)
invoke(String, String, Object[], Class<T>) - Method in class com.xxl.tool.jsonrpc.JsonRpcClient
invoke with params
invoke(String, String, Object[], Class<T>, Type[]) - Method in class com.xxl.tool.jsonrpc.JsonRpcClient
invoke with params
invokeMethod(Method, Object, Object...) - Static method in class com.xxl.tool.core.ReflectionTool
invoke method
IOTool - Class in com.xxl.tool.io
IO Tool
IOTool() - Constructor for class com.xxl.tool.io.IOTool
 
IPTool - Class in com.xxl.tool.http
ip tool
IPTool() - Constructor for class com.xxl.tool.http.IPTool
 
isAnyHost(String) - Static method in class com.xxl.tool.http.IPTool
host is any-host
isArray(Object) - Static method in class com.xxl.tool.core.ObjectTool
Determines whether the given object is an array.
isAssignable(Class<?>, Class<?>) - Static method in class com.xxl.tool.core.ClassTool
Check if the super-type may be assigned to the sub-type Considers primitive wrapper classes as assignable to the corresponding primitive types.
isAssignable(Type, Type) - Static method in class com.xxl.tool.core.TypeTool
Check if the right-hand side type may be assigned to the left-hand side type
isBlank(String) - Static method in class com.xxl.tool.core.StringTool
is blank
isBlank(String, String) - Static method in class com.xxl.tool.core.AssertTool
Assert that a string is blank.
isBreak() - Method in class com.xxl.tool.pipeline.PipelineContext
 
isDirectory(File) - Static method in class com.xxl.tool.io.FileTool
is directory
isDirectory(String) - Static method in class com.xxl.tool.io.FileTool
is directory
isEmoji(char[]) - Method in class com.xxl.tool.emoji.loader.EmojiTrie
check if contain (full or partially) an emoji.
isEmoji(String) - Static method in class com.xxl.tool.emoji.EmojiTool
is emoji
isEmpty() - Method in interface com.xxl.tool.cache.iface.Cache
缓存是否为空
isEmpty() - Method in class com.xxl.tool.cache.impl.NoCache
 
isEmpty() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
isEmpty(File) - Static method in class com.xxl.tool.io.FileTool
is empty file or directory
isEmpty(Object[]) - Static method in class com.xxl.tool.core.ArrayTool
check array is empty
isEmpty(Object[]) - Static method in class com.xxl.tool.core.ObjectTool
Determine whether the given array is empty:
isEmpty(String) - Static method in class com.xxl.tool.core.StringTool
is empty
isEmpty(Collection) - Static method in class com.xxl.tool.core.CollectionTool
Null-safe check if the specified collection is empty.
isEmpty(Map<?, ?>) - Static method in class com.xxl.tool.core.MapTool
check if is empty.
isError() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
is error
isExpired() - Method in class com.xxl.tool.cache.model.CacheObject
判断是否过期
isFalse(boolean, String) - Static method in class com.xxl.tool.core.AssertTool
Assert that a boolean expression evaluating to false is true.
isFile(File) - Static method in class com.xxl.tool.io.FileTool
is file
isFile(String) - Static method in class com.xxl.tool.io.FileTool
is file
isFull() - Method in interface com.xxl.tool.cache.iface.Cache
缓存是否已满,仅用于有空间限制的缓存对象
isFull() - Method in class com.xxl.tool.cache.impl.NoCache
 
isFull() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
isHttp(String) - Static method in class com.xxl.tool.http.HttpTool
检测是否http
isHttps(String) - Static method in class com.xxl.tool.http.HttpTool
检测是否https
isLocalHost(String) - Static method in class com.xxl.tool.http.IPTool
host is localhost
isNotBlank(String) - Static method in class com.xxl.tool.core.StringTool
is not blank
isNotEmpty(File) - Static method in class com.xxl.tool.io.FileTool
is not empty, file or directory
isNotEmpty(Object[]) - Static method in class com.xxl.tool.core.ArrayTool
check array is not empty
isNotEmpty(String) - Static method in class com.xxl.tool.core.StringTool
is not empty
isNotEmpty(Collection) - Static method in class com.xxl.tool.core.CollectionTool
Null-safe check if the specified collection is not empty.
isNotEmpty(Map<?, ?>) - Static method in class com.xxl.tool.core.MapTool
check if is not empty.
isNull(Object, String) - Static method in class com.xxl.tool.core.AssertTool
Assert that an object is null.
isNumeric(String) - Static method in class com.xxl.tool.core.StringTool
isNumeric
isPortInUsed(int) - Static method in class com.xxl.tool.http.IPTool
port in used in-os or not
isPublicStaticFinal(Field) - Static method in class com.xxl.tool.core.ReflectionTool
check field is public static final
isRunning() - Method in class com.xxl.tool.concurrent.TokenBucket.Stopwatch
 
isSameDay(Calendar, Calendar) - Static method in class com.xxl.tool.core.DateTool
is same day
isSameFile(File, File) - Static method in class com.xxl.tool.io.FileTool
is same file
isSub(Path, Path) - Static method in class com.xxl.tool.io.FileTool
is sub file of parent
isSuccess() - Method in class com.xxl.tool.http.http.HttpResponse
请求是否成功
isSuccess() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
is success
isSuccess() - Method in class com.xxl.tool.response.Response
is success
isSuccess(Response<?>) - Static method in class com.xxl.tool.response.Response
is success
isTrue(boolean, String) - Static method in class com.xxl.tool.core.AssertTool
Assert a boolean expression, throwing an IllegalArgumentException if the expression evaluates to false.
isUseCaches() - Method in class com.xxl.tool.http.http.HttpRequest
 
isValidLocalHost(String) - Static method in class com.xxl.tool.http.IPTool
host is valid
isValidPort(int) - Static method in class com.xxl.tool.http.IPTool
is valid port
isValidV4Address(String) - Static method in class com.xxl.tool.http.IPTool
is valid ipv4 address.
isValidV4Address(InetAddress) - Static method in class com.xxl.tool.http.IPTool
is valid ipv4 InetAddress

J

JAVA - Enum constant in enum class com.xxl.tool.serializer.SerializerEnum
 
JavaSerializer - Class in com.xxl.tool.serializer.impl
serializer
JavaSerializer() - Constructor for class com.xxl.tool.serializer.impl.JavaSerializer
 
join(List<String>, String) - Static method in class com.xxl.tool.core.StringTool
join array to string
join(List<String>, String, boolean, boolean) - Static method in class com.xxl.tool.core.StringTool
join array to string
JSON - Enum constant in enum class com.xxl.tool.http.http.enums.ContentType
JSON编码
JsonRpcClient - Class in com.xxl.tool.jsonrpc
json-rpc client
JsonRpcClient() - Constructor for class com.xxl.tool.jsonrpc.JsonRpcClient
 
JsonRpcRequest - Class in com.xxl.tool.jsonrpc.model
request for json-rpc
JsonRpcRequest() - Constructor for class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
JsonRpcRequest(String, String, JsonElement[]) - Constructor for class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
JsonRpcResponse - Class in com.xxl.tool.jsonrpc.model
response for json-rpc
JsonRpcResponse() - Constructor for class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
JsonRpcResponseError - Class in com.xxl.tool.jsonrpc.model
response error for json-rpc
JsonRpcResponseError() - Constructor for class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
 
JsonRpcResponseError(int, String) - Constructor for class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
 
JsonRpcServer - Class in com.xxl.tool.jsonrpc
json-rpc server
JsonRpcServer() - Constructor for class com.xxl.tool.jsonrpc.JsonRpcServer
 
JwtTool - Class in com.xxl.tool.auth
jwt tool
JwtTool(JWSSigner, JWSVerifier) - Constructor for class com.xxl.tool.auth.JwtTool
 
JwtTool(String) - Constructor for class com.xxl.tool.auth.JwtTool
 

L

LFU - Enum constant in enum class com.xxl.tool.cache.CacheType
Least Frequently Used
LFUCache<K,V> - Class in com.xxl.tool.cache.impl
LFU(least frequently used) 最少使用率缓存 1、元素持续添加直到存满,触发 清理全部过期对象; 2、清理后缓存仍存满时,清除最少访问(访问计数最小)的对象;并将其他对象的访问数减去这个最小访问数,以便新对象进入后可以公平计数。
LFUCache(int, long, boolean) - Constructor for class com.xxl.tool.cache.impl.LFUCache
 
listener - Variable in class com.xxl.tool.cache.CacheTool
缓存变更(删除)监听器
listener - Variable in class com.xxl.tool.cache.impl.ReentrantCache
缓存监听
listener(CacheListener<K, V>) - Method in class com.xxl.tool.cache.CacheTool
设置 缓存变更(删除)监听器
load(String) - Method in class com.xxl.tool.pipeline.config.impl.LocalPipelineConfigLoader
load config
load(String) - Method in interface com.xxl.tool.pipeline.config.PipelineConfigLoader
load config
load(K) - Method in class com.xxl.tool.cache.iface.CacheLoader
load cache
loadAll() - Method in class com.xxl.tool.pipeline.config.impl.LocalPipelineConfigLoader
load all configs
loadAll() - Method in interface com.xxl.tool.pipeline.config.PipelineConfigLoader
load all configs
loadEmoji() - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
 
loadEmojiData() - Method in class com.xxl.tool.emoji.loader.EmojiDataLoader
 
loadEmojiData() - Method in class com.xxl.tool.emoji.loader.impl.LocalEmojiDataLoader
 
loader - Variable in class com.xxl.tool.cache.CacheTool
缓存对象创建组件
loader - Variable in class com.xxl.tool.cache.impl.ReentrantCache
缓存加载器
loader(CacheLoader<K, V>) - Method in class com.xxl.tool.cache.CacheTool
设置 缓存对象创建组件
loadFileProp(String) - Static method in class com.xxl.tool.core.PropTool
load properties from file path
loadProp(String) - Static method in class com.xxl.tool.core.PropTool
load properties from resource path
LocalEmojiDataLoader - Class in com.xxl.tool.emoji.loader.impl
emoji data loader
LocalEmojiDataLoader() - Constructor for class com.xxl.tool.emoji.loader.impl.LocalEmojiDataLoader
 
LocalPipelineConfigLoader - Class in com.xxl.tool.pipeline.config.impl
pipeline config loader, local version
LocalPipelineConfigLoader() - Constructor for class com.xxl.tool.pipeline.config.impl.LocalPipelineConfigLoader
 
lowerCaseFirst(String) - Static method in class com.xxl.tool.core.StringTool
lowerCase first letter
LRU - Enum constant in enum class com.xxl.tool.cache.CacheType
Least Recently Used
LRUCache<K,V> - Class in com.xxl.tool.cache.impl
LRU (least recently used)最近最久未使用缓存 1、元素持续添加直到存满,触发 清理全部过期对象; 2、清理后缓存仍存满时,最久未被使用的对象将被移除; (此缓存基于LinkedHashMap,因此当被缓存的对象每被访问一次,这个对象的key就到链表头部) 3、优劣势: - 优势:简单、速度快;经常使用的对象,不会被被移除缓存; - 劣势:不能很快的访问缓存中不常用的对象;
LRUCache(int, long, boolean) - Constructor for class com.xxl.tool.cache.impl.LRUCache
 

M

makeAccessible(Field) - Static method in class com.xxl.tool.core.ReflectionTool
make field accessible
makeAccessible(Method) - Static method in class com.xxl.tool.core.ReflectionTool
make method accessible
makeKernel(float) - Static method in class com.xxl.tool.captcha.CaptchaTool.ShadowDistorted
高斯矩阵 1、功能:图像模糊 2、原理:高斯矩阵是一种用于图像模糊处理的矩阵,通过将高斯函数与图像进行卷积运算来对图像进行处理。
MapTool - Class in com.xxl.tool.core
Map Tool
MapTool() - Constructor for class com.xxl.tool.core.MapTool
 
match(String, SerializerEnum) - Static method in enum class com.xxl.tool.serializer.SerializerEnum
match serializer
maxPermits - Variable in class com.xxl.tool.concurrent.TokenBucket
 
md5(byte[], byte[]) - Static method in class com.xxl.tool.encrypt.Md5Tool
calculate md5 for input
md5(String) - Static method in class com.xxl.tool.encrypt.Md5Tool
calculate md5 for input
md5(String, String) - Static method in class com.xxl.tool.encrypt.Md5Tool
calculate md5 for input
Md5Tool - Class in com.xxl.tool.encrypt
md5 tool
Md5Tool() - Constructor for class com.xxl.tool.encrypt.Md5Tool
 
MessageQueue<T> - Class in com.xxl.tool.concurrent
producer-consumer queue
MessageQueue(String, int, MessageQueue.MessageConsumer<T>, int, int) - Constructor for class com.xxl.tool.concurrent.MessageQueue
default constructor
MessageQueue(String, MessageQueue.MessageConsumer<T>) - Constructor for class com.xxl.tool.concurrent.MessageQueue
 
MessageQueue(String, MessageQueue.MessageConsumer<T>, int) - Constructor for class com.xxl.tool.concurrent.MessageQueue
 
MessageQueue(String, MessageQueue.MessageConsumer<T>, int, int) - Constructor for class com.xxl.tool.concurrent.MessageQueue
 
MessageQueue.MessageConsumer<T> - Interface in com.xxl.tool.concurrent
Message Consumer
method(Method) - Method in class com.xxl.tool.http.http.HttpRequest
设置Method
Method - Enum Class in com.xxl.tool.http.http.enums
HTTP Method
METHOD_NOT_FOUND - Static variable in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
method not found
MILLIS_PER_DAY - Static variable in class com.xxl.tool.core.DateTool
millisecond per hour
MILLIS_PER_HOUR - Static variable in class com.xxl.tool.core.DateTool
millisecond per minute
MILLIS_PER_MINUTE - Static variable in class com.xxl.tool.core.DateTool
millisecond per minute
MILLIS_PER_MONTH_30 - Static variable in class com.xxl.tool.core.DateTool
millisecond per month (30 days)
MILLIS_PER_MS - Static variable in class com.xxl.tool.core.DateTool
one millisecond
MILLIS_PER_SECOND - Static variable in class com.xxl.tool.core.DateTool
millisecond per second
MILLIS_PER_WEEK - Static variable in class com.xxl.tool.core.DateTool
millisecond per week
MILLIS_PER_YEAR_365 - Static variable in class com.xxl.tool.core.DateTool
millisecond per year (365 days)
missCount - Variable in class com.xxl.tool.cache.impl.ReentrantCache
缓存未命中计数
missCount() - Method in interface com.xxl.tool.cache.iface.Cache
 
missCount() - Method in class com.xxl.tool.cache.impl.NoCache
 
missCount() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
move(File, File, boolean) - Static method in class com.xxl.tool.io.FileTool
move file or directory
move(String, String, boolean) - Static method in class com.xxl.tool.io.FileTool
move file
move(Path, Path, boolean) - Static method in class com.xxl.tool.io.FileTool
move file or directory
move(Path, Path, StandardCopyOption...) - Static method in class com.xxl.tool.io.FileTool
move file or directory 1、source must exists 2、destination file can not be same as source file 3、destination can not be sub of source

N

name() - Element in annotation interface com.xxl.tool.excel.annotation.ExcelField
cell name (defult use field-name)
name() - Element in annotation interface com.xxl.tool.excel.annotation.ExcelSheet
sheet 名称
name(String) - Method in class com.xxl.tool.pipeline.Pipeline
 
newArrayList() - Static method in class com.xxl.tool.core.CollectionTool
bulid new ArrayList
newArrayList(E...) - Static method in class com.xxl.tool.core.CollectionTool
bulid new ArrayList (with data)
newBufferedWriter(File, boolean) - Static method in class com.xxl.tool.io.IOTool
build new writer
newBufferedWriter(File, boolean, Charset, int) - Static method in class com.xxl.tool.io.IOTool
build new writer
newCache() - Static method in class com.xxl.tool.cache.CacheTool
new cache
newClient() - Static method in class com.xxl.tool.jsonrpc.JsonRpcClient
build json-rpc client
newFIFOCache() - Static method in class com.xxl.tool.cache.CacheTool
FIFO cache
newFIFOCache(int) - Static method in class com.xxl.tool.cache.CacheTool
FIFO cache
newLFUCache() - Static method in class com.xxl.tool.cache.CacheTool
LFU cache
newLFUCache(int) - Static method in class com.xxl.tool.cache.CacheTool
LFU cache
newLRUCache() - Static method in class com.xxl.tool.cache.CacheTool
LRU cache
newLRUCache(int) - Static method in class com.xxl.tool.cache.CacheTool
LRU cache
newMap() - Static method in class com.xxl.tool.core.MapTool
build new HashMap
newMap(K, V) - Static method in class com.xxl.tool.core.MapTool
build new HashMap (multi)
newMap(K, V, K, V) - Static method in class com.xxl.tool.core.MapTool
build new HashMap (multi)
newMap(K, V, K, V, K, V) - Static method in class com.xxl.tool.core.MapTool
build new HashMap (multi)
newMap(K, V, K, V, K, V, K, V) - Static method in class com.xxl.tool.core.MapTool
build new HashMap (multi)
newMap(K, V, K, V, K, V, K, V, K, V) - Static method in class com.xxl.tool.core.MapTool
build new HashMap (multi)
newProxy(Class<T>, InvocationHandler) - Static method in class com.xxl.tool.core.ReflectionTool
return a proxy instance that implements the specified interfaceType
newServer() - Static method in class com.xxl.tool.jsonrpc.JsonRpcServer
 
newUnlimitedCache() - Static method in class com.xxl.tool.cache.CacheTool
无容量限制
newUnlimitedCache(int) - Static method in class com.xxl.tool.cache.CacheTool
无容量限制
nextId() - Method in class com.xxl.tool.id.SnowflakeIdTool
get snowflake id
NoCache<K,V> - Class in com.xxl.tool.cache.impl
No Cache
NoCache() - Constructor for class com.xxl.tool.cache.impl.NoCache
 
NONE - Enum constant in enum class com.xxl.tool.cache.CacheType
None
NoneDistorted() - Constructor for class com.xxl.tool.captcha.CaptchaTool.NoneDistorted
 
notBlank(String, String) - Static method in class com.xxl.tool.core.AssertTool
Assert that a string is not blank.
notNull(Object, String) - Static method in class com.xxl.tool.core.AssertTool
Assert that an object is not null.

O

ObjectTool - Class in com.xxl.tool.core
Object Tool
ObjectTool() - Constructor for class com.xxl.tool.core.ObjectTool
 
of(int, String) - Static method in class com.xxl.tool.response.Response
build response
of(int, String, T) - Static method in class com.xxl.tool.response.Response
build response
of(K) - Static method in class com.xxl.tool.cache.model.CacheKey
 
ofError(int, String) - Static method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
ofError(String) - Static method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
ofFail() - Static method in class com.xxl.tool.response.Response
build fail response
ofFail(String) - Static method in class com.xxl.tool.response.Response
build fail response
ofSuccess() - Static method in class com.xxl.tool.response.Response
build success response
ofSuccess(JsonElement) - Static method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
ofSuccess(T) - Static method in class com.xxl.tool.response.Response
build success response
onRemove(CacheObject<K, V>) - Method in class com.xxl.tool.cache.impl.ReentrantCache
对象移除回调
onRemove(K, V) - Method in class com.xxl.tool.cache.iface.CacheListener
on remove
OPTIONS - Enum constant in enum class com.xxl.tool.http.http.enums.Method
 

P

PageModel<T> - Class in com.xxl.tool.response
page model
PageModel() - Constructor for class com.xxl.tool.response.PageModel
 
parse(String, String) - Static method in class com.xxl.tool.core.DateTool
parse String to Date, with time
PARSE - Enum constant in enum class com.xxl.tool.emoji.fitzpatrick.FitzpatrickAction
PARSE Fitzpatrick modifier
parseBoolean(String) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
 
parseByte(String) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
 
parseDate(String) - Static method in class com.xxl.tool.core.DateTool
parse String to Date, like "yyyy-MM-dd"
parseDate(String, ExcelField) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
 
parseDateTime(String) - Static method in class com.xxl.tool.core.DateTool
parse String to DateTime, like "yyyy-MM-dd HH:mm:s"
parseDouble(String) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
 
parseFloat(String) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
 
parseInt(String) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
 
parseLocalDate(String, String) - Static method in class com.xxl.tool.core.DateTool
parse String to LocalDate
parseLocalDateTime(String, String) - Static method in class com.xxl.tool.core.DateTool
parse String to LocalDateTime
parseLocalTime(String, String) - Static method in class com.xxl.tool.core.DateTool
parse String to LocalTime
parseLong(String) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
 
parseMethodPath(HttpClientMethod, Method) - Static method in class com.xxl.tool.http.client.HttpClient
parse methodPath: method-annotation > method-name
parseServicePath(HttpClientService, Class<?>) - Static method in class com.xxl.tool.http.client.HttpClient
parse servicePath: service-annotation
parseShort(String) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
 
parseToken(String) - Method in class com.xxl.tool.auth.JwtTool
解析 JWT token 声明信息
parseUrlParam(String) - Static method in class com.xxl.tool.http.HttpTool
将 param 字符串转为 Map
parseValue(Field, String) - Static method in class com.xxl.tool.excel.util.FieldReflectionUtil
参数解析 (支持:Byte、Boolean、String、Short、Integer、Long、Float、Double、Date)
parseYearMonth(String, String) - Static method in class com.xxl.tool.core.DateTool
parse String to YearMonth
path() - Element in annotation interface com.xxl.tool.http.client.HttpClientMethod
request path for method, default "method.getName()"
path() - Element in annotation interface com.xxl.tool.http.client.HttpClientService
request path for service, default ""
PAUSED - Enum constant in enum class com.xxl.tool.pipeline.PipelineStatus
 
permitsPerSecond - Variable in class com.xxl.tool.concurrent.TokenBucket
 
Pipeline - Class in com.xxl.tool.pipeline
Pipeline
Pipeline() - Constructor for class com.xxl.tool.pipeline.Pipeline
 
PipelineChain - Class in com.xxl.tool.pipeline
Pipeline Chain
PipelineChain(PipelineHandler) - Constructor for class com.xxl.tool.pipeline.PipelineChain
 
PipelineConfig - Class in com.xxl.tool.pipeline.config
pipeline config
PipelineConfig() - Constructor for class com.xxl.tool.pipeline.config.PipelineConfig
 
PipelineConfig(String, List<String>) - Constructor for class com.xxl.tool.pipeline.config.PipelineConfig
 
PipelineConfigLoader - Interface in com.xxl.tool.pipeline.config
pipeline config loader
PipelineContext - Class in com.xxl.tool.pipeline
pipeline context
PipelineContext() - Constructor for class com.xxl.tool.pipeline.PipelineContext
 
PipelineContext(Object) - Constructor for class com.xxl.tool.pipeline.PipelineContext
 
PipelineExecutor - Class in com.xxl.tool.pipeline
pipeline executor
PipelineExecutor() - Constructor for class com.xxl.tool.pipeline.PipelineExecutor
 
PipelineHandler - Class in com.xxl.tool.pipeline
pipeline handler
PipelineHandler() - Constructor for class com.xxl.tool.pipeline.PipelineHandler
 
PipelineStatus - Enum Class in com.xxl.tool.pipeline
pipeline status
POSSIBLY - Enum constant in enum class com.xxl.tool.emoji.loader.EmojiTrie.Matches
 
POST - Enum constant in enum class com.xxl.tool.http.http.enums.Method
 
process(Object) - Method in class com.xxl.tool.pipeline.Pipeline
do process
process(Object, ConcurrentMap<String, Object>) - Method in class com.xxl.tool.pipeline.Pipeline
do process
processString(Configuration, String, Map<String, Object>) - Static method in class com.xxl.tool.freemarker.FtlTool
process and generate String with specified freemarkerConfig
processString(String, Map<String, Object>) - Static method in class com.xxl.tool.freemarker.FtlTool
process and generate String with default freemarkerConfig
processTemplateIntoString(Template, Object) - Static method in class com.xxl.tool.freemarker.FtlTool
process Template Into String
produce(T) - Method in class com.xxl.tool.concurrent.MessageQueue
produce message
PropTool - Class in com.xxl.tool.core
properties tool
PropTool() - Constructor for class com.xxl.tool.core.PropTool
 
proxy(Class<T>) - Method in class com.xxl.tool.http.client.HttpClient
http client proxy
proxy(Class<T>) - Method in class com.xxl.tool.jsonrpc.JsonRpcClient
 
proxy(String, Class<T>) - Method in class com.xxl.tool.jsonrpc.JsonRpcClient
proxy service
prune() - Method in interface com.xxl.tool.cache.iface.Cache
清理过期缓存对象
prune() - Method in class com.xxl.tool.cache.impl.NoCache
 
prune() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
pruneInterval - Variable in class com.xxl.tool.cache.CacheTool
定时清理延时,0 表示不启用,单位:毫秒
pruneInterval(long) - Method in class com.xxl.tool.cache.CacheTool
设置 定时清理延时, 单位:毫秒
pruneJobFuture - Variable in class com.xxl.tool.cache.CacheTool
定时清理任务
put(K, V) - Method in interface com.xxl.tool.cache.iface.Cache
设置缓存对象
put(K, V) - Method in class com.xxl.tool.cache.impl.NoCache
 
put(K, V) - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
PUT - Enum constant in enum class com.xxl.tool.http.http.enums.Method
 

R

RandomIdTool - Class in com.xxl.tool.id
random id tool
RandomIdTool() - Constructor for class com.xxl.tool.id.RandomIdTool
 
readBytes(InputStream) - Static method in class com.xxl.tool.io.IOTool
read byte[] from InputStream 1、closes the stream when done.
readCsv(String) - Static method in class com.xxl.tool.io.CsvTool
read CSV file
readCsv(String, char, char) - Static method in class com.xxl.tool.io.CsvTool
read CSV file
readExcel(File, Class<T>) - Static method in class com.xxl.tool.excel.ExcelTool
从文件读取Excel,封装成Java对象
readExcel(InputStream, Class<T>) - Static method in class com.xxl.tool.excel.ExcelTool
从输入流读取Excel,封装成Java对象
readExcel(String, Class<T>) - Static method in class com.xxl.tool.excel.ExcelTool
从文件读取Excel,封装成Java对象
readLines(String) - Static method in class com.xxl.tool.io.FileTool
read lines
readLines(String, Charset) - Static method in class com.xxl.tool.io.FileTool
read lines
readLines(String, Charset, Consumer<String>) - Static method in class com.xxl.tool.io.FileTool
read lines with consumer
readLines(String, Consumer<String>) - Static method in class com.xxl.tool.io.FileTool
read lines with consumer
readString(InputStream) - Static method in class com.xxl.tool.io.IOTool
read string contents from InputStream 1、closes the stream when done.
readString(InputStream, Charset) - Static method in class com.xxl.tool.io.IOTool
read string contents from InputStream 1、closes the stream when done.
readString(String) - Static method in class com.xxl.tool.io.FileTool
read string
readString(String, Charset) - Static method in class com.xxl.tool.io.FileTool
read string
readTimeout(int) - Method in class com.xxl.tool.http.http.HttpRequest
设置读取超时时间
ReentrantCache<K,V> - Class in com.xxl.tool.cache.impl
Reentrant Cache
ReentrantCache() - Constructor for class com.xxl.tool.cache.impl.ReentrantCache
 
ReflectionTool - Class in com.xxl.tool.core
Reflection Tool
ReflectionTool() - Constructor for class com.xxl.tool.core.ReflectionTool
 
ReflectionTool.FieldCallback - Interface in com.xxl.tool.core
Callback interface invoked on each field in the hierarchy.
register(String, Object) - Method in class com.xxl.tool.jsonrpc.JsonRpcServer
register service
register(Map<String, Object>) - Method in class com.xxl.tool.jsonrpc.JsonRpcServer
register service
registry(PipelineConfig) - Method in class com.xxl.tool.pipeline.config.impl.LocalPipelineConfigLoader
register config
registry(Pipeline) - Method in class com.xxl.tool.pipeline.PipelineExecutor
registry pipeline
remove(HttpServletRequest, HttpServletResponse, String) - Static method in class com.xxl.tool.http.CookieTool
删除 cookie
remove(K) - Method in interface com.xxl.tool.cache.iface.Cache
删除单个缓存对象
remove(K) - Method in class com.xxl.tool.cache.impl.NoCache
 
remove(K) - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
REMOVE - Enum constant in enum class com.xxl.tool.emoji.fitzpatrick.FitzpatrickAction
Removes Fitzpatrick modifier
removeEmojis(String, Collection<Emoji>, Collection<Emoji>) - Static method in class com.xxl.tool.emoji.EmojiTool
remove emojis [unicode emoji >> remove ]
removePrefix(String, String) - Static method in class com.xxl.tool.core.StringTool
remove prefix
removeSuffix(String, String) - Static method in class com.xxl.tool.core.StringTool
remove suffix
removeWithoutLock(K) - Method in class com.xxl.tool.cache.impl.ReentrantCache
移除key对应的对象,不加锁
rename(File, String, boolean) - Static method in class com.xxl.tool.io.FileTool
rename file
replace(String, String, String) - Static method in class com.xxl.tool.core.StringTool
replace string
request(Object) - Method in class com.xxl.tool.http.http.HttpRequest
设置请求体 request
REQUEST_PARAM_ERROR - Static variable in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
request param error
reset() - Method in class com.xxl.tool.concurrent.TokenBucket.Stopwatch
 
response() - Method in class com.xxl.tool.http.http.HttpResponse
Http 请求响应数据
response(Class<T>, Type...) - Method in class com.xxl.tool.http.http.HttpResponse
Http 请求响应结果
Response<T> - Class in com.xxl.tool.response
Response (from ReturnT of xxl-job)
Response() - Constructor for class com.xxl.tool.response.Response
 
Response(int, String) - Constructor for class com.xxl.tool.response.Response
 
Response(int, String, T) - Constructor for class com.xxl.tool.response.Response
 
ResponseCode - Enum Class in com.xxl.tool.response
response code
RippleDistorted() - Constructor for class com.xxl.tool.captcha.CaptchaTool.RippleDistorted
 
rippleFilter(BufferedImage) - Method in class com.xxl.tool.captcha.CaptchaTool.RippleDistorted
波纹 1、功能:添加波纹效果 2、原理:波纹效果是通过对图像进行扭曲和变形来实现的。
RUNTIME - Enum constant in enum class com.xxl.tool.pipeline.PipelineStatus
 

S

saturatedAdd(long, long) - Static method in class com.xxl.tool.concurrent.TokenBucket
饱和加法
serialize(T) - Method in class com.xxl.tool.serializer.impl.JavaSerializer
serialize
serialize(T) - Method in class com.xxl.tool.serializer.Serializer
serialize
Serializer - Class in com.xxl.tool.serializer
serializer
Serializer() - Constructor for class com.xxl.tool.serializer.Serializer
 
SerializerEnum - Enum Class in com.xxl.tool.serializer
 
serialVersionUID - Static variable in class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
serialVersionUID - Static variable in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
serialVersionUID - Static variable in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
 
serialVersionUID - Static variable in class com.xxl.tool.response.PageModel
 
serialVersionUID - Static variable in class com.xxl.tool.response.Response
 
SERVICE_NOT_FOUND - Static variable in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
service not found
set(HttpServletResponse, String, String, boolean) - Static method in class com.xxl.tool.http.CookieTool
新增 cookie
set(HttpServletResponse, String, String, int) - Static method in class com.xxl.tool.http.CookieTool
新增 cookie
set(Date, int, int) - Static method in class com.xxl.tool.core.DateTool
Set the specified field to a date, returning a new object.
set(K) - Method in class com.xxl.tool.cache.model.CacheKey
 
SET_COOKIE - Enum constant in enum class com.xxl.tool.http.http.enums.Header
服务器返回给客户端的一个或多个 Cookie 信息 格式: - name1=value1; name2=value2; name3=value3
setApplicationContext(ApplicationContext) - Method in class com.xxl.tool.pipeline.support.SpringPipelineExecutor
 
setBackgroundColorFrom(Color) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setBackgroundColorTo(Color) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setBorderColor(Color) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setBorderThickness(Integer) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setBreak(boolean) - Method in class com.xxl.tool.pipeline.PipelineContext
 
setCharSpace(Integer) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setCode(int) - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
 
setCode(int) - Method in class com.xxl.tool.response.Response
 
setColors(List<Color>) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setContextMap(ConcurrentMap<String, Object>) - Method in class com.xxl.tool.pipeline.PipelineContext
 
setCookies(Map<String, String>) - Method in class com.xxl.tool.http.http.HttpResponse
 
setData(List<T>) - Method in class com.xxl.tool.response.PageModel
 
setData(T) - Method in class com.xxl.tool.response.Response
 
setDays(Date, int) - Static method in class com.xxl.tool.core.DateTool
set day-of-month to a date, returning a new object
setDistortedEngines(List<CaptchaTool.DistortedEngine>) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setEmojiLoader(EmojiDataLoader) - Static method in class com.xxl.tool.emoji.factory.EmojiFactory
 
setError(JsonRpcResponseError) - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
setField(Field, Object, Object) - Static method in class com.xxl.tool.core.ReflectionTool
set field value
setFonts(List<Font>) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setFontSize(Integer) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setHandlerList(List<String>) - Method in class com.xxl.tool.pipeline.config.PipelineConfig
 
setHeight(Integer) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setHours(Date, int) - Static method in class com.xxl.tool.core.DateTool
set hour-of-day to a date, returning a new object
setIsBorderDrawn(Boolean) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setListener(CacheListener<K, V>) - Method in interface com.xxl.tool.cache.iface.Cache
设置监听
setListener(CacheListener<K, V>) - Method in class com.xxl.tool.cache.impl.ReentrantCache
设置监听
setLoader(CacheLoader<K, V>) - Method in interface com.xxl.tool.cache.iface.Cache
设置监听
setLoader(CacheLoader<K, V>) - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
setMethod(String) - Method in class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
setMilliseconds(Date, int) - Static method in class com.xxl.tool.core.DateTool
set milliseconds to a date, returning a new object
setMinutes(Date, int) - Static method in class com.xxl.tool.core.DateTool
set minutes to a date, returning a new object
setMonths(Date, int) - Static method in class com.xxl.tool.core.DateTool
set month to a date, returning a new object
setMsg(String) - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
 
setMsg(String) - Method in class com.xxl.tool.response.Response
 
setName(String) - Method in class com.xxl.tool.pipeline.config.PipelineConfig
 
setNoiseColor(Color) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setOffset(int) - Method in class com.xxl.tool.response.PageModel
 
setPagesize(int) - Method in class com.xxl.tool.response.PageModel
 
setParams(JsonElement[]) - Method in class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
setPipelineConfigLoader(PipelineConfigLoader) - Method in class com.xxl.tool.pipeline.support.SpringPipelineExecutor
 
setRate(double) - Method in class com.xxl.tool.concurrent.TokenBucket
设置令牌桶的速率
setRequest(Object) - Method in class com.xxl.tool.pipeline.PipelineContext
 
setResponse(Response<Object>) - Method in class com.xxl.tool.pipeline.PipelineContext
 
setResponse(String) - Method in class com.xxl.tool.http.http.HttpResponse
 
setResult(JsonElement) - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
setRGB(BufferedImage, int, int, int, int, int[]) - Static method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
设置 image 的 RGB,从 x,y 开始,w,h 大小;设置 RGB 数组;
setSeconds(Date, int) - Static method in class com.xxl.tool.core.DateTool
set seconds to a date, returning a new object
setService(String) - Method in class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
setStartOfDay(Date) - Static method in class com.xxl.tool.core.DateTool
set start of day to a date, like "yyyy-MM-dd 00:00:00"
setStatusCode(int) - Method in class com.xxl.tool.http.http.HttpResponse
 
setTextCreator(CaptchaTool.TextCreator) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setTotal(int) - Method in class com.xxl.tool.response.PageModel
 
setUrl(String) - Method in class com.xxl.tool.http.http.HttpResponse
 
setWidth(Integer) - Method in class com.xxl.tool.captcha.CaptchaTool
 
setYears(Date, int) - Static method in class com.xxl.tool.core.DateTool
set year to a date, returning a new object
sha256(byte[], byte[]) - Static method in class com.xxl.tool.encrypt.SHA256Tool
calculate sha256 for input
sha256(String) - Static method in class com.xxl.tool.encrypt.SHA256Tool
calculate sha256 for input
sha256(String, String) - Static method in class com.xxl.tool.encrypt.SHA256Tool
calculate sha256 for input
SHA256Tool - Class in com.xxl.tool.encrypt
sha256 tool
SHA256Tool() - Constructor for class com.xxl.tool.encrypt.SHA256Tool
 
ShadowDistorted() - Constructor for class com.xxl.tool.captcha.CaptchaTool.ShadowDistorted
 
size() - Method in interface com.xxl.tool.cache.iface.Cache
缓存对象数量
size() - Method in class com.xxl.tool.cache.impl.NoCache
 
size() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
size(File) - Static method in class com.xxl.tool.io.FileTool
get file size, not include directory size
size(File, boolean) - Static method in class com.xxl.tool.io.FileTool
get file size
size(String) - Static method in class com.xxl.tool.io.FileTool
get file size, not include directory size
sleepUninterruptibly(long, TimeUnit) - Static method in class com.xxl.tool.concurrent.TokenBucket
休眠指定时间,不响应中断
SnowflakeIdTool - Class in com.xxl.tool.id
uuid tool
SnowflakeIdTool(long) - Constructor for class com.xxl.tool.id.SnowflakeIdTool
 
split(String, String) - Static method in class com.xxl.tool.core.StringTool
split str 2 array, with separator
split(String, String, boolean, boolean) - Static method in class com.xxl.tool.core.StringTool
split str 2 array, with separator
split(List<E>, int) - Static method in class com.xxl.tool.core.CollectionTool
split to batch-list
SpringPipelineExecutor - Class in com.xxl.tool.pipeline.support
pipeline config loader, local version
SpringPipelineExecutor() - Constructor for class com.xxl.tool.pipeline.support.SpringPipelineExecutor
 
stableIntervalMicros - Variable in class com.xxl.tool.concurrent.TokenBucket
 
start() - Method in class com.xxl.tool.concurrent.CyclicThread
start
start() - Method in class com.xxl.tool.concurrent.TimeWheel
start time wheel
start() - Method in class com.xxl.tool.concurrent.TokenBucket.Stopwatch
 
status(String) - Method in class com.xxl.tool.pipeline.Pipeline
 
statusCode() - Method in class com.xxl.tool.http.http.HttpResponse
Http 状态码
stop() - Method in class com.xxl.tool.cache.CacheTool
stop
stop() - Method in class com.xxl.tool.concurrent.CyclicThread
stop
stop() - Method in class com.xxl.tool.concurrent.MessageQueue
stop
stop() - Method in class com.xxl.tool.concurrent.TimeWheel
stop time wheel
stop() - Method in class com.xxl.tool.concurrent.TokenBucket.Stopwatch
 
storedPermits - Variable in class com.xxl.tool.concurrent.TokenBucket
 
StringTool - Class in com.xxl.tool.core
string tool
StringTool() - Constructor for class com.xxl.tool.core.StringTool
 
submitTask(long, Runnable) - Method in class com.xxl.tool.concurrent.TimeWheel
submit task
substring(String, int) - Static method in class com.xxl.tool.core.StringTool
substring from start position
substring(String, int, int) - Static method in class com.xxl.tool.core.StringTool
substring from start position to end position
subtract(Collection, Collection) - Static method in class com.xxl.tool.core.CollectionTool
A与B的差 (A-B) Returns a new Collection containing a - b.
SUCCESS - Enum constant in enum class com.xxl.tool.response.ResponseCode
 
supportsFitzpatrick() - Method in class com.xxl.tool.emoji.model.Emoji
 
SYSTEM_ERROR - Static variable in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
system error

T

TEXT_HTML - Enum constant in enum class com.xxl.tool.http.http.enums.ContentType
text/html编码
TEXT_LOWERCASE - Static variable in class com.xxl.tool.captcha.CaptchaTool
 
TEXT_NUMBER - Static variable in class com.xxl.tool.captcha.CaptchaTool
 
TEXT_NUMBER_AND_LOWERCASE - Static variable in class com.xxl.tool.captcha.CaptchaTool
 
TEXT_PLAIN - Enum constant in enum class com.xxl.tool.http.http.enums.ContentType
text/plain编码
TEXT_XML - Enum constant in enum class com.xxl.tool.http.http.enums.ContentType
text/xml编码
TextResult(String, String) - Constructor for class com.xxl.tool.captcha.CaptchaTool.TextResult
 
ThrowableTool - Class in com.xxl.tool.exception
 
ThrowableTool() - Constructor for class com.xxl.tool.exception.ThrowableTool
 
TIME - Static variable in class com.xxl.tool.core.DateTool
Such as "10:00:00"
TIME_WITHOUT_SECOND - Static variable in class com.xxl.tool.core.DateTool
Such as "10:00"
timeout - Variable in class com.xxl.tool.cache.CacheTool
缓存有效期,0 表示无限制,单位毫秒
timeout - Variable in class com.xxl.tool.cache.impl.ReentrantCache
缓存有效期,0 表示无限制,单位毫秒
timeout() - Method in interface com.xxl.tool.cache.iface.Cache
缓存有效期,0 表示无限制,单位毫秒
timeout() - Method in class com.xxl.tool.cache.impl.NoCache
 
timeout() - Method in class com.xxl.tool.cache.impl.ReentrantCache
 
timeout() - Element in annotation interface com.xxl.tool.http.client.HttpClientMethod
request timeout, milliseconds
timeout() - Element in annotation interface com.xxl.tool.http.client.HttpClientService
request timeout, milliseconds
timeout(int) - Method in class com.xxl.tool.http.client.HttpClient
超时时间
timeout(int) - Method in class com.xxl.tool.jsonrpc.JsonRpcClient
 
TimeWheel - Class in com.xxl.tool.concurrent
time wheel
TimeWheel(int, long) - Constructor for class com.xxl.tool.concurrent.TimeWheel
 
TimeWheel(int, long, int, int, int) - Constructor for class com.xxl.tool.concurrent.TimeWheel
 
TimeWheel(int, long, ExecutorService) - Constructor for class com.xxl.tool.concurrent.TimeWheel
constructor
toAbsoluteNormal(Path) - Static method in class com.xxl.tool.io.FileTool
to absolute normal path
toAbsolutePath(Path) - Static method in class com.xxl.tool.io.FileTool
to absolute path
toAddressString(String, int) - Static method in class com.xxl.tool.http.IPTool
host and port to address string
toAddressString(InetSocketAddress) - Static method in class com.xxl.tool.http.IPTool
InetSocketAddress 2 address
toHex(String) - Static method in class com.xxl.tool.encrypt.HexTool
byte to hex
toHexString(char) - Static method in class com.xxl.tool.encrypt.HexTool
 
toJson(Object) - Static method in class com.xxl.tool.gson.GsonTool
Object 转成 json
toJsonElement(Object) - Static method in class com.xxl.tool.gson.GsonTool
Object 转成 JsonElement
toJsonPretty(Object) - Static method in class com.xxl.tool.gson.GsonTool
Object 转成 json
TokenBucket - Class in com.xxl.tool.concurrent
token bucket (optimized based on guava, remove unnecessary locks, improve performance in boundary cases)
TokenBucket() - Constructor for class com.xxl.tool.concurrent.TokenBucket
 
TokenBucket.Stopwatch - Class in com.xxl.tool.concurrent
 
toNanosSaturated(Duration) - Static method in class com.xxl.tool.concurrent.TokenBucket
将Duration对象转换为纳秒值,并处理可能的溢出情况
toSocketAddress(String) - Static method in class com.xxl.tool.http.IPTool
address 2 InetSocketAddress
toSocketAddress(String, int) - Static method in class com.xxl.tool.http.IPTool
host and port to InetSocketAddress
toString() - Method in class com.xxl.tool.cache.impl.ReentrantCache
是否支持过期对象清理,仅设置 过期时间 才支持;
toString() - Method in class com.xxl.tool.cache.model.CacheKey
 
toString() - Method in class com.xxl.tool.cache.model.CacheObject
 
toString() - Method in class com.xxl.tool.captcha.CaptchaTool.TextResult
 
toString() - Method in class com.xxl.tool.concurrent.TokenBucket.Stopwatch
 
toString() - Method in class com.xxl.tool.concurrent.TokenBucket
 
toString() - Method in enum class com.xxl.tool.http.http.enums.ContentType
 
toString() - Method in enum class com.xxl.tool.http.http.enums.Header
 
toString() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcRequest
 
toString() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponse
 
toString() - Method in class com.xxl.tool.jsonrpc.model.JsonRpcResponseError
 
toString() - Method in class com.xxl.tool.pipeline.config.PipelineConfig
 
toString() - Method in class com.xxl.tool.pipeline.Pipeline
 
toString() - Method in class com.xxl.tool.pipeline.PipelineContext
 
toString() - Method in class com.xxl.tool.response.PageModel
 
toString() - Method in class com.xxl.tool.response.Response
 
toString(Object) - Static method in class com.xxl.tool.core.ObjectTool
Return a String representation of the specified Object.
toString(Object[]) - Static method in class com.xxl.tool.core.ObjectTool
Return a String representation of the contents of the specified array.
toString(Throwable) - Static method in class com.xxl.tool.exception.ThrowableTool
parse error to string
totalLines(File) - Static method in class com.xxl.tool.io.FileTool
get total lines
totalLines(File, int, boolean) - Static method in class com.xxl.tool.io.FileTool
get total lines
totalLines(String) - Static method in class com.xxl.tool.io.FileTool
get total lines
TRACE - Enum constant in enum class com.xxl.tool.http.http.enums.Method
 
transform(UnicodeCandidate, FitzpatrickAction) - Method in interface com.xxl.tool.emoji.transformer.EmojiTransformer
 
transformInverse4water(int, int, float[], float, float, float, float, float, float, float) - Method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
计算一个点(x,y)在水波纹扭曲后的新坐标
transformInverseForRipple(int, int, float[], float, float, float, float) - Method in class com.xxl.tool.captcha.CaptchaTool.RippleDistorted
实现波纹扭曲效果 1、接收一个坐标点(x,y)和一系列参数,然后计算出经过波纹扭曲后的新坐标
trim(String) - Static method in class com.xxl.tool.core.StringTool
trim
trimToEmpty(String) - Static method in class com.xxl.tool.core.StringTool
trimToEmpty
trimToNull(String) - Static method in class com.xxl.tool.core.StringTool
trimToNull
tryAcquire() - Method in class com.xxl.tool.concurrent.TokenBucket
尝试获取令牌
tryAcquire(int) - Method in class com.xxl.tool.concurrent.TokenBucket
尝试获取令牌
tryAcquire(int, long, TimeUnit) - Method in class com.xxl.tool.concurrent.TokenBucket
尝试获取令牌
tryAcquire(int, Duration) - Method in class com.xxl.tool.concurrent.TokenBucket
尝试获取令牌
tryAcquire(long, TimeUnit) - Method in class com.xxl.tool.concurrent.TokenBucket
尝试获取令牌
tryAcquire(Duration) - Method in class com.xxl.tool.concurrent.TokenBucket
尝试获取令牌
TWO_PI - Static variable in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
2π,圆周率乘以2的值。
TYPE_1_2 - Enum constant in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
[🏻]["🏻"][] Type I (scores 0–6) always burns, never tans (pale white; blond or red hair; blue eyes; freckles).
TYPE_3 - Enum constant in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
[🏼]["🏼"] Type III (scores 14–20) sometimes mild burn, tans uniformly (cream white; fair with any hair or eye color)
TYPE_4 - Enum constant in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
[🏽]["🏽"] Type IV (scores 21–27) burns minimally, always tans well (moderate brown)
TYPE_5 - Enum constant in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
[🏾]["🏾"] Type V (scores 28–34) very rarely burns, tans very easily (dark brown)
TYPE_6 - Enum constant in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
[🏿]["🏿"] Fitzpatrick modifier of type 6 (black)
TypeTool - Class in com.xxl.tool.core
Class Tool
TypeTool() - Constructor for class com.xxl.tool.core.TypeTool
 

U

underlineToCamelCase(String) - Static method in class com.xxl.tool.core.StringTool
convert underscores to hump format
unicode - Variable in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
Type VI (scores 35–36) Never burns, never tans (deeply pigmented dark brown to darkest brown)
UnicodeCandidate - Class in com.xxl.tool.emoji.model
unicode candidate
UnicodeCandidate(Emoji, String, int) - Constructor for class com.xxl.tool.emoji.model.UnicodeCandidate
 
union(Collection, Collection) - Static method in class com.xxl.tool.core.CollectionTool
并集 Returns a Collection containing the union of the given Collections.
UNLIMITED - Enum constant in enum class com.xxl.tool.cache.CacheType
Unlimited Size
UnlimitedCache<K,V> - Class in com.xxl.tool.cache.impl
无限容量缓存 1、无容量限制,不会因为容量触发缓存清理 2、线程安全,父类存在读写锁控制; 3、优劣势: - 优点:无容量限制,不会因为容量触发缓存清理; - 问题:内存占用不可用,容易造成内存溢出;需要结合 定义缓存清理策略 一起使用;
UnlimitedCache(long, boolean) - Constructor for class com.xxl.tool.cache.impl.UnlimitedCache
 
upperCaseFirst(String) - Static method in class com.xxl.tool.core.StringTool
upperCase first letter
url() - Element in annotation interface com.xxl.tool.http.client.HttpClientService
request base url
url() - Method in class com.xxl.tool.http.http.HttpResponse
请求 Url
url(String) - Method in class com.xxl.tool.http.client.HttpClient
设置URL
url(String) - Method in class com.xxl.tool.http.http.HttpRequest
设置URL
url(String) - Method in class com.xxl.tool.jsonrpc.JsonRpcClient
 
useCaches(boolean) - Method in class com.xxl.tool.http.http.HttpRequest
 
USER_AGENT - Enum constant in enum class com.xxl.tool.http.http.enums.Header
客户端标识:
UUIDTool - Class in com.xxl.tool.id
uuid tool
UUIDTool() - Constructor for class com.xxl.tool.id.UUIDTool
 

V

validateToken(String) - Method in class com.xxl.tool.auth.JwtTool
验证 JWT token 合法性
value() - Element in annotation interface com.xxl.tool.pipeline.annotation.Handler
 
valueOf(String) - Static method in enum class com.xxl.tool.cache.CacheType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.emoji.encode.EmojiEncode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.emoji.fitzpatrick.FitzpatrickAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.emoji.loader.EmojiTrie.Matches
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.http.http.enums.ContentType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.http.http.enums.Header
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.http.http.enums.Method
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.pipeline.PipelineStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.response.ResponseCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xxl.tool.serializer.SerializerEnum
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.xxl.tool.cache.CacheType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.emoji.encode.EmojiEncode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.emoji.fitzpatrick.Fitzpatrick
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.emoji.fitzpatrick.FitzpatrickAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.emoji.loader.EmojiTrie.Matches
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.http.http.enums.ContentType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.http.http.enums.Header
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.http.http.enums.Method
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.pipeline.PipelineStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.response.ResponseCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xxl.tool.serializer.SerializerEnum
Returns an array containing the constants of this enum class, in the order they are declared.

W

waterFilter(BufferedImage) - Method in class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
水波纹滤镜
WaterRippleDistorted() - Constructor for class com.xxl.tool.captcha.CaptchaTool.WaterRippleDistorted
 
width() - Element in annotation interface com.xxl.tool.excel.annotation.ExcelField
cell width (effect when great than 0; default auto width;)
writeByteArray(List<?>...) - Static method in class com.xxl.tool.excel.ExcelTool
生成Excel,写入字节数组
writeCsv(String, List<String[]>) - Static method in class com.xxl.tool.io.CsvTool
write CSV file
writeCsv(String, List<String[]>, char, char) - Static method in class com.xxl.tool.io.CsvTool
write CSV file
writeFile(String, List<?>...) - Static method in class com.xxl.tool.excel.ExcelTool
生成Excel,写入磁盘文件
writeLines(String, Iterable<?>) - Static method in class com.xxl.tool.io.FileTool
write lines 1、default append
writeLines(String, Iterable<?>, boolean) - Static method in class com.xxl.tool.io.FileTool
write lines
writeLines(String, Iterable<?>, String, boolean, Charset) - Static method in class com.xxl.tool.io.FileTool
write lines
writeLines(String, Supplier<?>) - Static method in class com.xxl.tool.io.FileTool
write lines 1、default append
writeLines(String, Supplier<?>, boolean) - Static method in class com.xxl.tool.io.FileTool
write lines
writeLines(String, Supplier<?>, String, boolean, Charset) - Static method in class com.xxl.tool.io.FileTool
write lines
writeLockCount - Variable in class com.xxl.tool.cache.impl.ReentrantCache
write lock count
writeLockMap - Variable in class com.xxl.tool.cache.impl.ReentrantCache
write key map
writeString(String, OutputStream) - Static method in class com.xxl.tool.io.IOTool
write string 2 OutputStream
writeString(String, OutputStream, Charset) - Static method in class com.xxl.tool.io.IOTool
write string 2 OutputStream
writeString(String, String) - Static method in class com.xxl.tool.io.FileTool
write string
writeString(String, String, boolean) - Static method in class com.xxl.tool.io.FileTool
write string
writeString(String, String, boolean, Charset) - Static method in class com.xxl.tool.io.FileTool
write string

X

XML - Enum constant in enum class com.xxl.tool.http.http.enums.ContentType
XML编码
XxlEmojiException - Exception in com.xxl.tool.emoji.exception
 
XxlEmojiException() - Constructor for exception com.xxl.tool.emoji.exception.XxlEmojiException
 
XxlEmojiException(String) - Constructor for exception com.xxl.tool.emoji.exception.XxlEmojiException
 
XxlTool - Class in com.xxl.tool
 
XxlTool() - Constructor for class com.xxl.tool.XxlTool
 
A B C D E F G H I J L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form