Search:

Type: Posts; User: javastart

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    227

    Re: Modify class fields

    i tried using edges.removeAll(edges2) instead of previous method and it works fine to my surprise now
  2. Replies
    3
    Views
    227

    Modify class fields

    Hello,
    I am trying to remove values from lists.


    private List<Node> nodes;
    private List<Edge> edges;


    public List<Edge> getEdgeTo(Node x) {
    List<Edge> edges1 = new...
  3. Replies
    1
    Views
    275

    Problems with for loop

    Hello,
    I want to write a function which counts amount of recursive calls depending on of amount of elements that are already in redBlackTree.


    But when I try to do this using for loop so I can...
  4. Thread: Substring

    by javastart
    Replies
    2
    Views
    232

    Re: Substring

    I edited post and used your tip to fix my code and it worked. Thank you.
  5. Thread: Substring

    by javastart
    Replies
    2
    Views
    232

    Substring

    I want to write a program which cut letters from the end of a string until the last letter is the same as first. For example:
    "kokota" --> "kok"
    "alinak" --> "alina"
    "kocur" ---> k etc.
    I...
  6. Replies
    1
    Views
    336

    Display every second world from file.

    I have a file which contains a sentence "Alina ma pingwina a w basenie delfina". So my program should show Alina/pingwina/w/delfina.
    My code looks like this:
    import java.io.BufferedReader;
    import...
Results 1 to 6 of 6