Results 1 to 4 of 4
  1. #1
    reehc is offline Member
    Join Date
    Oct 2015
    Posts
    1
    Rep Power
    0

    Default equivalent functions of c++ in Java

    Hi,

    Do you know equivalent functions of c++ in Java for the following items below and sample code?

    .assign
    .find
    .replace
    .assign
    .insert
    .empty

    Thanks,

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,003
    Rep Power
    33

    Default Re: equivalent functions of c++ in Java

    Take a look at the API doc for the class those methods are in: Java Platform SE 8
    Find the class in the lower left, click on it and its API doc will be shown in the main frame.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,422
    Blog Entries
    7
    Rep Power
    28

    Default Re: equivalent functions of c++ in Java

    Don't think that way, a French poem can't be translated into English by translating the poem word by word ...

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    12,059
    Rep Power
    26

    Default Re: equivalent functions of c++ in Java

    ... and Java doesn't have functions. It does however have methods.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. the equivalent of these packages in java?
    By Kuroyuki in forum New To Java
    Replies: 2
    Last Post: 05-25-2014, 09:21 AM
  2. java (7) equivalent of .Net timespan
    By .paul. in forum New To Java
    Replies: 12
    Last Post: 07-29-2012, 04:38 PM
  3. Replies: 1
    Last Post: 07-14-2011, 01:14 AM
  4. Equivalent of PHP isset in JAVA
    By africanhacker in forum New To Java
    Replies: 11
    Last Post: 03-24-2011, 02:41 PM
  5. Php explode function, equivalent java
    By fernando in forum Advanced Java
    Replies: 1
    Last Post: 07-31-2007, 05:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •