text
stringlengths
7
995k
/* * (C) Copyright 2016 Richard Ballard. * * 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 ...
package org.iitk.brihaspati.modules.screens.call; /* * @(#)IndexHome.java * * Copyright (c) 2004-2006, 2010, 2011 ETRG,IIT Kanpur. * All Rights Reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are me...
/** * 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...
/* * Copyright 2019 Miroslav Pokorny (github.com/mP1) * * 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...
package com.cloud.mall.product.service; import com.baomidou.mybatisplus.extension.service.IService; import com.cloud.common.utils.PageUtils; import com.cloud.mall.product.entity.BrandEntity; import com.cloud.mall.product.vo.BrandVo; import org.springframework.stereotype.Component; import java.util.List; import java.u...
/* * 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 ...
/** * @Description UserRoleMapDao * @Author W_Messi * @CrateTime 2020-04-18 00:13:35 * */ package net.mw.system.dao; import net.mw.system.pojo.po.RolePO; import net.mw.system.pojo.po.UserRoleMapPO; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis....
package com.adriwaas.code.reece.addressbook.dao; import java.util.List; import com.adriwaas.code.reece.addressbook.beans.Address; /** * @author Himadri Pant * * Data Access Object interface */ public interface AddressOperations { List<Address> getAddressBook(); void addNewAddress(Address address); voi...
package net.ProjectR.World.NetherTown; import java.util.List; import java.util.Random; import net.minecraft.structure.processor.BlockIgnoreStructureProcessor; import net.minecraft.util.BlockMirror; import net.minecraft.util.BlockRotation; import net.minecraft.util.Identifier; import net.minecraft.util.math.BlockBox; ...
/* ValidationResult.java Copyright (c) 2018 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.codegen; public class ValidationResult { private String paramName; private boolean isValid; private String errorMessage; priva...
package il.org.spartan.spartanizer.tipping; import java.util.*; import org.eclipse.jdt.core.dom.*; import static il.org.spartan.spartanizer.ast.navigate.step.*; import il.org.spartan.spartanizer.ast.navigate.*; import il.org.spartan.spartanizer.ast.safety.*; public class RemoveRedundent { public static boolean c...
/* * Copyright 2016, Stuart Douglas, and individual contributors as indicated * by the @authors tag. * * 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/lice...
package com.exple.food.MyUtil; public interface getDataFromInternet { public String getData(String data); }
package org.everit.json.schema.loader; import static java.lang.String.format; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import static java.util.Collections.singleton; import static java.util.Collections.singletonList; import static java.util.Objects.requireNonNull; import st...
package org.devocative.artemis.cfg; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.util.ArrayList; import java.util.Collections; import java.util.List; @Getter @Setter @Accessors(chain = true) public class Config { private static final String ARTEMIS_PROFILE_ENV = "ART...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.math.rootfinding; import com.opengamma.math.function.Function1D; /** * Interface for classes that attempt to find a root for a one-dimensional function (see ...
/*- * ---license-start * keycloak-config-cli * --- * Copyright (C) 2017 - 2021 adorsys GmbH & Co. KG @ https://adorsys.com * --- * 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 * * ...
/* * Copyright 2022 Storebrand ASA * * 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.bakdata.conquery.models.query; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.stream.Stream; import javax.ws.rs.core.Stre...
package com.abchina.sh.dev.hs.server.ws; import com.abchina.sh.dev.hs.server.socket.SocketClient; import com.fasterxml.jackson.databind.ObjectMapper; import io.vertx.core.Vertx; import io.vertx.core.net.NetClient; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Comp...
/* * Copyright (c) 2008-2022, Hazelcast, Inc. 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 * * Unless required ...
package org.wangfeng.panda.app.configuration; import com.alibaba.fastjson.serializer.SerializerFeature; import com.alibaba.fastjson.support.config.FastJsonConfig; import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter; import org.springframework.boot.autoconfigure.http.HttpMessageConverters; import or...
/* * generated by Xtext 2.22.0 */ package ucwriter.xtext.guimeta.ucdsl.serializer; import com.google.inject.Inject; import java.util.List; import org.eclipse.emf.ecore.EObject; import org.eclipse.xtext.IGrammarAccess; import org.eclipse.xtext.RuleCall; import org.eclipse.xtext.nodemodel.INode; import org.eclipse.xte...
/* * 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 ...
/* * 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 ...
/* * Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. */ package de.hybris.platform.sap.sapcpicustomerexchange.inbound.events; import de.hybris.platform.core.model.ItemModel; import de.hybris.platform.core.model.user.CustomerModel; import de.hybris.platform.odata2services.odata.persistence...
package jp.mydns.sys1yagi.android.activeandroidsample; public class ActiveAndroidSampleApplication extends com.activeandroid.app.Application { }
package com.structurizr.dsl; import com.structurizr.Workspace; import com.structurizr.view.RelationshipStyle; import com.structurizr.view.Routing; import java.util.HashMap; import java.util.Map; final class RelationshipStyleParser extends AbstractParser { private static final int FIRST_PROPERTY_INDEX = 1; ...
package com.kasperin.inventory_management.domain; public enum FoodType { VEGAN('v'), NONVEGAN('n'); public final char typeCode; FoodType(char typeCode) { this.typeCode = typeCode; } }
package com.itheima31.jdmall.view; import android.view.animation.LinearInterpolator; /** * Created by yangg on 2016/10/27. * * @desc */ public class JellyInterpolator extends LinearInterpolator { private float factor; public JellyInterpolator() { this.factor = 0.15f; } @Override publ...
package ccc.ccc2016; import java.util.Scanner; public class J3 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String input = scanner.nextLine(); int longestLen = 0; for (int i = 0; i < input.length() - 1; i++) { for (int j = input....
package cn.kastner.oj.repository.custom; import cn.kastner.oj.repository.result.TagScore; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import javax.persistence.EntityManager; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence...
package com.hmw.mytoutiaoapp.widget; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; /** * Created by han on 2018/6/8. */ public class ViewPagerFixed extends android.support.v4.view.ViewPager { public ViewPagerFixed(Context context) { super(context); ...
/* * Copyright (c) 2008-2022 The Aspectran Project * * 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 applicabl...
/** * 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 ooga.model.cards.cardcomponents; /** * This interface defines the CardInfo API, card information must contain the card's type and its * action parameters * * @author Alicia Wu */ public interface CardInfo { /** * gets the card's type (e.g.: skip, number, wild, etc.) * * @return String represen...
/* * Copyright 2016 LINE Corporation * * LINE Corporation licenses this file to you 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 re...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package tankwars; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; public class TankControl implements KeyListene...
/* * 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 impl; import java.io.File; import java.io.IOException; import java.nio.file.Paths; public abstract class AbstractFtp { String username; String password; String host; int port; String localpath; String remotepath; String order; //增量下载[fname:文件名;mtime:修改时间]; int soTimeout; ...
/* * This file is part of TechReborn, licensed under the MIT License (MIT). * * Copyright (c) 2018 TechReborn * * 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, inc...
/* * 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 ...
/* * 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 writing, software * distributed u...
/* * Copyright 2011 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 ap...
package com.vzan.errorhandler.handler; import com.vzan.errorhandler.RxErrorHandler; import rx.Subscriber; /** * 错误订阅 * @author liu-feng * @date 2017/3/11 0011. * Email:w710989327@foxmail.com */ public abstract class ErrorHandlerSubscriber<T> extends Subscriber<T> { private ErrorHandlerFactory mHandlerFacto...
package me.samlss.broccoli; import android.graphics.drawable.Drawable; import android.view.View; import android.view.animation.Animation; /** * @author SamLeung * @e-mail samlssplus@gmail.com * @github https://github.com/samlss * @description The parameter of placeholder */ public class PlaceholderParameter { ...
package com.coolweather.app.util; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; public class HttpUtil { public static void sendHttpRequest(final String address, final HttpCallbackListener listener) { new Thre...
/* * 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 writing, software distributed under t...
package com.Dagon.whitewall.service; import com.Dagon.whitewall.util.JedisAdapter; import com.Dagon.whitewall.util.RedisKeyUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class LikeService { @Autowired JedisAdapter jedisAdapt...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright 2018 The Exonum Team * * 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...
/* * 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 ...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * The Plaid API * The Plaid REST API. Please see https://plaid.com/docs/api for more details. * * The version of the OpenAPI document: 2020-09-14_1.33.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class m...
/* Copyright 2017 Porsche Informatik GmbH * * 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 agree...
package quick.pager.shop.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import quick.pager.shop.model.Feedback; @Mapper public interface FeedbackMapper extends BaseMapper<Feedback> { }
/* * Copyright 2000-2018 JetBrains s.r.o. * * 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...
package com.pengsoft.acs.api; import java.util.Map; import javax.inject.Inject; import com.pengsoft.acs.domain.PersonFaceData; import com.pengsoft.acs.service.FaceRecognitionService; import com.pengsoft.acs.service.PersonFaceDataService; import com.pengsoft.support.Constant; import com.pengsoft.support.api.EntityApi...
/** * 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 writing, software * distributed ...
package de.motis_project.app2.query; import android.support.annotation.Nullable; import java.util.Date; import de.motis_project.app2.io.Status; import de.motis_project.app2.journey.ConnectionLoader; import de.motis_project.app2.ppr.profiles.PprSearchOptions; import rx.Subscription; import rx.android.schedulers.Andro...
/* Copyright (C) GridGain Systems. 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 Unless required by applicable law or...
// SPDX-License-Identifier: MIT package com.daimler.sechub.developertools.container.postgres; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.UUID; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class LocalTestPostgreSQLStarter...
package com.g6jamm.stima; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class StimaApplication { public static void main(String[] args) { SpringApplication.run(StimaApplication.class, args); } }
package com.capitalone.dashboard.evaluator; import com.capitalone.dashboard.ApiSettings; import com.capitalone.dashboard.common.CommonCodeReview; import com.capitalone.dashboard.model.CollectorItem; import com.capitalone.dashboard.model.Commit; import com.capitalone.dashboard.model.CommitType; import com.capitalone.da...
/* * 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 writing, software distributed under t...
/* * Copyright 2013-2019 Real Logic Ltd. * * 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 agre...
package org.lognavigator.service; import static org.junit.Assert.*; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.junit.Test; import org.lognavigator.bean.LogAccessConfig; import org.lognavigator.bean.LogAccessConfig.LogAccessType; import org.lognavigator.exception.Authorizatio...
package pl.yalgrin.gremphics.controller; public interface PreViewChange { void onViewChange(AbstractController controller); }
package com.uwsoft.editor.proxy; import com.google.common.io.Resources; import com.uwsoft.editor.renderer.data.ResolutionEntryVO; import org.junit.Before; import org.junit.Test; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.File; import static org.hamcrest.CoreMatchers.is; import ...
package no.nav.data.common.web; import no.nav.data.common.utils.MdcUtils; import org.springframework.core.annotation.Order; import org.springframework.security.web.util.UrlUtils; import org.springframework.stereotype.Component; import org.springframework.web.filter.OncePerRequestFilter; import java.io.IOException; im...
package com.duosecurity.duoweb; public class DuoWebException extends Exception { public DuoWebException(String message) { super(message); } }
package com.github.kristofa.brave.servlet; import com.github.kristofa.brave.Brave; import com.github.kristofa.brave.KeyValueAnnotation; import com.github.kristofa.brave.ServerRequestInterceptor; import com.github.kristofa.brave.ServerResponseAdapter; import com.github.kristofa.brave.ServerResponseInterceptor; import c...
package pebble.asset; import com.mitchellbosecke.pebble.extension.AbstractExtension; import com.mitchellbosecke.pebble.extension.Function; import com.mitchellbosecke.pebble.tokenParser.TokenParser; import pebble.asset.parser.CSSIncludeTagTokenParser; import pebble.asset.parser.ImageIncludeTagTokenParser; import pebble...
package com.example.lucas.buseye; import android.media.Image; public class Avatar { double dimensao; Usuario usuario; }
package com.mauto.repository.request; /** * Created by haohuidong on 18-9-25. */ public class LocalRequestParam implements RequestParam { }
package module_4.assignment_4; /** * A simple demonstration of recursive methods, which prints * a string, then prints a string in reverse. * @author Mae Morella */ public class StringReverser { /** * Prints a string to the console, character by character. * @param str A string */ public st...
package com.thealteria.loginapp; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.tex...
/* * MIT License * * Copyright (c) 2021-2022 yangrunkang * * Author: yangrunkang * Email: yangrunkang53@gmail.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 restricti...
/* * Copyright 2011 The Apache Software Foundation * * 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 ...
package com.google.android.gms.common.api.internal; import android.os.Bundle; import android.os.DeadObjectException; import android.os.Looper; import android.os.Message; import android.os.RemoteException; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.anno...
package zimu.server.controllers; import java.io.ByteArrayInputStream; import com.hibegin.http.server.api.HttpRequest; import com.hibegin.http.server.api.HttpResponse; import com.hibegin.http.server.web.Controller; import cn.hutool.json.JSONObject; public class Base extends Controller { /** * 获取返回信息 * * @pa...
package com.bx.erp.http.request; import com.bx.erp.http.HttpRequestUnit; public class RetrieveNBrand extends HttpRequestUnit { @Override public EnumRequestType getEnumRequestType() { return EnumRequestType.ERT_Brand_RetrieveN; } }
package zenan.test.imageuploader.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @Configuration pub...
package com.classicmodels.pojo; import com.classicmodels.embeddable.pojo.ImmutableOfficeFullAddress; public final class ImmutableOffice { private final String officeCode; private final ImmutableOfficeFullAddress officeFullAddress; public ImmutableOffice(String officeCode, ImmutableOfficeFullAddress ...
import java.util.ArrayList; public class Pessoa { public static void main(String[] args) { ArrayList <DadosPessoais> pessoa = new ArrayList(); DadosPessoais pessoa1 = new DadosPessoais("Dominique", 28, 1.63 ); DadosPessoais pessoa2 = new DadosPessoais("Leticia", 24, 1.53 ); DadosPessoais pessoa3 = ...
package com.futurologeek.smartcrossing; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.widget.Toast; public class AppController extends Application { private static AppController instance; public static boolean uiInForeground; pub...
package ch06; // Enum type with data and behavior public enum Planet { MERCURY(3.302e+23, 2.439e6), VENUS (4.869e+24, 6.052e6), EARTH (5.975e+24, 6.378e6), MARS (6.419e+23, 3.393e6), JUPITER(1.899e+27, 7.149e7), SATURN (5.685e+26, 6.027e7), URANUS (8.683e+25, 2.556e7), NEPTUNE(1.024e+26...
package graphql.servlet.internal; import graphql.ExecutionResult; import java.util.function.BiConsumer; import java.util.function.Consumer; /** * @author Andrew Potter */ public interface ExecutionResultHandler extends BiConsumer<ExecutionResult, Boolean> { @Override default void accept(ExecutionResult exe...
module me.thijsvdh { requires javafx.controls; requires javafx.fxml; opens me.thijsvdh to javafx.fxml; opens me.thijsvdh.controllers to javafx.fxml; exports me.thijsvdh; }
/******************************************************************************* * Copyright (c) 2017 Intuit * * 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/...
package com.remonsinnema.awe.work; import java.io.IOException; public interface WorkService { void setWorkDirectory(String path); void save(String fileName, String text) throws IOException; String load(String fileName) throws IOException; }
package bio.terra.service.iam; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import org.apache.commons.lang3.StringUtils; // NOTE: these action enums must have exactly the same text as the Sam action name. public enum IamAction { // common CREATE, ...
package io.dockstore.tooltester.report; import java.util.Arrays; import java.util.List; /** * @author gluu * @since 23/01/17 */ public class FileReport extends Report { private static final List<String> HEADER = Arrays.asList("Build ID", "Tag", "CWL ID", "File Name", "md5sum", "File Size"); public FileRe...
package learning.array; import java.util.Arrays; public class Intersect { public static void main(String[] args) { int[] nums1 = {4,9,5}, nums2 = {9,4,9,8,4}; int[] result = intersect(nums1, nums2); System.out.println("======================"); for (int i = 0; i < result.length; i+...
package org.zstack.sdk.zwatch.api; public class GetAlarmDataResult { public java.util.List histories; public void setHistories(java.util.List histories) { this.histories = histories; } public java.util.List getHistories() { return this.histories; } }
package org.fossasia.susi.ai.helper; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import com.google.gson.Gson; import org.fossasia.susi.ai.MainApplication; import org.fossasia.susi.ai.R; import org.fossasia.susi.ai.rest.clients.BaseUrl; import...
/* * Copyright 2018-2020 The Code Department. * * 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 ...
package io.vertx.tp.workflow.uca.component; import cn.zeroup.macrocosm.cv.em.TodoStatus; import io.vertx.core.Future; import io.vertx.core.json.JsonObject; import io.vertx.tp.workflow.atom.configuration.MetaInstance; import io.vertx.tp.workflow.atom.runtime.WRecord; import io.vertx.tp.workflow.atom.runtime.WRequest; i...
package net.jeeshop.core.pay.alipay.alipayescow.sign; import java.io.UnsupportedEncodingException; import java.security.SignatureException; import org.apache.commons.codec.digest.DigestUtils; /** * 功能:支付宝MD5签名处理核心文件,不需要修改 * 版本:3.3 * 修改日期:2012-08-17 * 说明: * 以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。 * ...
/** * MIT License * * Copyright (c) 2017-2018 nuls.io * * 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, mo...