public class YearValueMatcher extends Object implements PartMatcher
LinkedHashSet
匹配Constructor and Description |
---|
YearValueMatcher(Collection<Integer> intValueList) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Integer t)
给定对象是否匹配
|
int |
nextAfter(int value)
获取指定值之后的匹配值,也可以是指定值本身
|
public YearValueMatcher(Collection<Integer> intValueList)
public int nextAfter(int value)
PartMatcher
nextAfter
in interface PartMatcher
value
- 指定的值Copyright © 2024. All rights reserved.