org.terracotta.toolkit
Class ToolkitFeatureType<T extends ToolkitFeature>

java.lang.Object
  extended by org.terracotta.toolkit.ToolkitFeatureType<T>

public final class ToolkitFeatureType<T extends ToolkitFeature>
extends Object

List of features that a toolkit implementation can support.


Field Summary
static ToolkitFeatureType<NonStopFeature> NONSTOP
          Nonstop feature
static ToolkitFeatureType<OffheapFeature> OFFHEAP
          Offheap feature
static ToolkitFeatureType<SearchFeature> SEARCH
          Search feature
 
Method Summary
 boolean equals(Object obj)
           
 Class<T> getFeatureClass()
           
 int hashCode()
           
 String toString()
           
static ToolkitFeatureType[] values()
          Returns list of all features that a toolkit can support.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OFFHEAP

public static final ToolkitFeatureType<OffheapFeature> OFFHEAP
Offheap feature


SEARCH

public static final ToolkitFeatureType<SearchFeature> SEARCH
Search feature


NONSTOP

public static final ToolkitFeatureType<NonStopFeature> NONSTOP
Nonstop feature

Method Detail

values

public static ToolkitFeatureType[] values()
Returns list of all features that a toolkit can support.

Returns:
array of toolkit feature types
See Also:
Toolkit.getFeature(ToolkitFeatureType)

getFeatureClass

public Class<T> getFeatureClass()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Terracotta, Inc.. All Rights Reserved.