Another C++ to Java conversion

Posted on 2011-04-29
Last Modified: 2012-08-13
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
Question by:ZURINET
    LVL 92

    Accepted Solution

      public boolean getCellMembership(ISOMCellFactory targetFactory, List<List<Long>> cellMembers) {

       public initialize(SOMSettings settings) {

    you could probably make them abstract if you wanted
    LVL 40

    Assisted Solution

    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.


    Author Comment

    Thanks ..
    You guys are great


    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Suggested Solutions

    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now