Browse Source

[xml] add more @:noDoc to Java's haxe.Rest

k 2 years ago
parent
commit
8d513def75
1 changed files with 8 additions and 0 deletions
  1. 8 0
      std/java/_std/haxe/Rest.hx

+ 8 - 0
std/java/_std/haxe/Rest.hx

@@ -30,6 +30,7 @@ abstract Rest<T>(NativeRest<T>) {
 	}
 	}
 	#end
 	#end
 
 
+	@:noDoc
 	@:generic
 	@:generic
 	static function ofNativePrimitive<TBoxed,TRest>(result:NativeRest<TBoxed>, collection:NativeArray<TRest>):Rest<TRest> {
 	static function ofNativePrimitive<TBoxed,TRest>(result:NativeRest<TBoxed>, collection:NativeArray<TRest>):Rest<TRest> {
 		for(i in 0...collection.length)
 		for(i in 0...collection.length)
@@ -45,24 +46,31 @@ abstract Rest<T>(NativeRest<T>) {
 	@:from static function ofNativeFloat(collection:NativeArray<Float>):Rest<Float>
 	@:from static function ofNativeFloat(collection:NativeArray<Float>):Rest<Float>
 		return ofNativePrimitive(new NativeRest<java.lang.Double>(collection.length), collection);
 		return ofNativePrimitive(new NativeRest<java.lang.Double>(collection.length), collection);
 
 
+	@:noDoc
 	@:from static function ofNativeBool(collection:NativeArray<Bool>):Rest<Bool>
 	@:from static function ofNativeBool(collection:NativeArray<Bool>):Rest<Bool>
 		return ofNativePrimitive(new NativeRest<java.lang.Boolean>(collection.length), collection);
 		return ofNativePrimitive(new NativeRest<java.lang.Boolean>(collection.length), collection);
 
 
+	@:noDoc
 	@:from static function ofNativeInt8(collection:NativeArray<Int8>):Rest<Int8>
 	@:from static function ofNativeInt8(collection:NativeArray<Int8>):Rest<Int8>
 		return ofNativePrimitive(new NativeRest<java.lang.Byte>(collection.length), collection);
 		return ofNativePrimitive(new NativeRest<java.lang.Byte>(collection.length), collection);
 
 
+	@:noDoc
 	@:from static function ofNativeInt16(collection:NativeArray<Int16>):Rest<Int16>
 	@:from static function ofNativeInt16(collection:NativeArray<Int16>):Rest<Int16>
 		return ofNativePrimitive(new NativeRest<java.lang.Short>(collection.length), collection);
 		return ofNativePrimitive(new NativeRest<java.lang.Short>(collection.length), collection);
 
 
+	@:noDoc
 	@:from static function ofNativeChar16(collection:NativeArray<Char16>):Rest<Char16>
 	@:from static function ofNativeChar16(collection:NativeArray<Char16>):Rest<Char16>
 		return ofNativePrimitive(new NativeRest<java.lang.Character>(collection.length), collection);
 		return ofNativePrimitive(new NativeRest<java.lang.Character>(collection.length), collection);
 
 
+	@:noDoc
 	@:from static function ofNativeHaxeInt64(collection:NativeArray<haxe.Int64>):Rest<haxe.Int64>
 	@:from static function ofNativeHaxeInt64(collection:NativeArray<haxe.Int64>):Rest<haxe.Int64>
 		return ofNativePrimitive(new NativeRest<java.lang.Long>(collection.length), collection);
 		return ofNativePrimitive(new NativeRest<java.lang.Long>(collection.length), collection);
 
 
+	@:noDoc
 	@:from static function ofNativeInt64(collection:NativeArray<Int64>):Rest<Int64>
 	@:from static function ofNativeInt64(collection:NativeArray<Int64>):Rest<Int64>
 		return ofNativePrimitive(new NativeRest<java.lang.Long>(collection.length), collection);
 		return ofNativePrimitive(new NativeRest<java.lang.Long>(collection.length), collection);
 
 
+	@:noDoc
 	@:from static function ofNative<T>(collection:NativeArray<T>):Rest<T> {
 	@:from static function ofNative<T>(collection:NativeArray<T>):Rest<T> {
 		return new Rest(collection);
 		return new Rest(collection);
 	}
 	}