org.jboss.dna.graph.property.basic
Class AbstractBinary

java.lang.Object
  extended by org.jboss.dna.graph.property.basic.AbstractBinary
All Implemented Interfaces:
Serializable, Comparable<Binary>, Binary
Direct Known Subclasses:
InMemoryBinary

@Immutable
public abstract class AbstractBinary
extends Object
implements Binary

An abstract implementation of Binary that provides some common capabilities for other implementations.

See Also:
Serialized Form

Method Summary
 int compareTo(Binary o)
          
 boolean equals(Object obj)
          
 String toString()
          
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.dna.graph.property.Binary
acquire, getBytes, getHash, getSize, getStream, release
 

Method Detail

compareTo

public int compareTo(Binary o)

Specified by:
compareTo in interface Comparable<Binary>

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.