Posty

Wyświetlanie postów z listopad, 2017

Java think: extends method

Obraz
I ask yourself : I overide method  'X' and use method 'Y' which use 'X'. What I use old 'X' or new 'X'. I check this problem. My result ( class B extends A) : Source code

Java Recipes : Sorting object

Easy it`s sorting Strings or Integers or Double or Chars (I know there is not often sytuation it happens). When We have object must think and choose field to sort ( with hierarchy of values). In java I find to implementation this problem: 1) all objects 2) choosen one field How use with what`s problem I don`t know. GITHUB LINK:  https://github.com/mikoxp/javaRecipes/tree/master/sort_object/src

Julia Collection

Obraz
"O Romeo, Romeo, wherefore art thou Romeo? Deny thy father and refuse thy name; Or if thou wilt not, be but sworn my love And I'll no longer be a Capulet." This fragment is pretty, but I dont write today about poetry. I want show fractals.Math information about this topic everyone can read about Wikipedia for example. https://en.wikipedia.org/wiki/Julia_set My friend show me this fractals and I want writting implementation. My first code was not good. It have two colors: Black and Blue  (I like blue). Today I presents good implementation   →→It have all colors :) GITHUB CODE https://github.com/mikoxp/-julia_collection/tree/master/src

Many to one - not only jpa

Many proggramers of java join 'many to one' with @ManyToOne. I also. Today I need merge many text files to one. End result look not bad. Github link:  https://github.com/mikoxp/PasterDocuments

Tools

Everyone can coding in console, but better code in Ide. Popular: Eclipse, STS.... is good when you want use anything. It have everything, but is not  user friendly . Nedbeans is  user friendly, but is heavy. Idea Intelige- is not free, but very good

Start

This is blog about programming. I`m writing post for English, because I want to pratise this language. If I write incorrent, please You correct mine.  Let`s start. I write diffrent post. I like talk so I write and I learn yourself and other people. I know : java git js, angular I know other language but I write about this (for now).