ru.alpha.ltg.cards/src/test/java/ru/alpha/ltg/cards/K.java
author Igor R. Nikitin <0-range@bazon.ru>
Fri, 17 Jun 2011 18:49:51 +0400
changeset 2 41d78f336ede
child 3 b4cd95c95403
permissions -rw-r--r--
cards
     1 package ru.alpha.ltg.cards;
     2 
     3 import ru.alpha.ltg.cards.api.ICard;
     4 import ru.alpha.ltg.cards.api.IFunction;
     5 import ru.alpha.ltg.cards.api.IValue;
     6 
     7 public class K implements ICard
     8 {
     9 
    10 	@Override
    11 	public IValue returnValue(IValue[] values, Slot[] slots)
    12 	{
    13 		// TODO Auto-generated method stub
    14 		return null;
    15 	}
    16 	
    17 	public IValue ff(final IValue x)
    18 	{
    19 		return new IFunction()
    20 		{
    21 			public IValue returnValue(IValue value)
    22 			{
    23 				return x;
    24 			}
    25 		};
    26 	}
    27 }