| 限定符和类型 | 方法和说明 |
|---|---|
Object |
AbstractAccessor.get(K key,
Function<Object,Object> mapper) |
boolean |
Converter.isConvertible(Class sourceClass,
Class targetClass) |
boolean |
Converter.isConvertible(Class sourceClass,
Class targetClass) |
void |
AbstractAccessor.setTarget(T target) |
| 限定符和类型 | 方法和说明 |
|---|---|
V |
Cache.get(K key)
get by key
|
V |
AbstractCache.get(K key) |
V |
Cache.get(K key,
Supplier<K,V> loader) |
V |
AbstractCache.get(K key,
Supplier<K,V> loader) |
Map<K,V> |
Cache.getAll(Iterable<K> keys)
multiple get
|
Map<K,V> |
Cache.getAllIfPresent(Iterable<K> keys)
multiple get
|
V |
Cache.getIfPresent(K key) |
V |
AbstractCache.getIfPresent(K key) |
void |
Cache.refresh(K key) |
void |
AbstractCache.refresh(K key) |
V |
Cache.remove(K key) |
V |
AbstractCache.remove(K key) |
protected V |
AbstractCache.remove(K key,
RemoveCause cause) |
protected V |
AbstractCache.remove(K key,
RemoveCause cause) |
void |
Cache.set(K key,
V value)
set a key-value to cache, with out expire time never
|
void |
AbstractCache.set(K key,
V value) |
void |
Cache.set(K key,
V value,
long expireTime)
set a key-value to cache, with the specified expire time
|
void |
AbstractCache.set(K key,
V value,
long expire) |
void |
Cache.set(K key,
V value,
long ttl,
TimeUnit timeUnit)
set a key-value to cache, with the specified expire time
|
void |
AbstractCache.set(K key,
V value,
long duration,
TimeUnit timeUnit) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PipelineChain.addHandler(Handler<REQ,RESP> handler) |
void |
FilterChain.addHandler(Handler<REQ,RESP> handler) |
void |
Chain.addHandler(Handler<REQ,RESP> handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
Resource |
Classpath.findResource(String relativePath)
Returns the uniform resource locator (URL) of the class file
with the specified name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Resource |
ByteArrayClasspath.findResource(String relativePath) |
| 构造器和说明 |
|---|
ClassClasspath(Class clazz) |
ClassLoaderClasspath(ClassLoader loader) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
CommandLines.executeAndReadAsString(CommandLine commandLine,
File workDirectory,
Map<String,String> environment)
执行命令,并将输出内容以字符串的形式返回
|
static List<String> |
CommandLines.executeAndReadLines(CommandLine commandLine,
File workDirectory,
Map<String,String> environment)
执行命令,并将输出内容以lines的形式返回
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Loader |
AbstractConfigurationRepository.loader |
protected String |
AbstractConfigurationRepository.name |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
ResourceConfigurationLoader.load(String configurationId) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
SparseProxyFactory.newProxy(Object target,
MethodInterceptor interceptor,
Class[] interfaces) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ByteArrayResource |
Resources.asByteArrayResource(byte[] byteArray) |
static ByteArrayResource |
Resources.asByteArrayResource(byte[] byteArray,
String description) |
static InputStreamResource |
Resources.asInputStreamResource(InputStream inputStream) |
static InputStreamResource |
Resources.asInputStreamResource(InputStream inputStream,
String description) |
static boolean |
Locations.isClasspathLocation(Location location) |
static boolean |
Locations.isFileLocation(Location location) |
static boolean |
Locations.isUrlLocation(Location location) |
static ClassPathResource |
Resources.loadClassPathResource(String location) |
static ClassPathResource |
Resources.loadClassPathResource(String location,
Class clazz) |
static ClassPathResource |
Resources.loadClassPathResource(String location,
ClassLoader classLoader) |
static FileResource |
Resources.loadFileResource(File file) |
static FileResource |
Resources.loadFileResource(String location) |
static FileResource |
Resources.loadFileResource(String location,
ClassLoader classLoader) |
static <V extends Resource> |
Resources.loadResource(Location location) |
static <V extends Resource> |
Resources.loadResource(String location) |
static <V extends Resource> |
Resources.loadResource(String location,
ClassLoader classLoader) |
static UrlResource |
Resources.loadUrlResource(String location) |
static UrlResource |
Resources.loadUrlResource(String location,
ClassLoader classLoader) |
static UrlResource |
Resources.loadUrlResource(URL url) |
static String |
Resources.readFirstLine(String location,
Charset charset) |
static String |
Resources.readFirstLine(String location,
Charset charset) |
static List<String> |
Resources.readLines(Resource resource,
Charset charset) |
static List<String> |
Resources.readLines(Resource resource,
Charset charset) |
static List<String> |
Resources.readLines(Resource resource,
Charset charset,
Consumer<String> consumer) |
static List<String> |
Resources.readLines(Resource resource,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readLines(String location,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readLines(String location,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readLines(String location,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readLines(String location,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readLines(String location,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readLines(String location,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readLines(String location,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readLines(String location,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readLines(String location,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readUsingDelimiter(byte[] byteArray,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(byte[] byteArray,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(byte[] byteArray,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(byte[] byteArray,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Consumer<byte[]> consumer) |
static void |
Resources.readUsingDelimiter(Resource resource,
String delimiter,
Consumer<byte[]> consumer) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readUsingDelimiter(String location,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Resources.readUsingDelimiter(URL url,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(URL url,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(URL url,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Resources.readUsingDelimiter(URL url,
String delimiter,
Charset charset,
Consumer<String> consumer) |
| 构造器和说明 |
|---|
FileResource(String path) |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<JCAEStandardName> |
JCAEStandardName.findAlgorithms(Class scenario) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Cipher |
Ciphers.createCipher(String algorithmTransformation,
Provider provider,
int operateMode,
Certificate certificate,
SecureRandom secureRandom) |
static Cipher |
Ciphers.createCipher(String algorithmTransformation,
Provider provider,
int operateMode,
Key key,
AlgorithmParameterSpec parameterSpec,
SecureRandom secureRandom)
如果在初始化 Cipher过程中,出现了java.security.InvalidKeyException: Illegal key size
可以找到 ${JDK_HOME}/jre/lib/security/java.security, 将 crypto.policy 设置为 unlimited
|
static Cipher |
Ciphers.createCipher(String algorithmTransformation,
Provider provider,
int operateMode,
Key key,
AlgorithmParameters parameters,
SecureRandom secureRandom)
如果在初始化 Cipher过程中,出现了java.security.InvalidKeyException: Illegal key size
可以找到 ${JDK_HOME}/jre/lib/security/java.security, 将 crypto.policy 设置为 unlimited
|
static Cipher |
Ciphers.createCipher(String algorithmTransformation,
Provider provider,
int operateMode,
Key key,
SecureRandom secureRandom)
如果在初始化 Cipher过程中,出现了java.security.InvalidKeyException: Illegal key size
可以找到 ${JDK_HOME}/jre/lib/security/java.security, 将 crypto.policy 设置为 unlimited
|
static Cipher |
Ciphers.createEmptyCipher(String algorithmTransformation,
Provider provider) |
static byte[] |
Ciphers.decrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier) |
static byte[] |
Ciphers.decrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier,
AlgorithmParameters parameters) |
static byte[] |
Ciphers.decrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier,
AlgorithmParameterSpec parameterSpec) |
static byte[] |
Ciphers.decrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier,
AlgorithmParameterSupplier parameterSupplier) |
static byte[] |
Ciphers.doEncryptOrDecrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier,
AlgorithmParameterSpec parameterSpec,
boolean encrypt) |
static byte[] |
Ciphers.doEncryptOrDecrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier,
AlgorithmParameterSupplier parameterSupplier,
boolean encrypt) |
static byte[] |
Ciphers.doEncryptOrDecrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier,
boolean encrypt) |
static byte[] |
Ciphers.encrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier) |
static byte[] |
Ciphers.encrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier,
AlgorithmParameters parameters) |
static byte[] |
Ciphers.encrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier,
AlgorithmParameterSpec parameterSpec) |
static byte[] |
Ciphers.encrypt(byte[] bytes,
byte[] keyBytes,
String algorithm,
String algorithmTransformation,
Provider provider,
SecureRandom secureRandom,
BytesBasedKeySupplier keySupplier,
AlgorithmParameterSupplier parameterSupplier) |
| 构造器和说明 |
|---|
MessageDigestHasher(String algorithmName) |
MessageDigestHasher(String algorithmName,
byte[] salt) |
MessageDigestHasher(String algorithmName,
byte[] salt,
int hashIterations)
Creates an
algorithmName-specific hash of the specified source using the given
salt a total of hashIterations times. |
| 限定符和类型 | 方法和说明 |
|---|---|
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
AlgorithmParameterSpec parameterSpec,
SecureRandom secureRandom) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
byte[] base64PrivateKey,
byte[] base64PublicKey) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
byte[] base64PrivateKey,
byte[] base64PublicKey) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
int keySize,
SecureRandom secureRandom) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
KeySpec privateKeySpec,
KeySpec publicKeySpec) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
KeySpec privateKeySpec,
KeySpec publicKeySpec) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
String base64PrivateKey,
String base64PublicKey) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
String base64PrivateKey,
String base64PublicKey) |
static PrivateKey |
PKIs.createPrivateKey(String algorithm,
String provider,
KeySpec keySpec) |
static PublicKey |
PKIs.createPublicKey(String algorithm,
String provider,
KeySpec keySpec) |
static SecretKey |
PKIs.createSecretKey(String algorithm,
String provider,
KeySpec keySpec) |
static KeyGenerator |
PKIs.getKeyGenerator(String algorithm,
String provider) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
PemFileIOs.writeKey(Key key,
File file) |
static void |
PemFileIOs.writeKey(Key key,
File file) |
static void |
PemFileIOs.writeKey(Key key,
File file,
KeyEncoding encoding) |
static void |
PemFileIOs.writeKey(Key key,
File file,
KeyEncoding encoding) |
static void |
PemFileIOs.writeKey(Key key,
File file,
KeyEncoding encoding,
String headerLine,
String footerLine) |
static void |
PemFileIOs.writeKey(Key key,
File file,
KeyEncoding encoding,
String headerLine,
String footerLine) |
static void |
PemFileIOs.writeKey(Key key,
OutputStream outputStream,
KeyEncoding encoding,
String headerLine,
String footerLine) |
static void |
PemFileIOs.writeKey(Key key,
OutputStream outputStream,
KeyEncoding encoding,
String headerLine,
String footerLine) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Certificate |
KeyStores.findCertificate(KeyStore keyStore,
String alias) |
static Certificate |
KeyStores.findCertificate(KeyStore keyStore,
String alias) |
static List<Certificate> |
KeyStores.findCertificateChain(KeyStore keyStore,
String alias) |
static List<Certificate> |
KeyStores.findCertificateChain(KeyStore keyStore,
String alias) |
static KeyPair |
KeyStores.findKeyPair(KeyStore keyStore,
String alias,
char[] password) |
static KeyPair |
KeyStores.findKeyPair(KeyStore keyStore,
String alias,
char[] password) |
static KeyPair |
KeyStores.findKeyPair(KeyStore keyStore,
String alias,
char[] password) |
static KeyPair |
KeyStores.findKeyPair(KeyStore keyStore,
String alias,
String password) |
static PublicKey |
KeyStores.findPublicKey(KeyStore keyStore,
String alias) |
static PublicKey |
KeyStores.findPublicKey(KeyStore keyStore,
String alias) |
static SecretKey |
KeyStores.findSecretKey(KeyStore keyStore,
String alias,
char[] password) |
static SecretKey |
KeyStores.findSecretKey(KeyStore keyStore,
String alias,
char[] password) |
static SecretKey |
KeyStores.findSecretKey(KeyStore keyStore,
String alias,
char[] password) |
static SecretKey |
KeyStores.findSecretKey(KeyStore keyStore,
String alias,
String password) |
static SecretKey |
KeyStores.findSecretKey(KeyStore keyStore,
String alias,
String password) |
static SecretKey |
KeyStores.findSecretKey(KeyStore keyStore,
String alias,
String password) |
static KeyStore |
KeyStores.getEmptyKeyStore(String type,
String provider) |
static KeyStore |
KeyStores.getKeyStore(String type,
String provider,
File file,
char[] password) |
static KeyStore |
KeyStores.getKeyStore(String type,
String provider,
InputStream inputStream,
char[] password) |
static void |
KeyStores.persist(KeyStore keyStore,
File file,
String password) |
static void |
KeyStores.persist(KeyStore keyStore,
OutputStream outputStream,
char[] password) |
static void |
KeyStores.persist(KeyStore keyStore,
OutputStream outputStream,
char[] password) |
static void |
KeyStores.persist(KeyStore keyStore,
OutputStream outputStream,
char[] password) |
static void |
KeyStores.persist(KeyStore keyStore,
OutputStream outputStream,
String password) |
static void |
KeyStores.persist(KeyStore keyStore,
OutputStream outputStream,
String password) |
static void |
KeyStores.persist(KeyStore keyStore,
OutputStream outputStream,
String password) |
static void |
KeyStores.setCertificate(KeyStore keyStore,
String alias,
Certificate certificate) |
static void |
KeyStores.setCertificate(KeyStore keyStore,
String alias,
Certificate certificate) |
static void |
KeyStores.setCertificate(KeyStore keyStore,
String alias,
Certificate certificate) |
static void |
KeyStores.setPrivateKey(KeyStore keyStore,
String alias,
PrivateKey privateKey,
char[] password,
List<Certificate> certificateChain) |
static void |
KeyStores.setPrivateKey(KeyStore keyStore,
String alias,
PrivateKey privateKey,
char[] password,
List<Certificate> certificateChain) |
static void |
KeyStores.setPrivateKey(KeyStore keyStore,
String alias,
PrivateKey privateKey,
char[] password,
List<Certificate> certificateChain) |
static void |
KeyStores.setPrivateKey(KeyStore keyStore,
String alias,
PrivateKey privateKey,
char[] password,
List<Certificate> certificateChain) |
static void |
KeyStores.setPrivateKey(KeyStore keyStore,
String alias,
PrivateKey privateKey,
char[] password,
List<Certificate> certificateChain) |
static void |
KeyStores.setSecretKey(KeyStore keyStore,
String alias,
SecretKey secretKey,
char[] password) |
static void |
KeyStores.setSecretKey(KeyStore keyStore,
String alias,
SecretKey secretKey,
char[] password) |
static void |
KeyStores.setSecretKey(KeyStore keyStore,
String alias,
SecretKey secretKey,
char[] password) |
static void |
KeyStores.setSecretKey(KeyStore keyStore,
String alias,
SecretKey secretKey,
char[] password) |
| 限定符和类型 | 方法和说明 |
|---|---|
PrivateKey |
BytesBasedPrivateKeySupplier.get(byte[] bytes,
String algorithm,
Provider provider) |
PrivateKey |
BytesBasedPrivateKeySupplier.get(byte[] bytes,
String algorithm,
Provider provider) |
O |
BytesBasedKeySupplier.get(byte[] bytes,
String algorithm,
Provider provider) |
O |
BytesBasedKeySupplier.get(byte[] bytes,
String algorithm,
Provider provider) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
LangxSecurityProvider.addAlgorithmOid(String type,
String oid,
Class spiClassName) |
void |
LangxSecurityProvider.addAlgorithmOid(String type,
String oid,
Class spiClassName) |
void |
LangxSecurityProvider.addAlgorithmOid(String type,
String oid,
Class spiClassName) |
void |
LangxSecurityProvider.addAlgorithmOid(String type,
String oid,
String spiClassName) |
void |
LangxSecurityProvider.addAlgorithmOid(String type,
String oid,
String spiClassName) |
void |
LangxSecurityProvider.addAlgorithmOid(String type,
String oid,
String spiClassName) |
void |
ConfigurableSecurityProvider.addAlgorithmOid(String type,
String oid,
String spiClassName) |
void |
ConfigurableSecurityProvider.addAlgorithmOid(String type,
String oid,
String spiClassName) |
void |
ConfigurableSecurityProvider.addAlgorithmOid(String type,
String oid,
String spiClassName) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Signature |
Signatures.createSignature(String algorithm,
String provider) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
Certificate certificate) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
Certificate certificate) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
AlgorithmParameterSpec cipherAlgoParameterSpec) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
AlgorithmParameterSpec cipherAlgoParameterSpec) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PublicKey publicKey) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PublicKey publicKey) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PublicKey publicKey,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static Signature |
Signatures.createSignature(String algorithm,
String provider,
PublicKey publicKey,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static byte[] |
DSAs.sign(byte[] privateKey,
byte[] data) |
static byte[] |
Signatures.sign(byte[] data,
byte[] privateKeyBytes,
String algorithm,
String provider,
SecureRandom secureRandom) |
static byte[] |
Signatures.sign(byte[] data,
byte[] privateKeyBytes,
String algorithm,
String provider,
SecureRandom secureRandom) |
static byte[] |
Signatures.sign(byte[] data,
byte[] privateKeyBytes,
String algorithm,
String provider,
SecureRandom secureRandom) |
static byte[] |
Signatures.sign(byte[] data,
byte[] privateKeyBytes,
String algorithm,
String provider,
SecureRandom secureRandom,
AlgorithmParameterSpec algorithmParameterSpec) |
static byte[] |
Signatures.sign(byte[] data,
byte[] privateKeyBytes,
String algorithm,
String provider,
SecureRandom secureRandom,
AlgorithmParameterSpec algorithmParameterSpec) |
static byte[] |
Signatures.sign(byte[] data,
byte[] privateKeyBytes,
String algorithm,
String provider,
SecureRandom secureRandom,
AlgorithmParameterSpec algorithmParameterSpec) |
static byte[] |
Signatures.sign(byte[] data,
byte[] privateKeyBytes,
String algorithm,
String provider,
SecureRandom secureRandom,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static byte[] |
Signatures.sign(byte[] data,
byte[] privateKeyBytes,
String algorithm,
String provider,
SecureRandom secureRandom,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static byte[] |
Signatures.sign(byte[] data,
byte[] privateKeyBytes,
String algorithm,
String provider,
SecureRandom secureRandom,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static byte[] |
Signatures.sign(byte[] data,
PrivateKey privateKey,
String algorithm,
String provider,
SecureRandom secureRandom,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static byte[] |
Signatures.sign(byte[] data,
PrivateKey privateKey,
String algorithm,
String provider,
SecureRandom secureRandom,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static byte[] |
Signatures.sign(byte[] data,
PrivateKey privateKey,
String algorithm,
String provider,
SecureRandom secureRandom,
AlgorithmParameterSupplier cipherAlgoParameterSupplier) |
static byte[] |
DSAs.sign(String signatureInstanceAlgorithm,
byte[] privateKey,
byte[] data) |
static byte[] |
DSAs.sign(String signatureInstanceAlgorithm,
Provider provider,
PrivateKey privateKey,
SecureRandom secureRandom,
byte[] data) |
static byte[] |
DSAs.sign(String signatureInstanceAlgorithm,
Provider provider,
PrivateKey privateKey,
SecureRandom secureRandom,
byte[] data) |
static byte[] |
DSAs.sign(String signatureInstanceAlgorithm,
String provider,
byte[] privateKey,
SecureRandom secureRandom,
byte[] data) |
static byte[] |
Signatures.sign(String algorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
byte[] data)
已过时。
|
static byte[] |
Signatures.sign(String algorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
byte[] data)
已过时。
|
static byte[] |
Signatures.sign(String algorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
byte[] data)
已过时。
|
static byte[] |
DSAs.sign(String signatureInstanceAlgorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
byte[] data) |
static byte[] |
DSAs.sign(String signatureInstanceAlgorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
byte[] data) |
static boolean |
DSAs.verify(byte[] publicKey,
byte[] data,
byte[] signature) |
static boolean |
Signatures.verify(byte[] data,
byte[] signature,
byte[] publicKeyBytes,
String algorithm,
String provider) |
static boolean |
Signatures.verify(byte[] data,
byte[] signature,
byte[] publicKeyBytes,
String algorithm,
String provider) |
static boolean |
Signatures.verify(byte[] data,
byte[] signature,
byte[] publicKeyBytes,
String algorithm,
String provider,
AlgorithmParameterSpec parameterSpec) |
static boolean |
Signatures.verify(byte[] data,
byte[] signature,
byte[] publicKeyBytes,
String algorithm,
String provider,
AlgorithmParameterSpec parameterSpec) |
static boolean |
Signatures.verify(byte[] data,
byte[] signature,
byte[] publicKeyBytes,
String algorithm,
String provider,
AlgorithmParameterSupplier parameterSupplier) |
static boolean |
Signatures.verify(byte[] data,
byte[] signature,
byte[] publicKeyBytes,
String algorithm,
String provider,
AlgorithmParameterSupplier parameterSupplier) |
static boolean |
Signatures.verify(byte[] data,
byte[] signature,
PublicKey publicKey,
String algorithm,
String provider,
AlgorithmParameterSupplier parameterSupplier) |
static boolean |
Signatures.verify(byte[] data,
byte[] signature,
PublicKey publicKey,
String algorithm,
String provider,
AlgorithmParameterSupplier parameterSupplier) |
static boolean |
DSAs.verify(String signatureInstanceAlgorithm,
byte[] publicKey,
byte[] data,
byte[] signature) |
static boolean |
DSAs.verify(String signatureInstanceAlgorithm,
Provider provider,
PublicKey publicKey,
byte[] data,
byte[] signature) |
static boolean |
DSAs.verify(String signatureInstanceAlgorithm,
Provider provider,
PublicKey publicKey,
byte[] data,
byte[] signature) |
static boolean |
DSAs.verify(String signatureInstanceAlgorithm,
PublicKey publicKey,
byte[] data,
byte[] signature) |
static boolean |
DSAs.verify(String signatureInstanceAlgorithm,
String provider,
byte[] publicKey,
byte[] data,
byte[] signature) |
static boolean |
Signatures.verify(String algorithm,
String provider,
PublicKey publicKey,
byte[] data,
byte[] signature) |
static boolean |
Signatures.verify(String algorithm,
String provider,
PublicKey publicKey,
byte[] data,
byte[] signature) |
static boolean |
DSAs.verify(String signatureInstanceAlgorithm,
String provider,
PublicKey publicKey,
byte[] data,
byte[] signature) |
static boolean |
DSAs.verify(String signatureInstanceAlgorithm,
String provider,
PublicKey publicKey,
byte[] data,
byte[] signature) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Supplier<Object[],String> |
StringTemplates.mapStyleSupplier(String template) |
static Supplier<Object[],String> |
StringTemplates.mapStyleSupplier(String template,
MapBasedStringFormatter.PatternStyle patternStyle) |
| 限定符和类型 | 方法和说明 |
|---|---|
Locale |
I18nMessageStorage.getLocale() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
I18nMessageStorage.getMessage(ClassLoader classLoader,
String key,
Object... args) |
String |
AbstractI18nMessageStorage.getMessage(ClassLoader classLoader,
String key,
Object... args) |
String |
I18nMessageStorage.getMessage(LanguageCode languageCode,
ClassLoader classLoader,
String key,
Object... args) |
String |
AbstractI18nMessageStorage.getMessage(LanguageCode languageCode,
ClassLoader classLoader,
String key,
Object... args) |
String |
I18nMessageStorage.getMessage(LanguageCode languageCode,
String key,
Object... args) |
String |
AbstractI18nMessageStorage.getMessage(LanguageCode languageCode,
String key,
Object... args) |
String |
I18nMessageStorage.getMessage(Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
String |
AbstractI18nMessageStorage.getMessage(Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
String |
I18nMessageStorage.getMessage(LocaleCode localeCode,
ClassLoader classLoader,
String key,
Object... args) |
String |
AbstractI18nMessageStorage.getMessage(LocaleCode localeCode,
ClassLoader classLoader,
String key,
Object... args) |
String |
I18nMessageStorage.getMessage(LocaleCode localeCode,
String key,
Object... args) |
String |
AbstractI18nMessageStorage.getMessage(LocaleCode localeCode,
String key,
Object... args) |
String |
I18nMessageStorage.getMessage(Locale locale,
String key,
Object... args) |
String |
AbstractI18nMessageStorage.getMessage(Locale locale,
String key,
Object... args) |
String |
AbstractResourceBundleI18nMessageStorage.getMessage(String basename,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
String |
AbstractResourceBundleI18nMessageStorage.getMessage(String basename,
Locale locale,
String key,
Object... args) |
String |
I18nMessageStorage.getMessage(String key,
Object[] args) |
String |
AbstractI18nMessageStorage.getMessage(String key,
Object[] args) |
protected String |
AbstractResourceBundleI18nMessageStorage.getMessageInternal(Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected String |
AbstractResourceBundleI18nMessageStorage.getMessageInternal(Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected String |
AbstractResourceBundleI18nMessageStorage.getMessageInternal(Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected abstract String |
AbstractI18nMessageStorage.getMessageInternal(Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected abstract String |
AbstractI18nMessageStorage.getMessageInternal(Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected abstract String |
AbstractI18nMessageStorage.getMessageInternal(Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected String |
SimpleResourceBundleI18nMessageStorage.getMessageInternal(String basename,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected abstract String |
AbstractResourceBundleI18nMessageStorage.getMessageInternal(String bundleBaseName,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected abstract String |
AbstractResourceBundleI18nMessageStorage.getMessageInternal(String bundleBaseName,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected abstract String |
AbstractResourceBundleI18nMessageStorage.getMessageInternal(String bundleBaseName,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
protected abstract String |
AbstractResourceBundleI18nMessageStorage.getMessageInternal(String bundleBaseName,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
static String |
ResourceBundles.getString(String basename,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
static String |
ResourceBundles.getString(String basename,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
static String |
ResourceBundles.getString(String basename,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
static String |
ResourceBundles.getString(String basename,
Locale locale,
ClassLoader classLoader,
String key,
Object... args) |
static String |
ResourceBundles.getString(String basename,
Locale locale,
String key,
Object... args) |
static String |
ResourceBundles.getString(String basename,
Locale locale,
String key,
Object... args) |
static String |
ResourceBundles.getString(String basename,
Locale locale,
String key,
Object... args) |
static String |
ResourceBundles.getString(String basename,
String key,
Object... args) |
static String |
ResourceBundles.getString(String basename,
String key,
Object... args) |
void |
I18nMessageStorage.setLocale(Locale locale)
设置默认的locale
|
| 构造器和说明 |
|---|
PropertiesAccessor(Properties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<String,Namespace> |
Namespaces.findNamespaces(Node node) |
static String |
Namespaces.getNodeNamespaceURI(Node node) |
| 限定符和类型 | 方法和说明 |
|---|---|
static DataSize |
DataSize.bytes(long bytes) |
static DataSize |
DataSize.gb(long gb) |
static DataSize |
DataSize.kb(long kb) |
static DataSize |
DataSize.mb(long mb) |
static DataSize |
DataSize.of(long bytes) |
static DataSize |
DataSize.tb(long tb) |
String |
DataSize.toString() |
static DataSize |
DataSize.valueOf(String string) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
Calendars.addField(Calendar calendar,
Calendars.DateField field,
int value)
add specified field, may be change other fields
|
static void |
Calendars.addField(Calendar calendar,
Calendars.DateField field,
int value)
add specified field, may be change other fields
|
static <T> T |
Preconditions.checkNotEmpty(T obj,
String errorMessage) |
static <T> T |
Preconditions.checkNotEmpty(T obj,
String errorMessage,
Object... params) |
static <T> T |
Preconditions.checkNotEmpty(T obj,
Supplier<Object[],String> errorMessageSupplier,
Object... params) |
static <T> T |
Preconditions.checkNotNull(T obj) |
static <T> T |
Preconditions.checkNotNull(T obj,
String errorMessage) |
static <T> T |
Preconditions.checkNotNull(T obj,
String errorMessage,
Object... params) |
static <T> T |
Preconditions.checkNotNull(T obj,
Supplier<Object[],String> errorMessageSupplier,
Object... params) |
static <T> T |
Preconditions.checkNotNullArgument(T obj,
String parameter) |
static <I,O> O |
ClassLoaders.doAction(ClassLoader threadContextClassLoader,
Function<I,O> action,
I input) |
static <I,O> O |
ClassLoaders.doAction(ClassLoader threadContextClassLoader,
Function<I,O> action,
I input) |
static String |
Dates.format(Date date) |
static String |
Dates.format(Date date,
String pattern) |
static String |
Dates.format(long millis,
String pattern) |
static int |
Dates.get(Date date,
Calendars.DateField field) |
static int |
Calendars.getDays(Calendar calendar) |
static int |
Dates.getDays(Date date) |
static int |
Calendars.getField(Calendar calendar,
Calendars.DateField field) |
static int |
Calendars.getField(Calendar calendar,
Calendars.DateField field) |
static int |
Calendars.getField(Calendar calendar,
int field) |
static int |
Calendars.getField(Calendar calendar,
int field) |
static int |
Calendars.getHours(Calendar calendar) |
static int |
Dates.getHours(Date date) |
static int |
Calendars.getMillis(Calendar calendar) |
static int |
Dates.getMillis(Date date) |
static int |
Calendars.getMinutes(Calendar calendar) |
static int |
Dates.getMinutes(Date date) |
static int |
Calendars.getMonths(Calendar calendar) |
static int |
Calendars.getMonths(Calendar calendar,
boolean actual) |
static int |
Dates.getMonths(Date date) |
static int |
Dates.getMonths(Date date,
boolean getActualMonth) |
static int |
Calendars.getSeconds(Calendar calendar) |
static int |
Dates.getSeconds(Date date) |
static int |
Calendars.getYears(Calendar calendar) |
static int |
Dates.getYears(Date date) |
static boolean |
ClassLoaders.hasClass(String classFQN,
ClassLoader classLoader) |
static <I,O> O |
Throwables.ignoreExceptions(org.slf4j.Logger logger,
O valueIfError,
List<Class<Throwable>> throwables,
ThrowableFunction<I,O> func,
I arg)
执行指定的function,如果执行过程中,出现了指定的那些异常 throwables,则返回 valuesIfError,其他的异常则抛出。
|
static <I,O> O |
Throwables.ignoreExceptions(org.slf4j.Logger logger,
O valueIfError,
List<Class<Throwable>> throwables,
ThrowableFunction<I,O> func,
I arg)
执行指定的function,如果执行过程中,出现了指定的那些异常 throwables,则返回 valuesIfError,其他的异常则抛出。
|
static <I1,I2,O> O |
Throwables.ignoreExceptions(org.slf4j.Logger logger,
O valueIfError,
List<Class<Throwable>> throwables,
ThrowableFunction2<I1,I2,O> func,
I1 arg1,
I2 arg2)
执行指定的function,如果执行过程中,出现了指定的那些异常 throwables,则返回 valuesIfError,其他的异常则抛出。
|
static <I1,I2,O> O |
Throwables.ignoreExceptions(org.slf4j.Logger logger,
O valueIfError,
List<Class<Throwable>> throwables,
ThrowableFunction2<I1,I2,O> func,
I1 arg1,
I2 arg2)
执行指定的function,如果执行过程中,出现了指定的那些异常 throwables,则返回 valuesIfError,其他的异常则抛出。
|
static <I,O> O |
Throwables.ignoreThrowable(org.slf4j.Logger logger,
O valueIfError,
ThrowableFunction<I,O> func,
I arg)
当执行某个Function时,出现任何Exception,Error时,则返回默认值。
|
static <I1,I2,O> O |
Throwables.ignoreThrowable(org.slf4j.Logger logger,
O valueIfError,
ThrowableFunction2<I1,I2,O> func,
I1 arg1,
I2 arg2)
当执行某个Function时,出现任何Exception,Error时,则返回默认值。
|
static String |
Strings.insert(String string,
List<Integer> slotIndexes,
String insertment) |
static String |
Strings.insert(String string,
List<Integer> slotIndexes,
String insertment) |
static String |
Strings.join(String separator,
boolean[] array) |
static String |
Strings.join(String separator,
Byte[] objects) |
static String |
Strings.join(String separator,
char[] array) |
static String |
Strings.join(String separator,
Character[] objects) |
static String |
Strings.join(String separator,
double[] array) |
static String |
Strings.join(String separator,
Double[] objects) |
static <E> String |
Strings.join(String separator,
E[] objects,
int startIndex) |
static <E> String |
Strings.join(String separator,
E[] objects,
int startIndex,
int length) |
static String |
Strings.join(String separator,
float[] array) |
static String |
Strings.join(String separator,
Float[] objects) |
static String |
Strings.join(String separator,
int[] array) |
static String |
Strings.join(String separator,
Integer[] objects) |
static String |
Strings.join(String separator,
Iterable objects) |
static String |
Strings.join(String separator,
Iterator objects)
append all objects with the specified separator
|
static String |
Strings.join(String separator,
long[] array) |
static String |
Strings.join(String separator,
Long[] objects) |
static String |
Strings.join(String separator,
Object obj) |
static String |
Strings.join(String separator,
Object[] objects) |
static String |
Strings.join(String separator,
Short[] objects) |
static String |
Strings.join(String separator,
String[] objects) |
static String |
Strings.join(String separator,
String prefix,
String suffix,
boolean filterNull,
Iterator objects) |
static String |
Strings.join(String separator,
String prefix,
String suffix,
Iterator objects,
Function<Object,String> mapper,
Predicate2<Integer,String> predicate) |
static Class |
ClassLoaders.loadClass(String className) |
static Class |
ClassLoaders.loadClass(String className,
Class basedClass) |
static Class |
ClassLoaders.loadClass(String className,
ClassLoader classLoader) |
static Class |
ClassLoaders.loadImplClass(String className,
ClassLoader classLoader,
Class superClass) |
static void |
Throwables.log(org.slf4j.Logger logger,
Level level,
String message,
Throwable ex)
把异常记录到日志中
|
static void |
Throwables.log(Throwable ex) |
static void |
Calendars.rollField(Calendar calendar,
Calendars.DateField field,
int value)
Just roll specified field, will not change other fields
|
static void |
Calendars.rollField(Calendar calendar,
Calendars.DateField field,
int value)
Just roll specified field, will not change other fields
|
static void |
Calendars.setDays(Calendar calendar,
int year) |
static void |
Calendars.setField(Calendar calendar,
Calendars.DateField field,
int value) |
static void |
Calendars.setField(Calendar calendar,
Calendars.DateField field,
int value) |
static void |
Calendars.setHours(Calendar calendar,
int year) |
static void |
Calendars.setMillis(Calendar calendar,
int millis) |
static void |
Calendars.setMinutes(Calendar calendar,
int year) |
static void |
Calendars.setMonths(Calendar calendar,
int month) |
static void |
Calendars.setMonths(Calendar calendar,
int month,
boolean valueIsActual) |
static void |
Calendars.setSeconds(Calendar calendar,
int year) |
static void |
Calendars.setYears(Calendar calendar,
int year) |
static <T> T |
Preconditions.test(Predicate<T> predicate,
T argument) |
static <T> T |
Preconditions.test(Predicate<T> predicate,
T argument,
String message) |
static <T> T |
Preconditions.test(Predicate<T> predicate,
T argument,
Supplier<Object[],String> messageSupplier,
Object... params) |
static <T> T |
Objs.useValueIfMatch(Supplier0<T> valueSupplier,
Predicate<T> predicate,
Supplier<T,T> defaultSupplier) |
static <T> T |
Objs.useValueIfNotMatch(Supplier0<T> valueSupplier,
Predicate<T> predicate,
Supplier<T,T> defaultSupplier) |
static DataSize |
DataSize.valueOf(String string) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RetouchedBloomFilter.add(Key key) |
void |
DynamicBloomFilter.add(Key key) |
void |
RetouchedBloomFilter.addFalsePositive(Collection<Key> coll)
Adds a collection of false positive information to this retouched Bloom filter.
|
void |
RetouchedBloomFilter.addFalsePositive(Key key)
Adds a false positive information to this retouched Bloom filter.
|
void |
RetouchedBloomFilter.addFalsePositive(Key[] keys)
Adds an array of false positive information to this retouched Bloom filter.
|
void |
RetouchedBloomFilter.addFalsePositive(List<Key> keys)
Adds a list of false positive information to this retouched Bloom filter.
|
boolean |
BloomFilter.membershipTest(Key key) |
void |
RetouchedBloomFilter.selectiveClearing(Key k,
short scheme)
Performs the selective clearing for a given key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <E,C extends Collection<E>> |
Collects.addAll(C dest,
E... iterator) |
static <E,C extends Collection<E>> |
Collects.addAll(C dest,
Iterable<E> iterable) |
static <E,C extends Collection<E>> |
Collects.addAll(C dest,
Iterator<E> iterator) |
<C extends Collection<E>> |
Pipeline.addTo(C collection) |
static <E,C extends Collection<E>> |
Collects.addTo(C srcCollection,
C targetCollection) |
static <E,C extends Collection<E>> |
Collects.allMatch(C collection,
Predicate<E> predicate)
whether all elements match the specified condition or not
|
static <K,V,M extends Map<? extends K,? extends V>> |
Collects.allMatch(M map,
Predicate2<K,V> predicate)
whether all elements match the specified condition or not
|
boolean |
Pipeline.allMatch(Predicate<E> predicate) |
static boolean |
Collects.allMatch(Predicate predicate,
Object... collection) |
static <E,C extends Collection<E>> |
Collects.anyMatch(C collection,
Predicate<E> predicate)
has any element match the specified condition
|
static <K,V,M extends Map<? extends K,? extends V>> |
Collects.anyMatch(M map,
Predicate2<K,V> predicate)
has any element match the specified condition
|
boolean |
Pipeline.anyMatch(Predicate<E> predicate) |
static boolean |
Collects.anyMatch(Predicate<Object> predicate,
Object... array) |
static <E,C extends Collection<E>> |
Collects.asArray(C list,
Class<E> componentClass) |
static <E> Collection<E> |
Collects.collect(Object anyObject,
Collection<E> container) |
static <E,R> R |
Collects.collect(Object anyObject,
Collector<E,R> collector) |
static <E,R> R |
Collects.collect(Object anyObject,
Supplier0<R> containerFactory,
Consumer2<R,E> consumer) |
static <E,R> R |
Collects.collect(Object anyObject,
Supplier0<R> containerFactory,
Consumer2<R,E> consumer) |
static <E> E[] |
Arrs.createArray(Class<E> componentType,
int length,
Supplier<Integer,E> initSupplier)
Create an array with the specified length and every element's value is supplied by the specified initSupplier
|
static <X,Y,E,C extends Collection<E>> |
Collects.diff(X oldObject,
Function<X,E> oldMapper,
Y newObject,
Function<Y,E> newMapper) |
static <X,Y,E,C extends Collection<E>> |
Collects.diff(X oldObject,
Function<X,E> oldMapper,
Y newObject,
Function<Y,E> newMapper) |
static <X,Y,E,C extends Collection<E>> |
Collects.diff(X oldObject,
Function<X,E> oldMapper,
Y newObject,
Function<Y,E> newMapper,
Comparator<E> elementComparator) |
static <X,Y,E,C extends Collection<E>> |
Collects.diff(X oldObject,
Function<X,E> oldMapper,
Y newObject,
Function<Y,E> newMapper,
Comparator<E> elementComparator) |
static <X,Y,E,C extends Collection<E>> |
Collects.diff(X oldObject,
Function<X,E> oldMapper,
Y newObject,
Function<Y,E> newMapper,
Comparator<E> elementComparator,
KeyBuilder<String,E> keyBuilder) |
static <X,Y,E,C extends Collection<E>> |
Collects.diff(X oldObject,
Function<X,E> oldMapper,
Y newObject,
Function<Y,E> newMapper,
Comparator<E> elementComparator,
KeyBuilder<String,E> keyBuilder) |
static <K,V> NonAbsentHashMap<K,V> |
Collects.emptyNonAbsentHashMap(Supplier<K,V> supplier) |
static <K,V> Map<K,V> |
Collects.filter(Map<K,V> map,
Predicate2<K,V> predicate)
Filter a map with the specified predicate
|
static <E> Collection<E> |
Collects.filter(Object anyObject,
Predicate<E> predicate)
Filter any object with the specified predicate
|
E |
Pipeline.findFirst(Predicate<E> predicate) |
Pipeline<E> |
Pipeline.findN(Predicate<E> predicate,
int n) |
static <E,C extends Iterable<E>,O> |
Collects.firstMap(C collection,
Function2<Integer,E,O> mapper)
find the first matched element, null if not found
|
static <E,C extends Iterable<E>,O> |
Collects.firstMap(C collection,
Function2<Integer,E,O> mapper,
Predicate<O> breakPredicate)
map every element in the collection with the mapper,
break the traverse if the mapped result match the breakPredicate
return the mapped result
|
static <E,C extends Iterable<E>,O> |
Collects.firstMap(C collection,
Function2<Integer,E,O> mapper,
Predicate2<E,O> breakPredicate)
map every element in the collection with the mapper,
break the traverse if the mapped result match the breakPredicate
return the mapped result
|
<O> O |
Pipeline.firstMap(Function2<Integer,E,O> mapper) |
<O> O |
Pipeline.firstMap(Function2<Integer,E,O> mapper,
Predicate<O> breakPredicate) |
<O> O |
Pipeline.firstMap(Function2<Integer,E,O> mapper,
Predicate2<E,O> breakPredicate) |
static <K,V,O> O |
Collects.firstMap(Map<K,V> map,
Function2<K,V,O> mapper)
find the first matched element, null if not found
|
static <K,V,O> O |
Collects.firstMap(Map<K,V> map,
Function2<K,V,O> mapper,
Predicate<O> breakPredicate)
find the first matched element, null if not found
|
static <E,R,C extends Collection<? extends Iterable<E>>> |
Collects.flatMap(C collection,
Function<E,R> mapper)
map a collection to another, flat it
|
static <E,R> Collection<R> |
Collects.flatMap(Function<E,R> mapper,
Collection<E[]> collection)
map a collection to another, flat it
|
static <E,C extends Iterable<E>> |
Collects.forEach(C collection,
Consumer<E> consumer) |
static <E,C extends Iterable<E>> |
Collects.forEach(C collection,
Consumer<E> consumer,
Predicate<E> breakPredicate) |
static <E,C extends Iterable<E>> |
Collects.forEach(C collection,
Consumer2<Integer,E> consumer)
Iterate every element
|
static <E,C extends Collection<E>> |
Collects.forEach(C collection,
Consumer2<Integer,E> consumer) |
static <E,C extends Iterable<E>> |
Collects.forEach(C collection,
Consumer2<Integer,E> consumer,
Predicate2<Integer,E> breakPredicate)
Iterate every element
|
void |
Pipeline.forEach(Consumer<E> consumer) |
void |
Pipeline.forEach(Consumer<E> consumer,
Predicate<E> breakPredicate) |
void |
Pipeline.forEach(Consumer2<Integer,E> consumer) |
void |
Pipeline.forEach(Consumer2<Integer,E> consumer,
Predicate2<Integer,E> breakPredicate) |
static <E,C extends Iterable<E>> |
Collects.forEach(C collection,
Predicate<E> consumePredicate,
Consumer<E> consumer) |
static <E,C extends Iterable<E>> |
Collects.forEach(C collection,
Predicate<E> consumePredicate,
Consumer<E> consumer,
Predicate<E> breakPredicate)
Consume every element what matched the consumePredicate
|
static <E,C extends Iterable<E>> |
Collects.forEach(C collection,
Predicate2<Integer,E> consumePredicate,
Consumer2<Integer,E> consumer)
Consume every element what matched the consumePredicate
|
static <E,C extends Iterable<E>> |
Collects.forEach(C collection,
Predicate2<Integer,E> consumePredicate,
Consumer2<Integer,E> consumer,
Predicate2<Integer,E> breakPredicate)
Consume every element what matched the consumePredicate
|
static <E> void |
Collects.forEach(E[] array,
Consumer<E> consumer) |
static <E> void |
Collects.forEach(E[] array,
Consumer2<Integer,E> consumer)
Iterate every element
|
static <E> void |
Collects.forEach(E[] array,
Consumer2<Integer,E> consumer,
Predicate2<Integer,E> breakPredicate)
Iterate every element
|
static <E> void |
Collects.forEach(E[] array,
Predicate<E> consumePredicate,
Consumer<E> consumer,
Predicate<E> breakPredicate)
consume every element that matched the consumePredicate
|
static <E> void |
Collects.forEach(E[] array,
Predicate2<Integer,E> consumePredicate,
Consumer2<Integer,E> consumer)
consume every element that matched the consumePredicate
|
static <E> void |
Collects.forEach(E[] array,
Predicate2<Integer,E> consumePredicate,
Consumer2<Integer,E> consumer,
Predicate2<Integer,E> breakPredicate)
consume every element that matched the consumePredicate
|
static <K,V,M extends Map<? extends K,? extends V>> |
Collects.forEach(M map,
Consumer2<K,V> consumer)
Iterate every element
|
static <K,V,M extends Map<? extends K,? extends V>> |
Collects.forEach(M map,
Consumer2<K,V> consumer,
Predicate2<K,V> breakPredicate)
Iterate every element
|
static <K,V,M extends Map<? extends K,? extends V>> |
Collects.forEach(M map,
Predicate2<K,V> consumePredicate,
Consumer2<K,V> consumer)
consume every element what matched the consumePredicate
|
static <K,V,M extends Map<? extends K,? extends V>> |
Collects.forEach(M map,
Predicate2<K,V> consumePredicate,
Consumer2<K,V> consumer,
Predicate2<K,V> breakPredicate)
consume every element what matched the consumePredicate
|
static <E> void |
Collects.forEach(Object obj,
Consumer<E> consumer) |
static <E> void |
Collects.forEach(Object obj,
Consumer2<Integer,E> consumer) |
void |
Pipeline.forEach(Predicate<E> consumePredicate,
Consumer<E> consumer,
Predicate<E> breakPredicate) |
void |
Pipeline.forEach(Predicate2<Integer,E> consumePredicate,
Consumer2<Integer,E> consumer) |
void |
Pipeline.forEach(Predicate2<Integer,E> consumePredicate,
Consumer2<Integer,E> consumer,
Predicate2<Integer,E> breakPredicate) |
static <K,V> V |
Maps.get(Map<K,V> map,
K key) |
static <K,V> V |
Maps.get(Map<K,V> map,
K key) |
static <K,V> V |
Maps.get(Map<K,V> map,
K key,
Supplier<K,V> defaultValueSupplier) |
static <K,V> V |
Maps.get(Map<K,V> map,
K key,
Supplier<K,V> defaultValueSupplier) |
static <K,V> V |
Maps.get(Map<K,V> map,
K key,
Supplier0<V> defaultValueSupplier) |
static <K,V> V |
Maps.get(Map<K,V> map,
K key,
Supplier0<V> defaultValueSupplier) |
static <K,V> V |
Maps.get(Map<K,V> map,
K key,
V defaultValue) |
static <K,V> V |
Maps.get(Map<K,V> map,
K key,
V defaultValue) |
static <K,E,C extends Collection<E>> |
Collects.groupBy(C iterable,
Function<E,K> classifier) |
static <K,E> Map<K,List<E>> |
Collects.groupBy(E[] iterable,
Function<E,K> classifier) |
static <K,E> Map<K,List<E>> |
Collects.groupBy(E[] iterable,
Function<E,K> classifier,
Supplier0<Map<K,List<E>>> mapFactory) |
static <K,E,C extends Collection<E>> |
Collects.groupBy(Iterable<E> iterable,
Function<E,K> classifier,
Supplier0<Map<K,List<E>>> mapFactory) |
static <E,K> Collector<E,Map<K,List<E>>> |
Collects.groupingBy(Function<E,K> classifier,
Supplier0<Map<K,List<E>>> mapFactory) |
static <E,K> Collector<E,Map<K,List<E>>> |
Collects.groupingBy(Function<E,K> classifier,
Supplier0<Map<K,List<E>>> mapFactory) |
static <E,K> Collector<E,Map<K,List<E>>> |
Collects.groupingBy(Function2<Integer,E,K> classifier,
Supplier0<Map<K,List<E>>> mapFactory) |
static <E,K> Collector<E,Map<K,List<E>>> |
Collects.groupingBy(Function2<Integer,E,K> classifier,
Supplier0<Map<K,List<E>>> mapFactory) |
static <E> void |
Arrs.initArray(E[] array,
E initValue) |
static <E> void |
Arrs.initArray(E[] array,
Supplier<Integer,E> initSupplier) |
static <E> void |
Arrs.initArray(E[] array,
Supplier<Integer,E> initSupplier) |
static <K,V,R,M extends Map<K,V>> |
Collects.map(M map,
Function2<K,V,R> mapper)
mapping aMap to a list
|
static <K,V,K1,V1,M extends Map<K,V>> |
Collects.map(M map,
Mapper2<K,V,Pair<K1,V1>> mapper)
mapping aMap to bMap
|
static <E,R> Collection<R> |
Collects.map(Object anyObject,
Function<E,R> mapper)
mapping an iterable to a list
|
static <E,K,V,M extends Map<K,V>> |
Collects.map(Object anyObject,
Mapper<E,Pair<K,V>> mapper)
mapping an iterable to a map
|
static <E> E |
Collects.max(Object object,
Comparator<E> comparator) |
static <E> E |
Collects.max(Object object,
Comparator<E> comparator) |
static <E> E |
Collects.min(Object object,
Comparator<E> comparator) |
static <E,C extends Collection<E>> |
Collects.noneMatch(C collection,
Predicate<E> predicate)
has no any element match the specified condition ?
|
static <K,V,M extends Map<? extends K,? extends V>> |
Collects.noneMatch(M map,
Predicate2<K,V> predicate)
has no any element match the specified condition ?
|
boolean |
Pipeline.noneMatch(Predicate<E> predicate) |
static boolean |
Collects.noneMatch(Predicate predicate,
Object... collection) |
static <E,K> Collector<E,Map<K,List<E>>> |
Collects.partitioningBy(Function<E,K> classifier) |
static <E,K> Collector<E,Map<K,List<E>>> |
Collects.partitioningBy(Function2<Integer,E,K> classifier) |
static <K,V> V |
Maps.putIfAbsent(Map<K,V> map,
K key,
Function<K,V> valueFactory) |
static <K,V> V |
Maps.putIfAbsent(Map<K,V> map,
K key,
Function<K,V> valueFactory) |
static <K,V> V |
Maps.putIfAbsent(Map<K,V> map,
K key,
Function<K,V> valueFactory) |
static <K,V> V |
Maps.putIfAbsent(Map<K,V> map,
K key,
Supplier<K,V> valueSupplier) |
static <K,V> V |
Maps.putIfAbsent(Map<K,V> map,
K key,
Supplier<K,V> valueSupplier) |
static <K,V> V |
Maps.putIfAbsent(Map<K,V> map,
K key,
V value) |
static <K,V> V |
Maps.putIfAbsent(Map<K,V> map,
K key,
V value) |
static <E,C extends Collection<E>> |
Collects.removeIf(C collection,
Predicate<E> predicate)
remove all elements that match the condition
|
static <E> boolean |
Collects.removeIf(Iterator<E> iterator,
Predicate<E> predicate) |
static <K,V> boolean |
Collects.removeIf(Map<K,V> map,
Predicate2<K,V> predicate)
remove all elements that match the map
|
static <K,V> V |
Maps.replace(Map<K,V> map,
K key,
V value) |
static <K,V> V |
Maps.replace(Map<K,V> map,
K key,
V value) |
static <K,V> V |
Maps.replace(Map<K,V> map,
K key,
V value) |
static <K,V> V |
Maps.replace(Map<K,V> map,
K key,
V value,
Predicate2<K,V> predicate) |
static <K,V> V |
Maps.replace(Map<K,V> map,
K key,
V value,
Predicate2<K,V> predicate) |
static <K,V> V |
Maps.replace(Map<K,V> map,
K key,
V value,
Predicate2<K,V> predicate) |
static <E> void |
Collects.shuffle(List<E> list)
Randomly permutes the specified list using a default source of
randomness.
|
static <E> void |
Collects.shuffle(List<E> list,
Random rnd)
Randomly permute the specified list using the specified source of
randomness.
|
static <E> void |
Collects.shuffle(List<E> list,
Random rnd)
Randomly permute the specified list using the specified source of
randomness.
|
static <E,C extends Collection<E>> |
Collects.sort(C collection,
Comparator<E> comparator)
sort a collection, return an new list. it is different to
Collections.sort(list) is that : Collections.sort() return void
|
static <E,C extends Collection<E>> |
Collects.sort(C collection,
Comparator<E> comparator,
boolean reverse)
sort a collection, return an new list. it is different to
Collections.sort(list) is that : Collections.sort() return void
|
Pipeline<E> |
Pipeline.sort(Comparator<E> comparator) |
static <K,V,M extends Map<K,V>> |
Collects.sort(M map,
Comparator<K> comparator)
sort a collection, return an new list. it is different to
Collections.sort(list) is that : Collections.sort() return void
|
Pipeline<E> |
Pipeline.sorted(Comparator<E> comparator) |
V |
LinkedCaseInsensitiveMap.supplyIfAbsent(String key,
Supplier<? super String,? extends V> supplier) |
static <E> void |
Collects.swap(E[] arr,
int i,
int j)
Swaps the two specified elements in the specified array.
|
static <E> void |
Arrs.swap(E[] arr,
int i,
int j)
Swaps the two specified elements in the specified array.
|
static <E> void |
Collects.swap(List<E> list,
int i,
int j)
Swaps the elements at the specified positions in the specified list.
|
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toHashMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
boolean sequential) |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toHashMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
boolean sequential) |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toMap(Supplier0<Map<K,V>> mapFactory,
Function<E,K> keyMapper,
Function<E,V> valueMapper) |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toMap(Supplier0<Map<K,V>> mapFactory,
Function<E,K> keyMapper,
Function<E,V> valueMapper) |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toMap(Supplier0<Map<K,V>> mapFactory,
Function<E,K> keyMapper,
Function<E,V> valueMapper) |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toTreeMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
Comparator<K> comparator) |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toTreeMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
Comparator<K> comparator) |
static <K,V> WrappedNonAbsentMap<K,V> |
Collects.wrapAsNonAbsentMap(Map<K,V> map,
Supplier<K,V> supplier) |
static <K,V> WrappedNonAbsentMap<K,V> |
Collects.wrapAsNonAbsentMap(Map<K,V> map,
Supplier<K,V> supplier) |
| 构造器和说明 |
|---|
NonAbsentHashMap(int initialCapacity,
float loadFactor,
Supplier<K,V> supplier) |
NonAbsentHashMap(Supplier<K,V> supplier) |
NonAbsentTreeMap(Comparator<? super K> comparator,
Supplier<K,V> supplier) |
NonAbsentTreeMap(Map<? extends K,? extends V> m,
Supplier<K,V> supplier) |
NonAbsentTreeMap(SortedMap<K,? extends V> m,
Supplier<K,V> supplier) |
NonAbsentTreeMap(Supplier<K,V> supplier) |
StringMapAccessor(StringMap target) |
WrappedNonAbsentMap(Map<K,V> map,
Supplier<K,V> supplier) |
WrappedNonAbsentMap(Map<K,V> map,
Supplier<K,V> supplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
VertexConsumer.accept(Graph<T> graph,
Vertex<T> vertex,
Edge<T> edge) |
void |
VertexConsumer.accept(Graph<T> graph,
Vertex<T> vertex,
Edge<T> edge) |
static <T> List<Vertex<T>> |
Graphs.sort(GraphTraverser traverser,
Graph<T> graph) |
static <T> List<Vertex<T>> |
Graphs.sort(GraphTraverser traverser,
Graph<T> graph,
String vertexName) |
static <T> void |
Graphs.traverse(GraphTraverser traverser,
Graph<T> graph,
String vertexName,
VertexConsumer<T> consumer) |
| 构造器和说明 |
|---|
IteratorIterable(Iterator<E> iterator) |
IteratorIterable(Iterator<E> iterator,
boolean removable) |
WrappedIterable(Iterable<E> delegate,
boolean mutable) |
WrappedIterator(Iterator<E> delegate,
boolean mutable) |
| 构造器和说明 |
|---|
CommonMultiValueMap(Map<K,Collection<V>> map,
Supplier<K,Collection<V>> valuesSupplier) |
CommonMultiValueMap(Map<K,Collection<V>> map,
Supplier<K,Collection<V>> valuesSupplier) |
CommonMultiValueMap(Supplier0<Map<K,Collection<V>>> mapSupplier,
Supplier<K,Collection<V>> valuesSupplier) |
CommonMultiValueMap(Supplier0<Map<K,Collection<V>>> mapSupplier,
Supplier<K,Collection<V>> valuesSupplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
static SimpleDateFormat |
GlobalThreadLocalMap.getSimpleDateFormat(String pattern) |
static SimpleDateFormat |
GlobalThreadLocalMap.getSimpleDateFormat(String pattern,
Locale locale) |
static SimpleDateFormat |
GlobalThreadLocalMap.getSimpleDateFormat(String pattern,
String timeZoneId) |
static SimpleDateFormat |
GlobalThreadLocalMap.getSimpleDateFormat(String pattern,
String timeZoneId,
Locale locale) |
static SimpleDateFormat |
GlobalThreadLocalMap.getSimpleDateFormat(String pattern,
TimeZone timeZone) |
static SimpleDateFormat |
GlobalThreadLocalMap.getSimpleDateFormat(String pattern,
TimeZone timeZone,
Locale locale) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
ConverterService.convert(Object obj,
Class<T> targetClass) |
<S,T> Converter<S,T> |
ConverterService.findConverter(Class<S> sourceClass,
Class<T> targetClass)
从 target-source-registry 中找
|
<S,T> Converter<S,T> |
ConverterService.findConverter(Class<S> sourceClass,
Class<T> targetClass)
从 target-source-registry 中找
|
<S,T> Converter<S,T> |
ConverterService.findConverter(S source,
Class<T> targetClass)
根据 source 是否 为 null 自行决定从哪个registry
|
void |
ConverterService.register(Class targetClass,
Class sourceClass,
Converter converter) |
void |
ConverterService.register(Class targetClass,
Class sourceClass,
Converter converter) |
void |
ConverterService.register(Class targetClass,
Converter converter) |
void |
ConverterService.register(Class targetClass,
Converter converter) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Enum<T>> |
Enums.ofCode(Class<T> tClass,
int code)
基于 code属性,或者 ordinal
|
static <T extends Enum<T>> |
Enums.ofDisplayText(Class<T> tClass,
String displayText) |
static <T extends Enum<T>> |
Enums.ofName(Class<T> tClass,
String name)
基于name
|
static <T extends Enum<T>> |
Enums.ofToString(Class<T> tClass,
String value) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E> Predicate<E> |
Functions.allPredicate(Predicate<E>... predicates) |
static <E> Predicate<E> |
Functions.andPredicate(Predicate<E>... predicates) |
static <E> Predicate<E> |
Functions.anyPredicate(Predicate<E>... predicates) |
static <E> Predicate<E> |
Functions.orPredicate(Predicate<E>... predicates) |
| 构造器和说明 |
|---|
ContainsPredicate(Collection<V> collection,
Comparator<V> comparator) |
| 限定符和类型 | 方法和说明 |
|---|---|
static CharsetDecoder |
Charsets.decoder(Charset charset)
Returns a cached thread-local
CharsetDecoder for the specified Charset. |
static CharsetDecoder |
Charsets.decoder(Charset charset,
CodingErrorAction codingErrorAction)
Returns a new
CharsetDecoder for the Charset with the specified error action. |
static CharsetDecoder |
Charsets.decoder(Charset charset,
CodingErrorAction codingErrorAction)
Returns a new
CharsetDecoder for the Charset with the specified error action. |
static CharsetDecoder |
Charsets.decoder(Charset charset,
CodingErrorAction malformedInputAction,
CodingErrorAction unmappableCharacterAction)
Returns a new
CharsetDecoder for the Charset with specified error actions. |
static CharsetDecoder |
Charsets.decoder(Charset charset,
CodingErrorAction malformedInputAction,
CodingErrorAction unmappableCharacterAction)
Returns a new
CharsetDecoder for the Charset with specified error actions. |
static CharsetDecoder |
Charsets.decoder(Charset charset,
CodingErrorAction malformedInputAction,
CodingErrorAction unmappableCharacterAction)
Returns a new
CharsetDecoder for the Charset with specified error actions. |
static CharsetEncoder |
Charsets.encoder(Charset charset)
Returns a cached thread-local
CharsetEncoder for the specified Charset. |
static CharsetEncoder |
Charsets.encoder(Charset charset,
CodingErrorAction codingErrorAction)
Returns a new
CharsetEncoder for the Charset with the specified error action. |
static CharsetEncoder |
Charsets.encoder(Charset charset,
CodingErrorAction codingErrorAction)
Returns a new
CharsetEncoder for the Charset with the specified error action. |
static CharsetEncoder |
Charsets.encoder(Charset charset,
CodingErrorAction malformedInputAction,
CodingErrorAction unmappableCharacterAction)
Returns a new
CharsetEncoder for the Charset with specified error actions. |
static CharsetEncoder |
Charsets.encoder(Charset charset,
CodingErrorAction malformedInputAction,
CodingErrorAction unmappableCharacterAction)
Returns a new
CharsetEncoder for the Charset with specified error actions. |
static CharsetEncoder |
Charsets.encoder(Charset charset,
CodingErrorAction malformedInputAction,
CodingErrorAction unmappableCharacterAction)
Returns a new
CharsetEncoder for the Charset with specified error actions. |
static byte[] |
IOs.read(ByteBuffer byteBuffer,
int position,
int maxLength) |
static void |
Channels.readLines(InputStream inputStream,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Channels.readLines(InputStream inputStream,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Channels.readLines(InputStream inputStream,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Channels.readLines(InputStream inputStream,
Consumer<String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Consumer<String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Consumer2<Integer,String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Consumer2<Integer,String> consumer) |
static void |
Channels.readLines(InputStream inputStream,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Channels.readLines(InputStream inputStream,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Channels.readLines(ReadableByteChannel channel,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readLines(ReadableByteChannel channel,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readLines(ReadableByteChannel channel,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readLines(ReadableByteChannel channel,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readLines(ReadableByteChannel channel,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readLines(ReadableByteChannel channel,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readLines(ReadableByteChannel channel,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Channels.readLines(ReadableByteChannel channel,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Channels.readLines(ReadableByteChannel channel,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate) |
static void |
Channels.readLines(ReadableByteChannel channel,
Consumer<String> consumer) |
static void |
Channels.readLines(ReadableByteChannel channel,
Consumer<String> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakConsumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakConsumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakConsumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Consumer<byte[]> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Consumer<byte[]> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Consumer<byte[]> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Consumer2<Integer,byte[]> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Consumer2<Integer,byte[]> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Consumer2<Integer,byte[]> consumer) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Predicate2<Integer,byte[]> consumePredicate,
Consumer2<Integer,byte[]> consumer,
Predicate2<Integer,byte[]> breakPredicate) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Predicate2<Integer,byte[]> consumePredicate,
Consumer2<Integer,byte[]> consumer,
Predicate2<Integer,byte[]> breakPredicate) |
static void |
Channels.readUsingDelimiter(InputStream inputStream,
String delimiter,
Predicate2<Integer,byte[]> consumePredicate,
Consumer2<Integer,byte[]> consumer,
Predicate2<Integer,byte[]> breakPredicate) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Consumer<String> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Consumer2<Integer,String> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate)
在消费之前,把 byte[] 转为 String
|
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate)
在消费之前,把 byte[] 转为 String
|
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate)
在消费之前,把 byte[] 转为 String
|
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Charset charset,
Predicate2<Integer,String> consumePredicate,
Consumer2<Integer,String> consumer,
Predicate2<Integer,String> breakPredicate)
在消费之前,把 byte[] 转为 String
|
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Consumer<byte[]> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Consumer<byte[]> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Consumer<byte[]> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Consumer2<Integer,byte[]> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Consumer2<Integer,byte[]> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Consumer2<Integer,byte[]> consumer) |
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Predicate2<Integer,byte[]> consumePredicate,
Consumer2<Integer,byte[]> consumer,
Predicate2<Integer,byte[]> breakPredicate)
所有方法最终都是走这个
|
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Predicate2<Integer,byte[]> consumePredicate,
Consumer2<Integer,byte[]> consumer,
Predicate2<Integer,byte[]> breakPredicate)
所有方法最终都是走这个
|
static void |
Channels.readUsingDelimiter(ReadableByteChannel channel,
String delimiter,
Predicate2<Integer,byte[]> consumePredicate,
Consumer2<Integer,byte[]> consumer,
Predicate2<Integer,byte[]> breakPredicate)
所有方法最终都是走这个
|
static <T> void |
ObjectIOs.serialize(T obj,
OutputStream outputStream)
序列化到指定的输出流
|
static String |
IODebugger.showBytes(byte[] bytes,
Charset charset) |
static String |
IODebugger.showBytes(InputStream inputStream) |
static String |
IODebugger.showBytes(InputStream inputStream,
Charset charset) |
static String |
IODebugger.showBytes(InputStream inputStream,
Charset charset) |
| 构造器和说明 |
|---|
LineDelimiter(String delimiter) |
LineIterator(Reader reader)
Constructs an iterator of the lines for a
Reader. |
| 限定符和类型 | 方法和说明 |
|---|---|
static FileFilter |
FileFilters.allFileFilter(FileFilter... predicates) |
static FileFilter |
FileFilters.allFileFilter(List<? extends FileFilter> predicates) |
static FileFilter |
FileFilters.anyFileFilter(FileFilter... predicates) |
static FileFilter |
FileFilters.anyFileFilter(List<? extends FileFilter> predicates) |
static void |
Files.find(File directory,
List<File> out,
int maxDepth,
FileFilter childrenFilter,
FileFilter filter,
Predicate2<List<File>,File> breakPredicate) |
static void |
Files.find(File directory,
List<File> out,
int maxDepth,
FileFilter childrenFilter,
FileFilter filter,
Predicate2<List<File>,File> breakPredicate) |
static void |
Files.find(File directory,
List<File> out,
int maxDepth,
FileFilter childrenFilter,
FileFilter filter,
Predicate2<List<File>,File> breakPredicate) |
| 构造器和说明 |
|---|
PatternFilenameFilter(Pattern pattern) |
PatternFilenameFilter(String pattern) |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
Loggers.isEnabled(org.slf4j.Logger logger,
Level level) |
static boolean |
Loggers.isEnabled(org.slf4j.Logger logger,
Level level) |
static void |
Loggers.log(Throwable ex) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
Nets.getMac(byte[] bytes) |
static String |
Nets.getMac(NetworkInterface networkInterface) |
static URL |
URLs.newURL(String url) |
| 构造器和说明 |
|---|
HttpQueryStringAccessor(String url) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
PatternSetExpressionParser.getSeparator() |
| 限定符和类型 | 方法和说明 |
|---|---|
PatternSet<PatternEntry> |
PatternSetExpressionParser.parse(String expression) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Collection<Field> |
Reflects.filterFields(Field[] fields,
int... excludedModifiers) |
static Collection<Field> |
Reflects.getAllDeclaredFields(Class clazz) |
static Collection<Field> |
Reflects.getAllDeclaredFields(Class clazz,
boolean containsStatic) |
static Collection<Field> |
Reflects.getAllPublicFields(Class clazz,
boolean containsStatic) |
static Collection<Field> |
Reflects.getAllPublicInstanceFields(Class clazz) |
static <E extends Annotation> |
Reflects.getAnnotation(AnnotatedElement annotatedElement,
Class<E> annotationClass)
Returns this element's annotation for the specified type if
such an annotation is present, else null.
|
static <E extends Annotation> |
Reflects.getAnnotation(AnnotatedElement annotatedElement,
Class<E> annotationClass)
Returns this element's annotation for the specified type if
such an annotation is present, else null.
|
static Annotation[] |
Reflects.getAnnotations(AnnotatedElement annotatedElement)
Returns all annotations present on this element.
|
static Field |
Reflects.getAnyField(Class clazz,
String fieldName) |
static Field |
Reflects.getAnyField(Class clazz,
String fieldName) |
static <V> V |
Reflects.getAnyFieldValue(Object object,
String fieldName,
boolean force,
boolean throwException) |
static <V> V |
Reflects.getAnyFieldValue(Object object,
String fieldName,
boolean force,
boolean throwException) |
static <V> V |
Reflects.getAnyFieldValueForcedIfPresent(Object object,
String fieldName) |
static <V> V |
Reflects.getAnyFieldValueForcedIfPresent(Object object,
String fieldName) |
static Method |
Reflects.getAnyMethod(Class clazz,
String methodName,
Class... parameterTypes) |
static Method |
Reflects.getAnyMethod(Class clazz,
String methodName,
Class... parameterTypes) |
static URL |
Reflects.getCodeLocation(Class clazz) |
static String |
Reflects.getCodeLocationString(Class clazz) |
static <E> Constructor<E> |
Reflects.getConstructor(Class<E> clazz,
Class... parameterTypes) |
static <E extends Annotation> |
Reflects.getDeclaredAnnotation(AnnotatedElement annotatedElement,
Class<E> annotationClass) |
static <E extends Annotation> |
Reflects.getDeclaredAnnotation(AnnotatedElement annotatedElement,
Class<E> annotationClass) |
static List<Annotation> |
Reflects.getDeclaredAnnotations(AnnotatedElement annotatedElement)
Returns all annotations that are directly present on this
element.
|
static Field |
Reflects.getDeclaredField(Class clazz,
String fieldName) |
static Field |
Reflects.getDeclaredField(Class clazz,
String fieldName) |
static <V> V |
Reflects.getDeclaredFieldValue(Object object,
String fieldName,
boolean force,
boolean throwException) |
static <V> V |
Reflects.getDeclaredFieldValueForcedIfPresent(Object object,
String fieldName) |
static <V> V |
Reflects.getDeclaredFieldValueForcedIfPresent(Object object,
String fieldName) |
static Method |
Reflects.getDeclaredMethod(Class clazz,
String methodName,
Class... parameterTypes) |
static Method |
Reflects.getDeclaredMethod(Class clazz,
String methodName,
Class... parameterTypes) |
static <V> V |
Reflects.getFieldValue(Field field,
Object object,
boolean force,
boolean throwException) |
static <V> V |
Reflects.getFieldValue(Field field,
Object object,
boolean force,
boolean throwException) |
static String |
Reflects.getFQNClassName(Class clazz) |
static String |
Reflects.getJvmSignature(Class clazz) |
static String |
Reflects.getMethodString(Class clazz,
String methodName,
Class[] parameterTypes) |
static String |
Reflects.getMethodString(Class clazz,
String methodName,
Class[] parameterTypes) |
static String |
Reflects.getMethodString(String clazzFQN,
String methodName,
Class returnType,
Class[] parameterTypes) |
static String |
Reflects.getPackageName(Class clazz) |
static String |
Reflects.getPackageName(String classFullName) |
static Field |
Reflects.getPublicField(Class clazz,
String fieldName) |
static Field |
Reflects.getPublicField(Class clazz,
String fieldName) |
static <V> V |
Reflects.getPublicFieldValue(Object object,
String fieldName,
boolean throwException) |
static <V> V |
Reflects.getPublicFieldValue(Object object,
String fieldName,
boolean throwException) |
static <V> V |
Reflects.getPublicFieldValueForcedIfPresent(Object object,
String fieldName) |
static <V> V |
Reflects.getPublicFieldValueForcedIfPresent(Object object,
String fieldName) |
static Method |
Reflects.getPublicMethod(Class clazz,
String methodName,
Class... parameterTypes) |
static Method |
Reflects.getPublicMethod(Class clazz,
String methodName,
Class... parameterTypes) |
static String |
Reflects.getSimpleClassName(Class clazz) |
static String |
Reflects.getSimpleClassName(Object obj) |
static Field |
Reflects.getStaticField(Class clazz,
String fieldName) |
static Field |
Reflects.getStaticField(Class clazz,
String fieldName) |
static String |
Reflects.getTypeName(Class type) |
static <E extends Annotation> |
Reflects.hasAnnotation(AnnotatedElement annotatedElement,
Class<E> annotationClass) |
static <E extends Annotation> |
Reflects.hasAnnotation(AnnotatedElement annotatedElement,
Class<E> annotationClass) |
static <E> boolean |
Reflects.hasConstructor(Class<E> clazz,
Class... parameterTypes) |
static Iterable<Class<?>> |
Reflects.hierarchy(Class<?> type)
Get an
Iterable that can iterate over a class hierarchy in ascending (subclass to superclass) order,
excluding interfaces. |
static Iterable<Class<?>> |
Reflects.hierarchy(Class<?> type,
boolean excludeInterfaces)
Get an
Iterable that can iterate over a class hierarchy in ascending (subclass to superclass) order. |
static <V> V |
Reflects.invoke(Method method,
Object object,
Object[] parameters,
boolean force,
boolean throwException) |
static <V> V |
Reflects.invokeAnyMethod(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters,
boolean force,
boolean throwException) |
static <V> V |
Reflects.invokeAnyMethod(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters,
boolean force,
boolean throwException) |
static <V> V |
Reflects.invokeAnyMethodForcedIfPresent(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters) |
static <V> V |
Reflects.invokeAnyMethodForcedIfPresent(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters) |
static <V> V |
Reflects.invokeDeclaredMethod(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters,
boolean force,
boolean throwException) |
static <V> V |
Reflects.invokeDeclaredMethod(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters,
boolean force,
boolean throwException) |
static <V> V |
Reflects.invokeDeclaredMethodForcedIfPresent(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters) |
static <V> V |
Reflects.invokeDeclaredMethodForcedIfPresent(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters) |
static <V> V |
Reflects.invokePublicMethod(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters,
boolean force,
boolean throwException) |
static <V> V |
Reflects.invokePublicMethod(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters,
boolean force,
boolean throwException) |
static <V> V |
Reflects.invokePublicMethodForcedIfPresent(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters) |
static <V> V |
Reflects.invokePublicMethodForcedIfPresent(Object object,
String methodName,
Class[] parameterTypes,
Object[] parameters) |
static boolean |
Reflects.isAnnotationPresent(AnnotatedElement annotatedElement,
Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type
is present on this element, else false.
|
static boolean |
Reflects.isAnnotationPresent(AnnotatedElement annotatedElement,
Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type
is present on this element, else false.
|
static boolean |
Reflects.isAnonymous(Class clazz) |
static boolean |
Reflects.isAnonymousOrLocal(Class<?> clazz) |
static boolean |
Reflects.isConcrete(Class clazz) |
static boolean |
Reflects.isGetter(Method method) |
static boolean |
Reflects.isGetterOrSetter(Method method) |
static boolean |
Reflects.isImplementsInterface(Class clazz,
Class intf)
Determine if the given class implements the given interface.
|
static boolean |
Reflects.isImplementsInterface(Class clazz,
Class intf)
Determine if the given class implements the given interface.
|
static boolean |
Reflects.isInnerClass(Class<?> clazz) |
static <T> boolean |
Reflects.isInstance(T object,
Class targetType)
判断 obj 是否是 targetType 的实例
|
static boolean |
Reflects.isLambda(Class<?> clazz) |
static boolean |
Reflects.isLocal(Class clazz) |
static boolean |
Reflects.isSetter(Method method) |
static boolean |
Reflects.isStatic(Class<?> clazz) |
static boolean |
Reflects.isSubClass(Class parent,
Class child) |
static boolean |
Reflects.isSubClass(Class parent,
Class child) |
static boolean |
Reflects.isSubClassOrEquals(Class parent,
Class child) |
static boolean |
Reflects.isSubClassOrEquals(Class parent,
Class child) |
static boolean |
Reflects.isSubClassOrEquals(String parent,
Class child) |
static boolean |
Reflects.isSubClassOrEquals(String parent,
Class child) |
static boolean |
Reflects.isSubClassOrEquals(String parent,
Class child,
boolean checkSuperClass,
boolean checkInterfaces) |
static boolean |
Reflects.isSubClassOrEquals(String parent,
Class child,
boolean checkSuperClass,
boolean checkInterfaces) |
static boolean |
Reflects.makeAccessible(Field field) |
static <E> E |
Reflects.newInstance(Class<E> clazz) |
static <E> E |
Reflects.newInstance(Class<E> clazz,
Class[] parameterTypes,
Object... parameters) |
static <E> E |
Reflects.newInstance(Class<E> clazz,
Class[] parameterTypes,
Object... parameters) |
static <E> E |
Reflects.newInstance(Constructor<E> constructor,
Object... parameters) |
static void |
Reflects.setAnyFieldValue(Object object,
String fieldName,
Object value,
boolean force,
boolean throwException) |
static void |
Reflects.setAnyFieldValue(Object object,
String fieldName,
Object value,
boolean force,
boolean throwException) |
static void |
Reflects.setDeclaredFieldValue(Object object,
String fieldName,
Object value,
boolean force,
boolean throwException) |
static void |
Reflects.setDeclaredFieldValue(Object object,
String fieldName,
Object value,
boolean force,
boolean throwException) |
void |
FieldComparator.setDelegate(Comparator<V> delegate) |
static void |
Reflects.setFieldValue(Field field,
Object target,
Object value,
boolean force,
boolean throwException) |
static void |
Reflects.setFieldValue(Field field,
Object target,
Object value,
boolean force,
boolean throwException) |
static void |
Reflects.setPublicFieldValue(Object object,
String fieldName,
Object value,
boolean force,
boolean throwException) |
static void |
Reflects.setPublicFieldValue(Object object,
String fieldName,
Object value,
boolean force,
boolean throwException) |
void |
ArrayAccessor.setTarget(E target) |
| 构造器和说明 |
|---|
FieldAccessor(Object target) |
FieldComparator(Class clazz,
String fieldName,
Comparator fieldComparator) |
FieldComparator(Class clazz,
String fieldName,
Comparator fieldComparator) |
FieldComparator(Field field,
Comparator<V> fieldComparator) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
Types.getTypeSignature(String typeString)
get the type's signature in jvm runtime
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
ValueGetter2.get(K key,
Function<Object,Object> mapper) |
Boolean |
ValueGetter2.getBoolean(K key,
Function<Object,Boolean> mapper) |
Byte |
ValueGetter2.getByte(K key,
Function<Object,Byte> mapper) |
Character |
ValueGetter2.getCharacter(K key,
Function<Object,Character> mapper) |
Double |
ValueGetter2.getDouble(K key,
Function<Object,Double> mapper) |
Float |
ValueGetter2.getFloat(K key,
Function<Object,Float> mapper) |
Integer |
ValueGetter2.getInteger(K key,
Function<Object,Integer> mapper) |
Long |
ValueGetter2.getLong(K key,
Function<Object,Long> mapper) |
Short |
ValueGetter2.getShort(K key,
Function<Object,Short> mapper) |
String |
ValueGetter2.getString(K key,
Function<Object,String> mapper) |
Copyright © 2022. All rights reserved.