Dear Mr. Sang,
I've a couple of questions.

1-I've been playing around in some native interfaces code and I found Some 
code which I don't understand like , In Interface 'CharSequence'
there is a method 'codePoints()'

I don't get what is the *default* key word , what is '->' is it an operator 
?

        return StreamSupport.intStream(() ->
                Spliterators.spliteratorUnknownSize(
                        new CodePointIterator(),
                        Spliterator.ORDERED),
                Spliterator.ORDERED,
                false);

also I understand that methods doesn't contain implementations , but I see 
that there is an inner class defined inside the codePoints() method who 
this come ? 

2- In 'Java Collections framework' Presentation under Java Programming 
course 
slide 58 about Map Interface , there is an interface defined inside the map 
interface ?! I don't get this.

 // Interface for entrySet elements
    public interface Entry {
        K getKey();       
        V getValue();        
        V setValue(V value);   
 } 

-- 
You received this message because you are subscribed to the Google Groups 
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/d/optout.

Reply via email to