コード例 #1
0
ファイル: Emotion.java プロジェクト: petercrlane/chrest
 /** list all basic emotions, regardless from which theory */
 public static BasicEmotion[] listEmotions(EmotionTheory theory) {
   BasicEmotion[] values = null;
   switch (theory) {
     case PLUTCHIK:
       values = PlutchikBasicEmotion.values();
       break;
     case EKMAN:
       values = EkmanBasicEmotion.values();
       break;
   }
   return values;
 }
コード例 #2
0
ファイル: Emotion.java プロジェクト: petercrlane/chrest
 public static PlutchikBasicEmotion[] getAllPlutchikBasicEmotions() {
   return PlutchikBasicEmotion.values();
 }