public final class ImmutableObject extends Object
Constructor and Description |
---|
ImmutableObject(int anInt) |
ImmutableObject(Integer anInteger) |
ImmutableObject(String aString,
List<String> aListOfString) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getAListOfString() |
int |
getAnInt() |
Integer |
getAnInteger() |
Integer |
getAnotherReadOnlyProperty() |
Integer |
getAReadOnlyProperty() |
String |
getAString() |
int |
hashCode() |
Boolean |
isABoolean() |
boolean |
isABooleanPrimitive() |
String |
toString() |
public ImmutableObject(int anInt)
public ImmutableObject(Integer anInteger)
public String getAString()
public int getAnInt()
public Integer getAnInteger()
public boolean isABooleanPrimitive()
public Boolean isABoolean()
public Integer getAReadOnlyProperty()
public Integer getAnotherReadOnlyProperty()
Copyright © 2014. All Rights Reserved.