Tags » Java 2

Catalogs and Hierarchies

When I was younger, friends and I would play a role playing game called “Shadowrun“. The game draws elements from science fiction, crime dramas, and magic and blends them all together to make a fun mess. 1,613 more words

Graph Database

Convert to String to other Data Types in Java,Java Teacher Sourav,Kolkata 09748184075

class a{
public static void main(String args[])

byte b=Byte.valueOf(args[0]);
System.out.println(“b is “+ b);
short s =Short.valueOf(args[0]);
System.out.println(“b is “+ s);
int i=Integer.valueOf(args[0]);
System.out.println(“i=” +i); 91 more words


Random Number Guessing game in Java,Java Teacher Sourav,Kolkata 09748184075

import java.util.*;
class a{
public static void main(String args[])
Random rn=new Random();
int count=0;

int answer;
int minimum=1;
int maximum=10;
int number=rn.nextInt((maximum – minimum) + 1) + minimum; 63 more words


Around Historic Yogyakarta (part 2) : Dieng Plateau, the Abode of Gods.

By S. Kramer

About 3 hours drive from the city of Yogyakarta in central Java Indonesia, to the north via Magelang and Temanggung, and then turn west to Wonosobo, the scenic route will take us to the Dieng Mountain area. 641 more words


How to run maven jar with -cp command

Most of the time we use spring boot application for fast development. Generally we run jar file using “java -jar myfile.jar” that works fine until we need to include some jars and configuration from outside. 92 more words


Calculating The Darcey Coefficient – Part 3 #strictlycomedancing #machinelearning #clojure #weka

The Story So Far…

This started off as a quick look at Linear Regression in spreadsheets and using the findings in Clojure code, that’s all in… 382 more words

Data And Statistics

how to retrieve enum name using the id

public enum EnumStatus {

    PASSED(40L, "Has Passed"),
    AVERAGE(60L, "Has Average Marks"),
    GOOD(80L, "Has Good Marks");

    private java.lang.String name;

    private java.lang.Long id;

    EnumStatus(Long id, java.lang.String name) {
        this.name = name;
        this.id = id;

    public java.lang.String getName() {
        return name;

    public java.lang.Long getId() {
        return id;
} 62 more words