Java源码示例:com.apple.jobjc.PrimitiveCoder.ULongCoder

示例1
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例2
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例3
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例4
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例5
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例6
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例7
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例8
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例9
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例10
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例11
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}
 
示例12
public static PrimitiveCoderDescriptor createCoderDescriptorFor(final char encoding) {
    switch(encoding) {
        case 'B': return new PrimitiveCoderDescriptor(BoolCoder.INST, "false");

        case 'c': return new PrimitiveCoderDescriptor(SCharCoder.INST, "0");
        case 'C': return new PrimitiveCoderDescriptor(UCharCoder.INST, "0");

        case 's': return new PrimitiveCoderDescriptor(SShortCoder.INST, "0");
        case 'S': return new PrimitiveCoderDescriptor(UShortCoder.INST, "0");

        case 'i': return new PrimitiveCoderDescriptor(SIntCoder.INST, "0");
        case 'I': return new PrimitiveCoderDescriptor(UIntCoder.INST, "0");

        case 'l': return new PrimitiveCoderDescriptor(SLongCoder.INST, "0");
        case 'L': return new PrimitiveCoderDescriptor(ULongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long.");
        case 'q': return new PrimitiveCoderDescriptor(SLongLongCoder.INST, "0");
        case 'Q': return new PrimitiveCoderDescriptor(ULongLongCoder.INST, "0", "x86_64: no suitable Java primitive for unsigned long long.");

        case 'f': return new PrimitiveCoderDescriptor(PrimitiveCoder.FloatCoder.INST, "0");
        case 'd': return new PrimitiveCoderDescriptor(PrimitiveCoder.DoubleCoder.INST, "0");
        default: throw new RuntimeException("unknown encoding: " + encoding);
    }
}