- java.lang.Object
-
- jp.cafebabe.birthmarks.entities.Birthmark<T>
-
- All Implemented Interfaces:
Serializable,Comparable<Birthmark>,Iterable<T>,Acceptor<T>
public class Birthmark<T> extends Object implements Acceptor<T>, Serializable, Iterable<T>, Comparable<Birthmark>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor<T> visitor)ClassNameclassName()intcompareTo(Birthmark other)booleancontains(String element)intelementCount()Elements<T>elements()Birthmark<T>filter(Predicate<T> predicate)booleanisSame(URI location)booleanisSame(BirthmarkType type)booleanisSame(ClassName name)Iterator<T>iterator()URIlocation()Metadatametadata()Stream<T>stream()StringtoString()BirthmarkTypetype()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
className
public ClassName className()
-
contains
public boolean contains(String element)
-
elementCount
public int elementCount()
-
isSame
public boolean isSame(ClassName name)
-
isSame
public boolean isSame(URI location)
-
isSame
public boolean isSame(BirthmarkType type)
-
location
public URI location()
-
metadata
public Metadata metadata()
-
type
public BirthmarkType type()
-
compareTo
public int compareTo(Birthmark other)
- Specified by:
compareToin interfaceComparable<T>
-
-