text stringlengths 7 995k |
|---|
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
package com.pungwe.cms.core.system.install;
import com.pungwe.cms.core.element.basic.PlainTextElement;
import com.pungwe.cms.core.element.basic.TableElement;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.... |
/*
* OpenXES
*
* The reference implementation of the XES meta-model for event
* log data management.
*
* Copyright (c) 2008 Christian W. Guenther (christian@deckfour.org)
*
*
* LICENSE:
*
* This code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package com.example.skinet.service;
import com.example.skinet.core.entity.Address;
import com.example.skinet.core.entity.AppUser;
import com.example.skinet.core.entity.Role;
import com.example.skinet.error.ApiException;
import com.example.skinet.repo.AddressRepository;
import com.example.skinet.repo.RoleRepository;
im... |
package org.campagnelab.antlr.tomps.constraints;
/*Generated by MPS */
import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
import java.util.Map;
import org.jetbrains.mps.openapi.language.SReferenceLink;
import jetbrains.mps.smodel.runti... |
package com.github.conanchen.gedit;
public class Constants {
public static String VERSION = "1.0.0";
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.google.api.ads.adwords.jaxws.v201605.cm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Operation for adding/removing a criterion from a shared set.
*
*
* <p>Java class for S... |
package com.mcan.login;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.mcan.login.service.LoginService;
import com.mcan.model.Login;
@RestCo... |
/*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.example.dresscode;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vi... |
package org.sunny.aframe.http.base;
import java.io.Serializable;
/**
* 通用response类
* 用于处理返回数据。将数据转化为相应的类
* @author sunny
* @version 1.0
* @created 2014-7-11
*/
public class BaseResponse implements Serializable {
protected String code;
protected String desc;
public String getCode() {
return code;
}
p... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2018 Adobe
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... |
/* Copyright (c) 2008-2020 Jonathan Revusky, revusky@javacc.com
* Copyright (c) 2006, Sun Microsystems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of sour... |
/*
* Copyright (C) 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Copyright (c) 2017. Phasmid Software
*/
package edu.neu.coe.info6205.randomwalk;
import java.util.Random;
public class RandomWalk {
private int x = 0;
private int y = 0;
private final Random random = new Random();
/**
* Private method to move the current position, that's to say the dru... |
/*
* Copyright 2010 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package org.knowm.xchange.coinbasepro;
import java.math.BigDecimal;
import java.math.MathContext;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.stream.Collectors;
import org.knowm.xchange.coinbasepro.dto.CoinbaseProTransfer;
import org.knowm.xchange.coinbasepr... |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package mcjty.ariente.bindings;
import net.minecraft.client.KeyMapping;
import net.minecraftforge.client.ClientRegistry;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
public class Binding {
private final String name;
private final KeyMapping binding;
private final Runnable... |
// $Id$
// Author: Yves Lafon <ylafon@w3.org>
//
// (c) COPYRIGHT MIT, ERCIM and Keio University, 2012.
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.css.properties.css3;
import org.w3c.css.util.ApplContext;
import org.w3c.css.util.InvalidParamException;
import org.w3c.css.va... |
public static void fileCopy(File source, File dest) throws IOException {
FileChannel in = null, out = null;
try {
in = new FileInputStream(source).getChannel();
out = new FileOutputStream(dest).getChannel();
long size = in.size();
MappedByteBuffer buf = in... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.jam.module.security.core;
import lombok.extern.log4j.Log4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetai... |
package com.ashomok.lullabies.ui.full_screen_player_activity;
import android.app.Activity;
import android.content.Context;
import androidx.annotation.StringRes;
import com.ashomok.lullabies.BuildConfig;
import com.ashomok.lullabies.R;
import com.ashomok.lullabies.ad.AdMobAd;
import com.ashomok.lullabies.ad.AdMobBann... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.v4;
public final class R {
private R() {}
public static final class attr {
private attr() {}
... |
package aadcapstone.coursera.org.nearbyplacesmovie;
import android.app.LoaderManager.LoaderCallbacks;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.CursorLoader;
import android.content.Intent;
import android.content.Loader;
import android.database.Cursor;
import andro... |
package pneumaticCraft.api.universalSensor;
/**
* With this class you can register your own sensors.
*/
public class SensorRegistrator{
/**
* This field will be initialized in the PreInit phase of PneumaticCraft's loading phase.
* With this field you can register every Universal Sensor sensor you want.... |
package souchon.game;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
/**
* Ma... |
package com.baidu.mapp.tp.api;
import com.baidu.mapp.tp.bean.auth.AppInfo;
import com.baidu.mapp.tp.bean.auth.AuthorizationCode;
import com.baidu.mapp.tp.bean.auth.OAuthToken;
import com.baidu.mapp.tp.bean.auth.PreAuthCode;
import com.baidu.mapp.tp.bean.auth.TpAccessToken;
import com.baidu.mapp.common.SmartAppConstant... |
// Targeted by JavaCPP version 1.5.1-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.caffe;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.bytedeco.openblas.global.openblas.*;
import or... |
package com.chimngu.drag.mvp.trending;
import com.chimngu.drag.data.model.Video;
import com.chimngu.drag.data.network.ApiHelper;
import com.chimngu.drag.mvp.BasePresenter;
import java.util.ArrayList;
import io.reactivex.Observable;
import io.reactivex.functions.Consumer;
public class TrendingPresenterImpl extends B... |
/*
* Copyright 2016-2020 Crown Copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... |
package pers.tavish.code.chapter5.substringsearch;
import java.math.BigInteger;
import java.util.Random;
// Rabin-Karp指纹字符串算法
public class RabinKarp {
private String pat; // the pattern // needed only for Las Vegas
private long patHash; // pattern hash value
private int m; // pattern ... |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
package com.ensoftcorp.open.commons.utilities;
/**
* Useful regular expressions for matching different naming styles.
*
* Intended for use with CommonQueries.nodesMatchingRegex()
*
* @author Tom Deering
*/
public class CodeStyles {
private CodeStyles() {}
// Identifies patterns which contain upper case cha... |
package org.craft.spongeimpl.events.state;
import org.spongepowered.api.*;
import org.spongepowered.api.event.state.*;
public class SpongeServerStartedEvent extends SpongeStateEvent implements ServerStartedEvent
{
public SpongeServerStartedEvent(Game game)
{
super(game);
}
@Override
publ... |
package org.to2mbn.jmccc.auth.yggdrasil.core;
import java.util.Map;
import java.util.Objects;
import java.util.UUID;
public class PropertiesGameProfile extends GameProfile {
private static final long serialVersionUID = 1L;
private Map<String, String> properties;
public PropertiesGameProfile(UUID uuid, String na... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
/*
* Copyright (C) 2009-2011 Mathias Doenitz
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
/*
* The MIT License
*
* Copyright 2012- Petteri Kivimäki
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
// NOTE: FILE CONTENT GENERATED - DO NOT MODIFY
package org.waxbee.teensy.extdata;
import java.util.ArrayList;
import java.util.Arrays;
public class ConfigTemplate
{
//================================================================================
// CONSTANTS
//=====================================================... |
// This is a generated file. Not intended for manual editing.
package org.dlangplugin.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface DLangLambda extends DLangCompositeElement {
@NotNull
DLangExpression getExpression();
@Nullable
DLangFunc... |
package com.industries.sarker.lister.mainscreen;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widg... |
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.frameworks.connectors.properties;
import org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset;
import org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection;
i... |
package org.smartregister.child.shadows;
import org.robolectric.annotation.Implements;
import org.robolectric.shadows.ShadowTextView;
import org.smartregister.view.customcontrols.CustomFontTextView;
import org.smartregister.view.customcontrols.FontVariant;
@Implements(CustomFontTextView.class)
public class CustomFont... |
/*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package shakeanapple.backtracker.parser.fblockdiagramold.model;
import shakeanapple.backtracker.common.variable.BooleanValueHolder;
import shakeanapple.backtracker.common.variable.IntegerValueHolder;
import shakeanapple.backtracker.common.variable.dynamic.BooleanDynamicVariable;
import shakeanapple.backtracker.common.... |
/*******************************************************************************
* Copyright (C) 2017 Chi Zhang
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of... |
/**
* BillingSource.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.v201306;
public class BillingSource implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.Ha... |
/*
* Copyright © 2018 Apple Inc. and the ServiceTalk project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
/**
* Copyright (c) 2012, Ben Fortuna
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* o Redistributions of source code must retain the above copyright
* notice, this list of condit... |
package com.jeeplus.common.alipay.util;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
/**
* @author:yuzp17311
* @version:v1.0
* @date: 2017-01-06 11:32.
*/
public class AliPayUtils {
/**
* 把数组所有元素排序,并按照“参数=参数值”的模式用“&”字符拼接成字符串
*
* @param ... |
package com.dunshan.mall.model;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class OmsCartItemExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public OmsCartItemExample() {
... |
package no.nnsn.quakemlwebservice.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.WebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
@Configuration
public class Secur... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.06.07 at 05:50:4... |
public class App2 {
private Logger logger;
App2() {
logger = Logger.getInstance();
}
void doJob() {
// do something
logger.log("App2 just finished something");
}
} |
package net.webservicex;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.2.4
* 2018-04-01T21:26:07.461+07:00
* Generated sou... |
/*
* Copyright (c) 2010-2021 Mark Allen, Norbert Bartels.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package py.dubbosupport;
/**
* Created by pengyu on 2017/6/16.
*/
public class ConfigObject {
String groupId = null;
String artifactId = null;
String version = null;
String projectName = null;
String applicationName = null;
String basePackageName = null;
String basePackageNamePath = null;... |
/*************************************************************************
* *
* EJBCA Community: The OpenSource Certificate Authority *
* *
* This software is... |
package ucd;
public class UcdException extends RuntimeException {
public UcdException(String message) {
super(message);
}
} |
/*
* Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.dxr.apply.action;
import com.dawnwing.framework.supers.action.BasalAction;
/**
* @description: <待办信息Action层>
* @author: w.xL
* @date: 2018-4-8
*/
public class AgencyAction extends BasalAction {
private static final long serialVersionUID = -1080353369184373982L;
} |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.open.mini.miniapp.brand.upload response.
*
* @author auto create
* @since 1.0, 2020-12-24 12:45:18
*/
public class AlipayOpenMiniMiniappBrandUploadResponse extends Al... |
package gov.idaho.isp.saktrack.config;
import gov.idaho.isp.saktrack.domain.ChainOfCustodyEvent;
import gov.idaho.isp.saktrack.domain.ChainOfCustodyEvent.EventType;
import gov.idaho.isp.saktrack.domain.LabDetails;
import gov.idaho.isp.saktrack.domain.LawEnforcementDetails;
import gov.idaho.isp.saktrack.domain.LegalDet... |
/*-
* Copyright (C) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle NoSQL
* Database made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html
*
* Please see the LICENS... |
package fr.orsys.ama.tp2.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
* POJO pour conserver les données
*/
@Getter @Setter
@ToString
public class Client {
protected String lastName;
protected String firstName;
protected Sexe sexe;
... |
/*******************************************************************************
* Copyright 2018 T Mobile, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of... |
package io.faucette.messenger;
public class ServerClient {
public SimpleAdapter server;
public SimpleAdapter client;
public ServerClient(SimpleAdapter s, SimpleAdapter c) {
server = s;
client = c;
}
} |
package com.marshalchen.ultimaterecyclerview.ui.floatingactionbutton;
import android.animation.ObjectAnimator;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Ca... |
package chun.li.GStack.Http;
import com.thoughtworks.gauge.*;
import static chun.li.GStack.Http.Core.setupRestAssuredWithEnvironment;
public class ExecutionHooks {
@BeforeSuite
public void BeforeSuite() {
}
@AfterSuite
public void AfterSuite() {
}
@BeforeSpec
public void BeforeSpe... |
/**
* Copyright (C) 2016 Apigee Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/*
* Copyright 2018 ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
package com.enesdeniz.commonservice.exception;
import java.util.Date;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework... |
/**
* Copyright (c) 2015 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package com.lqr.wechat.model.request;
/**
* Created by AMing on 16/1/7.
* Company RongCloud
*/
public class FriendInvitationRequest {
private String friendId;
private String message;
public FriendInvitationRequest(String userid, String addFrinedMessage) {
this.message = addFrinedMessage;
... |
package com.leetcode;
public class Solution_516 {
public int longestPalindromeSubseq(String s) {
int[][] dp = new int[s.length()][s.length()];
for (int i = 0; i < s.length(); i++) {
int x = 0, y = i;
while (x < s.length() && y < s.length()) {
if (x == y) {
... |
package edu.fdzc.im.common.coder;
import edu.fdzc.im.common.coder.impl.JSONSerializerImpl;
/**
* 序列化接口
*
* @author Viices Cai
* @time 2022/3/4
*/
public interface Serializer {
/**
* JSON 序列化
*/
byte JSON_SERIALIZER = SerializerAlgorithm.JSON;
/**
* 默认序列化方式
*/
Serializer DEFA... |
/*
* Copyright 2021 Open Raven Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
package com.example.maddi.Project;
public class User {
public String name;
public String phone;
public String gender;
public int age;
public String height;
public float weight;
public int stepgoal;
public int caloriegoal;
public User() {
// Default constructor required for... |
/**
* $Id: User.java,v 1.0 2018-12-15 12:52 chenmin Exp $
* <p>
*/
package com.github.artislong.bean;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* @author chen... |
package org.benchsuite.qoehelper.model;
import java.io.IOException;
public class BenchmarkConfigurationParsingException extends IOException {
public BenchmarkConfigurationParsingException(Throwable throwable) {
super(throwable);
}
} |
package org.cland.test;
public class ATest {
} |
// Copyright 2004 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... |
package ai.cellbots.executive.action;
import android.util.Log;
import java.util.Date;
import ai.cellbots.common.DetailedWorld;
import ai.cellbots.common.Transform;
import ai.cellbots.common.data.ExecutiveStateCommand;
import ai.cellbots.executive.ExecutivePlanner;
import ai.cellbots.executive.MacroGoal;
import ai.ce... |
package org.moqucu.games.nightstalker.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import javafx.geometry.Point2D;
import lombok.Data;
i... |
package com.tc.websocket.clients;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChanne... |
package org.maxkey.crypto.password.opt.impl;
import org.maxkey.crypto.password.opt.AbstractOTPAuthn;
import org.maxkey.domain.UserInfo;
import org.springframework.jdbc.core.JdbcTemplate;
public class SmsOTPAuthn extends AbstractOTPAuthn {
public SmsOTPAuthn(JdbcTemplate jdbcTemplate) {
super(jdbcTemplate);
}
... |
// Copyright 2004, 2005 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... |
/**
* Class interfaces allowing access to key underlying services provided by the main application.
* <p>See method {@link org.gluu.casa.misc.Utils#managedBean(java.lang.Class)}.</p>
*/
package org.gluu.casa.service; |
package com.neu.his.Dao;
import com.neu.his.entity.ScheduleRule;
import com.neu.his.entity.ScheduleRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Inse... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.