Uses of Interface
java.util.function.Function
-
Packages that use Function 软件包 描述 java.lang 提供对Java编程语言设计至关重要的类。java.security 提供安全框架的类和接口。java.util 包含集合框架,一些国际化支持类,一个服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,一个位数组和几个其他实用程序类。java.util.concurrent 实用程序类通常用于并发编程。java.util.function 功能界面提供了lambda表达式和方法引用的目标类型。java.util.logging 提供Java¢2平台核心日志记录工具的类和接口。java.util.regex 匹配字符序列与正则表达式指定的模式的类。java.util.stream 支持元素流功能性操作的类,例如集合上的map-reduce转换。javafx.css 提供API,通过CSS使属性变得风格,并支持伪类状态。jdk.incubator.http 高级HTTP和WebSocket APIjdk.jshell 提供用于创建工具的界面,例如阅读评估打印循环(REPL),它交互地评估Java编程语言代码的“片断”。 -
-
Uses of Function in java.lang
Methods in java.lang with parameters of type Function Modifier and Type 方法 描述 ModuleLayer
ModuleLayer. defineModules(Configuration cf, Function<String,ClassLoader> clf)
通过在Java虚拟机的给定的Configuration
定义模块,创建一个新的模块层,将该层作为其父层。static ModuleLayer.Controller
ModuleLayer. defineModules(Configuration cf, List<ModuleLayer> parentLayers, Function<String,ClassLoader> clf)
通过将给定的Configuration
的模块定义到Java虚拟机来创建新的模块层。<T> T
StackWalker. walk(Function<? super Stream<StackWalker.StackFrame>,? extends T> function)
将给定的函数应用于当前线程的StackFrame
的流,从堆栈的顶部框架遍历,这是调用此walk
方法的方法。 -
Uses of Function in java.security
Methods in java.security with parameters of type Function Modifier and Type 方法 描述 Object
Provider. computeIfAbsent(Object key, Function<? super Object,? extends Object> mappingFunction)
如果指定的键尚未与值相关联(或映射到null
),则尝试使用给定的映射函数计算其值,并将其输入到此映射中,除非是null
。 -
Uses of Function in java.util
Methods in java.util with parameters of type Function Modifier and Type 方法 描述 static <T,U extends Comparable<? super U>>
Comparator<T>Comparator. comparing(Function<? super T,? extends U> keyExtractor)
接受一个从T类型中提取Comparable
排序键的T
,并返回一个按该排序键进行比较的Comparator<T>
。static <T,U> Comparator<T>
Comparator. comparing(Function<? super T,? extends U> keyExtractor, Comparator<? super U> keyComparator)
接受从类型T
提取排序键的T
,并返回一个Comparator<T>
,使用指定的Comparator
比较该排序键。V
HashMap. computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
如果指定的键尚未与值相关联(或映射到null
),则尝试使用给定的映射函数计算其值,并将其输入到此映射中,除非是null
。V
Hashtable. computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
如果指定的键尚未与值相关联(或映射到null
),则尝试使用给定的映射函数计算其值,并将其输入到此映射中,除非是null
。default V
Map. computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
如果指定的键尚未与值相关联(或映射到null
),则尝试使用给定的映射函数计算其值,并将其输入到此映射中,除非是null
。Object
Properties. computeIfAbsent(Object key, Function<? super Object,?> mappingFunction)
<U> Optional<U>
Optional. flatMap(Function<? super T,? extends Optional<? extends U>> mapper)
如果存在值,则返回将给定的Optional
映射函数应用于该值的结果,否则返回一个空的Optional
。<U> Optional<U>
Optional. map(Function<? super T,? extends U> mapper)
default <U extends Comparable<? super U>>
Comparator<T>Comparator. thenComparing(Function<? super T,? extends U> keyExtractor)
返回具有提取Comparable
排序键的功能的字典顺序比较器。default <U> Comparator<T>
Comparator. thenComparing(Function<? super T,? extends U> keyExtractor, Comparator<? super U> keyComparator)
返回具有提取要与给定的Comparator
进行比较的键的功能的字典顺序比较器。 -
Uses of Function in java.util.concurrent
Methods in java.util.concurrent with parameters of type Function Modifier and Type 方法 描述 <U> CompletableFuture<U>
CompletableFuture. applyToEither(CompletionStage<? extends T> other, Function<? super T,U> fn)
<U> CompletionStage<U>
CompletionStage. applyToEither(CompletionStage<? extends T> other, Function<? super T,U> fn)
返回一个新的CompletionStage,当这个或另一个给定阶段正常完成时,执行相应的结果作为提供的函数的参数。<U> CompletableFuture<U>
CompletableFuture. applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn)
<U> CompletableFuture<U>
CompletableFuture. applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn, Executor executor)
<U> CompletionStage<U>
CompletionStage. applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn)
返回一个新的CompletionStage,当这个或另一个给定阶段正常完成时,将使用此阶段的默认异步执行工具执行,其中相应的结果作为提供函数的参数。<U> CompletionStage<U>
CompletionStage. applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn, Executor executor)
返回一个新的CompletionStage,当这个或另一个给定阶段正常完成时,将使用提供的执行器执行,其中相应的结果作为参数提供给函数。V
ConcurrentHashMap. computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
如果指定的键尚未与值相关联,则尝试使用给定的映射函数计算其值,并将其输入到此映射中,除非是null
。default V
ConcurrentMap. computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
如果指定的键尚未与值相关联(或映射到null
),则尝试使用给定的映射函数计算其值,并将其输入到此映射中,除非是null
。V
ConcurrentSkipListMap. computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
如果指定的键尚未与值相关联,则尝试使用给定的映射函数计算其值,并将其输入到此映射中,除非是null
。CompletableFuture<T>
CompletableFuture. exceptionally(Function<Throwable,? extends T> fn)
返回一个新的CompletableFuture,当CompletableFuture完成时完成,结果是异常触发此CompletableFuture的完成特殊功能的给定功能; 否则,如果此CompletableFuture正常完成,则返回的CompletableFuture也会以相同的值正常完成。CompletionStage<T>
CompletionStage. exceptionally(Function<Throwable,? extends T> fn)
返回一个新的CompletionStage,当此阶段完成异常时,将以此阶段的异常作为提供函数的参数执行。<U> void
ConcurrentHashMap. forEachEntry(long parallelismThreshold, Function<Map.Entry<K,V>,? extends U> transformer, Consumer<? super U> action)
对每个条目的每个非空变换执行给定的操作。<U> void
ConcurrentHashMap. forEachKey(long parallelismThreshold, Function<? super K,? extends U> transformer, Consumer<? super U> action)
对每个键的每个非空变换执行给定的动作。<U> void
ConcurrentHashMap. forEachValue(long parallelismThreshold, Function<? super V,? extends U> transformer, Consumer<? super U> action)
对每个值的每个非空转换执行给定的动作。<U> U
ConcurrentHashMap. reduceEntries(long parallelismThreshold, Function<Map.Entry<K,V>,? extends U> transformer, BiFunction<? super U,? super U,? extends U> reducer)
返回使用给定的reducer将所有条目的给定变换累加到组合值的结果,否则返回null。<U> U
ConcurrentHashMap. reduceKeys(long parallelismThreshold, Function<? super K,? extends U> transformer, BiFunction<? super U,? super U,? extends U> reducer)
返回使用给定的reducer将所有键的给定变换累加到组合值的结果,否则返回null。<U> U
ConcurrentHashMap. reduceValues(long parallelismThreshold, Function<? super V,? extends U> transformer, BiFunction<? super U,? super U,? extends U> reducer)
返回使用给定的reducer累加所有值的给定变换以组合值的结果,否则返回null。<U> U
ConcurrentHashMap. searchEntries(long parallelismThreshold, Function<Map.Entry<K,V>,? extends U> searchFunction)
返回一个非空结果,从每个条目应用给定的搜索函数,如果没有,则返回null。<U> U
ConcurrentHashMap. searchKeys(long parallelismThreshold, Function<? super K,? extends U> searchFunction)
返回一个非空结果,在每个键上应用给定的搜索功能,如果没有,返回null。<U> U
ConcurrentHashMap. searchValues(long parallelismThreshold, Function<? super V,? extends U> searchFunction)
返回一个非空结果,对每个值应用给定的搜索函数,如果没有,返回null。<U> CompletableFuture<U>
CompletableFuture. thenApply(Function<? super T,? extends U> fn)
<U> CompletionStage<U>
CompletionStage. thenApply(Function<? super T,? extends U> fn)
返回一个新的CompletionStage,当此阶段正常完成时,将以该阶段的结果作为所提供函数的参数执行。<U> CompletableFuture<U>
CompletableFuture. thenApplyAsync(Function<? super T,? extends U> fn)
<U> CompletableFuture<U>
CompletableFuture. thenApplyAsync(Function<? super T,? extends U> fn, Executor executor)
<U> CompletionStage<U>
CompletionStage. thenApplyAsync(Function<? super T,? extends U> fn)
返回一个新的CompletionStage,当该阶段正常完成时,将使用此阶段的默认异步执行工具执行此阶段的结果作为所提供函数的参数。<U> CompletionStage<U>
CompletionStage. thenApplyAsync(Function<? super T,? extends U> fn, Executor executor)
返回一个新的CompletionStage,当此阶段正常完成时,将使用提供的执行程序执行此阶段的结果作为提供函数的参数。<U> CompletableFuture<U>
CompletableFuture. thenCompose(Function<? super T,? extends CompletionStage<U>> fn)
<U> CompletionStage<U>
CompletionStage. thenCompose(Function<? super T,? extends CompletionStage<U>> fn)
返回一个完成的新的CompletionStage,其值与给定函数返回的CompletionStage相同。<U> CompletableFuture<U>
CompletableFuture. thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn)
<U> CompletableFuture<U>
CompletableFuture. thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, Executor executor)
<U> CompletionStage<U>
CompletionStage. thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn)
返回一个新的CompletionStage,其完成值与给定函数返回的CompletionStage值相同,并使用该阶段的默认异步执行工具执行。<U> CompletionStage<U>
CompletionStage. thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, Executor executor)
返回一个新的CompletionStage,其完成值与给定函数返回的CompletionStage值相同,并使用提供的Executor执行。 -
Uses of Function in java.util.function
Subinterfaces of Function in java.util.function Modifier and Type 接口 描述 interface
UnaryOperator<T>
表示对单个操作数产生与其操作数相同类型的结果的操作。Methods in java.util.function that return Function Modifier and Type 方法 描述 default <V> Function<T,V>
Function. andThen(Function<? super R,? extends V> after)
返回一个组合函数,首先将该函数应用于其输入,然后将after
函数应用于结果。default <V> Function<V,R>
Function. compose(Function<? super V,? extends T> before)
返回一个组合函数,该函数首先将before
函数应用于其输入,然后将此函数应用于结果。static <T> Function<T,T>
Function. identity()
返回一个总是返回其输入参数的函数。Methods in java.util.function with parameters of type Function Modifier and Type 方法 描述 default <V> BiFunction<T,U,V>
BiFunction. andThen(Function<? super R,? extends V> after)
返回一个组合函数,首先将该函数应用于其输入,然后将after
函数应用于结果。default <V> Function<T,V>
Function. andThen(Function<? super R,? extends V> after)
返回一个组合函数,首先将该函数应用于其输入,然后将after
函数应用于结果。default <V> Function<V,R>
Function. compose(Function<? super V,? extends T> before)
返回一个组合函数,首先将before
函数应用于其输入,然后将此函数应用于结果。 -
Uses of Function in java.util.logging
Methods in java.util.logging with parameters of type Function Modifier and Type 方法 描述 void
LogManager. updateConfiguration(InputStream ins, Function<String,BiFunction<String,String,String>> mapper)
更新日志记录配置。void
LogManager. updateConfiguration(Function<String,BiFunction<String,String,String>> mapper)
更新日志记录配置。 -
Uses of Function in java.util.regex
Methods in java.util.regex with parameters of type Function Modifier and Type 方法 描述 String
Matcher. replaceAll(Function<MatchResult,String> replacer)
将与模式匹配的输入序列的每个子序列替换为将给定的替换器函数应用于与该子序列相对应的匹配器的匹配结果的结果。String
Matcher. replaceFirst(Function<MatchResult,String> replacer)
将与模式匹配的输入序列的第一个子序列替换为将给定的替换器函数应用于与该子序列对应的匹配器的匹配结果的结果。 -
Uses of Function in java.util.stream
Methods in java.util.stream that return Function Modifier and Type 方法 描述 Function<A,R>
Collector. finisher()
执行从中间累积类型A
到最终结果类型R
的最终R
。Methods in java.util.stream with parameters of type Function Modifier and Type 方法 描述 static <T,A,R,RR> Collector<T,A,RR>
Collectors. collectingAndThen(Collector<T,A,R> downstream, Function<R,RR> finisher)
适应Collector
进行额外的完成转换。<R> Stream<R>
Stream. flatMap(Function<? super T,? extends Stream<? extends R>> mapper)
返回由通过将提供的映射函数应用于每个元素而产生的映射流的内容来替换该流的每个元素的结果的流。static <T,U,A,R> Collector<T,?,R>
Collectors. flatMapping(Function<? super T,? extends Stream<? extends U>> mapper, Collector<? super U,A,R> downstream)
适应一个Collector
类型的接受元件U
到类型的一个接受元件T
通过积累之前施加平坦映射函数应用于每个输入元件。DoubleStream
Stream. flatMapToDouble(Function<? super T,? extends DoubleStream> mapper)
返回一个DoubleStream
其中包含将该流的每个元素替换为通过将提供的映射函数应用于每个元素而产生的映射流的内容的结果。IntStream
Stream. flatMapToInt(Function<? super T,? extends IntStream> mapper)
返回一个IntStream
其中包含将该流的每个元素替换为通过将提供的映射函数应用于每个元素而产生的映射流的内容的结果。LongStream
Stream. flatMapToLong(Function<? super T,? extends LongStream> mapper)
返回一个LongStream
其中包含将该流的每个元素替换为通过将提供的映射函数应用于每个元素而产生的映射流的内容的结果。static <T,K> Collector<T,?,Map<K,List<T>>>
Collectors. groupingBy(Function<? super T,? extends K> classifier)
返回一个Collector
对类型为T
输入元素进行“按组”操作,根据分类功能对元素进行分组,并将结果返回到Map
。static <T,K,D,A,M extends Map<K,D>>
Collector<T,?,M>Collectors. groupingBy(Function<? super T,? extends K> classifier, Supplier<M> mapFactory, Collector<? super T,A,D> downstream)
返回一个Collector
,对T
类型的输入元素执行级联“分组”操作,根据分类功能分组元素,然后使用指定的下游Collector
对与给定键相关联的值执行缩减操作。static <T,K,A,D> Collector<T,?,Map<K,D>>
Collectors. groupingBy(Function<? super T,? extends K> classifier, Collector<? super T,A,D> downstream)
返回Collector
“由基团”上的类型的输入元件操作实现级联T
,根据分类功能分组元素,然后使用下游的指定与给定键相关联的值进行还原操作Collector
。static <T,K> Collector<T,?,ConcurrentMap<K,List<T>>>
Collectors. groupingByConcurrent(Function<? super T,? extends K> classifier)
返回一个并发的Collector
,对类型为T
输入元素实施“分组”操作,根据分类功能对元素进行分组。static <T,K,A,D,M extends ConcurrentMap<K,D>>
Collector<T,?,M>Collectors. groupingByConcurrent(Function<? super T,? extends K> classifier, Supplier<M> mapFactory, Collector<? super T,A,D> downstream)
返回并行的Collector
,对T
类型的输入元素进行级联“分组”操作,根据分类功能对元素进行分组,然后使用指定的下游Collector
对与给定键相关联的值执行缩减操作。static <T,K,A,D> Collector<T,?,ConcurrentMap<K,D>>
Collectors. groupingByConcurrent(Function<? super T,? extends K> classifier, Collector<? super T,A,D> downstream)
返回并行的Collector
,对类型为T
输入元素进行级联“分组”操作,根据分类功能分组元素,然后使用指定的下游Collector
对与给定键相关联的值执行缩减操作。<R> Stream<R>
Stream. map(Function<? super T,? extends R> mapper)
返回由给定函数应用于此流的元素的结果组成的流。static <T,U,A,R> Collector<T,?,R>
Collectors. mapping(Function<? super T,? extends U> mapper, Collector<? super U,A,R> downstream)
适应一个Collector
类型的接受元件U
到类型的一个接受元件T
通过积累前应用映射函数到每个输入元素。static <T,A,R> Collector<T,A,R>
Collector. of(Supplier<A> supplier, BiConsumer<A,T> accumulator, BinaryOperator<A> combiner, Function<A,R> finisher, Collector.Characteristics... characteristics)
返回一个新Collector
由给定的描述supplier
,accumulator
,combiner
,并finisher
功能。static <T,U> Collector<T,?,U>
Collectors. reducing(U identity, Function<? super T,? extends U> mapper, BinaryOperator<U> op)
返回一个Collector
,它在指定的映射函数和BinaryOperator
下执行其输入元素的减少。static <T,K,U> Collector<T,?,ConcurrentMap<K,U>>
Collectors. toConcurrentMap(Function<? super T,? extends K> keyMapper, Function<? super T,? extends U> valueMapper)
返回一个并发的Collector
,它将元素累加到ConcurrentMap
其键和值是将所提供的映射函数应用于输入元素的结果。static <T,K,U> Collector<T,?,ConcurrentMap<K,U>>
Collectors. toConcurrentMap(Function<? super T,? extends K> keyMapper, Function<? super T,? extends U> valueMapper, BinaryOperator<U> mergeFunction)
返回一个并发的Collector
,它将元素累加到ConcurrentMap
其键和值是将提供的映射函数应用于输入元素的结果。static <T,K,U,M extends ConcurrentMap<K,U>>
Collector<T,?,M>Collectors. toConcurrentMap(Function<? super T,? extends K> keyMapper, Function<? super T,? extends U> valueMapper, BinaryOperator<U> mergeFunction, Supplier<M> mapFactory)
返回一个并发的Collector
,它将元素累加到ConcurrentMap
其键和值是将所提供的映射函数应用于输入元素的结果。static <T,K,U> Collector<T,?,Map<K,U>>
Collectors. toMap(Function<? super T,? extends K> keyMapper, Function<? super T,? extends U> valueMapper)
返回一个Collector
,它将元素累加到Map
其键和值是将提供的映射函数应用于输入元素的结果。static <T,K,U> Collector<T,?,Map<K,U>>
Collectors. toMap(Function<? super T,? extends K> keyMapper, Function<? super T,? extends U> valueMapper, BinaryOperator<U> mergeFunction)
返回一个Collector
,它将元素累加到Map
其键和值是将提供的映射函数应用于输入元素的结果。static <T,K,U,M extends Map<K,U>>
Collector<T,?,M>Collectors. toMap(Function<? super T,? extends K> keyMapper, Function<? super T,? extends U> valueMapper, BinaryOperator<U> mergeFunction, Supplier<M> mapFactory)
返回一个Collector
,它将元素累加到Map
其键和值是将提供的映射函数应用于输入元素的结果。 -
Uses of Function in javafx.css
Methods in javafx.css with parameters of type Function Modifier and Type 方法 描述 CssMetaData<S,Boolean>
StyleablePropertyFactory. createBooleanCssMetaData(String property, Function<S,StyleableProperty<Boolean>> function)
创建一个具有初始值的CssMetaData <S,Boolean>,并继承标志,两者都默认为false。CssMetaData<S,Boolean>
StyleablePropertyFactory. createBooleanCssMetaData(String property, Function<S,StyleableProperty<Boolean>> function, boolean initialValue)
创建具有初始值的CssMetaData <S,Boolean>,并将标志默认为false。CssMetaData<S,Boolean>
StyleablePropertyFactory. createBooleanCssMetaData(String property, Function<S,StyleableProperty<Boolean>> function, boolean initialValue, boolean inherits)
创建具有初始值的CssMetaData <S,Boolean>,并继承标志。CssMetaData<S,Color>
StyleablePropertyFactory. createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function)
创建一个CssMetaData <S,Color>,初始值为Color.BLACK,并继承标志默认为false。CssMetaData<S,Color>
StyleablePropertyFactory. createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function, Color initialValue)
创建具有初始值的CssMetaData <S,Color>,并将标志默认为false。CssMetaData<S,Color>
StyleablePropertyFactory. createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function, Color initialValue, boolean inherits)
创建具有初始值的CssMetaData <S,Color>并继承标志。CssMetaData<S,Duration>
StyleablePropertyFactory. createDurationCssMetaData(String property, Function<S,StyleableProperty<Duration>> function)
创建一个具有Duration.BLACK的初始值的CssMetaData <S,Duration>,并将标志默认为false。CssMetaData<S,Duration>
StyleablePropertyFactory. createDurationCssMetaData(String property, Function<S,StyleableProperty<Duration>> function, Duration initialValue)
创建具有初始值的CssMetaData <S,持续时间>,并将标志默认为false。CssMetaData<S,Duration>
StyleablePropertyFactory. createDurationCssMetaData(String property, Function<S,StyleableProperty<Duration>> function, Duration initialValue, boolean inherits)
创建具有初始值的CssMetaData <S,Duration>并继承标志。<E extends Effect>
CssMetaData<S,E>StyleablePropertyFactory. createEffectCssMetaData(String property, Function<S,StyleableProperty<E>> function)
创建CssMetaData <S,Effect>,初始值为null,并将标志默认为false。<E extends Effect>
CssMetaData<S,E>StyleablePropertyFactory. createEffectCssMetaData(String property, Function<S,StyleableProperty<E>> function, E initialValue)
创建具有初始值的CssMetaData <S,Effect>,并将标志默认为false。<E extends Effect>
CssMetaData<S,E>StyleablePropertyFactory. createEffectCssMetaData(String property, Function<S,StyleableProperty<E>> function, E initialValue, boolean inherits)
用初始值创建一个CssMetaData <S,Effect>并继承标志。<E extends Enum<E>>
CssMetaData<S,E>StyleablePropertyFactory. createEnumCssMetaData(Class<? extends Enum> enumClass, String property, Function<S,StyleableProperty<E>> function)
创建CssMetaData <S,枚举>,初始值为null,并将标志默认为false。<E extends Enum<E>>
CssMetaData<S,E>StyleablePropertyFactory. createEnumCssMetaData(Class<? extends Enum> enumClass, String property, Function<S,StyleableProperty<E>> function, E initialValue)
创建具有初始值的CssMetaData <S,枚举>,并将标志默认为false。<E extends Enum<E>>
CssMetaData<S,E>StyleablePropertyFactory. createEnumCssMetaData(Class<? extends Enum> enumClass, String property, Function<S,StyleableProperty<E>> function, E initialValue, boolean inherits)
创建具有初始值的CssMetaData <S,枚举>,并继承标志。CssMetaData<S,Font>
StyleablePropertyFactory. createFontCssMetaData(String property, Function<S,StyleableProperty<Font>> function)
创建CssMetaData <S,Font>,初始值为Font.getDefault()
,并将标志默认为true。CssMetaData<S,Font>
StyleablePropertyFactory. createFontCssMetaData(String property, Function<S,StyleableProperty<Font>> function, Font initialValue)
创建具有初始值的CssMetaData <S,Font>,并将标志默认为true。CssMetaData<S,Font>
StyleablePropertyFactory. createFontCssMetaData(String property, Function<S,StyleableProperty<Font>> function, Font initialValue, boolean inherits)
创建一个具有初始值的CssMetaData <S,Font>并继承标志。CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function)
创建CssMetaData <S,Insets>,初始值为Insets.EMPTY
,并将标志默认为false。CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function, Insets initialValue)
创建具有初始值的CssMetaData <S,Insets>,并将标志默认为false。CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function, Insets initialValue, boolean inherits)
创建具有初始值的CssMetaData <S,Insets>并继承标志。CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function)
使用Color.BLACK的初始值创建一个CssMetaData <S,Paint>,并将标志默认为false。CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function, Paint initialValue)
创建具有初始值的CssMetaData <S,Paint>,并将标志默认为false。CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function, Paint initialValue, boolean inherits)
用初始值创建一个CssMetaData <S,Paint>并继承标志。CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function)
创建CssMetaData <S,Number>,初始值为0d
,并将标志默认为false。CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function, Number initialValue)
创建具有初始值的CssMetaData <S,Number>,并将标志默认为false。CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function, Number initialValue, boolean inherits)
创建具有初始值的CssMetaData <S,Number>,并继承标志。CssMetaData<S,String>
StyleablePropertyFactory. createStringCssMetaData(String property, Function<S,StyleableProperty<String>> function)
创建CssMetaData <S,String>,初始值为null,并将标志默认为false。CssMetaData<S,String>
StyleablePropertyFactory. createStringCssMetaData(String property, Function<S,StyleableProperty<String>> function, String initialValue)
创建具有初始值的CssMetaData <S,String>,并将标志默认为false。CssMetaData<S,String>
StyleablePropertyFactory. createStringCssMetaData(String property, Function<S,StyleableProperty<String>> function, String initialValue, boolean inherits)
创建具有初始值的CssMetaData <S,String>并继承标志。StyleableProperty<Boolean>
StyleablePropertyFactory. createStyleableBooleanProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Boolean>> function)
创建一个StyleableProperty <Boolean>。StyleableProperty<Boolean>
StyleablePropertyFactory. createStyleableBooleanProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Boolean>> function, boolean initialValue)
创建一个具有初始值的StyleableProperty <Boolean>。StyleableProperty<Boolean>
StyleablePropertyFactory. createStyleableBooleanProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Boolean>> function, boolean initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Boolean>并继承标志。StyleableProperty<Color>
StyleablePropertyFactory. createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function)
创建一个StyleableProperty <Color>。StyleableProperty<Color>
StyleablePropertyFactory. createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function, Color initialValue)
创建一个具有初始值的StyleableProperty <Color>。StyleableProperty<Color>
StyleablePropertyFactory. createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function, Color initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Color>并继承标志。StyleableProperty<Duration>
StyleablePropertyFactory. createStyleableDurationProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Duration>> function)
创建一个StyleableProperty <Duration>。StyleableProperty<Duration>
StyleablePropertyFactory. createStyleableDurationProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Duration>> function, Duration initialValue)
创建一个具有初始值的StyleableProperty <Duration>。StyleableProperty<Duration>
StyleablePropertyFactory. createStyleableDurationProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Duration>> function, Duration initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Duration>并继承标志。<E extends Effect>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEffectProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<E>> function)
创建一个StyleableProperty <Effect>。<E extends Effect>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEffectProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<E>> function, E initialValue)
创建一个具有初始值的StyleableProperty <Effect>。<E extends Effect>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEffectProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<E>> function, E initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Effect>并继承标志。<E extends Enum<E>>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEnumProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<E>> function, Class<E> enumClass)
创建一个StyleableProperty <E extends Enum <E >>。<E extends Enum<E>>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEnumProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<E>> function, Class<E> enumClass, E initialValue)
创建一个StyleableProperty <E使用初始值扩展Enum <E >>。<E extends Enum<E>>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEnumProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<E>> function, Class<E> enumClass, E initialValue, boolean inherits)
创建一个StyleableProperty <E使用初始值扩展枚举<E >>并继承标志。StyleableProperty<Font>
StyleablePropertyFactory. createStyleableFontProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Font>> function)
创建一个StyleableProperty <Font>。StyleableProperty<Font>
StyleablePropertyFactory. createStyleableFontProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Font>> function, Font initialValue)
创建一个具有初始值的StyleableProperty <Font>。StyleableProperty<Font>
StyleablePropertyFactory. createStyleableFontProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Font>> function, Font initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Font>并继承标志。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function)
创建一个StyleableProperty <Inset>。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function, Insets initialValue)
创建一个具有初始值的StyleableProperty <Inset>。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function, Insets initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Inset>并继承标志。StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function)
创建一个StyleableProperty <Number>。StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function, Number initialValue)
创建一个具有初始值的StyleableProperty <Number>。StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function, Number initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Number>并继承标志。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function)
创建一个StyleableProperty <Paint>。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function, Paint initialValue)
创建一个具有初始值的StyleableProperty <Paint>。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function, Paint initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Paint>并继承标志。StyleableProperty<String>
StyleablePropertyFactory. createStyleableStringProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<String>> function)
创建一个StyleableProperty <String>。StyleableProperty<String>
StyleablePropertyFactory. createStyleableStringProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<String>> function, String initialValue)
创建一个具有初始值的StyleableProperty <String>。StyleableProperty<String>
StyleablePropertyFactory. createStyleableStringProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<String>> function, String initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <String>并继承标志。StyleableProperty<String>
StyleablePropertyFactory. createStyleableUrlProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<String>> function)
创建一个具有初始值的StyleableProperty <String>。StyleableProperty<String>
StyleablePropertyFactory. createStyleableUrlProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<String>> function, String initialValue)
创建一个具有初始值的StyleableProperty <String>。StyleableProperty<String>
StyleablePropertyFactory. createStyleableUrlProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<String>> function, String initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <String>并继承标志。CssMetaData<S,String>
StyleablePropertyFactory. createUrlCssMetaData(String property, Function<S,StyleableProperty<String>> function)
创建CssMetaData <S,String>,初始值为null,并将标志默认为false。CssMetaData<S,String>
StyleablePropertyFactory. createUrlCssMetaData(String property, Function<S,StyleableProperty<String>> function, String initialValue)
创建具有初始值的CssMetaData <S,String>,并将标志默认为false。CssMetaData<S,String>
StyleablePropertyFactory. createUrlCssMetaData(String property, Function<S,StyleableProperty<String>> function, String initialValue, boolean inherits)
创建具有初始值的CssMetaData <S,String>并继承标志。 -
Uses of Function in jdk.incubator.http
Methods in jdk.incubator.http with parameters of type Function Modifier and Type 方法 描述 static <V> HttpResponse.MultiProcessor<MultiMapResult<V>,V>
HttpResponse.MultiProcessor. asMap(Function<HttpRequest,Optional<HttpResponse.BodyHandler<V>>> pushHandler)
返回多个响应的通用处理程序。static <V> HttpResponse.MultiProcessor<MultiMapResult<V>,V>
HttpResponse.MultiProcessor. asMap(Function<HttpRequest,Optional<HttpResponse.BodyHandler<V>>> pushHandler, boolean completion)
返回多个响应的通用处理程序。 -
Uses of Function in jdk.jshell
Methods in jdk.jshell with parameters of type Function Modifier and Type 方法 描述 JShell.Builder
JShell.Builder. fileManager(Function<StandardJavaFileManager,StandardJavaFileManager> mapping)
配置通过编译和源分析使用的FileManager
。
-