@Override
    public List<ApiZone> all() {
        List<ApiZone> answer = new ArrayList<>();
        for(Zone zone : SmartFoxServer.getInstance()
                .getZoneManager().getZoneList()) {
            answer.add((ApiZone) zone.getProperty(APIKey.ZONE));
        }
        return answer;
    }
@ Override public List < ApiZone > all ( ) { List < ApiZone > answer = new ArrayList < > ( ) ; for ( Zone zone : SmartFoxServer . getInstance ( ) . getZoneManager ( ) . getZoneList ( ) ) { answer . add ( ( ApiZone ) zone . getProperty ( APIKey . ZONE ) ) ; } return answer ; }
/* (non-Javadoc)
@see com.tvd12.ezyfox.core.command.FindZone#all()