Package 

Class MemoryGameRepository

  • All Implemented Interfaces:
    dev.pitlor.gamekit_spring_boot_starter.interfaces.IGameRepository

    @Repository()@ConditionalOnProperty(prefix = dev.pitlor, name = {persistenceStrategy}, havingValue = memory, matchIfMissing = true) 
    public final class MemoryGameRepository<P extends IPlayer, G extends IGame<P>>
     implements IGameRepository<P, G>
                        
    • Method Summary

      Modifier and Type Method Description
      List<G> findAll(Function1<G, Boolean> filter)
      List<G> getAllByNotStarted()
      G getByCode(String gameCode)
      Unit add(G game)
      Unit removeByCode(String gameCode)
      • Methods inherited from class dev.pitlor.gamekit_spring_boot_starter.implementations.MemoryGameRepository

        safeGetByCode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait