本文介绍了从数组中删除复制值[] ....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

i有一个问题。

i有一个复制值的数组....我想做的是

删除所有复制值并将结果存储在另一个数组中。

eg。,

String [] a = {1,2,3,3};

String [] b;

b应该是1.2.3只是........而不是1,2,3,3

提前感谢,

问候,

aswath.ns

(知识就是力量)

解决方案



你有什么问题?!


问候,

sukatoa




...你做了什么远吗?


亲切的问候


HashSet。




我不这么认为:知道如何处理你的知识可能会带来一些力量,

否则你只需在脑中携带这些知识。


亲切的问候,


Jo小号

hi dere,
i have a question.
i have an array with replicating values.... al i want to do is
delete all replicating values and store the result in another array.
eg.,
String[] a={1,2,3,3};
String []b;
b should be 1.2.3only........not 1,2,3,3
thanks in advance,
regards,
aswath.n.s
(knowledge is power)

解决方案

What is your question?!

regards,
sukatoa


... and what have you done so far?

Kind regards

HashSet.


I don''t think so: knowing what to do with your knowledge may give some power,
otherwise you just have to carry that knowledge around in your brain.

kind regards,

Jos


这篇关于从数组中删除复制值[] ....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 22:23