Search:

Type: Posts; User: tayloralina

Search: Search took 0.35 seconds.

  1. Replies
    6
    Views
    911

    Re: why are using volatile in java

    Volatile keyword in Java is used as an indicator to Java compiler and Thread that do not cache value of this variable and always read it from main memory. So if you want to share any variable in...
  2. Replies
    3
    Views
    982

    Re: Java String Buffer

    StringBuffer class is a mutable class unlike the String class which is immutable. Both the capacity and character string of a StringBuffer Class. StringBuffer can be changed dynamically. String...
  3. Replies
    2
    Views
    442

    Re: forName() method

    Usually, a class can be used loaded implicitly on an on-demand basis when you create the first object of the class using the "new" operator.
    But you can also use Class.forName() methods to load a...
  4. Replies
    3
    Views
    1,006

    Re: How good is kryonet?

    KryoNet is a Java library that provides a clean and simple API for efficient TCP and UDP client/server network communication using NIO. KryoNet uses the Kryo serialization library to automatically...
  5. Re: What is the use of "this." and implicit parameters?

    Implicit parameters are implemented as described in Implicit parameters: dynamic scoping with static types, J Lewis, MB Shields, E Meijer, J Launchbury, 27th ACM Symposium on Principles of...
  6. Re: What does compareTo method of String do ?

    Compares this instance with a specified object or String and returns an integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the...
  7. Replies
    3
    Views
    383

    post/pre increment operator speed

    Hi, i was wonder if the expression:
    ++j
    is faster than
    j++
    Let's think to a for cycle:
    for(j=0; j<array.length; ++j) {
    foo.staff();
    }
    at the last cycle, after the foo.staff() execution, what...
  8. Replies
    5
    Views
    817

    Re: What is Java agent ?

    Java agent can mean two things: 1. An agent programmed in Java being an incarnation of the agent concept of distributed systems. 2. A low-level software component to augment the working of a JVM,...
  9. Re: What is the use of enum keyword in java

    Java Enum was introduced in JDK 1.5 and it is one of my favorite features on J2SE 5. Java Enum as type is more suitable on certain cases for example representing state of Order as NEW, PARTIAL FILL,...
Results 1 to 9 of 9