jfreerails.world.common
Class ImStringList

java.lang.Object
  extended by jfreerails.world.common.ImStringList
All Implemented Interfaces:
java.io.Serializable, FreerailsSerializable

public class ImStringList
extends java.lang.Object
implements FreerailsSerializable

An immutable list of Strings.

Author:
Luke
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
private  java.lang.String[] strings
           
 
Constructor Summary
ImStringList(java.lang.String... strings)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String get(int i)
           
 int hashCode()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

strings

private final java.lang.String[] strings
Constructor Detail

ImStringList

public ImStringList(java.lang.String... strings)
Method Detail

get

public java.lang.String get(int i)

size

public int size()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object