• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

Another C++ to Java conversion

Hall all

I need to convert this classes to Java code

bool SOMLAA::GetCellMembership(const ISOMCellFactory *TargetFactory, vector< vector<long> > *CellMembers) const
{}


bool SOML::Initialize(const SOMSettings *InitSettings)

{}

Thanks in Advnace
0
ZURINET
Asked:
ZURINET
2 Solutions
 
objectsCommented:
  public boolean getCellMembership(ISOMCellFactory targetFactory, List<List<Long>> cellMembers) {
   }

   public initialize(SOMSettings settings) {
   }

you could probably make them abstract if you wanted
0
 
mrjoltcolaCommented:
Side note, in C++ be aware the vector<> is a specific, concrete class, where in Java, List<> is an interface, so when you actually choose to migrate the types, you might want to use study the Java API to decide on Vector or ArrayList.

0
 
ZURINETAuthor Commented:
Thanks ..
You guys are great

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now