001 /** 002 * Implements the Cold Fusion Function structcount 003 */ 004 package railo.runtime.functions.struct; 005 006 import railo.runtime.PageContext; 007 import railo.runtime.ext.function.Function; 008 import railo.runtime.type.Struct; 009 010 public final class StructCount implements Function { 011 public static double call(PageContext pc , Struct struct) { 012 return struct.size(); 013 } 014 }