Arrays.asList(yourArray).contains(yourValue). Warning: this doesn't work for arrays of primitives (see the comments). Since java-8 you can ...
確定! 回上一頁