- java.lang.Object
-
- jp.cafebabe.kunai.entries.Name
-
- All Implemented Interfaces:
Serializable
,Comparable<Name>
- Direct Known Subclasses:
ClassName
public class Name extends Object implements Serializable, Comparable<Name>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Name other)
boolean
contains(String partialString)
boolean
endsWith(String pattern)
boolean
equals(Object other)
int
hashCode()
boolean
matches(String pattern)
boolean
startsWith(String pattern)
String
toString()
-
-
-
Constructor Detail
-
Name
public Name(String name)
-
-
Method Detail
-
compareTo
public int compareTo(Name other)
- Specified by:
compareTo
in interfaceComparable<Name>
-
matches
public boolean matches(String pattern)
-
contains
public boolean contains(String partialString)
-
startsWith
public boolean startsWith(String pattern)
-
endsWith
public boolean endsWith(String pattern)
-
-