in C++ I like to use the const keyword like this:

private void method1() const {
//do something, but don't modify the value of Class members
}

Is this possible in Java?