Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

xsfs/OnJava8-Examples-Maven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

OnJava8-Examples-Maven

this is the maven version of OnJava8-Examples https://github.com/BruceEckel/OnJava8-Examples

more easier to import

no guarantee that this is code is run ok.

because some code just show you the wrong way, like this:

// generics/HijackedInterface.java
// (c)2017 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {WillNotCompile}
class Cat
 extends ComparablePet implements Comparable<Cat> {
 // error: Comparable cannot be inherited with
 // different arguments: <Cat> and <ComparablePet>
 // class Cat
 // ^
 // 1 error
 public int compareTo(Cat arg) {
 return 0;
 }
}

About

this is the maven version of OnJava8-Examples https://github.com/BruceEckel/OnJava8-Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Java 99.2%
  • Other 0.8%

AltStyle によって変換されたページ (->オリジナル) /