java.util.List中 [英] java.util.List

查看:169
本文介绍了java.util.List中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨再次,想咨询一下List问题。


//开始代码

Hi again, would like to consult about List problem.

//start code

展开 | 选择 | 换行 | 行号

推荐答案


您好再次,想咨询一下List问题。


//开始代码
Hi again, would like to consult about List problem.

//start code
展开 | 选择 | Wrap | 行号


我不太确定回答你的问题。我理解的是,我有条目类型的对象。首先,我使用int a [0]运行这些代码,并尝试在每个IF *字节码处记录属性值。那么这段代码的输出给出了什么? 4首次执行的条目。
I?m not too sure to answer your Q. What I?ve understood is Yes I have objects of type Entry. First I ran those codes with int a[0] and try to record the attribute value at each IF* bytecode. So the output from this code giving ? 4 Entry for first execution.
展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号



然后我又跑了执行从数组执行第二个int并尝试将int a [1]的当前ifs.value与int [0]的先前ifs.value进行比较。所以简而言之 - 使用属性?值比较两个对象int [1]和int a [0]两个条目?只要。
Then I ran again the execution to execute second int a value from array and try to compare the current ifs.value of int a[1] with previous ifs.value of int a[0]. So in short - to compare two Entry of two objects int a[1] and int a[0] using attribute ?value? only.



很抱歉让你们感到困惑..我想只比较属性价值的两个集合对象(列表)。例如

first List - 用int a = 1运行执行直到完成

second List - 用a = 5运行执行直到完成,这次我需要比较属性两个列表的价值。 ...


让我知道如果仍然没有得到它....

Shana

Sorry for confusing you guys..I think to compare two collection objects (lists) for the attribute ''value'' only. e.g
first List - run execution with int a = 1 until finish
second List - run execution with in a = 5 until finish and this time I need to compare the attribute ''value'' for the two Lists. ...

let me know if still dont get it....
Shana


这篇关于java.util.List中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆