24 package org.lightjason.agentspeak.action.builtin.math.blas;
27 import java.util.Arrays;
28 import java.util.Collections;
29 import java.util.Locale;
31 import java.util.stream.Collectors;
45 private static final Set<String> NAMES = Collections.unmodifiableSet( Arrays.stream(
EType.values() ).map( i -> i.name() ).collect( Collectors.toSet() ) );
55 return EType.valueOf( p_name.trim().toUpperCase( Locale.ROOT ) );
64 public static boolean exists(
final String p_name )
66 return NAMES.contains( p_name.trim().toUpperCase( Locale.ROOT ) );
static boolean exists(final String p_name)
check method to check if a enum value with a name exists
static EType from(final String p_name)
additional factory