text
stringlengths
7
995k
package com.example.hasee.weather.db; import org.litepal.crud.DataSupport; public class userinfo extends DataSupport { private String name; private String password; private String state; private byte[] head; /*public userinfo(byte[] head) { super(); this.head = head; }*/ ...
/* * 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 ...
/* * JBoss, Home of Professional Open Source. * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
/* * Copyright 2014-2019 Amazon.com, 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * 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 ...
/* * The MIT License * * Copyright (c) 2016 Marcelo "Ataxexe" Guimarães <ataxexe@devnull.tools> * * 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, includ...
/** * Copyright (c) 2017 Dell Inc., or its subsidiaries. * * 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 javax.microedition.location; import java.util.ArrayList; import java.util.Iterator; /** * This is the starting point for applications using the Location API and represents a source of * the location information. A LocationProvider represents a location-providing module, * generating Locations. * <p> * A...
package techmoc.extensibility.test_plugins; import techmoc.extensibility.test_interfaces.Bird; public class Parakeet implements Bird { @Override public String chirp() { return "Tweet!"; } }
package com.example.android.droidcafeinput; import android.content.Intent; import android.os.Bundle; import android.support.annotation.MainThread; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.Me...
/* * Copyright 2016-2021 Amazon.com, 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * Copyright 2012-2019 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...
import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("a") public interface class3 { @ObfuscatedName("i") @ObfuscatedSignature( descriptor = "(Lop;)Lop;" ) Buffer vmethod18(Buffer var1); }
package fr.openwide.core.jpa.more.business.task.service; import java.util.Collection; import org.springframework.transaction.annotation.Transactional; import fr.openwide.core.jpa.exception.SecurityServiceException; import fr.openwide.core.jpa.exception.ServiceException; import fr.openwide.core.jpa.more.business.task...
/* Copyright 2016 florent37, Inc. Modifications Copyright(C) 2016 Fred Grott(GrottWorkShop) 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...
/* * The MIT License (MIT) * * Copyright (c) 2021 Jamalam360 * * 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, c...
/** * Copyright (c) 2016-2019 谷粒开源 All rights reserved. * * https://www.guli.cloud * * 版权所有,侵权必究! */ package com.atguigu.gmall.common.xss; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import java.io.IOException; /** * XSS过滤 * * @author Mark sunlightcs@gmail.com */ public class XssF...
package com.stackroute.userregistration.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping...
package io.github.oliviercailloux.y2018.dauphine_pole_info; import java.io.IOException; import javax.inject.Inject; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServ...
/* Generated By:JJTree: Do not edit this line. ASTExpressionStatement.java Version 4.3 */ /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ package org.dojo.jsl.parser; import cz.fit.cvut.paskaond.jsrun...
/** * LineItem.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.v201302; /** * {@code LineItem} is an advertiser's commitment to purchase a specific * number * of ad impressions, clicks, or ti...
/* * Copyright 2008 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 2014-2019 Amazon.com, 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package app.engine.board; public interface IBoardObservable { void addBoardObserver(IBoardObserver o); void removeBoardObserver(IBoardObserver o); void notifyBoardObservers(); }
package mk.ukim.finki.library.domain; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.hibernate.envers.Audited; import org.springframework.data.annotation.CreatedBy; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModif...
package uk.gov.hmcts.reform.divorce.transformservice.domain.model.divorceapplicationdata; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Builder; import lombok.Data; import java.util.Date; @JsonIgnoreProperties(ignoreUnknown = true) @Bu...
/* * Copyright 2020 Google LLC * * 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 applicable law or agreed to ...
/**************************************************************** * 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...
package cn.bgenius.pconnect.user.entity; import java.util.Date; import javax.persistence.*; @Table(name = "t_dict") public class TDict { @Id private Integer id; /** * 编码 */ private String code; /** * 名称 */ private String name; /** * 值 */ private String ...
/** * Copyright 2021 UCloud Technology Co., Ltd. * * <p>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 * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by applicabl...
package org.jboss.resteasy.test.validation; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import static org.jboss.resteasy.test.TestPortPro...
/** * BudgetOrderErrorReason.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.adwords.axis.v201506.billing; public class BudgetOrderErrorReason implements java.io.Serializable { private java.lang.String _valu...
/* * Copyright (c) 2020 Payoneer Germany GmbH * https://www.payoneer.com * * This file is open source and available under the MIT license. * See the LICENSE file for more information. */ package com.payoneer.mrs.payment.ui.model; import static com.payoneer.mrs.payment.localization.LocalizationKey.NETWORK_LABEL;...
/** * Alipay.com Inc. * Copyright (c) 2004-2018 All Rights Reserved. */ package com.shinnlove.wechatpay.sdkplus.service.response.scan; import com.shinnlove.wechatpay.sdkplus.config.WXPayMchConfig; import com.shinnlove.wechatpay.sdkplus.service.client.AbstractWXPayClient; /** * 微信原生扫码支付响应类(接收商品id下单并回应)。 * * @aut...
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
package org.hl7.fhir.r5.model.codesystems; /* * #%L * org.hl7.fhir.r5 * %% * Copyright (C) 2014 - 2019 Health Level 7 * %% * 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 * * h...
/* * Copyright 2007 Davy Verstappen. * * 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 ...
/* * Copyright 2012 - 2014 Weald Technology Trading Limited * * 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 utils; import java.awt.Font; import java.awt.GridLayout; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import javax...
/** * Copyright 2012 Rainer Bieniek (Rainer.Bieniek@web.de) * * 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 requir...
/* * 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 2017 Digital Learning Sciences (DLS) at the University Corporation for Atmospheric Research (UCAR), P.O. Box 3000, Boulder, CO 80307 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 a...
/* * Copyright (c) 2016-2019 LabKey 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...
package com.kt.iam.module.role.persistence; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableLogic; import com.kt.component.db.base.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; /** * <p> * 角色表 * </p> * * @author * @since 2020-11-09 */ @...
package jp.sourceforge.ea2ddl.dao.bsbhv; import java.util.List; import org.seasar.dbflute.*; import org.seasar.dbflute.cbean.ConditionBean; import org.seasar.dbflute.cbean.EntityRowHandler; import org.seasar.dbflute.cbean.ListResultBean; import org.seasar.dbflute.cbean.PagingBean; import org.seasar.dbflute.cbean.Pagi...
/* * The MIT License * * Copyright 2014 Sebastian Russ <citeaux at https://github.com/citeaux/JAHAP>. * * 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 w...
/* * Copyright 2013 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 ...
package lt.zerum8.wcj; import static org.junit.Assert.assertEquals; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.fileUpload; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import java.io.ByteArrayInputStream; import java.util.ArrayList; imp...
package io.eventuate.testutil; import java.util.concurrent.TimeUnit; import java.util.function.Supplier; public class Eventually { public static void eventually(Runnable body) { eventually(10, 500, TimeUnit.MILLISECONDS, body); } public static void eventually(int iterations, int timeout, TimeUnit timeUnit...
package top.codewood.wx.mnp.api; import top.codewood.wx.common.api.WxBaseHttpApi; import top.codewood.wx.common.util.bean.BeanUtils; import top.codewood.wx.mnp.bean.riskcontrol.WxMnpUserRiskRankRequest; import top.codewood.wx.mnp.bean.riskcontrol.WxMnpUserRiskRankResult; import top.codewood.wx.mnp.util.json.WxGsonBuil...
package com.huayue.system.controller; import com.huayue.common.UrlConfig; import com.huayue.jbase.jfinal.ext.ctrl.EasyuiController; import com.huayue.system.model.Bug; import com.huayue.system.validator.BugValidator; import com.jfinal.aop.Before; import com.jfinal.ext.route.ControllerBind; @ControllerBind(controllerK...
package peng.springframework.annotation; import peng.springframework.stereotype.Component; import java.util.HashMap; import java.util.Map; @Component public class UserDao { private static Map<String, String> hashMap = new HashMap<>(); static { hashMap.put("10001", "peng"); hashMap.put("1000...
/************************************************************************** * copyright file="AddDelegateRequest.java" company="Microsoft" * Copyright (c) Microsoft Corporation. All rights reserved. * * Defines the AddDelegateRequest class. ********************************************************************...
package org.ovirt.engine.core.vdsbroker.vdsbroker; import java.util.HashMap; import java.util.Map; import org.ovirt.engine.core.common.vdscommands.ReduceStorageDomainVDSCommandParameters; public class ReduceStorageDomainVDSCommand<P extends ReduceStorageDomainVDSCommandParameters> extends VdsBrokerCommand<P>...
package com.learn.mall.product.dao; import com.learn.mall.product.entity.AttrAttrgroupRelationEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 属性&属性分组关联 * * @author LJL * @email 1...
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorian...
package db.mysql.process; import java.util.stream.Collectors; import java.util.stream.Stream; /** * @author mymx.jlh * @version 1.0.0 2018/3/2 11:00 * 下划转驼峰 */ public class StringUtils { public static String underLineToCamel(String content,boolean firstUpperCase){ if (content == null || content.leng...
package com.statemachinesystems.envy; import com.statemachinesystems.envy.values.ConfigMap; import com.statemachinesystems.envy.values.ConfigValue; import java.io.Serializable; import java.lang.reflect.Array; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; ...
package com.example.lab.android.nuc.locatr; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.v4.net; import android.net.ConnectivityManager; // Referenced classes of package android.support.v4.net: // ConnectivityManager...
/* * * Copyright 2012-2013 The MITRE 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 la...
/* * Copyright (C) 2010 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 agre...
@ParametersAreNonnullByDefault package io.axway.iron.core.store.relation.command; import javax.annotation.*;
package ca.uhn.fhir.jpa.dao.r4; import ca.uhn.fhir.jpa.util.CircularQueueCaptureQueriesListener; import ca.uhn.fhir.jpa.dao.DaoConfig; import ca.uhn.fhir.jpa.model.entity.*; import ca.uhn.fhir.jpa.searchparam.SearchParameterMap; import ca.uhn.fhir.jpa.searchparam.SearchParameterMap.EverythingModeEnum; import ca.uhn.fh...
/* * Copyright 2002-2020 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 2019 Pramati Prism, 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 a...
package com.meituan.firefly.rx_testfirefly; import java.io.Serializable; import java.util.List; import java.util.Map; import java.util.Set; import com.meituan.firefly.annotations.*; public class UnorderedStruct implements Serializable { @Field(id = 1, required = true, name = "id") public Integer id;...
package com.github.dynamicextensionsalfresco.blueprint.spring3; import com.github.dynamicextensionsalfresco.BeanNames; import com.github.dynamicextensionsalfresco.annotations.AlfrescoService; import com.github.dynamicextensionsalfresco.annotations.ServiceType; import java.lang.annotation.Annotation; import java.util.C...
package tree.love.draglayout; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; /** Created by wuyexiong on 13-8-31. */ public class HorizontalDragActivity extends Activity { public static void launch(Context context) { Intent intent...
/* * Copyright 2010-2021 Australian Signals Directorate * * 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 appl...
package cn.finalteam.rxgalleryfinal.imageloader.rotate; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Matrix; import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; import com.bumptech.glide.load.resource.bitmap.BitmapTransformation; /** * Created by pengjianbo D...
package org.hisp.dhis.validation; import static org.hisp.dhis.system.util.MathUtils.expressionIsTrue; import static org.hisp.dhis.system.util.MathUtils.roundSignificant; import static org.hisp.dhis.system.util.MathUtils.zeroIfNull; import java.util.Calendar; import java.util.Collection; import java.util.Date; import ...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * 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.lxt.core.config; import org.springframework.beans.factory.annotation.Configurable; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.annotation.Bean; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builde...
package com.gentics.mesh.core.node; import static com.gentics.mesh.core.data.relationship.GraphPermission.READ_PERM; import static com.gentics.mesh.core.data.relationship.GraphPermission.READ_PUBLISHED_PERM; import static com.gentics.mesh.core.rest.admin.migration.MigrationStatus.COMPLETED; import static com.gentics.m...
package com.mauriciotogneri.javautils; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import co...
package org.cboard.controller; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.google.common.base.Charsets; import com.google.common.base.Functions; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.hash.Hashing; import org...
/* * Copyright (c) 2004-2021, University of Oslo * 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 source code must retain the above copyright notice, this * list of cond...
/* * Ory APIs * Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. * * The version of the OpenAPI document: v0.0.1-alpha.93 * Contact: support@ory.sh * * NOTE: This class is auto generate...
/******************************************************************************* * Copyright (c) 2020 Northrop Grumman Systems 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 a...
package me.coley.recaf.util.self; import me.coley.recaf.Recaf; import me.coley.recaf.util.*; import javax.swing.*; import java.awt.*; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.StringSelection; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.l...
/*- * * * Copyright 2017 Skymind,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 * * * * ...
package org.bukkit.craftbukkit.entity; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.entity.Wither; import org.bukkit.entity.EntityType; public class CraftWither extends CraftMonster implements Wither { public CraftWither(CraftServer server, net.minecraft.entity.boss.EntityWither entity) { ...
/* * Copyright (c) 2002-2021 Gargoyle Software 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 * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
package com.imarcats.internal.server.infrastructure.notification.trades; import com.imarcats.interfaces.client.v100.dto.MatchedTradeDto; import com.imarcats.interfaces.server.v100.dto.mapping.MatchedTradeDtoMapping; import com.imarcats.model.MatchedTrade; /** * Implementation of Trade Notification Session * @author...
package net.rentalhost.idea.utils; import com.google.common.collect.Iterables; import com.intellij.psi.PsiElement; import com.intellij.psi.util.PsiTreeUtil; import com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocComment; import com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocProperty; import com.jetbrains....
package com.pjzhong.concurrency.example; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; import java.util.concurrent.TimeUnit; public class GetOne { private final FutureTask<Integer> getOne = new FutureTask<>(() -> { TimeUnit.SECONDS.sleep(2);//Act as a long-run ta...
/** * Copyright 2016 StreamSets Inc. * * Licensed under 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 Lice...
package Le39; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class Solution { public List<List<Integer>> combinationSum(int[] candidates, int target) { List<List<Integer>> res = new ArrayList<>(); Arrays.sort(candidates); backTrace(candidates, target, re...
package org.haobtc.onekey.utils; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import android.graphics.Rect; import an...
package loitp.utils.util; import java.io.File; /** * <pre> * author: Blankj * blog : http://blankj.com * time : 2016/09/27 * desc : 清除相关工具类 * </pre> */ public final class CleanUtils { private CleanUtils() { throw new UnsupportedOperationException("u can't instantiate me..."); ...
package com.snailwu.job.common.tools; import java.io.PrintWriter; import java.io.StringWriter; /** * @author WuQinglong * @date 2021/9/7 2:02 下午 */ public class StrTool { /** * 获取异常信息 */ public static String stringifyException(Throwable e) { StringWriter stm = new StringWriter(); ...
package org.openforis.collect.model; import java.util.Date; public class UserInGroup { public enum UserGroupJoinRequestStatus { ACCEPTED('A'), REJECTED('R'), PENDING('P'); private char code; UserGroupJoinRequestStatus(char code) { this.code = code; } public static UserGroupJoinRequestStatus f...
package com.atguigu.gmall.pms.mapper; import com.atguigu.gmall.pms.entity.CategoryEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import java.util.List; /** * 商品三级分类 * * @author Jiaming * @email 849519112@qq.com * @date 2020-12-14 19:59:00 */ @Mappe...
package ru.npotapov.app.service; import ru.npotapov.app.model.Task; import ru.npotapov.app.model.Workflow; import java.util.ArrayList; import java.util.List; public class WorkflowService { private List<Workflow> workflows; public WorkflowService(List<Workflow> workflows) { this.workflows = workflows...
package com.svea.webpayadminservice.client; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ArrayOfRegre...
package com.udacity.jwdnd.course1.cloudstorage.mapper; import com.udacity.jwdnd.course1.cloudstorage.model.Note; import org.apache.ibatis.annotations.*; import java.util.List; @Mapper public interface NoteMapper { @Select("SELECT * FROM NOTES WHERE userid = #{userId}") List<Note> getNotesByUserId(Integer us...
package org.zhongweixian.cc.tcp.handler; import org.springframework.stereotype.Component; import org.zhongweixian.cc.configration.HandlerType; import org.zhongweixian.cc.tcp.event.SubStartCallEvent; import org.zhongweixian.cc.tcp.handler.base.SubBaseHandler; /** * Create by caoliang on 2020/11/3 */ @Component @Hand...
/* * ClassicLockView.java * * Copyright (c) 2016 Auth0 (http://auth0.com) * * 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...