Class Grex<O,V>

java.lang.Object
tsl2.nano.cursus.Grex<O,V>
Type Parameters:
O - instance type
V - value type
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EGrex

public class Grex<O,V> extends Object implements Serializable
Provides a generator for Res
Author:
Tom
See Also:
  • Field Details

    • genRes

      protected Res<O,V> genRes
    • validObjectIDs

      protected Set<Object> validObjectIDs
      optional set of object ids
  • Constructor Details

    • Grex

      public Grex()
    • Grex

      public Grex(Class<O> type, String path, Object... objectIDs)
    • Grex

      public Grex(Res<O,V> genericRes, Object... objectIDs)
  • Method Details

    • createParts

      public Set<? extends Res<O,V>> createParts()
    • createNewParts

      public Set<Res<O,V>> createNewParts(Object... objectIds)
    • createResForId

      public Res<O,V> createResForId(Object objectId)
    • isPart

      public boolean isPart(Res<O,V> res)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object