有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java矢量与VB中的列表。网

我正在为我的公司做一个项目,最近我们把一个大的项目翻译成了。因此,a Vector被翻译成a list。然而我看到VB.NET also has a ^{} type。我的问题是,在{}中保留一个{}最合适的方法是什么,作为{}还是作为{}


共 (1) 个答案

  1. # 1 楼答案

    Class Vector

    The Vector class implements a growable array of objects. Like an array, it contains components that can be accessed using an integer index. However, the size of a Vector can grow or shrink as needed to accommodate adding and removing items after the Vector has been created.

    听起来像。NET List(Of T)。来自MSDN

    Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.

    。NET Vector类型是不同的类型,有不同的用途。来自MSDN

    Represents a displacement in 2-D space.